@patternfly/react-core 6.0.0-alpha.57 → 6.0.0-alpha.58

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 (721) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/components/package.json +1 -1
  3. package/deprecated/package.json +1 -1
  4. package/dist/dynamic/components/AboutModal/package.json +1 -1
  5. package/dist/dynamic/components/Accordion/package.json +1 -1
  6. package/dist/dynamic/components/ActionList/package.json +1 -1
  7. package/dist/dynamic/components/Alert/package.json +1 -1
  8. package/dist/dynamic/components/Avatar/package.json +1 -1
  9. package/dist/dynamic/components/BackToTop/package.json +1 -1
  10. package/dist/dynamic/components/Backdrop/package.json +1 -1
  11. package/dist/dynamic/components/BackgroundImage/package.json +1 -1
  12. package/dist/dynamic/components/Badge/package.json +1 -1
  13. package/dist/dynamic/components/Banner/package.json +1 -1
  14. package/dist/dynamic/components/Brand/package.json +1 -1
  15. package/dist/dynamic/components/Breadcrumb/package.json +1 -1
  16. package/dist/dynamic/components/Button/package.json +1 -1
  17. package/dist/dynamic/components/CalendarMonth/package.json +1 -1
  18. package/dist/dynamic/components/Card/package.json +1 -1
  19. package/dist/dynamic/components/Checkbox/package.json +1 -1
  20. package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
  21. package/dist/dynamic/components/CodeBlock/package.json +1 -1
  22. package/dist/dynamic/components/DataList/package.json +1 -1
  23. package/dist/dynamic/components/DatePicker/package.json +1 -1
  24. package/dist/dynamic/components/DescriptionList/package.json +1 -1
  25. package/dist/dynamic/components/Divider/package.json +1 -1
  26. package/dist/dynamic/components/Drawer/package.json +1 -1
  27. package/dist/dynamic/components/Dropdown/package.json +1 -1
  28. package/dist/dynamic/components/DualListSelector/package.json +1 -1
  29. package/dist/dynamic/components/EmptyState/package.json +1 -1
  30. package/dist/dynamic/components/ExpandableSection/package.json +1 -1
  31. package/dist/dynamic/components/FileUpload/package.json +1 -1
  32. package/dist/dynamic/components/Form/package.json +1 -1
  33. package/dist/dynamic/components/FormSelect/package.json +1 -1
  34. package/dist/dynamic/components/HelperText/package.json +1 -1
  35. package/dist/dynamic/components/Hint/package.json +1 -1
  36. package/dist/dynamic/components/Icon/package.json +1 -1
  37. package/dist/dynamic/components/InputGroup/package.json +1 -1
  38. package/dist/dynamic/components/JumpLinks/package.json +1 -1
  39. package/dist/dynamic/components/Label/package.json +1 -1
  40. package/dist/dynamic/components/List/package.json +1 -1
  41. package/dist/dynamic/components/LoginPage/package.json +1 -1
  42. package/dist/dynamic/components/Masthead/package.json +1 -1
  43. package/dist/dynamic/components/Menu/package.json +1 -1
  44. package/dist/dynamic/components/MenuToggle/package.json +1 -1
  45. package/dist/dynamic/components/Modal/package.json +1 -1
  46. package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
  47. package/dist/dynamic/components/Nav/package.json +1 -1
  48. package/dist/dynamic/components/NotificationBadge/package.json +1 -1
  49. package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
  50. package/dist/dynamic/components/NumberInput/package.json +1 -1
  51. package/dist/dynamic/components/OverflowMenu/package.json +1 -1
  52. package/dist/dynamic/components/Page/package.json +1 -1
  53. package/dist/dynamic/components/Pagination/package.json +1 -1
  54. package/dist/dynamic/components/Panel/package.json +1 -1
  55. package/dist/dynamic/components/Popover/package.json +1 -1
  56. package/dist/dynamic/components/Progress/package.json +1 -1
  57. package/dist/dynamic/components/ProgressStepper/package.json +1 -1
  58. package/dist/dynamic/components/Radio/package.json +1 -1
  59. package/dist/dynamic/components/SearchInput/package.json +1 -1
  60. package/dist/dynamic/components/Select/package.json +1 -1
  61. package/dist/dynamic/components/Sidebar/package.json +1 -1
  62. package/dist/dynamic/components/SimpleList/package.json +1 -1
  63. package/dist/dynamic/components/Skeleton/package.json +1 -1
  64. package/dist/dynamic/components/SkipToContent/package.json +1 -1
  65. package/dist/dynamic/components/Slider/package.json +1 -1
  66. package/dist/dynamic/components/Spinner/package.json +1 -1
  67. package/dist/dynamic/components/Switch/package.json +1 -1
  68. package/dist/dynamic/components/Tabs/package.json +1 -1
  69. package/dist/dynamic/components/Text/package.json +1 -1
  70. package/dist/dynamic/components/TextArea/package.json +1 -1
  71. package/dist/dynamic/components/TextInput/package.json +1 -1
  72. package/dist/dynamic/components/TextInputGroup/package.json +1 -1
  73. package/dist/dynamic/components/Tile/package.json +1 -1
  74. package/dist/dynamic/components/TimePicker/package.json +1 -1
  75. package/dist/dynamic/components/Timestamp/package.json +1 -1
  76. package/dist/dynamic/components/Title/package.json +1 -1
  77. package/dist/dynamic/components/ToggleGroup/package.json +1 -1
  78. package/dist/dynamic/components/Toolbar/package.json +1 -1
  79. package/dist/dynamic/components/Tooltip/package.json +1 -1
  80. package/dist/dynamic/components/TreeView/package.json +1 -1
  81. package/dist/dynamic/components/Truncate/package.json +1 -1
  82. package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
  83. package/dist/dynamic/components/Wizard/package.json +1 -1
  84. package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
  85. package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
  86. package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
  87. package/dist/dynamic/deprecated/components/package.json +1 -1
  88. package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
  89. package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
  90. package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
  91. package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
  92. package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
  93. package/dist/dynamic/helpers/constants/package.json +1 -1
  94. package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
  95. package/dist/dynamic/helpers/fileUtils/package.json +1 -1
  96. package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
  97. package/dist/dynamic/helpers/package.json +1 -1
  98. package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
  99. package/dist/dynamic/helpers/typeUtils/package.json +1 -1
  100. package/dist/dynamic/helpers/useInterval/package.json +1 -1
  101. package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
  102. package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
  103. package/dist/dynamic/helpers/util/package.json +1 -1
  104. package/dist/dynamic/layouts/Bullseye/package.json +1 -1
  105. package/dist/dynamic/layouts/Flex/package.json +1 -1
  106. package/dist/dynamic/layouts/Gallery/package.json +1 -1
  107. package/dist/dynamic/layouts/Grid/package.json +1 -1
  108. package/dist/dynamic/layouts/Level/package.json +1 -1
  109. package/dist/dynamic/layouts/Split/package.json +1 -1
  110. package/dist/dynamic/layouts/Stack/package.json +1 -1
  111. package/dist/dynamic/next/components/DualListSelector/package.json +1 -1
  112. package/dist/dynamic/next/components/Modal/package.json +1 -1
  113. package/dist/dynamic/next/components/package.json +1 -1
  114. package/dist/dynamic/styles/package.json +1 -1
  115. package/dist/esm/deprecated/components/index.d.ts +0 -6
  116. package/dist/esm/deprecated/components/index.d.ts.map +1 -1
  117. package/dist/esm/deprecated/components/index.js +0 -6
  118. package/dist/esm/deprecated/components/index.js.map +1 -1
  119. package/dist/js/deprecated/components/index.d.ts +0 -6
  120. package/dist/js/deprecated/components/index.d.ts.map +1 -1
  121. package/dist/js/deprecated/components/index.js +0 -6
  122. package/dist/js/deprecated/components/index.js.map +1 -1
  123. package/helpers/package.json +1 -1
  124. package/layouts/package.json +1 -1
  125. package/next/package.json +1 -1
  126. package/package.json +2 -2
  127. package/src/components/Page/__tests__/Page.test.tsx +14 -14
  128. package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +26 -224
  129. package/src/deprecated/components/index.ts +0 -6
  130. package/dist/dynamic/deprecated/components/ApplicationLauncher/package.json +0 -1
  131. package/dist/dynamic/deprecated/components/ContextSelector/package.json +0 -1
  132. package/dist/dynamic/deprecated/components/Dropdown/package.json +0 -1
  133. package/dist/dynamic/deprecated/components/OptionsMenu/package.json +0 -1
  134. package/dist/dynamic/deprecated/components/PageHeader/package.json +0 -1
  135. package/dist/dynamic/deprecated/components/Select/package.json +0 -1
  136. package/dist/dynamic/helpers/favorites/package.json +0 -1
  137. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts +0 -60
  138. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +0 -1
  139. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.js +0 -99
  140. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.js.map +0 -1
  141. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts +0 -7
  142. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts.map +0 -1
  143. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js +0 -16
  144. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js.map +0 -1
  145. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts +0 -5
  146. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts.map +0 -1
  147. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js +0 -6
  148. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js.map +0 -1
  149. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts +0 -4
  150. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts.map +0 -1
  151. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js +0 -9
  152. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js.map +0 -1
  153. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts +0 -9
  154. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts.map +0 -1
  155. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js +0 -12
  156. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js.map +0 -1
  157. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts +0 -31
  158. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts.map +0 -1
  159. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js +0 -22
  160. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js.map +0 -1
  161. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts +0 -6
  162. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts.map +0 -1
  163. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js +0 -3
  164. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js.map +0 -1
  165. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts +0 -4
  166. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts.map +0 -1
  167. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js +0 -11
  168. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js.map +0 -1
  169. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts +0 -9
  170. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts.map +0 -1
  171. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js +0 -10
  172. package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js.map +0 -1
  173. package/dist/esm/deprecated/components/ApplicationLauncher/index.d.ts +0 -10
  174. package/dist/esm/deprecated/components/ApplicationLauncher/index.d.ts.map +0 -1
  175. package/dist/esm/deprecated/components/ApplicationLauncher/index.js +0 -10
  176. package/dist/esm/deprecated/components/ApplicationLauncher/index.js.map +0 -1
  177. package/dist/esm/deprecated/components/ContextSelector/ContextSelector.d.ts +0 -75
  178. package/dist/esm/deprecated/components/ContextSelector/ContextSelector.d.ts.map +0 -1
  179. package/dist/esm/deprecated/components/ContextSelector/ContextSelector.js +0 -73
  180. package/dist/esm/deprecated/components/ContextSelector/ContextSelector.js.map +0 -1
  181. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts +0 -9
  182. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts.map +0 -1
  183. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.js +0 -10
  184. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.js.map +0 -1
  185. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.d.ts +0 -26
  186. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.d.ts.map +0 -1
  187. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.js +0 -40
  188. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.js.map +0 -1
  189. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts +0 -21
  190. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts.map +0 -1
  191. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.js +0 -33
  192. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.js.map +0 -1
  193. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts +0 -39
  194. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts.map +0 -1
  195. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.js +0 -74
  196. package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.js.map +0 -1
  197. package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.d.ts +0 -5
  198. package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.d.ts.map +0 -1
  199. package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.js +0 -6
  200. package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.js.map +0 -1
  201. package/dist/esm/deprecated/components/ContextSelector/index.d.ts +0 -4
  202. package/dist/esm/deprecated/components/ContextSelector/index.d.ts.map +0 -1
  203. package/dist/esm/deprecated/components/ContextSelector/index.js +0 -4
  204. package/dist/esm/deprecated/components/ContextSelector/index.js.map +0 -1
  205. package/dist/esm/deprecated/components/Dropdown/BadgeToggle.d.ts +0 -35
  206. package/dist/esm/deprecated/components/Dropdown/BadgeToggle.d.ts.map +0 -1
  207. package/dist/esm/deprecated/components/Dropdown/BadgeToggle.js +0 -20
  208. package/dist/esm/deprecated/components/Dropdown/BadgeToggle.js.map +0 -1
  209. package/dist/esm/deprecated/components/Dropdown/Dropdown.d.ts +0 -66
  210. package/dist/esm/deprecated/components/Dropdown/Dropdown.d.ts.map +0 -1
  211. package/dist/esm/deprecated/components/Dropdown/Dropdown.js +0 -16
  212. package/dist/esm/deprecated/components/Dropdown/Dropdown.js.map +0 -1
  213. package/dist/esm/deprecated/components/Dropdown/DropdownGroup.d.ts +0 -11
  214. package/dist/esm/deprecated/components/Dropdown/DropdownGroup.d.ts.map +0 -1
  215. package/dist/esm/deprecated/components/Dropdown/DropdownGroup.js +0 -15
  216. package/dist/esm/deprecated/components/Dropdown/DropdownGroup.js.map +0 -1
  217. package/dist/esm/deprecated/components/Dropdown/DropdownItem.d.ts +0 -52
  218. package/dist/esm/deprecated/components/Dropdown/DropdownItem.d.ts.map +0 -1
  219. package/dist/esm/deprecated/components/Dropdown/DropdownItem.js +0 -15
  220. package/dist/esm/deprecated/components/Dropdown/DropdownItem.js.map +0 -1
  221. package/dist/esm/deprecated/components/Dropdown/DropdownMenu.d.ts +0 -53
  222. package/dist/esm/deprecated/components/Dropdown/DropdownMenu.d.ts.map +0 -1
  223. package/dist/esm/deprecated/components/Dropdown/DropdownMenu.js +0 -131
  224. package/dist/esm/deprecated/components/Dropdown/DropdownMenu.js.map +0 -1
  225. package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.d.ts +0 -14
  226. package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.d.ts.map +0 -1
  227. package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.js +0 -16
  228. package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.js.map +0 -1
  229. package/dist/esm/deprecated/components/Dropdown/DropdownToggle.d.ts +0 -50
  230. package/dist/esm/deprecated/components/Dropdown/DropdownToggle.d.ts.map +0 -1
  231. package/dist/esm/deprecated/components/Dropdown/DropdownToggle.js +0 -32
  232. package/dist/esm/deprecated/components/Dropdown/DropdownToggle.js.map +0 -1
  233. package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.d.ts +0 -22
  234. package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.d.ts.map +0 -1
  235. package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.js +0 -18
  236. package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.js.map +0 -1
  237. package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +0 -45
  238. package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +0 -1
  239. package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.js +0 -51
  240. package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.js.map +0 -1
  241. package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.d.ts +0 -20
  242. package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.d.ts.map +0 -1
  243. package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.js +0 -99
  244. package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.js.map +0 -1
  245. package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.d.ts +0 -67
  246. package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.d.ts.map +0 -1
  247. package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.js +0 -149
  248. package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.js.map +0 -1
  249. package/dist/esm/deprecated/components/Dropdown/KebabToggle.d.ts +0 -32
  250. package/dist/esm/deprecated/components/Dropdown/KebabToggle.d.ts.map +0 -1
  251. package/dist/esm/deprecated/components/Dropdown/KebabToggle.js +0 -16
  252. package/dist/esm/deprecated/components/Dropdown/KebabToggle.js.map +0 -1
  253. package/dist/esm/deprecated/components/Dropdown/Toggle.d.ts +0 -51
  254. package/dist/esm/deprecated/components/Dropdown/Toggle.d.ts.map +0 -1
  255. package/dist/esm/deprecated/components/Dropdown/Toggle.js +0 -93
  256. package/dist/esm/deprecated/components/Dropdown/Toggle.js.map +0 -1
  257. package/dist/esm/deprecated/components/Dropdown/dropdownConstants.d.ts +0 -41
  258. package/dist/esm/deprecated/components/Dropdown/dropdownConstants.d.ts.map +0 -1
  259. package/dist/esm/deprecated/components/Dropdown/dropdownConstants.js +0 -35
  260. package/dist/esm/deprecated/components/Dropdown/dropdownConstants.js.map +0 -1
  261. package/dist/esm/deprecated/components/Dropdown/index.d.ts +0 -13
  262. package/dist/esm/deprecated/components/Dropdown/index.d.ts.map +0 -1
  263. package/dist/esm/deprecated/components/Dropdown/index.js +0 -13
  264. package/dist/esm/deprecated/components/Dropdown/index.js.map +0 -1
  265. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.d.ts +0 -48
  266. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.d.ts.map +0 -1
  267. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.js +0 -40
  268. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.js.map +0 -1
  269. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts +0 -17
  270. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts.map +0 -1
  271. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.js +0 -15
  272. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.js.map +0 -1
  273. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts +0 -15
  274. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts.map +0 -1
  275. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js +0 -15
  276. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js.map +0 -1
  277. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts +0 -4
  278. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts.map +0 -1
  279. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.js +0 -9
  280. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.js.map +0 -1
  281. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts +0 -28
  282. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts.map +0 -1
  283. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.js +0 -15
  284. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.js.map +0 -1
  285. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts +0 -37
  286. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts.map +0 -1
  287. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js +0 -63
  288. package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js.map +0 -1
  289. package/dist/esm/deprecated/components/OptionsMenu/index.d.ts +0 -7
  290. package/dist/esm/deprecated/components/OptionsMenu/index.d.ts.map +0 -1
  291. package/dist/esm/deprecated/components/OptionsMenu/index.js +0 -7
  292. package/dist/esm/deprecated/components/OptionsMenu/index.js.map +0 -1
  293. package/dist/esm/deprecated/components/PageHeader/PageHeader.d.ts +0 -29
  294. package/dist/esm/deprecated/components/PageHeader/PageHeader.d.ts.map +0 -1
  295. package/dist/esm/deprecated/components/PageHeader/PageHeader.js +0 -34
  296. package/dist/esm/deprecated/components/PageHeader/PageHeader.js.map +0 -1
  297. package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.d.ts +0 -9
  298. package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.d.ts.map +0 -1
  299. package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.js +0 -10
  300. package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.js.map +0 -1
  301. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts +0 -18
  302. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts.map +0 -1
  303. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.js +0 -13
  304. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.js.map +0 -1
  305. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts +0 -20
  306. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts.map +0 -1
  307. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.js +0 -13
  308. package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.js.map +0 -1
  309. package/dist/esm/deprecated/components/PageHeader/index.d.ts +0 -5
  310. package/dist/esm/deprecated/components/PageHeader/index.d.ts.map +0 -1
  311. package/dist/esm/deprecated/components/PageHeader/index.js +0 -5
  312. package/dist/esm/deprecated/components/PageHeader/index.js.map +0 -1
  313. package/dist/esm/deprecated/components/Select/Select.d.ts +0 -200
  314. package/dist/esm/deprecated/components/Select/Select.d.ts.map +0 -1
  315. package/dist/esm/deprecated/components/Select/Select.js +0 -941
  316. package/dist/esm/deprecated/components/Select/Select.js.map +0 -1
  317. package/dist/esm/deprecated/components/Select/SelectGroup.d.ts +0 -13
  318. package/dist/esm/deprecated/components/Select/SelectGroup.d.ts.map +0 -1
  319. package/dist/esm/deprecated/components/Select/SelectGroup.js +0 -13
  320. package/dist/esm/deprecated/components/Select/SelectGroup.js.map +0 -1
  321. package/dist/esm/deprecated/components/Select/SelectMenu.d.ts +0 -47
  322. package/dist/esm/deprecated/components/Select/SelectMenu.d.ts.map +0 -1
  323. package/dist/esm/deprecated/components/Select/SelectMenu.js +0 -164
  324. package/dist/esm/deprecated/components/Select/SelectMenu.js.map +0 -1
  325. package/dist/esm/deprecated/components/Select/SelectOption.d.ts +0 -74
  326. package/dist/esm/deprecated/components/Select/SelectOption.d.ts.map +0 -1
  327. package/dist/esm/deprecated/components/Select/SelectOption.js +0 -197
  328. package/dist/esm/deprecated/components/Select/SelectOption.js.map +0 -1
  329. package/dist/esm/deprecated/components/Select/SelectToggle.d.ts +0 -57
  330. package/dist/esm/deprecated/components/Select/SelectToggle.d.ts.map +0 -1
  331. package/dist/esm/deprecated/components/Select/SelectToggle.js +0 -208
  332. package/dist/esm/deprecated/components/Select/SelectToggle.js.map +0 -1
  333. package/dist/esm/deprecated/components/Select/index.d.ts +0 -5
  334. package/dist/esm/deprecated/components/Select/index.d.ts.map +0 -1
  335. package/dist/esm/deprecated/components/Select/index.js +0 -5
  336. package/dist/esm/deprecated/components/Select/index.js.map +0 -1
  337. package/dist/esm/deprecated/components/Select/selectConstants.d.ts +0 -29
  338. package/dist/esm/deprecated/components/Select/selectConstants.d.ts.map +0 -1
  339. package/dist/esm/deprecated/components/Select/selectConstants.js +0 -23
  340. package/dist/esm/deprecated/components/Select/selectConstants.js.map +0 -1
  341. package/dist/esm/helpers/favorites.d.ts +0 -19
  342. package/dist/esm/helpers/favorites.d.ts.map +0 -1
  343. package/dist/esm/helpers/favorites.js +0 -64
  344. package/dist/esm/helpers/favorites.js.map +0 -1
  345. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts +0 -60
  346. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +0 -1
  347. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.js +0 -102
  348. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.js.map +0 -1
  349. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts +0 -7
  350. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts.map +0 -1
  351. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js +0 -21
  352. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js.map +0 -1
  353. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts +0 -5
  354. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts.map +0 -1
  355. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js +0 -10
  356. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js.map +0 -1
  357. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts +0 -4
  358. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts.map +0 -1
  359. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js +0 -13
  360. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js.map +0 -1
  361. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts +0 -9
  362. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts.map +0 -1
  363. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js +0 -16
  364. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js.map +0 -1
  365. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts +0 -31
  366. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts.map +0 -1
  367. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js +0 -26
  368. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js.map +0 -1
  369. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts +0 -6
  370. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts.map +0 -1
  371. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js +0 -7
  372. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js.map +0 -1
  373. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts +0 -4
  374. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts.map +0 -1
  375. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js +0 -15
  376. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js.map +0 -1
  377. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts +0 -9
  378. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts.map +0 -1
  379. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js +0 -14
  380. package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js.map +0 -1
  381. package/dist/js/deprecated/components/ApplicationLauncher/index.d.ts +0 -10
  382. package/dist/js/deprecated/components/ApplicationLauncher/index.d.ts.map +0 -1
  383. package/dist/js/deprecated/components/ApplicationLauncher/index.js +0 -13
  384. package/dist/js/deprecated/components/ApplicationLauncher/index.js.map +0 -1
  385. package/dist/js/deprecated/components/ContextSelector/ContextSelector.d.ts +0 -75
  386. package/dist/js/deprecated/components/ContextSelector/ContextSelector.d.ts.map +0 -1
  387. package/dist/js/deprecated/components/ContextSelector/ContextSelector.js +0 -76
  388. package/dist/js/deprecated/components/ContextSelector/ContextSelector.js.map +0 -1
  389. package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts +0 -9
  390. package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts.map +0 -1
  391. package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.js +0 -14
  392. package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.js.map +0 -1
  393. package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.d.ts +0 -26
  394. package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.d.ts.map +0 -1
  395. package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.js +0 -43
  396. package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.js.map +0 -1
  397. package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts +0 -21
  398. package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts.map +0 -1
  399. package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.js +0 -36
  400. package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.js.map +0 -1
  401. package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts +0 -39
  402. package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts.map +0 -1
  403. package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.js +0 -77
  404. package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.js.map +0 -1
  405. package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.d.ts +0 -5
  406. package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.d.ts.map +0 -1
  407. package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.js +0 -10
  408. package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.js.map +0 -1
  409. package/dist/js/deprecated/components/ContextSelector/index.d.ts +0 -4
  410. package/dist/js/deprecated/components/ContextSelector/index.d.ts.map +0 -1
  411. package/dist/js/deprecated/components/ContextSelector/index.js +0 -7
  412. package/dist/js/deprecated/components/ContextSelector/index.js.map +0 -1
  413. package/dist/js/deprecated/components/Dropdown/BadgeToggle.d.ts +0 -35
  414. package/dist/js/deprecated/components/Dropdown/BadgeToggle.d.ts.map +0 -1
  415. package/dist/js/deprecated/components/Dropdown/BadgeToggle.js +0 -24
  416. package/dist/js/deprecated/components/Dropdown/BadgeToggle.js.map +0 -1
  417. package/dist/js/deprecated/components/Dropdown/Dropdown.d.ts +0 -66
  418. package/dist/js/deprecated/components/Dropdown/Dropdown.d.ts.map +0 -1
  419. package/dist/js/deprecated/components/Dropdown/Dropdown.js +0 -20
  420. package/dist/js/deprecated/components/Dropdown/Dropdown.js.map +0 -1
  421. package/dist/js/deprecated/components/Dropdown/DropdownGroup.d.ts +0 -11
  422. package/dist/js/deprecated/components/Dropdown/DropdownGroup.d.ts.map +0 -1
  423. package/dist/js/deprecated/components/Dropdown/DropdownGroup.js +0 -19
  424. package/dist/js/deprecated/components/Dropdown/DropdownGroup.js.map +0 -1
  425. package/dist/js/deprecated/components/Dropdown/DropdownItem.d.ts +0 -52
  426. package/dist/js/deprecated/components/Dropdown/DropdownItem.d.ts.map +0 -1
  427. package/dist/js/deprecated/components/Dropdown/DropdownItem.js +0 -19
  428. package/dist/js/deprecated/components/Dropdown/DropdownItem.js.map +0 -1
  429. package/dist/js/deprecated/components/Dropdown/DropdownMenu.d.ts +0 -53
  430. package/dist/js/deprecated/components/Dropdown/DropdownMenu.d.ts.map +0 -1
  431. package/dist/js/deprecated/components/Dropdown/DropdownMenu.js +0 -134
  432. package/dist/js/deprecated/components/Dropdown/DropdownMenu.js.map +0 -1
  433. package/dist/js/deprecated/components/Dropdown/DropdownSeparator.d.ts +0 -14
  434. package/dist/js/deprecated/components/Dropdown/DropdownSeparator.d.ts.map +0 -1
  435. package/dist/js/deprecated/components/Dropdown/DropdownSeparator.js +0 -20
  436. package/dist/js/deprecated/components/Dropdown/DropdownSeparator.js.map +0 -1
  437. package/dist/js/deprecated/components/Dropdown/DropdownToggle.d.ts +0 -50
  438. package/dist/js/deprecated/components/Dropdown/DropdownToggle.d.ts.map +0 -1
  439. package/dist/js/deprecated/components/Dropdown/DropdownToggle.js +0 -36
  440. package/dist/js/deprecated/components/Dropdown/DropdownToggle.js.map +0 -1
  441. package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.d.ts +0 -22
  442. package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.d.ts.map +0 -1
  443. package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.js +0 -21
  444. package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.js.map +0 -1
  445. package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +0 -45
  446. package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +0 -1
  447. package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.js +0 -54
  448. package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.js.map +0 -1
  449. package/dist/js/deprecated/components/Dropdown/DropdownWithContext.d.ts +0 -20
  450. package/dist/js/deprecated/components/Dropdown/DropdownWithContext.d.ts.map +0 -1
  451. package/dist/js/deprecated/components/Dropdown/DropdownWithContext.js +0 -102
  452. package/dist/js/deprecated/components/Dropdown/DropdownWithContext.js.map +0 -1
  453. package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.d.ts +0 -67
  454. package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.d.ts.map +0 -1
  455. package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.js +0 -152
  456. package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.js.map +0 -1
  457. package/dist/js/deprecated/components/Dropdown/KebabToggle.d.ts +0 -32
  458. package/dist/js/deprecated/components/Dropdown/KebabToggle.d.ts.map +0 -1
  459. package/dist/js/deprecated/components/Dropdown/KebabToggle.js +0 -20
  460. package/dist/js/deprecated/components/Dropdown/KebabToggle.js.map +0 -1
  461. package/dist/js/deprecated/components/Dropdown/Toggle.d.ts +0 -51
  462. package/dist/js/deprecated/components/Dropdown/Toggle.d.ts.map +0 -1
  463. package/dist/js/deprecated/components/Dropdown/Toggle.js +0 -96
  464. package/dist/js/deprecated/components/Dropdown/Toggle.js.map +0 -1
  465. package/dist/js/deprecated/components/Dropdown/dropdownConstants.d.ts +0 -41
  466. package/dist/js/deprecated/components/Dropdown/dropdownConstants.d.ts.map +0 -1
  467. package/dist/js/deprecated/components/Dropdown/dropdownConstants.js +0 -39
  468. package/dist/js/deprecated/components/Dropdown/dropdownConstants.js.map +0 -1
  469. package/dist/js/deprecated/components/Dropdown/index.d.ts +0 -13
  470. package/dist/js/deprecated/components/Dropdown/index.d.ts.map +0 -1
  471. package/dist/js/deprecated/components/Dropdown/index.js +0 -16
  472. package/dist/js/deprecated/components/Dropdown/index.js.map +0 -1
  473. package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.d.ts +0 -48
  474. package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.d.ts.map +0 -1
  475. package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.js +0 -44
  476. package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.js.map +0 -1
  477. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts +0 -17
  478. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts.map +0 -1
  479. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.js +0 -19
  480. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.js.map +0 -1
  481. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts +0 -15
  482. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts.map +0 -1
  483. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js +0 -19
  484. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js.map +0 -1
  485. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts +0 -4
  486. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts.map +0 -1
  487. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.js +0 -13
  488. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.js.map +0 -1
  489. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts +0 -28
  490. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts.map +0 -1
  491. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.js +0 -19
  492. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.js.map +0 -1
  493. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts +0 -37
  494. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts.map +0 -1
  495. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js +0 -67
  496. package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js.map +0 -1
  497. package/dist/js/deprecated/components/OptionsMenu/index.d.ts +0 -7
  498. package/dist/js/deprecated/components/OptionsMenu/index.d.ts.map +0 -1
  499. package/dist/js/deprecated/components/OptionsMenu/index.js +0 -10
  500. package/dist/js/deprecated/components/OptionsMenu/index.js.map +0 -1
  501. package/dist/js/deprecated/components/PageHeader/PageHeader.d.ts +0 -29
  502. package/dist/js/deprecated/components/PageHeader/PageHeader.d.ts.map +0 -1
  503. package/dist/js/deprecated/components/PageHeader/PageHeader.js +0 -38
  504. package/dist/js/deprecated/components/PageHeader/PageHeader.js.map +0 -1
  505. package/dist/js/deprecated/components/PageHeader/PageHeaderTools.d.ts +0 -9
  506. package/dist/js/deprecated/components/PageHeader/PageHeaderTools.d.ts.map +0 -1
  507. package/dist/js/deprecated/components/PageHeader/PageHeaderTools.js +0 -14
  508. package/dist/js/deprecated/components/PageHeader/PageHeaderTools.js.map +0 -1
  509. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts +0 -18
  510. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts.map +0 -1
  511. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.js +0 -17
  512. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.js.map +0 -1
  513. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts +0 -20
  514. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts.map +0 -1
  515. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.js +0 -17
  516. package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.js.map +0 -1
  517. package/dist/js/deprecated/components/PageHeader/index.d.ts +0 -5
  518. package/dist/js/deprecated/components/PageHeader/index.d.ts.map +0 -1
  519. package/dist/js/deprecated/components/PageHeader/index.js +0 -8
  520. package/dist/js/deprecated/components/PageHeader/index.js.map +0 -1
  521. package/dist/js/deprecated/components/Select/Select.d.ts +0 -200
  522. package/dist/js/deprecated/components/Select/Select.d.ts.map +0 -1
  523. package/dist/js/deprecated/components/Select/Select.js +0 -944
  524. package/dist/js/deprecated/components/Select/Select.js.map +0 -1
  525. package/dist/js/deprecated/components/Select/SelectGroup.d.ts +0 -13
  526. package/dist/js/deprecated/components/Select/SelectGroup.d.ts.map +0 -1
  527. package/dist/js/deprecated/components/Select/SelectGroup.js +0 -17
  528. package/dist/js/deprecated/components/Select/SelectGroup.js.map +0 -1
  529. package/dist/js/deprecated/components/Select/SelectMenu.d.ts +0 -47
  530. package/dist/js/deprecated/components/Select/SelectMenu.d.ts.map +0 -1
  531. package/dist/js/deprecated/components/Select/SelectMenu.js +0 -167
  532. package/dist/js/deprecated/components/Select/SelectMenu.js.map +0 -1
  533. package/dist/js/deprecated/components/Select/SelectOption.d.ts +0 -74
  534. package/dist/js/deprecated/components/Select/SelectOption.d.ts.map +0 -1
  535. package/dist/js/deprecated/components/Select/SelectOption.js +0 -200
  536. package/dist/js/deprecated/components/Select/SelectOption.js.map +0 -1
  537. package/dist/js/deprecated/components/Select/SelectToggle.d.ts +0 -57
  538. package/dist/js/deprecated/components/Select/SelectToggle.d.ts.map +0 -1
  539. package/dist/js/deprecated/components/Select/SelectToggle.js +0 -211
  540. package/dist/js/deprecated/components/Select/SelectToggle.js.map +0 -1
  541. package/dist/js/deprecated/components/Select/index.d.ts +0 -5
  542. package/dist/js/deprecated/components/Select/index.d.ts.map +0 -1
  543. package/dist/js/deprecated/components/Select/index.js +0 -8
  544. package/dist/js/deprecated/components/Select/index.js.map +0 -1
  545. package/dist/js/deprecated/components/Select/selectConstants.d.ts +0 -29
  546. package/dist/js/deprecated/components/Select/selectConstants.d.ts.map +0 -1
  547. package/dist/js/deprecated/components/Select/selectConstants.js +0 -27
  548. package/dist/js/deprecated/components/Select/selectConstants.js.map +0 -1
  549. package/dist/js/helpers/favorites.d.ts +0 -19
  550. package/dist/js/helpers/favorites.d.ts.map +0 -1
  551. package/dist/js/helpers/favorites.js +0 -70
  552. package/dist/js/helpers/favorites.js.map +0 -1
  553. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncher.tsx +0 -208
  554. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.tsx +0 -34
  555. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.ts +0 -6
  556. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.tsx +0 -8
  557. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.tsx +0 -22
  558. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.tsx +0 -94
  559. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.ts +0 -3
  560. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.tsx +0 -9
  561. package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherText.tsx +0 -21
  562. package/src/deprecated/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +0 -72
  563. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +0 -13
  564. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +0 -13
  565. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +0 -13
  566. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherSeparator.test.tsx +0 -16
  567. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +0 -13
  568. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +0 -9
  569. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +0 -13
  570. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +0 -13
  571. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherSeparator.test.tsx.snap +0 -14
  572. package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +0 -13
  573. package/src/deprecated/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +0 -597
  574. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncher.md +0 -79
  575. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherAlignRight.tsx +0 -33
  576. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherAlignTop.tsx +0 -31
  577. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherBasic.tsx +0 -23
  578. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherCustomIcon.tsx +0 -32
  579. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherDisabled.tsx +0 -25
  580. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherDocumentBody.tsx +0 -31
  581. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherFavoritesAndSearch.tsx +0 -108
  582. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherRouterLink.tsx +0 -56
  583. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherSectionsAndIcons.tsx +0 -47
  584. package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherTooltip.tsx +0 -35
  585. package/src/deprecated/components/ApplicationLauncher/index.ts +0 -9
  586. package/src/deprecated/components/ContextSelector/ContextSelector.tsx +0 -231
  587. package/src/deprecated/components/ContextSelector/ContextSelectorFooter.tsx +0 -21
  588. package/src/deprecated/components/ContextSelector/ContextSelectorItem.tsx +0 -78
  589. package/src/deprecated/components/ContextSelector/ContextSelectorMenuList.tsx +0 -51
  590. package/src/deprecated/components/ContextSelector/ContextSelectorToggle.tsx +0 -132
  591. package/src/deprecated/components/ContextSelector/__tests__/ContextSelector.test.tsx +0 -54
  592. package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +0 -8
  593. package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +0 -38
  594. package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +0 -22
  595. package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +0 -60
  596. package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +0 -411
  597. package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +0 -11
  598. package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +0 -30
  599. package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +0 -123
  600. package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +0 -161
  601. package/src/deprecated/components/ContextSelector/contextSelectorConstants.tsx +0 -6
  602. package/src/deprecated/components/ContextSelector/examples/ContextSelector.md +0 -25
  603. package/src/deprecated/components/ContextSelector/examples/ContextSelectorBasic.tsx +0 -85
  604. package/src/deprecated/components/ContextSelector/examples/ContextSelectorPlainText.tsx +0 -85
  605. package/src/deprecated/components/ContextSelector/examples/ContextSelectorWithFooter.tsx +0 -92
  606. package/src/deprecated/components/ContextSelector/index.ts +0 -3
  607. package/src/deprecated/components/Dropdown/BadgeToggle.tsx +0 -83
  608. package/src/deprecated/components/Dropdown/Dropdown.tsx +0 -115
  609. package/src/deprecated/components/Dropdown/DropdownGroup.tsx +0 -36
  610. package/src/deprecated/components/Dropdown/DropdownItem.tsx +0 -113
  611. package/src/deprecated/components/Dropdown/DropdownMenu.tsx +0 -254
  612. package/src/deprecated/components/Dropdown/DropdownSeparator.tsx +0 -42
  613. package/src/deprecated/components/Dropdown/DropdownToggle.tsx +0 -138
  614. package/src/deprecated/components/Dropdown/DropdownToggleAction.tsx +0 -46
  615. package/src/deprecated/components/Dropdown/DropdownToggleCheckbox.tsx +0 -130
  616. package/src/deprecated/components/Dropdown/DropdownWithContext.tsx +0 -193
  617. package/src/deprecated/components/Dropdown/InternalDropdownItem.tsx +0 -292
  618. package/src/deprecated/components/Dropdown/KebabToggle.tsx +0 -73
  619. package/src/deprecated/components/Dropdown/Toggle.tsx +0 -183
  620. package/src/deprecated/components/Dropdown/__tests__/Dropdown.test.tsx +0 -278
  621. package/src/deprecated/components/Dropdown/__tests__/DropdownGroup.test.tsx +0 -10
  622. package/src/deprecated/components/Dropdown/__tests__/DropdownToggle.test.tsx +0 -223
  623. package/src/deprecated/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +0 -31
  624. package/src/deprecated/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +0 -65
  625. package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +0 -31
  626. package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +0 -23
  627. package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +0 -17
  628. package/src/deprecated/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +0 -28
  629. package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +0 -9
  630. package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +0 -16
  631. package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +0 -14
  632. package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +0 -27
  633. package/src/deprecated/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +0 -83
  634. package/src/deprecated/components/Dropdown/__tests__/Toggle.test.tsx +0 -13
  635. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +0 -978
  636. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +0 -21
  637. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +0 -350
  638. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +0 -33
  639. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +0 -149
  640. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +0 -178
  641. package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +0 -64
  642. package/src/deprecated/components/Dropdown/dropdownConstants.tsx +0 -64
  643. package/src/deprecated/components/Dropdown/examples/Dropdown.md +0 -213
  644. package/src/deprecated/components/Dropdown/examples/DropdownAlignmentOnBreakpoints.tsx +0 -64
  645. package/src/deprecated/components/Dropdown/examples/DropdownAppendBodyVsParent.tsx +0 -84
  646. package/src/deprecated/components/Dropdown/examples/DropdownBadge.tsx +0 -46
  647. package/src/deprecated/components/Dropdown/examples/DropdownBasic.tsx +0 -59
  648. package/src/deprecated/components/Dropdown/examples/DropdownBasicPanel.tsx +0 -34
  649. package/src/deprecated/components/Dropdown/examples/DropdownDescriptions.tsx +0 -55
  650. package/src/deprecated/components/Dropdown/examples/DropdownDirectionUp.tsx +0 -64
  651. package/src/deprecated/components/Dropdown/examples/DropdownDisabled.tsx +0 -57
  652. package/src/deprecated/components/Dropdown/examples/DropdownGroups.tsx +0 -55
  653. package/src/deprecated/components/Dropdown/examples/DropdownIconOnly.tsx +0 -59
  654. package/src/deprecated/components/Dropdown/examples/DropdownImageAndText.tsx +0 -64
  655. package/src/deprecated/components/Dropdown/examples/DropdownInitialSelection.tsx +0 -57
  656. package/src/deprecated/components/Dropdown/examples/DropdownKebab.tsx +0 -54
  657. package/src/deprecated/components/Dropdown/examples/DropdownPlainTextToggle.tsx +0 -59
  658. package/src/deprecated/components/Dropdown/examples/DropdownPositionRight.tsx +0 -64
  659. package/src/deprecated/components/Dropdown/examples/DropdownPrimaryToggle.tsx +0 -57
  660. package/src/deprecated/components/Dropdown/examples/DropdownRouterLink.tsx +0 -36
  661. package/src/deprecated/components/Dropdown/examples/DropdownSecondaryToggle.tsx +0 -57
  662. package/src/deprecated/components/Dropdown/examples/DropdownSplitButton.tsx +0 -67
  663. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonAction.tsx +0 -105
  664. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonActionPrimary.tsx +0 -107
  665. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonActionSecondary.tsx +0 -107
  666. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonDisabled.tsx +0 -73
  667. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonProgressCheckbox.tsx +0 -140
  668. package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonText.tsx +0 -69
  669. package/src/deprecated/components/Dropdown/index.ts +0 -12
  670. package/src/deprecated/components/OptionsMenu/OptionsMenu.tsx +0 -99
  671. package/src/deprecated/components/OptionsMenu/OptionsMenuItem.tsx +0 -47
  672. package/src/deprecated/components/OptionsMenu/OptionsMenuItemGroup.tsx +0 -35
  673. package/src/deprecated/components/OptionsMenu/OptionsMenuSeparator.tsx +0 -8
  674. package/src/deprecated/components/OptionsMenu/OptionsMenuToggle.tsx +0 -67
  675. package/src/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.tsx +0 -146
  676. package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +0 -24
  677. package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +0 -21
  678. package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +0 -13
  679. package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +0 -28
  680. package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +0 -28
  681. package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +0 -24
  682. package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +0 -18
  683. package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +0 -10
  684. package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +0 -42
  685. package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +0 -32
  686. package/src/deprecated/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +0 -134
  687. package/src/deprecated/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +0 -681
  688. package/src/deprecated/components/OptionsMenu/examples/OptionsMenu.md +0 -574
  689. package/src/deprecated/components/OptionsMenu/index.ts +0 -6
  690. package/src/deprecated/components/PageHeader/PageHeader.tsx +0 -103
  691. package/src/deprecated/components/PageHeader/PageHeaderTools.tsx +0 -21
  692. package/src/deprecated/components/PageHeader/PageHeaderToolsGroup.tsx +0 -43
  693. package/src/deprecated/components/PageHeader/PageHeaderToolsItem.tsx +0 -47
  694. package/src/deprecated/components/PageHeader/examples/PageHeader.md +0 -19
  695. package/src/deprecated/components/PageHeader/examples/PageVerticalNavUsingPageHeaderComponent.tsx +0 -42
  696. package/src/deprecated/components/PageHeader/index.ts +0 -4
  697. package/src/deprecated/components/PageHeader/tests/PageHeader.test.tsx +0 -30
  698. package/src/deprecated/components/PageHeader/tests/PageHeaderTools.test.tsx +0 -17
  699. package/src/deprecated/components/PageHeader/tests/PageHeaderToolsGroup.test.tsx +0 -17
  700. package/src/deprecated/components/PageHeader/tests/PageHeaderToolsItem.test.tsx +0 -15
  701. package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeader.test.tsx.snap +0 -59
  702. package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderTools.test.tsx.snap +0 -13
  703. package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +0 -13
  704. package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderToolsItem.test.tsx.snap +0 -14
  705. package/src/deprecated/components/Select/Select.tsx +0 -1495
  706. package/src/deprecated/components/Select/SelectGroup.tsx +0 -36
  707. package/src/deprecated/components/Select/SelectMenu.tsx +0 -276
  708. package/src/deprecated/components/Select/SelectOption.tsx +0 -463
  709. package/src/deprecated/components/Select/SelectToggle.tsx +0 -367
  710. package/src/deprecated/components/Select/__tests__/Select.test.tsx +0 -589
  711. package/src/deprecated/components/Select/__tests__/SelectGroup.test.tsx +0 -28
  712. package/src/deprecated/components/Select/__tests__/SelectOption.test.tsx +0 -246
  713. package/src/deprecated/components/Select/__tests__/SelectToggle.test.tsx +0 -92
  714. package/src/deprecated/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +0 -2415
  715. package/src/deprecated/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +0 -24
  716. package/src/deprecated/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +0 -234
  717. package/src/deprecated/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +0 -34
  718. package/src/deprecated/components/Select/examples/Select.md +0 -2938
  719. package/src/deprecated/components/Select/index.ts +0 -4
  720. package/src/deprecated/components/Select/selectConstants.tsx +0 -39
  721. package/src/helpers/favorites.ts +0 -81
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * This function is a helper for creating an array of renderable favorite items for the Application launcher or Select
4
- *
5
- * @param {object} items The items rendered in Select or Application aLauncher
6
- * @param {boolean} isGrouped Flag indicating if items are grouped
7
- * @param {any[]} favorites Array of ids of favorited items
8
- * @param {boolean} isEnterTriggersArrowDown Flag indicating if we should add isEnterTriggersArrowDown to favorited item
9
- */
10
- export declare const createRenderableFavorites: (items: object, isGrouped: boolean, favorites: any[], isEnterTriggersArrowDown?: boolean) => React.ReactNode[];
11
- /**
12
- * This function is a helper for extending the array of renderable favorite with the select/application launcher items to render in the Application launcher or Select
13
- *
14
- * @param {object} items The items rendered in Select or Application aLauncher
15
- * @param {boolean} isGrouped Flag indicating if items are grouped
16
- * @param {any[]} favorites Array of ids of favorited items
17
- */
18
- export declare const extendItemsWithFavorite: (items: object, isGrouped: boolean, favorites: any[]) => React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
19
- //# sourceMappingURL=favorites.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"favorites.d.ts","sourceRoot":"","sources":["../../../src/helpers/favorites.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,UAC7B,MAAM,aACF,OAAO,aACP,GAAG,EAAE,6BACW,OAAO,sBAiCnC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,aAAa,OAAO,aAAa,GAAG,EAAE,yEAsB1F,CAAC"}
@@ -1,70 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.extendItemsWithFavorite = exports.createRenderableFavorites = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = tslib_1.__importStar(require("react"));
6
- const ApplicationLauncherSeparator_1 = require("../deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator");
7
- const Divider_1 = require("../components/Divider/Divider");
8
- /**
9
- * This function is a helper for creating an array of renderable favorite items for the Application launcher or Select
10
- *
11
- * @param {object} items The items rendered in Select or Application aLauncher
12
- * @param {boolean} isGrouped Flag indicating if items are grouped
13
- * @param {any[]} favorites Array of ids of favorited items
14
- * @param {boolean} isEnterTriggersArrowDown Flag indicating if we should add isEnterTriggersArrowDown to favorited item
15
- */
16
- const createRenderableFavorites = (items, isGrouped, favorites, isEnterTriggersArrowDown) => {
17
- if (isGrouped) {
18
- const favoriteItems = [];
19
- items.forEach((group) => {
20
- if (favorites.length > 0) {
21
- return (group.props.children &&
22
- group.props.children
23
- .filter((item) => favorites.includes(item.props.id))
24
- .map((item) => {
25
- if (isEnterTriggersArrowDown) {
26
- return favoriteItems.push(React.cloneElement(item, {
27
- isFavorite: true,
28
- enterTriggersArrowDown: isEnterTriggersArrowDown,
29
- id: `favorite-${item.props.id}`
30
- }));
31
- }
32
- else {
33
- return favoriteItems.push(React.cloneElement(item, { isFavorite: true, id: `favorite-${item.props.id}` }));
34
- }
35
- }));
36
- }
37
- });
38
- return favoriteItems;
39
- }
40
- return items
41
- .filter((item) => favorites.includes(item.props.id))
42
- .map((item) => React.cloneElement(item, { isFavorite: true, enterTriggersArrowDown: isEnterTriggersArrowDown }));
43
- };
44
- exports.createRenderableFavorites = createRenderableFavorites;
45
- /**
46
- * This function is a helper for extending the array of renderable favorite with the select/application launcher items to render in the Application launcher or Select
47
- *
48
- * @param {object} items The items rendered in Select or Application aLauncher
49
- * @param {boolean} isGrouped Flag indicating if items are grouped
50
- * @param {any[]} favorites Array of ids of favorited items
51
- */
52
- const extendItemsWithFavorite = (items, isGrouped, favorites) => {
53
- if (isGrouped) {
54
- return items.map((group) => React.cloneElement(group, {
55
- children: React.Children.map(group.props.children, (item) => {
56
- if (item.type === ApplicationLauncherSeparator_1.ApplicationLauncherSeparator || item.type === Divider_1.Divider) {
57
- return item;
58
- }
59
- return React.cloneElement(item, {
60
- isFavorite: favorites.some((favoriteId) => favoriteId === item.props.id || `favorite-${favoriteId}` === item.props.id)
61
- });
62
- })
63
- }));
64
- }
65
- return items.map((item) => React.cloneElement(item, {
66
- isFavorite: favorites.some((favoriteId) => favoriteId === item.props.id)
67
- }));
68
- };
69
- exports.extendItemsWithFavorite = extendItemsWithFavorite;
70
- //# sourceMappingURL=favorites.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"favorites.js","sourceRoot":"","sources":["../../../src/helpers/favorites.ts"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,4HAAyH;AACzH,2DAAwD;AAExD;;;;;;;GAOG;AACI,MAAM,yBAAyB,GAAG,CACvC,KAAa,EACb,SAAkB,EAClB,SAAgB,EAChB,wBAAkC,EAClC,EAAE;IACF,IAAI,SAAS,EAAE;QACb,MAAM,aAAa,GAAsB,EAAE,CAAC;QAC3C,KAA8B,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAChD,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE;gBACxB,OAAO,CACL,KAAK,CAAC,KAAK,CAAC,QAAQ;oBACnB,KAAK,CAAC,KAAK,CAAC,QAAiC;yBAC3C,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;yBACnD,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACZ,IAAI,wBAAwB,EAAE;4BAC5B,OAAO,aAAa,CAAC,IAAI,CACvB,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE;gCACvB,UAAU,EAAE,IAAI;gCAChB,sBAAsB,EAAE,wBAAwB;gCAChD,EAAE,EAAE,YAAY,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;6BAChC,CAAC,CACH,CAAC;yBACH;6BAAM;4BACL,OAAO,aAAa,CAAC,IAAI,CACvB,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,YAAY,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAChF,CAAC;yBACH;oBACH,CAAC,CAAC,CACL,CAAC;aACH;QACH,CAAC,CAAC,CAAC;QACH,OAAO,aAAa,CAAC;KACtB;IACD,OAAQ,KAA8B;SACnC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;SACnD,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAC;AACrH,CAAC,CAAC;AArCW,QAAA,yBAAyB,6BAqCpC;AAEF;;;;;;GAMG;AACI,MAAM,uBAAuB,GAAG,CAAC,KAAa,EAAE,SAAkB,EAAE,SAAgB,EAAE,EAAE;IAC7F,IAAI,SAAS,EAAE;QACb,OAAQ,KAA8B,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CACnD,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,QAAgC,EAAE,CAAC,IAAI,EAAE,EAAE;gBAClF,IAAI,IAAI,CAAC,IAAI,KAAK,2DAA4B,IAAI,IAAI,CAAC,IAAI,KAAK,iBAAO,EAAE;oBACvE,OAAO,IAAI,CAAC;iBACb;gBACD,OAAO,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE;oBAC9B,UAAU,EAAE,SAAS,CAAC,IAAI,CACxB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,YAAY,UAAU,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,CAC3F;iBACF,CAAC,CAAC;YACL,CAAC,CAAC;SACH,CAAC,CACH,CAAC;KACH;IACD,OAAQ,KAA8B,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAClD,KAAK,CAAC,YAAY,CAAC,IAAI,EAAE;QACvB,UAAU,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,KAAK,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;KACzE,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,uBAAuB,2BAsBlC"}
@@ -1,208 +0,0 @@
1
- import * as React from 'react';
2
- import { css } from '@patternfly/react-styles';
3
- import styles from '@patternfly/react-styles/css/components/AppLauncher/app-launcher';
4
- import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
5
- import { DropdownDirection, DropdownPosition, DropdownToggle, DropdownContext } from '../Dropdown';
6
- import { DropdownWithContext } from '../Dropdown/DropdownWithContext';
7
- import { ApplicationLauncherGroup } from './ApplicationLauncherGroup';
8
- import { ApplicationLauncherSeparator } from './ApplicationLauncherSeparator';
9
- import { ApplicationLauncherItem } from './ApplicationLauncherItem';
10
- import { ApplicationLauncherContext } from './ApplicationLauncherContext';
11
- import { createRenderableFavorites, extendItemsWithFavorite } from '../../../helpers/favorites';
12
- import { SearchInput } from '../../../components/SearchInput';
13
-
14
- export interface ApplicationLauncherProps extends React.HTMLProps<HTMLDivElement> {
15
- /** Additional element css classes */
16
- className?: string;
17
- /** Display menu above or below dropdown toggle */
18
- direction?: DropdownDirection | 'up' | 'down';
19
- /** Array of application launcher items */
20
- items?: React.ReactNode[];
21
- /** Render Application launcher toggle as disabled icon */
22
- isDisabled?: boolean;
23
- /** open bool */
24
- isOpen?: boolean;
25
- /** Indicates where menu will be alligned horizontally */
26
- position?: DropdownPosition | 'right' | 'left';
27
- /** Function callback called when user selects item */
28
- onSelect?: (event: any) => void;
29
- /** Callback called when application launcher toggle is clicked */
30
- onToggle?: (
31
- event: MouseEvent | TouchEvent | KeyboardEvent | React.KeyboardEvent<any> | React.MouseEvent<HTMLButtonElement>,
32
- isOpen: boolean
33
- ) => void;
34
- /** Adds accessible text to the button. Required for plain buttons */
35
- 'aria-label'?: string;
36
- /** Flag to indicate if application launcher has groups */
37
- isGrouped?: boolean;
38
- /** Toggle Icon, optional to override the icon used for the toggle */
39
- toggleIcon?: React.ReactNode;
40
- /** The container to append the menu to. Defaults to 'inline'.
41
- * If your menu is being cut off you can append it to an element higher up the DOM tree.
42
- * Some examples:
43
- * menuAppendTo="parent"
44
- * menuAppendTo={() => document.body}
45
- * menuAppendTo={document.getElementById('target')}
46
- */
47
- menuAppendTo?: HTMLElement | (() => HTMLElement) | 'inline' | 'parent';
48
- /** ID list of favorited ApplicationLauncherItems */
49
- favorites?: string[];
50
- /** Enables favorites. Callback called when an ApplicationLauncherItem's favorite button is clicked */
51
- onFavorite?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, itemId: string, isFavorite: boolean) => void;
52
- /** Enables search. Callback called when text input is entered into search box */
53
- onSearch?: (event: React.FormEvent<HTMLInputElement>, textInput: string) => void;
54
- /** Placeholder text for search input */
55
- searchPlaceholderText?: string;
56
- /** Text for search input when no results are found */
57
- searchNoResultsText?: string;
58
- /** Additional properties for search input */
59
- searchProps?: any;
60
- /** Label for the favorites group */
61
- favoritesLabel?: string;
62
- /** ID of toggle */
63
- toggleId?: string;
64
- /** z-index of the application launcher when menuAppendTo is not inline. */
65
- zIndex?: number;
66
- }
67
-
68
- class ApplicationLauncher extends React.Component<ApplicationLauncherProps> {
69
- static displayName = 'ApplicationLauncher';
70
- static defaultProps: ApplicationLauncherProps = {
71
- className: '',
72
- isDisabled: false,
73
- direction: DropdownDirection.down,
74
- favorites: [] as string[],
75
- items: [] as React.ReactNode[],
76
- isOpen: false,
77
- position: DropdownPosition.left,
78
- /* eslint-disable @typescript-eslint/no-unused-vars */
79
- onSelect: (_event: any): any => undefined,
80
- onToggle: (_event: any, _value: boolean): any => undefined,
81
- /* eslint-enable @typescript-eslint/no-unused-vars */
82
- 'aria-label': 'Application launcher',
83
- isGrouped: false,
84
- toggleIcon: <ThIcon />,
85
- searchPlaceholderText: 'Filter by name...',
86
- searchNoResultsText: 'No results found',
87
- favoritesLabel: 'Favorites',
88
- menuAppendTo: 'inline'
89
- };
90
-
91
- createSearchBox = () => {
92
- const { onSearch, searchPlaceholderText, searchProps } = this.props;
93
-
94
- return (
95
- <div key="search" className={css(styles.appLauncherMenuSearch)}>
96
- <ApplicationLauncherItem
97
- customChild={<SearchInput placeholder={searchPlaceholderText} onChange={onSearch} {...searchProps} />}
98
- ></ApplicationLauncherItem>
99
- </div>
100
- );
101
- };
102
-
103
- render() {
104
- const {
105
- 'aria-label': ariaLabel,
106
- isOpen,
107
- onToggle,
108
- toggleIcon,
109
- toggleId,
110
- onSelect,
111
- isDisabled,
112
- className,
113
- isGrouped,
114
- favorites,
115
- onFavorite,
116
- onSearch,
117
- items,
118
- /* eslint-disable @typescript-eslint/no-unused-vars */
119
- searchPlaceholderText,
120
- searchProps,
121
- ref,
122
- /* eslint-enable @typescript-eslint/no-unused-vars */
123
- favoritesLabel,
124
- searchNoResultsText,
125
- menuAppendTo,
126
- zIndex = 9999,
127
- ...props
128
- } = this.props;
129
- let renderableItems: React.ReactNode[] = [];
130
-
131
- if (onFavorite) {
132
- let favoritesGroup: React.ReactNode[] = [];
133
- let renderableFavorites: React.ReactNode[] = [];
134
- if (favorites.length > 0) {
135
- renderableFavorites = createRenderableFavorites(items, isGrouped, favorites, true);
136
- favoritesGroup = [
137
- <ApplicationLauncherGroup key="favorites" label={favoritesLabel}>
138
- {renderableFavorites}
139
- <ApplicationLauncherSeparator key="separator" />
140
- </ApplicationLauncherGroup>
141
- ];
142
- }
143
- if (renderableFavorites.length > 0) {
144
- renderableItems = favoritesGroup.concat(extendItemsWithFavorite(items, isGrouped, favorites));
145
- } else {
146
- renderableItems = extendItemsWithFavorite(items, isGrouped, favorites);
147
- }
148
- } else {
149
- renderableItems = items;
150
- }
151
-
152
- if (items.length === 0) {
153
- renderableItems = [
154
- <ApplicationLauncherGroup key="no-results-group">
155
- <ApplicationLauncherItem key="no-results">{searchNoResultsText}</ApplicationLauncherItem>
156
- </ApplicationLauncherGroup>
157
- ];
158
- }
159
- if (onSearch) {
160
- renderableItems = [this.createSearchBox(), ...renderableItems];
161
- }
162
-
163
- return (
164
- <ApplicationLauncherContext.Provider value={{ onFavorite }}>
165
- <DropdownContext.Provider
166
- value={{
167
- onSelect,
168
- menuClass: styles.appLauncherMenu,
169
- itemClass: styles.appLauncherMenuItem,
170
- toggleClass: styles.appLauncherToggle,
171
- baseClass: styles.appLauncher,
172
- baseComponent: 'nav',
173
- sectionClass: styles.appLauncherGroup,
174
- sectionTitleClass: styles.appLauncherGroupTitle,
175
- sectionComponent: 'section',
176
- disabledClass: styles.modifiers.disabled,
177
- ouiaComponentType: ApplicationLauncher.displayName
178
- }}
179
- >
180
- <DropdownWithContext
181
- {...props}
182
- dropdownItems={renderableItems}
183
- isOpen={isOpen}
184
- className={className}
185
- aria-label={ariaLabel}
186
- menuAppendTo={menuAppendTo}
187
- zIndex={zIndex}
188
- toggle={
189
- <DropdownToggle
190
- id={toggleId}
191
- toggleIndicator={null}
192
- isOpen={isOpen}
193
- onToggle={onToggle}
194
- isDisabled={isDisabled}
195
- aria-label={ariaLabel}
196
- >
197
- {toggleIcon}
198
- </DropdownToggle>
199
- }
200
- isGrouped={isGrouped}
201
- />
202
- </DropdownContext.Provider>
203
- </ApplicationLauncherContext.Provider>
204
- );
205
- }
206
- }
207
-
208
- export { ApplicationLauncher };
@@ -1,34 +0,0 @@
1
- import * as React from 'react';
2
- import { css } from '@patternfly/react-styles';
3
- import styles from '@patternfly/react-styles/css/components/AppLauncher/app-launcher';
4
- import { ApplicationLauncherIcon } from './ApplicationLauncherIcon';
5
- import { ApplicationLauncherText } from './ApplicationLauncherText';
6
- import ExternalLinkAltIcon from '@patternfly/react-icons/dist/esm/icons/external-link-alt-icon';
7
- import { ApplicationLauncherItemContext } from './ApplicationLauncherItemContext';
8
-
9
- export interface ApplicationLauncherContentProps {
10
- /** Main content to be rendered */
11
- children: React.ReactNode;
12
- }
13
-
14
- export const ApplicationLauncherContent: React.FunctionComponent<ApplicationLauncherContentProps> = ({
15
- children
16
- }: ApplicationLauncherContentProps) => (
17
- <ApplicationLauncherItemContext.Consumer>
18
- {({ isExternal, icon }) => (
19
- <>
20
- {icon && <ApplicationLauncherIcon>{icon}</ApplicationLauncherIcon>}
21
- {icon ? <ApplicationLauncherText>{children}</ApplicationLauncherText> : children}
22
- {isExternal && (
23
- <>
24
- <span className={css(styles.appLauncherMenuItemExternalIcon)}>
25
- <ExternalLinkAltIcon />
26
- </span>
27
- <span className="pf-v6-screen-reader">(opens new window)</span>
28
- </>
29
- )}
30
- </>
31
- )}
32
- </ApplicationLauncherItemContext.Consumer>
33
- );
34
- ApplicationLauncherContent.displayName = 'ApplicationLauncherContent';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
-
3
- export const ApplicationLauncherContext = React.createContext({
4
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
5
- onFavorite: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, itemId: string, isFavorite: boolean) => {}
6
- });
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { DropdownGroup, DropdownGroupProps } from '../Dropdown';
3
-
4
- export const ApplicationLauncherGroup: React.FunctionComponent<DropdownGroupProps> = ({
5
- children,
6
- ...props
7
- }: DropdownGroupProps) => <DropdownGroup {...props}>{children}</DropdownGroup>;
8
- ApplicationLauncherGroup.displayName = 'ApplicationLauncherGroup';
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- import { css } from '@patternfly/react-styles';
3
- import styles from '@patternfly/react-styles/css/components/AppLauncher/app-launcher';
4
-
5
- export interface ApplicationLauncherIconProps extends React.HTMLProps<HTMLSpanElement> {
6
- /** content rendered inside the icon container */
7
- children: React.ReactNode;
8
- /** Additional classes added to the icon container */
9
- className?: string;
10
- }
11
-
12
- export const ApplicationLauncherIcon: React.FunctionComponent<ApplicationLauncherIconProps> = ({
13
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
14
- className = '',
15
- children,
16
- ...props
17
- }: ApplicationLauncherIconProps) => (
18
- <span className={css(styles.appLauncherMenuItemIcon)} {...props}>
19
- {children}
20
- </span>
21
- );
22
- ApplicationLauncherIcon.displayName = 'ApplicationLauncherIcon';
@@ -1,94 +0,0 @@
1
- import * as React from 'react';
2
- import { css } from '@patternfly/react-styles';
3
- import styles from '@patternfly/react-styles/css/components/AppLauncher/app-launcher';
4
- import { DropdownItem, DropdownItemProps } from '../Dropdown';
5
- import { ApplicationLauncherContent } from './ApplicationLauncherContent';
6
- import { ApplicationLauncherContext } from './ApplicationLauncherContext';
7
- import { ApplicationLauncherItemContext } from './ApplicationLauncherItemContext';
8
- import StarIcon from '@patternfly/react-icons/dist/esm/icons/star-icon';
9
- import { getUniqueId } from '../../../helpers/util';
10
-
11
- export interface ApplicationLauncherItemProps {
12
- /** Icon rendered before the text */
13
- icon?: React.ReactNode;
14
- /** If clicking on the item should open the page in a separate window */
15
- isExternal?: boolean;
16
- /** Tooltip to display when hovered over the item */
17
- tooltip?: React.ReactNode;
18
- /** Additional tooltip props forwarded to the Tooltip component */
19
- tooltipProps?: any;
20
- /** A ReactElement to render, or a string to use as the component tag.
21
- * Example: component={<Link to="/components/alert/">Alert</Link>}
22
- * Example: component="button"
23
- */
24
- component?: React.ReactNode;
25
- /** Flag indicating if the item is favorited */
26
- isFavorite?: boolean;
27
- /** Aria label text for favoritable button when favorited */
28
- ariaIsFavoriteLabel?: string;
29
- /** Aria label text for favoritable button when not favorited */
30
- ariaIsNotFavoriteLabel?: string;
31
- /** ID of the item. Required for tracking favorites. */
32
- id?: string;
33
- /** Custom item rendering that receives the ApplicationLauncherContext */
34
- customChild?: React.ReactNode;
35
- /** Flag indicating if hitting enter triggers an arrow down key press. Automatically passed to favorites list items. */
36
- enterTriggersArrowDown?: boolean;
37
- }
38
-
39
- export const ApplicationLauncherItem: React.FunctionComponent<ApplicationLauncherItemProps & DropdownItemProps> = ({
40
- className = '',
41
- id,
42
- children,
43
- icon = null,
44
- isExternal = false,
45
- href,
46
- tooltip = null,
47
- tooltipProps = null,
48
- component = 'a',
49
- isFavorite = null,
50
- ariaIsFavoriteLabel = 'starred',
51
- ariaIsNotFavoriteLabel = 'not starred',
52
- customChild,
53
- enterTriggersArrowDown = false,
54
- ...props
55
- }: ApplicationLauncherItemProps & DropdownItemProps) => (
56
- <ApplicationLauncherItemContext.Provider value={{ isExternal, icon }}>
57
- <ApplicationLauncherContext.Consumer>
58
- {({ onFavorite }) => (
59
- <DropdownItem
60
- id={id}
61
- component={component}
62
- href={href || null}
63
- className={css(
64
- isExternal && styles.modifiers.external,
65
- isFavorite !== null && styles.modifiers.link,
66
- className
67
- )}
68
- listItemClassName={css(onFavorite && styles.appLauncherMenuWrapper, isFavorite && styles.modifiers.favorite)}
69
- tooltip={tooltip}
70
- tooltipProps={tooltipProps}
71
- {...(enterTriggersArrowDown === true && { enterTriggersArrowDown })}
72
- {...(customChild && { customChild })}
73
- {...(isFavorite !== null && {
74
- additionalChild: (
75
- <button
76
- className={css(styles.appLauncherMenuItem, styles.modifiers.action)}
77
- aria-label={isFavorite ? ariaIsFavoriteLabel : ariaIsNotFavoriteLabel}
78
- onClick={(event) => {
79
- onFavorite(event, (id || getUniqueId('app-launcher-option')).replace('favorite-', ''), isFavorite);
80
- }}
81
- >
82
- <StarIcon />
83
- </button>
84
- )
85
- })}
86
- {...props}
87
- >
88
- {children && <ApplicationLauncherContent>{children}</ApplicationLauncherContent>}
89
- </DropdownItem>
90
- )}
91
- </ApplicationLauncherContext.Consumer>
92
- </ApplicationLauncherItemContext.Provider>
93
- );
94
- ApplicationLauncherItem.displayName = 'ApplicationLauncherItem';
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
-
3
- export const ApplicationLauncherItemContext = React.createContext({ isExternal: false, icon: null });
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- import { DropdownSeparator, SeparatorProps } from '../Dropdown/DropdownSeparator';
3
-
4
- export const ApplicationLauncherSeparator: React.FunctionComponent<SeparatorProps> = ({
5
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
- children,
7
- ...props
8
- }: SeparatorProps) => <DropdownSeparator {...props} />;
9
- ApplicationLauncherSeparator.displayName = 'ApplicationLauncherSeparator';
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
- import { css } from '@patternfly/react-styles';
3
- import styles from '@patternfly/react-styles/css/components/AppLauncher/app-launcher';
4
-
5
- export interface ApplicationLauncherTextProps extends React.HTMLProps<HTMLSpanElement> {
6
- /** content rendered inside the text container */
7
- children: React.ReactNode;
8
- /** Additional classes added to the text container */
9
- className?: string;
10
- }
11
-
12
- export const ApplicationLauncherText: React.FunctionComponent<ApplicationLauncherTextProps> = ({
13
- className = '',
14
- children,
15
- ...props
16
- }: ApplicationLauncherTextProps) => (
17
- <span className={css(`${styles.appLauncherMenuItem}-text`, className)} {...props}>
18
- {children}
19
- </span>
20
- );
21
- ApplicationLauncherText.displayName = 'ApplicationLauncherText';
@@ -1,72 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react';
3
- import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
4
- import { ApplicationLauncher } from '../ApplicationLauncher';
5
- import { ApplicationLauncherItem } from '../ApplicationLauncherItem';
6
- import { DropdownPosition, DropdownDirection } from '../../Dropdown/dropdownConstants';
7
- import { ApplicationLauncherSeparator } from '../ApplicationLauncherSeparator';
8
-
9
- const dropdownItems = [
10
- <ApplicationLauncherItem key="link">Link</ApplicationLauncherItem>,
11
- <ApplicationLauncherItem key="action" component="button">
12
- Action
13
- </ApplicationLauncherItem>,
14
- <ApplicationLauncherItem key="disabled link" isDisabled>
15
- Disabled Link
16
- </ApplicationLauncherItem>,
17
- <ApplicationLauncherItem key="disabled action" isDisabled component="button">
18
- Disabled Action
19
- </ApplicationLauncherItem>,
20
- <ApplicationLauncherSeparator key="separator" />,
21
- <ApplicationLauncherItem key="separated link">Separated Link</ApplicationLauncherItem>,
22
- <ApplicationLauncherItem key="separated action" component="button">
23
- Separated Action
24
- </ApplicationLauncherItem>
25
- ];
26
-
27
- describe('ApplicationLauncher', () => {
28
- test('regular', () => {
29
- const { asFragment } = render(<ApplicationLauncher items={dropdownItems} />);
30
- expect(asFragment()).toMatchSnapshot();
31
- });
32
-
33
- test('right aligned', () => {
34
- const { asFragment } = render(<ApplicationLauncher items={dropdownItems} position={DropdownPosition.right} />);
35
- expect(asFragment()).toMatchSnapshot();
36
- });
37
-
38
- test('dropup', () => {
39
- const { asFragment } = render(<ApplicationLauncher items={dropdownItems} direction={DropdownDirection.up} />);
40
- expect(asFragment()).toMatchSnapshot();
41
- });
42
-
43
- test('dropup + right aligned', () => {
44
- const { asFragment } = render(
45
- <ApplicationLauncher items={dropdownItems} direction={DropdownDirection.up} position={DropdownPosition.right} />
46
- );
47
- expect(asFragment()).toMatchSnapshot();
48
- });
49
-
50
- test('expanded', () => {
51
- const { asFragment } = render(<ApplicationLauncher items={dropdownItems} isOpen />);
52
- expect(asFragment()).toMatchSnapshot();
53
- });
54
-
55
- test('custom icon', () => {
56
- const { asFragment } = render(
57
- <ApplicationLauncher items={dropdownItems} isOpen toggleIcon={<HelpIcon id="test-icon" />} />
58
- );
59
- expect(asFragment()).toMatchSnapshot();
60
- });
61
-
62
- test('Renders in strict mode', () => {
63
- const consoleError = jest.spyOn(console, 'error');
64
- const { asFragment } = render(
65
- <React.StrictMode>
66
- <ApplicationLauncher isOpen items={dropdownItems} />{' '}
67
- </React.StrictMode>
68
- );
69
- expect(consoleError).not.toHaveBeenCalled();
70
- expect(asFragment()).toMatchSnapshot();
71
- });
72
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { render } from '@testing-library/react';
6
- import { ApplicationLauncherContent } from '../../ApplicationLauncherContent';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ApplicationLauncherContent should match snapshot (auto-generated)', () => {
11
- const { asFragment } = render(<ApplicationLauncherContent children={<div>ReactNode</div>} />);
12
- expect(asFragment()).toMatchSnapshot();
13
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { render } from '@testing-library/react';
6
- import { ApplicationLauncherGroup } from '../../ApplicationLauncherGroup';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ApplicationLauncherGroup should match snapshot (auto-generated)', () => {
11
- const { asFragment } = render(<ApplicationLauncherGroup />);
12
- expect(asFragment()).toMatchSnapshot();
13
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { render } from '@testing-library/react';
6
- import { ApplicationLauncherIcon } from '../../ApplicationLauncherIcon';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
9
-
10
- it('ApplicationLauncherIcon should match snapshot (auto-generated)', () => {
11
- const { asFragment } = render(<ApplicationLauncherIcon children={<div>ReactNode</div>} className={"''"} />);
12
- expect(asFragment()).toMatchSnapshot();
13
- });
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react';
3
-
4
- import { ApplicationLauncherSeparator } from '../../ApplicationLauncherSeparator';
5
- import { DropdownArrowContext } from '../../../Dropdown/dropdownConstants';
6
-
7
- describe('ApplicationLauncherSeparator', () => {
8
- it('should match snapshot', () => {
9
- const { asFragment } = render(
10
- <DropdownArrowContext.Provider value={{ sendRef: jest.fn(), keyHandler: undefined }}>
11
- <ApplicationLauncherSeparator />
12
- </DropdownArrowContext.Provider>
13
- );
14
- expect(asFragment()).toMatchSnapshot();
15
- });
16
- });