@patternfly/react-core 6.0.0-alpha.58 → 6.0.0-alpha.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/Text/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/Tile/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/next/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/next/components/Modal/package.json +1 -1
- package/dist/dynamic/next/components/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.js +1 -4
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.d.ts.map +1 -1
- package/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.js +1 -2
- package/dist/esm/components/NotificationDrawer/NotificationDrawerHeader.js.map +1 -1
- package/dist/esm/components/Slider/SliderStep.d.ts.map +1 -1
- package/dist/esm/components/Slider/SliderStep.js +4 -2
- package/dist/esm/components/Slider/SliderStep.js.map +1 -1
- package/dist/esm/components/Text/Text.d.ts.map +1 -1
- package/dist/esm/components/Text/Text.js +14 -1
- package/dist/esm/components/Text/Text.js.map +1 -1
- package/dist/esm/components/Text/TextList.d.ts.map +1 -1
- package/dist/esm/components/Text/TextList.js +6 -1
- package/dist/esm/components/Text/TextList.js.map +1 -1
- package/dist/esm/components/Text/TextListItem.d.ts.map +1 -1
- package/dist/esm/components/Text/TextListItem.js +7 -1
- package/dist/esm/components/Text/TextListItem.js.map +1 -1
- package/dist/esm/components/Toolbar/ToolbarItem.d.ts.map +1 -1
- package/dist/esm/components/Toolbar/ToolbarItem.js +1 -1
- package/dist/esm/components/Toolbar/ToolbarItem.js.map +1 -1
- package/dist/esm/components/Wizard/WizardFooter.js +10 -4
- package/dist/esm/components/Wizard/WizardFooter.js.map +1 -1
- package/dist/esm/components/Wizard/WizardNavItem.d.ts.map +1 -1
- package/dist/esm/components/Wizard/WizardNavItem.js +8 -10
- package/dist/esm/components/Wizard/WizardNavItem.js.map +1 -1
- package/dist/esm/components/Wizard/WizardToggle.d.ts.map +1 -1
- package/dist/esm/components/Wizard/WizardToggle.js +5 -2
- package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/esm/deprecated/components/Wizard/WizardFooterInternal.d.ts.map +1 -1
- package/dist/esm/deprecated/components/Wizard/WizardFooterInternal.js +10 -4
- package/dist/esm/deprecated/components/Wizard/WizardFooterInternal.js.map +1 -1
- package/dist/esm/helpers/constants.js +5 -5
- package/dist/js/components/Menu/Menu.d.ts.map +1 -1
- package/dist/js/components/Menu/Menu.js +1 -4
- package/dist/js/components/Menu/Menu.js.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerHeader.d.ts.map +1 -1
- package/dist/js/components/NotificationDrawer/NotificationDrawerHeader.js +1 -2
- package/dist/js/components/NotificationDrawer/NotificationDrawerHeader.js.map +1 -1
- package/dist/js/components/Slider/SliderStep.d.ts.map +1 -1
- package/dist/js/components/Slider/SliderStep.js +4 -2
- package/dist/js/components/Slider/SliderStep.js.map +1 -1
- package/dist/js/components/Text/Text.d.ts.map +1 -1
- package/dist/js/components/Text/Text.js +14 -1
- package/dist/js/components/Text/Text.js.map +1 -1
- package/dist/js/components/Text/TextList.d.ts.map +1 -1
- package/dist/js/components/Text/TextList.js +6 -1
- package/dist/js/components/Text/TextList.js.map +1 -1
- package/dist/js/components/Text/TextListItem.d.ts.map +1 -1
- package/dist/js/components/Text/TextListItem.js +7 -1
- package/dist/js/components/Text/TextListItem.js.map +1 -1
- package/dist/js/components/Toolbar/ToolbarItem.d.ts.map +1 -1
- package/dist/js/components/Toolbar/ToolbarItem.js +1 -1
- package/dist/js/components/Toolbar/ToolbarItem.js.map +1 -1
- package/dist/js/components/Wizard/WizardFooter.js +10 -4
- package/dist/js/components/Wizard/WizardFooter.js.map +1 -1
- package/dist/js/components/Wizard/WizardNavItem.d.ts.map +1 -1
- package/dist/js/components/Wizard/WizardNavItem.js +8 -10
- package/dist/js/components/Wizard/WizardNavItem.js.map +1 -1
- package/dist/js/components/Wizard/WizardToggle.d.ts.map +1 -1
- package/dist/js/components/Wizard/WizardToggle.js +5 -2
- package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/deprecated/components/Wizard/WizardFooterInternal.d.ts.map +1 -1
- package/dist/js/deprecated/components/Wizard/WizardFooterInternal.js +10 -4
- package/dist/js/deprecated/components/Wizard/WizardFooterInternal.js.map +1 -1
- package/dist/js/helpers/constants.js +10 -10
- package/dist/styles/assets/pficon/pficon.scss +3 -0
- package/dist/styles/base-no-reset.css +1222 -1462
- package/dist/styles/base.css +1302 -1542
- package/dist/umd/react-core.min.js +3 -3
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +6 -6
- package/src/components/Menu/Menu.tsx +1 -5
- package/src/components/NotificationDrawer/NotificationDrawerHeader.tsx +1 -5
- package/src/components/NotificationDrawer/__tests__/__snapshots__/NotificationDrawerHeader.test.tsx.snap +0 -16
- package/src/components/Skeleton/examples/Skeleton.md +12 -7
- package/src/components/Skeleton/examples/SkeletonText.tsx +14 -14
- package/src/components/Slider/SliderStep.tsx +4 -2
- package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +21 -21
- package/src/components/Text/Text.tsx +19 -1
- package/src/components/Text/TextList.tsx +7 -1
- package/src/components/Text/TextListItem.tsx +8 -1
- package/src/components/Text/__tests__/Generated/__snapshots__/TextList.test.tsx.snap +1 -1
- package/src/components/Text/__tests__/Generated/__snapshots__/TextListItem.test.tsx.snap +1 -1
- package/src/components/Text/__tests__/Text.test.tsx +0 -5
- package/src/components/Text/__tests__/TextList.test.tsx +0 -5
- package/src/components/Text/__tests__/TextListItem.test.tsx +0 -5
- package/src/components/Text/__tests__/__snapshots__/Text.test.tsx.snap +1 -1
- package/src/components/Text/__tests__/__snapshots__/TextList.test.tsx.snap +1 -1
- package/src/components/Text/__tests__/__snapshots__/TextListItem.test.tsx.snap +1 -1
- package/src/components/Text/examples/Text.md +9 -3
- package/src/components/Text/examples/TextBody.tsx +3 -3
- package/src/components/Text/examples/TextContentWrapped.tsx +11 -0
- package/src/components/Text/examples/TextDescriptionList.tsx +11 -13
- package/src/components/Text/examples/TextHeadings.tsx +3 -3
- package/src/components/Text/examples/TextOrderedList.tsx +10 -12
- package/src/components/Text/examples/TextPlainList.tsx +3 -3
- package/src/components/Text/examples/TextUnorderedList.tsx +13 -15
- package/src/components/Toolbar/ToolbarItem.tsx +2 -1
- package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +1 -1
- package/src/components/Wizard/WizardFooter.tsx +32 -24
- package/src/components/Wizard/WizardNavItem.tsx +20 -22
- package/src/components/Wizard/WizardToggle.tsx +10 -2
- package/src/demos/CardDemos.md +2 -5
- package/src/demos/examples/Card/CardAggregateStatus.tsx +77 -20
- package/src/demos/examples/Card/CardStatus.tsx +17 -10
- package/src/deprecated/components/Wizard/WizardFooterInternal.tsx +26 -16
- package/src/deprecated/components/Wizard/__tests__/Generated/__snapshots__/WizardFooterInternal.test.tsx.snap +56 -36
- package/src/deprecated/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +153 -93
- package/src/helpers/constants.ts +5 -5
|
@@ -3,7 +3,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
4
4
|
import { Button, ButtonVariant } from '../../../components/Button';
|
|
5
5
|
import { WizardStep } from './Wizard';
|
|
6
|
-
|
|
6
|
+
import { ActionList, ActionListGroup, ActionListItem } from '../../../components/ActionList';
|
|
7
7
|
export interface WizardFooterInternalProps {
|
|
8
8
|
onNext: any;
|
|
9
9
|
onBack: any;
|
|
@@ -28,21 +28,31 @@ export const WizardFooterInternal: React.FunctionComponent<WizardFooterInternalP
|
|
|
28
28
|
cancelButtonText
|
|
29
29
|
}: WizardFooterInternalProps) => (
|
|
30
30
|
<footer className={css(styles.wizardFooter)}>
|
|
31
|
-
|
|
32
|
-
<
|
|
33
|
-
{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
<ActionList>
|
|
32
|
+
<ActionListGroup>
|
|
33
|
+
{!activeStep.hideBackButton && (
|
|
34
|
+
<ActionListItem>
|
|
35
|
+
<Button variant={ButtonVariant.secondary} onClick={onBack} isDisabled={firstStep}>
|
|
36
|
+
{backButtonText}
|
|
37
|
+
</Button>
|
|
38
|
+
</ActionListItem>
|
|
39
|
+
)}
|
|
40
|
+
<ActionListItem>
|
|
41
|
+
<Button variant={ButtonVariant.primary} type="submit" onClick={onNext} isDisabled={!isValid}>
|
|
42
|
+
{nextButtonText}
|
|
43
|
+
</Button>
|
|
44
|
+
</ActionListItem>
|
|
45
|
+
</ActionListGroup>
|
|
46
|
+
{!activeStep.hideCancelButton && (
|
|
47
|
+
<ActionListGroup>
|
|
48
|
+
<ActionListItem>
|
|
49
|
+
<Button variant={ButtonVariant.link} onClick={onClose}>
|
|
50
|
+
{cancelButtonText}
|
|
51
|
+
</Button>
|
|
52
|
+
</ActionListItem>
|
|
53
|
+
</ActionListGroup>
|
|
54
|
+
)}
|
|
55
|
+
</ActionList>
|
|
46
56
|
</footer>
|
|
47
57
|
);
|
|
48
58
|
WizardFooterInternal.displayName = 'WizardFooterInternal';
|
|
@@ -5,46 +5,66 @@ exports[`WizardFooterInternal should match snapshot (auto-generated) 1`] = `
|
|
|
5
5
|
<footer
|
|
6
6
|
class="pf-v6-c-wizard__footer"
|
|
7
7
|
>
|
|
8
|
-
<button
|
|
9
|
-
aria-disabled="false"
|
|
10
|
-
class="pf-v6-c-button pf-m-secondary"
|
|
11
|
-
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
|
12
|
-
data-ouia-component-type="PF6/Button"
|
|
13
|
-
data-ouia-safe="true"
|
|
14
|
-
disabled=""
|
|
15
|
-
type="button"
|
|
16
|
-
>
|
|
17
|
-
<div>
|
|
18
|
-
ReactNode
|
|
19
|
-
</div>
|
|
20
|
-
</button>
|
|
21
|
-
<button
|
|
22
|
-
aria-disabled="false"
|
|
23
|
-
class="pf-v6-c-button pf-m-primary"
|
|
24
|
-
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
25
|
-
data-ouia-component-type="PF6/Button"
|
|
26
|
-
data-ouia-safe="true"
|
|
27
|
-
type="submit"
|
|
28
|
-
>
|
|
29
|
-
<div>
|
|
30
|
-
ReactNode
|
|
31
|
-
</div>
|
|
32
|
-
</button>
|
|
33
8
|
<div
|
|
34
|
-
class="pf-v6-c-
|
|
9
|
+
class="pf-v6-c-action-list"
|
|
35
10
|
>
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
class="pf-v6-c-button pf-m-link"
|
|
39
|
-
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
40
|
-
data-ouia-component-type="PF6/Button"
|
|
41
|
-
data-ouia-safe="true"
|
|
42
|
-
type="button"
|
|
11
|
+
<div
|
|
12
|
+
class="pf-v6-c-action-list__group"
|
|
43
13
|
>
|
|
44
|
-
<div
|
|
45
|
-
|
|
14
|
+
<div
|
|
15
|
+
class="pf-v6-c-action-list__item"
|
|
16
|
+
>
|
|
17
|
+
<button
|
|
18
|
+
aria-disabled="false"
|
|
19
|
+
class="pf-v6-c-button pf-m-secondary"
|
|
20
|
+
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
|
21
|
+
data-ouia-component-type="PF6/Button"
|
|
22
|
+
data-ouia-safe="true"
|
|
23
|
+
disabled=""
|
|
24
|
+
type="button"
|
|
25
|
+
>
|
|
26
|
+
<div>
|
|
27
|
+
ReactNode
|
|
28
|
+
</div>
|
|
29
|
+
</button>
|
|
30
|
+
</div>
|
|
31
|
+
<div
|
|
32
|
+
class="pf-v6-c-action-list__item"
|
|
33
|
+
>
|
|
34
|
+
<button
|
|
35
|
+
aria-disabled="false"
|
|
36
|
+
class="pf-v6-c-button pf-m-primary"
|
|
37
|
+
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
38
|
+
data-ouia-component-type="PF6/Button"
|
|
39
|
+
data-ouia-safe="true"
|
|
40
|
+
type="submit"
|
|
41
|
+
>
|
|
42
|
+
<div>
|
|
43
|
+
ReactNode
|
|
44
|
+
</div>
|
|
45
|
+
</button>
|
|
46
46
|
</div>
|
|
47
|
-
</
|
|
47
|
+
</div>
|
|
48
|
+
<div
|
|
49
|
+
class="pf-v6-c-action-list__group"
|
|
50
|
+
>
|
|
51
|
+
<div
|
|
52
|
+
class="pf-v6-c-action-list__item"
|
|
53
|
+
>
|
|
54
|
+
<button
|
|
55
|
+
aria-disabled="false"
|
|
56
|
+
class="pf-v6-c-button pf-m-link"
|
|
57
|
+
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
58
|
+
data-ouia-component-type="PF6/Button"
|
|
59
|
+
data-ouia-safe="true"
|
|
60
|
+
type="button"
|
|
61
|
+
>
|
|
62
|
+
<div>
|
|
63
|
+
ReactNode
|
|
64
|
+
</div>
|
|
65
|
+
</button>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
48
68
|
</div>
|
|
49
69
|
</footer>
|
|
50
70
|
</DocumentFragment>
|
|
@@ -238,40 +238,60 @@ exports[`Wizard Expandable Nav Wizard should match snapshot 1`] = `
|
|
|
238
238
|
<footer
|
|
239
239
|
class="pf-v6-c-wizard__footer"
|
|
240
240
|
>
|
|
241
|
-
<button
|
|
242
|
-
aria-disabled="false"
|
|
243
|
-
class="pf-v6-c-button pf-m-secondary"
|
|
244
|
-
data-ouia-component-id="OUIA-Generated-Button-secondary-2"
|
|
245
|
-
data-ouia-component-type="PF6/Button"
|
|
246
|
-
data-ouia-safe="true"
|
|
247
|
-
disabled=""
|
|
248
|
-
type="button"
|
|
249
|
-
>
|
|
250
|
-
Back
|
|
251
|
-
</button>
|
|
252
|
-
<button
|
|
253
|
-
aria-disabled="false"
|
|
254
|
-
class="pf-v6-c-button pf-m-primary"
|
|
255
|
-
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
|
256
|
-
data-ouia-component-type="PF6/Button"
|
|
257
|
-
data-ouia-safe="true"
|
|
258
|
-
type="submit"
|
|
259
|
-
>
|
|
260
|
-
Next
|
|
261
|
-
</button>
|
|
262
241
|
<div
|
|
263
|
-
class="pf-v6-c-
|
|
242
|
+
class="pf-v6-c-action-list"
|
|
264
243
|
>
|
|
265
|
-
<
|
|
266
|
-
|
|
267
|
-
class="pf-v6-c-button pf-m-link"
|
|
268
|
-
data-ouia-component-id="OUIA-Generated-Button-link-2"
|
|
269
|
-
data-ouia-component-type="PF6/Button"
|
|
270
|
-
data-ouia-safe="true"
|
|
271
|
-
type="button"
|
|
244
|
+
<div
|
|
245
|
+
class="pf-v6-c-action-list__group"
|
|
272
246
|
>
|
|
273
|
-
|
|
274
|
-
|
|
247
|
+
<div
|
|
248
|
+
class="pf-v6-c-action-list__item"
|
|
249
|
+
>
|
|
250
|
+
<button
|
|
251
|
+
aria-disabled="false"
|
|
252
|
+
class="pf-v6-c-button pf-m-secondary"
|
|
253
|
+
data-ouia-component-id="OUIA-Generated-Button-secondary-2"
|
|
254
|
+
data-ouia-component-type="PF6/Button"
|
|
255
|
+
data-ouia-safe="true"
|
|
256
|
+
disabled=""
|
|
257
|
+
type="button"
|
|
258
|
+
>
|
|
259
|
+
Back
|
|
260
|
+
</button>
|
|
261
|
+
</div>
|
|
262
|
+
<div
|
|
263
|
+
class="pf-v6-c-action-list__item"
|
|
264
|
+
>
|
|
265
|
+
<button
|
|
266
|
+
aria-disabled="false"
|
|
267
|
+
class="pf-v6-c-button pf-m-primary"
|
|
268
|
+
data-ouia-component-id="OUIA-Generated-Button-primary-2"
|
|
269
|
+
data-ouia-component-type="PF6/Button"
|
|
270
|
+
data-ouia-safe="true"
|
|
271
|
+
type="submit"
|
|
272
|
+
>
|
|
273
|
+
Next
|
|
274
|
+
</button>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
<div
|
|
278
|
+
class="pf-v6-c-action-list__group"
|
|
279
|
+
>
|
|
280
|
+
<div
|
|
281
|
+
class="pf-v6-c-action-list__item"
|
|
282
|
+
>
|
|
283
|
+
<button
|
|
284
|
+
aria-disabled="false"
|
|
285
|
+
class="pf-v6-c-button pf-m-link"
|
|
286
|
+
data-ouia-component-id="OUIA-Generated-Button-link-2"
|
|
287
|
+
data-ouia-component-type="PF6/Button"
|
|
288
|
+
data-ouia-safe="true"
|
|
289
|
+
type="button"
|
|
290
|
+
>
|
|
291
|
+
Cancel
|
|
292
|
+
</button>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
275
295
|
</div>
|
|
276
296
|
</footer>
|
|
277
297
|
</div>
|
|
@@ -497,40 +517,60 @@ exports[`Wizard Wizard should match snapshot 1`] = `
|
|
|
497
517
|
<footer
|
|
498
518
|
class="pf-v6-c-wizard__footer"
|
|
499
519
|
>
|
|
500
|
-
<button
|
|
501
|
-
aria-disabled="false"
|
|
502
|
-
class="pf-v6-c-button pf-m-secondary"
|
|
503
|
-
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
|
504
|
-
data-ouia-component-type="PF6/Button"
|
|
505
|
-
data-ouia-safe="true"
|
|
506
|
-
disabled=""
|
|
507
|
-
type="button"
|
|
508
|
-
>
|
|
509
|
-
Back
|
|
510
|
-
</button>
|
|
511
|
-
<button
|
|
512
|
-
aria-disabled="false"
|
|
513
|
-
class="pf-v6-c-button pf-m-primary"
|
|
514
|
-
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
515
|
-
data-ouia-component-type="PF6/Button"
|
|
516
|
-
data-ouia-safe="true"
|
|
517
|
-
type="submit"
|
|
518
|
-
>
|
|
519
|
-
Next
|
|
520
|
-
</button>
|
|
521
520
|
<div
|
|
522
|
-
class="pf-v6-c-
|
|
521
|
+
class="pf-v6-c-action-list"
|
|
523
522
|
>
|
|
524
|
-
<
|
|
525
|
-
|
|
526
|
-
class="pf-v6-c-button pf-m-link"
|
|
527
|
-
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
528
|
-
data-ouia-component-type="PF6/Button"
|
|
529
|
-
data-ouia-safe="true"
|
|
530
|
-
type="button"
|
|
523
|
+
<div
|
|
524
|
+
class="pf-v6-c-action-list__group"
|
|
531
525
|
>
|
|
532
|
-
|
|
533
|
-
|
|
526
|
+
<div
|
|
527
|
+
class="pf-v6-c-action-list__item"
|
|
528
|
+
>
|
|
529
|
+
<button
|
|
530
|
+
aria-disabled="false"
|
|
531
|
+
class="pf-v6-c-button pf-m-secondary"
|
|
532
|
+
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
|
|
533
|
+
data-ouia-component-type="PF6/Button"
|
|
534
|
+
data-ouia-safe="true"
|
|
535
|
+
disabled=""
|
|
536
|
+
type="button"
|
|
537
|
+
>
|
|
538
|
+
Back
|
|
539
|
+
</button>
|
|
540
|
+
</div>
|
|
541
|
+
<div
|
|
542
|
+
class="pf-v6-c-action-list__item"
|
|
543
|
+
>
|
|
544
|
+
<button
|
|
545
|
+
aria-disabled="false"
|
|
546
|
+
class="pf-v6-c-button pf-m-primary"
|
|
547
|
+
data-ouia-component-id="OUIA-Generated-Button-primary-1"
|
|
548
|
+
data-ouia-component-type="PF6/Button"
|
|
549
|
+
data-ouia-safe="true"
|
|
550
|
+
type="submit"
|
|
551
|
+
>
|
|
552
|
+
Next
|
|
553
|
+
</button>
|
|
554
|
+
</div>
|
|
555
|
+
</div>
|
|
556
|
+
<div
|
|
557
|
+
class="pf-v6-c-action-list__group"
|
|
558
|
+
>
|
|
559
|
+
<div
|
|
560
|
+
class="pf-v6-c-action-list__item"
|
|
561
|
+
>
|
|
562
|
+
<button
|
|
563
|
+
aria-disabled="false"
|
|
564
|
+
class="pf-v6-c-button pf-m-link"
|
|
565
|
+
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
566
|
+
data-ouia-component-type="PF6/Button"
|
|
567
|
+
data-ouia-safe="true"
|
|
568
|
+
type="button"
|
|
569
|
+
>
|
|
570
|
+
Cancel
|
|
571
|
+
</button>
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
534
574
|
</div>
|
|
535
575
|
</footer>
|
|
536
576
|
</div>
|
|
@@ -628,40 +668,60 @@ exports[`Wizard bare wiz 1`] = `
|
|
|
628
668
|
<footer
|
|
629
669
|
class="pf-v6-c-wizard__footer"
|
|
630
670
|
>
|
|
631
|
-
<button
|
|
632
|
-
aria-disabled="false"
|
|
633
|
-
class="pf-v6-c-button pf-m-secondary"
|
|
634
|
-
data-ouia-component-id="OUIA-Generated-Button-secondary-3"
|
|
635
|
-
data-ouia-component-type="PF6/Button"
|
|
636
|
-
data-ouia-safe="true"
|
|
637
|
-
disabled=""
|
|
638
|
-
type="button"
|
|
639
|
-
>
|
|
640
|
-
Back
|
|
641
|
-
</button>
|
|
642
|
-
<button
|
|
643
|
-
aria-disabled="false"
|
|
644
|
-
class="pf-v6-c-button pf-m-primary"
|
|
645
|
-
data-ouia-component-id="OUIA-Generated-Button-primary-3"
|
|
646
|
-
data-ouia-component-type="PF6/Button"
|
|
647
|
-
data-ouia-safe="true"
|
|
648
|
-
type="submit"
|
|
649
|
-
>
|
|
650
|
-
Next
|
|
651
|
-
</button>
|
|
652
671
|
<div
|
|
653
|
-
class="pf-v6-c-
|
|
672
|
+
class="pf-v6-c-action-list"
|
|
654
673
|
>
|
|
655
|
-
<
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
674
|
+
<div
|
|
675
|
+
class="pf-v6-c-action-list__group"
|
|
676
|
+
>
|
|
677
|
+
<div
|
|
678
|
+
class="pf-v6-c-action-list__item"
|
|
679
|
+
>
|
|
680
|
+
<button
|
|
681
|
+
aria-disabled="false"
|
|
682
|
+
class="pf-v6-c-button pf-m-secondary"
|
|
683
|
+
data-ouia-component-id="OUIA-Generated-Button-secondary-3"
|
|
684
|
+
data-ouia-component-type="PF6/Button"
|
|
685
|
+
data-ouia-safe="true"
|
|
686
|
+
disabled=""
|
|
687
|
+
type="button"
|
|
688
|
+
>
|
|
689
|
+
Back
|
|
690
|
+
</button>
|
|
691
|
+
</div>
|
|
692
|
+
<div
|
|
693
|
+
class="pf-v6-c-action-list__item"
|
|
694
|
+
>
|
|
695
|
+
<button
|
|
696
|
+
aria-disabled="false"
|
|
697
|
+
class="pf-v6-c-button pf-m-primary"
|
|
698
|
+
data-ouia-component-id="OUIA-Generated-Button-primary-3"
|
|
699
|
+
data-ouia-component-type="PF6/Button"
|
|
700
|
+
data-ouia-safe="true"
|
|
701
|
+
type="submit"
|
|
702
|
+
>
|
|
703
|
+
Next
|
|
704
|
+
</button>
|
|
705
|
+
</div>
|
|
706
|
+
</div>
|
|
707
|
+
<div
|
|
708
|
+
class="pf-v6-c-action-list__group"
|
|
662
709
|
>
|
|
663
|
-
|
|
664
|
-
|
|
710
|
+
<div
|
|
711
|
+
class="pf-v6-c-action-list__item"
|
|
712
|
+
>
|
|
713
|
+
<button
|
|
714
|
+
aria-disabled="false"
|
|
715
|
+
class="pf-v6-c-button pf-m-link"
|
|
716
|
+
data-ouia-component-id="OUIA-Generated-Button-link-3"
|
|
717
|
+
data-ouia-component-type="PF6/Button"
|
|
718
|
+
data-ouia-safe="true"
|
|
719
|
+
type="button"
|
|
720
|
+
>
|
|
721
|
+
Cancel
|
|
722
|
+
</button>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
665
725
|
</div>
|
|
666
726
|
</footer>
|
|
667
727
|
</div>
|
package/src/helpers/constants.ts
CHANGED
|
@@ -4,11 +4,11 @@ import globalBreakpointLg from '@patternfly/react-tokens/dist/esm/global_breakpo
|
|
|
4
4
|
import globalBreakpointXl from '@patternfly/react-tokens/dist/esm/global_breakpoint_xl';
|
|
5
5
|
import globalBreakpoint2xl from '@patternfly/react-tokens/dist/esm/global_breakpoint_2xl';
|
|
6
6
|
|
|
7
|
-
import globalHeightBreakpointSm from '@patternfly/react-tokens/dist/esm/
|
|
8
|
-
import globalHeightBreakpointMd from '@patternfly/react-tokens/dist/esm/
|
|
9
|
-
import globalHeightBreakpointLg from '@patternfly/react-tokens/dist/esm/
|
|
10
|
-
import globalHeightBreakpointXl from '@patternfly/react-tokens/dist/esm/
|
|
11
|
-
import globalHeightBreakpoint2xl from '@patternfly/react-tokens/dist/esm/
|
|
7
|
+
import globalHeightBreakpointSm from '@patternfly/react-tokens/dist/esm/global_breakpoint_height_sm';
|
|
8
|
+
import globalHeightBreakpointMd from '@patternfly/react-tokens/dist/esm/global_breakpoint_height_md';
|
|
9
|
+
import globalHeightBreakpointLg from '@patternfly/react-tokens/dist/esm/global_breakpoint_height_lg';
|
|
10
|
+
import globalHeightBreakpointXl from '@patternfly/react-tokens/dist/esm/global_breakpoint_height_xl';
|
|
11
|
+
import globalHeightBreakpoint2xl from '@patternfly/react-tokens/dist/esm/global_breakpoint_height_2xl';
|
|
12
12
|
|
|
13
13
|
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
|
|
14
14
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
|