Skip to content

Commit de4cfa4

Browse files
authored
fix!: v3 deprecations (#2655)
* fix!: remove deprecatedCustomEvent * fix(tools)!: remove framework test wrappers We will retool this and develop something better. In the mean time, use the react wrapper components * docs: fix logo * fix(eslint-config): update ecmaVersion * fix(accordion): use pfv4 tokens * fix(tools)!: remove DocsPage renderers * fix(icon)!: remove elements/pf-icon/icons Use `@patternfly/icons` instead
1 parent fe6e646 commit de4cfa4

File tree

234 files changed

+6881
-4802
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+6881
-4802
lines changed

.changeset/eight-waves-join.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/elements": major
3+
---
4+
Remove `/elements/pf-icon/icons/**/*`. Use `@patternfly/icons` instead.

.changeset/light-carrots-suffer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/pfe-tools": major
3+
---
4+
Remove `DocsPage` render functions

.changeset/little-singers-sell.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/elements": major
3+
---
4+
`<pf-accordion>`: use patternfly design tokens. removes `--accordion__bordered--Color`

.changeset/long-rings-burn.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/pfe-core": major
3+
---
4+
Remove `deprecatedCustomEvent`

.changeset/odd-mice-stop.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
"@patternfly/pfe-tools": major
3+
---
4+
Dev server config no longer uses `nodeResolution`. Instead you must provide configuration for the import map plugin.
5+
6+
```js
7+
import {
8+
pfeDevServerConfig,
9+
getPatternflyIconNodemodulesImports,
10+
} from '@patternfly/pfe-tools/dev-server/config.js';
11+
12+
export default pfeDevServerConfig({
13+
importMapOptions: {
14+
providers: {
15+
'zero-md': 'nodemodules',
16+
'@patternfly/icons': 'nodemodules',
17+
'@patternfly/elements': 'nodemodules',
18+
'@patternfly/pfe-tools': 'nodemodules',
19+
'@patternfly/pfe-core': 'nodemodules',
20+
},
21+
inputMap: {
22+
imports: {
23+
...await getPatternflyIconNodemodulesImports(import.meta.url),
24+
},
25+
},
26+
},
27+
});
28+
```

.changeset/olive-pens-create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/pfe-tools": major
3+
---
4+
Remove react and vue test wrapper helpers. Use React wrapper components instead.

.changeset/violet-wasps-obey.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/eslint-config-elements": patch
3+
---
4+
Update ecmaVersion to 2022

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ tools/*/test/**/*.png
6565
!core/*/demo/*
6666
!tools/*/demo/*
6767

68-
elements/pf-icon/icons
6968
!elements/pf-icon/demo/icons/**/*.js
7069

7170
!scripts/**/*.js

brand/logo/svg/pfe-icon-white.svg

Lines changed: 7 additions & 1 deletion
Loading

core/pfe-core/functions/deprecatedCustomEvent.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)