@patternfly/patternfly 5.0.0-alpha.4 → 5.0.0-alpha.40

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 (340) hide show
  1. package/RELEASE-NOTES.md +18 -1
  2. package/assets/icons/iconUnicodes.json +1 -0
  3. package/assets/images/pfbg-icon.svg +1 -0
  4. package/assets/pficon/pficon.scss +7 -2
  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/_fa-icons.scss +1 -2
  10. package/base/_fonts.scss +22 -27
  11. package/base/_globals.scss +92 -86
  12. package/base/_icons.scss +1 -28
  13. package/base/_svg-icons.scss +6 -0
  14. package/base/_variables.scss +4 -4
  15. package/base/patternfly-common.css +0 -10
  16. package/base/patternfly-fa-icons.css +1 -1
  17. package/base/patternfly-fonts.css +17 -17
  18. package/base/patternfly-globals.css +35 -41
  19. package/base/patternfly-icons.css +8 -22
  20. package/base/patternfly-pf-icons.css +6 -2
  21. package/base/patternfly-themes.css +0 -42
  22. package/base/patternfly-variables.css +3 -3
  23. package/base/themes/dark/_globals.scss +1 -1
  24. package/base/themes/dark/_variables.scss +1 -1
  25. package/components/AboutModalBox/about-modal-box.css +20 -50
  26. package/components/AboutModalBox/about-modal-box.scss +22 -14
  27. package/components/Accordion/accordion.css +2 -0
  28. package/components/Accordion/accordion.scss +2 -0
  29. package/components/Alert/alert.css +17 -8
  30. package/components/Alert/alert.scss +21 -7
  31. package/components/Alert/themes/dark/alert.scss +1 -1
  32. package/components/AppLauncher/app-launcher.css +2 -0
  33. package/components/AppLauncher/app-launcher.scss +2 -0
  34. package/components/Avatar/avatar.scss +2 -2
  35. package/components/BackgroundImage/background-image.css +8 -35
  36. package/components/BackgroundImage/background-image.scss +17 -43
  37. package/components/Banner/banner.css +14 -52
  38. package/components/Banner/banner.scss +9 -13
  39. package/components/Breadcrumb/breadcrumb.css +2 -0
  40. package/components/Breadcrumb/breadcrumb.scss +2 -0
  41. package/components/CalendarMonth/calendar-month.css +2 -2
  42. package/components/CalendarMonth/calendar-month.scss +3 -3
  43. package/components/Card/card.css +115 -50
  44. package/components/Card/card.scss +164 -63
  45. package/components/Chip/chip.css +33 -24
  46. package/components/Chip/chip.scss +40 -31
  47. package/components/ChipGroup/chip-group.css +27 -17
  48. package/components/ChipGroup/chip-group.scss +36 -22
  49. package/components/Content/content.css +11 -5
  50. package/components/Content/content.scss +17 -9
  51. package/components/ContextSelector/context-selector.css +13 -6
  52. package/components/ContextSelector/context-selector.scss +14 -7
  53. package/components/DataList/data-list-grid.css +7 -7
  54. package/components/DataList/data-list-grid.scss +1 -1
  55. package/components/DataList/data-list.css +46 -40
  56. package/components/DataList/data-list.scss +37 -28
  57. package/components/DatePicker/date-picker.css +0 -8
  58. package/components/DatePicker/date-picker.scss +0 -9
  59. package/components/DescriptionList/description-list.css +7 -7
  60. package/components/DescriptionList/description-list.scss +7 -7
  61. package/components/Divider/divider.css +2 -2
  62. package/components/Divider/divider.scss +3 -3
  63. package/components/Drawer/drawer.css +15 -16
  64. package/components/Drawer/drawer.scss +2 -3
  65. package/components/Dropdown/dropdown.css +26 -25
  66. package/components/Dropdown/dropdown.scss +17 -18
  67. package/components/DualListSelector/dual-list-selector.css +1 -1
  68. package/components/DualListSelector/dual-list-selector.scss +1 -1
  69. package/components/EmptyState/empty-state.css +46 -52
  70. package/components/EmptyState/empty-state.scss +58 -57
  71. package/components/ExpandableSection/expandable-section.css +2 -0
  72. package/components/ExpandableSection/expandable-section.scss +2 -0
  73. package/components/Form/form.css +14 -12
  74. package/components/Form/form.scss +9 -7
  75. package/components/FormControl/form-control.css +2 -5
  76. package/components/FormControl/themes/dark/form-control.scss +2 -6
  77. package/components/HelperText/helper-text.css +4 -0
  78. package/components/HelperText/helper-text.scss +5 -0
  79. package/components/Hint/hint.css +2 -2
  80. package/components/Hint/hint.scss +2 -2
  81. package/components/Icon/icon.css +3 -3
  82. package/components/Icon/icon.scss +3 -3
  83. package/components/InputGroup/input-group.css +61 -85
  84. package/components/InputGroup/input-group.scss +55 -61
  85. package/components/InputGroup/themes/dark/input-group.scss +11 -25
  86. package/components/Label/label.css +49 -36
  87. package/components/Label/label.scss +53 -38
  88. package/components/Label/themes/dark/label.scss +2 -2
  89. package/components/LabelGroup/label-group.css +26 -22
  90. package/components/LabelGroup/label-group.scss +31 -26
  91. package/components/LogViewer/log-viewer.css +0 -38
  92. package/components/Login/login.css +20 -60
  93. package/components/Login/login.scss +16 -18
  94. package/components/Login/themes/dark/login.scss +4 -0
  95. package/components/Masthead/masthead.css +4 -42
  96. package/components/Masthead/masthead.scss +4 -4
  97. package/components/Menu/menu.css +9 -6
  98. package/components/Menu/menu.scss +34 -31
  99. package/components/MenuToggle/menu-toggle.css +3 -1
  100. package/components/MenuToggle/menu-toggle.scss +3 -1
  101. package/components/ModalBox/modal-box.css +12 -11
  102. package/components/ModalBox/modal-box.scss +14 -14
  103. package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
  104. package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
  105. package/components/Nav/nav.css +1 -1
  106. package/components/Nav/nav.scss +2 -2
  107. package/components/NotificationDrawer/notification-drawer.css +8 -8
  108. package/components/NotificationDrawer/notification-drawer.scss +8 -8
  109. package/components/OptionsMenu/options-menu.css +8 -10
  110. package/components/OptionsMenu/options-menu.scss +9 -11
  111. package/components/Page/page.css +101 -122
  112. package/components/Page/page.scss +49 -21
  113. package/components/Pagination/pagination.css +2 -110
  114. package/components/Pagination/pagination.scss +0 -6
  115. package/components/Popover/popover.css +31 -37
  116. package/components/Popover/popover.scss +32 -37
  117. package/components/Popover/themes/dark/popover.scss +3 -9
  118. package/components/Progress/progress.css +13 -10
  119. package/components/Progress/progress.scss +13 -10
  120. package/components/ProgressStepper/progress-stepper.css +5 -5
  121. package/components/ProgressStepper/progress-stepper.scss +5 -5
  122. package/components/SearchInput/search-input.css +4 -2
  123. package/components/SearchInput/search-input.scss +4 -2
  124. package/components/Select/select.css +1 -1
  125. package/components/Select/select.scss +1 -1
  126. package/components/Sidebar/sidebar.css +69 -26
  127. package/components/Sidebar/sidebar.scss +84 -27
  128. package/components/SimpleList/simple-list.css +1 -1
  129. package/components/SimpleList/simple-list.scss +2 -2
  130. package/components/Spinner/spinner.css +4 -4
  131. package/components/Spinner/spinner.scss +4 -4
  132. package/components/Table/table-grid.css +28 -28
  133. package/components/Table/table-scrollable.css +31 -26
  134. package/components/Table/table-scrollable.scss +33 -28
  135. package/components/Table/table-tree-view.css +14 -4
  136. package/components/Table/table-tree-view.scss +15 -0
  137. package/components/Table/table.css +67 -65
  138. package/components/Table/table.scss +65 -62
  139. package/components/Tabs/tabs.css +0 -4
  140. package/components/Tabs/tabs.scss +0 -7
  141. package/components/TextInputGroup/text-input-group.css +6 -4
  142. package/components/TextInputGroup/text-input-group.scss +6 -5
  143. package/components/Tile/tile.css +1 -1
  144. package/components/Tile/tile.scss +1 -1
  145. package/components/Timestamp/timestamp.css +3 -3
  146. package/components/Timestamp/timestamp.scss +3 -3
  147. package/components/Toolbar/toolbar.css +78 -43
  148. package/components/Toolbar/toolbar.scss +50 -10
  149. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  150. package/components/Tooltip/tooltip.css +7 -12
  151. package/components/Tooltip/tooltip.scss +6 -3
  152. package/components/TreeView/tree-view.css +7 -15
  153. package/components/TreeView/tree-view.scss +7 -18
  154. package/components/Wizard/wizard.css +16 -39
  155. package/components/Wizard/wizard.scss +20 -2
  156. package/docs/components/AboutModalBox/examples/AboutModalBox.md +20 -14
  157. package/docs/components/Accordion/examples/Accordion.md +12 -12
  158. package/docs/components/ActionList/examples/ActionList.md +6 -6
  159. package/docs/components/Alert/examples/Alert.md +29 -29
  160. package/docs/components/AlertGroup/examples/AlertGroup.md +15 -15
  161. package/docs/components/AppLauncher/examples/application-launcher.md +52 -46
  162. package/docs/components/Avatar/examples/Avatar.md +11 -11
  163. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  164. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  165. package/docs/components/BackgroundImage/examples/BackgroundImage.md +13 -29
  166. package/docs/components/Badge/examples/Badge.md +5 -5
  167. package/docs/components/Banner/examples/Banner.md +8 -8
  168. package/docs/components/Brand/examples/Brand.md +9 -9
  169. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  170. package/docs/components/Button/examples/Button.md +35 -35
  171. package/docs/components/CalendarMonth/examples/CalendarMonth.md +301 -284
  172. package/docs/components/Card/examples/Card.md +676 -116
  173. package/docs/components/Check/examples/Check.md +16 -19
  174. package/docs/components/Chip/examples/Chip.md +70 -52
  175. package/docs/components/ChipGroup/examples/ChipGroup.md +452 -673
  176. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  177. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  178. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  179. package/docs/components/Content/examples/Content.md +37 -9
  180. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  181. package/docs/components/ContextSelector/examples/context-selector.md +87 -80
  182. package/docs/components/DataList/examples/DataList.md +239 -202
  183. package/docs/components/DatePicker/examples/DatePicker.md +139 -104
  184. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  185. package/docs/components/Divider/examples/Divider.md +10 -10
  186. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  187. package/docs/components/Drawer/examples/Drawer.md +43 -43
  188. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  189. package/docs/components/Dropdown/examples/Dropdown.md +125 -100
  190. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  191. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  192. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  193. package/docs/components/FileUpload/examples/FileUpload.md +146 -105
  194. package/docs/components/Form/examples/Form.md +152 -130
  195. package/docs/components/FormControl/examples/FormControl.md +21 -20
  196. package/docs/components/HelperText/examples/HelperText.md +24 -35
  197. package/docs/components/Hint/examples/Hint.md +7 -7
  198. package/docs/components/Icon/examples/Icon.md +11 -12
  199. package/docs/components/InlineEdit/examples/InlineEdit.md +29 -27
  200. package/docs/components/InputGroup/examples/InputGroup.md +229 -179
  201. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  202. package/docs/components/Label/examples/Label.md +1427 -746
  203. package/docs/components/LabelGroup/examples/LabelGroup.md +295 -242
  204. package/docs/components/List/examples/List.md +18 -18
  205. package/docs/components/LogViewer/examples/LogViewer.md +79 -74
  206. package/docs/components/Login/examples/Login.md +103 -181
  207. package/docs/components/Masthead/examples/masthead.md +9 -9
  208. package/docs/components/Menu/examples/Menu.md +83 -80
  209. package/docs/components/MenuToggle/examples/MenuToggle.md +29 -28
  210. package/docs/components/ModalBox/examples/ModalBox.md +113 -92
  211. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +27 -26
  212. package/docs/components/Nav/examples/Navigation.md +69 -69
  213. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  214. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +64 -64
  215. package/docs/components/NumberInput/examples/NumberInput.md +311 -239
  216. package/docs/components/OptionsMenu/examples/options-menu.md +28 -28
  217. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  218. package/docs/components/Page/examples/Page.css +7 -1
  219. package/docs/components/Page/examples/Page.md +81 -54
  220. package/docs/components/Pagination/examples/Pagination.md +27 -27
  221. package/docs/components/Panel/examples/Panel.md +10 -10
  222. package/docs/components/Popover/examples/Popover.md +206 -149
  223. package/docs/components/Progress/examples/Progress.md +32 -61
  224. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -39
  225. package/docs/components/Radio/examples/Radio.md +12 -11
  226. package/docs/components/SearchInput/examples/SearchInput.md +185 -148
  227. package/docs/components/Select/examples/Select.md +368 -313
  228. package/docs/components/Sidebar/examples/Sidebar.md +70 -14
  229. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  230. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  231. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  232. package/docs/components/Slider/examples/Slider.md +84 -62
  233. package/docs/components/Spinner/examples/Spinner.md +24 -24
  234. package/docs/components/Switch/examples/Switch.md +19 -19
  235. package/docs/components/TabContent/examples/TabContent.md +13 -13
  236. package/docs/components/Table/examples/Table.css +4 -0
  237. package/docs/components/Table/examples/Table.md +5212 -5750
  238. package/docs/components/Tabs/examples/Tabs.md +155 -155
  239. package/docs/components/TextInputGroup/examples/TextInputGroup.md +523 -406
  240. package/docs/components/Tile/examples/Tile.md +16 -17
  241. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  242. package/docs/components/Title/examples/Title.md +17 -17
  243. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  244. package/docs/components/Toolbar/examples/Toolbar.md +848 -726
  245. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  246. package/docs/components/TreeView/examples/TreeView.md +34 -34
  247. package/docs/components/Truncate/examples/Truncate.md +4 -5
  248. package/docs/components/Wizard/examples/Wizard.md +119 -127
  249. package/docs/demos/AboutModal/examples/AboutModal.md +4 -5
  250. package/docs/demos/Alert/examples/Alert.md +118 -71
  251. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  252. package/docs/demos/Banner/examples/Banner.md +8 -9
  253. package/docs/demos/Card/examples/Card.md +216 -153
  254. package/docs/demos/CardView/examples/CardView.md +57 -30
  255. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  256. package/docs/demos/Dashboard/examples/Dashboard.md +51 -33
  257. package/docs/demos/DataList/examples/DataList.md +312 -255
  258. package/docs/demos/DescriptionList/examples/DescriptionList.md +33 -22
  259. package/docs/demos/Drawer/examples/Drawer.md +24 -22
  260. package/docs/demos/Form/examples/BasicForms.md +220 -213
  261. package/docs/demos/HelperText/examples/HelperText.md +16 -14
  262. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  263. package/docs/demos/Masthead/examples/Masthead.md +302 -284
  264. package/docs/demos/Modal/examples/Modal.md +54 -66
  265. package/docs/demos/Nav/examples/Nav.md +47 -47
  266. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +70 -58
  267. package/docs/demos/Page/examples/Page.md +982 -51
  268. package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +22 -18
  269. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +121 -106
  270. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +345 -311
  271. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  272. package/docs/demos/Table/examples/Table.md +3323 -1288
  273. package/docs/demos/Tabs/examples/Tabs.md +141 -90
  274. package/docs/demos/Toolbar/examples/Toolbar.md +1994 -329
  275. package/docs/demos/Wizard/examples/Wizard.md +289 -266
  276. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  277. package/docs/layouts/Flex/examples/Flex.md +98 -98
  278. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  279. package/docs/layouts/Grid/examples/Grid.md +9 -9
  280. package/docs/layouts/Level/examples/Level.md +5 -5
  281. package/docs/layouts/Split/examples/Split.md +7 -7
  282. package/docs/layouts/Stack/examples/Stack.md +6 -6
  283. package/docs/utilities/Accessibility/examples/Accessibility.md +5 -5
  284. package/docs/utilities/Alignment/examples/Alignment.md +7 -7
  285. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +13 -13
  286. package/docs/utilities/BoxShadow/examples/box-shadow.md +23 -23
  287. package/docs/utilities/Display/examples/Display.md +12 -12
  288. package/docs/utilities/Flex/examples/Flex.md +35 -35
  289. package/docs/utilities/Float/examples/Float.md +5 -5
  290. package/docs/utilities/Sizing/examples/Sizing.md +51 -51
  291. package/docs/utilities/Spacing/examples/Spacing.md +35 -35
  292. package/docs/utilities/Text/examples/Text.md +31 -31
  293. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  294. package/layouts/Gallery/gallery.css +1 -1
  295. package/layouts/Gallery/gallery.scss +1 -1
  296. package/layouts/Grid/grid.css +7 -7
  297. package/layouts/Grid/grid.scss +2 -2
  298. package/package.json +59 -65
  299. package/patternfly-addons.css +48 -48
  300. package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +28 -73
  301. package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
  302. package/patternfly-base.css +63 -114
  303. package/{patternfly-no-reset.css → patternfly-no-globals.css} +1179 -2293
  304. package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
  305. package/patternfly.css +1207 -2327
  306. package/patternfly.min.css +1 -1
  307. package/patternfly.min.css.map +1 -1
  308. package/sass-utilities/functions.scss +8 -24
  309. package/sass-utilities/mixins.scss +15 -39
  310. package/sass-utilities/placeholders.scss +0 -23
  311. package/sass-utilities/scss-variables.scss +5 -6
  312. package/sass-utilities/themes/dark/placeholders.scss +0 -22
  313. package/sass-utilities/themes/dark/scss-variables.scss +1 -1
  314. package/utilities/Spacing/spacing.scss +2 -2
  315. package/utilities/Text/text.css +48 -48
  316. package/utilities/Text/text.scss +6 -6
  317. package/utilities/Text/themes/dark/text.scss +2 -2
  318. package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
  319. package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
  320. package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
  321. package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
  322. package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
  323. package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
  324. package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
  325. package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
  326. package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
  327. package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
  328. package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
  329. package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
  330. package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
  331. package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
  332. package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
  333. package/assets/pficon/pficon.woff +0 -0
  334. package/base/_shield-inheritable.scss +0 -69
  335. package/base/_shield-noninheritable.scss +0 -13
  336. package/base/patternfly-shield-inheritable.css +0 -66
  337. package/base/patternfly-shield-inheritable.scss +0 -4
  338. package/base/patternfly-shield-noninheritable.css +0 -9
  339. package/base/patternfly-shield-noninheritable.scss +0 -4
  340. package/sass-utilities/bs-variables.scss +0 -709
@@ -350,28 +350,28 @@ cssPrefix: pf-c-clipboard-copy
350
350
 
351
351
  ### Accessibility
352
352
 
353
- | Attribute | Applied to | Outcome |
354
- | ------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
355
- | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
356
- | `aria-label="[input label text]"` | `.pf-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
357
- | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
358
- | `aria-controls="[id of expandable element]"` | `.pf-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
359
- | `hidden` | `.pf-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
360
- | `aria-labelledby="[id of button] [id of input label]"` | `.pf-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
353
+ | Attribute | Applied to | Outcome |
354
+ | -- | -- | -- |
355
+ | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
356
+ | `aria-label="[input label text]"` | `.pf-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
357
+ | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
358
+ | `aria-controls="[id of expandable element]"` | `.pf-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
359
+ | `hidden` | `.pf-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
360
+ | `aria-labelledby="[id of button] [id of input label]"` | `.pf-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
361
361
 
362
362
  ### Usage
363
363
 
364
- | Class | Applied to | Outcome |
365
- | ------------------------------------------ | ---------------------------------- | --------------------------------------------------------------------------------- |
366
- | `.pf-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
367
- | `.pf-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
368
- | `.pf-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
369
- | `.pf-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
370
- | `.pf-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
371
- | `.pf-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
372
- | `.pf-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
373
- | `.pf-m-inline` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
374
- | `.pf-m-block` | `.pf-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
375
- | `.pf-m-expanded` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
376
- | `.pf-m-expanded` | `.pf-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
377
- | `.pf-m-code` | `code.pf-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
364
+ | Class | Applied to | Outcome |
365
+ | -- | -- | -- |
366
+ | `.pf-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
367
+ | `.pf-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
368
+ | `.pf-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
369
+ | `.pf-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
370
+ | `.pf-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
371
+ | `.pf-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
372
+ | `.pf-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
373
+ | `.pf-m-inline` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
374
+ | `.pf-m-block` | `.pf-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
375
+ | `.pf-m-expanded` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
376
+ | `.pf-m-expanded` | `.pf-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
377
+ | `.pf-m-code` | `code.pf-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
@@ -169,12 +169,12 @@ name: azure-sample-repo<div
169
169
 
170
170
  ### Usage
171
171
 
172
- | Class | Applied to | Outcome |
173
- | -------------------------------- | ---------- | ------------------------------------------------------- |
174
- | `.pf-c-code-block` | `<div>` | Initiates the code block component. **Required** |
175
- | `.pf-c-chip-group__header` | `<div>` | Initiates the code block header. |
176
- | `.pf-c-chip-group__actions` | `<div>` | Initiates the code block actions. |
177
- | `.pf-c-chip-group__actions-item` | `<div>` | Initiates a code block action item. |
178
- | `.pf-c-chip-group__content` | `<div>` | Initiates the code block content. **Required** |
179
- | `.pf-c-chip-group__pre` | `<pre>` | Initiates the code block `<pre>` element. **Required** |
180
- | `.pf-c-chip-group__code` | `<code>` | Initiates the code block `<code>` element. **Required** |
172
+ | Class | Applied to | Outcome |
173
+ | -- | -- | -- |
174
+ | `.pf-c-code-block` | `<div>` | Initiates the code block component. **Required** |
175
+ | `.pf-c-code-block__header` | `<div>` | Initiates the code block header. |
176
+ | `.pf-c-code-block__actions` | `<div>` | Initiates the code block actions. |
177
+ | `.pf-c-code-block__actions-item` | `<div>` | Initiates a code block action item. |
178
+ | `.pf-c-code-block__content` | `<div>` | Initiates the code block content. **Required** |
179
+ | `.pf-c-code-block__pre` | `<pre>` | Initiates the code block `<pre>` element. **Required** |
180
+ | `.pf-c-code-block__code` | `<code>` | Initiates the code block `<code>` element. **Required** |
@@ -107,24 +107,37 @@ cssPrefix: pf-c-code-editor
107
107
  <div class="pf-c-code-editor__header-main"></div>
108
108
  <div class="pf-c-code-editor__tab">
109
109
  <span class="pf-c-code-editor__tab-icon">
110
- <i class="fas fa-code"></i>
110
+ <i class="fas fa-code" aria-hidden="true"></i>
111
111
  </span>
112
112
  <span class="pf-c-code-editor__tab-text">YAML</span>
113
113
  </div>
114
114
  </div>
115
115
  <div class="pf-c-code-editor__main">
116
- <div class="pf-c-empty-state pf-m-lg">
116
+ <div class="pf-c-empty-state">
117
117
  <div class="pf-c-empty-state__content">
118
- <div class="pf-c-empty-state__icon">
119
- <i class="fas fa-code"></i>
118
+ <div class="pf-c-empty-state__header">
119
+ <div class="pf-c-empty-state__icon">
120
+ <i class="fas fa- fa-code" aria-hidden="true"></i>
121
+ </div>
122
+ <div class="pf-c-empty-state__title">
123
+ <h1 class="pf-c-empty-state__title-text">Start editing</h1>
124
+ </div>
120
125
  </div>
121
- <h1 class="pf-c-title pf-m-lg">Start editing</h1>
126
+
122
127
  <div
123
128
  class="pf-c-empty-state__body"
124
129
  >Drag a file here or browse to upload.</div>
125
- <button class="pf-c-button pf-m-primary" type="button">Browse</button>
126
- <div class="pf-c-empty-state__secondary">
127
- <button class="pf-c-button pf-m-link" type="button">Start from scratch</button>
130
+
131
+ <div class="pf-c-empty-state__footer">
132
+ <div class="pf-c-empty-state__actions">
133
+ <button class="pf-c-button pf-m-primary" type="button">Browse</button>
134
+ </div>
135
+ <div class="pf-c-empty-state__actions">
136
+ <button
137
+ class="pf-c-button pf-m-link"
138
+ type="button"
139
+ >Start from scratch</button>
140
+ </div>
128
141
  </div>
129
142
  </div>
130
143
  </div>
@@ -141,24 +154,37 @@ cssPrefix: pf-c-code-editor
141
154
  <div class="pf-c-code-editor__header-main"></div>
142
155
  <div class="pf-c-code-editor__tab">
143
156
  <span class="pf-c-code-editor__tab-icon">
144
- <i class="fas fa-code"></i>
157
+ <i class="fas fa-code" aria-hidden="true"></i>
145
158
  </span>
146
159
  <span class="pf-c-code-editor__tab-text">YAML</span>
147
160
  </div>
148
161
  </div>
149
162
  <div class="pf-c-code-editor__main pf-m-drag-hover">
150
- <div class="pf-c-empty-state pf-m-lg">
163
+ <div class="pf-c-empty-state">
151
164
  <div class="pf-c-empty-state__content">
152
- <div class="pf-c-empty-state__icon">
153
- <i class="fas fa-code"></i>
165
+ <div class="pf-c-empty-state__header">
166
+ <div class="pf-c-empty-state__icon">
167
+ <i class="fas fa- fa-code" aria-hidden="true"></i>
168
+ </div>
169
+ <div class="pf-c-empty-state__title">
170
+ <h1 class="pf-c-empty-state__title-text">Start editing</h1>
171
+ </div>
154
172
  </div>
155
- <h1 class="pf-c-title pf-m-lg">Start editing</h1>
173
+
156
174
  <div
157
175
  class="pf-c-empty-state__body"
158
176
  >Drag a file here or browse to upload.</div>
159
- <button class="pf-c-button pf-m-primary" type="button">Browse</button>
160
- <div class="pf-c-empty-state__secondary">
161
- <button class="pf-c-button pf-m-link" type="button">Start from scratch</button>
177
+
178
+ <div class="pf-c-empty-state__footer">
179
+ <div class="pf-c-empty-state__actions">
180
+ <button class="pf-c-button pf-m-primary" type="button">Browse</button>
181
+ </div>
182
+ <div class="pf-c-empty-state__actions">
183
+ <button
184
+ class="pf-c-button pf-m-link"
185
+ type="button"
186
+ >Start from scratch</button>
187
+ </div>
162
188
  </div>
163
189
  </div>
164
190
  </div>
@@ -224,24 +250,17 @@ cssPrefix: pf-c-code-editor
224
250
 
225
251
  ## Documentation
226
252
 
227
- ### Overview
228
-
229
- ### Accessibility
230
-
231
- | Class | Applied to | Outcome |
232
- | ----- | ---------- | ------- |
233
-
234
253
  ### Usage
235
254
 
236
- | Class | Applied to | Outcome |
237
- | --------------------------------------- | ---------- | ----------------------------------------------------------------------------------------- |
238
- | `.pf-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
239
- | `.pf-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
240
- | `.pf-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
241
- | `.pf-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
242
- | `.pf-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
243
- | `.pf-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
244
- | `.pf-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
245
- | `.pf-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
246
- | `.pf-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
247
- | `.pf-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
255
+ | Class | Applied to | Outcome |
256
+ | -- | -- | -- |
257
+ | `.pf-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
258
+ | `.pf-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
259
+ | `.pf-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
260
+ | `.pf-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
261
+ | `.pf-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
262
+ | `.pf-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
263
+ | `.pf-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
264
+ | `.pf-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
265
+ | `.pf-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
266
+ | `.pf-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
@@ -75,6 +75,33 @@ cssPrefix: pf-c-content
75
75
  <em>justo sodales</em> elementum. Maecenas ultrices lacus quis neque consectetur, et lobortis nisi molestie.
76
76
  </p>
77
77
  <hr />
78
+ <h3>Plain list example</h3>
79
+ <ol class="pf-m-plain">
80
+ <li>Donec blandit a lorem id convallis.</li>
81
+ <li>Cras gravida arcu at diam gravida gravida.</li>
82
+ <li>Integer in volutpat libero.</li>
83
+ <li>Donec a diam tellus.</li>
84
+ <li>
85
+ Etiam auctor nisl et.
86
+ <ul>
87
+ <li>Regular list</li>
88
+ <li>Donec blandit a lorem id convallis.</li>
89
+ <li>Cras gravida arcu at diam gravida gravida.</li>
90
+ <li>
91
+ Integer in volutpat libero.
92
+ <ol class="pf-m-plain">
93
+ <li>Nested plain list</li>
94
+ <li>Donec blandit a lorem id convallis.</li>
95
+ <li>Cras gravida arcu at diam gravida gravida.</li>
96
+ </ol>
97
+ </li>
98
+ </ul>
99
+ </li>
100
+ <li>Aenean nec tortor orci.</li>
101
+ <li>Quisque aliquam cursus urna, non bibendum massa viverra eget.</li>
102
+ <li>Vivamus maximus ultricies pulvinar.</li>
103
+ </ol>
104
+ <hr />
78
105
  <h3>Visited link example</h3>
79
106
  <p>
80
107
  <a class="pf-m-visited" href>Visited link</a>
@@ -136,11 +163,11 @@ cssPrefix: pf-c-content
136
163
 
137
164
  When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-c-content` as container. It can handle almost any HTML tag:
138
165
 
139
- - `<p>` paragraphs
140
- - `<ul>` `<ol>` `<dl>` lists
141
- - `<h1>` to `<h6>` headings
142
- - `<blockquote>` quotes
143
- - `<em>` and `<strong>`
166
+ * `<p>` paragraphs
167
+ * `<ul>` `<ol>` `<dl>` lists
168
+ * `<h1>` to `<h6>` headings
169
+ * `<blockquote>` quotes
170
+ * `<em>` and `<strong>`
144
171
 
145
172
  This `pf-c-content` class can be used in any context where you just want to (or can only) write some text.
146
173
 
@@ -148,7 +175,8 @@ This component is an exception to the variable system since we style type select
148
175
 
149
176
  ### Usage
150
177
 
151
- | Class | Applied to | Outcome |
152
- | --------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
153
- | `.pf-c-content` | `<div>`, `<section>`, or `<article>` | Generates vertical rhythm and typographic treatment to html elements. |
154
- | `.pf-m-visited` | `.pf-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
178
+ | Class | Applied to | Outcome |
179
+ | -- | -- | -- |
180
+ | `.pf-c-content` | `<div>`, `<section>`, or `<article>` | Generates vertical rhythm and typographic treatment to html elements. |
181
+ | `.pf-m-visited` | `.pf-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
182
+ | `.pf-m-plain` | `<ul>`, `<ol>` | Removes the list marker and indentation. |
@@ -1,3 +1,7 @@
1
- #ws-core-c-context-selector-basic, #ws-core-c-context-selector-with-footer, #ws-core-c-context-selector-plain-with-text {
1
+ #ws-core-c-context-selector-basic, #ws-core-c-context-selector-plain-with-text {
2
2
  min-height: 380px;
3
3
  }
4
+
5
+ #ws-core-c-context-selector-with-footer {
6
+ min-height: 420px;
7
+ }
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  id: Context selector
3
3
  section: components
4
+ subsection: menus
4
5
  cssPrefix: pf-c-context-selector
5
6
  ---import './context-selector.css'
6
7
 
@@ -24,23 +25,24 @@ cssPrefix: pf-c-context-selector
24
25
  </button>
25
26
  <div class="pf-c-context-selector__menu" hidden>
26
27
  <div class="pf-c-context-selector__menu-search">
27
- <div class="pf-c-search-input">
28
- <div class="pf-c-search-input__bar">
29
- <span class="pf-c-search-input__text">
30
- <span class="pf-c-search-input__icon">
31
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
28
+ <div class="pf-c-text-input-group">
29
+ <div class="pf-c-text-input-group__main pf-m-icon">
30
+ <span class="pf-c-text-input-group__text">
31
+ <span class="pf-c-text-input-group__icon">
32
+ <i class="fas fa-fw fa-search"></i>
32
33
  </span>
33
34
  <input
34
- class="pf-c-search-input__text-input"
35
- type="text"
35
+ class="pf-c-text-input-group__text-input"
36
+ type="search"
36
37
  placeholder="Search"
37
- aria-label="Search"
38
+ value
39
+ aria-label="Filter menu items"
38
40
  />
39
41
  </span>
40
42
  </div>
41
43
  </div>
42
44
  </div>
43
- <ul class="pf-c-context-selector__menu-list">
45
+ <ul class="pf-c-context-selector__menu-list" role="list">
44
46
  <li>
45
47
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
46
48
  </li>
@@ -138,23 +140,24 @@ cssPrefix: pf-c-context-selector
138
140
  </button>
139
141
  <div class="pf-c-context-selector__menu">
140
142
  <div class="pf-c-context-selector__menu-search">
141
- <div class="pf-c-search-input">
142
- <div class="pf-c-search-input__bar">
143
- <span class="pf-c-search-input__text">
144
- <span class="pf-c-search-input__icon">
145
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
143
+ <div class="pf-c-text-input-group">
144
+ <div class="pf-c-text-input-group__main pf-m-icon">
145
+ <span class="pf-c-text-input-group__text">
146
+ <span class="pf-c-text-input-group__icon">
147
+ <i class="fas fa-fw fa-search"></i>
146
148
  </span>
147
149
  <input
148
- class="pf-c-search-input__text-input"
149
- type="text"
150
+ class="pf-c-text-input-group__text-input"
151
+ type="search"
150
152
  placeholder="Search"
151
- aria-label="Search"
153
+ value
154
+ aria-label="Filter menu items"
152
155
  />
153
156
  </span>
154
157
  </div>
155
158
  </div>
156
159
  </div>
157
- <ul class="pf-c-context-selector__menu-list">
160
+ <ul class="pf-c-context-selector__menu-list" role="list">
158
161
  <li>
159
162
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
160
163
  </li>
@@ -260,23 +263,24 @@ cssPrefix: pf-c-context-selector
260
263
  </button>
261
264
  <div class="pf-c-context-selector__menu" hidden>
262
265
  <div class="pf-c-context-selector__menu-search">
263
- <div class="pf-c-search-input">
264
- <div class="pf-c-search-input__bar">
265
- <span class="pf-c-search-input__text">
266
- <span class="pf-c-search-input__icon">
267
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
266
+ <div class="pf-c-text-input-group">
267
+ <div class="pf-c-text-input-group__main pf-m-icon">
268
+ <span class="pf-c-text-input-group__text">
269
+ <span class="pf-c-text-input-group__icon">
270
+ <i class="fas fa-fw fa-search"></i>
268
271
  </span>
269
272
  <input
270
- class="pf-c-search-input__text-input"
271
- type="text"
273
+ class="pf-c-text-input-group__text-input"
274
+ type="search"
272
275
  placeholder="Search"
273
- aria-label="Search"
276
+ value
277
+ aria-label="Filter menu items"
274
278
  />
275
279
  </span>
276
280
  </div>
277
281
  </div>
278
282
  </div>
279
- <ul class="pf-c-context-selector__menu-list">
283
+ <ul class="pf-c-context-selector__menu-list" role="list">
280
284
  <li>
281
285
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
282
286
  </li>
@@ -377,23 +381,24 @@ cssPrefix: pf-c-context-selector
377
381
  </button>
378
382
  <div class="pf-c-context-selector__menu">
379
383
  <div class="pf-c-context-selector__menu-search">
380
- <div class="pf-c-search-input">
381
- <div class="pf-c-search-input__bar">
382
- <span class="pf-c-search-input__text">
383
- <span class="pf-c-search-input__icon">
384
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
384
+ <div class="pf-c-text-input-group">
385
+ <div class="pf-c-text-input-group__main pf-m-icon">
386
+ <span class="pf-c-text-input-group__text">
387
+ <span class="pf-c-text-input-group__icon">
388
+ <i class="fas fa-fw fa-search"></i>
385
389
  </span>
386
390
  <input
387
- class="pf-c-search-input__text-input"
388
- type="text"
391
+ class="pf-c-text-input-group__text-input"
392
+ type="search"
389
393
  placeholder="Search"
390
- aria-label="Search"
394
+ value
395
+ aria-label="Filter menu items"
391
396
  />
392
397
  </span>
393
398
  </div>
394
399
  </div>
395
400
  </div>
396
- <ul class="pf-c-context-selector__menu-list">
401
+ <ul class="pf-c-context-selector__menu-list" role="list">
397
402
  <li>
398
403
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
399
404
  </li>
@@ -496,23 +501,24 @@ cssPrefix: pf-c-context-selector
496
501
  </button>
497
502
  <div class="pf-c-context-selector__menu">
498
503
  <div class="pf-c-context-selector__menu-search">
499
- <div class="pf-c-search-input">
500
- <div class="pf-c-search-input__bar">
501
- <span class="pf-c-search-input__text">
502
- <span class="pf-c-search-input__icon">
503
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
504
+ <div class="pf-c-text-input-group">
505
+ <div class="pf-c-text-input-group__main pf-m-icon">
506
+ <span class="pf-c-text-input-group__text">
507
+ <span class="pf-c-text-input-group__icon">
508
+ <i class="fas fa-fw fa-search"></i>
504
509
  </span>
505
510
  <input
506
- class="pf-c-search-input__text-input"
507
- type="text"
511
+ class="pf-c-text-input-group__text-input"
512
+ type="search"
508
513
  placeholder="Search"
509
- aria-label="Search"
514
+ value
515
+ aria-label="Filter menu items"
510
516
  />
511
517
  </span>
512
518
  </div>
513
519
  </div>
514
520
  </div>
515
- <ul class="pf-c-context-selector__menu-list">
521
+ <ul class="pf-c-context-selector__menu-list" role="list">
516
522
  <li>
517
523
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
518
524
  </li>
@@ -617,23 +623,24 @@ cssPrefix: pf-c-context-selector
617
623
  </button>
618
624
  <div class="pf-c-context-selector__menu">
619
625
  <div class="pf-c-context-selector__menu-search">
620
- <div class="pf-c-search-input">
621
- <div class="pf-c-search-input__bar">
622
- <span class="pf-c-search-input__text">
623
- <span class="pf-c-search-input__icon">
624
- <i class="fas fa-search fa-fw" aria-hidden="true"></i>
626
+ <div class="pf-c-text-input-group">
627
+ <div class="pf-c-text-input-group__main pf-m-icon">
628
+ <span class="pf-c-text-input-group__text">
629
+ <span class="pf-c-text-input-group__icon">
630
+ <i class="fas fa-fw fa-search"></i>
625
631
  </span>
626
632
  <input
627
- class="pf-c-search-input__text-input"
628
- type="text"
633
+ class="pf-c-text-input-group__text-input"
634
+ type="search"
629
635
  placeholder="Search"
630
- aria-label="Search"
636
+ value
637
+ aria-label="Filter menu items"
631
638
  />
632
639
  </span>
633
640
  </div>
634
641
  </div>
635
642
  </div>
636
- <ul class="pf-c-context-selector__menu-list">
643
+ <ul class="pf-c-context-selector__menu-list" role="list">
637
644
  <li>
638
645
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
639
646
  </li>
@@ -729,32 +736,32 @@ cssPrefix: pf-c-context-selector
729
736
 
730
737
  ### Accessibility
731
738
 
732
- | Class | Applied to | Outcome |
733
- | ----------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
734
- | `aria-expanded="false"` | `.pf-c-context-selector__toggle` | Indicates that the menu is hidden. |
735
- | `aria-expanded="true"` | `.pf-c-context-selector__toggle` | Indicates that the menu is visible. |
736
- | `aria-hidden="true"` | `.pf-c-context-selector__toggle-icon > *` | Hides the icon from assistive technologies. |
737
- | `disabled` | `button.pf-c-context-selector__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
738
- | `aria-disabled="true"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
739
- | `tabindex="-1"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
739
+ | Class | Applied to | Outcome |
740
+ | -- | -- | -- |
741
+ | `aria-expanded="false"` | `.pf-c-context-selector__toggle` | Indicates that the menu is hidden. |
742
+ | `aria-expanded="true"` | `.pf-c-context-selector__toggle` | Indicates that the menu is visible. |
743
+ | `aria-hidden="true"` | `.pf-c-context-selector__toggle-icon > *` | Hides the icon from assistive technologies. |
744
+ | `disabled` | `button.pf-c-context-selector__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
745
+ | `aria-disabled="true"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
746
+ | `tabindex="-1"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
740
747
 
741
748
  ### Usage
742
749
 
743
- | Class | Applied to | Outcome |
744
- | ---------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------------------- |
745
- | `.pf-c-context-selector` | `<div>` | Initiates a context selector. |
746
- | `.pf-c-context-selector__toggle` | `<button>` | Initiates a toggle. |
747
- | `.pf-c-context-selector__toggle-text` | `<span>` | Initiates text inside the toggle. |
748
- | `.pf-c-context-selector__toggle-icon` | `<span>` | Inititiates the toggle icon wrapper. |
749
- | `.pf-c-context-selector__menu` | `<div>` | Initiaties a menu. |
750
- | `.pf-c-context-selector__menu-search` | `<div>` | Initiates a container for the search input group. |
751
- | `.pf-c-context-selector__menu-list` | `<ul>` | Initiaties an unordered list of menu items that sits under the input container. |
752
- | `.pf-c-context-selector__menu-footer` | `<div>` | Initiaties a menu footer. |
753
- | `.pf-c-context-selector__menu-list-item` | `<li>` | Initiaties a menu item. |
754
- | `.pf-m-expanded` | `.pf-c-context-selector` | Modifies for the expanded state. |
755
- | `.pf-m-active` | `.pf-c-context-selector__toggle` | Forces display of the active state of the toggle. |
756
- | `.pf-m-plain.pf-m-text` | `.pf-c-context-selector__toggle` | Modifies the context selector toggle for plain text styles. |
757
- | `.pf-m-disabled` | `a.pf-c-context-selector__menu-list-item` | Modifies an item for the disabled state. |
758
- | `.pf-m-full-height` | `.pf-c-context-selector` | Modifies a context selector to full height of parent. See masthead for use. |
759
- | `.pf-m-large` | `.pf-c-context-selector` | Modifies toggle height to be large. |
760
- | `.pf-m-page-insets` | `.pf-c-context-selector` | Modifies toggle and menu insets to match the responsive page chrome insets. |
750
+ | Class | Applied to | Outcome |
751
+ | -- | -- | -- |
752
+ | `.pf-c-context-selector` | `<div>` | Initiates a context selector.|
753
+ | `.pf-c-context-selector__toggle` | `<button>` | Initiates a toggle. |
754
+ | `.pf-c-context-selector__toggle-text` | `<span>` | Initiates text inside the toggle. |
755
+ | `.pf-c-context-selector__toggle-icon` | `<span>` | Inititiates the toggle icon wrapper. |
756
+ | `.pf-c-context-selector__menu` | `<div>` | Initiaties a menu. |
757
+ | `.pf-c-context-selector__menu-search` | `<div>` | Initiates a container for the search input group. |
758
+ | `.pf-c-context-selector__menu-list` | `<ul>` | Initiaties an unordered list of menu items that sits under the input container. |
759
+ | `.pf-c-context-selector__menu-footer` | `<div>` | Initiaties a menu footer. |
760
+ | `.pf-c-context-selector__menu-list-item` | `<li>` | Initiaties a menu item. |
761
+ | `.pf-m-expanded` | `.pf-c-context-selector` | Modifies for the expanded state. |
762
+ | `.pf-m-active` | `.pf-c-context-selector__toggle` | Forces display of the active state of the toggle. |
763
+ | `.pf-m-plain.pf-m-text` | `.pf-c-context-selector__toggle` | Modifies the context selector toggle for plain text styles. |
764
+ | `.pf-m-disabled` | `a.pf-c-context-selector__menu-list-item` | Modifies an item for the disabled state.|
765
+ | `.pf-m-full-height` | `.pf-c-context-selector` | Modifies a context selector to full height of parent. See masthead for use. |
766
+ | `.pf-m-large` | `.pf-c-context-selector` | Modifies toggle height to be large. |
767
+ | `.pf-m-page-insets` | `.pf-c-context-selector` | Modifies toggle and menu insets to match the responsive page chrome insets. |