@patternfly/patternfly 5.1.0-prerelease.9 → 5.2.0-prerelease.1
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/README.md +6 -6
- package/base/_common.scss +9 -8
- package/base/_variables.scss +5 -1
- package/base/patternfly-common.css +4 -11
- package/base/patternfly-variables.css +5 -1
- package/components/AboutModalBox/about-modal-box.css +5 -0
- package/components/AboutModalBox/about-modal-box.scss +7 -0
- package/components/Accordion/accordion.css +3 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/Alert/alert.css +3 -0
- package/components/Alert/alert.scss +2 -0
- package/components/BackgroundImage/background-image.css +4 -1
- package/components/BackgroundImage/background-image.scss +6 -1
- package/components/Banner/banner.css +0 -3
- package/components/Breadcrumb/breadcrumb.css +3 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/Button/button.css +3 -0
- package/components/Button/button.scss +4 -0
- package/components/CalendarMonth/calendar-month.css +4 -0
- package/components/CalendarMonth/calendar-month.scss +2 -0
- package/components/Card/card.css +4 -1
- package/components/Card/card.scss +3 -1
- package/components/ClipboardCopy/clipboard-copy.css +3 -0
- package/components/ClipboardCopy/clipboard-copy.scss +2 -0
- package/components/DataList/data-list.css +3 -0
- package/components/DataList/data-list.scss +2 -0
- package/components/Drawer/drawer.css +45 -1
- package/components/Drawer/drawer.scss +43 -9
- package/components/DualListSelector/dual-list-selector.css +6 -2
- package/components/DualListSelector/dual-list-selector.scss +7 -2
- package/components/ExpandableSection/expandable-section.css +4 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Form/form.css +3 -0
- package/components/Form/form.scss +2 -0
- package/components/Icon/icon.scss +1 -1
- package/components/JumpLinks/jump-links.css +3 -0
- package/components/JumpLinks/jump-links.scss +2 -0
- package/components/Menu/menu.css +11 -0
- package/components/Menu/menu.scss +12 -2
- package/components/Nav/nav.css +20 -0
- package/components/Nav/nav.scss +22 -2
- package/components/NotificationDrawer/notification-drawer.css +4 -0
- package/components/NotificationDrawer/notification-drawer.scss +2 -0
- package/components/Page/page.css +4 -0
- package/components/Page/page.scss +6 -1
- package/components/Pagination/pagination.css +1 -1
- package/components/Pagination/pagination.scss +1 -1
- package/components/Popover/popover.css +62 -33
- package/components/Popover/popover.scss +88 -71
- package/components/Progress/progress.css +6 -4
- package/components/Progress/progress.scss +9 -4
- package/components/Skeleton/skeleton.css +4 -0
- package/components/Skeleton/skeleton.scss +2 -0
- package/components/Slider/slider.css +30 -6
- package/components/Slider/slider.scss +50 -19
- package/components/Switch/switch.css +5 -1
- package/components/Switch/switch.scss +5 -1
- package/components/Table/table-scrollable.css +2 -2
- package/components/Table/table-scrollable.scss +4 -2
- package/components/Table/table-tree-view.css +5 -1
- package/components/Table/table-tree-view.scss +7 -2
- package/components/Table/table.css +4 -0
- package/components/Table/table.scss +2 -0
- package/components/Tabs/tabs.css +10 -0
- package/components/Tabs/tabs.scss +8 -0
- package/components/Toolbar/toolbar.scss +2 -0
- package/components/Tooltip/tooltip.css +55 -26
- package/components/Tooltip/tooltip.scss +71 -54
- package/components/TreeView/tree-view.css +6 -0
- package/components/TreeView/tree-view.scss +10 -3
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +6 -3
- package/components/Wizard/wizard.scss +8 -3
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -26
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.md +23 -7
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- package/package.json +6 -5
- package/patternfly-base-no-globals-theme-dark-unversioned.css +9 -12
- package/patternfly-base-no-globals.css +9 -12
- package/patternfly-base-theme-dark-unversioned.css +9 -12
- package/patternfly-base.css +9 -12
- package/patternfly-no-globals.css +356 -104
- package/patternfly-theme-dark-unversioned.css +356 -104
- package/patternfly.css +356 -104
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +55 -20
- package/sass-utilities/themes/dark/mixins.scss +3 -1
|
@@ -4778,37 +4778,41 @@ cssPrefix: pf-v5-c-menu
|
|
|
4778
4778
|
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
4779
4779
|
</span>
|
|
4780
4780
|
<span class="pf-v5-c-breadcrumb__dropdown">
|
|
4781
|
-
<
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
<
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4781
|
+
<button
|
|
4782
|
+
class="pf-v5-c-menu-toggle pf-m-plain pf-m-expanded"
|
|
4783
|
+
type="button"
|
|
4784
|
+
aria-expanded="true"
|
|
4785
|
+
>
|
|
4786
|
+
<span class="pf-v5-c-badge pf-m-read">
|
|
4787
|
+
1
|
|
4788
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
4789
|
+
</span>
|
|
4790
|
+
</button>
|
|
4791
|
+
<div class="pf-v5-c-menu">
|
|
4792
|
+
<div class="pf-v5-c-menu__content">
|
|
4793
|
+
<ul class="pf-v5-c-menu__list" role="menu">
|
|
4794
|
+
<li class="pf-v5-c-menu__list-item" role="none">
|
|
4795
|
+
<button
|
|
4796
|
+
class="pf-v5-c-menu__item"
|
|
4797
|
+
type="button"
|
|
4798
|
+
role="menuitem"
|
|
4799
|
+
>
|
|
4800
|
+
<span class="pf-v5-c-menu__item-main">
|
|
4801
|
+
<span class="pf-v5-c-menu__item-icon">
|
|
4802
|
+
<span class="pf-v5-c-icon">
|
|
4803
|
+
<span
|
|
4804
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
4805
|
+
>
|
|
4806
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
4807
|
+
</span>
|
|
4808
|
+
</span>
|
|
4809
|
+
</span>
|
|
4810
|
+
<span class="pf-v5-c-menu__item-text">Edit</span>
|
|
4811
|
+
</span>
|
|
4812
|
+
</button>
|
|
4813
|
+
</li>
|
|
4814
|
+
</ul>
|
|
4815
|
+
</div>
|
|
4812
4816
|
</div>
|
|
4813
4817
|
</span>
|
|
4814
4818
|
</li>
|
|
@@ -5027,48 +5031,61 @@ cssPrefix: pf-v5-c-menu
|
|
|
5027
5031
|
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
5028
5032
|
</span>
|
|
5029
5033
|
<span class="pf-v5-c-breadcrumb__dropdown">
|
|
5030
|
-
<
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
<
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5034
|
+
<button
|
|
5035
|
+
class="pf-v5-c-menu-toggle pf-m-plain pf-m-expanded"
|
|
5036
|
+
type="button"
|
|
5037
|
+
aria-expanded="true"
|
|
5038
|
+
>
|
|
5039
|
+
<span class="pf-v5-c-badge pf-m-read">
|
|
5040
|
+
2
|
|
5041
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
5042
|
+
</span>
|
|
5043
|
+
</button>
|
|
5044
|
+
<div class="pf-v5-c-menu">
|
|
5045
|
+
<div class="pf-v5-c-menu__content">
|
|
5046
|
+
<ul class="pf-v5-c-menu__list" role="menu">
|
|
5047
|
+
<li class="pf-v5-c-menu__list-item" role="none">
|
|
5048
|
+
<button
|
|
5049
|
+
class="pf-v5-c-menu__item"
|
|
5050
|
+
type="button"
|
|
5051
|
+
role="menuitem"
|
|
5052
|
+
>
|
|
5053
|
+
<span class="pf-v5-c-menu__item-main">
|
|
5054
|
+
<span class="pf-v5-c-menu__item-icon">
|
|
5055
|
+
<span class="pf-v5-c-icon">
|
|
5056
|
+
<span
|
|
5057
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
5058
|
+
>
|
|
5059
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
5060
|
+
</span>
|
|
5061
|
+
</span>
|
|
5062
|
+
</span>
|
|
5063
|
+
<span class="pf-v5-c-menu__item-text">Edit</span>
|
|
5064
|
+
</span>
|
|
5065
|
+
</button>
|
|
5066
|
+
</li>
|
|
5067
|
+
<li class="pf-v5-c-menu__list-item" role="none">
|
|
5068
|
+
<button
|
|
5069
|
+
class="pf-v5-c-menu__item"
|
|
5070
|
+
type="button"
|
|
5071
|
+
role="menuitem"
|
|
5072
|
+
>
|
|
5073
|
+
<span class="pf-v5-c-menu__item-main">
|
|
5074
|
+
<span class="pf-v5-c-menu__item-icon">
|
|
5075
|
+
<span class="pf-v5-c-icon">
|
|
5076
|
+
<span
|
|
5077
|
+
class="pf-v5-c-icon__content pf-v5-m-mirror-inline-rtl"
|
|
5078
|
+
>
|
|
5079
|
+
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
5080
|
+
</span>
|
|
5081
|
+
</span>
|
|
5082
|
+
</span>
|
|
5083
|
+
<span class="pf-v5-c-menu__item-text">Deployment</span>
|
|
5084
|
+
</span>
|
|
5085
|
+
</button>
|
|
5086
|
+
</li>
|
|
5087
|
+
</ul>
|
|
5088
|
+
</div>
|
|
5072
5089
|
</div>
|
|
5073
5090
|
</span>
|
|
5074
5091
|
</li>
|
|
@@ -275,14 +275,18 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
275
275
|
|
|
276
276
|
```html
|
|
277
277
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled">
|
|
278
|
-
<label
|
|
278
|
+
<label
|
|
279
|
+
class="pf-v5-c-check pf-m-standalone"
|
|
280
|
+
id="split-button-checkbox-disabled-example-check"
|
|
281
|
+
for="split-button-checkbox-disabled-example-check-input"
|
|
282
|
+
>
|
|
279
283
|
<input
|
|
280
284
|
class="pf-v5-c-check__input"
|
|
281
285
|
type="checkbox"
|
|
286
|
+
id="split-button-checkbox-disabled-example-check-input"
|
|
287
|
+
name="split-button-checkbox-disabled-example-check-input"
|
|
288
|
+
aria-label="Standalone check"
|
|
282
289
|
disabled
|
|
283
|
-
id="split-button-checkbox-disabled-example-input"
|
|
284
|
-
name="split-button-checkbox-disabled-example-input"
|
|
285
|
-
aria-label="Standalone input"
|
|
286
290
|
/>
|
|
287
291
|
</label>
|
|
288
292
|
<button
|
|
@@ -302,13 +306,17 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
302
306
|
</div>
|
|
303
307
|
|
|
304
308
|
<div class="pf-v5-c-menu-toggle pf-m-split-button">
|
|
305
|
-
<label
|
|
309
|
+
<label
|
|
310
|
+
class="pf-v5-c-check pf-m-standalone"
|
|
311
|
+
id="split-button-checkbox-example-check"
|
|
312
|
+
for="split-button-checkbox-example-check-input"
|
|
313
|
+
>
|
|
306
314
|
<input
|
|
307
315
|
class="pf-v5-c-check__input"
|
|
308
316
|
type="checkbox"
|
|
309
|
-
id="split-button-checkbox-example-input"
|
|
310
|
-
name="split-button-checkbox-example-input"
|
|
311
|
-
aria-label="Standalone
|
|
317
|
+
id="split-button-checkbox-example-check-input"
|
|
318
|
+
name="split-button-checkbox-example-check-input"
|
|
319
|
+
aria-label="Standalone check"
|
|
312
320
|
/>
|
|
313
321
|
</label>
|
|
314
322
|
<button
|
|
@@ -327,13 +335,17 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
327
335
|
</div>
|
|
328
336
|
|
|
329
337
|
<div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button">
|
|
330
|
-
<label
|
|
338
|
+
<label
|
|
339
|
+
class="pf-v5-c-check pf-m-standalone"
|
|
340
|
+
id="split-button-checkbox-expanded-example-check"
|
|
341
|
+
for="split-button-checkbox-expanded-example-check-input"
|
|
342
|
+
>
|
|
331
343
|
<input
|
|
332
344
|
class="pf-v5-c-check__input"
|
|
333
345
|
type="checkbox"
|
|
334
|
-
id="split-button-checkbox-expanded-example-input"
|
|
335
|
-
name="split-button-checkbox-expanded-example-input"
|
|
336
|
-
aria-label="Standalone
|
|
346
|
+
id="split-button-checkbox-expanded-example-check-input"
|
|
347
|
+
name="split-button-checkbox-expanded-example-check-input"
|
|
348
|
+
aria-label="Standalone check"
|
|
337
349
|
/>
|
|
338
350
|
</label>
|
|
339
351
|
<button
|
|
@@ -359,14 +371,15 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
359
371
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled">
|
|
360
372
|
<label
|
|
361
373
|
class="pf-v5-c-check"
|
|
362
|
-
|
|
374
|
+
id="split-button-checkbox-with-toggle-text-disabled-example-check"
|
|
375
|
+
for="split-button-checkbox-with-toggle-text-disabled-example-check-input"
|
|
363
376
|
>
|
|
364
377
|
<input
|
|
365
378
|
class="pf-v5-c-check__input"
|
|
366
379
|
type="checkbox"
|
|
380
|
+
id="split-button-checkbox-with-toggle-text-disabled-example-check-input"
|
|
381
|
+
name="split-button-checkbox-with-toggle-text-disabled-example-check-input"
|
|
367
382
|
disabled
|
|
368
|
-
id="split-button-checkbox-with-toggle-text-disabled-example-input"
|
|
369
|
-
name="split-button-checkbox-with-toggle-text-disabled-example-input"
|
|
370
383
|
/>
|
|
371
384
|
<span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
|
|
372
385
|
</label>
|
|
@@ -389,13 +402,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
389
402
|
<div class="pf-v5-c-menu-toggle pf-m-split-button">
|
|
390
403
|
<label
|
|
391
404
|
class="pf-v5-c-check"
|
|
392
|
-
|
|
405
|
+
id="split-button-checkbox-with-toggle-text-example-check"
|
|
406
|
+
for="split-button-checkbox-with-toggle-text-example-check-input"
|
|
393
407
|
>
|
|
394
408
|
<input
|
|
395
409
|
class="pf-v5-c-check__input"
|
|
396
410
|
type="checkbox"
|
|
397
|
-
id="split-button-checkbox-with-toggle-text-example-input"
|
|
398
|
-
name="split-button-checkbox-with-toggle-text-example-input"
|
|
411
|
+
id="split-button-checkbox-with-toggle-text-example-check-input"
|
|
412
|
+
name="split-button-checkbox-with-toggle-text-example-check-input"
|
|
399
413
|
/>
|
|
400
414
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
401
415
|
</label>
|
|
@@ -417,13 +431,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
417
431
|
<div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button">
|
|
418
432
|
<label
|
|
419
433
|
class="pf-v5-c-check"
|
|
420
|
-
|
|
434
|
+
id="split-button-checkbox-with-toggle-text-expanded-example-check"
|
|
435
|
+
for="split-button-checkbox-with-toggle-text-expanded-example-check-input"
|
|
421
436
|
>
|
|
422
437
|
<input
|
|
423
438
|
class="pf-v5-c-check__input"
|
|
424
439
|
type="checkbox"
|
|
425
|
-
id="split-button-checkbox-with-toggle-text-expanded-example-input"
|
|
426
|
-
name="split-button-checkbox-with-toggle-text-expanded-example-input"
|
|
440
|
+
id="split-button-checkbox-with-toggle-text-expanded-example-check-input"
|
|
441
|
+
name="split-button-checkbox-with-toggle-text-expanded-example-check-input"
|
|
427
442
|
/>
|
|
428
443
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
429
444
|
</label>
|
|
@@ -450,14 +465,15 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
450
465
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled pf-m-primary">
|
|
451
466
|
<label
|
|
452
467
|
class="pf-v5-c-check"
|
|
453
|
-
|
|
468
|
+
id="split-button-checkbox-primary-disabled-example-check"
|
|
469
|
+
for="split-button-checkbox-primary-disabled-example-check-input"
|
|
454
470
|
>
|
|
455
471
|
<input
|
|
456
472
|
class="pf-v5-c-check__input"
|
|
457
473
|
type="checkbox"
|
|
474
|
+
id="split-button-checkbox-primary-disabled-example-check-input"
|
|
475
|
+
name="split-button-checkbox-primary-disabled-example-check-input"
|
|
458
476
|
disabled
|
|
459
|
-
id="split-button-checkbox-primary-disabled-example-input"
|
|
460
|
-
name="split-button-checkbox-primary-disabled-example-input"
|
|
461
477
|
/>
|
|
462
478
|
<span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
|
|
463
479
|
</label>
|
|
@@ -480,13 +496,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
480
496
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-primary">
|
|
481
497
|
<label
|
|
482
498
|
class="pf-v5-c-check"
|
|
483
|
-
|
|
499
|
+
id="split-button-checkbox-primary-example-check"
|
|
500
|
+
for="split-button-checkbox-primary-example-check-input"
|
|
484
501
|
>
|
|
485
502
|
<input
|
|
486
503
|
class="pf-v5-c-check__input"
|
|
487
504
|
type="checkbox"
|
|
488
|
-
id="split-button-checkbox-primary-example-input"
|
|
489
|
-
name="split-button-checkbox-primary-example-input"
|
|
505
|
+
id="split-button-checkbox-primary-example-check-input"
|
|
506
|
+
name="split-button-checkbox-primary-example-check-input"
|
|
490
507
|
/>
|
|
491
508
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
492
509
|
</label>
|
|
@@ -508,13 +525,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
508
525
|
<div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button pf-m-primary">
|
|
509
526
|
<label
|
|
510
527
|
class="pf-v5-c-check"
|
|
511
|
-
|
|
528
|
+
id="split-button-checkbox-primary-expanded-example-check"
|
|
529
|
+
for="split-button-checkbox-primary-expanded-example-check-input"
|
|
512
530
|
>
|
|
513
531
|
<input
|
|
514
532
|
class="pf-v5-c-check__input"
|
|
515
533
|
type="checkbox"
|
|
516
|
-
id="split-button-checkbox-primary-expanded-example-input"
|
|
517
|
-
name="split-button-checkbox-primary-expanded-example-input"
|
|
534
|
+
id="split-button-checkbox-primary-expanded-example-check-input"
|
|
535
|
+
name="split-button-checkbox-primary-expanded-example-check-input"
|
|
518
536
|
/>
|
|
519
537
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
520
538
|
</label>
|
|
@@ -541,14 +559,15 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
541
559
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-disabled pf-m-secondary">
|
|
542
560
|
<label
|
|
543
561
|
class="pf-v5-c-check"
|
|
544
|
-
|
|
562
|
+
id="split-button-checkbox-secondary-disabled-example-check"
|
|
563
|
+
for="split-button-checkbox-secondary-disabled-example-check-input"
|
|
545
564
|
>
|
|
546
565
|
<input
|
|
547
566
|
class="pf-v5-c-check__input"
|
|
548
567
|
type="checkbox"
|
|
568
|
+
id="split-button-checkbox-secondary-disabled-example-check-input"
|
|
569
|
+
name="split-button-checkbox-secondary-disabled-example-check-input"
|
|
549
570
|
disabled
|
|
550
|
-
id="split-button-checkbox-secondary-disabled-example-input"
|
|
551
|
-
name="split-button-checkbox-secondary-disabled-example-input"
|
|
552
571
|
/>
|
|
553
572
|
<span class="pf-v5-c-check__label pf-m-disabled">10 selected</span>
|
|
554
573
|
</label>
|
|
@@ -571,13 +590,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
571
590
|
<div class="pf-v5-c-menu-toggle pf-m-split-button pf-m-secondary">
|
|
572
591
|
<label
|
|
573
592
|
class="pf-v5-c-check"
|
|
574
|
-
|
|
593
|
+
id="split-button-checkbox-secondary-example-check"
|
|
594
|
+
for="split-button-checkbox-secondary-example-check-input"
|
|
575
595
|
>
|
|
576
596
|
<input
|
|
577
597
|
class="pf-v5-c-check__input"
|
|
578
598
|
type="checkbox"
|
|
579
|
-
id="split-button-checkbox-secondary-example-input"
|
|
580
|
-
name="split-button-checkbox-secondary-example-input"
|
|
599
|
+
id="split-button-checkbox-secondary-example-check-input"
|
|
600
|
+
name="split-button-checkbox-secondary-example-check-input"
|
|
581
601
|
/>
|
|
582
602
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
583
603
|
</label>
|
|
@@ -599,13 +619,14 @@ cssPrefix: pf-v5-c-menu-toggle
|
|
|
599
619
|
<div class="pf-v5-c-menu-toggle pf-m-expanded pf-m-split-button pf-m-secondary">
|
|
600
620
|
<label
|
|
601
621
|
class="pf-v5-c-check"
|
|
602
|
-
|
|
622
|
+
id="split-button-checkbox-secondary-expanded-example-check"
|
|
623
|
+
for="split-button-checkbox-secondary-expanded-example-check-input"
|
|
603
624
|
>
|
|
604
625
|
<input
|
|
605
626
|
class="pf-v5-c-check__input"
|
|
606
627
|
type="checkbox"
|
|
607
|
-
id="split-button-checkbox-secondary-expanded-example-input"
|
|
608
|
-
name="split-button-checkbox-secondary-expanded-example-input"
|
|
628
|
+
id="split-button-checkbox-secondary-expanded-example-check-input"
|
|
629
|
+
name="split-button-checkbox-secondary-expanded-example-check-input"
|
|
609
630
|
/>
|
|
610
631
|
<span class="pf-v5-c-check__label">10 selected</span>
|
|
611
632
|
</label>
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
.ws-core-c-modal .ws-preview-html {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.ws-core-c-modal .pf-v5-c-modal-box {
|
|
6
|
-
position: absolute;
|
|
7
|
-
inset-block-start: 50%;
|
|
8
|
-
inset-inline-start: 50%;
|
|
9
|
-
transform: translate(-50%, -50%);
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
align-items: center;
|
|
10
5
|
}
|
|
@@ -1,32 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
#ws-core-c-navigation-basic,
|
|
3
|
-
#ws-core-c-navigation-grouped,
|
|
4
|
-
#ws-core-c-navigation-grouped-nav,
|
|
5
|
-
#ws-core-c-navigation-grouped-nav-no-titles,
|
|
6
|
-
#ws-core-c-navigation-expanded,
|
|
7
|
-
#ws-core-c-navigation-expanded-with-subnav-titles,
|
|
8
|
-
#ws-core-c-navigation-mixed,
|
|
9
|
-
#ws-core-c-navigation-horizontal,
|
|
10
|
-
#ws-core-c-navigation-horizontal-overflow,
|
|
11
|
-
#ws-core-c-navigation-horizontal-subnav,
|
|
12
|
-
#ws-core-c-navigation-horizontal-subnav-overflow,
|
|
13
|
-
#ws-core-c-navigation-drilldown,
|
|
14
|
-
#ws-core-c-navigation-nav-with-drilldown-menu .pf-v5-c-nav,
|
|
15
|
-
#ws-core-c-navigation-level-2-drilldown,
|
|
16
|
-
#ws-core-c-navigation-level-3-drilldown,
|
|
17
|
-
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-nav,
|
|
18
|
-
#ws-core-c-navigation-grouped-nav-no-titles-no-margin-top {
|
|
19
|
-
padding: 0;
|
|
20
|
-
background-color: var(--pf-v5-global--BackgroundColor--dark-300);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
#ws-core-c-navigation-expandable-third-level .pf-v5-c-nav {
|
|
1
|
+
.ws-core-c-navigation:not([id*="tertiary"]):not([id*="light-mode"]) .pf-v5-c-nav{
|
|
24
2
|
background-color: var(--pf-v5-global--BackgroundColor--dark-300);
|
|
25
3
|
}
|
|
26
4
|
|
|
27
5
|
#ws-core-c-navigation-horizontal-in-masthead,
|
|
28
6
|
#ws-core-c-navigation-horizontal-in-masthead-overflow {
|
|
29
|
-
padding: 0;
|
|
30
7
|
grid-template-rows: auto;
|
|
31
8
|
}
|
|
32
9
|
|
|
@@ -58,6 +35,6 @@
|
|
|
58
35
|
|
|
59
36
|
#ws-core-c-navigation-nav-with-flyout .pf-v5-c-menu.pf-m-flyout.pf-m-nav {
|
|
60
37
|
position: absolute;
|
|
61
|
-
|
|
62
|
-
|
|
38
|
+
inset-block-start: 168px;
|
|
39
|
+
inset-inline-start: 256px;
|
|
63
40
|
}
|
|
@@ -2483,6 +2483,104 @@ cssPrefix: pf-v5-c-nav
|
|
|
2483
2483
|
|
|
2484
2484
|
```
|
|
2485
2485
|
|
|
2486
|
+
### Nav link text
|
|
2487
|
+
|
|
2488
|
+
When using anything other than a text node for the link text, wrap the link text in an element with `.pf-v5-c-nav__link-text`.
|
|
2489
|
+
|
|
2490
|
+
```html isBeta
|
|
2491
|
+
<nav class="pf-v5-c-nav" aria-label="Global">
|
|
2492
|
+
<ul class="pf-v5-c-nav__list" role="list">
|
|
2493
|
+
<li class="pf-v5-c-nav__item">
|
|
2494
|
+
<a href="#" class="pf-v5-c-nav__link">
|
|
2495
|
+
<span class="pf-v5-c-nav__link-text">
|
|
2496
|
+
Link 1
|
|
2497
|
+
<i class="fas fa-arrow-right" aria-hidden="true"></i>
|
|
2498
|
+
</span>
|
|
2499
|
+
</a>
|
|
2500
|
+
</li>
|
|
2501
|
+
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-expanded">
|
|
2502
|
+
<button
|
|
2503
|
+
class="pf-v5-c-nav__link"
|
|
2504
|
+
id="nav-link-text-link2"
|
|
2505
|
+
aria-expanded="true"
|
|
2506
|
+
>
|
|
2507
|
+
<span class="pf-v5-c-nav__link-text">
|
|
2508
|
+
Link 2
|
|
2509
|
+
<small>(small text)</small>
|
|
2510
|
+
</span>
|
|
2511
|
+
<span class="pf-v5-c-nav__toggle">
|
|
2512
|
+
<span class="pf-v5-c-nav__toggle-icon">
|
|
2513
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
2514
|
+
</span>
|
|
2515
|
+
</span>
|
|
2516
|
+
</button>
|
|
2517
|
+
<section
|
|
2518
|
+
class="pf-v5-c-nav__subnav"
|
|
2519
|
+
aria-labelledby="nav-link-text-link2"
|
|
2520
|
+
>
|
|
2521
|
+
<ul class="pf-v5-c-nav__list" role="list">
|
|
2522
|
+
<li class="pf-v5-c-nav__item">
|
|
2523
|
+
<a href="#" class="pf-v5-c-nav__link">
|
|
2524
|
+
<span class="pf-v5-c-nav__link-text">
|
|
2525
|
+
<i class="fas fa-user" aria-hidden="true"></i>
|
|
2526
|
+
Subnav link 1
|
|
2527
|
+
</span>
|
|
2528
|
+
</a>
|
|
2529
|
+
</li>
|
|
2530
|
+
<li class="pf-v5-c-nav__item">
|
|
2531
|
+
<a href="#" class="pf-v5-c-nav__link">
|
|
2532
|
+
<span class="pf-v5-c-nav__link-text">
|
|
2533
|
+
<i class="fas fa-user" aria-hidden="true"></i>
|
|
2534
|
+
Subnav link 2
|
|
2535
|
+
</span>
|
|
2536
|
+
</a>
|
|
2537
|
+
</li>
|
|
2538
|
+
</ul>
|
|
2539
|
+
</section>
|
|
2540
|
+
</li>
|
|
2541
|
+
<li class="pf-v5-c-nav__item pf-m-expandable pf-m-current">
|
|
2542
|
+
<button
|
|
2543
|
+
class="pf-v5-c-nav__link"
|
|
2544
|
+
id="nav-link-text-link4"
|
|
2545
|
+
aria-expanded="false"
|
|
2546
|
+
>
|
|
2547
|
+
<span class="pf-v5-c-nav__link-text">
|
|
2548
|
+
Link 3
|
|
2549
|
+
<strong>(strong text)</strong>
|
|
2550
|
+
</span>
|
|
2551
|
+
<span class="pf-v5-c-nav__toggle">
|
|
2552
|
+
<span class="pf-v5-c-nav__toggle-icon">
|
|
2553
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
2554
|
+
</span>
|
|
2555
|
+
</span>
|
|
2556
|
+
</button>
|
|
2557
|
+
<section
|
|
2558
|
+
class="pf-v5-c-nav__subnav"
|
|
2559
|
+
aria-labelledby="nav-link-text-link4"
|
|
2560
|
+
hidden
|
|
2561
|
+
>
|
|
2562
|
+
<ul class="pf-v5-c-nav__list" role="list">
|
|
2563
|
+
<li class="pf-v5-c-nav__item">
|
|
2564
|
+
<a href="#" class="pf-v5-c-nav__link">Subnav link 1</a>
|
|
2565
|
+
</li>
|
|
2566
|
+
<li class="pf-v5-c-nav__item">
|
|
2567
|
+
<a
|
|
2568
|
+
href="#"
|
|
2569
|
+
class="pf-v5-c-nav__link pf-m-current"
|
|
2570
|
+
aria-current="page"
|
|
2571
|
+
>Subnav link 2</a>
|
|
2572
|
+
</li>
|
|
2573
|
+
<li class="pf-v5-c-nav__item">
|
|
2574
|
+
<a href="#" class="pf-v5-c-nav__link">Subnav link 3</a>
|
|
2575
|
+
</li>
|
|
2576
|
+
</ul>
|
|
2577
|
+
</section>
|
|
2578
|
+
</li>
|
|
2579
|
+
</ul>
|
|
2580
|
+
</nav>
|
|
2581
|
+
|
|
2582
|
+
```
|
|
2583
|
+
|
|
2486
2584
|
## Documentation
|
|
2487
2585
|
|
|
2488
2586
|
### Overview
|
|
@@ -2514,6 +2612,7 @@ The navigation system relies on several different sub-components:
|
|
|
2514
2612
|
| `.pf-v5-c-nav__list` | `<ul>` | Initiates nav list. |
|
|
2515
2613
|
| `.pf-v5-c-nav__item` | `<li>` | Initiates nav list item. |
|
|
2516
2614
|
| `.pf-v5-c-nav__link` | `<a>` | Initiates nav list link. |
|
|
2615
|
+
| `.pf-v5-c-nav__link-text` | `<span>` | Initiates nav list link text. |
|
|
2517
2616
|
| `.pf-v5-c-nav__section` | `<section>` | Initiates a nav section element. |
|
|
2518
2617
|
| `.pf-v5-c-nav__section-title` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>` | Initiates a nav section title. |
|
|
2519
2618
|
| `.pf-v5-c-nav__toggle` | `<span>` | Initiates the nav toggle wrapper. |
|
|
@@ -314,7 +314,10 @@ deprecated: true
|
|
|
314
314
|
disabled
|
|
315
315
|
aria-label="Sort by"
|
|
316
316
|
>
|
|
317
|
-
<i
|
|
317
|
+
<i
|
|
318
|
+
class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
|
|
319
|
+
aria-hidden="true"
|
|
320
|
+
></i>
|
|
318
321
|
</button>
|
|
319
322
|
<ul
|
|
320
323
|
class="pf-v5-c-options-menu__menu"
|
|
@@ -360,7 +363,10 @@ deprecated: true
|
|
|
360
363
|
aria-expanded="false"
|
|
361
364
|
aria-label="Sort by"
|
|
362
365
|
>
|
|
363
|
-
<i
|
|
366
|
+
<i
|
|
367
|
+
class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
|
|
368
|
+
aria-hidden="true"
|
|
369
|
+
></i>
|
|
364
370
|
</button>
|
|
365
371
|
<ul
|
|
366
372
|
class="pf-v5-c-options-menu__menu"
|
|
@@ -406,7 +412,10 @@ deprecated: true
|
|
|
406
412
|
aria-expanded="true"
|
|
407
413
|
aria-label="Sort by"
|
|
408
414
|
>
|
|
409
|
-
<i
|
|
415
|
+
<i
|
|
416
|
+
class="fas fa-sort-amount-down pf-v5-m-mirror-inline-rtl"
|
|
417
|
+
aria-hidden="true"
|
|
418
|
+
></i>
|
|
410
419
|
</button>
|
|
411
420
|
<ul
|
|
412
421
|
class="pf-v5-c-options-menu__menu"
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
.ws-core-c-popover .ws-preview-html {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
position: absolute;
|
|
7
|
-
inset-block-start: 50%;
|
|
8
|
-
inset-inline-start: 50%;
|
|
9
|
-
transform: translate(-50%, -50%);
|
|
10
|
-
}
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
}
|