@patternfly/patternfly 5.0.0-alpha.3 → 5.0.0-alpha.30

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 (290) hide show
  1. package/RELEASE-NOTES.md +17 -0
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/pficon/pficon.scss +6 -0
  4. package/assets/pficon/pficon.woff +0 -0
  5. package/assets/pficon/pficon.woff2 +0 -0
  6. package/base/_base.scss +0 -18
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/_fonts.scss +22 -22
  10. package/base/_globals.scss +1 -1
  11. package/base/_icons.scss +1 -28
  12. package/base/_svg-icons.scss +6 -0
  13. package/base/_variables.scss +1 -1
  14. package/base/patternfly-common.css +0 -10
  15. package/base/patternfly-fonts.css +17 -17
  16. package/base/patternfly-icons.css +6 -20
  17. package/base/patternfly-pf-icons.css +5 -1
  18. package/base/themes/dark/_globals.scss +1 -1
  19. package/base/themes/dark/_variables.scss +1 -1
  20. package/components/AboutModalBox/about-modal-box.css +7 -7
  21. package/components/AboutModalBox/about-modal-box.scss +7 -7
  22. package/components/Accordion/accordion.css +2 -0
  23. package/components/Accordion/accordion.scss +2 -0
  24. package/components/Alert/alert.css +3 -3
  25. package/components/Alert/alert.scss +3 -3
  26. package/components/AppLauncher/app-launcher.css +2 -0
  27. package/components/AppLauncher/app-launcher.scss +2 -0
  28. package/components/Avatar/avatar.scss +2 -2
  29. package/components/Banner/banner.css +14 -14
  30. package/components/Banner/banner.scss +9 -13
  31. package/components/Breadcrumb/breadcrumb.css +2 -0
  32. package/components/Breadcrumb/breadcrumb.scss +2 -0
  33. package/components/CalendarMonth/calendar-month.css +2 -2
  34. package/components/CalendarMonth/calendar-month.scss +3 -3
  35. package/components/Card/card.css +20 -21
  36. package/components/Card/card.scss +22 -26
  37. package/components/Chip/chip.css +33 -24
  38. package/components/Chip/chip.scss +40 -31
  39. package/components/ChipGroup/chip-group.css +27 -17
  40. package/components/ChipGroup/chip-group.scss +36 -22
  41. package/components/Content/content.css +11 -5
  42. package/components/Content/content.scss +17 -9
  43. package/components/ContextSelector/context-selector.css +5 -1
  44. package/components/ContextSelector/context-selector.scss +6 -2
  45. package/components/DataList/data-list-grid.css +7 -7
  46. package/components/DataList/data-list-grid.scss +1 -1
  47. package/components/DataList/data-list.css +12 -11
  48. package/components/DataList/data-list.scss +5 -4
  49. package/components/DescriptionList/description-list.css +7 -7
  50. package/components/DescriptionList/description-list.scss +7 -7
  51. package/components/Divider/divider.css +2 -2
  52. package/components/Divider/divider.scss +3 -3
  53. package/components/Drawer/drawer.css +15 -16
  54. package/components/Drawer/drawer.scss +2 -3
  55. package/components/Dropdown/dropdown.css +12 -10
  56. package/components/Dropdown/dropdown.scss +2 -0
  57. package/components/DualListSelector/dual-list-selector.css +1 -1
  58. package/components/DualListSelector/dual-list-selector.scss +1 -1
  59. package/components/EmptyState/empty-state.css +46 -52
  60. package/components/EmptyState/empty-state.scss +58 -57
  61. package/components/ExpandableSection/expandable-section.css +2 -0
  62. package/components/ExpandableSection/expandable-section.scss +2 -0
  63. package/components/Form/form.css +12 -12
  64. package/components/Form/form.scss +7 -7
  65. package/components/FormControl/form-control.css +2 -5
  66. package/components/FormControl/themes/dark/form-control.scss +2 -6
  67. package/components/Hint/hint.css +2 -2
  68. package/components/Hint/hint.scss +2 -2
  69. package/components/Label/label.css +43 -30
  70. package/components/Label/label.scss +49 -34
  71. package/components/LabelGroup/label-group.css +26 -22
  72. package/components/LabelGroup/label-group.scss +31 -26
  73. package/components/Login/login.css +11 -11
  74. package/components/Login/login.scss +10 -10
  75. package/components/Masthead/masthead.css +4 -4
  76. package/components/Masthead/masthead.scss +4 -4
  77. package/components/Menu/menu.css +9 -6
  78. package/components/Menu/menu.scss +34 -31
  79. package/components/MenuToggle/menu-toggle.css +3 -1
  80. package/components/MenuToggle/menu-toggle.scss +3 -1
  81. package/components/ModalBox/modal-box.css +9 -8
  82. package/components/ModalBox/modal-box.scss +11 -11
  83. package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  84. package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
  85. package/components/Nav/nav.css +1 -1
  86. package/components/Nav/nav.scss +2 -2
  87. package/components/NotificationDrawer/notification-drawer.css +3 -3
  88. package/components/NotificationDrawer/notification-drawer.scss +3 -3
  89. package/components/Page/page.css +71 -71
  90. package/components/Page/page.scss +12 -12
  91. package/components/Pagination/pagination.css +2 -2
  92. package/components/Popover/popover.css +25 -31
  93. package/components/Popover/popover.scss +27 -32
  94. package/components/Popover/themes/dark/popover.scss +2 -8
  95. package/components/Progress/progress.css +13 -10
  96. package/components/Progress/progress.scss +13 -10
  97. package/components/ProgressStepper/progress-stepper.css +5 -5
  98. package/components/ProgressStepper/progress-stepper.scss +5 -5
  99. package/components/SearchInput/search-input.css +4 -2
  100. package/components/SearchInput/search-input.scss +4 -2
  101. package/components/Select/select.css +1 -1
  102. package/components/Select/select.scss +1 -1
  103. package/components/Sidebar/sidebar.css +69 -26
  104. package/components/Sidebar/sidebar.scss +84 -27
  105. package/components/SimpleList/simple-list.css +1 -1
  106. package/components/SimpleList/simple-list.scss +2 -2
  107. package/components/Spinner/spinner.css +4 -4
  108. package/components/Spinner/spinner.scss +4 -4
  109. package/components/Table/table-grid.css +28 -28
  110. package/components/Table/table-scrollable.css +31 -26
  111. package/components/Table/table-scrollable.scss +33 -28
  112. package/components/Table/table-tree-view.css +14 -4
  113. package/components/Table/table-tree-view.scss +15 -0
  114. package/components/Table/table.css +7 -2
  115. package/components/Table/table.scss +9 -2
  116. package/components/Tabs/tabs.css +0 -4
  117. package/components/Tabs/tabs.scss +0 -7
  118. package/components/TextInputGroup/text-input-group.css +6 -4
  119. package/components/TextInputGroup/text-input-group.scss +6 -5
  120. package/components/Tile/tile.css +1 -1
  121. package/components/Tile/tile.scss +1 -1
  122. package/components/Timestamp/timestamp.css +3 -3
  123. package/components/Timestamp/timestamp.scss +3 -3
  124. package/components/Toolbar/toolbar.css +67 -39
  125. package/components/Toolbar/toolbar.scss +39 -5
  126. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  127. package/components/Tooltip/tooltip.css +7 -12
  128. package/components/Tooltip/tooltip.scss +6 -3
  129. package/components/TreeView/tree-view.css +7 -15
  130. package/components/TreeView/tree-view.scss +7 -18
  131. package/components/Wizard/wizard.css +16 -1
  132. package/components/Wizard/wizard.scss +20 -2
  133. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  134. package/docs/components/Accordion/examples/Accordion.md +12 -12
  135. package/docs/components/ActionList/examples/ActionList.md +6 -6
  136. package/docs/components/Alert/examples/Alert.md +19 -19
  137. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  138. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  139. package/docs/components/Avatar/examples/Avatar.md +11 -11
  140. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  141. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  142. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  143. package/docs/components/Badge/examples/Badge.md +5 -5
  144. package/docs/components/Banner/examples/Banner.md +8 -8
  145. package/docs/components/Brand/examples/Brand.md +9 -9
  146. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  147. package/docs/components/Button/examples/Button.md +35 -35
  148. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  149. package/docs/components/Card/examples/Card.md +139 -64
  150. package/docs/components/Check/examples/Check.md +15 -19
  151. package/docs/components/Chip/examples/Chip.md +70 -52
  152. package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
  153. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  154. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  155. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  156. package/docs/components/Content/examples/Content.md +37 -9
  157. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  158. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  159. package/docs/components/DataList/examples/DataList.md +187 -148
  160. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  161. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  162. package/docs/components/Divider/examples/Divider.md +10 -10
  163. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  164. package/docs/components/Drawer/examples/Drawer.md +43 -43
  165. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  166. package/docs/components/Dropdown/examples/Dropdown.md +123 -99
  167. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  168. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  169. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  170. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  171. package/docs/components/Form/examples/Form.md +64 -64
  172. package/docs/components/FormControl/examples/FormControl.md +20 -20
  173. package/docs/components/HelperText/examples/HelperText.md +12 -12
  174. package/docs/components/Hint/examples/Hint.md +7 -7
  175. package/docs/components/Icon/examples/Icon.md +10 -10
  176. package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
  177. package/docs/components/InputGroup/examples/InputGroup.md +10 -10
  178. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  179. package/docs/components/Label/examples/Label.md +1427 -746
  180. package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
  181. package/docs/components/List/examples/List.md +18 -18
  182. package/docs/components/LogViewer/examples/LogViewer.md +79 -73
  183. package/docs/components/Login/examples/Login.md +32 -32
  184. package/docs/components/Masthead/examples/masthead.md +9 -9
  185. package/docs/components/Menu/examples/Menu.md +82 -80
  186. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  187. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  188. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  189. package/docs/components/Nav/examples/Navigation.md +69 -69
  190. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  191. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  192. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  193. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  194. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  195. package/docs/components/Page/examples/Page.md +54 -54
  196. package/docs/components/Pagination/examples/Pagination.md +27 -27
  197. package/docs/components/Panel/examples/Panel.md +10 -10
  198. package/docs/components/Popover/examples/Popover.md +201 -144
  199. package/docs/components/Progress/examples/Progress.md +31 -60
  200. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  201. package/docs/components/Radio/examples/Radio.md +11 -11
  202. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  203. package/docs/components/Select/examples/Select.md +367 -313
  204. package/docs/components/Sidebar/examples/Sidebar.md +70 -14
  205. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  206. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  207. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  208. package/docs/components/Slider/examples/Slider.md +24 -24
  209. package/docs/components/Spinner/examples/Spinner.md +24 -24
  210. package/docs/components/Switch/examples/Switch.md +19 -19
  211. package/docs/components/TabContent/examples/TabContent.md +13 -13
  212. package/docs/components/Table/examples/Table.css +4 -0
  213. package/docs/components/Table/examples/Table.md +3163 -1712
  214. package/docs/components/Tabs/examples/Tabs.md +149 -149
  215. package/docs/components/TextInputGroup/examples/TextInputGroup.md +362 -280
  216. package/docs/components/Tile/examples/Tile.md +15 -15
  217. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  218. package/docs/components/Title/examples/Title.md +17 -17
  219. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  220. package/docs/components/Toolbar/examples/Toolbar.md +471 -378
  221. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  222. package/docs/components/TreeView/examples/TreeView.md +34 -34
  223. package/docs/components/Truncate/examples/Truncate.md +4 -4
  224. package/docs/components/Wizard/examples/Wizard.md +119 -127
  225. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  226. package/docs/demos/Alert/examples/Alert.md +13 -13
  227. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  228. package/docs/demos/Banner/examples/Banner.md +8 -9
  229. package/docs/demos/Card/examples/Card.md +219 -156
  230. package/docs/demos/CardView/examples/CardView.md +56 -29
  231. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  232. package/docs/demos/Dashboard/examples/Dashboard.md +51 -35
  233. package/docs/demos/DataList/examples/DataList.md +160 -111
  234. package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
  235. package/docs/demos/Drawer/examples/Drawer.md +24 -22
  236. package/docs/demos/Form/examples/BasicForms.md +28 -22
  237. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  238. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  239. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  240. package/docs/demos/Modal/examples/Modal.md +54 -66
  241. package/docs/demos/Nav/examples/Nav.md +47 -47
  242. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  243. package/docs/demos/Page/examples/Page.md +37 -37
  244. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  245. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +83 -67
  246. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  247. package/docs/demos/Table/examples/Table.md +2465 -478
  248. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  249. package/docs/demos/Toolbar/examples/Toolbar.md +1811 -177
  250. package/docs/demos/Wizard/examples/Wizard.md +289 -266
  251. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  252. package/docs/layouts/Flex/examples/Flex.md +98 -98
  253. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  254. package/docs/layouts/Grid/examples/Grid.md +9 -9
  255. package/docs/layouts/Level/examples/Level.md +5 -5
  256. package/docs/layouts/Split/examples/Split.md +7 -7
  257. package/docs/layouts/Stack/examples/Stack.md +6 -6
  258. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  259. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  260. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  261. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  262. package/docs/utilities/Display/examples/Display.md +11 -11
  263. package/docs/utilities/Flex/examples/Flex.md +34 -34
  264. package/docs/utilities/Float/examples/Float.md +4 -4
  265. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  266. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  267. package/docs/utilities/Text/examples/Text.md +27 -27
  268. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  269. package/layouts/Gallery/gallery.css +1 -1
  270. package/layouts/Gallery/gallery.scss +1 -1
  271. package/layouts/Grid/grid.css +7 -7
  272. package/layouts/Grid/grid.scss +2 -2
  273. package/package.json +59 -65
  274. package/patternfly-base-no-reset.css +23 -47
  275. package/patternfly-base.css +23 -47
  276. package/patternfly-no-reset.css +770 -652
  277. package/patternfly.css +770 -652
  278. package/patternfly.min.css +1 -1
  279. package/patternfly.min.css.map +1 -1
  280. package/sass-utilities/functions.scss +8 -24
  281. package/sass-utilities/mixins.scss +15 -39
  282. package/sass-utilities/scss-variables.scss +1 -1
  283. package/sass-utilities/themes/dark/scss-variables.scss +1 -1
  284. package/utilities/Spacing/spacing.scss +2 -2
  285. package/base/_shield-inheritable.scss +0 -69
  286. package/base/_shield-noninheritable.scss +0 -13
  287. package/base/patternfly-shield-inheritable.css +0 -66
  288. package/base/patternfly-shield-inheritable.scss +0 -4
  289. package/base/patternfly-shield-noninheritable.css +0 -9
  290. package/base/patternfly-shield-noninheritable.scss +0 -4
@@ -175,21 +175,77 @@ cssPrefix: pf-c-sidebar
175
175
 
176
176
  ```
177
177
 
178
+ ### Border
179
+
180
+ ```html
181
+ <div class="pf-c-sidebar pf-m-gutter">
182
+ <div class="pf-c-sidebar__main pf-m-border">
183
+ <div class="pf-c-sidebar__panel">Sidebar panel</div>
184
+ <div class="pf-c-sidebar__content">
185
+ <div class="pf-c-content">
186
+ <p>Default layout.</p>
187
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse dapibus nulla id augue dictum commodo. Donec mollis arcu massa, sollicitudin venenatis est rutrum vitae. Integer pulvinar ligula at augue mollis, ac pulvinar arcu semper. Maecenas nisi lorem, malesuada ac lectus nec, porta pretium neque. Ut convallis libero sit amet metus mattis, vel facilisis lorem malesuada. Duis consectetur ante sit amet magna efficitur, a interdum leo vulputate.</p>
188
+ <p>Praesent at odio nec sapien ultrices tincidunt in non mauris. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis consectetur nisl quis facilisis faucibus. Sed eu bibendum risus. Suspendisse porta euismod tortor, at elementum odio suscipit sed. Cras eget ultrices urna, ac feugiat lectus. Integer a pharetra velit, in imperdiet mi. Phasellus vel hendrerit velit. Vestibulum ut augue vitae erat vulputate bibendum a ut magna.</p>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+
194
+ ```
195
+
196
+ ### Padding on panel
197
+
198
+ ```html
199
+ <div class="pf-c-sidebar">
200
+ <div class="pf-c-sidebar__main">
201
+ <div class="pf-c-sidebar__panel pf-m-padding">Sidebar panel, with padding</div>
202
+ <div class="pf-c-sidebar__content">
203
+ <div class="pf-c-content">
204
+ <p>Default layout.</p>
205
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse dapibus nulla id augue dictum commodo. Donec mollis arcu massa, sollicitudin venenatis est rutrum vitae. Integer pulvinar ligula at augue mollis, ac pulvinar arcu semper. Maecenas nisi lorem, malesuada ac lectus nec, porta pretium neque. Ut convallis libero sit amet metus mattis, vel facilisis lorem malesuada. Duis consectetur ante sit amet magna efficitur, a interdum leo vulputate.</p>
206
+ <p>Praesent at odio nec sapien ultrices tincidunt in non mauris. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis consectetur nisl quis facilisis faucibus. Sed eu bibendum risus. Suspendisse porta euismod tortor, at elementum odio suscipit sed. Cras eget ultrices urna, ac feugiat lectus. Integer a pharetra velit, in imperdiet mi. Phasellus vel hendrerit velit. Vestibulum ut augue vitae erat vulputate bibendum a ut magna.</p>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+
212
+ ```
213
+
214
+ ### Padding on content
215
+
216
+ ```html
217
+ <div class="pf-c-sidebar">
218
+ <div class="pf-c-sidebar__main">
219
+ <div class="pf-c-sidebar__panel">Sidebar panel</div>
220
+ <div class="pf-c-sidebar__content pf-m-padding">
221
+ <div class="pf-c-content">
222
+ <p>Sidebar content, with padding</p>
223
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse dapibus nulla id augue dictum commodo. Donec mollis arcu massa, sollicitudin venenatis est rutrum vitae. Integer pulvinar ligula at augue mollis, ac pulvinar arcu semper. Maecenas nisi lorem, malesuada ac lectus nec, porta pretium neque. Ut convallis libero sit amet metus mattis, vel facilisis lorem malesuada. Duis consectetur ante sit amet magna efficitur, a interdum leo vulputate.</p>
224
+ <p>Praesent at odio nec sapien ultrices tincidunt in non mauris. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Duis consectetur nisl quis facilisis faucibus. Sed eu bibendum risus. Suspendisse porta euismod tortor, at elementum odio suscipit sed. Cras eget ultrices urna, ac feugiat lectus. Integer a pharetra velit, in imperdiet mi. Phasellus vel hendrerit velit. Vestibulum ut augue vitae erat vulputate bibendum a ut magna.</p>
225
+ </div>
226
+ </div>
227
+ </div>
228
+ </div>
229
+
230
+ ```
231
+
178
232
  ## Documentation
179
233
 
180
234
  ### Usage
181
235
 
182
- | Class | Applied to | Outcome |
183
- | ------------------------------------------------------------------ | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
184
- | `.pf-c-sidebar` | `<div>` | Initiates the sidebar component. **Required** |
185
- | `.pf-c-sidebar__main` | `<div>` | Initiates the sidebar main element. **Required** |
186
- | `.pf-c-sidebar__panel` | `<div>` | Initiates the sidebar panel element. **Required** |
187
- | `.pf-c-sidebar__content` | `<div>` | Initiates the sidebar content element. **Required** |
188
- | `.pf-m-gutter` | `.pf-c-sidebar` | Modifies the sidebar component to add a gutter between the panel and content. |
189
- | `.pf-m-stack` | `.pf-c-sidebar` | Modifies the sidebar to stack the panel on top of the content. |
190
- | `.pf-m-split` | `.pf-c-sidebar` | Modifies the sidebar to position the panel and content side by side. |
191
- | `.pf-m-panel-right` | `.pf-c-sidebar` | Modifies the sidebar to place the panel to the right of the content. |
192
- | `.pf-m-sticky` | `.pf-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
193
- | `.pf-m-static` | `.pf-c-sidebar__panel` | Modifies the panel to be positioned statically. |
194
- | `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** does not apply when the panel is stacked on top of the content. |
195
- | `.pf-m-no-background` | `.pf-c-sidebar`, `.pf-c-sidebar__panel, .pf-c-sidebar__content` | Modifies the element to have a transparent background. |
236
+ | Class | Applied to | Outcome |
237
+ | -- | -- | -- |
238
+ | `.pf-c-sidebar` | `<div>` | Initiates the sidebar component. **Required** |
239
+ | `.pf-c-sidebar__main` | `<div>` | Initiates the sidebar main element. **Required** |
240
+ | `.pf-c-sidebar__panel` | `<div>` | Initiates the sidebar panel element. **Required** |
241
+ | `.pf-c-sidebar__content` | `<div>` | Initiates the sidebar content element. **Required** |
242
+ | `.pf-m-border` | `.pf-c-sidebar__main` | Modifies the sidebar component to add a border between the panel and content. |
243
+ | `.pf-m-padding` | `.pf-c-sidebar__panel`, `.pf-c-sidebar__content` | Modifies the sidebar component to add a padding to panel and/or content. |
244
+ | `.pf-m-gutter` | `.pf-c-sidebar` | Modifies the sidebar component to add a gutter between the panel and content. |
245
+ | `.pf-m-stack` | `.pf-c-sidebar` | Modifies the sidebar to stack the panel on top of the content. |
246
+ | `.pf-m-split` | `.pf-c-sidebar` | Modifies the sidebar to position the panel and content side by side. |
247
+ | `.pf-m-panel-right` | `.pf-c-sidebar` | Modifies the sidebar to place the panel to the right of the content. |
248
+ | `.pf-m-sticky` | `.pf-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
249
+ | `.pf-m-static` | `.pf-c-sidebar__panel` | Modifies the panel to be positioned statically. |
250
+ | `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** does not apply when the panel is stacked on top of the content. |
251
+ | `.pf-m-no-background` | `.pf-c-sidebar`, `.pf-c-sidebar__panel, .pf-c-sidebar__content` | Modifies the element to have a transparent background. |
@@ -8,7 +8,7 @@ cssPrefix: pf-c-simple-list
8
8
 
9
9
  ```html
10
10
  <div class="pf-c-simple-list">
11
- <ul class="pf-c-simple-list__list">
11
+ <ul class="pf-c-simple-list__list" role="list">
12
12
  <li class="pf-c-simple-list__item">
13
13
  <button
14
14
  class="pf-c-simple-list__item-link pf-m-current"
@@ -30,7 +30,7 @@ cssPrefix: pf-c-simple-list
30
30
 
31
31
  ```html
32
32
  <div class="pf-c-simple-list">
33
- <ul class="pf-c-simple-list__list">
33
+ <ul class="pf-c-simple-list__list" role="list">
34
34
  <li class="pf-c-simple-list__item">
35
35
  <a
36
36
  class="pf-c-simple-list__item-link pf-m-current"
@@ -55,7 +55,7 @@ cssPrefix: pf-c-simple-list
55
55
  <div class="pf-c-simple-list">
56
56
  <section class="pf-c-simple-list__section">
57
57
  <h2 class="pf-c-simple-list__title">Title</h2>
58
- <ul class="pf-c-simple-list__list">
58
+ <ul class="pf-c-simple-list__list" role="list">
59
59
  <li class="pf-c-simple-list__item">
60
60
  <button
61
61
  class="pf-c-simple-list__item-link pf-m-current"
@@ -75,7 +75,7 @@ cssPrefix: pf-c-simple-list
75
75
  </section>
76
76
  <section class="pf-c-simple-list__section">
77
77
  <h2 class="pf-c-simple-list__title">Title</h2>
78
- <ul class="pf-c-simple-list__list">
78
+ <ul class="pf-c-simple-list__list" role="list">
79
79
  <li class="pf-c-simple-list__item">
80
80
  <button class="pf-c-simple-list__item-link" type="button">List item 1</button>
81
81
  </li>
@@ -98,18 +98,18 @@ cssPrefix: pf-c-simple-list
98
98
 
99
99
  ### Accessibility
100
100
 
101
- | Attribute | Applied to | Outcome |
102
- | -------------- | ------------------------------- | ------------------------------------------------------------------------------------- |
101
+ | Attribute | Applied to | Outcome |
102
+ | -- | -- | -- |
103
103
  | `tabindex="0"` | `a.pf-c-simple-list__item-link` | Inserts the link into the tab order of the page so that it is focusable. **Required** |
104
104
 
105
105
  ### Usage
106
106
 
107
- | Class | Applied to | Outcome |
108
- | ------------------------------ | ------------------------------ | ----------------------------------------------------------------------------------------- |
109
- | `.pf-c-simple-list` | `<div>` | Initiates a simple list. |
110
- | `.pf-c-simple-list__section` | `<section>` | Initiates a simple list section. |
111
- | `.pf-c-simple-list__title` | `<h2>` | Initiates a simple list title. |
112
- | `.pf-c-simple-list__list` | `<ul>` | Initiates a simple list unordered list. |
113
- | `.pf-c-simple-list__item` | `<li>` | Initiates a simple list item. |
114
- | `.pf-c-simple-list__item-link` | `<button>`, `<a>` | Initiates a simple list item link. It can be a button or a link depending on the context. |
115
- | `.pf-m-current` | `.pf-c-simple-list__item-link` | Modifies the simple list item link for the current state. |
107
+ | Class | Applied to | Outcome |
108
+ | -- | -- | -- |
109
+ | `.pf-c-simple-list` | `<div>` | Initiates a simple list. |
110
+ | `.pf-c-simple-list__section` | `<section>` | Initiates a simple list section. |
111
+ | `.pf-c-simple-list__title` | `<h2>` | Initiates a simple list title. |
112
+ | `.pf-c-simple-list__list` | `<ul>` | Initiates a simple list unordered list. |
113
+ | `.pf-c-simple-list__item` | `<li>` | Initiates a simple list item. |
114
+ | `.pf-c-simple-list__item-link` | `<button>`, `<a>` | Initiates a simple list item link. It can be a button or a link depending on the context. |
115
+ | `.pf-m-current` | `.pf-c-simple-list__item-link` | Modifies the simple list item link for the current state. |
@@ -90,11 +90,11 @@ Small circle
90
90
 
91
91
  ### Usage
92
92
 
93
- | Class | Applied to | Outcome |
94
- | ---------------------------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------------- |
95
- | `.pf-c-skeleton` | `<div>` | Initiates the skeleton component. **Required** |
96
- | `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]` | `.pf-c-skeleton` | Modifies the width of the skeleton. The default is 100%. |
97
- | `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-c-skeleton` | Modifies the height of the skeleton. The default is the inherited font size. |
98
- | `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]` | `.pf-c-skeleton` | Modifies the skeleton height to match the height of PatternFly's text elements. |
99
- | `.pf-m-circle` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a circle. Use a width modifier to specify the size. |
100
- | `.pf-m-square` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a square. Use a width modifier to specify the size. |
93
+ | Class | Applied to | Outcome |
94
+ | -- | -- | -- |
95
+ | `.pf-c-skeleton` | `<div>` | Initiates the skeleton component. **Required** |
96
+ | `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]` | `.pf-c-skeleton` | Modifies the width of the skeleton. The default is 100%. |
97
+ | `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-c-skeleton` | Modifies the height of the skeleton. The default is the inherited font size. |
98
+ | `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]` | `.pf-c-skeleton` | Modifies the skeleton height to match the height of PatternFly's text elements. |
99
+ | `.pf-m-circle` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a circle. Use a width modifier to specify the size. |
100
+ | `.pf-m-square` | `.pf-c-skeleton` | Modifies the border radius of the skeleton to be a square. Use a width modifier to specify the size. |
@@ -139,12 +139,12 @@ When using `.pf-c-skip-to-content` you must provide an `href` attribute whose va
139
139
 
140
140
  ### Accessibility
141
141
 
142
- | Attribute | Applied to | Outcome |
143
- | ------------------------------- | ----------------------- | ---------------------------------------------------------- |
142
+ | Attribute | Applied to | Outcome |
143
+ | -- | -- | -- |
144
144
  | `href="[id of main container]"` | `.pf-c-skip-to-content` | Sends focus to the primary content container. **Required** |
145
145
 
146
146
  ### Usage
147
147
 
148
- | Class | Applied to | Outcome |
149
- | ----------------------- | ---------- | ----------------------------------- |
150
- | `.pf-c-skip-to-content` | `<a>` | initiates the skip to content link. |
148
+ | Class | Applied to | Outcome |
149
+ | -- | -- | -- |
150
+ | `.pf-c-skip-to-content` | `<a>` | initiates the skip to content link. |
@@ -581,30 +581,30 @@ cssPrefix: pf-c-slider
581
581
 
582
582
  ### Accessibility
583
583
 
584
- | Attribute | Applied to | Outcome |
585
- | ------------------------- | ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
586
- | `role="slider"` | `.pf-c-slider__thumb` | Identifies the element as a slider. **Required** |
587
- | `tabindex="0"` | `.pf-c-slider__thumb` | Includes the slider thumb in the page tab sequence. **Note:** only for use with non-disabled slider. **Required** |
588
- | `aria-disabled="true"` | `.pf-c-slider.pf-m-disabled .pf-c-slider__thumb` | Indicates that the slider thumb is disabled. **Required** |
589
- | `aria-valuemin="[value]"` | `.pf-c-slider__thumb` | Specifies the minimum value of the slider. **Required** |
590
- | `aria-valuemax="[value]"` | `.pf-c-slider__thumb` | Specifies the maximum value of the slider. **Required** |
591
- | `aria-valuenow="[value]"` | `.pf-c-slider__thumb` | Specifies the current value of the slider. **Required** |
584
+ | Attribute | Applied to | Outcome |
585
+ | -- | -- | -- |
586
+ | `role="slider"` | `.pf-c-slider__thumb` | Identifies the element as a slider. **Required** |
587
+ | `tabindex="0"` | `.pf-c-slider__thumb` | Includes the slider thumb in the page tab sequence. **Note:** only for use with non-disabled slider. **Required** |
588
+ | `aria-disabled="true"` | `.pf-c-slider.pf-m-disabled .pf-c-slider__thumb` | Indicates that the slider thumb is disabled. **Required** |
589
+ | `aria-valuemin="[value]"` | `.pf-c-slider__thumb` | Specifies the minimum value of the slider. **Required** |
590
+ | `aria-valuemax="[value]"` | `.pf-c-slider__thumb` | Specifies the maximum value of the slider. **Required** |
591
+ | `aria-valuenow="[value]"` | `.pf-c-slider__thumb` | Specifies the current value of the slider. **Required** |
592
592
 
593
593
  ### Usage
594
594
 
595
- | Class | Applied to | Outcome |
596
- | -------------------------- | --------------------- | -------------------------------------------------------------------------- |
597
- | `.pf-c-slider` | `<div>` | Initiates the slider component. **Required** |
598
- | `.pf-c-slider__main` | `<div>` | Initiates the slider main element. **Required** |
599
- | `.pf-c-slider__rail` | `<div>` | Initiates the slider rail. **Required** |
600
- | `.pf-c-slider__rail-track` | `<div>` | Initiates the slider rail track. **Required** |
601
- | `.pf-c-slider__steps` | `<div>` | Initiates the slider steps. |
602
- | `.pf-c-slider__step` | `<div>` | Initiates a slider step. |
603
- | `.pf-c-slider__step-tick` | `<div>` | Initiates a slider step tick. |
604
- | `.pf-c-slider__step-label` | `<div>` | Initiates a slider step label. |
605
- | `.pf-c-slider__thumb` | `<div>` | Initiates the slider thumb. **Required** |
606
- | `.pf-c-slider__value` | `<div>` | Initiates the slider value. |
607
- | `.pf-c-slider__actions` | `<div>` | Initiates the slider actions. |
608
- | `.pf-m-disabled` | `.pf-c-slider` | Modifies the slider for the disabled state. |
609
- | `.pf-m-floating` | `.pf-c-slider__thumb` | Modifies the slider value to float above the thumb. |
610
- | `--pf-c-slider--value` | `.pf-c-slider` | Applies appropriate slider styles based on the current value. **Required** |
595
+ | Class | Applied to | Outcome |
596
+ | -- | -- | -- |
597
+ | `.pf-c-slider` | `<div>` | Initiates the slider component. **Required** |
598
+ | `.pf-c-slider__main` | `<div>` | Initiates the slider main element. **Required** |
599
+ | `.pf-c-slider__rail` | `<div>` | Initiates the slider rail. **Required** |
600
+ | `.pf-c-slider__rail-track` | `<div>` | Initiates the slider rail track. **Required** |
601
+ | `.pf-c-slider__steps` | `<div>` | Initiates the slider steps. |
602
+ | `.pf-c-slider__step` | `<div>` | Initiates a slider step. |
603
+ | `.pf-c-slider__step-tick` | `<div>` | Initiates a slider step tick. |
604
+ | `.pf-c-slider__step-label` | `<div>` | Initiates a slider step label. |
605
+ | `.pf-c-slider__thumb` | `<div>` | Initiates the slider thumb. **Required** |
606
+ | `.pf-c-slider__value` | `<div>` | Initiates the slider value. |
607
+ | `.pf-c-slider__actions` | `<div>` | Initiates the slider actions. |
608
+ | `.pf-m-disabled` | `.pf-c-slider` | Modifies the slider for the disabled state. |
609
+ | `.pf-m-floating` | `.pf-c-slider__thumb` | Modifies the slider value to float above the thumb. |
610
+ | `--pf-c-slider--value` | `.pf-c-slider` | Applies appropriate slider styles based on the current value. **Required** |
@@ -134,12 +134,12 @@ An inline spinner inherits its font-size, so its size will match the content aro
134
134
 
135
135
  ### Accessibility
136
136
 
137
- | Attribute | Applied to | Outcome |
138
- | ------------------------------------------------ | --------------- | ------------------------------------------------------------------------------------------------------------ |
139
- | `role="progressbar"` | `.pf-c-spinner` | Indicates to assistive technologies that this is an indeterminate progress indicator. |
140
- | `aria-label="Loading..."` | `.pf-c-spinner` | Provides an accessible name for the spinner. **Note: one of `aria-label` or `aria-labelledby` is required.** |
141
- | `aria-labelledby="[id of spinner label]"` | `.pf-c-spinner` | Gives the spinner an accessible name by referring to the element that labels the spinner. |
142
- | `aria-describedby="[id of spinner description]"` | `.pf-c-spinner` | Gives the spinner an accessible description by referring to the element that describes the spinner. |
137
+ | Attribute | Applied to | Outcome |
138
+ | -- | -- | -- |
139
+ | `role="progressbar"` | `.pf-c-spinner` | Indicates to assistive technologies that this is an indeterminate progress indicator. |
140
+ | `aria-label="Loading..."` | `.pf-c-spinner` | Provides an accessible name for the spinner. **Note: one of `aria-label` or `aria-labelledby` is required.** |
141
+ | `aria-labelledby="[id of spinner label]"` | `.pf-c-spinner` | Gives the spinner an accessible name by referring to the element that labels the spinner. |
142
+ | `aria-describedby="[id of spinner description]"` | `.pf-c-spinner` | Gives the spinner an accessible description by referring to the element that describes the spinner. |
143
143
 
144
144
  Note: If the spinner is showing that loading of a particular region of a page is in process, the author should use `aria-describedby` to point to the status, and set the `aria-busy` attribute to `true` on the region until it is finished loading.
145
145
 
@@ -147,27 +147,27 @@ Note: A [live region](https://developer.mozilla.org/en-US/docs/Web/Accessibility
147
147
 
148
148
  ### Usage
149
149
 
150
- | Class | Applied to | Outcome |
151
- | -------------------------- | --------------- | -------------------------------------------------------------------------------- |
152
- | `.pf-c-spinner` | `<svg>` | Creates a spinner component. The default is an extra large spinner. **Required** |
153
- | `.pf-c-spinner__path` | `<circle>` | Creates a spinner circle component. **Required** |
154
- | `--pf-c-spinner--diameter` | `.pf-c-spinner` | Modifies the value for `--pf-c-spinner--diameter` declaration. |
150
+ | Class | Applied to | Outcome |
151
+ | -- | -- | -- |
152
+ | `.pf-c-spinner` | `<svg>` | Creates a spinner component. The default is an extra large spinner. **Required**|
153
+ | `.pf-c-spinner__path` | `<circle>` | Creates a spinner circle component. **Required**|
154
+ | `--pf-c-spinner--diameter` | `.pf-c-spinner` | Modifies the value for `--pf-c-spinner--diameter` declaration. |
155
155
 
156
156
  ### Usage (legacy)
157
157
 
158
- | Class | Applied to | Outcome |
159
- | -------------------------- | ---------- | -------------------------------------------------------------------------------- |
160
- | `.pf-c-spinner` | `<span>` | Creates a spinner component. The default is an extra large spinner. **Required** |
161
- | `.pf-c-spinner__clipper` | `<span>` | Creates the spinning line. **Required** |
162
- | `.pf-c-spinner__lead-ball` | `<span>` | Rounds out the beginning of the spinning line. **Required** |
163
- | `.pf-c-spinner__tail-ball` | `<span>` | Rounds out the end of the spinning line. **Required** |
158
+ | Class | Applied to | Outcome |
159
+ | -- | -- | -- |
160
+ | `.pf-c-spinner` | `<span>` | Creates a spinner component. The default is an extra large spinner. **Required**|
161
+ | `.pf-c-spinner__clipper` | `<span>` | Creates the spinning line. **Required**|
162
+ | `.pf-c-spinner__lead-ball` | `<span>` | Rounds out the beginning of the spinning line. **Required**|
163
+ | `.pf-c-spinner__tail-ball` | `<span>` | Rounds out the end of the spinning line. **Required**|
164
164
 
165
165
  ### Modifiers
166
166
 
167
- | Class | Applied to | Outcome |
168
- | -------------- | --------------- | ------------------------------- |
169
- | `.pf-m-sm` | `.pf-c-spinner` | Creates a small spinner. |
170
- | `.pf-m-md` | `.pf-c-spinner` | Creates a medium spinner. |
171
- | `.pf-m-lg` | `.pf-c-spinner` | Creates a large spinner. |
172
- | `.pf-m-xl` | `.pf-c-spinner` | Creates an extra-large spinner. |
173
- | `.pf-m-inline` | `.pf-c-spinner` | Creates an inline spinner. |
167
+ | Class | Applied to | Outcome |
168
+ | -- | -- | -- |
169
+ | `.pf-m-sm` | `.pf-c-spinner` | Creates a small spinner. |
170
+ | `.pf-m-md` | `.pf-c-spinner` | Creates a medium spinner. |
171
+ | `.pf-m-lg` | `.pf-c-spinner` | Creates a large spinner. |
172
+ | `.pf-m-xl` | `.pf-c-spinner` | Creates an extra-large spinner. |
173
+ | `.pf-m-inline` | `.pf-c-spinner` | Creates an inline spinner. |
@@ -275,25 +275,25 @@ Use checkbox if your user has to perform additional steps for changes to become
275
275
 
276
276
  ### Accessibility
277
277
 
278
- | Attribute | Applied to | Outcome |
279
- | --------------------------------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
280
- | `aria-labelledby="..."` or `aria-label="..."` | `.pf-c-switch__input` | Indicates the action triggered by the switch. If an additional text label is included with the switch besides `.pf-c-switch__label.pf-m-on`, then `aria-labelledby` can reference the `id` of this text, or this text can be used as the value for `aria-label`. If the text included for `.pf-c-switch__label.pf-m-on` provides additional meaning to the primary label that's referenced, then it can also be represented as part of the `aria-labelledby` or `aria-label` attribute. **Required** |
281
- | `for` | `<label>` | Each `<label>` must have a `for` attribute that matches its input id. **Required** |
282
- | `id` | `<input type="checkbox">` | Each `<input>` must have an `id` attribute that matches its label's `for` value. **Required** |
283
- | `id` | `.pf-c-switch__label` | Each `.pf-c-switch__label` must have an `id` attribute that matches the `aria-labelledby` on `.pf-c-switch__input`. |
284
- | `checked` | `.pf-c-switch__input` | Indicates that the input is checked |
285
- | `disabled` | `.pf-c-switch__input` | Indicates that the input is disabled |
286
- | `aria-hidden="true"` | `.pf-c-switch__label` | Hides the text from the screen reader. |
278
+ | Attribute | Applied to | Outcome |
279
+ | -- | -- | -- |
280
+ | `aria-labelledby="..."` or `aria-label="..."` | `.pf-c-switch__input` | Indicates the action triggered by the switch. If an additional text label is included with the switch besides `.pf-c-switch__label.pf-m-on`, then `aria-labelledby` can reference the `id` of this text, or this text can be used as the value for `aria-label`. If the text included for `.pf-c-switch__label.pf-m-on` provides additional meaning to the primary label that's referenced, then it can also be represented as part of the `aria-labelledby` or `aria-label` attribute. **Required** |
281
+ | `for` | `<label>` | Each `<label>` must have a `for` attribute that matches its input id. **Required** |
282
+ | `id` | `<input type="checkbox">` | Each `<input>` must have an `id` attribute that matches its label's `for` value. **Required** |
283
+ | `id` | `.pf-c-switch__label` | Each `.pf-c-switch__label` must have an `id` attribute that matches the `aria-labelledby` on `.pf-c-switch__input`. |
284
+ | `checked` | `.pf-c-switch__input` | Indicates that the input is checked |
285
+ | `disabled` | `.pf-c-switch__input` | Indicates that the input is disabled |
286
+ | `aria-hidden="true"` | `.pf-c-switch__label` | Hides the text from the screen reader. |
287
287
 
288
288
  ### Usage
289
289
 
290
- | Class | Applied to | Outcome |
291
- | --------------------------- | ------------------------- | ---------------------------------------------------------------------------------------------- |
292
- | `.pf-c-switch` | `<label>` | Initiates a switch. **Required** |
293
- | `.pf-c-switch__input` | `<input type="checkbox">` | Hide the checkbox inside the switch. **Required** |
294
- | `.pf-c-switch__toggle` | `<span>` | Initiates the toggle inside the switch. **Required** |
295
- | `.pf-c-switch__toggle-icon` | `<span>` | Initiates the switch toggle icon wrapper. **Required when the switch is used without a label** |
296
- | `.pf-c-switch__label` | `<span>` | Initiates a label inside the switch. |
297
- | `.pf-m-on` | `.pf-c-switch__label` | Modifies the switch label to display the on message. |
298
- | `.pf-m-off` | `.pf-c-switch__label` | Modifies the switch label to display the off message. |
299
- | `.pf-m-reverse` | `.pf-c-switch` | Positions the switch toggle to the right of the label. |
290
+ | Class | Applied to | Outcome |
291
+ | -- | -- | -- |
292
+ | `.pf-c-switch` | `<label>` | Initiates a switch. **Required** |
293
+ | `.pf-c-switch__input` | `<input type="checkbox">` | Hide the checkbox inside the switch. **Required** |
294
+ | `.pf-c-switch__toggle` | `<span>` | Initiates the toggle inside the switch. **Required** |
295
+ | `.pf-c-switch__toggle-icon` | `<span>` | Initiates the switch toggle icon wrapper. **Required when the switch is used without a label** |
296
+ | `.pf-c-switch__label` | `<span>` | Initiates a label inside the switch. |
297
+ | `.pf-m-on` | `.pf-c-switch__label` | Modifies the switch label to display the on message. |
298
+ | `.pf-m-off` | `.pf-c-switch__label` | Modifies the switch label to display the off message. |
299
+ | `.pf-m-reverse` | `.pf-c-switch` | Positions the switch toggle to the right of the label. |
@@ -135,19 +135,19 @@ Tab content should be used with the [tabs component](/components/tabs).
135
135
 
136
136
  ### Accessibility
137
137
 
138
- | Attribute | Applied to | Outcome |
139
- | ------------------------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
140
- | `role="tabpanel"` | `.pf-c-tab-content` | Indicates that the element serves as a container for a set of tabs. **Required** |
141
- | `aria-labelledby=[ID of tab element]` | `.pf-c-tab-content` | Provides an accessible name for the tab panel by referring to the tab element that controls it. **Required** |
142
- | `id=[ID of tab panel]` | `.pf-c-tab-content` | Provides an ID for the tab panel, and should be used as the value of `aria-controls` on the tab element that controls the panel. **Required** |
143
- | `hidden` | `.pf-c-tab-content` | Indicates that the tab panel is not visible. **Required on all but the active tab panel** |
144
- | `tabindex="0"` | `.pf-c-tab-content` | Puts the tab panel in the page tab sequence and facilitates movement to panel content for assistive technology users. **Required** |
138
+ | Attribute | Applied to | Outcome |
139
+ | -- | -- | -- |
140
+ | `role="tabpanel"` | `.pf-c-tab-content` | Indicates that the element serves as a container for a set of tabs. **Required** |
141
+ | `aria-labelledby=[ID of tab element]` | `.pf-c-tab-content` | Provides an accessible name for the tab panel by referring to the tab element that controls it. **Required**
142
+ | `id=[ID of tab panel]` | `.pf-c-tab-content` | Provides an ID for the tab panel, and should be used as the value of `aria-controls` on the tab element that controls the panel. **Required**
143
+ | `hidden` | `.pf-c-tab-content` | Indicates that the tab panel is not visible. **Required on all but the active tab panel**
144
+ | `tabindex="0"` | `.pf-c-tab-content` | Puts the tab panel in the page tab sequence and facilitates movement to panel content for assistive technology users. **Required**
145
145
 
146
146
  ### Usage
147
147
 
148
- | Class | Applied to | Outcome |
149
- | ------------------------- | ------------------------- | ---------------------------------------------------- |
150
- | `.pf-c-tab-content` | `<section>` | Initiates the tab content component. **Required** |
151
- | `.pf-c-tab-content__body` | `<div>` | Initiates the tab content body component. |
152
- | `.pf-m-padding` | `.pf-c-tab-content__body` | Modifies the tab content body component padding. |
153
- | `.pf-m-light-300` | `.pf-c-tab-content` | Modifies the tab content component background color. |
148
+ | Class | Applied to | Outcome |
149
+ | -- | -- | -- |
150
+ | `.pf-c-tab-content` | `<section>` | Initiates the tab content component. **Required** |
151
+ | `.pf-c-tab-content__body` | `<div>` | Initiates the tab content body component. |
152
+ | `.pf-m-padding` | `.pf-c-tab-content__body` | Modifies the tab content body component padding. |
153
+ | `.pf-m-light-300` | `.pf-c-tab-content` | Modifies the tab content component background color. |
@@ -9,6 +9,10 @@
9
9
  top: -18px;
10
10
  }
11
11
 
12
+ #ws-core-c-table-sticky-header .ws-preview-html {
13
+ height: 300px;
14
+ }
15
+
12
16
  #ws-core-c-table-sticky-columns-and-header .ws-preview-html {
13
17
  height: 600px;
14
18
  }