@patternfly/patternfly 6.3.0 → 6.4.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.
Files changed (140) hide show
  1. package/README.md +23 -15
  2. package/base/normalize.scss +4 -0
  3. package/base/patternfly-variables.css +1172 -1
  4. package/base/patternfly-variables.scss +10 -0
  5. package/base/tokens/tokens-charts-dark.scss +1 -1
  6. package/base/tokens/tokens-charts.scss +1 -1
  7. package/base/tokens/tokens-dark.scss +13 -1
  8. package/base/tokens/tokens-default.scss +60 -2
  9. package/base/tokens/tokens-highcontrast-dark.scss +396 -0
  10. package/base/tokens/tokens-highcontrast.scss +703 -0
  11. package/base/tokens/tokens-local.scss +1 -0
  12. package/base/tokens/tokens-palette.scss +9 -1
  13. package/components/Accordion/accordion.css +42 -15
  14. package/components/Accordion/accordion.scss +48 -18
  15. package/components/Alert/alert-group.css +17 -15
  16. package/components/Alert/alert-group.scss +22 -18
  17. package/components/Badge/badge.css +2 -0
  18. package/components/Badge/badge.scss +2 -0
  19. package/components/Banner/banner.css +4 -0
  20. package/components/Banner/banner.scss +4 -0
  21. package/components/Button/button.css +34 -4
  22. package/components/Button/button.scss +36 -6
  23. package/components/CalendarMonth/calendar-month.css +35 -4
  24. package/components/CalendarMonth/calendar-month.scss +38 -4
  25. package/components/Card/card.css +7 -4
  26. package/components/Card/card.scss +7 -4
  27. package/components/CodeBlock/code-block.css +3 -0
  28. package/components/CodeBlock/code-block.scss +3 -0
  29. package/components/CodeEditor/code-editor.css +23 -3
  30. package/components/CodeEditor/code-editor.scss +28 -5
  31. package/components/DatePicker/date-picker.css +3 -0
  32. package/components/DatePicker/date-picker.scss +4 -0
  33. package/components/Divider/divider.css +2 -0
  34. package/components/Divider/divider.scss +2 -0
  35. package/components/Drawer/drawer.css +46 -41
  36. package/components/Drawer/drawer.scss +45 -36
  37. package/components/DualListSelector/dual-list-selector.css +21 -4
  38. package/components/DualListSelector/dual-list-selector.scss +23 -4
  39. package/components/ExpandableSection/expandable-section.css +6 -2
  40. package/components/ExpandableSection/expandable-section.scss +7 -3
  41. package/components/FormControl/form-control.css +6 -7
  42. package/components/FormControl/form-control.scss +8 -10
  43. package/components/Label/label.css +20 -11
  44. package/components/Label/label.scss +21 -11
  45. package/components/Login/login.css +3 -0
  46. package/components/Login/login.scss +3 -0
  47. package/components/Menu/menu.css +18 -0
  48. package/components/Menu/menu.scss +19 -1
  49. package/components/MenuToggle/menu-toggle.css +13 -6
  50. package/components/MenuToggle/menu-toggle.scss +13 -6
  51. package/components/ModalBox/modal-box.css +3 -0
  52. package/components/ModalBox/modal-box.scss +3 -0
  53. package/components/Nav/nav.css +17 -0
  54. package/components/Nav/nav.scss +20 -0
  55. package/components/Page/page.css +73 -25
  56. package/components/Page/page.scss +60 -19
  57. package/components/Pagination/pagination.css +15 -2
  58. package/components/Pagination/pagination.scss +15 -2
  59. package/components/Panel/panel.css +14 -1
  60. package/components/Panel/panel.scss +14 -1
  61. package/components/Popover/popover.css +4 -0
  62. package/components/Popover/popover.scss +4 -0
  63. package/components/Progress/progress.css +19 -0
  64. package/components/Progress/progress.scss +22 -0
  65. package/components/Sidebar/sidebar.css +7 -0
  66. package/components/Sidebar/sidebar.scss +7 -0
  67. package/components/SimpleList/simple-list.css +15 -0
  68. package/components/SimpleList/simple-list.scss +17 -1
  69. package/components/Slider/slider.css +9 -0
  70. package/components/Slider/slider.scss +9 -0
  71. package/components/Switch/switch.css +7 -1
  72. package/components/Switch/switch.scss +7 -1
  73. package/components/Table/table.css +41 -1
  74. package/components/Table/table.scss +48 -2
  75. package/components/Tabs/tabs.css +18 -7
  76. package/components/Tabs/tabs.scss +19 -11
  77. package/components/TextInputGroup/text-input-group.css +7 -0
  78. package/components/TextInputGroup/text-input-group.scss +8 -1
  79. package/components/ToggleGroup/toggle-group.css +18 -9
  80. package/components/ToggleGroup/toggle-group.scss +24 -17
  81. package/components/Toolbar/toolbar.css +7 -0
  82. package/components/Toolbar/toolbar.scss +7 -0
  83. package/components/TreeView/tree-view.css +15 -0
  84. package/components/TreeView/tree-view.scss +17 -0
  85. package/components/Wizard/wizard.css +37 -6
  86. package/components/Wizard/wizard.scss +44 -10
  87. package/components/_index.css +631 -168
  88. package/docs/components/Alert/examples/Alert.md +3 -4
  89. package/docs/components/Button/examples/Button.md +1 -3
  90. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +25 -33
  91. package/docs/components/CodeBlock/examples/CodeBlock.md +13 -7
  92. package/docs/components/CodeEditor/examples/CodeEditor.md +20 -6
  93. package/docs/components/DataList/examples/DataList.md +66 -184
  94. package/docs/components/DatePicker/examples/DatePicker.md +4 -1
  95. package/docs/components/DescriptionList/examples/DescriptionList.md +78 -22
  96. package/docs/components/DualListSelector/examples/DualListSelector.md +0 -195
  97. package/docs/components/EmptyState/examples/EmptyState.md +6 -6
  98. package/docs/components/ExpandableSection/examples/ExpandableSection.md +92 -18
  99. package/docs/components/FileUpload/examples/FileUpload.md +4 -3
  100. package/docs/components/Form/examples/Form.md +19 -18
  101. package/docs/components/HelperText/examples/HelperText.md +65 -75
  102. package/docs/components/Hint/examples/Hint.md +3 -3
  103. package/docs/components/Icon/examples/Icon.md +0 -10
  104. package/docs/components/InlineEdit/examples/InlineEdit.md +0 -4
  105. package/docs/components/JumpLinks/examples/JumpLinks.md +164 -77
  106. package/docs/components/Label/examples/Label.md +2 -2
  107. package/docs/components/Login/examples/Login.md +42 -37
  108. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +32 -6
  109. package/docs/components/Pagination/examples/Pagination.md +111 -0
  110. package/docs/components/Popover/examples/Popover.md +0 -4
  111. package/docs/components/Progress/examples/Progress.md +223 -210
  112. package/docs/components/Skeleton/examples/Skeleton.md +21 -7
  113. package/docs/components/Table/examples/Table.md +947 -1423
  114. package/docs/components/TextInputGroup/examples/TextInputGroup.md +126 -47
  115. package/docs/components/Title/examples/Title.md +8 -8
  116. package/docs/components/Truncate/examples/Truncate.md +8 -6
  117. package/docs/components/Wizard/examples/Wizard.md +583 -0
  118. package/docs/demos/Alert/examples/Alert.md +28 -19
  119. package/docs/demos/Card/examples/Card.md +8 -5
  120. package/docs/demos/CardView/examples/CardView.md +81 -85
  121. package/docs/demos/Dashboard/examples/Dashboard.md +10 -22
  122. package/docs/demos/DataList/examples/DataList.md +528 -168
  123. package/docs/demos/DescriptionList/examples/DescriptionList.md +13 -3
  124. package/docs/demos/Drawer/examples/Drawer.md +0 -2
  125. package/docs/demos/Form/examples/BasicForms.md +93 -62
  126. package/docs/demos/HelperText/examples/HelperText.md +31 -23
  127. package/docs/demos/JumpLinks/examples/JumpLinks.md +0 -5
  128. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +4 -4
  129. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +56 -38
  130. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +726 -312
  131. package/docs/demos/Skeleton/examples/Skeleton.md +3 -1
  132. package/docs/demos/Table/examples/Table.md +5 -20
  133. package/docs/demos/Tabs/examples/Tabs.md +2 -1
  134. package/package.json +12 -7
  135. package/patternfly-base-no-globals.css +1172 -1
  136. package/patternfly-base.css +1176 -1
  137. package/patternfly-no-globals.css +1803 -169
  138. package/patternfly.css +1838 -200
  139. package/patternfly.min.css +1 -1
  140. package/patternfly.min.css.map +1 -1
@@ -14,7 +14,7 @@ cssPrefix: pf-v6-c-empty-state
14
14
  <i class="fas fa-cubes" aria-hidden="true"></i>
15
15
  </div>
16
16
  <div class="pf-v6-c-empty-state__title">
17
- <h1 class="pf-v6-c-empty-state__title-text">Empty state</h1>
17
+ <h4 class="pf-v6-c-empty-state__title-text">Empty state</h4>
18
18
  </div>
19
19
  </div>
20
20
 
@@ -64,7 +64,7 @@ cssPrefix: pf-v6-c-empty-state
64
64
  <i class="fas fa-cubes" aria-hidden="true"></i>
65
65
  </div>
66
66
  <div class="pf-v6-c-empty-state__title">
67
- <h1 class="pf-v6-c-empty-state__title-text">Empty state</h1>
67
+ <h4 class="pf-v6-c-empty-state__title-text">Empty state</h4>
68
68
  </div>
69
69
  </div>
70
70
 
@@ -109,7 +109,7 @@ cssPrefix: pf-v6-c-empty-state
109
109
  <i class="fas fa-cubes" aria-hidden="true"></i>
110
110
  </div>
111
111
  <div class="pf-v6-c-empty-state__title">
112
- <h1 class="pf-v6-c-empty-state__title-text">Empty state</h1>
112
+ <h4 class="pf-v6-c-empty-state__title-text">Empty state</h4>
113
113
  </div>
114
114
  </div>
115
115
 
@@ -160,7 +160,7 @@ cssPrefix: pf-v6-c-empty-state
160
160
  <i class="fas fa-cubes" aria-hidden="true"></i>
161
161
  </div>
162
162
  <div class="pf-v6-c-empty-state__title">
163
- <h1 class="pf-v6-c-empty-state__title-text">Empty state</h1>
163
+ <h4 class="pf-v6-c-empty-state__title-text">Empty state</h4>
164
164
  </div>
165
165
  </div>
166
166
 
@@ -210,7 +210,7 @@ cssPrefix: pf-v6-c-empty-state
210
210
  <i class="fas fa-cubes" aria-hidden="true"></i>
211
211
  </div>
212
212
  <div class="pf-v6-c-empty-state__title">
213
- <h1 class="pf-v6-c-empty-state__title-text">Empty state</h1>
213
+ <h4 class="pf-v6-c-empty-state__title-text">Empty state</h4>
214
214
  </div>
215
215
  </div>
216
216
 
@@ -259,7 +259,7 @@ cssPrefix: pf-v6-c-empty-state
259
259
  <i class="fas fa- fa-check-circle" aria-hidden="true"></i>
260
260
  </div>
261
261
  <div class="pf-v6-c-empty-state__title">
262
- <h1 class="pf-v6-c-empty-state__title-text">You're all set</h1>
262
+ <h4 class="pf-v6-c-empty-state__title-text">You're all set</h4>
263
263
  </div>
264
264
  </div>
265
265
 
@@ -9,18 +9,26 @@ cssPrefix: pf-v6-c-expandable-section
9
9
  ```html
10
10
  <div class="pf-v6-c-expandable-section">
11
11
  <div class="pf-v6-c-expandable-section__toggle">
12
- <button class="pf-v6-c-button pf-m-link" type="button">
12
+ <button
13
+ class="pf-v6-c-button pf-m-link"
14
+ id="hidden-toggle"
15
+ type="button"
16
+ aria-controls="hidden-content"
17
+ >
13
18
  <span class="pf-v6-c-button__icon pf-m-start">
14
19
  <span class="pf-v6-c-expandable-section__toggle-icon">
15
20
  <i class="fas fa-angle-right" aria-hidden="true"></i>
16
21
  </span>
17
22
  </span>
18
- <span class="pf-v6-c-button__text">Show more</span>
23
+ <span class="pf-v6-c-button__text">Show more hidden example content</span>
19
24
  </button>
20
25
  </div>
21
26
  <div
22
27
  class="pf-v6-c-expandable-section__content"
23
28
  hidden
29
+ id="hidden-content"
30
+ role="region"
31
+ aria-labelledby="hidden-toggle"
24
32
  >This content is visible only when the component is expanded.</div>
25
33
  </div>
26
34
 
@@ -31,17 +39,26 @@ cssPrefix: pf-v6-c-expandable-section
31
39
  ```html
32
40
  <div class="pf-v6-c-expandable-section pf-m-expanded">
33
41
  <div class="pf-v6-c-expandable-section__toggle">
34
- <button class="pf-v6-c-button pf-m-link" type="button" aria-expanded>
42
+ <button
43
+ class="pf-v6-c-button pf-m-link"
44
+ id="expanded-toggle"
45
+ type="button"
46
+ aria-expanded="true"
47
+ aria-controls="expanded-content"
48
+ >
35
49
  <span class="pf-v6-c-button__icon pf-m-start">
36
50
  <span class="pf-v6-c-expandable-section__toggle-icon">
37
51
  <i class="fas fa-angle-right" aria-hidden="true"></i>
38
52
  </span>
39
53
  </span>
40
- <span class="pf-v6-c-button__text">Show less</span>
54
+ <span class="pf-v6-c-button__text">Show less expanded example content</span>
41
55
  </button>
42
56
  </div>
43
57
  <div
44
58
  class="pf-v6-c-expandable-section__content"
59
+ id="expanded-content"
60
+ role="region"
61
+ aria-labelledby="expanded-toggle"
45
62
  >This content is visible only when the component is expanded.</div>
46
63
  </div>
47
64
 
@@ -52,17 +69,26 @@ cssPrefix: pf-v6-c-expandable-section
52
69
  ```html
53
70
  <div class="pf-v6-c-expandable-section pf-m-expanded pf-m-indented">
54
71
  <div class="pf-v6-c-expandable-section__toggle">
55
- <button class="pf-v6-c-button pf-m-link" type="button" aria-expanded>
72
+ <button
73
+ class="pf-v6-c-button pf-m-link"
74
+ id="indented-toggle"
75
+ type="button"
76
+ aria-expanded="true"
77
+ aria-controls="indented-content"
78
+ >
56
79
  <span class="pf-v6-c-button__icon pf-m-start">
57
80
  <span class="pf-v6-c-expandable-section__toggle-icon">
58
81
  <i class="fas fa-angle-right" aria-hidden="true"></i>
59
82
  </span>
60
83
  </span>
61
- <span class="pf-v6-c-button__text">Show less</span>
84
+ <span class="pf-v6-c-button__text">Show less indented example content</span>
62
85
  </button>
63
86
  </div>
64
87
  <div
65
88
  class="pf-v6-c-expandable-section__content"
89
+ id="indented-content"
90
+ role="region"
91
+ aria-labelledby="indented-toggle"
66
92
  >This content is visible only when the component is expanded.</div>
67
93
  </div>
68
94
 
@@ -73,18 +99,28 @@ cssPrefix: pf-v6-c-expandable-section
73
99
  ```html
74
100
  <div class="pf-v6-c-expandable-section pf-m-display-lg pf-m-limit-width">
75
101
  <div class="pf-v6-c-expandable-section__toggle">
76
- <button class="pf-v6-c-button pf-m-link" type="button">
102
+ <button
103
+ class="pf-v6-c-button pf-m-link"
104
+ id="disclosure-variation-hidden-toggle"
105
+ type="button"
106
+ aria-controls="disclosure-variation-hidden-content"
107
+ >
77
108
  <span class="pf-v6-c-button__icon pf-m-start">
78
109
  <span class="pf-v6-c-expandable-section__toggle-icon">
79
110
  <i class="fas fa-angle-right" aria-hidden="true"></i>
80
111
  </span>
81
112
  </span>
82
- <span class="pf-v6-c-button__text">Show more</span>
113
+ <span
114
+ class="pf-v6-c-button__text"
115
+ >Show more disclosure variation example content</span>
83
116
  </button>
84
117
  </div>
85
118
  <div
86
119
  class="pf-v6-c-expandable-section__content"
87
120
  hidden
121
+ id="disclosure-variation-hidden-content"
122
+ role="region"
123
+ aria-labelledby="disclosure-variation-hidden-toggle"
88
124
  >This content is visible only when the component is expanded.</div>
89
125
  </div>
90
126
 
@@ -97,17 +133,28 @@ cssPrefix: pf-v6-c-expandable-section
97
133
  class="pf-v6-c-expandable-section pf-m-expanded pf-m-display-lg pf-m-limit-width"
98
134
  >
99
135
  <div class="pf-v6-c-expandable-section__toggle">
100
- <button class="pf-v6-c-button pf-m-link" type="button" aria-expanded>
136
+ <button
137
+ class="pf-v6-c-button pf-m-link"
138
+ id="disclosure-variation-expanded-toggle"
139
+ type="button"
140
+ aria-expanded="true"
141
+ aria-controls="disclosure-variation-expanded-content"
142
+ >
101
143
  <span class="pf-v6-c-button__icon pf-m-start">
102
144
  <span class="pf-v6-c-expandable-section__toggle-icon">
103
145
  <i class="fas fa-angle-right" aria-hidden="true"></i>
104
146
  </span>
105
147
  </span>
106
- <span class="pf-v6-c-button__text">Show less</span>
148
+ <span
149
+ class="pf-v6-c-button__text"
150
+ >Show less disclosure variation example content</span>
107
151
  </button>
108
152
  </div>
109
153
  <div
110
154
  class="pf-v6-c-expandable-section__content"
155
+ id="disclosure-variation-expanded-content"
156
+ role="region"
157
+ aria-labelledby="disclosure-variation-expanded-toggle"
111
158
  >This content is visible only when the component is expanded.</div>
112
159
  </div>
113
160
 
@@ -120,17 +167,28 @@ cssPrefix: pf-v6-c-expandable-section
120
167
  class="pf-v6-c-expandable-section pf-m-expanded pf-m-display-lg pf-m-limit-width pf-m-indented"
121
168
  >
122
169
  <div class="pf-v6-c-expandable-section__toggle">
123
- <button class="pf-v6-c-button pf-m-link" type="button" aria-expanded>
170
+ <button
171
+ class="pf-v6-c-button pf-m-link"
172
+ id="disclosure-variation-indented-toggle"
173
+ type="button"
174
+ aria-expanded="true"
175
+ aria-controls="disclosure-variation-indented-content"
176
+ >
124
177
  <span class="pf-v6-c-button__icon pf-m-start">
125
178
  <span class="pf-v6-c-expandable-section__toggle-icon">
126
179
  <i class="fas fa-angle-right" aria-hidden="true"></i>
127
180
  </span>
128
181
  </span>
129
- <span class="pf-v6-c-button__text">Show less</span>
182
+ <span
183
+ class="pf-v6-c-button__text"
184
+ >Show less disclosure variation indented example content</span>
130
185
  </button>
131
186
  </div>
132
187
  <div
133
188
  class="pf-v6-c-expandable-section__content"
189
+ id="disclosure-variation-indented-content"
190
+ role="region"
191
+ aria-labelledby="disclosure-variation-indented-toggle"
134
192
  >This content is visible only when the component is expanded.</div>
135
193
  </div>
136
194
 
@@ -147,6 +205,8 @@ cssPrefix: pf-v6-c-expandable-section
147
205
  <div
148
206
  class="pf-v6-c-expandable-section__content"
149
207
  id="detached-toggle-content"
208
+ role="region"
209
+ aria-labelledby="detached-toggle-toggle"
150
210
  >This content is visible only when the component is expanded.</div>
151
211
  </div>
152
212
  </div>
@@ -158,8 +218,9 @@ cssPrefix: pf-v6-c-expandable-section
158
218
  <div class="pf-v6-c-expandable-section__toggle">
159
219
  <button
160
220
  class="pf-v6-c-button pf-m-link"
221
+ id="detached-toggle-toggle"
161
222
  type="button"
162
- aria-expanded
223
+ aria-expanded="true"
163
224
  aria-controls="detached-toggle-content"
164
225
  >
165
226
  <span class="pf-v6-c-button__icon pf-m-start">
@@ -167,7 +228,7 @@ cssPrefix: pf-v6-c-expandable-section
167
228
  <i class="fas fa-angle-right" aria-hidden="true"></i>
168
229
  </span>
169
230
  </span>
170
- <span class="pf-v6-c-button__text">Show less</span>
231
+ <span class="pf-v6-c-button__text">Show less detached example content</span>
171
232
  </button>
172
233
  </div>
173
234
  </div>
@@ -182,10 +243,18 @@ cssPrefix: pf-v6-c-expandable-section
182
243
  <div class="pf-v6-c-expandable-section pf-m-truncate">
183
244
  <div
184
245
  class="pf-v6-c-expandable-section__content"
246
+ id="truncated-expansion-hidden-content"
247
+ role="region"
248
+ aria-labelledby="truncated-expansion-hidden-toggle"
185
249
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus finibus, diam vitae eleifend consequat, metus sapien posuere quam, ut tincidunt nunc enim eget sapien. Mauris ac dui imperdiet dolor dignissim efficitur laoreet quis erat. Proin turpis leo, malesuada eget urna et, tristique mollis odio. Ut mattis nulla lorem, elementum hendrerit nunc molestie vitae. Proin massa sem, bibendum id urna in, viverra porta neque. Ut ut mi ac lacus rhoncus mollis id quis sem. Suspendisse non justo elementum, dictum eros nec, hendrerit sapien. Mauris aliquet, est sit amet tincidunt vehicula, purus est hendrerit arcu, vitae egestas odio lorem ut lacus. In et neque non metus viverra rhoncus quis non purus. Integer id venenatis tortor. Nulla sollicitudin convallis tellus, at porta eros volutpat in. Curabitur rhoncus rhoncus nisi, sit amet tincidunt dolor efficitur vitae. Integer purus neque, porta non odio lobortis, accumsan elementum risus. Pellentesque viverra id lacus a cursus. Etiam eu pulvinar risus. Etiam ultrices nec urna id consequat.</div>
186
250
  <div class="pf-v6-c-expandable-section__toggle">
187
- <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
188
- <span class="pf-v6-c-button__text">Show more</span>
251
+ <button
252
+ class="pf-v6-c-button pf-m-inline pf-m-link"
253
+ id="truncated-expansion-hidden-toggle"
254
+ type="button"
255
+ aria-controls="truncated-expansion-hidden-content"
256
+ >
257
+ <span class="pf-v6-c-button__text">Show more truncated content</span>
189
258
  </button>
190
259
  </div>
191
260
  </div>
@@ -198,14 +267,19 @@ cssPrefix: pf-v6-c-expandable-section
198
267
  <div class="pf-v6-c-expandable-section pf-m-expanded pf-m-truncate">
199
268
  <div
200
269
  class="pf-v6-c-expandable-section__content"
270
+ id="truncate-expansion-expanded-content"
271
+ role="region"
272
+ aria-labelledby="truncate-expansion-expanded-toggle"
201
273
  >Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus finibus, diam vitae eleifend consequat, metus sapien posuere quam, ut tincidunt nunc enim eget sapien. Mauris ac dui imperdiet dolor dignissim efficitur laoreet quis erat. Proin turpis leo, malesuada eget urna et, tristique mollis odio. Ut mattis nulla lorem, elementum hendrerit nunc molestie vitae. Proin massa sem, bibendum id urna in, viverra porta neque. Ut ut mi ac lacus rhoncus mollis id quis sem. Suspendisse non justo elementum, dictum eros nec, hendrerit sapien. Mauris aliquet, est sit amet tincidunt vehicula, purus est hendrerit arcu, vitae egestas odio lorem ut lacus. In et neque non metus viverra rhoncus quis non purus. Integer id venenatis tortor. Nulla sollicitudin convallis tellus, at porta eros volutpat in. Curabitur rhoncus rhoncus nisi, sit amet tincidunt dolor efficitur vitae. Integer purus neque, porta non odio lobortis, accumsan elementum risus. Pellentesque viverra id lacus a cursus. Etiam eu pulvinar risus. Etiam ultrices nec urna id consequat.</div>
202
274
  <div class="pf-v6-c-expandable-section__toggle">
203
275
  <button
204
276
  class="pf-v6-c-button pf-m-inline pf-m-link"
277
+ id="truncate-expansion-expanded-toggle"
205
278
  type="button"
206
- aria-expanded
279
+ aria-expanded="true"
280
+ aria-controls="truncate-expansion-expanded-content"
207
281
  >
208
- <span class="pf-v6-c-button__text">Show less</span>
282
+ <span class="pf-v6-c-button__text">Show less truncated content</span>
209
283
  </button>
210
284
  </div>
211
285
  </div>
@@ -325,9 +325,10 @@ cssPrefix: pf-v6-c-file-upload
325
325
  <span class="pf-v6-c-helper-text__item-icon">
326
326
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
327
327
  </span>
328
- <span
329
- class="pf-v6-c-helper-text__item-text"
330
- >Must be a CSV file no larger than 1 KB</span>
328
+ <span class="pf-v6-c-helper-text__item-text">
329
+ <span class="pf-v6-screen-reader">Error:</span>
330
+ Must be a CSV file no larger than 1 KB
331
+ </span>
331
332
  </div>
332
333
  </div>
333
334
  </div>
@@ -345,9 +345,6 @@ cssPrefix: pf-v6-c-form
345
345
  class="pf-v6-c-helper-text__item"
346
346
  id="form-help-text-name-helper"
347
347
  >
348
- <span class="pf-v6-c-helper-text__item-icon">
349
- <i class="fas fa-fw fa-minus" aria-hidden="true"></i>
350
- </span>
351
348
  <span class="pf-v6-c-helper-text__item-text">This is helper text.</span>
352
349
  </div>
353
350
  </div>
@@ -382,9 +379,10 @@ cssPrefix: pf-v6-c-form
382
379
  <span class="pf-v6-c-helper-text__item-icon">
383
380
  <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
384
381
  </span>
385
- <span
386
- class="pf-v6-c-helper-text__item-text"
387
- >This is helper text for a warning input.</span>
382
+ <span class="pf-v6-c-helper-text__item-text">
383
+ <span class="pf-v6-screen-reader">Warning:</span>
384
+ This is helper text for a warning input.
385
+ </span>
388
386
  </div>
389
387
  </div>
390
388
  </div>
@@ -419,9 +417,10 @@ cssPrefix: pf-v6-c-form
419
417
  <span class="pf-v6-c-helper-text__item-icon">
420
418
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
421
419
  </span>
422
- <span
423
- class="pf-v6-c-helper-text__item-text"
424
- >This is helper text for an invalid input.</span>
420
+ <span class="pf-v6-c-helper-text__item-text">
421
+ <span class="pf-v6-screen-reader">Error:</span>
422
+ This is helper text for an invalid input.
423
+ </span>
425
424
  </div>
426
425
  </div>
427
426
  </div>
@@ -455,9 +454,10 @@ cssPrefix: pf-v6-c-form
455
454
  <span class="pf-v6-c-helper-text__item-icon">
456
455
  <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
457
456
  </span>
458
- <span
459
- class="pf-v6-c-helper-text__item-text"
460
- >This is helper text for success input.</span>
457
+ <span class="pf-v6-c-helper-text__item-text">
458
+ <span class="pf-v6-screen-reader">Success:</span>
459
+ This is helper text for success input.
460
+ </span>
461
461
  </div>
462
462
  </div>
463
463
  </div>
@@ -492,9 +492,10 @@ cssPrefix: pf-v6-c-form
492
492
  <span class="pf-v6-c-helper-text__item-icon">
493
493
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
494
494
  </span>
495
- <span
496
- class="pf-v6-c-helper-text__item-text"
497
- >This is helper text with an icon.</span>
495
+ <span class="pf-v6-c-helper-text__item-text">
496
+ <span class="pf-v6-screen-reader">Error:</span>
497
+ This is helper text with an icon.
498
+ </span>
498
499
  </div>
499
500
  </div>
500
501
  </div>
@@ -793,7 +794,7 @@ cssPrefix: pf-v6-c-form
793
794
  <div class="pf-v6-c-form__field-group-toggle">
794
795
  <div class="pf-v6-c-form__field-group-toggle-button">
795
796
  <button
796
- class="pf-v6-c-button pf-m-expanded pf-m-plain"
797
+ class="pf-v6-c-button pf-m-plain"
797
798
  id="form-expandable-field-groups-field-group-1-toggle"
798
799
  type="button"
799
800
  aria-expanded="true"
@@ -835,7 +836,7 @@ cssPrefix: pf-v6-c-form
835
836
  <div class="pf-v6-c-form__field-group-toggle">
836
837
  <div class="pf-v6-c-form__field-group-toggle-button">
837
838
  <button
838
- class="pf-v6-c-button pf-m-expanded pf-m-plain"
839
+ class="pf-v6-c-button pf-m-plain"
839
840
  id="form-expandable-field-groups-nested-field-group-1-toggle"
840
841
  type="button"
841
842
  aria-expanded="true"
@@ -1506,7 +1507,7 @@ cssPrefix: pf-v6-c-form
1506
1507
  <div class="pf-v6-c-form__field-group-toggle">
1507
1508
  <div class="pf-v6-c-form__field-group-toggle-button">
1508
1509
  <button
1509
- class="pf-v6-c-button pf-m-expanded pf-m-plain"
1510
+ class="pf-v6-c-button pf-m-plain"
1510
1511
  id="form-expandable-field-groups-field-group-4-toggle"
1511
1512
  type="button"
1512
1513
  aria-expanded="true"
@@ -4,7 +4,7 @@ section: components
4
4
  cssPrefix: pf-v6-c-helper-text
5
5
  ---## Examples
6
6
 
7
- ### Static
7
+ ### Basic
8
8
 
9
9
  ```html
10
10
  <div class="pf-v6-c-helper-text">
@@ -14,48 +14,13 @@ cssPrefix: pf-v6-c-helper-text
14
14
  </div>
15
15
  <div class="pf-v6-c-helper-text">
16
16
  <div class="pf-v6-c-helper-text__item pf-m-indeterminate">
17
- <span
18
- class="pf-v6-c-helper-text__item-text"
19
- >This is indeterminate helper text</span>
20
- </div>
21
- </div>
22
- <div class="pf-v6-c-helper-text">
23
- <div class="pf-v6-c-helper-text__item pf-m-warning">
24
- <span class="pf-v6-c-helper-text__item-text">This is warning helper text</span>
25
- </div>
26
- </div>
27
- <div class="pf-v6-c-helper-text">
28
- <div class="pf-v6-c-helper-text__item pf-m-success">
29
- <span class="pf-v6-c-helper-text__item-text">This is success helper text</span>
30
- </div>
31
- </div>
32
- <div class="pf-v6-c-helper-text">
33
- <div class="pf-v6-c-helper-text__item pf-m-error">
34
- <span class="pf-v6-c-helper-text__item-text">This is error helper text</span>
35
- </div>
36
- </div>
37
-
38
- ```
39
-
40
- ### Icon
41
-
42
- ```html
43
- <div class="pf-v6-c-helper-text">
44
- <div class="pf-v6-c-helper-text__item">
45
17
  <span class="pf-v6-c-helper-text__item-icon">
46
18
  <i class="fas fa-fw fa-minus" aria-hidden="true"></i>
47
19
  </span>
48
- <span class="pf-v6-c-helper-text__item-text">This is default helper text</span>
49
- </div>
50
- </div>
51
- <div class="pf-v6-c-helper-text">
52
- <div class="pf-v6-c-helper-text__item pf-m-indeterminate">
53
- <span class="pf-v6-c-helper-text__item-icon">
54
- <i class="fas fa-fw fa-minus" aria-hidden="true"></i>
20
+ <span class="pf-v6-c-helper-text__item-text">
21
+ <span class="pf-v6-screen-reader">Indeterminate:</span>
22
+ This is indeterminate helper text
55
23
  </span>
56
- <span
57
- class="pf-v6-c-helper-text__item-text"
58
- >This is indeterminate helper text</span>
59
24
  </div>
60
25
  </div>
61
26
  <div class="pf-v6-c-helper-text">
@@ -63,7 +28,10 @@ cssPrefix: pf-v6-c-helper-text
63
28
  <span class="pf-v6-c-helper-text__item-icon">
64
29
  <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
65
30
  </span>
66
- <span class="pf-v6-c-helper-text__item-text">This is warning helper text</span>
31
+ <span class="pf-v6-c-helper-text__item-text">
32
+ <span class="pf-v6-screen-reader">Warning:</span>
33
+ This is warning helper text
34
+ </span>
67
35
  </div>
68
36
  </div>
69
37
  <div class="pf-v6-c-helper-text">
@@ -71,7 +39,10 @@ cssPrefix: pf-v6-c-helper-text
71
39
  <span class="pf-v6-c-helper-text__item-icon">
72
40
  <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
73
41
  </span>
74
- <span class="pf-v6-c-helper-text__item-text">This is success helper text</span>
42
+ <span class="pf-v6-c-helper-text__item-text">
43
+ <span class="pf-v6-screen-reader">Success:</span>
44
+ This is success helper text
45
+ </span>
75
46
  </div>
76
47
  </div>
77
48
  <div class="pf-v6-c-helper-text">
@@ -79,41 +50,45 @@ cssPrefix: pf-v6-c-helper-text
79
50
  <span class="pf-v6-c-helper-text__item-icon">
80
51
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
81
52
  </span>
82
- <span class="pf-v6-c-helper-text__item-text">This is error helper text</span>
53
+ <span class="pf-v6-c-helper-text__item-text">
54
+ <span class="pf-v6-screen-reader">Error:</span>
55
+ This is error helper text
56
+ </span>
83
57
  </div>
84
58
  </div>
85
59
 
86
60
  ```
87
61
 
88
- ### Multiple static
62
+ ### Multiple items
63
+
64
+ You can include multiple `HelperTextItem` components inside a single `HelperText` container.
89
65
 
90
66
  ```html
91
- <div class="pf-v6-c-helper-text">
92
- <div class="pf-v6-c-helper-text__item">
67
+ <ul class="pf-v6-c-helper-text" role="list">
68
+ <li class="pf-v6-c-helper-text__item">
93
69
  <span class="pf-v6-c-helper-text__item-text">This is default helper text</span>
94
- </div>
95
- <div class="pf-v6-c-helper-text__item">
70
+ </li>
71
+ <li class="pf-v6-c-helper-text__item">
96
72
  <span
97
73
  class="pf-v6-c-helper-text__item-text"
98
74
  >This is another default helper text in the same block</span>
99
- </div>
100
- <div class="pf-v6-c-helper-text__item">
75
+ </li>
76
+ <li class="pf-v6-c-helper-text__item">
101
77
  <span
102
78
  class="pf-v6-c-helper-text__item-text"
103
79
  >And this is more default text in the same block</span>
104
- </div>
105
- </div>
80
+ </li>
81
+ </ul>
106
82
 
107
83
  ```
108
84
 
109
85
  ### Dynamic
110
86
 
87
+ If the `HelperTextItem` components are expected or intended to dynamically update in some way, you should use a dynamic `HelperText` container.
88
+
111
89
  ```html
112
90
  <div class="pf-v6-c-helper-text">
113
91
  <div class="pf-v6-c-helper-text__item pf-m-dynamic">
114
- <span class="pf-v6-c-helper-text__item-icon">
115
- <i class="fas fa-fw fa-minus" aria-hidden="true"></i>
116
- </span>
117
92
  <span class="pf-v6-c-helper-text__item-text">This is default helper text</span>
118
93
  </div>
119
94
  </div>
@@ -122,9 +97,10 @@ cssPrefix: pf-v6-c-helper-text
122
97
  <span class="pf-v6-c-helper-text__item-icon">
123
98
  <i class="fas fa-fw fa-minus" aria-hidden="true"></i>
124
99
  </span>
125
- <span
126
- class="pf-v6-c-helper-text__item-text"
127
- >This is indeterminate helper text</span>
100
+ <span class="pf-v6-c-helper-text__item-text">
101
+ <span class="pf-v6-screen-reader">Indeterminate:</span>
102
+ This is indeterminate helper text
103
+ </span>
128
104
  </div>
129
105
  </div>
130
106
  <div class="pf-v6-c-helper-text">
@@ -132,7 +108,10 @@ cssPrefix: pf-v6-c-helper-text
132
108
  <span class="pf-v6-c-helper-text__item-icon">
133
109
  <i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
134
110
  </span>
135
- <span class="pf-v6-c-helper-text__item-text">This is warning helper text</span>
111
+ <span class="pf-v6-c-helper-text__item-text">
112
+ <span class="pf-v6-screen-reader">Warning:</span>
113
+ This is warning helper text
114
+ </span>
136
115
  </div>
137
116
  </div>
138
117
  <div class="pf-v6-c-helper-text">
@@ -140,7 +119,10 @@ cssPrefix: pf-v6-c-helper-text
140
119
  <span class="pf-v6-c-helper-text__item-icon">
141
120
  <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
142
121
  </span>
143
- <span class="pf-v6-c-helper-text__item-text">This is success helper text</span>
122
+ <span class="pf-v6-c-helper-text__item-text">
123
+ <span class="pf-v6-screen-reader">Success:</span>
124
+ This is success helper text
125
+ </span>
144
126
  </div>
145
127
  </div>
146
128
  <div class="pf-v6-c-helper-text">
@@ -148,7 +130,10 @@ cssPrefix: pf-v6-c-helper-text
148
130
  <span class="pf-v6-c-helper-text__item-icon">
149
131
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
150
132
  </span>
151
- <span class="pf-v6-c-helper-text__item-text">This is error helper text</span>
133
+ <span class="pf-v6-c-helper-text__item-text">
134
+ <span class="pf-v6-screen-reader">Error:</span>
135
+ This is error helper text
136
+ </span>
152
137
  </div>
153
138
  </div>
154
139
 
@@ -157,30 +142,35 @@ cssPrefix: pf-v6-c-helper-text
157
142
  ### Dynamic list
158
143
 
159
144
  ```html
160
- <div class="pf-v6-c-helper-text">
161
- <div class="pf-v6-c-helper-text__item pf-m-success pf-m-dynamic">
145
+ <ul class="pf-v6-c-helper-text" role="list">
146
+ <li class="pf-v6-c-helper-text__item pf-m-success pf-m-dynamic">
162
147
  <span class="pf-v6-c-helper-text__item-icon">
163
148
  <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
164
149
  </span>
165
- <span class="pf-v6-c-helper-text__item-text">Must be at least 14 characters</span>
166
- </div>
167
- <div class="pf-v6-c-helper-text__item pf-m-error pf-m-dynamic">
150
+ <span class="pf-v6-c-helper-text__item-text">
151
+ <span class="pf-v6-screen-reader">Success:</span>
152
+ Must be at least 14 characters
153
+ </span>
154
+ </li>
155
+ <li class="pf-v6-c-helper-text__item pf-m-error pf-m-dynamic">
168
156
  <span class="pf-v6-c-helper-text__item-icon">
169
157
  <i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
170
158
  </span>
171
- <span
172
- class="pf-v6-c-helper-text__item-text"
173
- >Cannot contain any variation of the word "redhat"</span>
174
- </div>
175
- <div class="pf-v6-c-helper-text__item pf-m-success pf-m-dynamic">
159
+ <span class="pf-v6-c-helper-text__item-text">
160
+ <span class="pf-v6-screen-reader">Error:</span>
161
+ Cannot contain any variation of the word "redhat"
162
+ </span>
163
+ </li>
164
+ <li class="pf-v6-c-helper-text__item pf-m-success pf-m-dynamic">
176
165
  <span class="pf-v6-c-helper-text__item-icon">
177
166
  <i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
178
167
  </span>
179
- <span
180
- class="pf-v6-c-helper-text__item-text"
181
- >Must include at least 3 of the following: lowercase letter, uppercase letters, numbers, symbols</span>
182
- </div>
183
- </div>
168
+ <span class="pf-v6-c-helper-text__item-text">
169
+ <span class="pf-v6-screen-reader">Success:</span>
170
+ Must include at least 3 of the following: lowercase letter, uppercase letters, numbers, symbols
171
+ </span>
172
+ </li>
173
+ </ul>
184
174
 
185
175
  ```
186
176