@patternfly/react-core 6.0.0-alpha.25 → 6.0.0-alpha.27
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 +12 -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/Chip/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/DragDrop/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/ApplicationLauncher/package.json +1 -1
- package/dist/dynamic/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Dropdown/package.json +1 -1
- package/dist/dynamic/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/dynamic/deprecated/components/PageHeader/package.json +1 -1
- package/dist/dynamic/deprecated/components/Select/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/favorites/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/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/Badge/Badge.d.ts +2 -0
- package/dist/esm/components/Badge/Badge.d.ts.map +1 -1
- package/dist/esm/components/Badge/Badge.js +5 -2
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Drawer/Drawer.d.ts +1 -0
- package/dist/esm/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/esm/components/Drawer/Drawer.js +1 -0
- package/dist/esm/components/Drawer/Drawer.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerContent.d.ts +1 -1
- package/dist/esm/components/Drawer/DrawerContent.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerContent.js +2 -4
- package/dist/esm/components/Drawer/DrawerContent.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerHead.d.ts +0 -2
- package/dist/esm/components/Drawer/DrawerHead.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerHead.js +2 -4
- package/dist/esm/components/Drawer/DrawerHead.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.d.ts +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelContent.js +2 -2
- package/dist/esm/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/esm/components/Drawer/DrawerPanelDescription.d.ts +10 -0
- package/dist/esm/components/Drawer/DrawerPanelDescription.d.ts.map +1 -0
- package/dist/esm/components/Drawer/DrawerPanelDescription.js +10 -0
- package/dist/esm/components/Drawer/DrawerPanelDescription.js.map +1 -0
- package/dist/esm/components/Drawer/DrawerSection.d.ts +1 -1
- package/dist/esm/components/Drawer/DrawerSection.d.ts.map +1 -1
- package/dist/esm/components/Drawer/DrawerSection.js +1 -1
- package/dist/esm/components/Drawer/DrawerSection.js.map +1 -1
- package/dist/esm/components/Drawer/__tests__/DrawerPanelDescription.d.ts +2 -0
- package/dist/esm/components/Drawer/__tests__/DrawerPanelDescription.d.ts.map +1 -0
- package/dist/esm/components/Drawer/__tests__/DrawerPanelDescription.js +21 -0
- package/dist/esm/components/Drawer/__tests__/DrawerPanelDescription.js.map +1 -0
- package/dist/esm/components/Drawer/index.d.ts +1 -0
- package/dist/esm/components/Drawer/index.d.ts.map +1 -1
- package/dist/esm/components/Drawer/index.js +1 -0
- package/dist/esm/components/Drawer/index.js.map +1 -1
- package/dist/js/components/Badge/Badge.d.ts +2 -0
- package/dist/js/components/Badge/Badge.d.ts.map +1 -1
- package/dist/js/components/Badge/Badge.js +5 -2
- package/dist/js/components/Badge/Badge.js.map +1 -1
- package/dist/js/components/Drawer/Drawer.d.ts +1 -0
- package/dist/js/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/js/components/Drawer/Drawer.js +1 -0
- package/dist/js/components/Drawer/Drawer.js.map +1 -1
- package/dist/js/components/Drawer/DrawerContent.d.ts +1 -1
- package/dist/js/components/Drawer/DrawerContent.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerContent.js +2 -4
- package/dist/js/components/Drawer/DrawerContent.js.map +1 -1
- package/dist/js/components/Drawer/DrawerHead.d.ts +0 -2
- package/dist/js/components/Drawer/DrawerHead.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerHead.js +2 -4
- package/dist/js/components/Drawer/DrawerHead.js.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.d.ts +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelContent.js +2 -2
- package/dist/js/components/Drawer/DrawerPanelContent.js.map +1 -1
- package/dist/js/components/Drawer/DrawerPanelDescription.d.ts +10 -0
- package/dist/js/components/Drawer/DrawerPanelDescription.d.ts.map +1 -0
- package/dist/js/components/Drawer/DrawerPanelDescription.js +14 -0
- package/dist/js/components/Drawer/DrawerPanelDescription.js.map +1 -0
- package/dist/js/components/Drawer/DrawerSection.d.ts +1 -1
- package/dist/js/components/Drawer/DrawerSection.d.ts.map +1 -1
- package/dist/js/components/Drawer/DrawerSection.js +1 -1
- package/dist/js/components/Drawer/DrawerSection.js.map +1 -1
- package/dist/js/components/Drawer/__tests__/DrawerPanelDescription.d.ts +2 -0
- package/dist/js/components/Drawer/__tests__/DrawerPanelDescription.d.ts.map +1 -0
- package/dist/js/components/Drawer/__tests__/DrawerPanelDescription.js +24 -0
- package/dist/js/components/Drawer/__tests__/DrawerPanelDescription.js.map +1 -0
- package/dist/js/components/Drawer/index.d.ts +1 -0
- package/dist/js/components/Drawer/index.d.ts.map +1 -1
- package/dist/js/components/Drawer/index.js +1 -0
- package/dist/js/components/Drawer/index.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/Badge/Badge.tsx +9 -0
- package/src/components/Badge/__tests__/Badge.test.tsx +9 -0
- package/src/components/Badge/examples/Badge.css +6 -0
- package/src/components/Badge/examples/Badge.md +7 -0
- package/src/components/Badge/examples/BadgeRead.tsx +3 -3
- package/src/components/Badge/examples/BadgeToggle.tsx +13 -0
- package/src/components/Drawer/Drawer.tsx +1 -0
- package/src/components/Drawer/DrawerContent.tsx +3 -3
- package/src/components/Drawer/DrawerHead.tsx +3 -9
- package/src/components/Drawer/DrawerPanelContent.tsx +3 -2
- package/src/components/Drawer/DrawerPanelDescription.tsx +23 -0
- package/src/components/Drawer/DrawerSection.tsx +2 -1
- package/src/components/Drawer/__tests__/Drawer.test.tsx +4 -4
- package/src/components/Drawer/__tests__/DrawerPanelContent.test.tsx +31 -0
- package/src/components/Drawer/__tests__/DrawerPanelDescription.tsx +28 -0
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +163 -187
- package/src/components/Drawer/__tests__/__snapshots__/DrawerPanelDescription.tsx.snap +11 -0
- package/src/components/Drawer/examples/Drawer.md +4 -4
- package/src/components/Drawer/examples/DrawerBasic.tsx +5 -1
- package/src/components/Drawer/examples/DrawerBasicInline.tsx +1 -1
- package/src/components/Drawer/examples/DrawerBreakpoint.tsx +1 -1
- package/src/components/Drawer/examples/DrawerFocusTrap.tsx +1 -1
- package/src/components/Drawer/examples/DrawerInlinePanelEnd.tsx +1 -1
- package/src/components/Drawer/examples/DrawerInlinePanelStart.tsx +1 -1
- package/src/components/Drawer/examples/DrawerModifiedContentPadding.tsx +1 -1
- package/src/components/Drawer/examples/DrawerModifiedPanelPadding.tsx +2 -2
- package/src/components/Drawer/examples/DrawerPanelBottom.tsx +1 -1
- package/src/components/Drawer/examples/DrawerPanelEnd.tsx +1 -1
- package/src/components/Drawer/examples/DrawerPanelStart.tsx +1 -1
- package/src/components/Drawer/examples/DrawerResizableAtEnd.tsx +1 -1
- package/src/components/Drawer/examples/DrawerResizableAtStart.tsx +1 -1
- package/src/components/Drawer/examples/DrawerResizableOnBottom.tsx +1 -1
- package/src/components/Drawer/examples/DrawerResizableOnInline.tsx +1 -1
- package/src/components/Drawer/examples/DrawerSecondaryBackground.tsx +6 -7
- package/src/components/Drawer/examples/DrawerStackedContentBodyElements.tsx +3 -4
- package/src/components/Drawer/examples/DrawerStatic.tsx +1 -1
- package/src/components/Drawer/index.ts +1 -0
- package/src/components/Wizard/examples/WizardStepDrawerContent.tsx +2 -2
- package/src/demos/examples/Wizard/InModalWithDrawer.tsx +2 -2
- package/src/demos/examples/Wizard/InModalWithDrawerInformationalStep.tsx +2 -2
- package/src/demos/examples/Wizard/InPageWithDrawer.tsx +2 -2
- package/src/demos/examples/Wizard/InPageWithDrawerInformationalStep.tsx +2 -2
- package/src/deprecated/components/Wizard/__tests__/Wizard.test.tsx +0 -1
- package/src/deprecated/components/Wizard/examples/WizardWithDrawer.tsx +11 -7
|
@@ -22,44 +22,40 @@ exports[`Drawer expands from bottom 1`] = `
|
|
|
22
22
|
id="pf-drawer-panel-5"
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
25
|
-
class="pf-v5-c-
|
|
25
|
+
class="pf-v5-c-drawer__head"
|
|
26
26
|
>
|
|
27
|
+
<span>
|
|
28
|
+
drawer-panel
|
|
29
|
+
</span>
|
|
27
30
|
<div
|
|
28
|
-
class="pf-v5-c-
|
|
31
|
+
class="pf-v5-c-drawer__actions"
|
|
29
32
|
>
|
|
30
|
-
<span>
|
|
31
|
-
drawer-panel
|
|
32
|
-
</span>
|
|
33
33
|
<div
|
|
34
|
-
class="pf-v5-c-
|
|
34
|
+
class="pf-v5-c-drawer__close"
|
|
35
35
|
>
|
|
36
|
-
<
|
|
37
|
-
|
|
36
|
+
<button
|
|
37
|
+
aria-disabled="false"
|
|
38
|
+
aria-label="Close drawer panel"
|
|
39
|
+
class="pf-v5-c-button pf-m-plain"
|
|
40
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-4"
|
|
41
|
+
data-ouia-component-type="PF5/Button"
|
|
42
|
+
data-ouia-safe="true"
|
|
43
|
+
type="button"
|
|
38
44
|
>
|
|
39
|
-
<
|
|
40
|
-
aria-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
<svg
|
|
46
|
+
aria-hidden="true"
|
|
47
|
+
class="pf-v5-svg"
|
|
48
|
+
fill="currentColor"
|
|
49
|
+
height="1em"
|
|
50
|
+
role="img"
|
|
51
|
+
viewBox="0 0 352 512"
|
|
52
|
+
width="1em"
|
|
47
53
|
>
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
role="img"
|
|
54
|
-
viewBox="0 0 352 512"
|
|
55
|
-
width="1em"
|
|
56
|
-
>
|
|
57
|
-
<path
|
|
58
|
-
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"
|
|
59
|
-
/>
|
|
60
|
-
</svg>
|
|
61
|
-
</button>
|
|
62
|
-
</div>
|
|
54
|
+
<path
|
|
55
|
+
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"
|
|
56
|
+
/>
|
|
57
|
+
</svg>
|
|
58
|
+
</button>
|
|
63
59
|
</div>
|
|
64
60
|
</div>
|
|
65
61
|
</div>
|
|
@@ -115,44 +111,40 @@ exports[`Drawer has resizable callback and id 1`] = `
|
|
|
115
111
|
class="pf-v5-c-drawer__panel-main"
|
|
116
112
|
>
|
|
117
113
|
<div
|
|
118
|
-
class="pf-v5-c-
|
|
114
|
+
class="pf-v5-c-drawer__head"
|
|
119
115
|
>
|
|
116
|
+
<span>
|
|
117
|
+
drawer-panel
|
|
118
|
+
</span>
|
|
120
119
|
<div
|
|
121
|
-
class="pf-v5-c-
|
|
120
|
+
class="pf-v5-c-drawer__actions"
|
|
122
121
|
>
|
|
123
|
-
<span>
|
|
124
|
-
drawer-panel
|
|
125
|
-
</span>
|
|
126
122
|
<div
|
|
127
|
-
class="pf-v5-c-
|
|
123
|
+
class="pf-v5-c-drawer__close"
|
|
128
124
|
>
|
|
129
|
-
<
|
|
130
|
-
|
|
125
|
+
<button
|
|
126
|
+
aria-disabled="false"
|
|
127
|
+
aria-label="Close drawer panel"
|
|
128
|
+
class="pf-v5-c-button pf-m-plain"
|
|
129
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-6"
|
|
130
|
+
data-ouia-component-type="PF5/Button"
|
|
131
|
+
data-ouia-safe="true"
|
|
132
|
+
type="button"
|
|
131
133
|
>
|
|
132
|
-
<
|
|
133
|
-
aria-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
134
|
+
<svg
|
|
135
|
+
aria-hidden="true"
|
|
136
|
+
class="pf-v5-svg"
|
|
137
|
+
fill="currentColor"
|
|
138
|
+
height="1em"
|
|
139
|
+
role="img"
|
|
140
|
+
viewBox="0 0 352 512"
|
|
141
|
+
width="1em"
|
|
140
142
|
>
|
|
141
|
-
<
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
role="img"
|
|
147
|
-
viewBox="0 0 352 512"
|
|
148
|
-
width="1em"
|
|
149
|
-
>
|
|
150
|
-
<path
|
|
151
|
-
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"
|
|
152
|
-
/>
|
|
153
|
-
</svg>
|
|
154
|
-
</button>
|
|
155
|
-
</div>
|
|
143
|
+
<path
|
|
144
|
+
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"
|
|
145
|
+
/>
|
|
146
|
+
</svg>
|
|
147
|
+
</button>
|
|
156
148
|
</div>
|
|
157
149
|
</div>
|
|
158
150
|
</div>
|
|
@@ -186,7 +178,7 @@ exports[`Drawer has resizable css and color variants 1`] = `
|
|
|
186
178
|
</div>
|
|
187
179
|
</div>
|
|
188
180
|
<div
|
|
189
|
-
class="pf-v5-c-drawer__panel pf-m-resizable pf-m-
|
|
181
|
+
class="pf-v5-c-drawer__panel pf-m-resizable pf-m-secondary"
|
|
190
182
|
id="pf-drawer-panel-6"
|
|
191
183
|
style="--pf-v5-c-drawer__panel--md--FlexBasis: 300px; --pf-v5-c-drawer__panel--md--FlexBasis--min: 200px; --pf-v5-c-drawer__panel--md--FlexBasis--max: 400px;"
|
|
192
184
|
>
|
|
@@ -210,44 +202,40 @@ exports[`Drawer has resizable css and color variants 1`] = `
|
|
|
210
202
|
class="pf-v5-c-drawer__panel-main"
|
|
211
203
|
>
|
|
212
204
|
<div
|
|
213
|
-
class="pf-v5-c-
|
|
205
|
+
class="pf-v5-c-drawer__head"
|
|
214
206
|
>
|
|
207
|
+
<span>
|
|
208
|
+
drawer-panel
|
|
209
|
+
</span>
|
|
215
210
|
<div
|
|
216
|
-
class="pf-v5-c-
|
|
211
|
+
class="pf-v5-c-drawer__actions"
|
|
217
212
|
>
|
|
218
|
-
<span>
|
|
219
|
-
drawer-panel
|
|
220
|
-
</span>
|
|
221
213
|
<div
|
|
222
|
-
class="pf-v5-c-
|
|
214
|
+
class="pf-v5-c-drawer__close"
|
|
223
215
|
>
|
|
224
|
-
<
|
|
225
|
-
|
|
216
|
+
<button
|
|
217
|
+
aria-disabled="false"
|
|
218
|
+
aria-label="Close drawer panel"
|
|
219
|
+
class="pf-v5-c-button pf-m-plain"
|
|
220
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-5"
|
|
221
|
+
data-ouia-component-type="PF5/Button"
|
|
222
|
+
data-ouia-safe="true"
|
|
223
|
+
type="button"
|
|
226
224
|
>
|
|
227
|
-
<
|
|
228
|
-
aria-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
225
|
+
<svg
|
|
226
|
+
aria-hidden="true"
|
|
227
|
+
class="pf-v5-svg"
|
|
228
|
+
fill="currentColor"
|
|
229
|
+
height="1em"
|
|
230
|
+
role="img"
|
|
231
|
+
viewBox="0 0 352 512"
|
|
232
|
+
width="1em"
|
|
235
233
|
>
|
|
236
|
-
<
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
role="img"
|
|
242
|
-
viewBox="0 0 352 512"
|
|
243
|
-
width="1em"
|
|
244
|
-
>
|
|
245
|
-
<path
|
|
246
|
-
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"
|
|
247
|
-
/>
|
|
248
|
-
</svg>
|
|
249
|
-
</button>
|
|
250
|
-
</div>
|
|
234
|
+
<path
|
|
235
|
+
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"
|
|
236
|
+
/>
|
|
237
|
+
</svg>
|
|
238
|
+
</button>
|
|
251
239
|
</div>
|
|
252
240
|
</div>
|
|
253
241
|
</div>
|
|
@@ -339,44 +327,40 @@ exports[`Drawer isExpanded = true and isInline = false and isStatic = false 1`]
|
|
|
339
327
|
id="pf-drawer-panel-0"
|
|
340
328
|
>
|
|
341
329
|
<div
|
|
342
|
-
class="pf-v5-c-
|
|
330
|
+
class="pf-v5-c-drawer__head"
|
|
343
331
|
>
|
|
332
|
+
<span>
|
|
333
|
+
drawer-panel
|
|
334
|
+
</span>
|
|
344
335
|
<div
|
|
345
|
-
class="pf-v5-c-
|
|
336
|
+
class="pf-v5-c-drawer__actions"
|
|
346
337
|
>
|
|
347
|
-
<span>
|
|
348
|
-
drawer-panel
|
|
349
|
-
</span>
|
|
350
338
|
<div
|
|
351
|
-
class="pf-v5-c-
|
|
339
|
+
class="pf-v5-c-drawer__close"
|
|
352
340
|
>
|
|
353
|
-
<
|
|
354
|
-
|
|
341
|
+
<button
|
|
342
|
+
aria-disabled="false"
|
|
343
|
+
aria-label="Close drawer panel"
|
|
344
|
+
class="pf-v5-c-button pf-m-plain"
|
|
345
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-1"
|
|
346
|
+
data-ouia-component-type="PF5/Button"
|
|
347
|
+
data-ouia-safe="true"
|
|
348
|
+
type="button"
|
|
355
349
|
>
|
|
356
|
-
<
|
|
357
|
-
aria-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
350
|
+
<svg
|
|
351
|
+
aria-hidden="true"
|
|
352
|
+
class="pf-v5-svg"
|
|
353
|
+
fill="currentColor"
|
|
354
|
+
height="1em"
|
|
355
|
+
role="img"
|
|
356
|
+
viewBox="0 0 352 512"
|
|
357
|
+
width="1em"
|
|
364
358
|
>
|
|
365
|
-
<
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
role="img"
|
|
371
|
-
viewBox="0 0 352 512"
|
|
372
|
-
width="1em"
|
|
373
|
-
>
|
|
374
|
-
<path
|
|
375
|
-
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"
|
|
376
|
-
/>
|
|
377
|
-
</svg>
|
|
378
|
-
</button>
|
|
379
|
-
</div>
|
|
359
|
+
<path
|
|
360
|
+
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"
|
|
361
|
+
/>
|
|
362
|
+
</svg>
|
|
363
|
+
</button>
|
|
380
364
|
</div>
|
|
381
365
|
</div>
|
|
382
366
|
</div>
|
|
@@ -413,44 +397,40 @@ exports[`Drawer isExpanded = true and isInline = false and isStatic = true 1`] =
|
|
|
413
397
|
id="pf-drawer-panel-4"
|
|
414
398
|
>
|
|
415
399
|
<div
|
|
416
|
-
class="pf-v5-c-
|
|
400
|
+
class="pf-v5-c-drawer__head"
|
|
417
401
|
>
|
|
402
|
+
<span>
|
|
403
|
+
drawer-panel
|
|
404
|
+
</span>
|
|
418
405
|
<div
|
|
419
|
-
class="pf-v5-c-
|
|
406
|
+
class="pf-v5-c-drawer__actions"
|
|
420
407
|
>
|
|
421
|
-
<span>
|
|
422
|
-
drawer-panel
|
|
423
|
-
</span>
|
|
424
408
|
<div
|
|
425
|
-
class="pf-v5-c-
|
|
409
|
+
class="pf-v5-c-drawer__close"
|
|
426
410
|
>
|
|
427
|
-
<
|
|
428
|
-
|
|
411
|
+
<button
|
|
412
|
+
aria-disabled="false"
|
|
413
|
+
aria-label="Close drawer panel"
|
|
414
|
+
class="pf-v5-c-button pf-m-plain"
|
|
415
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-3"
|
|
416
|
+
data-ouia-component-type="PF5/Button"
|
|
417
|
+
data-ouia-safe="true"
|
|
418
|
+
type="button"
|
|
429
419
|
>
|
|
430
|
-
<
|
|
431
|
-
aria-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
420
|
+
<svg
|
|
421
|
+
aria-hidden="true"
|
|
422
|
+
class="pf-v5-svg"
|
|
423
|
+
fill="currentColor"
|
|
424
|
+
height="1em"
|
|
425
|
+
role="img"
|
|
426
|
+
viewBox="0 0 352 512"
|
|
427
|
+
width="1em"
|
|
438
428
|
>
|
|
439
|
-
<
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
role="img"
|
|
445
|
-
viewBox="0 0 352 512"
|
|
446
|
-
width="1em"
|
|
447
|
-
>
|
|
448
|
-
<path
|
|
449
|
-
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"
|
|
450
|
-
/>
|
|
451
|
-
</svg>
|
|
452
|
-
</button>
|
|
453
|
-
</div>
|
|
429
|
+
<path
|
|
430
|
+
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"
|
|
431
|
+
/>
|
|
432
|
+
</svg>
|
|
433
|
+
</button>
|
|
454
434
|
</div>
|
|
455
435
|
</div>
|
|
456
436
|
</div>
|
|
@@ -487,44 +467,40 @@ exports[`Drawer isExpanded = true and isInline = true and isStatic = false 1`] =
|
|
|
487
467
|
id="pf-drawer-panel-2"
|
|
488
468
|
>
|
|
489
469
|
<div
|
|
490
|
-
class="pf-v5-c-
|
|
470
|
+
class="pf-v5-c-drawer__head"
|
|
491
471
|
>
|
|
472
|
+
<span>
|
|
473
|
+
drawer-panel
|
|
474
|
+
</span>
|
|
492
475
|
<div
|
|
493
|
-
class="pf-v5-c-
|
|
476
|
+
class="pf-v5-c-drawer__actions"
|
|
494
477
|
>
|
|
495
|
-
<span>
|
|
496
|
-
drawer-panel
|
|
497
|
-
</span>
|
|
498
478
|
<div
|
|
499
|
-
class="pf-v5-c-
|
|
479
|
+
class="pf-v5-c-drawer__close"
|
|
500
480
|
>
|
|
501
|
-
<
|
|
502
|
-
|
|
481
|
+
<button
|
|
482
|
+
aria-disabled="false"
|
|
483
|
+
aria-label="Close drawer panel"
|
|
484
|
+
class="pf-v5-c-button pf-m-plain"
|
|
485
|
+
data-ouia-component-id="OUIA-Generated-Button-plain-2"
|
|
486
|
+
data-ouia-component-type="PF5/Button"
|
|
487
|
+
data-ouia-safe="true"
|
|
488
|
+
type="button"
|
|
503
489
|
>
|
|
504
|
-
<
|
|
505
|
-
aria-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
490
|
+
<svg
|
|
491
|
+
aria-hidden="true"
|
|
492
|
+
class="pf-v5-svg"
|
|
493
|
+
fill="currentColor"
|
|
494
|
+
height="1em"
|
|
495
|
+
role="img"
|
|
496
|
+
viewBox="0 0 352 512"
|
|
497
|
+
width="1em"
|
|
512
498
|
>
|
|
513
|
-
<
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
role="img"
|
|
519
|
-
viewBox="0 0 352 512"
|
|
520
|
-
width="1em"
|
|
521
|
-
>
|
|
522
|
-
<path
|
|
523
|
-
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"
|
|
524
|
-
/>
|
|
525
|
-
</svg>
|
|
526
|
-
</button>
|
|
527
|
-
</div>
|
|
499
|
+
<path
|
|
500
|
+
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"
|
|
501
|
+
/>
|
|
502
|
+
</svg>
|
|
503
|
+
</button>
|
|
528
504
|
</div>
|
|
529
505
|
</div>
|
|
530
506
|
</div>
|
|
@@ -4,15 +4,15 @@ cssPrefix: pf-v5-c-drawer
|
|
|
4
4
|
propComponents:
|
|
5
5
|
[
|
|
6
6
|
Drawer,
|
|
7
|
+
DrawerSection,
|
|
7
8
|
DrawerContent,
|
|
8
|
-
DrawerPanelContent,
|
|
9
9
|
DrawerContentBody,
|
|
10
|
-
|
|
11
|
-
DrawerSection,
|
|
10
|
+
DrawerPanelContent,
|
|
12
11
|
DrawerHead,
|
|
13
12
|
DrawerActions,
|
|
14
13
|
DrawerCloseButton,
|
|
15
|
-
|
|
14
|
+
DrawerPanelDescription,
|
|
15
|
+
DrawerPanelBody,
|
|
16
16
|
DrawerPanelFocusTrapObject
|
|
17
17
|
]
|
|
18
18
|
section: components
|
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
DrawerHead,
|
|
8
8
|
DrawerActions,
|
|
9
9
|
DrawerCloseButton,
|
|
10
|
+
DrawerPanelBody,
|
|
11
|
+
DrawerPanelDescription,
|
|
10
12
|
Button
|
|
11
13
|
} from '@patternfly/react-core';
|
|
12
14
|
|
|
@@ -30,12 +32,14 @@ export const DrawerBasic: React.FunctionComponent = () => {
|
|
|
30
32
|
<DrawerPanelContent>
|
|
31
33
|
<DrawerHead>
|
|
32
34
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
35
|
+
Drawer panel header
|
|
34
36
|
</span>
|
|
35
37
|
<DrawerActions>
|
|
36
38
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
37
39
|
</DrawerActions>
|
|
38
40
|
</DrawerHead>
|
|
41
|
+
<DrawerPanelDescription>Drawer panel description</DrawerPanelDescription>
|
|
42
|
+
<DrawerPanelBody>Drawer panel body</DrawerPanelBody>
|
|
39
43
|
</DrawerPanelContent>
|
|
40
44
|
);
|
|
41
45
|
|
|
@@ -30,7 +30,7 @@ export const DrawerBasicInline: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerBreakpoint: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent widths={{ default: 'width_33' }}>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -32,7 +32,7 @@ export const DrawerFocusTrap: React.FunctionComponent = () => {
|
|
|
32
32
|
const panelContent = (
|
|
33
33
|
<DrawerPanelContent focusTrap={{ enabled: true }}>
|
|
34
34
|
<DrawerHead>
|
|
35
|
-
<span>
|
|
35
|
+
<span>Drawer panel header</span>
|
|
36
36
|
<DrawerActions>
|
|
37
37
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
38
38
|
</DrawerActions>
|
|
@@ -30,7 +30,7 @@ export const DrawerInlinePanelEnd: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerInlinePanelStart: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerModifiedContentPadding: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -28,9 +28,9 @@ export const DrawerModifiedPanelPadding: React.FunctionComponent = () => {
|
|
|
28
28
|
|
|
29
29
|
const panelContent = (
|
|
30
30
|
<DrawerPanelContent>
|
|
31
|
-
<DrawerHead
|
|
31
|
+
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerPanelBottom: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerPanelEnd: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerPanelStart: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -35,7 +35,7 @@ export const DrawerResizableAtEnd: React.FunctionComponent = () => {
|
|
|
35
35
|
<DrawerPanelContent isResizable onResize={onResize} id="end-resize-panel" defaultSize={'500px'} minSize={'150px'}>
|
|
36
36
|
<DrawerHead>
|
|
37
37
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
38
|
-
|
|
38
|
+
Drawer panel header
|
|
39
39
|
</span>
|
|
40
40
|
<DrawerActions>
|
|
41
41
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -30,7 +30,7 @@ export const DrawerResizableAtStart: React.FunctionComponent = () => {
|
|
|
30
30
|
<DrawerPanelContent isResizable defaultSize={'500px'} minSize={'200px'}>
|
|
31
31
|
<DrawerHead>
|
|
32
32
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
33
|
-
|
|
33
|
+
Drawer panel header
|
|
34
34
|
</span>
|
|
35
35
|
<DrawerActions>
|
|
36
36
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -29,7 +29,7 @@ export const DrawerResizableOnBottom: React.FunctionComponent = () => {
|
|
|
29
29
|
<DrawerPanelContent isResizable defaultSize={'200px'} minSize={'100px'}>
|
|
30
30
|
<DrawerHead>
|
|
31
31
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
32
|
-
|
|
32
|
+
Drawer panel header
|
|
33
33
|
</span>
|
|
34
34
|
<DrawerActions>
|
|
35
35
|
<DrawerCloseButton onClick={onCloseClick} />
|
|
@@ -29,7 +29,7 @@ export const DrawerResizableOnInline: React.FunctionComponent = () => {
|
|
|
29
29
|
<DrawerPanelContent isResizable defaultSize={'500px'} minSize={'150px'}>
|
|
30
30
|
<DrawerHead>
|
|
31
31
|
<span tabIndex={isExpanded ? 0 : -1} ref={drawerRef}>
|
|
32
|
-
|
|
32
|
+
Drawer panel header
|
|
33
33
|
</span>
|
|
34
34
|
<DrawerActions>
|
|
35
35
|
<DrawerCloseButton onClick={onCloseClick} />
|