Skip to content

Commit bd27fb3

Browse files
authored
Merge pull request #714 from katarinazaprazna/chore/bump-core-patternfly-deps
chore: bump core PatternFly deps to v6.7.0
2 parents c04a9a2 + cd64acd commit bd27fb3

13 files changed

Lines changed: 3332 additions & 3007 deletions

File tree

‎package-lock.json‎

Lines changed: 2977 additions & 2767 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@babel/preset-react": "^7.29.7",
4040
"@babel/preset-typescript": "^7.29.7",
4141
"@octokit/rest": "^20.1.2",
42-
"@patternfly/documentation-framework": "^6.28.10",
42+
"@patternfly/documentation-framework": "^6.54.1",
4343
"@swc/core": "1.15.3",
4444
"@testing-library/dom": "^10.4.2",
4545
"@testing-library/jest-dom": "^6.9.1",
@@ -63,11 +63,12 @@
6363
"eslint-plugin-react": "^7.37.5",
6464
"eslint-plugin-react-hooks": "^5.2.0",
6565
"fs-extra": "^11.4.1",
66-
"glob": "11.1.0",
66+
"glob": "14.0.2",
6767
"identity-obj-proxy": "^3.0.0",
6868
"jest": "^29.7.0",
6969
"jest-canvas-mock": "^2.5.8",
7070
"jest-environment-jsdom": "^29.7.0",
71+
"mini-css-extract-plugin": "^2.10.2",
7172
"prettier": "3.8.0",
7273
"react": "^18.3.1",
7374
"react-dom": "^18.3.1",

‎packages/module/package.json‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@
3131
"tag": "prerelease"
3232
},
3333
"dependencies": {
34-
"@patternfly/react-component-groups": "^6.1.0",
35-
"@patternfly/react-core": "^6.4.0",
36-
"@patternfly/react-icons": "^6.4.0",
37-
"@patternfly/react-table": "^6.4.0",
34+
"@patternfly/react-component-groups": "^6.7.0",
35+
"@patternfly/react-core": "^6.7.0",
36+
"@patternfly/react-drag-drop": "^6.7.0",
37+
"@patternfly/react-icons": "^6.7.0",
38+
"@patternfly/react-styles": "^6.7.0",
39+
"@patternfly/react-table": "^6.7.0",
40+
"@patternfly/react-tokens": "^6.7.0",
3841
"clsx": "^2.1.1",
3942
"react-jss": "^10.10.0"
4043
},
@@ -43,10 +46,10 @@
4346
"react-dom": "^17 || ^18 || ^19"
4447
},
4548
"devDependencies": {
46-
"@patternfly/documentation-framework": "^6.28.10",
47-
"@patternfly/patternfly": "^6.4.0",
49+
"@patternfly/documentation-framework": "^6.54.1",
50+
"@patternfly/patternfly": "^6.7.0",
4851
"@patternfly/patternfly-a11y": "^5.2.1",
49-
"@patternfly/react-code-editor": "^6.4.0",
52+
"@patternfly/react-code-editor": "^6.7.0",
5053
"@types/react": "^18.3.31",
5154
"@types/react-dom": "^18.3.7",
5255
"@types/react-router-dom": "^5.3.3",

‎packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/EventsExample.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const BasicExample: FunctionComponent = () => {
116116

117117
return (
118118
<DataViewEventsProvider>
119-
<Drawer isExpanded={Boolean(selectedRepo)} onExpand={() => drawerRef.current?.focus()} data-ouia-component-id="detail-drawer" >
119+
<Drawer isExpanded={Boolean(selectedRepo)} onExpand={() => drawerRef.current?.focus()} ouiaId="detail-drawer">
120120
<DrawerContent
121121
panelContent={<RepositoryDetail selectedRepo={selectedRepo} setSelectedRepo={setSelectedRepo} />}
122122
>

‎packages/module/patternfly-docs/content/extensions/data-view/examples/DataView/PredefinedLayoutFullExample.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export const BasicExample: FunctionComponent = () => {
262262

263263
return (
264264
<DataViewEventsProvider>
265-
<Drawer isExpanded={Boolean(selectedRepo)} onExpand={() => drawerRef.current?.focus()} data-ouia-component-id="detail-drawer" >
265+
<Drawer isExpanded={Boolean(selectedRepo)} onExpand={() => drawerRef.current?.focus()} ouiaId="detail-drawer">
266266
<DrawerContent
267267
panelContent={<RepositoryDetail selectedRepo={selectedRepo} setSelectedRepo={setSelectedRepo} />}
268268
>

‎packages/module/src/DataViewCheckboxFilter/__snapshots__/DataViewCheckboxFilter.test.tsx.snap‎

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
77
data-ouia-component-id="DataViewToolbar"
88
data-ouia-component-type="PF6/Toolbar"
99
data-ouia-safe="true"
10-
id="pf-random-id-0"
10+
id="pf-random-id-:r0:"
1111
>
1212
<div
1313
class="pf-v6-c-toolbar__content"
@@ -24,6 +24,7 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
2424
>
2525
<button
2626
aria-expanded="false"
27+
aria-haspopup="menu"
2728
class="pf-v6-c-menu-toggle"
2829
data-ouia-component-id="DataViewCheckboxFilter-toggle"
2930
data-ouia-component-type="PF6/MenuToggle"
@@ -40,12 +41,24 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
4041
fill="currentColor"
4142
height="1em"
4243
role="img"
43-
viewBox="0 0 512 512"
4444
width="1em"
4545
>
46-
<path
47-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
48-
/>
46+
<svg
47+
class="pf-v6-icon-default"
48+
viewBox="0 0 512 512"
49+
>
50+
<path
51+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
52+
/>
53+
</svg>
54+
<svg
55+
class="pf-v6-icon-rh-ui"
56+
viewBox="0 0 32 32"
57+
>
58+
<path
59+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
60+
/>
61+
</svg>
4962
</svg>
5063
</span>
5164
<span
@@ -75,11 +88,11 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
7588
fill="currentColor"
7689
height="1em"
7790
role="img"
78-
viewBox="0 0 320 512"
91+
viewBox="0 0 20 20"
7992
width="1em"
8093
>
8194
<path
82-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
95+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
8396
/>
8497
</svg>
8598
</span>
@@ -107,12 +120,12 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
107120
<span
108121
aria-hidden="true"
109122
class="pf-v6-c-label-group__label"
110-
id="pf-random-id-1"
123+
id="pf-random-id-:r7:"
111124
>
112125
Test Checkbox Filter
113126
</span>
114127
<ul
115-
aria-labelledby="pf-random-id-1"
128+
aria-labelledby="pf-random-id-:r7:"
116129
class="pf-v6-c-label-group__list"
117130
role="list"
118131
>
@@ -137,7 +150,7 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
137150
<button
138151
aria-label="Close Workspace one"
139152
class="pf-v6-c-button pf-m-plain pf-m-no-padding"
140-
data-ouia-component-id="OUIA-Generated-Button-plain-1"
153+
data-ouia-component-id="OUIA-Generated-Button-plain-:r8:"
141154
data-ouia-component-type="PF6/Button"
142155
data-ouia-safe="true"
143156
type="button"
@@ -151,11 +164,11 @@ exports[`DataViewCheckboxFilter component should render correctly 1`] = `
151164
fill="currentColor"
152165
height="1em"
153166
role="img"
154-
viewBox="0 0 352 512"
167+
viewBox="0 0 20 20"
155168
width="1em"
156169
>
157170
<path
158-
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
171+
d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
159172
/>
160173
</svg>
161174
</span>

‎packages/module/src/DataViewFilters/__snapshots__/DataViewFilters.test.tsx.snap‎

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`DataViewFilters component should render correctly 1`] = `
77
data-ouia-component-id="DataViewToolbar"
88
data-ouia-component-type="PF6/Toolbar"
99
data-ouia-safe="true"
10-
id="pf-random-id-0"
10+
id="pf-random-id-:r0:"
1111
>
1212
<div
1313
class="pf-v6-c-toolbar__content"
@@ -29,7 +29,7 @@ exports[`DataViewFilters component should render correctly 1`] = `
2929
aria-haspopup="false"
3030
aria-label="Show Filters"
3131
class="pf-v6-c-button pf-m-plain"
32-
data-ouia-component-id="OUIA-Generated-Button-plain-1"
32+
data-ouia-component-id="OUIA-Generated-Button-plain-:r2:"
3333
data-ouia-component-type="PF6/Button"
3434
data-ouia-safe="true"
3535
type="button"
@@ -43,12 +43,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
4343
fill="currentColor"
4444
height="1em"
4545
role="img"
46-
viewBox="0 0 512 512"
4746
width="1em"
4847
>
49-
<path
50-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
51-
/>
48+
<svg
49+
class="pf-v6-icon-default"
50+
viewBox="0 0 512 512"
51+
>
52+
<path
53+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
54+
/>
55+
</svg>
56+
<svg
57+
class="pf-v6-icon-rh-ui"
58+
viewBox="0 0 32 32"
59+
>
60+
<path
61+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
62+
/>
63+
</svg>
5264
</svg>
5365
</span>
5466
</button>
@@ -59,8 +71,9 @@ exports[`DataViewFilters component should render correctly 1`] = `
5971
<div>
6072
<button
6173
aria-expanded="false"
74+
aria-haspopup="menu"
6275
class="pf-v6-c-menu-toggle"
63-
data-ouia-component-id="OUIA-Generated-MenuToggle-1"
76+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r4:"
6477
data-ouia-component-type="PF6/MenuToggle"
6578
data-ouia-safe="true"
6679
type="button"
@@ -74,12 +87,24 @@ exports[`DataViewFilters component should render correctly 1`] = `
7487
fill="currentColor"
7588
height="1em"
7689
role="img"
77-
viewBox="0 0 512 512"
7890
width="1em"
7991
>
80-
<path
81-
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
82-
/>
92+
<svg
93+
class="pf-v6-icon-default"
94+
viewBox="0 0 512 512"
95+
>
96+
<path
97+
d="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z"
98+
/>
99+
</svg>
100+
<svg
101+
class="pf-v6-icon-rh-ui"
102+
viewBox="0 0 32 32"
103+
>
104+
<path
105+
d="M28.5 2h-25C2.673 2 2 2.673 2 3.5V7c0 .265.105.52.293.707L12 17.414V30a1 1 0 0 0 1.316.949l6-2A1 1 0 0 0 20 28V17.414l9.707-9.707A1 1 0 0 0 30 7V3.5c0-.827-.673-1.5-1.5-1.5ZM28 6.586l-9.707 9.707A1 1 0 0 0 18 17v10.279l-4 1.333V16.999a.997.997 0 0 0-.293-.707L4 6.586V4h24v2.586Z"
106+
/>
107+
</svg>
83108
</svg>
84109
</span>
85110
<span
@@ -99,11 +124,11 @@ exports[`DataViewFilters component should render correctly 1`] = `
99124
fill="currentColor"
100125
height="1em"
101126
role="img"
102-
viewBox="0 0 320 512"
127+
viewBox="0 0 20 20"
103128
width="1em"
104129
>
105130
<path
106-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
131+
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
107132
/>
108133
</svg>
109134
</span>
@@ -133,11 +158,11 @@ exports[`DataViewFilters component should render correctly 1`] = `
133158
fill="currentColor"
134159
height="1em"
135160
role="img"
136-
viewBox="0 0 512 512"
161+
viewBox="0 0 20 20"
137162
width="1em"
138163
>
139164
<path
140-
d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"
165+
d="m18.8 17.21-4.41-4.41A7.906 7.906 0 0 0 16 8c0-4.41-3.59-8-8-8S0 3.59 0 8s3.59 8 8 8c1.73 0 3.42-.57 4.8-1.61l4.41 4.41c.44.44 1.15.44 1.59 0 .44-.44.44-1.15 0-1.59ZM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6Z"
141166
/>
142167
</svg>
143168
</span>

0 commit comments

Comments
 (0)