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

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 +78 -43
  125. package/components/Toolbar/toolbar.scss +50 -10
  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 +466 -373
  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 +158 -109
  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 +29 -32
  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 +74 -64
  246. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  247. package/docs/demos/Table/examples/Table.md +2454 -467
  248. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  249. package/docs/demos/Toolbar/examples/Toolbar.md +1808 -174
  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 +781 -656
  277. package/patternfly.css +781 -656
  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
@@ -235,19 +235,19 @@ The single select should be used when the user is selecting an option from a lis
235
235
 
236
236
  ### Usage
237
237
 
238
- | Class | Applied to | Outcome |
239
- | ------------------------------ | -------------------- | ----------------------------------------------------------------------------------- |
240
- | `.pf-c-select` | `<div>` | Initiates a custom select. |
241
- | `.pf-c-select__toggle` | `<button>` | Initiates a custom toggle. |
242
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates a custom select toggle wrapper. |
243
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
244
- | `.pf-c-select__menu` | `<ul>` | Initiates the custom select dropdown menu. |
245
- | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the custom select dropdown menu. |
246
- | `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
247
- | `.pf-m-top` | `.pf-c-select` | Modifies the select menu to display above the toggle. |
248
- | `.pf-m-align-right` | `.pf-c-select__menu` | Modifies the select menu to display right aligned to the toggle. |
249
- | `.pf-m-static` | `.pf-c-select__menu` | Modifies the select menu to be statically positioned to support custom positioning. |
250
- | `.pf-m-active` | `.pf-c-select` | Forces display of the active state of the toggle. |
238
+ | Class | Applied to | Outcome |
239
+ | -- | -- | -- |
240
+ | `.pf-c-select` | `<div>` | Initiates a custom select. |
241
+ | `.pf-c-select__toggle` | `<button>` | Initiates a custom toggle. |
242
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates a custom select toggle wrapper. |
243
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
244
+ | `.pf-c-select__menu` | `<ul>` | Initiates the custom select dropdown menu. |
245
+ | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the custom select dropdown menu. |
246
+ | `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
247
+ | `.pf-m-top` | `.pf-c-select` | Modifies the select menu to display above the toggle. |
248
+ | `.pf-m-align-right` | `.pf-c-select__menu` | Modifies the select menu to display right aligned to the toggle. |
249
+ | `.pf-m-static` | `.pf-c-select__menu` | Modifies the select menu to be statically positioned to support custom positioning. |
250
+ | `.pf-m-active` | `.pf-c-select` | Forces display of the active state of the toggle. |
251
251
 
252
252
  ## States
253
253
 
@@ -492,29 +492,29 @@ The single select should be used when the user is selecting an option from a lis
492
492
 
493
493
  ### Accessibility
494
494
 
495
- | Attribute | Applied to | Outcome |
496
- | ---------------------- | ------------------------- | ---------------------------------------------------------------- |
497
- | `aria-invalid="true"` | `.pf-c-select__toggle` | Indicates that the select is in the invalid state. |
498
- | `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
499
- | `disabled` | `.pf-c-select__toggle` | Disables the dropdown toggle and removes it from keyboard focus. |
495
+ | Attribute | Applied to | Outcome |
496
+ | -- | -- | -- |
497
+ | `aria-invalid="true"` | `.pf-c-select__toggle` | Indicates that the select is in the invalid state. |
498
+ | `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
499
+ | `disabled` | `.pf-c-select__toggle` | Disables the dropdown toggle and removes it from keyboard focus. |
500
500
 
501
501
  ### Usage
502
502
 
503
- | Class | Applied to | Outcome |
504
- | ------------------------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
505
- | `.pf-c-select` | `<div>` | Initiates the select component. |
506
- | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
507
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
508
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
509
- | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
510
- | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
511
- | `.pf-c-select__menu-item-icon` | `<span>` | Initiates the selected item icon wrapper. |
512
- | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
513
- | `.pf-m-success` | `.pf-c-select` | Modifies select component for the success state. |
514
- | `.pf-m-warning` | `.pf-c-select` | Modifies select component for the warning state. |
515
- | `.pf-m-invalid` | `.pf-c-select` | Modifies select component for the invalid state. |
516
- | `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
517
- | `.pf-m-disabled` | `div.pf-c-select__toggle` | Modifies to display the select toggle as disabled. This applies to `div.pf-c-select__toggle` and should not be used in lieu of the `disabled` attribute on `button.pf-c-select__toggle`. When this is used, `disabled` should also be added to any form elements in `div.pf-c-select__toggle` |
503
+ | Class | Applied to | Outcome |
504
+ | -- | -- | -- |
505
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
506
+ | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
507
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
508
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
509
+ | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
510
+ | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
511
+ | `.pf-c-select__menu-item-icon` | `<span>` | Initiates the selected item icon wrapper. |
512
+ | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
513
+ | `.pf-m-success` | `.pf-c-select` | Modifies select component for the success state. |
514
+ | `.pf-m-warning` | `.pf-c-select` | Modifies select component for the warning state. |
515
+ | `.pf-m-invalid` | `.pf-c-select` | Modifies select component for the invalid state. |
516
+ | `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
517
+ | `.pf-m-disabled` | `div.pf-c-select__toggle` | Modifies to display the select toggle as disabled. This applies to `div.pf-c-select__toggle` and should not be used in lieu of the `disabled` attribute on `button.pf-c-select__toggle`. When this is used, `disabled` should also be added to any form elements in `div.pf-c-select__toggle`|
518
518
 
519
519
  ## Typeahead
520
520
 
@@ -902,26 +902,26 @@ The single select typeahead should be used when the user is selecting one option
902
902
 
903
903
  ### Accessibility
904
904
 
905
- | Attribute | Applied to | Outcome |
906
- | ---------------------- | ------------------------- | ----------------------------------------------------------- |
905
+ | Attribute | Applied to | Outcome |
906
+ | -- | -- | -- |
907
907
  | `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
908
908
 
909
909
  ### Usage
910
910
 
911
- | Class | Applied to | Outcome |
912
- | -------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
913
- | `.pf-c-select` | `<div>` | Initiates the select component. |
914
- | `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
915
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
916
- | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
917
- | `.pf-c-select__toggle-clear` | `button.pf-c-button.pf-m-plain` | Initiates a clear button in the toggle. |
918
- | `.pf-c-select__toggle-button` | `button.pf-c-button.pf-m-plain` | Initiates a toggle button. |
919
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
920
- | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
921
- | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
922
- | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
923
- | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
924
- | `.pf-m-focus` | `.pf-c-select__menu-item` | Modifies the menu item to apply `:focus` styling. For use when navigating the menu items by keyboard when the typeahead input field has browser focus. |
911
+ | Class | Applied to | Outcome |
912
+ | -- | -- | -- |
913
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
914
+ | `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
915
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
916
+ | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
917
+ | `.pf-c-select__toggle-clear` | `button.pf-c-button.pf-m-plain` | Initiates a clear button in the toggle. |
918
+ | `.pf-c-select__toggle-button` | `button.pf-c-button.pf-m-plain` | Initiates a toggle button. |
919
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
920
+ | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
921
+ | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
922
+ | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
923
+ | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
924
+ | `.pf-m-focus` | `.pf-c-select__menu-item` | Modifies the menu item to apply `:focus` styling. For use when navigating the menu items by keyboard when the typeahead input field has browser focus. |
925
925
 
926
926
  ## Typeahead multiselect
927
927
 
@@ -1003,87 +1003,107 @@ The single select typeahead should be used when the user is selecting one option
1003
1003
  >
1004
1004
  <li class="pf-c-chip-group__list-item">
1005
1005
  <div class="pf-c-chip">
1006
- <span
1007
- class="pf-c-chip__text"
1008
- id="select-multi-typeahead-expanded-chip_one"
1009
- >Arkansas</span>
1010
- <button
1011
- class="pf-c-button pf-m-plain"
1012
- type="button"
1013
- aria-labelledby="remove_select-multi-typeahead-expanded_chip_one select-multi-typeahead-expanded-chip_two"
1014
- aria-label="Remove"
1015
- id="remove_select-multi-typeahead-expanded_chip_one"
1016
- >
1017
- <i class="fas fa-times" aria-hidden="true"></i>
1018
- </button>
1006
+ <span class="pf-c-chip__content">
1007
+ <span
1008
+ class="pf-c-chip__text"
1009
+ id="select-multi-typeahead-expanded-chip_one"
1010
+ >Arkansas</span>
1011
+ </span>
1012
+ <span class="pf-c-chip__actions">
1013
+ <button
1014
+ class="pf-c-button pf-m-plain"
1015
+ type="button"
1016
+ aria-labelledby="remove_select-multi-typeahead-expanded_chip_one select-multi-typeahead-expanded-chip_two"
1017
+ aria-label="Remove"
1018
+ id="remove_select-multi-typeahead-expanded_chip_one"
1019
+ >
1020
+ <i class="fas fa-times" aria-hidden="true"></i>
1021
+ </button>
1022
+ </span>
1019
1023
  </div>
1020
1024
  </li>
1021
1025
  <li class="pf-c-chip-group__list-item">
1022
1026
  <div class="pf-c-chip">
1023
- <span
1024
- class="pf-c-chip__text"
1025
- id="select-multi-typeahead-expanded-chip_two"
1026
- >Massachusetts</span>
1027
- <button
1028
- class="pf-c-button pf-m-plain"
1029
- type="button"
1030
- aria-labelledby="remove_select-multi-typeahead-expanded_chip_two select-multi-typeahead-expanded-chip_two"
1031
- aria-label="Remove"
1032
- id="remove_select-multi-typeahead-expanded_chip_two"
1033
- >
1034
- <i class="fas fa-times" aria-hidden="true"></i>
1035
- </button>
1027
+ <span class="pf-c-chip__content">
1028
+ <span
1029
+ class="pf-c-chip__text"
1030
+ id="select-multi-typeahead-expanded-chip_two"
1031
+ >Massachusetts</span>
1032
+ </span>
1033
+ <span class="pf-c-chip__actions">
1034
+ <button
1035
+ class="pf-c-button pf-m-plain"
1036
+ type="button"
1037
+ aria-labelledby="remove_select-multi-typeahead-expanded_chip_two select-multi-typeahead-expanded-chip_two"
1038
+ aria-label="Remove"
1039
+ id="remove_select-multi-typeahead-expanded_chip_two"
1040
+ >
1041
+ <i class="fas fa-times" aria-hidden="true"></i>
1042
+ </button>
1043
+ </span>
1036
1044
  </div>
1037
1045
  </li>
1038
1046
  <li class="pf-c-chip-group__list-item">
1039
1047
  <div class="pf-c-chip">
1040
- <span
1041
- class="pf-c-chip__text"
1042
- id="select-multi-typeahead-expanded-chip_three"
1043
- >New Mexico</span>
1044
- <button
1045
- class="pf-c-button pf-m-plain"
1046
- type="button"
1047
- aria-labelledby="remove_select-multi-typeahead-expanded_chip_three select-multi-typeahead-expanded-chip_three"
1048
- aria-label="Remove"
1049
- id="remove_select-multi-typeahead-expanded_chip_three"
1050
- >
1051
- <i class="fas fa-times" aria-hidden="true"></i>
1052
- </button>
1048
+ <span class="pf-c-chip__content">
1049
+ <span
1050
+ class="pf-c-chip__text"
1051
+ id="select-multi-typeahead-expanded-chip_three"
1052
+ >New Mexico</span>
1053
+ </span>
1054
+ <span class="pf-c-chip__actions">
1055
+ <button
1056
+ class="pf-c-button pf-m-plain"
1057
+ type="button"
1058
+ aria-labelledby="remove_select-multi-typeahead-expanded_chip_three select-multi-typeahead-expanded-chip_three"
1059
+ aria-label="Remove"
1060
+ id="remove_select-multi-typeahead-expanded_chip_three"
1061
+ >
1062
+ <i class="fas fa-times" aria-hidden="true"></i>
1063
+ </button>
1064
+ </span>
1053
1065
  </div>
1054
1066
  </li>
1055
1067
  <li class="pf-c-chip-group__list-item">
1056
1068
  <div class="pf-c-chip">
1057
- <span
1058
- class="pf-c-chip__text"
1059
- id="select-multi-typeahead-expanded-chip_four"
1060
- >Ohio</span>
1061
- <button
1062
- class="pf-c-button pf-m-plain"
1063
- type="button"
1064
- aria-labelledby="remove_select-multi-typeahead-expanded_chip_four select-multi-typeahead-expanded-chip_four"
1065
- aria-label="Remove"
1066
- id="remove_select-multi-typeahead-expanded_chip_four"
1067
- >
1068
- <i class="fas fa-times" aria-hidden="true"></i>
1069
- </button>
1069
+ <span class="pf-c-chip__content">
1070
+ <span
1071
+ class="pf-c-chip__text"
1072
+ id="select-multi-typeahead-expanded-chip_four"
1073
+ >Ohio</span>
1074
+ </span>
1075
+ <span class="pf-c-chip__actions">
1076
+ <button
1077
+ class="pf-c-button pf-m-plain"
1078
+ type="button"
1079
+ aria-labelledby="remove_select-multi-typeahead-expanded_chip_four select-multi-typeahead-expanded-chip_four"
1080
+ aria-label="Remove"
1081
+ id="remove_select-multi-typeahead-expanded_chip_four"
1082
+ >
1083
+ <i class="fas fa-times" aria-hidden="true"></i>
1084
+ </button>
1085
+ </span>
1070
1086
  </div>
1071
1087
  </li>
1072
1088
  <li class="pf-c-chip-group__list-item">
1073
1089
  <div class="pf-c-chip">
1074
- <span
1075
- class="pf-c-chip__text"
1076
- id="select-multi-typeahead-expanded-chip_five"
1077
- >Washington</span>
1078
- <button
1079
- class="pf-c-button pf-m-plain"
1080
- type="button"
1081
- aria-labelledby="remove_select-multi-typeahead-expanded_chip_five select-multi-typeahead-expanded-chip_five"
1082
- aria-label="Remove"
1083
- id="remove_select-multi-typeahead-expanded_chip_five"
1084
- >
1085
- <i class="fas fa-times" aria-hidden="true"></i>
1086
- </button>
1090
+ <span class="pf-c-chip__content">
1091
+ <span
1092
+ class="pf-c-chip__text"
1093
+ id="select-multi-typeahead-expanded-chip_five"
1094
+ >Washington</span>
1095
+ </span>
1096
+ <span class="pf-c-chip__actions">
1097
+ <button
1098
+ class="pf-c-button pf-m-plain"
1099
+ type="button"
1100
+ aria-labelledby="remove_select-multi-typeahead-expanded_chip_five select-multi-typeahead-expanded-chip_five"
1101
+ aria-label="Remove"
1102
+ id="remove_select-multi-typeahead-expanded_chip_five"
1103
+ >
1104
+ <i class="fas fa-times" aria-hidden="true"></i>
1105
+ </button>
1106
+ </span>
1087
1107
  </div>
1088
1108
  </li>
1089
1109
  </ul>
@@ -1165,58 +1185,72 @@ The single select typeahead should be used when the user is selecting one option
1165
1185
  >
1166
1186
  <li class="pf-c-chip-group__list-item">
1167
1187
  <div class="pf-c-chip">
1168
- <span
1169
- class="pf-c-chip__text"
1170
- id="select-multi-typeahead-expanded-selected-chip_one"
1171
- >Arkansas</span>
1172
- <button
1173
- class="pf-c-button pf-m-plain"
1174
- type="button"
1175
- aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_one select-multi-typeahead-expanded-selected-chip_one"
1176
- aria-label="Remove"
1177
- id="remove_select-multi-typeahead-expanded-selected_chip_one"
1178
- >
1179
- <i class="fas fa-times" aria-hidden="true"></i>
1180
- </button>
1188
+ <span class="pf-c-chip__content">
1189
+ <span
1190
+ class="pf-c-chip__text"
1191
+ id="select-multi-typeahead-expanded-selected-chip_one"
1192
+ >Arkansas</span>
1193
+ </span>
1194
+ <span class="pf-c-chip__actions">
1195
+ <button
1196
+ class="pf-c-button pf-m-plain"
1197
+ type="button"
1198
+ aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_one select-multi-typeahead-expanded-selected-chip_one"
1199
+ aria-label="Remove"
1200
+ id="remove_select-multi-typeahead-expanded-selected_chip_one"
1201
+ >
1202
+ <i class="fas fa-times" aria-hidden="true"></i>
1203
+ </button>
1204
+ </span>
1181
1205
  </div>
1182
1206
  </li>
1183
1207
  <li class="pf-c-chip-group__list-item">
1184
1208
  <div class="pf-c-chip">
1185
- <span
1186
- class="pf-c-chip__text"
1187
- id="select-multi-typeahead-expanded-selected-chip_two"
1188
- >Massachusetts</span>
1189
- <button
1190
- class="pf-c-button pf-m-plain"
1191
- type="button"
1192
- aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_two select-multi-typeahead-expanded-selected-chip_two"
1193
- aria-label="Remove"
1194
- id="remove_select-multi-typeahead-expanded-selected_chip_two"
1195
- >
1196
- <i class="fas fa-times" aria-hidden="true"></i>
1197
- </button>
1209
+ <span class="pf-c-chip__content">
1210
+ <span
1211
+ class="pf-c-chip__text"
1212
+ id="select-multi-typeahead-expanded-selected-chip_two"
1213
+ >Massachusetts</span>
1214
+ </span>
1215
+ <span class="pf-c-chip__actions">
1216
+ <button
1217
+ class="pf-c-button pf-m-plain"
1218
+ type="button"
1219
+ aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_two select-multi-typeahead-expanded-selected-chip_two"
1220
+ aria-label="Remove"
1221
+ id="remove_select-multi-typeahead-expanded-selected_chip_two"
1222
+ >
1223
+ <i class="fas fa-times" aria-hidden="true"></i>
1224
+ </button>
1225
+ </span>
1198
1226
  </div>
1199
1227
  </li>
1200
1228
  <li class="pf-c-chip-group__list-item">
1201
1229
  <div class="pf-c-chip">
1202
- <span
1203
- class="pf-c-chip__text"
1204
- id="select-multi-typeahead-expanded-selected-chip_three"
1205
- >New Mexico</span>
1206
- <button
1207
- class="pf-c-button pf-m-plain"
1208
- type="button"
1209
- aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_three select-multi-typeahead-expanded-selected-chip_three"
1210
- aria-label="Remove"
1211
- id="remove_select-multi-typeahead-expanded-selected_chip_three"
1212
- >
1213
- <i class="fas fa-times" aria-hidden="true"></i>
1214
- </button>
1230
+ <span class="pf-c-chip__content">
1231
+ <span
1232
+ class="pf-c-chip__text"
1233
+ id="select-multi-typeahead-expanded-selected-chip_three"
1234
+ >New Mexico</span>
1235
+ </span>
1236
+ <span class="pf-c-chip__actions">
1237
+ <button
1238
+ class="pf-c-button pf-m-plain"
1239
+ type="button"
1240
+ aria-labelledby="remove_select-multi-typeahead-expanded-selected_chip_three select-multi-typeahead-expanded-selected-chip_three"
1241
+ aria-label="Remove"
1242
+ id="remove_select-multi-typeahead-expanded-selected_chip_three"
1243
+ >
1244
+ <i class="fas fa-times" aria-hidden="true"></i>
1245
+ </button>
1246
+ </span>
1215
1247
  </div>
1216
1248
  </li>
1217
1249
  <li class="pf-c-chip-group__list-item">
1218
1250
  <button class="pf-c-chip pf-m-overflow">
1219
- <span class="pf-c-chip__text">2 more</span>
1251
+ <span class="pf-c-chip__content">
1252
+ <span class="pf-c-chip__text">2 more</span>
1253
+ </span>
1220
1254
  </button>
1221
1255
  </li>
1222
1256
  </ul>
@@ -1289,87 +1323,107 @@ The single select typeahead should be used when the user is selecting one option
1289
1323
  >
1290
1324
  <li class="pf-c-chip-group__list-item">
1291
1325
  <div class="pf-c-chip">
1292
- <span
1293
- class="pf-c-chip__text"
1294
- id="select-multi-typeahead-invalid-chip_one"
1295
- >Arkansas</span>
1296
- <button
1297
- class="pf-c-button pf-m-plain"
1298
- type="button"
1299
- aria-labelledby="remove_select-multi-typeahead-invalid_chip_one select-multi-typeahead-invalid-chip_two"
1300
- aria-label="Remove"
1301
- id="remove_select-multi-typeahead-invalid_chip_one"
1302
- >
1303
- <i class="fas fa-times" aria-hidden="true"></i>
1304
- </button>
1326
+ <span class="pf-c-chip__content">
1327
+ <span
1328
+ class="pf-c-chip__text"
1329
+ id="select-multi-typeahead-invalid-chip_one"
1330
+ >Arkansas</span>
1331
+ </span>
1332
+ <span class="pf-c-chip__actions">
1333
+ <button
1334
+ class="pf-c-button pf-m-plain"
1335
+ type="button"
1336
+ aria-labelledby="remove_select-multi-typeahead-invalid_chip_one select-multi-typeahead-invalid-chip_two"
1337
+ aria-label="Remove"
1338
+ id="remove_select-multi-typeahead-invalid_chip_one"
1339
+ >
1340
+ <i class="fas fa-times" aria-hidden="true"></i>
1341
+ </button>
1342
+ </span>
1305
1343
  </div>
1306
1344
  </li>
1307
1345
  <li class="pf-c-chip-group__list-item">
1308
1346
  <div class="pf-c-chip">
1309
- <span
1310
- class="pf-c-chip__text"
1311
- id="select-multi-typeahead-invalid-chip_two"
1312
- >Massachusetts</span>
1313
- <button
1314
- class="pf-c-button pf-m-plain"
1315
- type="button"
1316
- aria-labelledby="remove_select-multi-typeahead-invalid_chip_two select-multi-typeahead-invalid-chip_two"
1317
- aria-label="Remove"
1318
- id="remove_select-multi-typeahead-invalid_chip_two"
1319
- >
1320
- <i class="fas fa-times" aria-hidden="true"></i>
1321
- </button>
1347
+ <span class="pf-c-chip__content">
1348
+ <span
1349
+ class="pf-c-chip__text"
1350
+ id="select-multi-typeahead-invalid-chip_two"
1351
+ >Massachusetts</span>
1352
+ </span>
1353
+ <span class="pf-c-chip__actions">
1354
+ <button
1355
+ class="pf-c-button pf-m-plain"
1356
+ type="button"
1357
+ aria-labelledby="remove_select-multi-typeahead-invalid_chip_two select-multi-typeahead-invalid-chip_two"
1358
+ aria-label="Remove"
1359
+ id="remove_select-multi-typeahead-invalid_chip_two"
1360
+ >
1361
+ <i class="fas fa-times" aria-hidden="true"></i>
1362
+ </button>
1363
+ </span>
1322
1364
  </div>
1323
1365
  </li>
1324
1366
  <li class="pf-c-chip-group__list-item">
1325
1367
  <div class="pf-c-chip">
1326
- <span
1327
- class="pf-c-chip__text"
1328
- id="select-multi-typeahead-invalid-chip_three"
1329
- >New Mexico</span>
1330
- <button
1331
- class="pf-c-button pf-m-plain"
1332
- type="button"
1333
- aria-labelledby="remove_select-multi-typeahead-invalid_chip_three select-multi-typeahead-invalid-chip_three"
1334
- aria-label="Remove"
1335
- id="remove_select-multi-typeahead-invalid_chip_three"
1336
- >
1337
- <i class="fas fa-times" aria-hidden="true"></i>
1338
- </button>
1368
+ <span class="pf-c-chip__content">
1369
+ <span
1370
+ class="pf-c-chip__text"
1371
+ id="select-multi-typeahead-invalid-chip_three"
1372
+ >New Mexico</span>
1373
+ </span>
1374
+ <span class="pf-c-chip__actions">
1375
+ <button
1376
+ class="pf-c-button pf-m-plain"
1377
+ type="button"
1378
+ aria-labelledby="remove_select-multi-typeahead-invalid_chip_three select-multi-typeahead-invalid-chip_three"
1379
+ aria-label="Remove"
1380
+ id="remove_select-multi-typeahead-invalid_chip_three"
1381
+ >
1382
+ <i class="fas fa-times" aria-hidden="true"></i>
1383
+ </button>
1384
+ </span>
1339
1385
  </div>
1340
1386
  </li>
1341
1387
  <li class="pf-c-chip-group__list-item">
1342
1388
  <div class="pf-c-chip">
1343
- <span
1344
- class="pf-c-chip__text"
1345
- id="select-multi-typeahead-invalid-chip_four"
1346
- >Ohio</span>
1347
- <button
1348
- class="pf-c-button pf-m-plain"
1349
- type="button"
1350
- aria-labelledby="remove_select-multi-typeahead-invalid_chip_four select-multi-typeahead-invalid-chip_four"
1351
- aria-label="Remove"
1352
- id="remove_select-multi-typeahead-invalid_chip_four"
1353
- >
1354
- <i class="fas fa-times" aria-hidden="true"></i>
1355
- </button>
1389
+ <span class="pf-c-chip__content">
1390
+ <span
1391
+ class="pf-c-chip__text"
1392
+ id="select-multi-typeahead-invalid-chip_four"
1393
+ >Ohio</span>
1394
+ </span>
1395
+ <span class="pf-c-chip__actions">
1396
+ <button
1397
+ class="pf-c-button pf-m-plain"
1398
+ type="button"
1399
+ aria-labelledby="remove_select-multi-typeahead-invalid_chip_four select-multi-typeahead-invalid-chip_four"
1400
+ aria-label="Remove"
1401
+ id="remove_select-multi-typeahead-invalid_chip_four"
1402
+ >
1403
+ <i class="fas fa-times" aria-hidden="true"></i>
1404
+ </button>
1405
+ </span>
1356
1406
  </div>
1357
1407
  </li>
1358
1408
  <li class="pf-c-chip-group__list-item">
1359
1409
  <div class="pf-c-chip">
1360
- <span
1361
- class="pf-c-chip__text"
1362
- id="select-multi-typeahead-invalid-chip_five"
1363
- >Washington</span>
1364
- <button
1365
- class="pf-c-button pf-m-plain"
1366
- type="button"
1367
- aria-labelledby="remove_select-multi-typeahead-invalid_chip_five select-multi-typeahead-invalid-chip_five"
1368
- aria-label="Remove"
1369
- id="remove_select-multi-typeahead-invalid_chip_five"
1370
- >
1371
- <i class="fas fa-times" aria-hidden="true"></i>
1372
- </button>
1410
+ <span class="pf-c-chip__content">
1411
+ <span
1412
+ class="pf-c-chip__text"
1413
+ id="select-multi-typeahead-invalid-chip_five"
1414
+ >Washington</span>
1415
+ </span>
1416
+ <span class="pf-c-chip__actions">
1417
+ <button
1418
+ class="pf-c-button pf-m-plain"
1419
+ type="button"
1420
+ aria-labelledby="remove_select-multi-typeahead-invalid_chip_five select-multi-typeahead-invalid-chip_five"
1421
+ aria-label="Remove"
1422
+ id="remove_select-multi-typeahead-invalid_chip_five"
1423
+ >
1424
+ <i class="fas fa-times" aria-hidden="true"></i>
1425
+ </button>
1426
+ </span>
1373
1427
  </div>
1374
1428
  </li>
1375
1429
  </ul>
@@ -1443,26 +1497,26 @@ The multiselect should be used when the user is selecting multiple items from a
1443
1497
 
1444
1498
  ### Accessibility
1445
1499
 
1446
- | Attribute | Applied to | Outcome |
1447
- | ---------------------- | ------------------------- | ----------------------------------------------------------- |
1500
+ | Attribute | Applied to | Outcome |
1501
+ | -- | -- | -- |
1448
1502
  | `aria-selected="true"` | `.pf-c-select__menu-item` | Should be set programmatically to indicate the active item. |
1449
1503
 
1450
1504
  ### Usage
1451
1505
 
1452
- | Class | Applied to | Outcome |
1453
- | -------------------------------- | ------------------------- | ------------------------------------------------------------------------------------ |
1454
- | `.pf-c-select` | `<div>` | Initiates the select component. |
1455
- | `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
1456
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
1457
- | `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
1458
- | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
1459
- | `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
1460
- | `.pf-c-select__toggle-button` | `<button>` | Initiates a toggle button. |
1461
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
1462
- | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
1463
- | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
1464
- | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
1465
- | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
1506
+ | Class | Applied to | Outcome |
1507
+ | -- | -- | -- |
1508
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
1509
+ | `.pf-c-select__toggle` | `<div>` | Initiates the select toggle. |
1510
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
1511
+ | `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
1512
+ | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
1513
+ | `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
1514
+ | `.pf-c-select__toggle-button` | `<button>` | Initiates a toggle button. |
1515
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
1516
+ | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
1517
+ | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
1518
+ | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
1519
+ | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
1466
1520
 
1467
1521
  ## Checkbox
1468
1522
 
@@ -2229,27 +2283,27 @@ The checkbox select can select multiple items using checkboxes. The number of it
2229
2283
 
2230
2284
  ### Usage
2231
2285
 
2232
- | Class | Applied to | Outcome |
2233
- | -------------------------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
2234
- | `.pf-c-select` | `<div>` | Initiates the select component. |
2235
- | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2236
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
2237
- | `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
2238
- | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
2239
- | `.pf-c-select__toggle-badge` | `<div>` | Initiates a container for a badge to indicate the number of items checked. _ note: This should contain an unread badge _ |
2240
- | `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
2241
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2242
- | `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
2243
- | `.pf-c-select__menu-item` | `div.pf-c-check` | Initiates the items in the select dropdown menu. |
2244
- | `.pf-c-select__menu-item-row` | `<span>` | Initiates a menu item row for use with positioning other elements before/after the item text. |
2245
- | `.pf-c-select__menu-item-text` | `<span>` | Initiates the menu item row text. |
2246
- | `.pf-c-select__menu-item-count` | `<span>` | Initiates the menu item row count. |
2247
- | `.pf-c-select__menu-fieldset` | `<fieldset>` | Initiates a fieldset for the items in a checkbox select. |
2248
- | `.pf-c-select__menu-group` | `<div>` | Initiates a group within a select menu. |
2249
- | `.pf-c-select__menu-group-title` | `<div>` | Initiates a title for a group with a select menu. |
2250
- | `.pf-c-select__menu-search` | `<div>` | Initiates a container for the search input group. |
2251
- | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
2252
- | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
2286
+ | Class | Applied to | Outcome |
2287
+ | -- | -- | -- |
2288
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
2289
+ | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2290
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
2291
+ | `.pf-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
2292
+ | `.pf-c-select__toggle-typeahead` | `input.pf-c-form-control` | Initiates the input field for typeahead. |
2293
+ | `.pf-c-select__toggle-badge` | `<div>` | Initiates a container for a badge to indicate the number of items checked. \* note: This should contain an unread badge \* |
2294
+ | `.pf-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
2295
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2296
+ | `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
2297
+ | `.pf-c-select__menu-item` | `div.pf-c-check` | Initiates the items in the select dropdown menu. |
2298
+ | `.pf-c-select__menu-item-row` | `<span>` | Initiates a menu item row for use with positioning other elements before/after the item text. |
2299
+ | `.pf-c-select__menu-item-text` | `<span>` | Initiates the menu item row text. |
2300
+ | `.pf-c-select__menu-item-count` | `<span>` | Initiates the menu item row count. |
2301
+ | `.pf-c-select__menu-fieldset` | `<fieldset>` | Initiates a fieldset for the items in a checkbox select. |
2302
+ | `.pf-c-select__menu-group` | `<div>` | Initiates a group within a select menu. |
2303
+ | `.pf-c-select__menu-group-title` | `<div>` | Initiates a title for a group with a select menu. |
2304
+ | `.pf-c-select__menu-search` | `<div>` | Initiates a container for the search input group. |
2305
+ | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
2306
+ | `.pf-m-typeahead` | `.pf-c-select__toggle` | Indicates the select has a typeahead. |
2253
2307
 
2254
2308
  ## Plain
2255
2309
 
@@ -2370,18 +2424,18 @@ The plain select variation should be used when you do not want a border applied
2370
2424
 
2371
2425
  ### Usage
2372
2426
 
2373
- | Class | Applied to | Outcome |
2374
- | ------------------------------ | ------------------------- | ------------------------------------------------ |
2375
- | `.pf-c-select` | `<div>` | Initiates the select component. |
2376
- | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2377
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2378
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2379
- | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
2380
- | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
2381
- | `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
2382
- | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
2383
- | `.pf-m-plain` | `.pf-c-select__toggle` | Modifies to display the toggle with no border. |
2384
- | `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
2427
+ | Class | Applied to | Outcome |
2428
+ | -- | -- | -- |
2429
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
2430
+ | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2431
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2432
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2433
+ | `.pf-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
2434
+ | `.pf-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
2435
+ | `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
2436
+ | `.pf-m-expanded` | `.pf-c-select` | Indicates the select is expanded. |
2437
+ | `.pf-m-plain` | `.pf-c-select__toggle` | Modifies to display the toggle with no border. |
2438
+ | `.pf-m-selected` | `.pf-c-select__menu-item` | Indicates the menu item is selected. |
2385
2439
 
2386
2440
  ## Icon
2387
2441
 
@@ -2447,19 +2501,19 @@ The plain select variation should be used when you do not want a border applied
2447
2501
 
2448
2502
  ### Accessibility
2449
2503
 
2450
- | Attribute | Applied to | Outcome |
2451
- | -------------------- | --------------------------- | ------------------------------------------- |
2452
- | `aria-hidden="true"` | `.pf-c-select__toggle-icon` | Hides the icon from assistive technologies. |
2504
+ | Attribute | Applied to | Outcome |
2505
+ | -- | -- | -- |
2506
+ | `aria-hidden="true"` | `.pf-c-select__toggle-icon` | Hides the icon from assistive technologies.
2453
2507
 
2454
2508
  ### Usage
2455
2509
 
2456
- | Class | Applied to | Outcome |
2457
- | ------------------------------ | ---------- | ------------------------------------------- |
2458
- | `.pf-c-select` | `<div>` | Initiates the select component. |
2459
- | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2460
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2461
- | `.pf-c-select__toggle-icon` | `<span>` | Initiates the icon in the dropdown toggle. |
2462
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2510
+ | Class | Applied to | Outcome |
2511
+ | -- | -- | -- |
2512
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
2513
+ | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2514
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2515
+ | `.pf-c-select__toggle-icon` | `<span>` | Initiates the icon in the dropdown toggle. |
2516
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2463
2517
 
2464
2518
  ## Panel
2465
2519
 
@@ -2495,13 +2549,13 @@ The plain select variation should be used when you do not want a border applied
2495
2549
 
2496
2550
  ### Usage
2497
2551
 
2498
- | Class | Applied to | Outcome |
2499
- | ------------------------------ | ---------- | ------------------------------------------- |
2500
- | `.pf-c-select` | `<div>` | Initiates the select component. |
2501
- | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2502
- | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2503
- | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2504
- | `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
2552
+ | Class | Applied to | Outcome |
2553
+ | -- | -- | -- |
2554
+ | `.pf-c-select` | `<div>` | Initiates the select component. |
2555
+ | `.pf-c-select__toggle` | `<button>` | Initiates the select toggle. |
2556
+ | `.pf-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
2557
+ | `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
2558
+ | `.pf-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
2505
2559
 
2506
2560
  ## Description
2507
2561
 
@@ -2707,11 +2761,11 @@ The plain select variation should be used when you do not want a border applied
2707
2761
 
2708
2762
  ### Usage
2709
2763
 
2710
- | Class | Applied to | Outcome |
2711
- | ------------------------------------- | ------------------------- | ------------------------------------------------------------------------------------------ |
2712
- | `.pf-c-select__menu-item-description` | `<span>` | Initiates the select menu item description element. |
2713
- | `.pf-c-select__menu-item-main` | `<span>` | Initiates the select menu item main element. Used when the description element is present. |
2714
- | `.pf-m-description` | `.pf-c-select__menu-item` | Modifies the select menu item when selected to accommodate the description element. |
2764
+ | Class | Applied to | Outcome |
2765
+ | -- | -- | -- |
2766
+ | `.pf-c-select__menu-item-description` | `<span>` | Initiates the select menu item description element. |
2767
+ | `.pf-c-select__menu-item-main` | `<span>` | Initiates the select menu item main element. Used when the description element is present. |
2768
+ | `.pf-m-description` | `.pf-c-select__menu-item` | Modifies the select menu item when selected to accommodate the description element. |
2715
2769
 
2716
2770
  ## Favorites
2717
2771
 
@@ -2914,20 +2968,20 @@ The plain select variation should be used when you do not want a border applied
2914
2968
 
2915
2969
  ### Accessibility
2916
2970
 
2917
- | Attribute | Applied to | Outcome |
2918
- | -------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
2919
- | `aria-label="Not starred"` | `.pf-c-select__menu-wrapper > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is not selected. |
2920
- | `aria-label="Starred"` | `.pf-c-select__menu-wrapper.pf-m-favorite > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is selected. |
2971
+ | Attribute | Applied to | Outcome |
2972
+ | -- | -- | -- |
2973
+ | `aria-label="Not starred"` | `.pf-c-select__menu-wrapper > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is not selected. |
2974
+ | `aria-label="Starred"` | `.pf-c-select__menu-wrapper.pf-m-favorite > .pf-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is selected. |
2921
2975
 
2922
2976
  ### Usage
2923
2977
 
2924
- | Class | Applied to | Outcome |
2925
- | ---------------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
2926
- | `.pf-c-select__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
2927
- | `.pf-m-favorite` | `.pf-c-select__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
2928
- | `.pf-m-favorite-action` | `.pf-c-select__menu-item` | Modifies an item for favorite styles. |
2929
- | `.pf-m-link` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item for link styles. |
2930
- | `.pf-m-action` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item to for action styles. |
2978
+ | Class | Applied to | Outcome |
2979
+ | -- | -- | -- |
2980
+ | `.pf-c-select__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
2981
+ | `.pf-m-favorite` | `.pf-c-select__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
2982
+ | `.pf-m-favorite-action` | `.pf-c-select__menu-item` | Modifies an item for favorite styles. |
2983
+ | `.pf-m-link` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item for link styles. |
2984
+ | `.pf-m-action` | `.pf-c-select__menu-item.pf-m-wrapper > .pf-c-select__menu-item` | Modifies item to for action styles. |
2931
2985
 
2932
2986
  ## View more
2933
2987
 
@@ -2992,8 +3046,8 @@ The plain select variation should be used when you do not want a border applied
2992
3046
 
2993
3047
  ### Usage
2994
3048
 
2995
- | Class | Applied to | Outcome |
2996
- | ------------ | ------------------------- | ------------------------------------- |
3049
+ | Class | Applied to | Outcome |
3050
+ | -- | -- | -- |
2997
3051
  | `.pf-m-load` | `.pf-c-select__menu-item` | Modifies a menu item for load styles. |
2998
3052
 
2999
3053
  ## Loading
@@ -3067,10 +3121,10 @@ The plain select variation should be used when you do not want a border applied
3067
3121
 
3068
3122
  ### Usage
3069
3123
 
3070
- | Class | Applied to | Outcome |
3071
- | ------------------------- | ------------------------- | ----------------------------------------------- |
3072
- | `.pf-c-select__list-item` | `<li>` | Defines a list item element in the select menu. |
3073
- | `.pf-m-loading` | `.pf-c-select__list-item` | Modifies a list item for loading styles. |
3124
+ | Class | Applied to | Outcome |
3125
+ | -- | -- | -- |
3126
+ | `.pf-c-select__list-item` | `<li>` | Defines a list item element in the select menu. |
3127
+ | `.pf-m-loading` | `.pf-c-select__list-item` | Modifies a list item for loading styles. |
3074
3128
 
3075
3129
  ## Footer
3076
3130
 
@@ -3137,10 +3191,10 @@ The plain select variation should be used when you do not want a border applied
3137
3191
 
3138
3192
  ### Usage
3139
3193
 
3140
- | Class | Applied to | Outcome |
3141
- | --------------------------- | ---------- | ------------------------------------------------------------------------- |
3142
- | `.pf-c-select__menu-footer` | `<div>` | Defines a menu footer. |
3143
- | `.pf-c-select__menu-list` | `<ul>` | Defines the menu list when the list is placed in `div.pf-c-select__menu`. |
3194
+ | Class | Applied to | Outcome |
3195
+ | -- | -- | -- |
3196
+ | `.pf-c-select__menu-footer` | `<div>` | Defines a menu footer. |
3197
+ | `.pf-c-select__menu-list` | `<ul>` | Defines the menu list when the list is placed in `div.pf-c-select__menu`. |
3144
3198
 
3145
3199
  ## Placeholder
3146
3200
 
@@ -3381,8 +3435,8 @@ The plain select variation should be used when you do not want a border applied
3381
3435
 
3382
3436
  ### Usage
3383
3437
 
3384
- | Class | Applied to | Outcome |
3385
- | ------------------- | ---------------------- | ------------------------------------------- |
3438
+ | Class | Applied to | Outcome |
3439
+ | -- | -- | -- |
3386
3440
  | `.pf-m-placeholder` | `.pf-c-select__toggle` | Modifies the toggle for placeholder styles. |
3387
3441
 
3388
3442
  ## Documentation