Skip to content

Commit 4d49e4e

Browse files
committed
Update to PatternFly 6 (#145)
1 parent eba9ffc commit 4d49e4e

File tree

3 files changed

+45
-30
lines changed

3 files changed

+45
-30
lines changed

packages/module/patternfly-docs/content/extensions/component-groups/examples/MultiContentCard/MultiContentCard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Actions can be displayed in the multi-content card heading using `actions` prope
4040

4141
```
4242

43-
### Expandable multi-content card with dividers
43+
### Expandable multi content card with dividers
4444

4545
Dividers between all cards in the content can be shown using `withDividers` flag.
4646

packages/module/patternfly-docs/content/extensions/component-groups/examples/SkeletonTable/SkeletonTableCustomExample.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
2-
import SkeletonTable from "@patternfly/react-component-groups/dist/dynamic/SkeletonTable";import { Th } from '@patternfly/react-table';
2+
import SkeletonTable from "@patternfly/react-component-groups/dist/dynamic/SkeletonTable";
3+
import { Th } from '@patternfly/react-table';
34

45
export const SkeletonTableExample: React.FC = () => (
56
<SkeletonTable

packages/module/src/ResponsiveActions/__snapshots__/ResponsiveActions.test.tsx.snap

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,84 +3,98 @@
33
exports[`ResponsiveActions component should render correctly ResponsiveActions 1`] = `
44
<div>
55
<div
6-
class="pf-v5-c-overflow-menu"
6+
class="pf-v6-c-overflow-menu"
77
data-ouia-component-id="ResponsiveActions-menu"
88
>
99
<div
10-
class="pf-v5-c-overflow-menu__content"
10+
class="pf-v6-c-overflow-menu__content"
1111
>
1212
<div
13-
class="pf-v5-c-overflow-menu__group pf-m-button-group"
13+
class="pf-v6-c-overflow-menu__group pf-m-button-group"
1414
data-ouia-component-id="ResponsiveActions-menu-persistent-group"
1515
>
1616
<div
17-
class="pf-v5-c-overflow-menu__item"
17+
class="pf-v6-c-overflow-menu__item"
1818
>
1919
2020
<button
2121
aria-disabled="false"
22-
class="pf-v5-c-button pf-m-primary"
22+
class="pf-v6-c-button pf-m-primary"
2323
data-ouia-component-id="ResponsiveActions-action-0"
24-
data-ouia-component-type="PF5/Button"
24+
data-ouia-component-type="PF6/Button"
2525
data-ouia-safe="true"
2626
type="button"
2727
>
28-
Persistent action
28+
<span
29+
class="pf-v6-c-button__text"
30+
>
31+
Persistent action
32+
</span>
2933
</button>
3034
3135
</div>
3236
</div>
3337
</div>
3438
<div
35-
class="pf-v5-c-overflow-menu__content"
39+
class="pf-v6-c-overflow-menu__content"
3640
>
3741
<div
38-
class="pf-v5-c-overflow-menu__group pf-m-button-group"
42+
class="pf-v6-c-overflow-menu__group pf-m-button-group"
3943
data-ouia-component-id="ResponsiveActions-menu-pinned-group"
4044
>
4145
<div
42-
class="pf-v5-c-overflow-menu__item"
46+
class="pf-v6-c-overflow-menu__item"
4347
>
4448
4549
<button
4650
aria-disabled="false"
47-
class="pf-v5-c-button pf-m-secondary"
51+
class="pf-v6-c-button pf-m-secondary"
4852
data-ouia-component-id="ResponsiveActions-action-1"
49-
data-ouia-component-type="PF5/Button"
53+
data-ouia-component-type="PF6/Button"
5054
data-ouia-safe="true"
5155
type="button"
5256
>
53-
Pinned action
57+
<span
58+
class="pf-v6-c-button__text"
59+
>
60+
Pinned action
61+
</span>
5462
</button>
5563
5664
</div>
5765
</div>
5866
</div>
5967
<div
60-
class="pf-v5-c-overflow-menu__control"
68+
class="pf-v6-c-overflow-menu__control"
6169
data-ouia-component-id="ResponsiveActions-menu-control"
6270
>
6371
6472
<button
6573
aria-expanded="false"
6674
aria-label="Actions overflow menu"
67-
class="pf-v5-c-menu-toggle pf-m-plain"
68-
data-ouia-component-id="ResponsiveActions-menu-dropdown-toggle"
75+
class="pf-v6-c-menu-toggle pf-m-plain"
76+
data-ouia-component-id="OUIA-Generated-MenuToggle-plain-1"
77+
data-ouia-component-type="PF6/MenuToggle"
78+
data-ouia-safe="true"
6979
type="button"
7080
>
71-
<svg
72-
aria-hidden="true"
73-
class="pf-v5-svg"
74-
fill="currentColor"
75-
height="1em"
76-
role="img"
77-
viewBox="0 0 192 512"
78-
width="1em"
81+
<span
82+
class="pf-v6-c-menu-toggle__text"
7983
>
80-
<path
81-
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
82-
/>
83-
</svg>
84+
<svg
85+
aria-hidden="true"
86+
class="pf-v6-svg"
87+
fill="currentColor"
88+
height="1em"
89+
role="img"
90+
viewBox="0 0 192 512"
91+
width="1em"
92+
>
93+
<path
94+
d="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"
95+
/>
96+
</svg>
97+
</span>
8498
</button>
8599
86100
</div>

0 commit comments

Comments
 (0)