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

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 (222) hide show
  1. package/README.md +1 -1
  2. package/RELEASE-NOTES.md +47 -0
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/pficon/pficon.scss +6 -0
  5. package/assets/pficon/pficon.woff +0 -0
  6. package/assets/pficon/pficon.woff2 +0 -0
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/patternfly-common.css +0 -10
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/components/Accordion/accordion.css +2 -0
  13. package/components/Accordion/accordion.scss +2 -0
  14. package/components/AppLauncher/app-launcher.css +2 -0
  15. package/components/AppLauncher/app-launcher.scss +2 -0
  16. package/components/Breadcrumb/breadcrumb.css +2 -0
  17. package/components/Breadcrumb/breadcrumb.scss +2 -0
  18. package/components/CalendarMonth/calendar-month.css +1 -1
  19. package/components/CalendarMonth/calendar-month.scss +1 -1
  20. package/components/Card/card.css +9 -12
  21. package/components/Card/card.scss +11 -17
  22. package/components/ChipGroup/chip-group.css +27 -17
  23. package/components/ChipGroup/chip-group.scss +36 -22
  24. package/components/Content/content.css +6 -0
  25. package/components/Content/content.scss +8 -0
  26. package/components/ContextSelector/context-selector.css +5 -1
  27. package/components/ContextSelector/context-selector.scss +6 -2
  28. package/components/DataList/data-list.css +2 -1
  29. package/components/DataList/data-list.scss +2 -1
  30. package/components/Drawer/drawer.css +13 -14
  31. package/components/Drawer/drawer.scss +0 -1
  32. package/components/Dropdown/dropdown.css +27 -10
  33. package/components/Dropdown/dropdown.scss +22 -0
  34. package/components/EmptyState/empty-state.css +46 -52
  35. package/components/EmptyState/empty-state.scss +58 -57
  36. package/components/ExpandableSection/expandable-section.css +2 -0
  37. package/components/ExpandableSection/expandable-section.scss +2 -0
  38. package/components/FormControl/form-control.css +1 -1
  39. package/components/FormControl/themes/dark/form-control.scss +1 -1
  40. package/components/InputGroup/input-group.css +14 -0
  41. package/components/InputGroup/input-group.scss +9 -0
  42. package/components/InputGroup/themes/dark/input-group.scss +8 -0
  43. package/components/Label/label.css +2 -0
  44. package/components/Label/label.scss +2 -0
  45. package/components/LabelGroup/label-group.css +26 -22
  46. package/components/LabelGroup/label-group.scss +31 -26
  47. package/components/Login/login.css +1 -1
  48. package/components/Menu/menu.css +7 -0
  49. package/components/Menu/menu.scss +8 -0
  50. package/components/MenuToggle/menu-toggle.css +2 -0
  51. package/components/MenuToggle/menu-toggle.scss +2 -0
  52. package/components/ModalBox/modal-box.css +9 -8
  53. package/components/ModalBox/modal-box.scss +11 -11
  54. package/components/Page/page.css +60 -60
  55. package/components/Pagination/pagination.css +122 -2
  56. package/components/Pagination/pagination.scss +24 -1
  57. package/components/Popover/popover.css +2 -7
  58. package/components/Popover/themes/dark/popover.scss +2 -8
  59. package/components/Progress/progress.css +5 -2
  60. package/components/Progress/progress.scss +5 -2
  61. package/components/SearchInput/search-input.css +2 -0
  62. package/components/SearchInput/search-input.scss +2 -0
  63. package/components/Slider/slider.css +0 -7
  64. package/components/Slider/slider.scss +0 -9
  65. package/components/Table/table-grid.css +28 -28
  66. package/components/Table/table-tree-view.css +4 -4
  67. package/components/Tabs/tabs.css +0 -4
  68. package/components/Tabs/tabs.scss +0 -7
  69. package/components/TextInputGroup/text-input-group.css +4 -2
  70. package/components/TextInputGroup/text-input-group.scss +4 -3
  71. package/components/Toolbar/toolbar.css +65 -37
  72. package/components/Toolbar/toolbar.scss +37 -3
  73. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  74. package/components/Tooltip/tooltip.css +7 -12
  75. package/components/Tooltip/tooltip.scss +6 -3
  76. package/components/TreeView/tree-view.css +7 -15
  77. package/components/TreeView/tree-view.scss +7 -18
  78. package/components/Wizard/wizard.css +2 -0
  79. package/components/Wizard/wizard.scss +2 -0
  80. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  81. package/docs/components/Accordion/examples/Accordion.md +12 -12
  82. package/docs/components/ActionList/examples/ActionList.md +6 -6
  83. package/docs/components/Alert/examples/Alert.md +19 -19
  84. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  85. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  86. package/docs/components/Avatar/examples/Avatar.md +11 -11
  87. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  88. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  89. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  90. package/docs/components/Badge/examples/Badge.md +5 -5
  91. package/docs/components/Banner/examples/Banner.md +8 -8
  92. package/docs/components/Brand/examples/Brand.md +9 -9
  93. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  94. package/docs/components/Button/examples/Button.md +35 -35
  95. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  96. package/docs/components/Card/examples/Card.md +61 -44
  97. package/docs/components/Check/examples/Check.md +15 -19
  98. package/docs/components/Chip/examples/Chip.md +13 -13
  99. package/docs/components/ChipGroup/examples/ChipGroup.md +15 -344
  100. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  101. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  102. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  103. package/docs/components/Content/examples/Content.md +37 -9
  104. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  105. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  106. package/docs/components/DataList/examples/DataList.md +187 -148
  107. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  108. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  109. package/docs/components/Divider/examples/Divider.md +10 -10
  110. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  111. package/docs/components/Drawer/examples/Drawer.md +43 -43
  112. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  113. package/docs/components/Dropdown/examples/Dropdown.md +311 -71
  114. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  115. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  116. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  117. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  118. package/docs/components/Form/examples/Form.md +64 -64
  119. package/docs/components/FormControl/examples/FormControl.md +20 -20
  120. package/docs/components/HelperText/examples/HelperText.md +12 -12
  121. package/docs/components/Hint/examples/Hint.md +7 -7
  122. package/docs/components/Icon/examples/Icon.md +10 -10
  123. package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
  124. package/docs/components/InputGroup/examples/InputGroup.md +10 -9
  125. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  126. package/docs/components/Label/examples/Label.md +31 -31
  127. package/docs/components/LabelGroup/examples/LabelGroup.md +24 -36
  128. package/docs/components/List/examples/List.md +18 -18
  129. package/docs/components/LogViewer/examples/LogViewer.md +69 -69
  130. package/docs/components/Login/examples/Login.md +32 -32
  131. package/docs/components/Masthead/examples/masthead.md +9 -9
  132. package/docs/components/Menu/examples/Menu.md +82 -80
  133. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  134. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  135. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  136. package/docs/components/Nav/examples/Navigation.md +69 -69
  137. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  138. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  139. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  140. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  141. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  142. package/docs/components/Page/examples/Page.md +54 -54
  143. package/docs/components/Pagination/examples/Pagination.md +129 -30
  144. package/docs/components/Panel/examples/Panel.md +10 -10
  145. package/docs/components/Popover/examples/Popover.md +34 -34
  146. package/docs/components/Progress/examples/Progress.md +31 -60
  147. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  148. package/docs/components/Radio/examples/Radio.md +11 -11
  149. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  150. package/docs/components/Select/examples/Select.md +143 -143
  151. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  152. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  153. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  154. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  155. package/docs/components/Slider/examples/Slider.md +30 -30
  156. package/docs/components/Spinner/examples/Spinner.md +24 -24
  157. package/docs/components/Switch/examples/Switch.md +19 -19
  158. package/docs/components/TabContent/examples/TabContent.md +13 -13
  159. package/docs/components/Table/examples/Table.md +1272 -855
  160. package/docs/components/Tabs/examples/Tabs.md +149 -149
  161. package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
  162. package/docs/components/Tile/examples/Tile.md +15 -15
  163. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  164. package/docs/components/Title/examples/Title.md +17 -17
  165. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  166. package/docs/components/Toolbar/examples/Toolbar.md +165 -144
  167. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  168. package/docs/components/TreeView/examples/TreeView.md +34 -34
  169. package/docs/components/Truncate/examples/Truncate.md +4 -4
  170. package/docs/components/Wizard/examples/Wizard.md +63 -70
  171. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  172. package/docs/demos/Alert/examples/Alert.md +13 -13
  173. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  174. package/docs/demos/Banner/examples/Banner.md +10 -11
  175. package/docs/demos/Card/examples/Card.md +151 -116
  176. package/docs/demos/CardView/examples/CardView.md +16 -15
  177. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  178. package/docs/demos/Dashboard/examples/Dashboard.md +10 -9
  179. package/docs/demos/DataList/examples/DataList.md +160 -111
  180. package/docs/demos/DescriptionList/examples/DescriptionList.md +12 -13
  181. package/docs/demos/Drawer/examples/Drawer.md +20 -20
  182. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  183. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  184. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  185. package/docs/demos/Modal/examples/Modal.md +54 -66
  186. package/docs/demos/Nav/examples/Nav.md +720 -767
  187. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  188. package/docs/demos/Page/examples/Page.md +37 -37
  189. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  190. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +53 -49
  191. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  192. package/docs/demos/Table/examples/Table.md +522 -378
  193. package/docs/demos/Tabs/examples/Tabs.md +120 -601
  194. package/docs/demos/Toolbar/examples/Toolbar.md +1781 -171
  195. package/docs/demos/Wizard/examples/Wizard.md +229 -225
  196. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  197. package/docs/layouts/Flex/examples/Flex.md +98 -98
  198. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  199. package/docs/layouts/Grid/examples/Grid.md +9 -9
  200. package/docs/layouts/Level/examples/Level.md +5 -5
  201. package/docs/layouts/Split/examples/Split.md +7 -7
  202. package/docs/layouts/Stack/examples/Stack.md +6 -6
  203. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  204. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  205. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  206. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  207. package/docs/utilities/Display/examples/Display.md +11 -11
  208. package/docs/utilities/Flex/examples/Flex.md +34 -34
  209. package/docs/utilities/Float/examples/Float.md +4 -4
  210. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  211. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  212. package/docs/utilities/Text/examples/Text.md +27 -27
  213. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  214. package/layouts/Grid/grid.css +5 -5
  215. package/package.json +59 -64
  216. package/patternfly-base-no-reset.css +5 -11
  217. package/patternfly-base.css +5 -11
  218. package/patternfly-no-reset.css +524 -336
  219. package/patternfly.css +524 -336
  220. package/patternfly.min.css +1 -1
  221. package/patternfly.min.css.map +1 -1
  222. package/sass-utilities/scss-variables.scss +0 -1
@@ -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
+ }
@@ -24,23 +24,24 @@ cssPrefix: pf-c-context-selector
24
24
  </button>
25
25
  <div class="pf-c-context-selector__menu" hidden>
26
26
  <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>
27
+ <div class="pf-c-text-input-group">
28
+ <div class="pf-c-text-input-group__main pf-m-icon">
29
+ <span class="pf-c-text-input-group__text">
30
+ <span class="pf-c-text-input-group__icon">
31
+ <i class="fas fa-fw fa-search"></i>
32
32
  </span>
33
33
  <input
34
- class="pf-c-search-input__text-input"
35
- type="text"
34
+ class="pf-c-text-input-group__text-input"
35
+ type="search"
36
36
  placeholder="Search"
37
- aria-label="Search"
37
+ value
38
+ aria-label="Filter menu items"
38
39
  />
39
40
  </span>
40
41
  </div>
41
42
  </div>
42
43
  </div>
43
- <ul class="pf-c-context-selector__menu-list">
44
+ <ul class="pf-c-context-selector__menu-list" role="list">
44
45
  <li>
45
46
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
46
47
  </li>
@@ -138,23 +139,24 @@ cssPrefix: pf-c-context-selector
138
139
  </button>
139
140
  <div class="pf-c-context-selector__menu">
140
141
  <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>
142
+ <div class="pf-c-text-input-group">
143
+ <div class="pf-c-text-input-group__main pf-m-icon">
144
+ <span class="pf-c-text-input-group__text">
145
+ <span class="pf-c-text-input-group__icon">
146
+ <i class="fas fa-fw fa-search"></i>
146
147
  </span>
147
148
  <input
148
- class="pf-c-search-input__text-input"
149
- type="text"
149
+ class="pf-c-text-input-group__text-input"
150
+ type="search"
150
151
  placeholder="Search"
151
- aria-label="Search"
152
+ value
153
+ aria-label="Filter menu items"
152
154
  />
153
155
  </span>
154
156
  </div>
155
157
  </div>
156
158
  </div>
157
- <ul class="pf-c-context-selector__menu-list">
159
+ <ul class="pf-c-context-selector__menu-list" role="list">
158
160
  <li>
159
161
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
160
162
  </li>
@@ -260,23 +262,24 @@ cssPrefix: pf-c-context-selector
260
262
  </button>
261
263
  <div class="pf-c-context-selector__menu" hidden>
262
264
  <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>
265
+ <div class="pf-c-text-input-group">
266
+ <div class="pf-c-text-input-group__main pf-m-icon">
267
+ <span class="pf-c-text-input-group__text">
268
+ <span class="pf-c-text-input-group__icon">
269
+ <i class="fas fa-fw fa-search"></i>
268
270
  </span>
269
271
  <input
270
- class="pf-c-search-input__text-input"
271
- type="text"
272
+ class="pf-c-text-input-group__text-input"
273
+ type="search"
272
274
  placeholder="Search"
273
- aria-label="Search"
275
+ value
276
+ aria-label="Filter menu items"
274
277
  />
275
278
  </span>
276
279
  </div>
277
280
  </div>
278
281
  </div>
279
- <ul class="pf-c-context-selector__menu-list">
282
+ <ul class="pf-c-context-selector__menu-list" role="list">
280
283
  <li>
281
284
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
282
285
  </li>
@@ -377,23 +380,24 @@ cssPrefix: pf-c-context-selector
377
380
  </button>
378
381
  <div class="pf-c-context-selector__menu">
379
382
  <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>
383
+ <div class="pf-c-text-input-group">
384
+ <div class="pf-c-text-input-group__main pf-m-icon">
385
+ <span class="pf-c-text-input-group__text">
386
+ <span class="pf-c-text-input-group__icon">
387
+ <i class="fas fa-fw fa-search"></i>
385
388
  </span>
386
389
  <input
387
- class="pf-c-search-input__text-input"
388
- type="text"
390
+ class="pf-c-text-input-group__text-input"
391
+ type="search"
389
392
  placeholder="Search"
390
- aria-label="Search"
393
+ value
394
+ aria-label="Filter menu items"
391
395
  />
392
396
  </span>
393
397
  </div>
394
398
  </div>
395
399
  </div>
396
- <ul class="pf-c-context-selector__menu-list">
400
+ <ul class="pf-c-context-selector__menu-list" role="list">
397
401
  <li>
398
402
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
399
403
  </li>
@@ -496,23 +500,24 @@ cssPrefix: pf-c-context-selector
496
500
  </button>
497
501
  <div class="pf-c-context-selector__menu">
498
502
  <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>
503
+ <div class="pf-c-text-input-group">
504
+ <div class="pf-c-text-input-group__main pf-m-icon">
505
+ <span class="pf-c-text-input-group__text">
506
+ <span class="pf-c-text-input-group__icon">
507
+ <i class="fas fa-fw fa-search"></i>
504
508
  </span>
505
509
  <input
506
- class="pf-c-search-input__text-input"
507
- type="text"
510
+ class="pf-c-text-input-group__text-input"
511
+ type="search"
508
512
  placeholder="Search"
509
- aria-label="Search"
513
+ value
514
+ aria-label="Filter menu items"
510
515
  />
511
516
  </span>
512
517
  </div>
513
518
  </div>
514
519
  </div>
515
- <ul class="pf-c-context-selector__menu-list">
520
+ <ul class="pf-c-context-selector__menu-list" role="list">
516
521
  <li>
517
522
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
518
523
  </li>
@@ -617,23 +622,24 @@ cssPrefix: pf-c-context-selector
617
622
  </button>
618
623
  <div class="pf-c-context-selector__menu">
619
624
  <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>
625
+ <div class="pf-c-text-input-group">
626
+ <div class="pf-c-text-input-group__main pf-m-icon">
627
+ <span class="pf-c-text-input-group__text">
628
+ <span class="pf-c-text-input-group__icon">
629
+ <i class="fas fa-fw fa-search"></i>
625
630
  </span>
626
631
  <input
627
- class="pf-c-search-input__text-input"
628
- type="text"
632
+ class="pf-c-text-input-group__text-input"
633
+ type="search"
629
634
  placeholder="Search"
630
- aria-label="Search"
635
+ value
636
+ aria-label="Filter menu items"
631
637
  />
632
638
  </span>
633
639
  </div>
634
640
  </div>
635
641
  </div>
636
- <ul class="pf-c-context-selector__menu-list">
642
+ <ul class="pf-c-context-selector__menu-list" role="list">
637
643
  <li>
638
644
  <a class="pf-c-context-selector__menu-list-item" href="#">Link</a>
639
645
  </li>
@@ -729,32 +735,32 @@ cssPrefix: pf-c-context-selector
729
735
 
730
736
  ### Accessibility
731
737
 
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. |
738
+ | Class | Applied to | Outcome |
739
+ | -- | -- | -- |
740
+ | `aria-expanded="false"` | `.pf-c-context-selector__toggle` | Indicates that the menu is hidden. |
741
+ | `aria-expanded="true"` | `.pf-c-context-selector__toggle` | Indicates that the menu is visible. |
742
+ | `aria-hidden="true"` | `.pf-c-context-selector__toggle-icon > *` | Hides the icon from assistive technologies. |
743
+ | `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. |
744
+ | `aria-disabled="true"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
745
+ | `tabindex="-1"` | `a.pf-c-context-selector__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
740
746
 
741
747
  ### Usage
742
748
 
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. |
749
+ | Class | Applied to | Outcome |
750
+ | -- | -- | -- |
751
+ | `.pf-c-context-selector` | `<div>` | Initiates a context selector.|
752
+ | `.pf-c-context-selector__toggle` | `<button>` | Initiates a toggle. |
753
+ | `.pf-c-context-selector__toggle-text` | `<span>` | Initiates text inside the toggle. |
754
+ | `.pf-c-context-selector__toggle-icon` | `<span>` | Inititiates the toggle icon wrapper. |
755
+ | `.pf-c-context-selector__menu` | `<div>` | Initiaties a menu. |
756
+ | `.pf-c-context-selector__menu-search` | `<div>` | Initiates a container for the search input group. |
757
+ | `.pf-c-context-selector__menu-list` | `<ul>` | Initiaties an unordered list of menu items that sits under the input container. |
758
+ | `.pf-c-context-selector__menu-footer` | `<div>` | Initiaties a menu footer. |
759
+ | `.pf-c-context-selector__menu-list-item` | `<li>` | Initiaties a menu item. |
760
+ | `.pf-m-expanded` | `.pf-c-context-selector` | Modifies for the expanded state. |
761
+ | `.pf-m-active` | `.pf-c-context-selector__toggle` | Forces display of the active state of the toggle. |
762
+ | `.pf-m-plain.pf-m-text` | `.pf-c-context-selector__toggle` | Modifies the context selector toggle for plain text styles. |
763
+ | `.pf-m-disabled` | `a.pf-c-context-selector__menu-list-item` | Modifies an item for the disabled state.|
764
+ | `.pf-m-full-height` | `.pf-c-context-selector` | Modifies a context selector to full height of parent. See masthead for use. |
765
+ | `.pf-m-large` | `.pf-c-context-selector` | Modifies toggle height to be large. |
766
+ | `.pf-m-page-insets` | `.pf-c-context-selector` | Modifies toggle and menu insets to match the responsive page chrome insets. |