@patternfly/patternfly 6.0.0-alpha.131 → 6.0.0-alpha.133
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/components/Breadcrumb/breadcrumb.css +10 -10
- package/components/Breadcrumb/breadcrumb.scss +10 -10
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -3
- package/components/Login/login.css +4 -2
- package/components/Login/login.scss +2 -1
- package/components/Menu/menu.css +4 -1
- package/components/Menu/menu.scss +5 -1
- package/components/_index.css +20 -15
- package/docs/components/ActionList/examples/ActionList.md +4 -4
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +2 -1
- package/docs/components/Card/examples/Card.md +80 -416
- package/docs/components/DataList/examples/DataList.md +170 -952
- package/docs/components/DualListSelector/examples/DualListSelector.md +160 -896
- package/docs/components/Hint/examples/Hint.md +30 -156
- package/docs/components/InlineEdit/examples/InlineEdit.md +2 -2
- package/docs/components/LogViewer/examples/LogViewer.css +9 -2
- package/docs/components/LogViewer/examples/LogViewer.md +315 -3313
- package/docs/components/Menu/examples/Menu.md +6 -76
- package/docs/components/MenuToggle/examples/MenuToggle.md +4 -0
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +370 -2064
- package/docs/components/OverflowMenu/examples/overflow-menu.css +3 -27
- package/docs/components/OverflowMenu/examples/overflow-menu.md +56 -143
- package/docs/components/Table/examples/Table.css +7 -0
- package/docs/components/Table/examples/Table.md +281 -405
- package/docs/components/Toolbar/examples/Toolbar.md +32 -239
- package/docs/demos/CardView/examples/CardView.md +110 -583
- package/docs/demos/Dashboard/examples/Dashboard.md +10 -56
- package/docs/demos/DataList/examples/DataList.md +44 -96
- package/docs/demos/DescriptionList/examples/DescriptionList.md +10 -56
- package/docs/demos/Drawer/examples/Drawer.md +10 -56
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +647 -3504
- package/docs/demos/Page/examples/Penta.md +5 -5
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +150 -675
- package/docs/demos/Table/examples/Table.md +142 -220
- package/docs/demos/Tabs/examples/Tabs.md +15 -28
- package/docs/demos/Toolbar/examples/Toolbar.css +0 -16
- package/docs/demos/Toolbar/examples/Toolbar.md +88 -609
- package/docs/utilities/Display/examples/Display.css +1 -8
- package/docs/utilities/Display/examples/Display.md +16 -7
- package/package.json +1 -1
- package/patternfly-addons.css +38 -0
- package/patternfly-charts.css +339 -8
- package/patternfly-charts.scss +21 -8
- package/patternfly-no-globals.css +20 -15
- package/patternfly.css +20 -15
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/utilities/Display/display.css +38 -0
- package/utilities/Display/display.scss +3 -1
- package/utilities/_index.css +38 -0
|
@@ -1,35 +1,11 @@
|
|
|
1
|
-
#ws-core-c-overflow-menu-simple-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
#ws-core-c-overflow-menu-additional-options-in-dropdown-hidden {
|
|
6
|
-
min-height: 24rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
#ws-core-c-overflow-menu-additional-options-in-dropdown-visible {
|
|
10
|
-
min-height: 7rem;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#ws-core-c-overflow-menu-persistent-additional-options-hidden {
|
|
14
|
-
min-height: 14rem;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
#ws-core-c-overflow-menu-persistent-additional-options-visible {
|
|
18
|
-
min-height: 8rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
#ws-core-c-overflow-menu-additional-options-in-dropdown-visible {
|
|
22
|
-
min-height: 8rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#ws-core-c-overflow-menu-simple-expanded .pf-v6-c-overflow-menu__item,
|
|
26
|
-
#ws-core-c-overflow-menu-simple-expanded .pf-v6-c-overflow-menu__group,
|
|
1
|
+
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__item,
|
|
2
|
+
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__group,
|
|
27
3
|
#ws-core-c-overflow-menu-group-types .pf-v6-c-overflow-menu__group:not([class*="pf-m-"]) {
|
|
28
4
|
padding: .5rem;
|
|
29
5
|
border: 2px dashed #393f44;
|
|
30
6
|
}
|
|
31
7
|
|
|
32
|
-
#ws-core-c-overflow-menu-simple
|
|
8
|
+
#ws-core-c-overflow-menu-simple .pf-v6-c-overflow-menu__group .pf-v6-c-overflow-menu__item {
|
|
33
9
|
padding: 0;
|
|
34
10
|
border: none;
|
|
35
11
|
}
|
|
@@ -6,53 +6,32 @@ cssPrefix: pf-v6-c-overflow-menu
|
|
|
6
6
|
|
|
7
7
|
## Introduction
|
|
8
8
|
|
|
9
|
-
The overflow menu component condenses actions inside `.pf-v6-c-overflow-menu__content` container into a single
|
|
9
|
+
The overflow menu component condenses actions inside `.pf-v6-c-overflow-menu__content` container into a single menu button wrapped in `.pf-v6-c-overflow-menu__control`.
|
|
10
10
|
|
|
11
11
|
The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (`.pf-v6-c-overflow-menu__item`), with default spacer values. Groups and items can be siblings and/or items can be nested within groups. Modifier selectors adjust spacing based on the type of group. Each modifier applies a unique CSS variable, therefore, the base spacer value for all elements can be customized and item/groups spacers can be themed individually. The default spacer value for items and groups is set to `--pf-v6-c-toolbar--spacer--base`, whose value is `--pf-v6-global--spacer--md` or 16px.
|
|
12
12
|
|
|
13
|
-
### Simple
|
|
13
|
+
### Simple condensed
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
16
|
<div class="pf-v6-c-overflow-menu" id="overflow-menu-simple">
|
|
17
17
|
<div class="pf-v6-c-overflow-menu__control">
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
>
|
|
18
|
+
<button
|
|
19
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
20
|
+
type="button"
|
|
21
|
+
aria-expanded="false"
|
|
22
|
+
aria-label="Menu toggle"
|
|
23
|
+
id="overflow-menu-simpletoggle"
|
|
24
|
+
>
|
|
25
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
26
26
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
27
|
-
</
|
|
28
|
-
|
|
29
|
-
class="pf-v6-c-dropdown__menu"
|
|
30
|
-
role="menu"
|
|
31
|
-
aria-labelledby="overflow-menu-simple-dropdown-toggle"
|
|
32
|
-
>
|
|
33
|
-
<li role="none">
|
|
34
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Item 1</button>
|
|
35
|
-
</li>
|
|
36
|
-
<li role="none">
|
|
37
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Item 2</button>
|
|
38
|
-
</li>
|
|
39
|
-
<li role="none">
|
|
40
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Item 3</button>
|
|
41
|
-
</li>
|
|
42
|
-
<li role="none">
|
|
43
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Item 4</button>
|
|
44
|
-
</li>
|
|
45
|
-
<li role="none">
|
|
46
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Item 5</button>
|
|
47
|
-
</li>
|
|
48
|
-
</ul>
|
|
49
|
-
</div>
|
|
27
|
+
</span>
|
|
28
|
+
</button>
|
|
50
29
|
</div>
|
|
51
30
|
</div>
|
|
52
31
|
|
|
53
32
|
```
|
|
54
33
|
|
|
55
|
-
### Simple
|
|
34
|
+
### Simple
|
|
56
35
|
|
|
57
36
|
```html
|
|
58
37
|
<div class="pf-v6-c-overflow-menu" id="overflow-menu-simple-expanded">
|
|
@@ -141,7 +120,7 @@ The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (
|
|
|
141
120
|
|
|
142
121
|
```
|
|
143
122
|
|
|
144
|
-
The action group consists of a primary and secondary action. Any additional actions are part of the overflow control
|
|
123
|
+
The action group consists of a primary and secondary action. Any additional actions are part of the overflow control menu.
|
|
145
124
|
|
|
146
125
|
### Overflow menu group types
|
|
147
126
|
|
|
@@ -151,7 +130,7 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
151
130
|
| `.pf-m-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--spacer)`. Child `.pf-v6-c-button` spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--space-items)`. |
|
|
152
131
|
| `.pf-m-icon-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--spacer)`. Child `.pf-v6-c-button.pf-m-button-plain` spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--space-items)`. |
|
|
153
132
|
|
|
154
|
-
### Additional options in
|
|
133
|
+
### Additional options in menu (hidden)
|
|
155
134
|
|
|
156
135
|
```html
|
|
157
136
|
<div
|
|
@@ -159,56 +138,23 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
159
138
|
id="overflow-menu-simple-additional-options-hidden"
|
|
160
139
|
>
|
|
161
140
|
<div class="pf-v6-c-overflow-menu__control">
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
>
|
|
141
|
+
<button
|
|
142
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
143
|
+
type="button"
|
|
144
|
+
aria-expanded="false"
|
|
145
|
+
aria-label="Menu toggle"
|
|
146
|
+
id="overflow-menu-simple-additional-options-hiddentoggle"
|
|
147
|
+
>
|
|
148
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
170
149
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
171
|
-
</
|
|
172
|
-
|
|
173
|
-
class="pf-v6-c-dropdown__menu"
|
|
174
|
-
role="menu"
|
|
175
|
-
aria-labelledby="overflow-menu-simple-additional-options-hidden-dropdown-toggle"
|
|
176
|
-
>
|
|
177
|
-
<li role="none">
|
|
178
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Primary</button>
|
|
179
|
-
</li>
|
|
180
|
-
<li role="none">
|
|
181
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Secondary</button>
|
|
182
|
-
</li>
|
|
183
|
-
<li role="none">
|
|
184
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Tertiary</button>
|
|
185
|
-
</li>
|
|
186
|
-
<li role="none">
|
|
187
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Align left</button>
|
|
188
|
-
</li>
|
|
189
|
-
<li role="none">
|
|
190
|
-
<button
|
|
191
|
-
role="menuitem"
|
|
192
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
193
|
-
>Align center</button>
|
|
194
|
-
</li>
|
|
195
|
-
<li role="none">
|
|
196
|
-
<button
|
|
197
|
-
role="menuitem"
|
|
198
|
-
class="pf-v6-c-dropdown__menu-item"
|
|
199
|
-
>Align right</button>
|
|
200
|
-
</li>
|
|
201
|
-
<li role="none">
|
|
202
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Action 7</button>
|
|
203
|
-
</li>
|
|
204
|
-
</ul>
|
|
205
|
-
</div>
|
|
150
|
+
</span>
|
|
151
|
+
</button>
|
|
206
152
|
</div>
|
|
207
153
|
</div>
|
|
208
154
|
|
|
209
155
|
```
|
|
210
156
|
|
|
211
|
-
### Additional options in
|
|
157
|
+
### Additional options in menu
|
|
212
158
|
|
|
213
159
|
```html
|
|
214
160
|
<div
|
|
@@ -258,26 +204,17 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
258
204
|
</div>
|
|
259
205
|
</div>
|
|
260
206
|
<div class="pf-v6-c-overflow-menu__control">
|
|
261
|
-
<
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
>
|
|
207
|
+
<button
|
|
208
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
209
|
+
type="button"
|
|
210
|
+
aria-expanded="false"
|
|
211
|
+
aria-label="Menu toggle"
|
|
212
|
+
id="overflow-menu-simple-additional-options-visibletoggle"
|
|
213
|
+
>
|
|
214
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
269
215
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
270
|
-
</
|
|
271
|
-
|
|
272
|
-
class="pf-v6-c-dropdown__menu"
|
|
273
|
-
role="menu"
|
|
274
|
-
aria-labelledby="overflow-menu-simple-additional-options-visible-dropdown-toggle"
|
|
275
|
-
>
|
|
276
|
-
<li role="none">
|
|
277
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Action 7</button>
|
|
278
|
-
</li>
|
|
279
|
-
</ul>
|
|
280
|
-
</div>
|
|
216
|
+
</span>
|
|
217
|
+
</button>
|
|
281
218
|
</div>
|
|
282
219
|
</div>
|
|
283
220
|
|
|
@@ -297,32 +234,17 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
297
234
|
</div>
|
|
298
235
|
</div>
|
|
299
236
|
<div class="pf-v6-c-overflow-menu__control">
|
|
300
|
-
<
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
>
|
|
237
|
+
<button
|
|
238
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
239
|
+
type="button"
|
|
240
|
+
aria-expanded="false"
|
|
241
|
+
aria-label="Menu toggle"
|
|
242
|
+
id="overflow-menu-persistent-hiddentoggle"
|
|
243
|
+
>
|
|
244
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
308
245
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
309
|
-
</
|
|
310
|
-
|
|
311
|
-
class="pf-v6-c-dropdown__menu"
|
|
312
|
-
role="menu"
|
|
313
|
-
aria-labelledby="overflow-menu-persistent-hidden-dropdown-toggle"
|
|
314
|
-
>
|
|
315
|
-
<li role="none">
|
|
316
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Secondary</button>
|
|
317
|
-
</li>
|
|
318
|
-
<li role="none">
|
|
319
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Tertiary</button>
|
|
320
|
-
</li>
|
|
321
|
-
<li role="none">
|
|
322
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Action 4</button>
|
|
323
|
-
</li>
|
|
324
|
-
</ul>
|
|
325
|
-
</div>
|
|
246
|
+
</span>
|
|
247
|
+
</button>
|
|
326
248
|
</div>
|
|
327
249
|
</div>
|
|
328
250
|
|
|
@@ -349,26 +271,17 @@ The action group consists of a primary and secondary action. Any additional acti
|
|
|
349
271
|
</div>
|
|
350
272
|
</div>
|
|
351
273
|
<div class="pf-v6-c-overflow-menu__control">
|
|
352
|
-
<
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
>
|
|
274
|
+
<button
|
|
275
|
+
class="pf-v6-c-menu-toggle pf-m-plain"
|
|
276
|
+
type="button"
|
|
277
|
+
aria-expanded="false"
|
|
278
|
+
aria-label="Menu toggle"
|
|
279
|
+
id="overflow-menu-persistent-visible-exampletoggle"
|
|
280
|
+
>
|
|
281
|
+
<span class="pf-v6-c-menu-toggle__icon">
|
|
360
282
|
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
361
|
-
</
|
|
362
|
-
|
|
363
|
-
class="pf-v6-c-dropdown__menu"
|
|
364
|
-
role="menu"
|
|
365
|
-
aria-labelledby="overflow-menu-persistent-visible-example-dropdown-toggle"
|
|
366
|
-
>
|
|
367
|
-
<li role="none">
|
|
368
|
-
<button role="menuitem" class="pf-v6-c-dropdown__menu-item">Action 4</button>
|
|
369
|
-
</li>
|
|
370
|
-
</ul>
|
|
371
|
-
</div>
|
|
283
|
+
</span>
|
|
284
|
+
</button>
|
|
372
285
|
</div>
|
|
373
286
|
</div>
|
|
374
287
|
|