@patternfly/patternfly 6.2.0-prerelease.9 → 6.2.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.
Files changed (99) hide show
  1. package/README.md +1 -1
  2. package/base/patternfly-variables.css +1 -1
  3. package/base/patternfly-variables.scss +1 -1
  4. package/components/Accordion/accordion.css +3 -1
  5. package/components/Accordion/accordion.scss +4 -2
  6. package/components/Alert/alert-group.css +52 -9
  7. package/components/Alert/alert-group.scss +116 -29
  8. package/components/Banner/banner.css +2 -2
  9. package/components/Banner/banner.scss +2 -2
  10. package/components/Button/button.css +41 -0
  11. package/components/Button/button.scss +52 -0
  12. package/components/Card/card.css +24 -2
  13. package/components/Card/card.scss +29 -2
  14. package/components/ClipboardCopy/clipboard-copy.css +6 -1
  15. package/components/ClipboardCopy/clipboard-copy.scss +8 -2
  16. package/components/CodeEditor/code-editor.css +3 -0
  17. package/components/CodeEditor/code-editor.scss +3 -1
  18. package/components/DataList/data-list.css +3 -1
  19. package/components/DataList/data-list.scss +4 -2
  20. package/components/DescriptionList/description-list.css +1 -1
  21. package/components/DescriptionList/description-list.scss +1 -1
  22. package/components/Drawer/drawer.css +28 -14
  23. package/components/Drawer/drawer.scss +28 -9
  24. package/components/DualListSelector/dual-list-selector.css +4 -2
  25. package/components/DualListSelector/dual-list-selector.scss +4 -2
  26. package/components/ExpandableSection/expandable-section.css +3 -1
  27. package/components/ExpandableSection/expandable-section.scss +4 -2
  28. package/components/Form/form.css +7 -5
  29. package/components/Form/form.scss +7 -5
  30. package/components/FormControl/form-control.css +109 -43
  31. package/components/FormControl/form-control.scss +139 -54
  32. package/components/HelperText/helper-text.css +13 -0
  33. package/components/HelperText/helper-text.scss +16 -1
  34. package/components/JumpLinks/jump-links.css +4 -2
  35. package/components/JumpLinks/jump-links.scss +4 -2
  36. package/components/Masthead/masthead.css +1 -1
  37. package/components/Masthead/masthead.scss +1 -1
  38. package/components/Menu/menu.css +4 -5
  39. package/components/Menu/menu.scss +2 -3
  40. package/components/MenuToggle/menu-toggle.css +42 -1
  41. package/components/MenuToggle/menu-toggle.scss +50 -1
  42. package/components/Nav/nav.css +41 -11
  43. package/components/Nav/nav.scss +52 -15
  44. package/components/NotificationDrawer/notification-drawer.css +3 -1
  45. package/components/NotificationDrawer/notification-drawer.scss +4 -2
  46. package/components/Page/page.css +20 -4
  47. package/components/Page/page.scss +21 -5
  48. package/components/Switch/switch.css +3 -1
  49. package/components/Switch/switch.scss +4 -2
  50. package/components/Table/table-grid.css +3 -1
  51. package/components/Table/table-grid.scss +4 -2
  52. package/components/Table/table.css +7 -5
  53. package/components/Table/table.scss +7 -4
  54. package/components/Tabs/tabs.css +71 -2
  55. package/components/Tabs/tabs.scss +85 -4
  56. package/components/Toolbar/toolbar.css +10 -3
  57. package/components/Toolbar/toolbar.scss +11 -3
  58. package/components/Truncate/truncate.css +5 -0
  59. package/components/Truncate/truncate.scss +6 -0
  60. package/components/Wizard/wizard.css +4 -2
  61. package/components/Wizard/wizard.scss +4 -2
  62. package/components/_index.css +515 -121
  63. package/docs/components/Alert/examples/Alert.md +6 -0
  64. package/docs/components/Button/examples/Button.md +29 -0
  65. package/docs/components/Card/examples/Card.md +30 -0
  66. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +29 -0
  67. package/docs/components/DataList/examples/DataList.md +1 -1
  68. package/docs/components/Divider/examples/Divider.md +1 -1
  69. package/docs/components/Drawer/examples/Drawer.md +4 -0
  70. package/docs/components/Menu/examples/Menu.md +6 -6
  71. package/docs/components/Nav/examples/Navigation.md +3 -0
  72. package/docs/components/Page/examples/Page.md +1 -0
  73. package/docs/components/Table/examples/Table.md +18 -30
  74. package/docs/components/Tabs/examples/Tabs.md +6886 -15
  75. package/docs/components/TextInputGroup/examples/TextInputGroup.md +10 -0
  76. package/docs/components/Toolbar/examples/Toolbar.css +3 -0
  77. package/docs/components/Toolbar/examples/Toolbar.md +28 -0
  78. package/docs/components/Truncate/examples/Truncate.md +53 -10
  79. package/docs/demos/Card/examples/Card.md +89 -24
  80. package/docs/demos/CardView/examples/CardView.md +2 -0
  81. package/docs/demos/DescriptionList/examples/DescriptionList.md +38 -0
  82. package/docs/demos/Drawer/examples/Drawer.md +38 -0
  83. package/docs/demos/Masthead/examples/Masthead.md +1 -1
  84. package/docs/demos/Nav/examples/Nav.md +4 -2
  85. package/docs/demos/Page/examples/Page.md +355 -0
  86. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +76 -0
  87. package/docs/demos/Table/examples/Table.md +41 -21
  88. package/docs/demos/Tabs/examples/Tabs.md +570 -0
  89. package/package.json +6 -6
  90. package/patternfly-base-no-globals.css +1 -1
  91. package/patternfly-base.css +1 -1
  92. package/patternfly-charts.css +3 -3
  93. package/patternfly-charts.scss +3 -3
  94. package/patternfly-no-globals.css +516 -122
  95. package/patternfly.css +516 -122
  96. package/patternfly.min.css +1 -1
  97. package/patternfly.min.css.map +1 -1
  98. package/sass-utilities/mixins.scss +8 -4
  99. package/docs/components/TabContent/examples/TabContent.md +0 -153
@@ -1461,8 +1461,18 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
1461
1461
 
1462
1462
  | Class | Applied to | Outcome |
1463
1463
  | -- | -- | -- |
1464
+ | `.pf-v6-c-text-input-group` | `<div>` | Creates a text input group. *Required* |
1465
+ | `.pf-v6-c-text-input-group__main` | `<div>` | Creates a wrapper for the main content. *Required* |
1466
+ | `.pf-v6-c-text-input-group__text` | `<span>` | Creates the text container. *Required*|
1467
+ | `.pf-v6-c-text-input-group__icon` | `<span>` | Creates a container for an icon. |
1468
+ | `.pf-v6-c-text-input-group__text-input` | `<input>` | Creates a text input. *Required* |
1469
+ | `.pf-v6-c-text-input-group__utilities` | `<div>` | Creates text input utilities container. |
1470
+ | `.pf-v6-c-text-input-group__group` | `<div>` | Creates text input prev/next nav group. |
1471
+ | `.pf-m-plain` | `.pf-v6-c-text-input-group` | Applies plain styling. Only use this variant when the text input group is contained in an ancestor with its own border or background styling. |
1472
+ | `.pf-m-disabled` | `.pf-v6-c-text-input-group` | Applies disabled styling. The `<input>` should also be `disabled`. |
1464
1473
  | `.pf-m-success` | `.pf-v6-c-text-input-group` | Applies success validation styling. |
1465
1474
  | `.pf-m-warning` | `.pf-v6-c-text-input-group` | Applies warning validation styling. |
1466
1475
  | `.pf-m-error` | `.pf-v6-c-text-input-group` | Applies error validation styling. |
1467
1476
  | `.pf-m-icon` | `.pf-v6-c-text-input-group__main` | Applies styling when icons are included in the container. |
1468
1477
  | `.pf-m-status` | `.pf-v6-c-text-input-group__icon` | Applies status styling to the icon, matching the status modifier applied to `.pf-v6-c-text-input-group`. |
1478
+ | `.pf-m-hint` | `.pf-v6-c-text-input-group__text-input` | Applies styling when hints are included in the container. |
@@ -28,6 +28,7 @@
28
28
  #ws-core-c-toolbar-adjusted-group-column-gap .pf-v6-c-toolbar__group,
29
29
  #ws-core-e-toolbar-simple .pf-v6-c-toolbar,
30
30
  #ws-core-e-toolbar-simple .pf-v6-c-toolbar__group,
31
+ #ws-core-c-toolbar-no-padding .pf-v6-c-toolbar,
31
32
  #ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar,
32
33
  #ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar,
33
34
  #ws-core-c-toolbar-simple .pf-v6-c-toolbar,
@@ -50,6 +51,7 @@
50
51
  #ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
51
52
  #ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
52
53
  #ws-core-c-toolbar-simple .pf-v6-c-toolbar__item,
54
+ #ws-core-c-toolbar-no-padding .pf-v6-c-toolbar__item,
53
55
  #ws-core-c-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
54
56
  #ws-core-c-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
55
57
  #ws-core-c-toolbar-insets .pf-v6-c-toolbar__item,
@@ -64,6 +66,7 @@
64
66
  #ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
65
67
  #ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
66
68
  #ws-core-c-toolbar-simple .pf-v6-c-toolbar__item,
69
+ #ws-core-c-toolbar-no-padding .pf-v6-c-toolbar__item,
67
70
  #ws-core-c-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
68
71
  #ws-core-c-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
69
72
  #ws-core-c-toolbar-insets .pf-v6-c-toolbar__item,
@@ -75,6 +75,33 @@ Several components in the following examples do not include functional and/or ac
75
75
  | `.pf-v6-c-toolbar__item` | `<div>` | Initiates the toolbar component item. **Required** |
76
76
  | `.pf-v6-c-toolbar__group` | `<div>` | Initiates the toolbar component group. |
77
77
 
78
+ ### No padding
79
+
80
+ ```html
81
+ <div class="pf-v6-c-toolbar pf-m-no-padding" id="toolbar-simple-example">
82
+ <div class="pf-v6-c-toolbar__content">
83
+ <div class="pf-v6-c-toolbar__content-section">
84
+ <div class="pf-v6-c-toolbar__item">Item</div>
85
+ <div class="pf-v6-c-toolbar__item">Item</div>
86
+ <div class="pf-v6-c-toolbar__item">Item</div>
87
+ <hr class="pf-v6-c-divider pf-m-vertical" />
88
+
89
+ <div class="pf-v6-c-toolbar__group">
90
+ <div class="pf-v6-c-toolbar__item">Item</div>
91
+ <div class="pf-v6-c-toolbar__item">Item</div>
92
+ <div class="pf-v6-c-toolbar__item">Item</div>
93
+ </div>
94
+
95
+ <hr class="pf-v6-c-divider pf-m-vertical" />
96
+ <div class="pf-v6-c-toolbar__item">Item</div>
97
+ <div class="pf-v6-c-toolbar__item">Item</div>
98
+ <div class="pf-v6-c-toolbar__item">Item</div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+
103
+ ```
104
+
78
105
  ### Adjusted group column gap
79
106
 
80
107
  ```html
@@ -2607,6 +2634,7 @@ As the toolbar component is a hybrid layout and component, some of its elements
2607
2634
  | `.pf-m-static` | `.pf-v6-c-toolbar` | Modifies expandable content section to position itself to the nearest absolutely positioned parent outside of the toolbar component. This is used primarily for masthead toolbar. |
2608
2635
  | `.pf-m-primary` | `.pf-v6-c-toolbar` | Modifies toolbar to have primary background color. |
2609
2636
  | `.pf-m-secondary` | `.pf-v6-c-toolbar` | Modifies toolbar to have secondary background color. |
2637
+ | `.pf-m-no-padding` | `.pf-v6-c-toolbar` | Modifies toolbar to have no padding. |
2610
2638
  | `.pf-m-no-background` | `.pf-v6-c-toolbar` | Modifies toolbar to have no background color. |
2611
2639
  | `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content` | Modifies expandable content section for the expanded state. |
2612
2640
  | `.pf-m-expanded` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Modifies an expand all button for the expanded state. |
@@ -6,18 +6,18 @@ cssPrefix: pf-v6-c-truncate
6
6
 
7
7
  ## Examples
8
8
 
9
- ### Notes
10
-
11
- The truncate component contains two child elements, `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end`. If both `start` and `end` are present within `.pf-v6-c-truncate`, trucation will occur in the middle of the string. If only `.pf-v6-c-truncate__start` is present, truncation will occur at the end of the string. If only `.pf-v6-c-truncate__end` is present, truncation will occur at the beginning of the string. A `.pf-v6-c-popover` will be automatically applied to the PatternFly React implementation. `&lrm;` must be included at the end of string to denote the ending punctuation mark. Otherwise it will occur and the beggining of truncation for a `pf-v6-c-truncate__end` element.
9
+ The default behavior of the truncate component is to truncate based on whether the content can fit within the width of its parent container, and to prevent text from wrapping. The following examples that use this default behavior render the truncate component inside a resizable container, allowing you to see how the parent container width affects the truncation.
12
10
 
13
11
  ### Default
14
12
 
13
+ When only the `.pf-v6-c-truncate__start` element is used, truncation will occur at the end of the string.
14
+
15
15
  ```html
16
16
  <div class="pf-v6-c-truncate--example">
17
17
  <span class="pf-v6-c-truncate">
18
18
  <span
19
19
  class="pf-v6-c-truncate__start"
20
- >Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.</span>
20
+ >redhat_logo_black_and_white_reversed_simple_with_fedora_container.zip</span>
21
21
  </span>
22
22
  </div>
23
23
 
@@ -25,13 +25,15 @@ The truncate component contains two child elements, `.pf-v6-c-truncate__start` a
25
25
 
26
26
  ### Middle
27
27
 
28
+ When both `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end` elements are used, truncation will occur between the strings that are in each respective element. As the parent container width changes, the point at which content within the `.pf-v6-c-truncate__start` element is truncated will also change.
29
+
28
30
  ```html
29
31
  <div class="pf-v6-c-truncate--example">
30
32
  <span class="pf-v6-c-truncate">
31
33
  <span
32
34
  class="pf-v6-c-truncate__start"
33
- >Vestibulum interdum risus et enim faucibus,&nbsp;</span>
34
- <span class="pf-v6-c-truncate__end">sit amet molestie est accumsan.</span>
35
+ >redhat_logo_black_and_white_reversed_simple_</span>
36
+ <span class="pf-v6-c-truncate__end">with_fedora_container.zip</span>
35
37
  </span>
36
38
  </div>
37
39
 
@@ -39,23 +41,64 @@ The truncate component contains two child elements, `.pf-v6-c-truncate__start` a
39
41
 
40
42
  ### Start
41
43
 
44
+ When only the `.pf-v6-c-truncate__end` element is used, truncation will occur at the start of the string. `&lrm;` **must** be included at the end of a string to denote the ending punctuation mark, otherwise it will render at the start of the truncated content.
45
+
42
46
  ```html
43
47
  <div class="pf-v6-c-truncate--example">
44
48
  <span class="pf-v6-c-truncate">
45
49
  <span
46
50
  class="pf-v6-c-truncate__end"
47
- >Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.&lrm;</span>
51
+ >redhat_logo_black_and_white_reversed_simple_with_fedora_container.zip</span>
48
52
  </span>
49
53
  </div>
50
54
 
51
55
  ```
52
56
 
57
+ ### Based on max characters
58
+
59
+ Apply the `.pf-m-fixed` class to the `.pf-v6-c-truncate` element to implement truncation based on a fixed amount of characters rather than a parent container width.
60
+
61
+ ```html
62
+ <div>Truncated at end position:</div>
63
+ <span class="pf-v6-c-truncate pf-m-fixed">
64
+ <span
65
+ class="pf-v6-c-truncate__text"
66
+ >redhat_logo_black_and_white_reversed_simple_with_</span>
67
+ <span class="pf-v6-c-truncate__omission" aria-hidden="true">&hellip;</span>
68
+ <span class="pf-v6-screen-reader">fedora_container.zip</span>
69
+ </span>
70
+ <br />
71
+ <br />
72
+ <div>Truncated at middle position:</div>
73
+ <span class="pf-v6-c-truncate pf-m-fixed">
74
+ <span class="pf-v6-c-truncate__text">redhat_logo_black_and_</span>
75
+ <span class="pf-v6-screen-reader">white_reversed_simple_with_</span>
76
+
77
+ <span class="pf-v6-c-truncate__omission" aria-hidden="true">&hellip;</span>
78
+ <span class="pf-v6-c-truncate__text">fedora_container.zip</span>
79
+ </span>
80
+ <br />
81
+ <br />
82
+ <div>Truncated at start position:</div>
83
+ <span class="pf-v6-c-truncate pf-m-fixed">
84
+ <span class="pf-v6-screen-reader">redhat_logo_black_</span>
85
+
86
+ <span class="pf-v6-c-truncate__omission" aria-hidden="true">&hellip;</span>
87
+ <span
88
+ class="pf-v6-c-truncate__text"
89
+ >and_white_reversed_simple_with_fedora_container.zip</span>
90
+ </span>
91
+
92
+ ```
93
+
53
94
  ## Documentation
54
95
 
55
96
  ### Usage
56
97
 
57
98
  | Class | Applied | Outcome |
58
99
  | -- | -- | -- |
59
- | `.pf-v6-c-truncate` | `<span>` | Initiates the truncate component. |
60
- | `.pf-v6-c-truncate__start` | `<span>` | Defines the truncate component starting text. |
61
- | `.pf-v6-c-truncate__end` | `<span>` | Defines the truncate component ending text. |
100
+ | `.pf-v6-c-truncate` | `<span>` | Initiates the truncate component. **Required** |
101
+ | `.pf-v6-c-truncate__start` | `<span>` | Defines the truncate component starting text. **Required** when using default/end or middle truncation, **except** for when the `.pf-m-fixed` class is applied to the `.pf-v6-c-truncate` element. |
102
+ | `.pf-v6-c-truncate__end` | `<span>` | Defines the truncate component ending text. **Required** when using start or middle truncation, **except** for when the `.pf-m-fixed` class is applied to the `.pf-v6-c-truncate` element. |
103
+ | `.pf-v6-c-truncate__text` | `<span>` | Defines the visible truncate component text. **Required** and should only be used when the `.pf-m-fixed` class is applied to the `.pf-v6-c-truncate` element. |
104
+ | `.pf-m-fixed` | `.pf-v6-c-truncate` | Modifies the truncate component to base truncation on a fixed amount of characters rather than container width. |
@@ -444,7 +444,7 @@ wrapperTag: div
444
444
  <h2 class="pf-v6-c-card__title-text">5 Clusters</h2>
445
445
  </div>
446
446
  <div class="pf-v6-c-card__body">
447
- <span class="pf-v6-c-icon">
447
+ <span class="pf-v6-c-icon pf-m-inline">
448
448
  <span class="pf-v6-c-icon__content pf-m-success">
449
449
  <i class="fas fa-check-circle" aria-hidden="true"></i>
450
450
  </span>
@@ -456,7 +456,7 @@ wrapperTag: div
456
456
  <h2 class="pf-v6-c-card__title-text">15 Clusters</h2>
457
457
  </div>
458
458
  <div class="pf-v6-c-card__body">
459
- <span class="pf-v6-c-icon">
459
+ <span class="pf-v6-c-icon pf-m-inline">
460
460
  <span class="pf-v6-c-icon__content pf-m-warning">
461
461
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
462
462
  </span>
@@ -468,7 +468,7 @@ wrapperTag: div
468
468
  <h2 class="pf-v6-c-card__title-text">3 Clusters</h2>
469
469
  </div>
470
470
  <div class="pf-v6-c-card__body">
471
- <span class="pf-v6-c-icon">
471
+ <span class="pf-v6-c-icon pf-m-inline">
472
472
  <span class="pf-v6-c-icon__content pf-m-danger">
473
473
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
474
474
  </span>
@@ -487,7 +487,7 @@ wrapperTag: div
487
487
  <div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
488
488
  <div class="pf-v6-l-flex pf-m-space-items-sm">
489
489
  <div class="pf-v6-l-flex__item">
490
- <span class="pf-v6-c-icon">
490
+ <span class="pf-v6-c-icon pf-m-inline">
491
491
  <span class="pf-v6-c-icon__content pf-m-success">
492
492
  <i class="fas fa-check-circle" aria-hidden="true"></i>
493
493
  </span>
@@ -500,7 +500,7 @@ wrapperTag: div
500
500
  <hr class="pf-v6-c-divider pf-m-vertical" />
501
501
  <div class="pf-v6-l-flex pf-m-space-items-sm">
502
502
  <div class="pf-v6-l-flex__item">
503
- <span class="pf-v6-c-icon">
503
+ <span class="pf-v6-c-icon pf-m-inline">
504
504
  <span class="pf-v6-c-icon__content pf-m-warning">
505
505
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
506
506
  </span>
@@ -521,7 +521,7 @@ wrapperTag: div
521
521
  <div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
522
522
  <div class="pf-v6-l-flex pf-m-space-items-sm">
523
523
  <div class="pf-v6-l-flex__item">
524
- <span class="pf-v6-c-icon">
524
+ <span class="pf-v6-c-icon pf-m-inline">
525
525
  <span class="pf-v6-c-icon__content pf-m-success">
526
526
  <i class="fas fa-check-circle" aria-hidden="true"></i>
527
527
  </span>
@@ -534,7 +534,7 @@ wrapperTag: div
534
534
  <hr class="pf-v6-c-divider pf-m-vertical" />
535
535
  <div class="pf-v6-l-flex pf-m-space-items-sm">
536
536
  <div class="pf-v6-l-flex__item">
537
- <span class="pf-v6-c-icon">
537
+ <span class="pf-v6-c-icon pf-m-inline">
538
538
  <span class="pf-v6-c-icon__content pf-m-danger">
539
539
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
540
540
  </span>
@@ -555,7 +555,7 @@ wrapperTag: div
555
555
  <div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
556
556
  <div class="pf-v6-l-flex pf-m-space-items-sm">
557
557
  <div class="pf-v6-l-flex__item">
558
- <span class="pf-v6-c-icon">
558
+ <span class="pf-v6-c-icon pf-m-inline">
559
559
  <span class="pf-v6-c-icon__content pf-m-warning">
560
560
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
561
561
  </span>
@@ -568,7 +568,7 @@ wrapperTag: div
568
568
  <hr class="pf-v6-c-divider pf-m-vertical" />
569
569
  <div class="pf-v6-l-flex pf-m-space-items-sm">
570
570
  <div class="pf-v6-l-flex__item">
571
- <span class="pf-v6-c-icon">
571
+ <span class="pf-v6-c-icon pf-m-inline">
572
572
  <span class="pf-v6-c-icon__content pf-m-danger">
573
573
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
574
574
  </span>
@@ -600,7 +600,7 @@ wrapperTag: div
600
600
  >
601
601
  <div class="pf-v6-l-flex pf-m-space-items-sm">
602
602
  <div class="pf-v6-l-flex__item">
603
- <span class="pf-v6-c-icon">
603
+ <span class="pf-v6-c-icon pf-m-inline">
604
604
  <span class="pf-v6-c-icon__content pf-m-danger">
605
605
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
606
606
  </span>
@@ -613,7 +613,7 @@ wrapperTag: div
613
613
  </div>
614
614
  <div class="pf-v6-l-flex pf-m-space-items-sm">
615
615
  <div class="pf-v6-l-flex__item">
616
- <span class="pf-v6-c-icon">
616
+ <span class="pf-v6-c-icon pf-m-inline">
617
617
  <span class="pf-v6-c-icon__content pf-m-warning">
618
618
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
619
619
  </span>
@@ -637,7 +637,7 @@ wrapperTag: div
637
637
  >
638
638
  <div class="pf-v6-l-flex pf-m-space-items-sm">
639
639
  <div class="pf-v6-l-flex__item">
640
- <span class="pf-v6-c-icon">
640
+ <span class="pf-v6-c-icon pf-m-inline">
641
641
  <span class="pf-v6-c-icon__content pf-m-success">
642
642
  <i class="fas fa-check-circle" aria-hidden="true"></i>
643
643
  </span>
@@ -650,7 +650,7 @@ wrapperTag: div
650
650
  </div>
651
651
  <div class="pf-v6-l-flex pf-m-space-items-sm">
652
652
  <div class="pf-v6-l-flex__item">
653
- <span class="pf-v6-c-icon">
653
+ <span class="pf-v6-c-icon pf-m-inline">
654
654
  <span class="pf-v6-c-icon__content pf-m-warning">
655
655
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
656
656
  </span>
@@ -674,7 +674,7 @@ wrapperTag: div
674
674
  >
675
675
  <div class="pf-v6-l-flex pf-m-space-items-sm">
676
676
  <div class="pf-v6-l-flex__item">
677
- <span class="pf-v6-c-icon">
677
+ <span class="pf-v6-c-icon pf-m-inline">
678
678
  <span class="pf-v6-c-icon__content pf-m-warning">
679
679
  <i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
680
680
  </span>
@@ -687,7 +687,7 @@ wrapperTag: div
687
687
  </div>
688
688
  <div class="pf-v6-l-flex pf-m-space-items-sm">
689
689
  <div class="pf-v6-l-flex__item">
690
- <span class="pf-v6-c-icon">
690
+ <span class="pf-v6-c-icon pf-m-inline">
691
691
  <span class="pf-v6-c-icon__content pf-m-danger">
692
692
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
693
693
  </span>
@@ -723,6 +723,25 @@ wrapperTag: div
723
723
  <button
724
724
  type="button"
725
725
  class="pf-v6-c-tabs__link"
726
+ onclick="
727
+ event.preventDefault();
728
+ ((e) => {
729
+ const el = this,
730
+ li = this.closest('li'),
731
+ ul = this.closest('ul'),
732
+ tabs = this.closest('.pf-v6-c-tabs'),
733
+ left = Math.round(li.offsetLeft),
734
+ top = Math.round(li.offsetTop),
735
+ width = Math.round(li.offsetWidth),
736
+ height = Math.round(li.offsetHeight);
737
+
738
+ ul.querySelectorAll('li').forEach(function(el) {
739
+ el.classList.remove('pf-m-current')});
740
+ li.classList.add('pf-m-current');
741
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
742
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
743
+ }
744
+ )()"
726
745
  role="tab"
727
746
  id="status-tabs-object-1-link"
728
747
  >
@@ -733,6 +752,25 @@ wrapperTag: div
733
752
  <button
734
753
  type="button"
735
754
  class="pf-v6-c-tabs__link"
755
+ onclick="
756
+ event.preventDefault();
757
+ ((e) => {
758
+ const el = this,
759
+ li = this.closest('li'),
760
+ ul = this.closest('ul'),
761
+ tabs = this.closest('.pf-v6-c-tabs'),
762
+ left = Math.round(li.offsetLeft),
763
+ top = Math.round(li.offsetTop),
764
+ width = Math.round(li.offsetWidth),
765
+ height = Math.round(li.offsetHeight);
766
+
767
+ ul.querySelectorAll('li').forEach(function(el) {
768
+ el.classList.remove('pf-m-current')});
769
+ li.classList.add('pf-m-current');
770
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
771
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
772
+ }
773
+ )()"
736
774
  role="tab"
737
775
  id="status-tabs-object-2-link"
738
776
  >
@@ -743,6 +781,25 @@ wrapperTag: div
743
781
  <button
744
782
  type="button"
745
783
  class="pf-v6-c-tabs__link"
784
+ onclick="
785
+ event.preventDefault();
786
+ ((e) => {
787
+ const el = this,
788
+ li = this.closest('li'),
789
+ ul = this.closest('ul'),
790
+ tabs = this.closest('.pf-v6-c-tabs'),
791
+ left = Math.round(li.offsetLeft),
792
+ top = Math.round(li.offsetTop),
793
+ width = Math.round(li.offsetWidth),
794
+ height = Math.round(li.offsetHeight);
795
+
796
+ ul.querySelectorAll('li').forEach(function(el) {
797
+ el.classList.remove('pf-m-current')});
798
+ li.classList.add('pf-m-current');
799
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
800
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
801
+ }
802
+ )()"
746
803
  role="tab"
747
804
  id="status-tabs-object-3-link"
748
805
  >
@@ -767,7 +824,7 @@ wrapperTag: div
767
824
  <div class="pf-v6-l-grid">
768
825
  <div class="pf-v6-l-grid__item pf-m-3-col">
769
826
  <svg
770
- class="pf-v6-c-spinner pf-m-md"
827
+ class="pf-v6-c-spinner pf-m-inline"
771
828
  role="progressbar"
772
829
  viewBox="0 0 100 100"
773
830
  aria-label="Loading"
@@ -801,7 +858,11 @@ wrapperTag: div
801
858
  <span class="pf-v6-c-description-list__text">
802
859
  <div class="pf-v6-l-flex">
803
860
  <div class="pf-v6-l-flex__item">
804
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
861
+ <span class="pf-v6-c-icon pf-m-inline">
862
+ <span class="pf-v6-c-icon__content pf-m-success">
863
+ <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
864
+ </span>
865
+ </span>
805
866
  </div>
806
867
  <div class="pf-v6-l-flex__item">
807
868
  <h3 class="pf-v6-c-title pf-m-md">Ready</h3>
@@ -824,7 +885,7 @@ wrapperTag: div
824
885
  <div class="pf-v6-l-grid">
825
886
  <div class="pf-v6-l-grid__item pf-m-3-col">
826
887
  <svg
827
- class="pf-v6-c-spinner pf-m-md"
888
+ class="pf-v6-c-spinner pf-m-inline"
828
889
  role="progressbar"
829
890
  viewBox="0 0 100 100"
830
891
  aria-label="Loading"
@@ -858,7 +919,11 @@ wrapperTag: div
858
919
  <span class="pf-v6-c-description-list__text">
859
920
  <div class="pf-v6-l-flex">
860
921
  <div class="pf-v6-l-flex__item">
861
- <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
922
+ <span class="pf-v6-c-icon pf-m-inline">
923
+ <span class="pf-v6-c-icon__content pf-m-success">
924
+ <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
925
+ </span>
926
+ </span>
862
927
  </div>
863
928
  <div class="pf-v6-l-flex__item">
864
929
  <h3 class="pf-v6-c-title pf-m-md">Ready</h3>
@@ -1935,7 +2000,7 @@ wrapperTag: div
1935
2000
  <div class="pf-v6-l-flex pf-m-column">
1936
2001
  <span>System</span>
1937
2002
  <div class="pf-v6-l-flex pf-m-space-items-sm">
1938
- <span class="pf-v6-c-icon">
2003
+ <span class="pf-v6-c-icon pf-m-inline">
1939
2004
  <span class="pf-v6-c-icon__content pf-m-danger">
1940
2005
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
1941
2006
  </span>
@@ -2907,7 +2972,7 @@ wrapperTag: div
2907
2972
  <dt class="pf-v6-c-description-list__term">
2908
2973
  <div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
2909
2974
  <div class="pf-v6-l-flex__item">
2910
- <span class="pf-v6-c-icon">
2975
+ <span class="pf-v6-c-icon pf-m-inline">
2911
2976
  <span class="pf-v6-c-icon__content pf-m-danger">
2912
2977
  <i class="fas fa-exclamation-circle" aria-hidden="true"></i>
2913
2978
  </span>
@@ -2936,7 +3001,7 @@ wrapperTag: div
2936
3001
  <dt class="pf-v6-c-description-list__term">
2937
3002
  <div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
2938
3003
  <div class="pf-v6-l-flex__item">
2939
- <span class="pf-v6-c-icon">
3004
+ <span class="pf-v6-c-icon pf-m-inline">
2940
3005
  <span class="pf-v6-c-icon__content pf-m-success">
2941
3006
  <i class="fas fa-check-circle" aria-hidden="true"></i>
2942
3007
  </span>
@@ -2966,7 +3031,7 @@ wrapperTag: div
2966
3031
  <div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
2967
3032
  <div class="pf-v6-l-flex__item">
2968
3033
  <svg
2969
- class="pf-v6-c-spinner pf-m-md"
3034
+ class="pf-v6-c-spinner pf-m-inline"
2970
3035
  role="progressbar"
2971
3036
  viewBox="0 0 100 100"
2972
3037
  aria-label="Loading"
@@ -3003,7 +3068,7 @@ wrapperTag: div
3003
3068
  <dt class="pf-v6-c-description-list__term">
3004
3069
  <div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
3005
3070
  <div class="pf-v6-l-flex__item">
3006
- <span class="pf-v6-c-icon">
3071
+ <span class="pf-v6-c-icon pf-m-inline">
3007
3072
  <span class="pf-v6-c-icon__content pf-m-success">
3008
3073
  <i class="fas fa-check-circle" aria-hidden="true"></i>
3009
3074
  </span>
@@ -254,6 +254,7 @@ section: patterns
254
254
  class="pf-v6-c-nav__subnav"
255
255
  aria-labelledby="card-view-basic-example-expandable-nav-link2"
256
256
  hidden
257
+ inert
257
258
  >
258
259
  <ul class="pf-v6-c-nav__list" role="list">
259
260
  <li class="pf-v6-c-nav__item">
@@ -286,6 +287,7 @@ section: patterns
286
287
  class="pf-v6-c-nav__subnav"
287
288
  aria-labelledby="card-view-basic-example-expandable-nav-link3"
288
289
  hidden
290
+ inert
289
291
  >
290
292
  <ul class="pf-v6-c-nav__list" role="list">
291
293
  <li class="pf-v6-c-nav__item">
@@ -736,6 +736,25 @@ cssPrefix: pf-d-description-list
736
736
  <button
737
737
  type="button"
738
738
  class="pf-v6-c-tabs__link"
739
+ onclick="
740
+ event.preventDefault();
741
+ ((e) => {
742
+ const el = this,
743
+ li = this.closest('li'),
744
+ ul = this.closest('ul'),
745
+ tabs = this.closest('.pf-v6-c-tabs'),
746
+ left = Math.round(li.offsetLeft),
747
+ top = Math.round(li.offsetTop),
748
+ width = Math.round(li.offsetWidth),
749
+ height = Math.round(li.offsetHeight);
750
+
751
+ ul.querySelectorAll('li').forEach(function(el) {
752
+ el.classList.remove('pf-m-current')});
753
+ li.classList.add('pf-m-current');
754
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
755
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
756
+ }
757
+ )()"
739
758
  role="tab"
740
759
  id="description-list-in-drawer-example-panel-tabs-tab1-link"
741
760
  >
@@ -746,6 +765,25 @@ cssPrefix: pf-d-description-list
746
765
  <button
747
766
  type="button"
748
767
  class="pf-v6-c-tabs__link"
768
+ onclick="
769
+ event.preventDefault();
770
+ ((e) => {
771
+ const el = this,
772
+ li = this.closest('li'),
773
+ ul = this.closest('ul'),
774
+ tabs = this.closest('.pf-v6-c-tabs'),
775
+ left = Math.round(li.offsetLeft),
776
+ top = Math.round(li.offsetTop),
777
+ width = Math.round(li.offsetWidth),
778
+ height = Math.round(li.offsetHeight);
779
+
780
+ ul.querySelectorAll('li').forEach(function(el) {
781
+ el.classList.remove('pf-m-current')});
782
+ li.classList.add('pf-m-current');
783
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
784
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
785
+ }
786
+ )()"
749
787
  role="tab"
750
788
  id="description-list-in-drawer-example-panel-tabs-tab2-link"
751
789
  >
@@ -369,6 +369,25 @@ wrapperTag: div
369
369
  <button
370
370
  type="button"
371
371
  class="pf-v6-c-tabs__link"
372
+ onclick="
373
+ event.preventDefault();
374
+ ((e) => {
375
+ const el = this,
376
+ li = this.closest('li'),
377
+ ul = this.closest('ul'),
378
+ tabs = this.closest('.pf-v6-c-tabs'),
379
+ left = Math.round(li.offsetLeft),
380
+ top = Math.round(li.offsetTop),
381
+ width = Math.round(li.offsetWidth),
382
+ height = Math.round(li.offsetHeight);
383
+
384
+ ul.querySelectorAll('li').forEach(function(el) {
385
+ el.classList.remove('pf-m-current')});
386
+ li.classList.add('pf-m-current');
387
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
388
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
389
+ }
390
+ )()"
372
391
  role="tab"
373
392
  id="drawer-collapsed-example-panel-tabs-tab1-link"
374
393
  >
@@ -379,6 +398,25 @@ wrapperTag: div
379
398
  <button
380
399
  type="button"
381
400
  class="pf-v6-c-tabs__link"
401
+ onclick="
402
+ event.preventDefault();
403
+ ((e) => {
404
+ const el = this,
405
+ li = this.closest('li'),
406
+ ul = this.closest('ul'),
407
+ tabs = this.closest('.pf-v6-c-tabs'),
408
+ left = Math.round(li.offsetLeft),
409
+ top = Math.round(li.offsetTop),
410
+ width = Math.round(li.offsetWidth),
411
+ height = Math.round(li.offsetHeight);
412
+
413
+ ul.querySelectorAll('li').forEach(function(el) {
414
+ el.classList.remove('pf-m-current')});
415
+ li.classList.add('pf-m-current');
416
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
417
+ tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
418
+ }
419
+ )()"
382
420
  role="tab"
383
421
  id="drawer-collapsed-example-panel-tabs-tab2-link"
384
422
  >
@@ -2066,7 +2066,7 @@ wrapperTag: div
2066
2066
  ### Horizontal nav
2067
2067
 
2068
2068
  ```html isFullscreen
2069
- <div class="pf-v6-c-page" id="masthead-horizontal-nav">
2069
+ <div class="pf-v6-c-page pf-m-no-sidebar" id="masthead-horizontal-nav">
2070
2070
  <div class="pf-v6-c-skip-to-content">
2071
2071
  <a
2072
2072
  class="pf-v6-c-button pf-m-primary"