@patternfly/patternfly 5.0.0-alpha.2 → 5.0.0-alpha.21

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 (224) hide show
  1. package/README.md +1 -1
  2. package/RELEASE-NOTES.md +47 -0
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/pficon/pficon.scss +6 -0
  5. package/assets/pficon/pficon.woff +0 -0
  6. package/assets/pficon/pficon.woff2 +0 -0
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/patternfly-common.css +0 -10
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/components/Accordion/accordion.css +2 -0
  13. package/components/Accordion/accordion.scss +2 -0
  14. package/components/AppLauncher/app-launcher.css +2 -0
  15. package/components/AppLauncher/app-launcher.scss +2 -0
  16. package/components/Breadcrumb/breadcrumb.css +2 -0
  17. package/components/Breadcrumb/breadcrumb.scss +2 -0
  18. package/components/CalendarMonth/calendar-month.css +1 -1
  19. package/components/CalendarMonth/calendar-month.scss +1 -1
  20. package/components/Card/card.css +9 -12
  21. package/components/Card/card.scss +11 -17
  22. package/components/ChipGroup/chip-group.css +27 -17
  23. package/components/ChipGroup/chip-group.scss +36 -22
  24. package/components/Content/content.css +6 -0
  25. package/components/Content/content.scss +8 -0
  26. package/components/ContextSelector/context-selector.css +5 -1
  27. package/components/ContextSelector/context-selector.scss +6 -2
  28. package/components/DataList/data-list.css +2 -1
  29. package/components/DataList/data-list.scss +2 -1
  30. package/components/Drawer/drawer.css +13 -14
  31. package/components/Drawer/drawer.scss +0 -1
  32. package/components/Dropdown/dropdown.css +27 -10
  33. package/components/Dropdown/dropdown.scss +22 -0
  34. package/components/EmptyState/empty-state.css +46 -52
  35. package/components/EmptyState/empty-state.scss +58 -57
  36. package/components/ExpandableSection/expandable-section.css +2 -0
  37. package/components/ExpandableSection/expandable-section.scss +2 -0
  38. package/components/FormControl/form-control.css +1 -1
  39. package/components/FormControl/themes/dark/form-control.scss +1 -1
  40. package/components/InputGroup/input-group.css +14 -0
  41. package/components/InputGroup/input-group.scss +9 -0
  42. package/components/InputGroup/themes/dark/input-group.scss +8 -0
  43. package/components/Label/label.css +2 -0
  44. package/components/Label/label.scss +2 -0
  45. package/components/LabelGroup/label-group.css +26 -22
  46. package/components/LabelGroup/label-group.scss +31 -26
  47. package/components/Login/login.css +1 -1
  48. package/components/Menu/menu.css +7 -0
  49. package/components/Menu/menu.scss +8 -0
  50. package/components/MenuToggle/menu-toggle.css +2 -0
  51. package/components/MenuToggle/menu-toggle.scss +2 -0
  52. package/components/ModalBox/modal-box.css +9 -8
  53. package/components/ModalBox/modal-box.scss +11 -11
  54. package/components/Page/page.css +60 -60
  55. package/components/Pagination/pagination.css +122 -2
  56. package/components/Pagination/pagination.scss +24 -1
  57. package/components/Popover/popover.css +2 -7
  58. package/components/Popover/themes/dark/popover.scss +2 -8
  59. package/components/Progress/progress.css +5 -2
  60. package/components/Progress/progress.scss +5 -2
  61. package/components/SearchInput/search-input.css +2 -0
  62. package/components/SearchInput/search-input.scss +2 -0
  63. package/components/Slider/slider.css +0 -7
  64. package/components/Slider/slider.scss +0 -9
  65. package/components/Table/table-grid.css +28 -28
  66. package/components/Table/table-tree-view.css +4 -4
  67. package/components/Table/table.css +4 -0
  68. package/components/Table/table.scss +4 -0
  69. package/components/Tabs/tabs.css +0 -4
  70. package/components/Tabs/tabs.scss +0 -7
  71. package/components/TextInputGroup/text-input-group.css +4 -2
  72. package/components/TextInputGroup/text-input-group.scss +4 -3
  73. package/components/Toolbar/toolbar.css +65 -37
  74. package/components/Toolbar/toolbar.scss +37 -3
  75. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  76. package/components/Tooltip/tooltip.css +7 -12
  77. package/components/Tooltip/tooltip.scss +6 -3
  78. package/components/TreeView/tree-view.css +7 -15
  79. package/components/TreeView/tree-view.scss +7 -18
  80. package/components/Wizard/wizard.css +2 -0
  81. package/components/Wizard/wizard.scss +2 -0
  82. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  83. package/docs/components/Accordion/examples/Accordion.md +12 -12
  84. package/docs/components/ActionList/examples/ActionList.md +6 -6
  85. package/docs/components/Alert/examples/Alert.md +19 -19
  86. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  87. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  88. package/docs/components/Avatar/examples/Avatar.md +11 -11
  89. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  90. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  91. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  92. package/docs/components/Badge/examples/Badge.md +5 -5
  93. package/docs/components/Banner/examples/Banner.md +8 -8
  94. package/docs/components/Brand/examples/Brand.md +9 -9
  95. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  96. package/docs/components/Button/examples/Button.md +35 -35
  97. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  98. package/docs/components/Card/examples/Card.md +61 -44
  99. package/docs/components/Check/examples/Check.md +15 -19
  100. package/docs/components/Chip/examples/Chip.md +13 -13
  101. package/docs/components/ChipGroup/examples/ChipGroup.md +15 -344
  102. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  103. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  104. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  105. package/docs/components/Content/examples/Content.md +37 -9
  106. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  107. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  108. package/docs/components/DataList/examples/DataList.md +187 -148
  109. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  110. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  111. package/docs/components/Divider/examples/Divider.md +10 -10
  112. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  113. package/docs/components/Drawer/examples/Drawer.md +43 -43
  114. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  115. package/docs/components/Dropdown/examples/Dropdown.md +311 -71
  116. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  117. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  118. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  119. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  120. package/docs/components/Form/examples/Form.md +64 -64
  121. package/docs/components/FormControl/examples/FormControl.md +20 -20
  122. package/docs/components/HelperText/examples/HelperText.md +12 -12
  123. package/docs/components/Hint/examples/Hint.md +7 -7
  124. package/docs/components/Icon/examples/Icon.md +10 -10
  125. package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
  126. package/docs/components/InputGroup/examples/InputGroup.md +10 -9
  127. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  128. package/docs/components/Label/examples/Label.md +31 -31
  129. package/docs/components/LabelGroup/examples/LabelGroup.md +24 -36
  130. package/docs/components/List/examples/List.md +18 -18
  131. package/docs/components/LogViewer/examples/LogViewer.md +69 -69
  132. package/docs/components/Login/examples/Login.md +32 -32
  133. package/docs/components/Masthead/examples/masthead.md +9 -9
  134. package/docs/components/Menu/examples/Menu.md +82 -80
  135. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  136. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  137. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  138. package/docs/components/Nav/examples/Navigation.md +69 -69
  139. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  140. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  141. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  142. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  143. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  144. package/docs/components/Page/examples/Page.md +54 -54
  145. package/docs/components/Pagination/examples/Pagination.md +129 -30
  146. package/docs/components/Panel/examples/Panel.md +10 -10
  147. package/docs/components/Popover/examples/Popover.md +34 -34
  148. package/docs/components/Progress/examples/Progress.md +31 -60
  149. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  150. package/docs/components/Radio/examples/Radio.md +11 -11
  151. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  152. package/docs/components/Select/examples/Select.md +143 -143
  153. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  154. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  155. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  156. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  157. package/docs/components/Slider/examples/Slider.md +30 -30
  158. package/docs/components/Spinner/examples/Spinner.md +24 -24
  159. package/docs/components/Switch/examples/Switch.md +19 -19
  160. package/docs/components/TabContent/examples/TabContent.md +13 -13
  161. package/docs/components/Table/examples/Table.md +1272 -855
  162. package/docs/components/Tabs/examples/Tabs.md +149 -149
  163. package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
  164. package/docs/components/Tile/examples/Tile.md +15 -15
  165. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  166. package/docs/components/Title/examples/Title.md +17 -17
  167. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  168. package/docs/components/Toolbar/examples/Toolbar.md +165 -144
  169. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  170. package/docs/components/TreeView/examples/TreeView.md +34 -34
  171. package/docs/components/Truncate/examples/Truncate.md +4 -4
  172. package/docs/components/Wizard/examples/Wizard.md +63 -70
  173. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  174. package/docs/demos/Alert/examples/Alert.md +13 -13
  175. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  176. package/docs/demos/Banner/examples/Banner.md +10 -11
  177. package/docs/demos/Card/examples/Card.md +151 -116
  178. package/docs/demos/CardView/examples/CardView.md +16 -15
  179. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  180. package/docs/demos/Dashboard/examples/Dashboard.md +10 -9
  181. package/docs/demos/DataList/examples/DataList.md +160 -111
  182. package/docs/demos/DescriptionList/examples/DescriptionList.md +12 -13
  183. package/docs/demos/Drawer/examples/Drawer.md +20 -20
  184. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  185. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  186. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  187. package/docs/demos/Modal/examples/Modal.md +54 -66
  188. package/docs/demos/Nav/examples/Nav.md +720 -767
  189. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  190. package/docs/demos/Page/examples/Page.md +37 -37
  191. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  192. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +53 -49
  193. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  194. package/docs/demos/Table/examples/Table.md +522 -378
  195. package/docs/demos/Tabs/examples/Tabs.md +120 -601
  196. package/docs/demos/Toolbar/examples/Toolbar.md +1781 -171
  197. package/docs/demos/Wizard/examples/Wizard.md +229 -225
  198. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  199. package/docs/layouts/Flex/examples/Flex.md +98 -98
  200. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  201. package/docs/layouts/Grid/examples/Grid.md +9 -9
  202. package/docs/layouts/Level/examples/Level.md +5 -5
  203. package/docs/layouts/Split/examples/Split.md +7 -7
  204. package/docs/layouts/Stack/examples/Stack.md +6 -6
  205. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  206. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  207. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  208. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  209. package/docs/utilities/Display/examples/Display.md +11 -11
  210. package/docs/utilities/Flex/examples/Flex.md +34 -34
  211. package/docs/utilities/Float/examples/Float.md +4 -4
  212. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  213. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  214. package/docs/utilities/Text/examples/Text.md +27 -27
  215. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  216. package/layouts/Grid/grid.css +5 -5
  217. package/package.json +59 -64
  218. package/patternfly-base-no-reset.css +5 -11
  219. package/patternfly-base.css +5 -11
  220. package/patternfly-no-reset.css +528 -336
  221. package/patternfly.css +528 -336
  222. package/patternfly.min.css +1 -1
  223. package/patternfly.min.css.map +1 -1
  224. package/sass-utilities/scss-variables.scss +0 -1
@@ -267,7 +267,7 @@ cssPrefix: pf-c-slider
267
267
  value="50"
268
268
  aria-label="Slider value input"
269
269
  />
270
- <span class="pf-c-input-group__text pf-m-plain">%</span>
270
+ <span class="pf-c-input-group__text">%</span>
271
271
  </div>
272
272
  </div>
273
273
  </div>
@@ -297,7 +297,7 @@ cssPrefix: pf-c-slider
297
297
  value="50"
298
298
  aria-label="Slider value input"
299
299
  />
300
- <span class="pf-c-input-group__text pf-m-plain">%</span>
300
+ <span class="pf-c-input-group__text">%</span>
301
301
  </div>
302
302
  </div>
303
303
  </div>
@@ -329,7 +329,7 @@ cssPrefix: pf-c-slider
329
329
  value="50"
330
330
  aria-label="Slider value input"
331
331
  />
332
- <span class="pf-c-input-group__text pf-m-plain">%</span>
332
+ <span class="pf-c-input-group__text">%</span>
333
333
  </div>
334
334
  </div>
335
335
  </div>
@@ -393,7 +393,7 @@ cssPrefix: pf-c-slider
393
393
  value="50"
394
394
  aria-label="Slider value input"
395
395
  />
396
- <span class="pf-c-input-group__text pf-m-plain">%</span>
396
+ <span class="pf-c-input-group__text pf-m-disabled">%</span>
397
397
  </div>
398
398
  </div>
399
399
  </div>
@@ -429,7 +429,7 @@ cssPrefix: pf-c-slider
429
429
  value="50"
430
430
  aria-label="Slider value input"
431
431
  />
432
- <span class="pf-c-input-group__text pf-m-plain">%</span>
432
+ <span class="pf-c-input-group__text">%</span>
433
433
  </div>
434
434
  </div>
435
435
  </div>
@@ -570,7 +570,7 @@ cssPrefix: pf-c-slider
570
570
  value="50"
571
571
  aria-label="Slider value input"
572
572
  />
573
- <span class="pf-c-input-group__text pf-m-plain">%</span>
573
+ <span class="pf-c-input-group__text pf-m-disabled">%</span>
574
574
  </div>
575
575
  </div>
576
576
  </div>
@@ -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. |