@patternfly/react-core 3.144.1 → 3.146.0
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 +46 -0
- package/dist/esm/components/DataToolbar/DataToolbarFilter.js +16 -5
- package/dist/esm/components/Drawer/Drawer.js +26 -36
- package/dist/esm/components/Drawer/DrawerActions.js +28 -0
- package/dist/esm/components/Drawer/DrawerCloseButton.js +36 -0
- package/dist/esm/components/Drawer/DrawerContent.js +9 -6
- package/dist/esm/components/Drawer/DrawerContentBody.js +30 -0
- package/dist/esm/components/Drawer/DrawerHead.js +33 -0
- package/dist/esm/components/Drawer/DrawerMain.js +28 -0
- package/dist/esm/components/Drawer/DrawerPanelBody.js +30 -0
- package/dist/esm/components/Drawer/DrawerPanelContent.js +12 -8
- package/dist/esm/components/Drawer/DrawerSection.js +28 -0
- package/dist/esm/components/Drawer/index.js +7 -1
- package/dist/esm/components/Dropdown/Toggle.js +3 -1
- package/dist/esm/components/FileUpload/FileUpload.js +123 -0
- package/dist/esm/components/FileUpload/FileUploadField.js +123 -0
- package/dist/esm/components/FileUpload/index.js +3 -0
- package/dist/esm/components/Modal/ModalBoxDescription.js +30 -0
- package/dist/esm/components/Modal/ModalContent.js +2 -3
- package/dist/esm/components/Select/Select.js +70 -36
- package/dist/esm/components/Select/SelectMenu.js +34 -25
- package/dist/esm/components/Select/SelectOption.js +15 -5
- package/dist/esm/components/Select/SelectToggle.js +6 -3
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/helpers/fileUtils.js +32 -0
- package/dist/esm/helpers/util.js +1 -1
- package/dist/js/components/DataToolbar/DataToolbarFilter.d.ts +8 -2
- package/dist/js/components/DataToolbar/DataToolbarFilter.js +21 -12
- package/dist/js/components/Drawer/Drawer.d.ts +7 -6
- package/dist/js/components/Drawer/Drawer.js +32 -67
- package/dist/js/components/Drawer/DrawerActions.d.ts +8 -0
- package/dist/js/components/Drawer/DrawerActions.js +44 -0
- package/dist/js/components/Drawer/DrawerCloseButton.d.ts +10 -0
- package/dist/js/components/Drawer/DrawerCloseButton.js +58 -0
- package/dist/js/components/Drawer/DrawerContent.d.ts +3 -1
- package/dist/js/components/Drawer/DrawerContent.js +9 -5
- package/dist/js/components/Drawer/DrawerContentBody.d.ts +10 -0
- package/dist/js/components/Drawer/DrawerContentBody.js +47 -0
- package/dist/js/components/Drawer/DrawerHead.d.ts +10 -0
- package/dist/js/components/Drawer/DrawerHead.js +51 -0
- package/dist/js/components/Drawer/DrawerMain.d.ts +8 -0
- package/dist/js/components/Drawer/DrawerMain.js +44 -0
- package/dist/js/components/Drawer/DrawerPanelBody.d.ts +10 -0
- package/dist/js/components/Drawer/DrawerPanelBody.js +47 -0
- package/dist/js/components/Drawer/DrawerPanelContent.d.ts +3 -4
- package/dist/js/components/Drawer/DrawerPanelContent.js +16 -10
- package/dist/js/components/Drawer/DrawerSection.d.ts +8 -0
- package/dist/js/components/Drawer/DrawerSection.js +44 -0
- package/dist/js/components/Drawer/index.d.ts +7 -1
- package/dist/js/components/Drawer/index.js +75 -3
- package/dist/js/components/Dropdown/Toggle.js +2 -1
- package/dist/js/components/FileUpload/FileUpload.d.ts +57 -0
- package/dist/js/components/FileUpload/FileUpload.js +151 -0
- package/dist/js/components/FileUpload/FileUploadField.d.ts +57 -0
- package/dist/js/components/FileUpload/FileUploadField.js +167 -0
- package/dist/js/components/FileUpload/index.d.ts +2 -0
- package/dist/js/components/FileUpload/index.js +30 -0
- package/dist/js/components/Modal/ModalBoxDescription.d.ts +10 -0
- package/dist/js/components/Modal/ModalBoxDescription.js +49 -0
- package/dist/js/components/Modal/ModalContent.js +3 -4
- package/dist/js/components/Select/Select.d.ts +2 -0
- package/dist/js/components/Select/Select.js +79 -35
- package/dist/js/components/Select/SelectMenu.d.ts +3 -1
- package/dist/js/components/Select/SelectMenu.js +30 -14
- package/dist/js/components/Select/SelectOption.d.ts +2 -0
- package/dist/js/components/Select/SelectOption.js +15 -5
- package/dist/js/components/Select/SelectToggle.d.ts +2 -0
- package/dist/js/components/Select/SelectToggle.js +6 -3
- package/dist/js/components/index.d.ts +1 -0
- package/dist/js/components/index.js +12 -0
- package/dist/js/helpers/fileUtils.d.ts +12 -0
- package/dist/js/helpers/fileUtils.js +45 -0
- package/dist/js/helpers/util.js +3 -1
- package/dist/umd/components/DataToolbar/DataToolbarFilter.js +16 -5
- package/dist/umd/components/Drawer/Drawer.js +27 -50
- package/dist/umd/components/Drawer/DrawerActions.js +154 -0
- package/dist/umd/components/Drawer/DrawerCloseButton.js +162 -0
- package/dist/umd/components/Drawer/DrawerContent.js +12 -10
- package/dist/umd/components/Drawer/DrawerContentBody.js +156 -0
- package/dist/umd/components/Drawer/DrawerHead.js +158 -0
- package/dist/umd/components/Drawer/DrawerMain.js +154 -0
- package/dist/umd/components/Drawer/DrawerPanelBody.js +156 -0
- package/dist/umd/components/Drawer/DrawerPanelContent.js +16 -13
- package/dist/umd/components/Drawer/DrawerSection.js +154 -0
- package/dist/umd/components/Drawer/index.js +60 -6
- package/dist/umd/components/Dropdown/Toggle.js +3 -1
- package/dist/umd/components/FileUpload/FileUpload.js +291 -0
- package/dist/umd/components/FileUpload/FileUploadField.js +243 -0
- package/dist/umd/components/FileUpload/index.js +38 -0
- package/dist/umd/components/Modal/ModalBoxDescription.js +156 -0
- package/dist/umd/components/Modal/ModalContent.js +5 -8
- package/dist/umd/components/Select/Select.js +71 -38
- package/dist/umd/components/Select/SelectMenu.js +37 -29
- package/dist/umd/components/Select/SelectOption.js +15 -5
- package/dist/umd/components/Select/SelectToggle.js +6 -3
- package/dist/umd/components/index.js +13 -4
- package/dist/umd/helpers/fileUtils.js +52 -0
- package/dist/umd/helpers/util.js +1 -1
- package/package.json +7 -6
- package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +0 -6
- package/src/components/DataToolbar/DataToolbarFilter.tsx +18 -6
- package/src/components/DataToolbar/__tests__/__snapshots__/DataToolbar.test.tsx.snap +16 -0
- package/src/components/Drawer/Drawer.tsx +36 -31
- package/src/components/Drawer/DrawerActions.tsx +21 -0
- package/src/components/Drawer/DrawerCloseButton.tsx +28 -0
- package/src/components/Drawer/DrawerContent.tsx +11 -4
- package/src/components/Drawer/DrawerContentBody.tsx +24 -0
- package/src/components/Drawer/DrawerHead.tsx +27 -0
- package/src/components/Drawer/DrawerMain.tsx +21 -0
- package/src/components/Drawer/DrawerPanelBody.tsx +24 -0
- package/src/components/Drawer/DrawerPanelContent.tsx +19 -8
- package/src/components/Drawer/DrawerSection.tsx +21 -0
- package/src/components/Drawer/__tests__/Drawer.test.tsx +24 -13
- package/src/components/Drawer/__tests__/Generated/__snapshots__/Drawer.test.tsx.snap +13 -5
- package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +8 -6
- package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerPanelContent.test.tsx.snap +3 -11
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.test.tsx.snap +764 -69
- package/src/components/Drawer/examples/Drawer.md +434 -11
- package/src/components/Drawer/index.ts +7 -1
- package/src/components/Dropdown/Toggle.tsx +2 -0
- package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +0 -14
- package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +0 -5
- package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +0 -2
- package/src/components/FileUpload/FileUpload.tsx +150 -0
- package/src/components/FileUpload/FileUploadField.tsx +176 -0
- package/src/components/FileUpload/__tests__/FileUpload.test.tsx +22 -0
- package/src/components/FileUpload/__tests__/FileUploadField.test.tsx +27 -0
- package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +16 -0
- package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +60 -0
- package/src/components/FileUpload/examples/FileUpload.md +283 -0
- package/src/components/FileUpload/index.ts +2 -0
- package/src/components/Modal/ModalBoxDescription.tsx +23 -0
- package/src/components/Modal/ModalContent.tsx +2 -6
- package/src/components/Modal/__tests__/__snapshots__/ModalContent.test.tsx.snap +2 -3
- package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +0 -7
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +0 -13
- package/src/components/Select/Select.tsx +74 -33
- package/src/components/Select/SelectMenu.tsx +28 -23
- package/src/components/Select/SelectOption.tsx +28 -3
- package/src/components/Select/SelectToggle.tsx +6 -1
- package/src/components/Select/__tests__/Select.test.tsx +16 -0
- package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +911 -174
- package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +7 -7
- package/src/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +3 -0
- package/src/components/Select/examples/Select.md +109 -6
- package/src/components/index.ts +1 -0
- package/src/helpers/__tests__/fileUtils.test.ts +17 -0
- package/src/helpers/fileUtils.ts +26 -0
- package/src/helpers/util.ts +1 -1
- package/src/components/Drawer/Drawer.test.tsx +0 -22
- package/src/components/Drawer/__snapshots__/Drawer.test.tsx.snap +0 -121
|
@@ -1,121 +1,816 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Drawer isExpanded = false and isInline = false 1`] = `
|
|
3
|
+
exports[`Drawer isExpanded = false and isInline = false and isStatic = false 1`] = `
|
|
4
4
|
<Drawer
|
|
5
5
|
isExpanded={false}
|
|
6
|
-
isInline={false}
|
|
7
6
|
>
|
|
8
7
|
<div
|
|
9
8
|
className="pf-c-drawer"
|
|
10
9
|
>
|
|
11
|
-
<DrawerContent
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
<DrawerContent
|
|
11
|
+
panelContent={
|
|
12
|
+
<DrawerPanelContent>
|
|
13
|
+
<DrawerHead>
|
|
14
|
+
<span>
|
|
15
|
+
drawer-panel
|
|
16
|
+
</span>
|
|
17
|
+
<DrawerActions>
|
|
18
|
+
<DrawerCloseButton />
|
|
19
|
+
</DrawerActions>
|
|
20
|
+
</DrawerHead>
|
|
21
|
+
<DrawerPanelBody>
|
|
22
|
+
drawer-panel
|
|
23
|
+
</DrawerPanelBody>
|
|
24
|
+
</DrawerPanelContent>
|
|
25
|
+
}
|
|
26
|
+
>
|
|
27
|
+
<DrawerMain>
|
|
22
28
|
<div
|
|
23
|
-
className="pf-c-
|
|
29
|
+
className="pf-c-drawer__main"
|
|
24
30
|
>
|
|
25
|
-
|
|
31
|
+
<div
|
|
32
|
+
className="pf-c-drawer__content"
|
|
33
|
+
>
|
|
34
|
+
<DrawerContentBody>
|
|
35
|
+
<div
|
|
36
|
+
className="pf-c-drawer__body"
|
|
37
|
+
>
|
|
38
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat,nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.
|
|
39
|
+
</div>
|
|
40
|
+
</DrawerContentBody>
|
|
41
|
+
</div>
|
|
42
|
+
<DrawerPanelContent>
|
|
43
|
+
<div
|
|
44
|
+
aria-expanded={false}
|
|
45
|
+
aria-hidden={true}
|
|
46
|
+
className="pf-c-drawer__panel"
|
|
47
|
+
hidden={true}
|
|
48
|
+
>
|
|
49
|
+
<DrawerHead>
|
|
50
|
+
<DrawerPanelBody
|
|
51
|
+
noPadding={false}
|
|
52
|
+
>
|
|
53
|
+
<div
|
|
54
|
+
className="pf-c-drawer__body"
|
|
55
|
+
>
|
|
56
|
+
<div
|
|
57
|
+
className="pf-c-drawer__head"
|
|
58
|
+
>
|
|
59
|
+
<span>
|
|
60
|
+
drawer-panel
|
|
61
|
+
</span>
|
|
62
|
+
<DrawerActions>
|
|
63
|
+
<div
|
|
64
|
+
className="pf-c-drawer__actions"
|
|
65
|
+
>
|
|
66
|
+
<DrawerCloseButton>
|
|
67
|
+
<div
|
|
68
|
+
className="pf-c-drawer__close"
|
|
69
|
+
>
|
|
70
|
+
<Component
|
|
71
|
+
aria-label="Close drawer panel"
|
|
72
|
+
onClick={[Function]}
|
|
73
|
+
variant="plain"
|
|
74
|
+
>
|
|
75
|
+
<ComponentWithOuia
|
|
76
|
+
component={[Function]}
|
|
77
|
+
componentProps={
|
|
78
|
+
Object {
|
|
79
|
+
"aria-label": "Close drawer panel",
|
|
80
|
+
"children": <TimesIcon
|
|
81
|
+
color="currentColor"
|
|
82
|
+
noVerticalAlign={false}
|
|
83
|
+
size="sm"
|
|
84
|
+
title={null}
|
|
85
|
+
/>,
|
|
86
|
+
"onClick": [Function],
|
|
87
|
+
"variant": "plain",
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
consumerContext={null}
|
|
91
|
+
>
|
|
92
|
+
<Button
|
|
93
|
+
aria-label="Close drawer panel"
|
|
94
|
+
onClick={[Function]}
|
|
95
|
+
ouiaContext={
|
|
96
|
+
Object {
|
|
97
|
+
"isOuia": false,
|
|
98
|
+
"ouiaId": null,
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
variant="plain"
|
|
102
|
+
>
|
|
103
|
+
<button
|
|
104
|
+
aria-disabled={null}
|
|
105
|
+
aria-label="Close drawer panel"
|
|
106
|
+
className="pf-c-button pf-m-plain"
|
|
107
|
+
disabled={false}
|
|
108
|
+
onClick={[Function]}
|
|
109
|
+
tabIndex={null}
|
|
110
|
+
type="button"
|
|
111
|
+
>
|
|
112
|
+
<TimesIcon
|
|
113
|
+
color="currentColor"
|
|
114
|
+
noVerticalAlign={false}
|
|
115
|
+
size="sm"
|
|
116
|
+
title={null}
|
|
117
|
+
>
|
|
118
|
+
<svg
|
|
119
|
+
aria-hidden={true}
|
|
120
|
+
aria-labelledby={null}
|
|
121
|
+
fill="currentColor"
|
|
122
|
+
height="1em"
|
|
123
|
+
role="img"
|
|
124
|
+
style={
|
|
125
|
+
Object {
|
|
126
|
+
"verticalAlign": "-0.125em",
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
viewBox="0 0 352 512"
|
|
130
|
+
width="1em"
|
|
131
|
+
>
|
|
132
|
+
<path
|
|
133
|
+
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"
|
|
134
|
+
transform=""
|
|
135
|
+
/>
|
|
136
|
+
</svg>
|
|
137
|
+
</TimesIcon>
|
|
138
|
+
</button>
|
|
139
|
+
</Button>
|
|
140
|
+
</ComponentWithOuia>
|
|
141
|
+
</Component>
|
|
142
|
+
</div>
|
|
143
|
+
</DrawerCloseButton>
|
|
144
|
+
</div>
|
|
145
|
+
</DrawerActions>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
</DrawerPanelBody>
|
|
149
|
+
</DrawerHead>
|
|
150
|
+
<DrawerPanelBody>
|
|
151
|
+
<div
|
|
152
|
+
className="pf-c-drawer__body"
|
|
153
|
+
>
|
|
154
|
+
drawer-panel
|
|
155
|
+
</div>
|
|
156
|
+
</DrawerPanelBody>
|
|
157
|
+
</div>
|
|
158
|
+
</DrawerPanelContent>
|
|
26
159
|
</div>
|
|
27
|
-
</
|
|
28
|
-
</
|
|
160
|
+
</DrawerMain>
|
|
161
|
+
</DrawerContent>
|
|
29
162
|
</div>
|
|
30
163
|
</Drawer>
|
|
31
164
|
`;
|
|
32
165
|
|
|
33
|
-
exports[`Drawer isExpanded = false and isInline = true 1`] = `
|
|
166
|
+
exports[`Drawer isExpanded = false and isInline = true and isStatic = false 1`] = `
|
|
34
167
|
<Drawer
|
|
35
168
|
isExpanded={false}
|
|
36
|
-
isInline={true}
|
|
37
169
|
>
|
|
38
170
|
<div
|
|
39
|
-
className="pf-c-drawer
|
|
171
|
+
className="pf-c-drawer"
|
|
40
172
|
>
|
|
41
|
-
<DrawerContent
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
173
|
+
<DrawerContent
|
|
174
|
+
panelContent={
|
|
175
|
+
<DrawerPanelContent>
|
|
176
|
+
<DrawerHead>
|
|
177
|
+
<span>
|
|
178
|
+
drawer-panel
|
|
179
|
+
</span>
|
|
180
|
+
<DrawerActions>
|
|
181
|
+
<DrawerCloseButton />
|
|
182
|
+
</DrawerActions>
|
|
183
|
+
</DrawerHead>
|
|
184
|
+
<DrawerPanelBody>
|
|
185
|
+
drawer-panel
|
|
186
|
+
</DrawerPanelBody>
|
|
187
|
+
</DrawerPanelContent>
|
|
188
|
+
}
|
|
189
|
+
>
|
|
190
|
+
<DrawerMain>
|
|
52
191
|
<div
|
|
53
|
-
className="pf-c-
|
|
192
|
+
className="pf-c-drawer__main"
|
|
54
193
|
>
|
|
55
|
-
|
|
194
|
+
<div
|
|
195
|
+
className="pf-c-drawer__content"
|
|
196
|
+
>
|
|
197
|
+
<DrawerContentBody>
|
|
198
|
+
<div
|
|
199
|
+
className="pf-c-drawer__body"
|
|
200
|
+
>
|
|
201
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat,nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.
|
|
202
|
+
</div>
|
|
203
|
+
</DrawerContentBody>
|
|
204
|
+
</div>
|
|
205
|
+
<DrawerPanelContent>
|
|
206
|
+
<div
|
|
207
|
+
aria-expanded={false}
|
|
208
|
+
aria-hidden={true}
|
|
209
|
+
className="pf-c-drawer__panel"
|
|
210
|
+
hidden={true}
|
|
211
|
+
>
|
|
212
|
+
<DrawerHead>
|
|
213
|
+
<DrawerPanelBody
|
|
214
|
+
noPadding={false}
|
|
215
|
+
>
|
|
216
|
+
<div
|
|
217
|
+
className="pf-c-drawer__body"
|
|
218
|
+
>
|
|
219
|
+
<div
|
|
220
|
+
className="pf-c-drawer__head"
|
|
221
|
+
>
|
|
222
|
+
<span>
|
|
223
|
+
drawer-panel
|
|
224
|
+
</span>
|
|
225
|
+
<DrawerActions>
|
|
226
|
+
<div
|
|
227
|
+
className="pf-c-drawer__actions"
|
|
228
|
+
>
|
|
229
|
+
<DrawerCloseButton>
|
|
230
|
+
<div
|
|
231
|
+
className="pf-c-drawer__close"
|
|
232
|
+
>
|
|
233
|
+
<Component
|
|
234
|
+
aria-label="Close drawer panel"
|
|
235
|
+
onClick={[Function]}
|
|
236
|
+
variant="plain"
|
|
237
|
+
>
|
|
238
|
+
<ComponentWithOuia
|
|
239
|
+
component={[Function]}
|
|
240
|
+
componentProps={
|
|
241
|
+
Object {
|
|
242
|
+
"aria-label": "Close drawer panel",
|
|
243
|
+
"children": <TimesIcon
|
|
244
|
+
color="currentColor"
|
|
245
|
+
noVerticalAlign={false}
|
|
246
|
+
size="sm"
|
|
247
|
+
title={null}
|
|
248
|
+
/>,
|
|
249
|
+
"onClick": [Function],
|
|
250
|
+
"variant": "plain",
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
consumerContext={null}
|
|
254
|
+
>
|
|
255
|
+
<Button
|
|
256
|
+
aria-label="Close drawer panel"
|
|
257
|
+
onClick={[Function]}
|
|
258
|
+
ouiaContext={
|
|
259
|
+
Object {
|
|
260
|
+
"isOuia": false,
|
|
261
|
+
"ouiaId": null,
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
variant="plain"
|
|
265
|
+
>
|
|
266
|
+
<button
|
|
267
|
+
aria-disabled={null}
|
|
268
|
+
aria-label="Close drawer panel"
|
|
269
|
+
className="pf-c-button pf-m-plain"
|
|
270
|
+
disabled={false}
|
|
271
|
+
onClick={[Function]}
|
|
272
|
+
tabIndex={null}
|
|
273
|
+
type="button"
|
|
274
|
+
>
|
|
275
|
+
<TimesIcon
|
|
276
|
+
color="currentColor"
|
|
277
|
+
noVerticalAlign={false}
|
|
278
|
+
size="sm"
|
|
279
|
+
title={null}
|
|
280
|
+
>
|
|
281
|
+
<svg
|
|
282
|
+
aria-hidden={true}
|
|
283
|
+
aria-labelledby={null}
|
|
284
|
+
fill="currentColor"
|
|
285
|
+
height="1em"
|
|
286
|
+
role="img"
|
|
287
|
+
style={
|
|
288
|
+
Object {
|
|
289
|
+
"verticalAlign": "-0.125em",
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
viewBox="0 0 352 512"
|
|
293
|
+
width="1em"
|
|
294
|
+
>
|
|
295
|
+
<path
|
|
296
|
+
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"
|
|
297
|
+
transform=""
|
|
298
|
+
/>
|
|
299
|
+
</svg>
|
|
300
|
+
</TimesIcon>
|
|
301
|
+
</button>
|
|
302
|
+
</Button>
|
|
303
|
+
</ComponentWithOuia>
|
|
304
|
+
</Component>
|
|
305
|
+
</div>
|
|
306
|
+
</DrawerCloseButton>
|
|
307
|
+
</div>
|
|
308
|
+
</DrawerActions>
|
|
309
|
+
</div>
|
|
310
|
+
</div>
|
|
311
|
+
</DrawerPanelBody>
|
|
312
|
+
</DrawerHead>
|
|
313
|
+
<DrawerPanelBody>
|
|
314
|
+
<div
|
|
315
|
+
className="pf-c-drawer__body"
|
|
316
|
+
>
|
|
317
|
+
drawer-panel
|
|
318
|
+
</div>
|
|
319
|
+
</DrawerPanelBody>
|
|
320
|
+
</div>
|
|
321
|
+
</DrawerPanelContent>
|
|
56
322
|
</div>
|
|
57
|
-
</
|
|
58
|
-
</
|
|
323
|
+
</DrawerMain>
|
|
324
|
+
</DrawerContent>
|
|
59
325
|
</div>
|
|
60
326
|
</Drawer>
|
|
61
327
|
`;
|
|
62
328
|
|
|
63
|
-
exports[`Drawer isExpanded = true and isInline = false 1`] = `
|
|
329
|
+
exports[`Drawer isExpanded = true and isInline = false and isStatic = false 1`] = `
|
|
64
330
|
<Drawer
|
|
65
331
|
isExpanded={true}
|
|
66
|
-
isInline={false}
|
|
67
332
|
>
|
|
68
333
|
<div
|
|
69
334
|
className="pf-c-drawer pf-m-expanded"
|
|
70
335
|
>
|
|
71
|
-
<DrawerContent
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
336
|
+
<DrawerContent
|
|
337
|
+
panelContent={
|
|
338
|
+
<DrawerPanelContent>
|
|
339
|
+
<DrawerHead>
|
|
340
|
+
<span>
|
|
341
|
+
drawer-panel
|
|
342
|
+
</span>
|
|
343
|
+
<DrawerActions>
|
|
344
|
+
<DrawerCloseButton />
|
|
345
|
+
</DrawerActions>
|
|
346
|
+
</DrawerHead>
|
|
347
|
+
<DrawerPanelBody>
|
|
348
|
+
drawer-panel
|
|
349
|
+
</DrawerPanelBody>
|
|
350
|
+
</DrawerPanelContent>
|
|
351
|
+
}
|
|
352
|
+
>
|
|
353
|
+
<DrawerMain>
|
|
82
354
|
<div
|
|
83
|
-
className="pf-c-
|
|
355
|
+
className="pf-c-drawer__main"
|
|
84
356
|
>
|
|
85
|
-
|
|
357
|
+
<div
|
|
358
|
+
className="pf-c-drawer__content"
|
|
359
|
+
>
|
|
360
|
+
<DrawerContentBody>
|
|
361
|
+
<div
|
|
362
|
+
className="pf-c-drawer__body"
|
|
363
|
+
>
|
|
364
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat,nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.
|
|
365
|
+
</div>
|
|
366
|
+
</DrawerContentBody>
|
|
367
|
+
</div>
|
|
368
|
+
<DrawerPanelContent>
|
|
369
|
+
<div
|
|
370
|
+
aria-expanded={true}
|
|
371
|
+
aria-hidden={false}
|
|
372
|
+
className="pf-c-drawer__panel"
|
|
373
|
+
hidden={false}
|
|
374
|
+
>
|
|
375
|
+
<DrawerHead>
|
|
376
|
+
<DrawerPanelBody
|
|
377
|
+
noPadding={false}
|
|
378
|
+
>
|
|
379
|
+
<div
|
|
380
|
+
className="pf-c-drawer__body"
|
|
381
|
+
>
|
|
382
|
+
<div
|
|
383
|
+
className="pf-c-drawer__head"
|
|
384
|
+
>
|
|
385
|
+
<span>
|
|
386
|
+
drawer-panel
|
|
387
|
+
</span>
|
|
388
|
+
<DrawerActions>
|
|
389
|
+
<div
|
|
390
|
+
className="pf-c-drawer__actions"
|
|
391
|
+
>
|
|
392
|
+
<DrawerCloseButton>
|
|
393
|
+
<div
|
|
394
|
+
className="pf-c-drawer__close"
|
|
395
|
+
>
|
|
396
|
+
<Component
|
|
397
|
+
aria-label="Close drawer panel"
|
|
398
|
+
onClick={[Function]}
|
|
399
|
+
variant="plain"
|
|
400
|
+
>
|
|
401
|
+
<ComponentWithOuia
|
|
402
|
+
component={[Function]}
|
|
403
|
+
componentProps={
|
|
404
|
+
Object {
|
|
405
|
+
"aria-label": "Close drawer panel",
|
|
406
|
+
"children": <TimesIcon
|
|
407
|
+
color="currentColor"
|
|
408
|
+
noVerticalAlign={false}
|
|
409
|
+
size="sm"
|
|
410
|
+
title={null}
|
|
411
|
+
/>,
|
|
412
|
+
"onClick": [Function],
|
|
413
|
+
"variant": "plain",
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
consumerContext={null}
|
|
417
|
+
>
|
|
418
|
+
<Button
|
|
419
|
+
aria-label="Close drawer panel"
|
|
420
|
+
onClick={[Function]}
|
|
421
|
+
ouiaContext={
|
|
422
|
+
Object {
|
|
423
|
+
"isOuia": false,
|
|
424
|
+
"ouiaId": null,
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
variant="plain"
|
|
428
|
+
>
|
|
429
|
+
<button
|
|
430
|
+
aria-disabled={null}
|
|
431
|
+
aria-label="Close drawer panel"
|
|
432
|
+
className="pf-c-button pf-m-plain"
|
|
433
|
+
disabled={false}
|
|
434
|
+
onClick={[Function]}
|
|
435
|
+
tabIndex={null}
|
|
436
|
+
type="button"
|
|
437
|
+
>
|
|
438
|
+
<TimesIcon
|
|
439
|
+
color="currentColor"
|
|
440
|
+
noVerticalAlign={false}
|
|
441
|
+
size="sm"
|
|
442
|
+
title={null}
|
|
443
|
+
>
|
|
444
|
+
<svg
|
|
445
|
+
aria-hidden={true}
|
|
446
|
+
aria-labelledby={null}
|
|
447
|
+
fill="currentColor"
|
|
448
|
+
height="1em"
|
|
449
|
+
role="img"
|
|
450
|
+
style={
|
|
451
|
+
Object {
|
|
452
|
+
"verticalAlign": "-0.125em",
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
viewBox="0 0 352 512"
|
|
456
|
+
width="1em"
|
|
457
|
+
>
|
|
458
|
+
<path
|
|
459
|
+
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"
|
|
460
|
+
transform=""
|
|
461
|
+
/>
|
|
462
|
+
</svg>
|
|
463
|
+
</TimesIcon>
|
|
464
|
+
</button>
|
|
465
|
+
</Button>
|
|
466
|
+
</ComponentWithOuia>
|
|
467
|
+
</Component>
|
|
468
|
+
</div>
|
|
469
|
+
</DrawerCloseButton>
|
|
470
|
+
</div>
|
|
471
|
+
</DrawerActions>
|
|
472
|
+
</div>
|
|
473
|
+
</div>
|
|
474
|
+
</DrawerPanelBody>
|
|
475
|
+
</DrawerHead>
|
|
476
|
+
<DrawerPanelBody>
|
|
477
|
+
<div
|
|
478
|
+
className="pf-c-drawer__body"
|
|
479
|
+
>
|
|
480
|
+
drawer-panel
|
|
481
|
+
</div>
|
|
482
|
+
</DrawerPanelBody>
|
|
483
|
+
</div>
|
|
484
|
+
</DrawerPanelContent>
|
|
86
485
|
</div>
|
|
87
|
-
</
|
|
88
|
-
</
|
|
486
|
+
</DrawerMain>
|
|
487
|
+
</DrawerContent>
|
|
89
488
|
</div>
|
|
90
489
|
</Drawer>
|
|
91
490
|
`;
|
|
92
491
|
|
|
93
|
-
exports[`Drawer isExpanded = true and isInline = true 1`] = `
|
|
492
|
+
exports[`Drawer isExpanded = true and isInline = false and isStatic = true 1`] = `
|
|
94
493
|
<Drawer
|
|
95
494
|
isExpanded={true}
|
|
96
|
-
isInline={true}
|
|
97
495
|
>
|
|
98
496
|
<div
|
|
99
|
-
className="pf-c-drawer pf-m-expanded
|
|
497
|
+
className="pf-c-drawer pf-m-expanded"
|
|
100
498
|
>
|
|
101
|
-
<DrawerContent
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
499
|
+
<DrawerContent
|
|
500
|
+
panelContent={
|
|
501
|
+
<DrawerPanelContent>
|
|
502
|
+
<DrawerHead>
|
|
503
|
+
<span>
|
|
504
|
+
drawer-panel
|
|
505
|
+
</span>
|
|
506
|
+
<DrawerActions>
|
|
507
|
+
<DrawerCloseButton />
|
|
508
|
+
</DrawerActions>
|
|
509
|
+
</DrawerHead>
|
|
510
|
+
<DrawerPanelBody>
|
|
511
|
+
drawer-panel
|
|
512
|
+
</DrawerPanelBody>
|
|
513
|
+
</DrawerPanelContent>
|
|
514
|
+
}
|
|
515
|
+
>
|
|
516
|
+
<DrawerMain>
|
|
517
|
+
<div
|
|
518
|
+
className="pf-c-drawer__main"
|
|
519
|
+
>
|
|
520
|
+
<div
|
|
521
|
+
className="pf-c-drawer__content"
|
|
522
|
+
>
|
|
523
|
+
<DrawerContentBody>
|
|
524
|
+
<div
|
|
525
|
+
className="pf-c-drawer__body"
|
|
526
|
+
>
|
|
527
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat,nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.
|
|
528
|
+
</div>
|
|
529
|
+
</DrawerContentBody>
|
|
530
|
+
</div>
|
|
531
|
+
<DrawerPanelContent>
|
|
532
|
+
<div
|
|
533
|
+
aria-expanded={true}
|
|
534
|
+
aria-hidden={false}
|
|
535
|
+
className="pf-c-drawer__panel"
|
|
536
|
+
hidden={false}
|
|
537
|
+
>
|
|
538
|
+
<DrawerHead>
|
|
539
|
+
<DrawerPanelBody
|
|
540
|
+
noPadding={false}
|
|
541
|
+
>
|
|
542
|
+
<div
|
|
543
|
+
className="pf-c-drawer__body"
|
|
544
|
+
>
|
|
545
|
+
<div
|
|
546
|
+
className="pf-c-drawer__head"
|
|
547
|
+
>
|
|
548
|
+
<span>
|
|
549
|
+
drawer-panel
|
|
550
|
+
</span>
|
|
551
|
+
<DrawerActions>
|
|
552
|
+
<div
|
|
553
|
+
className="pf-c-drawer__actions"
|
|
554
|
+
>
|
|
555
|
+
<DrawerCloseButton>
|
|
556
|
+
<div
|
|
557
|
+
className="pf-c-drawer__close"
|
|
558
|
+
>
|
|
559
|
+
<Component
|
|
560
|
+
aria-label="Close drawer panel"
|
|
561
|
+
onClick={[Function]}
|
|
562
|
+
variant="plain"
|
|
563
|
+
>
|
|
564
|
+
<ComponentWithOuia
|
|
565
|
+
component={[Function]}
|
|
566
|
+
componentProps={
|
|
567
|
+
Object {
|
|
568
|
+
"aria-label": "Close drawer panel",
|
|
569
|
+
"children": <TimesIcon
|
|
570
|
+
color="currentColor"
|
|
571
|
+
noVerticalAlign={false}
|
|
572
|
+
size="sm"
|
|
573
|
+
title={null}
|
|
574
|
+
/>,
|
|
575
|
+
"onClick": [Function],
|
|
576
|
+
"variant": "plain",
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
consumerContext={null}
|
|
580
|
+
>
|
|
581
|
+
<Button
|
|
582
|
+
aria-label="Close drawer panel"
|
|
583
|
+
onClick={[Function]}
|
|
584
|
+
ouiaContext={
|
|
585
|
+
Object {
|
|
586
|
+
"isOuia": false,
|
|
587
|
+
"ouiaId": null,
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
variant="plain"
|
|
591
|
+
>
|
|
592
|
+
<button
|
|
593
|
+
aria-disabled={null}
|
|
594
|
+
aria-label="Close drawer panel"
|
|
595
|
+
className="pf-c-button pf-m-plain"
|
|
596
|
+
disabled={false}
|
|
597
|
+
onClick={[Function]}
|
|
598
|
+
tabIndex={null}
|
|
599
|
+
type="button"
|
|
600
|
+
>
|
|
601
|
+
<TimesIcon
|
|
602
|
+
color="currentColor"
|
|
603
|
+
noVerticalAlign={false}
|
|
604
|
+
size="sm"
|
|
605
|
+
title={null}
|
|
606
|
+
>
|
|
607
|
+
<svg
|
|
608
|
+
aria-hidden={true}
|
|
609
|
+
aria-labelledby={null}
|
|
610
|
+
fill="currentColor"
|
|
611
|
+
height="1em"
|
|
612
|
+
role="img"
|
|
613
|
+
style={
|
|
614
|
+
Object {
|
|
615
|
+
"verticalAlign": "-0.125em",
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
viewBox="0 0 352 512"
|
|
619
|
+
width="1em"
|
|
620
|
+
>
|
|
621
|
+
<path
|
|
622
|
+
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"
|
|
623
|
+
transform=""
|
|
624
|
+
/>
|
|
625
|
+
</svg>
|
|
626
|
+
</TimesIcon>
|
|
627
|
+
</button>
|
|
628
|
+
</Button>
|
|
629
|
+
</ComponentWithOuia>
|
|
630
|
+
</Component>
|
|
631
|
+
</div>
|
|
632
|
+
</DrawerCloseButton>
|
|
633
|
+
</div>
|
|
634
|
+
</DrawerActions>
|
|
635
|
+
</div>
|
|
636
|
+
</div>
|
|
637
|
+
</DrawerPanelBody>
|
|
638
|
+
</DrawerHead>
|
|
639
|
+
<DrawerPanelBody>
|
|
640
|
+
<div
|
|
641
|
+
className="pf-c-drawer__body"
|
|
642
|
+
>
|
|
643
|
+
drawer-panel
|
|
644
|
+
</div>
|
|
645
|
+
</DrawerPanelBody>
|
|
646
|
+
</div>
|
|
647
|
+
</DrawerPanelContent>
|
|
648
|
+
</div>
|
|
649
|
+
</DrawerMain>
|
|
107
650
|
</DrawerContent>
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
651
|
+
</div>
|
|
652
|
+
</Drawer>
|
|
653
|
+
`;
|
|
654
|
+
|
|
655
|
+
exports[`Drawer isExpanded = true and isInline = true and isStatic = false 1`] = `
|
|
656
|
+
<Drawer
|
|
657
|
+
isExpanded={true}
|
|
658
|
+
>
|
|
659
|
+
<div
|
|
660
|
+
className="pf-c-drawer pf-m-expanded"
|
|
661
|
+
>
|
|
662
|
+
<DrawerContent
|
|
663
|
+
panelContent={
|
|
664
|
+
<DrawerPanelContent>
|
|
665
|
+
<DrawerHead>
|
|
666
|
+
<span>
|
|
667
|
+
drawer-panel
|
|
668
|
+
</span>
|
|
669
|
+
<DrawerActions>
|
|
670
|
+
<DrawerCloseButton />
|
|
671
|
+
</DrawerActions>
|
|
672
|
+
</DrawerHead>
|
|
673
|
+
<DrawerPanelBody>
|
|
674
|
+
drawer-panel
|
|
675
|
+
</DrawerPanelBody>
|
|
676
|
+
</DrawerPanelContent>
|
|
677
|
+
}
|
|
678
|
+
>
|
|
679
|
+
<DrawerMain>
|
|
112
680
|
<div
|
|
113
|
-
className="pf-c-
|
|
681
|
+
className="pf-c-drawer__main"
|
|
114
682
|
>
|
|
115
|
-
|
|
683
|
+
<div
|
|
684
|
+
className="pf-c-drawer__content"
|
|
685
|
+
>
|
|
686
|
+
<DrawerContentBody>
|
|
687
|
+
<div
|
|
688
|
+
className="pf-c-drawer__body"
|
|
689
|
+
>
|
|
690
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat,nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.
|
|
691
|
+
</div>
|
|
692
|
+
</DrawerContentBody>
|
|
693
|
+
</div>
|
|
694
|
+
<DrawerPanelContent>
|
|
695
|
+
<div
|
|
696
|
+
aria-expanded={true}
|
|
697
|
+
aria-hidden={false}
|
|
698
|
+
className="pf-c-drawer__panel"
|
|
699
|
+
hidden={false}
|
|
700
|
+
>
|
|
701
|
+
<DrawerHead>
|
|
702
|
+
<DrawerPanelBody
|
|
703
|
+
noPadding={false}
|
|
704
|
+
>
|
|
705
|
+
<div
|
|
706
|
+
className="pf-c-drawer__body"
|
|
707
|
+
>
|
|
708
|
+
<div
|
|
709
|
+
className="pf-c-drawer__head"
|
|
710
|
+
>
|
|
711
|
+
<span>
|
|
712
|
+
drawer-panel
|
|
713
|
+
</span>
|
|
714
|
+
<DrawerActions>
|
|
715
|
+
<div
|
|
716
|
+
className="pf-c-drawer__actions"
|
|
717
|
+
>
|
|
718
|
+
<DrawerCloseButton>
|
|
719
|
+
<div
|
|
720
|
+
className="pf-c-drawer__close"
|
|
721
|
+
>
|
|
722
|
+
<Component
|
|
723
|
+
aria-label="Close drawer panel"
|
|
724
|
+
onClick={[Function]}
|
|
725
|
+
variant="plain"
|
|
726
|
+
>
|
|
727
|
+
<ComponentWithOuia
|
|
728
|
+
component={[Function]}
|
|
729
|
+
componentProps={
|
|
730
|
+
Object {
|
|
731
|
+
"aria-label": "Close drawer panel",
|
|
732
|
+
"children": <TimesIcon
|
|
733
|
+
color="currentColor"
|
|
734
|
+
noVerticalAlign={false}
|
|
735
|
+
size="sm"
|
|
736
|
+
title={null}
|
|
737
|
+
/>,
|
|
738
|
+
"onClick": [Function],
|
|
739
|
+
"variant": "plain",
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
consumerContext={null}
|
|
743
|
+
>
|
|
744
|
+
<Button
|
|
745
|
+
aria-label="Close drawer panel"
|
|
746
|
+
onClick={[Function]}
|
|
747
|
+
ouiaContext={
|
|
748
|
+
Object {
|
|
749
|
+
"isOuia": false,
|
|
750
|
+
"ouiaId": null,
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
variant="plain"
|
|
754
|
+
>
|
|
755
|
+
<button
|
|
756
|
+
aria-disabled={null}
|
|
757
|
+
aria-label="Close drawer panel"
|
|
758
|
+
className="pf-c-button pf-m-plain"
|
|
759
|
+
disabled={false}
|
|
760
|
+
onClick={[Function]}
|
|
761
|
+
tabIndex={null}
|
|
762
|
+
type="button"
|
|
763
|
+
>
|
|
764
|
+
<TimesIcon
|
|
765
|
+
color="currentColor"
|
|
766
|
+
noVerticalAlign={false}
|
|
767
|
+
size="sm"
|
|
768
|
+
title={null}
|
|
769
|
+
>
|
|
770
|
+
<svg
|
|
771
|
+
aria-hidden={true}
|
|
772
|
+
aria-labelledby={null}
|
|
773
|
+
fill="currentColor"
|
|
774
|
+
height="1em"
|
|
775
|
+
role="img"
|
|
776
|
+
style={
|
|
777
|
+
Object {
|
|
778
|
+
"verticalAlign": "-0.125em",
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
viewBox="0 0 352 512"
|
|
782
|
+
width="1em"
|
|
783
|
+
>
|
|
784
|
+
<path
|
|
785
|
+
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"
|
|
786
|
+
transform=""
|
|
787
|
+
/>
|
|
788
|
+
</svg>
|
|
789
|
+
</TimesIcon>
|
|
790
|
+
</button>
|
|
791
|
+
</Button>
|
|
792
|
+
</ComponentWithOuia>
|
|
793
|
+
</Component>
|
|
794
|
+
</div>
|
|
795
|
+
</DrawerCloseButton>
|
|
796
|
+
</div>
|
|
797
|
+
</DrawerActions>
|
|
798
|
+
</div>
|
|
799
|
+
</div>
|
|
800
|
+
</DrawerPanelBody>
|
|
801
|
+
</DrawerHead>
|
|
802
|
+
<DrawerPanelBody>
|
|
803
|
+
<div
|
|
804
|
+
className="pf-c-drawer__body"
|
|
805
|
+
>
|
|
806
|
+
drawer-panel
|
|
807
|
+
</div>
|
|
808
|
+
</DrawerPanelBody>
|
|
809
|
+
</div>
|
|
810
|
+
</DrawerPanelContent>
|
|
116
811
|
</div>
|
|
117
|
-
</
|
|
118
|
-
</
|
|
812
|
+
</DrawerMain>
|
|
813
|
+
</DrawerContent>
|
|
119
814
|
</div>
|
|
120
815
|
</Drawer>
|
|
121
816
|
`;
|