@splunk/react-ui 4.43.0 → 5.0.0-beta.2

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 (631) hide show
  1. package/Accordion.js +87 -109
  2. package/Animation.js +48 -31
  3. package/Avatar.d.ts +2 -0
  4. package/Avatar.js +478 -0
  5. package/Box.js +8 -8
  6. package/Breadcrumbs.js +45 -49
  7. package/Button.js +144 -399
  8. package/ButtonGroup.js +22 -26
  9. package/ButtonSimple.js +239 -605
  10. package/CHANGELOG.md +4 -0
  11. package/CHANGELOG.v5.mdx +195 -0
  12. package/Calendar.js +55 -68
  13. package/Card.js +162 -200
  14. package/Chip.js +108 -96
  15. package/Clickable.js +174 -310
  16. package/Code.js +393 -422
  17. package/CollapsiblePanel.js +439 -601
  18. package/Color.js +727 -967
  19. package/ColumnLayout.js +190 -234
  20. package/ComboBox.js +147 -135
  21. package/ControlGroup.js +502 -531
  22. package/Date.js +315 -416
  23. package/DefinitionList.js +128 -140
  24. package/Dropdown.js +201 -358
  25. package/DualListbox.js +26 -26
  26. package/File.js +479 -558
  27. package/FormRows.js +339 -569
  28. package/Heading.js +53 -99
  29. package/Image.js +254 -305
  30. package/JSONTree.js +105 -107
  31. package/Layer.js +187 -269
  32. package/{CloseButton.js → Layout.js} +39 -61
  33. package/Link.js +91 -244
  34. package/List.js +68 -74
  35. package/MIGRATION.v5.mdx +428 -0
  36. package/Markdown.js +439 -385
  37. package/Menu.js +383 -741
  38. package/Message.js +150 -322
  39. package/MessageBar.js +15 -15
  40. package/Modal.js +444 -587
  41. package/Monogram.js +1 -1
  42. package/Multiselect.js +1207 -1256
  43. package/NonInteractiveCheckbox.js +189 -0
  44. package/Number.js +495 -604
  45. package/Paginator.js +294 -406
  46. package/Paragraph.js +12 -15
  47. package/Popover.js +582 -744
  48. package/Progress.js +141 -244
  49. package/Prose.d.ts +2 -0
  50. package/Prose.js +213 -0
  51. package/RadioBar.js +328 -450
  52. package/RadioList.js +132 -216
  53. package/Resize.js +351 -402
  54. package/ResultsMenu.js +255 -358
  55. package/Scroll.js +159 -238
  56. package/Search.js +358 -437
  57. package/Select.js +1097 -1380
  58. package/SidePanel.js +179 -223
  59. package/Slider.js +440 -542
  60. package/SlidingPanels.js +377 -504
  61. package/SplitButton.js +114 -102
  62. package/StaticContent.js +58 -74
  63. package/StepBar.js +193 -258
  64. package/Switch.js +246 -552
  65. package/TabBar.js +438 -622
  66. package/TabLayout.js +197 -251
  67. package/Table.js +2355 -3673
  68. package/Text.js +422 -909
  69. package/TextArea.js +537 -959
  70. package/Tooltip.js +35 -41
  71. package/TransitionOpen.js +296 -336
  72. package/Typography.js +35 -50
  73. package/WaitSpinner.js +93 -124
  74. package/package.json +14 -15
  75. package/stubs-dependencies.d.ts +0 -7
  76. package/stubs-splunkui.d.ts +6 -1
  77. package/types/src/Accordion/Accordion.d.ts +5 -1
  78. package/types/src/Accordion/Panel.d.ts +1 -2
  79. package/types/src/Accordion/docs/examples/Controlled.d.ts +2 -1
  80. package/types/src/Accordion/docs/examples/Inset.d.ts +2 -1
  81. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +2 -1
  82. package/types/src/Anchor/Anchor.d.ts +1 -1
  83. package/types/src/Anchor/docs/examples/Basic.d.ts +2 -1
  84. package/types/src/Animation/Animation.d.ts +12 -2
  85. package/types/src/AnimationToggle/AnimationToggleProvider.d.ts +1 -1
  86. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +2 -2
  87. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +2 -1
  88. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +2 -1
  89. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +2 -2
  90. package/types/src/AnimationToggle/docs/examples/ToggleHook.d.ts +2 -1
  91. package/types/src/Avatar/Avatar.d.ts +65 -0
  92. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +2 -0
  93. package/types/src/Avatar/docs/examples/Basic.d.ts +2 -0
  94. package/types/src/Avatar/docs/examples/Image.d.ts +2 -0
  95. package/types/src/Avatar/docs/examples/Interactive.d.ts +2 -0
  96. package/types/src/Avatar/docs/examples/Size.d.ts +2 -0
  97. package/types/src/Avatar/getInitials.d.ts +9 -0
  98. package/types/src/Avatar/index.d.ts +2 -0
  99. package/types/src/Box/Box.d.ts +1 -1
  100. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  101. package/types/src/Breadcrumbs/Item.d.ts +1 -1
  102. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -1
  103. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -1
  104. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +2 -1
  105. package/types/src/Button/Button.d.ts +19 -34
  106. package/types/src/Button/docs/examples/Basic.d.ts +2 -1
  107. package/types/src/Button/docs/examples/Block.d.ts +2 -1
  108. package/types/src/Button/docs/examples/Disabled.d.ts +2 -1
  109. package/types/src/Button/docs/examples/Icons.d.ts +2 -1
  110. package/types/src/Button/docs/examples/Menus.d.ts +2 -1
  111. package/types/src/Button/docs/examples/To.d.ts +2 -1
  112. package/types/src/Button/docs/examples/Truncated.d.ts +2 -1
  113. package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
  114. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +2 -1
  115. package/types/src/ButtonSimple/ButtonSimple.d.ts +22 -41
  116. package/types/src/ButtonSimple/mixin.d.ts +6 -2
  117. package/types/src/Calendar/Calendar.d.ts +2 -2
  118. package/types/src/Calendar/DateTable.d.ts +1 -1
  119. package/types/src/Calendar/Day.d.ts +1 -1
  120. package/types/src/Calendar/MonthHeader.d.ts +1 -1
  121. package/types/src/Card/Body.d.ts +1 -1
  122. package/types/src/Card/Card.d.ts +4 -9
  123. package/types/src/Card/Footer.d.ts +1 -8
  124. package/types/src/Card/Header.d.ts +2 -2
  125. package/types/src/Card/docs/examples/Actions.d.ts +2 -1
  126. package/types/src/Card/docs/examples/Basic.d.ts +2 -1
  127. package/types/src/Card/docs/examples/Clickable.d.ts +2 -1
  128. package/types/src/Card/docs/examples/Full.d.ts +2 -1
  129. package/types/src/Card/docs/examples/Images.d.ts +2 -1
  130. package/types/src/Card/docs/examples/Selectable.d.ts +2 -1
  131. package/types/src/CardLayout/CardLayout.d.ts +1 -1
  132. package/types/src/CardLayout/docs/examples/Basic.d.ts +2 -1
  133. package/types/src/CardLayout/docs/examples/Interactive.d.ts +2 -2
  134. package/types/src/Chip/Chip.d.ts +1 -1
  135. package/types/src/Chip/docs/examples/Appearance.d.ts +2 -1
  136. package/types/src/Chip/docs/examples/CustomColors.d.ts +2 -1
  137. package/types/src/Chip/docs/examples/Disabled.d.ts +2 -1
  138. package/types/src/Chip/docs/examples/Icon.d.ts +2 -1
  139. package/types/src/Chip/docs/examples/Removable.d.ts +2 -1
  140. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +2 -1
  141. package/types/src/Clickable/Clickable.d.ts +13 -37
  142. package/types/src/Clickable/NavigationProvider.d.ts +2 -19
  143. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -1
  144. package/types/src/Clickable/docs/examples/Disabled.d.ts +3 -0
  145. package/types/src/Clickable/docs/examples/NavigationProvider.d.ts +2 -1
  146. package/types/src/Code/Code.d.ts +2 -2
  147. package/types/src/Code/docs/examples/Default.d.ts +2 -1
  148. package/types/src/Code/docs/examples/HideIndent.d.ts +2 -1
  149. package/types/src/Code/docs/examples/Language.d.ts +2 -1
  150. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +31 -70
  151. package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
  152. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +3 -0
  153. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +2 -1
  154. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +2 -1
  155. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +3 -0
  156. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +2 -1
  157. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +2 -1
  158. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +2 -1
  159. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -1
  160. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +2 -1
  161. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +3 -0
  162. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +2 -1
  163. package/types/src/Color/Color.d.ts +24 -59
  164. package/types/src/Color/Palette.d.ts +3 -18
  165. package/types/src/Color/Swatch.d.ts +1 -4
  166. package/types/src/Color/docs/examples/Controlled.d.ts +2 -1
  167. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +2 -1
  168. package/types/src/Color/docs/examples/HideInput.d.ts +2 -1
  169. package/types/src/Color/docs/examples/Null.d.ts +2 -1
  170. package/types/src/Color/docs/examples/ThemeVariables.d.ts +2 -1
  171. package/types/src/Color/docs/examples/Transparent.d.ts +2 -1
  172. package/types/src/Color/docs/examples/Uncontrolled.d.ts +2 -1
  173. package/types/src/ColumnLayout/Column.d.ts +1 -11
  174. package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
  175. package/types/src/ColumnLayout/Row.d.ts +1 -11
  176. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +2 -1
  177. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +2 -1
  178. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +2 -1
  179. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +2 -1
  180. package/types/src/ComboBox/ComboBox.d.ts +4 -11
  181. package/types/src/ComboBox/Option.d.ts +2 -2
  182. package/types/src/ComboBox/docs/examples/Controlled.d.ts +2 -1
  183. package/types/src/ComboBox/docs/examples/Fetching.d.ts +2 -1
  184. package/types/src/ComboBox/docs/examples/Headings.d.ts +2 -1
  185. package/types/src/ComboBox/docs/examples/Label.d.ts +2 -1
  186. package/types/src/ComboBox/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
  187. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +2 -1
  188. package/types/src/ControlGroup/ControlGroup.d.ts +22 -38
  189. package/types/src/ControlGroup/ErrorMessageBar.d.ts +18 -0
  190. package/types/src/ControlGroup/docs/examples/Basic.d.ts +2 -1
  191. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +2 -2
  192. package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -1
  193. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +2 -1
  194. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +2 -1
  195. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +3 -0
  196. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +2 -1
  197. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +2 -1
  198. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +2 -1
  199. package/types/src/ControlGroup/docs/examples/Required.d.ts +2 -1
  200. package/types/src/Date/Date.d.ts +30 -64
  201. package/types/src/Date/Icon.d.ts +2 -1
  202. package/types/src/Date/docs/examples/Basic.d.ts +2 -1
  203. package/types/src/Date/docs/examples/Controlled.d.ts +2 -2
  204. package/types/src/Date/docs/examples/CustomDate.d.ts +2 -1
  205. package/types/src/Date/docs/examples/Disabled.d.ts +2 -1
  206. package/types/src/Date/docs/examples/Error.d.ts +2 -1
  207. package/types/src/Date/docs/examples/HighlightToday.d.ts +2 -2
  208. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +2 -1
  209. package/types/src/DefinitionList/DefinitionList.d.ts +8 -3
  210. package/types/src/DefinitionList/DefinitionListContext.d.ts +7 -0
  211. package/types/src/DefinitionList/Description.d.ts +3 -3
  212. package/types/src/DefinitionList/Term.d.ts +3 -3
  213. package/types/src/DefinitionList/docs/examples/Basic.d.ts +2 -1
  214. package/types/src/DefinitionList/docs/examples/Customize.d.ts +2 -1
  215. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +3 -0
  216. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +3 -0
  217. package/types/src/Divider/Divider.d.ts +1 -1
  218. package/types/src/Divider/docs/examples/Basic.d.ts +2 -1
  219. package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -1
  220. package/types/src/Divider/docs/examples/Decorative.d.ts +2 -1
  221. package/types/src/Divider/docs/examples/Vertical.d.ts +2 -1
  222. package/types/src/Dropdown/Dropdown.d.ts +29 -44
  223. package/types/src/Dropdown/docs/examples/Basic.d.ts +2 -1
  224. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +2 -1
  225. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +2 -1
  226. package/types/src/Dropdown/docs/examples/Dialog.d.ts +2 -1
  227. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +2 -1
  228. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +2 -1
  229. package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -1
  230. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +2 -1
  231. package/types/src/DualListbox/DualListbox.d.ts +1 -1
  232. package/types/src/DualListbox/Label.d.ts +1 -1
  233. package/types/src/DualListbox/Listbox.d.ts +1 -1
  234. package/types/src/DualListbox/Option.d.ts +1 -1
  235. package/types/src/DualListbox/ScreenReaderWrapper.d.ts +2 -1
  236. package/types/src/DualListbox/ToolbarButton.d.ts +1 -1
  237. package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -1
  238. package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -1
  239. package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -1
  240. package/types/src/EventListener/EventListener.d.ts +1 -1
  241. package/types/src/File/File.d.ts +26 -33
  242. package/types/src/File/Icon.d.ts +2 -1
  243. package/types/src/File/IconCloud.d.ts +2 -1
  244. package/types/src/File/Item.d.ts +1 -1
  245. package/types/src/File/PaperClip.d.ts +2 -1
  246. package/types/src/File/Retry.d.ts +2 -1
  247. package/types/src/File/Trash.d.ts +2 -1
  248. package/types/src/File/docs/examples/CustomizedMessages.d.ts +2 -1
  249. package/types/src/File/docs/examples/Disabled.d.ts +2 -2
  250. package/types/src/File/docs/examples/DropAnywhere.d.ts +2 -2
  251. package/types/src/File/docs/examples/Error.d.ts +2 -1
  252. package/types/src/File/docs/examples/FullScreen.d.ts +2 -1
  253. package/types/src/File/docs/examples/Multi.d.ts +2 -2
  254. package/types/src/File/docs/examples/Progress.d.ts +2 -1
  255. package/types/src/File/docs/examples/Single.d.ts +2 -2
  256. package/types/src/FormRows/FormRows.d.ts +20 -14
  257. package/types/src/FormRows/Row.d.ts +11 -7
  258. package/types/src/FormRows/SortableList.d.ts +1 -1
  259. package/types/src/FormRows/docs/examples/Basic.d.ts +1 -1
  260. package/types/src/FormRows/docs/examples/Header.d.ts +1 -1
  261. package/types/src/FormRows/docs/examples/Menu.d.ts +1 -1
  262. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +1 -1
  263. package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -1
  264. package/types/src/Heading/Heading.d.ts +8 -20
  265. package/types/src/Heading/docs/examples/Basic.d.ts +2 -1
  266. package/types/src/Heading/docs/examples/Variant.d.ts +2 -1
  267. package/types/src/Heading/index.d.ts +1 -0
  268. package/types/src/Image/Image.d.ts +8 -19
  269. package/types/src/Image/docs/examples/Basic.d.ts +2 -1
  270. package/types/src/Image/icons/Cross.d.ts +2 -1
  271. package/types/src/JSONTree/JSONTree.d.ts +6 -10
  272. package/types/src/JSONTree/JSONTreeItem.d.ts +1 -1
  273. package/types/src/JSONTree/docs/examples/Basic.d.ts +2 -1
  274. package/types/src/JSONTree/docs/examples/Events.d.ts +2 -2
  275. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +2 -1
  276. package/types/src/JSONTree/renderTreeItems.d.ts +3 -2
  277. package/types/src/Layer/Layer.d.ts +8 -25
  278. package/types/src/Layer/LayerStack.d.ts +2 -3
  279. package/types/src/Layer/docs/examples/Basic.d.ts +2 -1
  280. package/types/src/Layout/Layout.d.ts +22 -0
  281. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  282. package/types/src/Layout/index.d.ts +2 -0
  283. package/types/src/Layout/test/Layout.unit.d.ts +1 -0
  284. package/types/src/Link/Link.d.ts +9 -22
  285. package/types/src/Link/docs/examples/Basic.d.ts +2 -1
  286. package/types/src/Link/docs/examples/Disabled.d.ts +2 -1
  287. package/types/src/Link/docs/examples/NewWindow.d.ts +2 -1
  288. package/types/src/Link/docs/examples/Standalone.d.ts +3 -0
  289. package/types/src/Link/icons/External.d.ts +2 -1
  290. package/types/src/List/Item.d.ts +1 -1
  291. package/types/src/List/List.d.ts +5 -17
  292. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -1
  293. package/types/src/List/docs/examples/OrderedList.d.ts +2 -1
  294. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -1
  295. package/types/src/Markdown/Markdown.d.ts +50 -59
  296. package/types/src/Markdown/docs/examples/Basic.d.ts +2 -1
  297. package/types/src/Markdown/docs/examples/I18n.d.ts +2 -1
  298. package/types/src/Markdown/docs/examples/RenderProps.d.ts +2 -1
  299. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +2 -8
  300. package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +3 -7
  301. package/types/src/Markdown/renderers/MarkdownCode.d.ts +3 -9
  302. package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +5 -9
  303. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +3 -9
  304. package/types/src/Markdown/renderers/MarkdownImage.d.ts +4 -11
  305. package/types/src/Markdown/renderers/MarkdownItem.d.ts +4 -8
  306. package/types/src/Markdown/renderers/MarkdownLink.d.ts +3 -11
  307. package/types/src/Markdown/renderers/MarkdownList.d.ts +6 -22
  308. package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -7
  309. package/types/src/Markdown/renderers/MarkdownTable.d.ts +40 -0
  310. package/types/src/Markdown/renderers/index.d.ts +5 -4
  311. package/types/src/Menu/Divider.d.ts +2 -1
  312. package/types/src/Menu/Heading.d.ts +3 -3
  313. package/types/src/Menu/Item.d.ts +14 -47
  314. package/types/src/Menu/Menu.d.ts +4 -19
  315. package/types/src/Menu/docs/examples/Adornments.d.ts +2 -1
  316. package/types/src/Menu/docs/examples/Basic.d.ts +2 -1
  317. package/types/src/Menu/docs/examples/Complex.d.ts +2 -1
  318. package/types/src/Menu/docs/examples/Descriptions.d.ts +2 -1
  319. package/types/src/Menu/docs/examples/Dimmed.d.ts +2 -1
  320. package/types/src/Menu/docs/examples/Disabled.d.ts +2 -1
  321. package/types/src/Menu/docs/examples/Dividers.d.ts +2 -1
  322. package/types/src/Menu/docs/examples/Headings.d.ts +2 -1
  323. package/types/src/Menu/docs/examples/Links.d.ts +2 -1
  324. package/types/src/Menu/docs/examples/MatchRanges.d.ts +2 -1
  325. package/types/src/Menu/docs/examples/Selectable.d.ts +2 -1
  326. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +2 -1
  327. package/types/src/Menu/docs/examples/Truncate.d.ts +2 -1
  328. package/types/src/Menu/icons/External.d.ts +2 -1
  329. package/types/src/Message/Message.d.ts +4 -11
  330. package/types/src/Message/Title.d.ts +1 -1
  331. package/types/src/Message/docs/examples/Basic.d.ts +2 -1
  332. package/types/src/Message/docs/examples/Content.d.ts +2 -1
  333. package/types/src/Message/docs/examples/Fill.d.ts +2 -1
  334. package/types/src/Message/docs/examples/Removable.d.ts +2 -1
  335. package/types/src/MessageBar/MessageBar.d.ts +1 -1
  336. package/types/src/MessageBar/docs/examples/Basic.d.ts +2 -1
  337. package/types/src/MessageBar/docs/examples/Types.d.ts +2 -1
  338. package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -1
  339. package/types/src/Modal/Body.d.ts +1 -1
  340. package/types/src/Modal/Footer.d.ts +9 -1
  341. package/types/src/Modal/Header.d.ts +7 -11
  342. package/types/src/Modal/Modal.d.ts +26 -32
  343. package/types/src/Modal/ModalContext.d.ts +2 -0
  344. package/types/src/Modal/docs/examples/Basic.d.ts +2 -1
  345. package/types/src/Modal/docs/examples/InitialFocus.d.ts +2 -1
  346. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +2 -1
  347. package/types/src/Modal/docs/examples/Undismissable.d.ts +2 -1
  348. package/types/src/ModalLayer/ModalLayer.d.ts +1 -1
  349. package/types/src/Monogram/Monogram.d.ts +3 -7
  350. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +2 -1
  351. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +2 -1
  352. package/types/src/Monogram/docs/examples/Basic.d.ts +2 -1
  353. package/types/src/Monogram/docs/examples/Interactive.d.ts +2 -1
  354. package/types/src/Monogram/docs/examples/Size.d.ts +2 -1
  355. package/types/src/Multiselect/Compact.d.ts +1 -1
  356. package/types/src/Multiselect/Multiselect.d.ts +2 -2
  357. package/types/src/Multiselect/Normal.d.ts +1 -1
  358. package/types/src/Multiselect/Option.d.ts +1 -1
  359. package/types/src/Multiselect/docs/examples/Children.d.ts +2 -2
  360. package/types/src/Multiselect/docs/examples/Compact.d.ts +2 -1
  361. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -1
  362. package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -2
  363. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -2
  364. package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -2
  365. package/types/src/Multiselect/docs/examples/Error.d.ts +2 -2
  366. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -4
  367. package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
  368. package/types/src/Multiselect/docs/examples/Icons.d.ts +2 -1
  369. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -4
  370. package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -2
  371. package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -2
  372. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +2 -1
  373. package/types/src/NonInteractiveCheckbox/NonInteractiveCheckbox.d.ts +21 -0
  374. package/types/src/NonInteractiveCheckbox/index.d.ts +1 -0
  375. package/types/src/Number/Number.d.ts +46 -61
  376. package/types/src/Number/docs/examples/Basic.d.ts +2 -2
  377. package/types/src/Number/docs/examples/Disabled.d.ts +2 -1
  378. package/types/src/Number/docs/examples/Error.d.ts +2 -1
  379. package/types/src/Number/docs/examples/Limits.d.ts +2 -2
  380. package/types/src/Number/docs/examples/Locale.d.ts +2 -2
  381. package/types/src/Number/docs/examples/Uncontrolled.d.ts +2 -1
  382. package/types/src/Number/utils.d.ts +1 -2
  383. package/types/src/Paginator/Button.d.ts +4 -8
  384. package/types/src/Paginator/Compact.d.ts +1 -1
  385. package/types/src/Paginator/PageControl.d.ts +1 -1
  386. package/types/src/Paginator/PageSelect.d.ts +1 -1
  387. package/types/src/Paginator/PageSeparator.d.ts +2 -1
  388. package/types/src/Paginator/Paginator.d.ts +1 -1
  389. package/types/src/Paginator/docs/examples/Basic.d.ts +2 -1
  390. package/types/src/Paginator/docs/examples/Compact.d.ts +2 -1
  391. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +2 -1
  392. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +2 -1
  393. package/types/src/Paginator/docs/examples/CustomPages.d.ts +2 -1
  394. package/types/src/Paginator/docs/examples/Labelled.d.ts +2 -1
  395. package/types/src/Paginator/docs/examples/PageControl.d.ts +2 -1
  396. package/types/src/Paragraph/Paragraph.d.ts +3 -1
  397. package/types/src/Paragraph/docs/examples/Basic.d.ts +2 -1
  398. package/types/src/Paragraph/index.d.ts +1 -0
  399. package/types/src/Popover/Popover.d.ts +38 -69
  400. package/types/src/Popover/PopoverProvider.d.ts +1 -1
  401. package/types/src/Popover/docs/examples/Basic.d.ts +2 -1
  402. package/types/src/Popover/getPlacement.d.ts +1 -1
  403. package/types/src/Progress/Progress.d.ts +3 -4
  404. package/types/src/Progress/docs/examples/Basic.d.ts +2 -1
  405. package/types/src/Progress/docs/examples/Type.d.ts +2 -1
  406. package/types/src/Prose/Prose.d.ts +29 -0
  407. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  408. package/types/src/Prose/docs/examples/Customize.d.ts +3 -0
  409. package/types/src/Prose/index.d.ts +2 -0
  410. package/types/src/Prose/test/Prose.unit.d.ts +1 -0
  411. package/types/src/RadioBar/Option.d.ts +2 -18
  412. package/types/src/RadioBar/RadioBar.d.ts +22 -39
  413. package/types/src/RadioBar/RadioBarContext.d.ts +0 -1
  414. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +2 -1
  415. package/types/src/RadioBar/docs/examples/Basic.d.ts +2 -1
  416. package/types/src/RadioBar/docs/examples/Disabled.d.ts +2 -1
  417. package/types/src/RadioBar/docs/examples/Error.d.ts +2 -1
  418. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -1
  419. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +2 -1
  420. package/types/src/RadioList/Option.d.ts +1 -1
  421. package/types/src/RadioList/RadioList.d.ts +5 -2
  422. package/types/src/RadioList/docs/examples/Basic.d.ts +2 -1
  423. package/types/src/RadioList/docs/examples/Disabled.d.ts +2 -1
  424. package/types/src/RadioList/docs/examples/Error.d.ts +2 -1
  425. package/types/src/RadioList/docs/examples/Row.d.ts +2 -1
  426. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +2 -1
  427. package/types/src/Resize/Resize.d.ts +15 -23
  428. package/types/src/Resize/docs/examples/Appearance.d.ts +2 -1
  429. package/types/src/Resize/docs/examples/Basic.d.ts +2 -1
  430. package/types/src/Resize/docs/examples/Percentage.d.ts +2 -1
  431. package/types/src/Resize/docs/examples/SizingInner.d.ts +2 -1
  432. package/types/src/Resize/docs/examples/SizingOuter.d.ts +2 -1
  433. package/types/src/ResultsMenu/ResultsMenu.d.ts +1 -1
  434. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
  435. package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +1 -1
  436. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +2 -1
  437. package/types/src/Scroll/Inner.d.ts +1 -1
  438. package/types/src/Scroll/Scroll.d.ts +37 -27
  439. package/types/src/Scroll/docs/examples/Controlled.d.ts +2 -2
  440. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +2 -1
  441. package/types/src/ScrollContainerContext/docs/examples/Consumer.d.ts +2 -1
  442. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +2 -1
  443. package/types/src/Search/Option.d.ts +32 -32
  444. package/types/src/Search/Search.d.ts +4 -4
  445. package/types/src/Search/docs/examples/Controlled.d.ts +2 -1
  446. package/types/src/Search/docs/examples/Loading.d.ts +2 -1
  447. package/types/src/Search/docs/examples/Options.d.ts +2 -1
  448. package/types/src/Search/docs/examples/OptionsLinks.d.ts +2 -1
  449. package/types/src/Search/docs/examples/Results.d.ts +2 -1
  450. package/types/src/Select/Option.d.ts +8 -21
  451. package/types/src/Select/OptionBase.d.ts +3 -8
  452. package/types/src/Select/Select.d.ts +62 -22
  453. package/types/src/Select/SelectAllOption.d.ts +1 -1
  454. package/types/src/Select/SelectBase.d.ts +4 -7
  455. package/types/src/Select/docs/examples/Appearance.d.ts +2 -1
  456. package/types/src/Select/docs/examples/Basic.d.ts +2 -1
  457. package/types/src/Select/docs/examples/Children.d.ts +2 -1
  458. package/types/src/Select/docs/examples/Descriptions.d.ts +2 -1
  459. package/types/src/Select/docs/examples/Error.d.ts +2 -1
  460. package/types/src/Select/docs/examples/Fetching.d.ts +2 -1
  461. package/types/src/Select/docs/examples/Filter.d.ts +2 -1
  462. package/types/src/Select/docs/examples/Headings.d.ts +2 -1
  463. package/types/src/Select/docs/examples/Icons.d.ts +2 -1
  464. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
  465. package/types/src/Select/docs/examples/Prefix.d.ts +2 -1
  466. package/types/src/Select/docs/examples/Truncate.d.ts +2 -1
  467. package/types/src/Select/docs/examples/Uncontrolled.d.ts +2 -1
  468. package/types/src/SidePanel/SidePanel.d.ts +18 -16
  469. package/types/src/SidePanel/docs/examples/Basic.d.ts +2 -1
  470. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +2 -1
  471. package/types/src/SidePanel/docs/examples/Composition.d.ts +2 -1
  472. package/types/src/Slider/Slider.d.ts +32 -46
  473. package/types/src/Slider/docs/examples/Basic.d.ts +2 -1
  474. package/types/src/Slider/docs/examples/Controlled.d.ts +2 -2
  475. package/types/src/Slider/docs/examples/CustomLabels.d.ts +2 -2
  476. package/types/src/Slider/docs/examples/Disabled.d.ts +2 -1
  477. package/types/src/Slider/docs/examples/Error.d.ts +2 -1
  478. package/types/src/Slider/docs/examples/StepMarks.d.ts +2 -1
  479. package/types/src/SlidingPanels/Panel.d.ts +23 -20
  480. package/types/src/SlidingPanels/SlidingPanels.d.ts +18 -25
  481. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +2 -2
  482. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +2 -2
  483. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +2 -1
  484. package/types/src/SplitButton/Item.d.ts +2 -2
  485. package/types/src/SplitButton/SplitButton.d.ts +1 -1
  486. package/types/src/SplitButton/docs/examples/Basic.d.ts +2 -1
  487. package/types/src/SplitButton/docs/examples/Block.d.ts +2 -1
  488. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +2 -1
  489. package/types/src/SplitButton/docs/examples/Disabled.d.ts +2 -1
  490. package/types/src/StaticContent/StaticContent.d.ts +1 -8
  491. package/types/src/StaticContent/docs/examples/Basic.d.ts +2 -1
  492. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +2 -1
  493. package/types/src/StepBar/Step.d.ts +1 -1
  494. package/types/src/StepBar/StepBar.d.ts +2 -3
  495. package/types/src/StepBar/docs/examples/Basic.d.ts +2 -1
  496. package/types/src/StepBar/docs/examples/Error.d.ts +2 -1
  497. package/types/src/StepBar/types.d.ts +2 -0
  498. package/types/src/Switch/Switch.d.ts +37 -23
  499. package/types/src/Switch/docs/examples/Basic.d.ts +2 -2
  500. package/types/src/Switch/docs/examples/Disabled.d.ts +2 -2
  501. package/types/src/Switch/docs/examples/Error.d.ts +2 -1
  502. package/types/src/TabBar/Tab.d.ts +37 -44
  503. package/types/src/TabBar/TabBar.d.ts +21 -22
  504. package/types/src/TabBar/TabBarContext.d.ts +3 -5
  505. package/types/src/TabBar/docs/examples/Basic.d.ts +2 -1
  506. package/types/src/TabBar/docs/examples/Disabled.d.ts +2 -1
  507. package/types/src/TabBar/docs/examples/IconsAbove.d.ts +2 -1
  508. package/types/src/TabBar/docs/examples/IconsLeft.d.ts +2 -1
  509. package/types/src/TabBar/docs/examples/Tooltips.d.ts +2 -1
  510. package/types/src/TabBar/docs/examples/Vertical.d.ts +2 -1
  511. package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +2 -1
  512. package/types/src/TabBar/docs/examples/VerticalIconsLeft.d.ts +2 -1
  513. package/types/src/TabBar/docs/examples/WithCount.d.ts +2 -1
  514. package/types/src/TabLayout/Panel.d.ts +6 -1
  515. package/types/src/TabLayout/TabLayout.d.ts +18 -31
  516. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +2 -1
  517. package/types/src/TabLayout/docs/examples/Controlled.d.ts +2 -1
  518. package/types/src/TabLayout/docs/examples/Icons.d.ts +2 -1
  519. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +2 -1
  520. package/types/src/TabLayout/docs/examples/Vertical.d.ts +2 -1
  521. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +2 -1
  522. package/types/src/Table/Body.d.ts +6 -13
  523. package/types/src/Table/Caption.d.ts +1 -1
  524. package/types/src/Table/Cell.d.ts +40 -18
  525. package/types/src/Table/ExpandButton.d.ts +9 -3
  526. package/types/src/Table/Head.d.ts +40 -40
  527. package/types/src/Table/HeadCell.d.ts +49 -23
  528. package/types/src/Table/HeadDropdownCell.d.ts +58 -51
  529. package/types/src/Table/HeadInner.d.ts +1 -3
  530. package/types/src/Table/HeadTable.d.ts +23 -12
  531. package/types/src/Table/Row.d.ts +7 -14
  532. package/types/src/Table/RowDragCell.d.ts +2 -1
  533. package/types/src/Table/Table.d.ts +13 -19
  534. package/types/src/Table/Toggle.d.ts +1 -3
  535. package/types/src/Table/docs/examples/Basic.d.ts +2 -1
  536. package/types/src/Table/docs/examples/Click.d.ts +2 -1
  537. package/types/src/Table/docs/examples/ClickRows.d.ts +2 -1
  538. package/types/src/Table/docs/examples/Complex.d.ts +2 -1
  539. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +2 -1
  540. package/types/src/Table/docs/examples/ExpandableRows.d.ts +2 -1
  541. package/types/src/Table/docs/examples/ExpandableRowsControlled.d.ts +2 -1
  542. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +2 -1
  543. package/types/src/Table/docs/examples/FixedHeader.d.ts +2 -1
  544. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +2 -1
  545. package/types/src/Table/docs/examples/ReorderColumns.d.ts +2 -1
  546. package/types/src/Table/docs/examples/ReorderRows.d.ts +2 -1
  547. package/types/src/Table/docs/examples/Resizable.d.ts +2 -1
  548. package/types/src/Table/docs/examples/ResizableFill.d.ts +2 -1
  549. package/types/src/Table/docs/examples/RowActions.d.ts +2 -1
  550. package/types/src/Table/docs/examples/Selectable.d.ts +2 -1
  551. package/types/src/Table/docs/examples/SortableColumns.d.ts +2 -1
  552. package/types/src/Table/docs/examples/StripeRows.d.ts +2 -1
  553. package/types/src/Table/docs/examples/prisma/DockedHeaderScrollbar.d.ts +2 -1
  554. package/types/src/Text/IconOutlinedHide.d.ts +2 -1
  555. package/types/src/Text/IconOutlinedView.d.ts +2 -1
  556. package/types/src/Text/Text.d.ts +62 -112
  557. package/types/src/Text/docs/examples/Basic.d.ts +2 -1
  558. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +2 -1
  559. package/types/src/Text/docs/examples/Dimmed.d.ts +2 -1
  560. package/types/src/Text/docs/examples/Disabled.d.ts +2 -1
  561. package/types/src/Text/docs/examples/Error.d.ts +2 -1
  562. package/types/src/Text/docs/examples/Inline.d.ts +2 -1
  563. package/types/src/Text/docs/examples/Password.d.ts +2 -1
  564. package/types/src/Text/docs/examples/Uncontrolled.d.ts +2 -1
  565. package/types/src/TextArea/TextArea.d.ts +49 -87
  566. package/types/src/TextArea/docs/examples/Basic.d.ts +2 -1
  567. package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -1
  568. package/types/src/TextArea/docs/examples/Error.d.ts +2 -1
  569. package/types/src/TextArea/docs/examples/Inline.d.ts +2 -1
  570. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -1
  571. package/types/src/TextArea/syncHeightWithShadow.d.ts +1 -1
  572. package/types/src/Tooltip/InfoIcon.d.ts +2 -1
  573. package/types/src/Tooltip/Tooltip.d.ts +9 -3
  574. package/types/src/Tooltip/docs/examples/Basic.d.ts +2 -1
  575. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +2 -1
  576. package/types/src/Tooltip/docs/examples/Controlled.d.ts +2 -2
  577. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +2 -1
  578. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +2 -1
  579. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +2 -1
  580. package/types/src/TransitionOpen/TransitionOpen.d.ts +23 -25
  581. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +2 -1
  582. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +2 -1
  583. package/types/src/TransitionOpen/docs/examples/None.d.ts +2 -1
  584. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +2 -1
  585. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +2 -1
  586. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +2 -1
  587. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +2 -1
  588. package/types/src/Tree/Tree.d.ts +1 -1
  589. package/types/src/Tree/TreeItem.d.ts +1 -1
  590. package/types/src/Typography/Typography.d.ts +10 -19
  591. package/types/src/Typography/docs/examples/Basic.d.ts +2 -1
  592. package/types/src/WaitSpinner/WaitSpinner.d.ts +2 -3
  593. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +2 -1
  594. package/types/src/utils/types.d.ts +1 -0
  595. package/Concertina.d.ts +0 -2
  596. package/Concertina.js +0 -963
  597. package/types/src/Accordion/docs/examples/FixedHeight.d.ts +0 -2
  598. package/types/src/Accordion/docs/examples/InDropdown.d.ts +0 -2
  599. package/types/src/Button/docs/examples/Dimmed.d.ts +0 -2
  600. package/types/src/Button/icons/CaretSmallDown.d.ts +0 -2
  601. package/types/src/Button/icons/External.d.ts +0 -2
  602. package/types/src/Clickable/docs/examples/Dimmed.d.ts +0 -2
  603. package/types/src/CloseButton/CloseButton.d.ts +0 -21
  604. package/types/src/CloseButton/index.d.ts +0 -1
  605. package/types/src/CollapsiblePanel/docs/examples/TitleWithActions.d.ts +0 -2
  606. package/types/src/Concertina/Concertina.d.ts +0 -46
  607. package/types/src/Concertina/ConcertinaContext.d.ts +0 -8
  608. package/types/src/Concertina/Heading.d.ts +0 -35
  609. package/types/src/Concertina/Panel.d.ts +0 -59
  610. package/types/src/Concertina/docs/examples/Basic.d.ts +0 -2
  611. package/types/src/Concertina/docs/examples/Disabled.d.ts +0 -9
  612. package/types/src/Concertina/docs/examples/Status.d.ts +0 -2
  613. package/types/src/Concertina/index.d.ts +0 -2
  614. package/types/src/Concertina/types.d.ts +0 -1
  615. package/types/src/ControlGroup/docs/examples/LabelTop.d.ts +0 -2
  616. package/types/src/Link/docs/examples/Inline.d.ts +0 -2
  617. package/types/src/Message/Link.d.ts +0 -37
  618. package/types/src/Number/IncrementIcon.d.ts +0 -2
  619. package/types/src/Paginator/icons/ChevronLeft.d.ts +0 -5
  620. package/types/src/Paginator/icons/ChevronRight.d.ts +0 -5
  621. package/types/src/RadioList/docs/examples/Composing.d.ts +0 -2
  622. package/types/src/Select/icons/CaretSmallDown.d.ts +0 -2
  623. package/types/src/Select/icons/Search.d.ts +0 -2
  624. package/types/src/Switch/CheckIcon.d.ts +0 -1
  625. package/types/src/Table/DragHandle.d.ts +0 -12
  626. package/types/src/Table/icons/HeadExpandRows.d.ts +0 -1
  627. package/types/src/Text/docs/examples/Multiline.d.ts +0 -2
  628. package/types/src/Text/docs/examples/Search.d.ts +0 -2
  629. package/types/src/TextArea/docs/examples/ClearContent.d.ts +0 -2
  630. package/types/src/TextArea/icons/ClearButton.d.ts +0 -3
  631. package/types/src/TextArea/icons/SearchIcon.d.ts +0 -1
package/ResultsMenu.js CHANGED
@@ -180,8 +180,8 @@
180
180
  r.r(n);
181
181
  // EXPORTS
182
182
  r.d(n, {
183
- VirtualizedResultsMenu: () => /* reexport */ Fe,
184
- default: () => /* reexport */ X
183
+ VirtualizedResultsMenu: () => /* reexport */ Le,
184
+ default: () => /* reexport */ Q
185
185
  });
186
186
  // EXTERNAL MODULE: external "react"
187
187
  var e = r(9497);
@@ -198,83 +198,53 @@
198
198
  // CONCATENATED MODULE: external "lodash/omit"
199
199
  const s = require("lodash/omit");
200
200
  var f = r.n(s);
201
- // CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
202
- const d = require("@splunk/ui-utils/i18n");
203
- // CONCATENATED MODULE: external "@splunk/ui-utils/userAgent"
204
- const v = require("@splunk/ui-utils/userAgent");
201
+ // CONCATENATED MODULE: external "@splunk/react-ui/Divider"
202
+ const d = require("@splunk/react-ui/Divider");
203
+ var v = r.n(d);
205
204
  // CONCATENATED MODULE: external "@splunk/react-ui/Menu"
206
205
  const p = require("@splunk/react-ui/Menu");
207
206
  var m = r.n(p);
207
+ // CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
208
+ const y = require("@splunk/ui-utils/i18n");
209
+ // CONCATENATED MODULE: external "@splunk/ui-utils/userAgent"
210
+ const h = require("@splunk/ui-utils/userAgent");
208
211
  // EXTERNAL MODULE: external "styled-components"
209
- var y = r(232);
210
- var b = r.n(y);
212
+ var b = r(232);
213
+ var g = r.n(b);
211
214
  // CONCATENATED MODULE: external "@splunk/react-ui/WaitSpinner"
212
- const h = require("@splunk/react-ui/WaitSpinner");
213
- var g = r.n(h);
215
+ const S = require("@splunk/react-ui/WaitSpinner");
216
+ var E = r.n(S);
214
217
  // EXTERNAL MODULE: external "@splunk/themes"
215
- var S = r(3563);
218
+ var O = r(3563);
216
219
  // CONCATENATED MODULE: ./src/ResultsMenu/ResultsMenuStyles.ts
217
- var E = b().div.withConfig({
218
- displayName: "ResultsMenuStyles__Styled",
220
+ var w = g()(m()).withConfig({
221
+ displayName: "ResultsMenuStyles__StyledMenu",
219
222
  componentId: "avbhl8-0"
220
- })([ "", ";flex-direction:column;max-height:calc(100vh - 20px);", "" ], S.mixins.reset("flex"), (0,
221
- S.pick)({
222
- prisma: (0, y.css)([ "border-radius:", ";background-color:", ";" ], S.variables.borderRadius, S.variables.backgroundColorPopup)
223
- }));
224
- var O = b().div.withConfig({
225
- displayName: "ResultsMenuStyles__StyledFooter",
223
+ })([ "overflow:auto;flex-direction:column;" ]);
224
+ var M = g().div.withConfig({
225
+ displayName: "ResultsMenuStyles__Styled",
226
226
  componentId: "avbhl8-1"
227
- })([ "padding:", ";color:", ";", "" ], (0, S.pick)({
228
- prisma: {
229
- comfortable: "10px 16px",
230
- compact: "6px 16px"
231
- },
232
- enterprise: "6px 10px"
233
- }), (0, S.pick)({
234
- prisma: S.variables.contentColorMuted,
235
- enterprise: S.variables.textGray
236
- }), (function(e) {
237
- var t = e.$placement;
238
- return t === "above" ? (0, S.pick)({
239
- prisma: (0, y.css)([ "border-bottom:1px solid ", ";" ], S.variables.neutral200),
240
- enterprise: (0, y.css)([ "border-bottom:", ";" ], S.variables.border)
241
- }) : (0, S.pick)({
242
- prisma: (0, y.css)([ "border-top:1px solid ", ";" ], S.variables.neutral200),
243
- enterprise: (0, y.css)([ "border-top:", ";" ], S.variables.border)
244
- });
245
- }));
246
- var w = b().li.withConfig({
247
- displayName: "ResultsMenuStyles__StyledLoading",
227
+ })([ "", ";flex-direction:column;max-height:calc(100vh - 20px);border-radius:", ";background-color:", ";& > ", ":not(:first-child){border-start-start-radius:0;border-start-end-radius:0;}& > ", ":not(:last-child){border-end-start-radius:0;border-end-end-radius:0;}" ], O.mixins.reset("flex"), O.variables.borderRadius, O.variables.backgroundColorPopup, w, w);
228
+ var j = g().div.withConfig({
229
+ displayName: "ResultsMenuStyles__StyledFooter",
248
230
  componentId: "avbhl8-2"
249
- })([ "", ";padding:", ";gap:", ";" ], S.mixins.reset("flex"), (0, S.pick)({
250
- prisma: {
251
- comfortable: "10px 16px",
252
- compact: "6px 16px"
253
- },
254
- enterprise: "6px 10px"
255
- }), S.variables.spacingXSmall);
256
- var M = b()(m()).withConfig({
257
- displayName: "ResultsMenuStyles__StyledMenu",
231
+ })([ "padding:", " ", ";color:", ";" ], O.variables.spacingSmall, O.variables.spacingLarge, O.variables.contentColorDefault);
232
+ var P = g().li.withConfig({
233
+ displayName: "ResultsMenuStyles__StyledLoading",
258
234
  componentId: "avbhl8-3"
259
- })([ "overflow:auto;flex-direction:column;", "" ], (function(e) {
260
- var t = e.$removeBottomRadius;
261
- return t && (0, y.css)([ "border-bottom-left-radius:0;border-bottom-right-radius:0;" ]);
262
- }));
263
- var x = b()(m().Item).withConfig({
235
+ })([ "", ";padding:", " ", ";gap:", ";" ], O.mixins.reset("flex"), O.variables.spacingSmall, O.variables.spacingLarge, O.variables.spacingXSmall);
236
+ var T = g()(m().Item).withConfig({
264
237
  displayName: "ResultsMenuStyles__StyledNoOptions",
265
238
  componentId: "avbhl8-4"
266
- })([ "&[disabled],&[aria-disabled='true']{color:", ";}" ], S.variables.contentColorDefault);
267
- var j = b()(g()).withConfig({
239
+ })([ "&[disabled],&[aria-disabled='true']{color:", ";}" ], O.variables.contentColorDefault);
240
+ var R = g()(E()).withConfig({
268
241
  displayName: "ResultsMenuStyles__StyledWait",
269
242
  componentId: "avbhl8-5"
270
243
  })([ "flex:0 0 auto;" ]);
271
- var k = b().div.withConfig({
244
+ var k = g().div.withConfig({
272
245
  displayName: "ResultsMenuStyles__StyledLoadingMessage",
273
246
  componentId: "avbhl8-6"
274
- })([ "flex:1 0 0;color:", ";" ], (0, S.pick)({
275
- prisma: S.variables.contentColorMuted,
276
- enterprise: S.variables.textGray
277
- }));
247
+ })([ "flex:1 0 0;color:", ";" ], O.variables.contentColorDefault);
278
248
  // CONCATENATED MODULE: ./src/utils/updateReactRef.ts
279
249
  /**
280
250
  * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
@@ -282,7 +252,7 @@
282
252
  * @param ref - The React callback or object ref. Can be `null` or `undefined`.
283
253
  * @param current - The new value of the ref.
284
254
  */
285
- function P(e, t) {
255
+ function C(e, t) {
286
256
  if (e) {
287
257
  if (typeof e === "function") {
288
258
  e(t);
@@ -295,18 +265,18 @@
295
265
  }
296
266
  }
297
267
  // EXTERNAL MODULE: ./src/ScreenReaderContent/index.ts + 2 modules
298
- var T = r(6165);
268
+ var x = r(6165);
299
269
  // CONCATENATED MODULE: ./src/ResultsMenu/ResultsMenu.tsx
300
- function R(e) {
270
+ function I(e) {
301
271
  "@babel/helpers - typeof";
302
- return R = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
272
+ return I = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
303
273
  return typeof e;
304
274
  } : function(e) {
305
275
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
306
- }, R(e);
276
+ }, I(e);
307
277
  }
308
- function I() {
309
- return I = Object.assign ? Object.assign.bind() : function(e) {
278
+ function _() {
279
+ return _ = Object.assign ? Object.assign.bind() : function(e) {
310
280
  for (var t = 1; t < arguments.length; t++) {
311
281
  var r = arguments[t];
312
282
  for (var n in r) {
@@ -314,24 +284,24 @@
314
284
  }
315
285
  }
316
286
  return e;
317
- }, I.apply(null, arguments);
287
+ }, _.apply(null, arguments);
318
288
  }
319
- function C(e, t) {
289
+ function L(e, t) {
320
290
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
321
291
  }
322
292
  function A(e, t) {
323
293
  for (var r = 0; r < t.length; r++) {
324
294
  var n = t[r];
325
295
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0),
326
- Object.defineProperty(e, z(n.key), n);
296
+ Object.defineProperty(e, W(n.key), n);
327
297
  }
328
298
  }
329
- function _(e, t, r) {
299
+ function q(e, t, r) {
330
300
  return t && A(e.prototype, t), r && A(e, r), Object.defineProperty(e, "prototype", {
331
301
  writable: !1
332
302
  }), e;
333
303
  }
334
- function L(e, t) {
304
+ function B(e, t) {
335
305
  if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
336
306
  e.prototype = Object.create(t && t.prototype, {
337
307
  constructor: {
@@ -341,69 +311,69 @@
341
311
  }
342
312
  }), Object.defineProperty(e, "prototype", {
343
313
  writable: !1
344
- }), t && B(e, t);
314
+ }), t && D(e, t);
345
315
  }
346
- function B(e, t) {
347
- return B = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
316
+ function D(e, t) {
317
+ return D = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
348
318
  return e.__proto__ = t, e;
349
- }, B(e, t);
319
+ }, D(e, t);
350
320
  }
351
- function q(e) {
352
- var t = H();
321
+ function F(e) {
322
+ var t = z();
353
323
  return function() {
354
- var r, n = D(e);
324
+ var r, n = U(e);
355
325
  if (t) {
356
- var o = D(this).constructor;
326
+ var o = U(this).constructor;
357
327
  r = Reflect.construct(n, arguments, o);
358
328
  } else r = n.apply(this, arguments);
359
329
  return N(this, r);
360
330
  };
361
331
  }
362
332
  function N(e, t) {
363
- if (t && ("object" == R(t) || "function" == typeof t)) return t;
333
+ if (t && ("object" == I(t) || "function" == typeof t)) return t;
364
334
  if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
365
- return F(e);
335
+ return H(e);
366
336
  }
367
- function F(e) {
337
+ function H(e) {
368
338
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
369
339
  return e;
370
340
  }
371
- function H() {
341
+ function z() {
372
342
  try {
373
343
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
374
344
  } catch (e) {}
375
- return (H = function t() {
345
+ return (z = function t() {
376
346
  return !!e;
377
347
  })();
378
348
  }
379
- function D(e) {
380
- return D = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
349
+ function U(e) {
350
+ return U = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
381
351
  return e.__proto__ || Object.getPrototypeOf(e);
382
- }, D(e);
352
+ }, U(e);
383
353
  }
384
- function U(e, t, r) {
385
- return (t = z(t)) in e ? Object.defineProperty(e, t, {
354
+ function V(e, t, r) {
355
+ return (t = W(t)) in e ? Object.defineProperty(e, t, {
386
356
  value: r,
387
357
  enumerable: !0,
388
358
  configurable: !0,
389
359
  writable: !0
390
360
  }) : e[t] = r, e;
391
361
  }
392
- function z(e) {
393
- var t = V(e, "string");
394
- return "symbol" == R(t) ? t : t + "";
362
+ function W(e) {
363
+ var t = K(e, "string");
364
+ return "symbol" == I(t) ? t : t + "";
395
365
  }
396
- function V(e, t) {
397
- if ("object" != R(e) || !e) return e;
366
+ function K(e, t) {
367
+ if ("object" != I(e) || !e) return e;
398
368
  var r = e[Symbol.toPrimitive];
399
369
  if (void 0 !== r) {
400
370
  var n = r.call(e, t || "default");
401
- if ("object" != R(n)) return n;
371
+ if ("object" != I(n)) return n;
402
372
  throw new TypeError("@@toPrimitive must return a primitive value.");
403
373
  }
404
374
  return ("string" === t ? String : Number)(e);
405
375
  }
406
- var $ = {
376
+ var G = {
407
377
  animateLoading: i().bool,
408
378
  children: i().node,
409
379
  childrenStart: i().node,
@@ -418,49 +388,49 @@
418
388
  placement: i().string,
419
389
  menuId: i().string
420
390
  };
421
- var W = {
391
+ var X = {
422
392
  animateLoading: false,
423
393
  isLoading: false,
424
- loadingMessage: (0, d._)("Loading..."),
425
- noOptionsMessage: (0, d._)("No matches")
394
+ loadingMessage: (0, y._)("Loading..."),
395
+ noOptionsMessage: (0, y._)("No matches")
426
396
  };
427
- var K = c()((function(e) {
397
+ var $ = c()((function(e) {
428
398
  return {
429
399
  height: e
430
400
  };
431
401
  }));
432
402
  // @docs-props-type ResultsMenuPropsBase
433
- var G = function(r) {
434
- L(o, r);
435
- var n = q(o);
403
+ var J = function(r) {
404
+ B(o, r);
405
+ var n = F(o);
436
406
  function o(t) {
437
407
  var r;
438
- C(this, o);
408
+ L(this, o);
439
409
  r = n.call(this, t);
440
- U(F(r), "scrollBottomOffset", void 0);
441
- U(F(r), "itemMinHeight", void 0);
442
- U(F(r), "handleMenuMount", (function(e) {
410
+ V(H(r), "scrollBottomOffset", void 0);
411
+ V(H(r), "itemMinHeight", void 0);
412
+ V(H(r), "handleMenuMount", (function(e) {
443
413
  r.setState({
444
414
  menuEl: e
445
415
  });
446
416
  }));
447
- U(F(r), "handleMount", (function(e) {
417
+ V(H(r), "handleMount", (function(e) {
448
418
  r.setState({
449
419
  containerEl: e
450
420
  });
451
- P(r.props.elementRef, e);
421
+ C(r.props.elementRef, e);
452
422
  }));
453
- U(F(r), "handleMouseEnter", (function() {
423
+ V(H(r), "handleMouseEnter", (function() {
454
424
  r.setState({
455
425
  windowTop: document.documentElement.scrollTop
456
426
  });
457
427
  }));
458
- U(F(r), "handleMouseLeave", (function() {
428
+ V(H(r), "handleMouseLeave", (function() {
459
429
  r.setState({
460
430
  windowTop: document.documentElement.scrollTop
461
431
  });
462
432
  }));
463
- U(F(r), "handleScroll", (function(e) {
433
+ V(H(r), "handleScroll", (function(e) {
464
434
  var t, n;
465
435
  if (r.props.onScrollBottom != null) {
466
436
  if (e.target && r.state.menuEl) {
@@ -473,12 +443,12 @@
473
443
  }
474
444
  (t = (n = r.props).onScroll) === null || t === void 0 ? void 0 : t.call(n, e);
475
445
  }));
476
- U(F(r), "handleWheelMenu", (function(e) {
446
+ V(H(r), "handleWheelMenu", (function(e) {
477
447
  // Safety net to ensure window doesn't scroll if menu is scrolled pass the numberOfItemsLoaded at high velocity.
478
448
  e.stopPropagation();
479
449
  document.documentElement.scrollTop = r.state.windowTop;
480
450
  }));
481
- U(F(r), "handleScrollBottomOnFullMenu", (function() {
451
+ V(H(r), "handleScrollBottomOnFullMenu", (function() {
482
452
  var t = e.Children.count(r.props.children);
483
453
  var n = r.state.childrenCount;
484
454
  // If menu is full length, load more items.
@@ -500,7 +470,7 @@
500
470
  });
501
471
  }
502
472
  }));
503
- U(F(r), "createMenuContextValue", (function() {
473
+ V(H(r), "createMenuContextValue", (function() {
504
474
  return {
505
475
  role: "listbox",
506
476
  preventFocus: r.props.focusMode === "never"
@@ -518,12 +488,12 @@
518
488
  r.itemMinHeight = 28;
519
489
  return r;
520
490
  }
521
- _(o, [ {
491
+ q(o, [ {
522
492
  key: "componentDidUpdate",
523
493
  value: function e() {
524
494
  var t, r;
525
495
  var n = this.state, o = n.containerEl, i = n.menuEl;
526
- if (!v.isIE11 || !o || !i) {
496
+ if (!h.isIE11 || !o || !i) {
527
497
  return;
528
498
  }
529
499
  // If onScrollBottom is defined, determine if it should be triggered.
@@ -552,73 +522,73 @@
552
522
  }, {
553
523
  key: "renderFooterMessage",
554
524
  value: function r() {
555
- return this.props.footerMessage && !!e.Children.toArray(this.props.children).length && t().createElement(O, {
556
- $placement: this.props.placement,
525
+ var n = this.props, o = n.children, i = n.footerMessage, a = n.placement;
526
+ var l = !!e.Children.toArray(o).length;
527
+ return i && l && t().createElement(t().Fragment, null, a !== "above" && t().createElement(v(), null), t().createElement(j, {
557
528
  "data-test": "footer-message",
558
529
  key: "footer"
559
- }, this.props.footerMessage);
530
+ }, i), a === "above" && t().createElement(v(), null));
560
531
  }
561
532
  }, {
562
533
  key: "render",
563
534
  value: function r() {
564
- var n = this.props, i = n.animateLoading, a = n.children, u = n.childrenStart, c = n.focusMode, s = n.isLoading, d = n.loadingMessage, v = n.noOptionsMessage, m = n.onScrollBottom, y = n.placement, b = n.style, h = n.tabIndex, g = n.menuId, S = n["aria-multiselectable"];
565
- var O = f()(this.props, l()(o.propTypes));
535
+ var n = this.props, i = n.animateLoading, a = n.children, u = n.childrenStart, c = n.focusMode, s = n.isLoading, d = n.loadingMessage, v = n.noOptionsMessage, m = n.onScrollBottom, y = n.placement, h = n.style, b = n.tabIndex, g = n.menuId, S = n["aria-multiselectable"];
536
+ var E = f()(this.props, l()(o.propTypes));
566
537
  // Assumption: that you cannot be filtered if you are a result
567
- var P = e.Children.toArray(a).filter(e.isValidElement).some((function(e) {
538
+ var O = e.Children.toArray(a).filter(e.isValidElement).some((function(e) {
568
539
  var t = e.type;
569
540
  return !(t.as === "Divider" && t.filterFirst || (t.as === "Divider" || t.as === "Heading") && (t.filterLast || t.filterConsecutive));
570
541
  }));
571
- var R = this.checkFullHeight();
572
- var C = K(this.state.scrollBottomTriggered ? this.state.numberOfItemsLoaded * this.itemMinHeight || 0 : 0);
573
- var A = !P && !!v && !s;
542
+ var j = this.checkFullHeight();
543
+ var C = $(this.state.scrollBottomTriggered ? this.state.numberOfItemsLoaded * this.itemMinHeight || 0 : 0);
544
+ var I = !O && !!v && !s;
574
545
  /* eslint-disable jsx-a11y/aria-role */
575
- return t().createElement(E, I({
546
+ return t().createElement(M, _({
576
547
  "data-test": "results-menu",
577
548
  key: "wrapper",
578
549
  ref: this.handleMount,
579
550
  onWheel: m ? this.handleWheelMenu : undefined,
580
551
  onMouseEnter: m ? this.handleMouseEnter : undefined,
581
552
  onMouseLeave: m ? this.handleMouseLeave : undefined
582
- }, f()(O, "tabIndex", "aria-multiselectable", "menuId"), {
583
- style: b
553
+ }, f()(E, "tabIndex", "aria-multiselectable", "menuId"), {
554
+ style: h
584
555
  }), y !== "above" && u, y === "above" && this.renderFooterMessage(), t().createElement(p.MenuContext.Provider, {
585
556
  value: this.createMenuContextValue()
586
- }, t().createElement(M, {
557
+ }, t().createElement(w, {
587
558
  key: "menu",
588
559
  elementRef: this.handleMenuMount,
589
560
  onScroll: this.handleScroll,
590
561
  stopScrollPropagation: true,
591
- tabIndex: h,
562
+ tabIndex: b,
592
563
  "aria-multiselectable": S,
593
564
  id: g,
594
- focusMode: c,
595
- $removeBottomRadius: !!this.props.footerMessage && y !== "above"
596
- }, A && t().createElement(x, {
565
+ focusMode: c
566
+ }, I && t().createElement(T, {
597
567
  "data-test": "no-results-message",
598
568
  disabled: true
599
- }, v), a, m && !R &&
569
+ }, v), a, m && !j &&
600
570
 
601
571
  // Bottom spacer fills in the space of new items being loaded by using the minimum possible height x menuItems.
602
572
  t().createElement("div", {
603
573
  "data-test": "results-menu-bottom-spacer",
604
574
  style: C
605
- }), s && t().createElement(w, null, i && t().createElement(j, null), t().createElement(k, null, d)))), t().createElement(T["default"], {
575
+ }), s && t().createElement(P, null, i && t().createElement(R, null), t().createElement(k, null, d)))), t().createElement(x["default"], {
606
576
  "aria-live": "polite"
607
- }, A && v), y !== "above" && this.renderFooterMessage(), y === "above" && u);
577
+ }, I && v), y !== "above" && this.renderFooterMessage(), y === "above" && u);
608
578
  }
609
579
  } ]);
610
580
  return o;
611
581
  }(e.Component);
612
- U(G, "propTypes", $);
613
- U(G, "defaultProps", W);
614
- /* harmony default export */ const X = G;
582
+ V(J, "propTypes", G);
583
+ V(J, "defaultProps", X);
584
+ /* harmony default export */ const Q = J;
615
585
  // CONCATENATED MODULE: external "@splunk/ui-utils/keyboard"
616
- const J = require("@splunk/ui-utils/keyboard");
586
+ const Y = require("@splunk/ui-utils/keyboard");
617
587
  // CONCATENATED MODULE: external "@splunk/ui-utils/focus"
618
- const Q = require("@splunk/ui-utils/focus");
588
+ const Z = require("@splunk/ui-utils/focus");
619
589
  // CONCATENATED MODULE: ./src/ResultsMenu/VirtualizedResultsMenu/groupChildren.ts
620
590
  // Cheap(er than processing potentially thousands of array elements) memoization
621
- var Y = {
591
+ var ee = {
622
592
  result: []
623
593
  };
624
594
  /**
@@ -635,18 +605,18 @@
635
605
  * @param {number} groupSize The size of each group to be created
636
606
  * @returns A 2d array where each inner-array is a group of size `groupSize` of children
637
607
  * and the order of the `children` received equals the order of the flattened result
638
- */ var Z = function t(r, n) {
639
- if (Y.children === r && Y.groupSize === n) {
640
- return Y.result;
608
+ */ var te = function t(r, n) {
609
+ if (ee.children === r && ee.groupSize === n) {
610
+ return ee.result;
641
611
  }
642
- Y.children = r;
643
- Y.groupSize = n;
612
+ ee.children = r;
613
+ ee.groupSize = n;
644
614
  if (n <= 1) {
645
615
  if (false) {}
646
616
  // don't break in non-__DEV__ and return one big group
647
- Y.result = [ e.Children.toArray(r) ];
617
+ ee.result = [ e.Children.toArray(r) ];
648
618
  } else {
649
- Y.result = e.Children.toArray(r).reduce((function(e, t, r) {
619
+ ee.result = e.Children.toArray(r).reduce((function(e, t, r) {
650
620
  var o = Math.floor(r / n);
651
621
  if (!Array.isArray(e[o])) {
652
622
  // eslint-disable-next-line no-param-reassign
@@ -656,119 +626,46 @@
656
626
  return e;
657
627
  }), []);
658
628
  }
659
- return Y.result;
629
+ return ee.result;
660
630
  };
661
631
  // CONCATENATED MODULE: external "@splunk/ui-utils/id"
662
- const ee = require("@splunk/ui-utils/id");
663
- // CONCATENATED MODULE: ./src/utils/getMenuChildNode.tsx
664
- // TODO(SUI-5919): fix the ref handling in the other components so this isn't needed
665
- /**
666
- * @private Get the HTML <anchor> or <button> node for a received derivative of Menu.Item
667
- */
668
- var te = function e(t) {
669
- var r, n, o, i;
670
- if (t.el) {
671
- return t.el;
672
- // Menu.Item
673
- }
674
- if ((r = t.c) === null || r === void 0 ? void 0 : r.el) {
675
- return t.c.el;
676
- // Multiselect.Option
677
- }
678
- if ((n = t.c) === null || n === void 0 ? void 0 : (o = n.c) === null || o === void 0 ? void 0 : o.el) {
679
- return t.c.c.el;
680
- // Select.Option
681
- }
682
- if ((i = t.item) === null || i === void 0 ? void 0 : i.el) {
683
- return t.item.el;
684
- // ComboBox.Option
685
- }
686
- return null;
687
- };
632
+ const re = require("@splunk/ui-utils/id");
688
633
  // CONCATENATED MODULE: ./src/ResultsMenu/VirtualizedResultsMenu/VirtualizedItem.ts
689
- function re(e, t) {
690
- return le(e) || ae(e, t) || oe(e, t) || ne();
691
- }
692
- function ne() {
693
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
694
- }
695
- function oe(e, t) {
696
- if (e) {
697
- if ("string" == typeof e) return ie(e, t);
698
- var r = {}.toString.call(e).slice(8, -1);
699
- return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ie(e, t) : void 0;
700
- }
701
- }
702
- function ie(e, t) {
703
- (null == t || t > e.length) && (t = e.length);
704
- for (var r = 0, n = Array(t); r < t; r++) {
705
- n[r] = e[r];
706
- }
707
- return n;
708
- }
709
- function ae(e, t) {
710
- var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
711
- if (null != r) {
712
- var n, o, i, a, l = [], u = !0, c = !1;
713
- try {
714
- if (i = (r = r.call(e)).next, 0 === t) {
715
- if (Object(r) !== r) return;
716
- u = !1;
717
- } else for (;!(u = (n = i.call(r)).done) && (l.push(n.value), l.length !== t); u = !0) {
718
- }
719
- } catch (e) {
720
- c = !0, o = e;
721
- } finally {
722
- try {
723
- if (!u && null != r["return"] && (a = r["return"](), Object(a) !== a)) return;
724
- } finally {
725
- if (c) throw o;
726
- }
727
- }
728
- return l;
729
- }
730
- }
731
- function le(e) {
732
- if (Array.isArray(e)) return e;
733
- }
734
634
  // This wrapper should only be used with Menu.Item/derivatives thereof, so omitting Heading/Divider is fine
735
- var ue = {
635
+ var ne = {
736
636
  children: i().node,
737
637
  onMount: i().func.isRequired,
738
638
  onUnmount: i().func.isRequired
739
639
  };
740
- /** @private Used by `VirtualizedResultsMenu` */ var ce = t().forwardRef((function(t, r) {
640
+ /** @private Used by `VirtualizedResultsMenu` */ var oe = t().forwardRef((function(t, r) {
741
641
  var n = t.children, o = t.onMount, i = t.onUnmount;
742
- var a = (0, e.useState)(), l = re(a, 2), u = l[0], c = l[1];
642
+ var a = (0, e.useRef)(null);
743
643
  (0, e.useEffect)((function() {
744
- if (u) {
745
- o(u);
644
+ var e = a.current;
645
+ if (e) {
646
+ o(e);
746
647
  }
747
648
  return function() {
748
- if (u) {
749
- i(u);
649
+ if (e) {
650
+ i(e);
750
651
  }
751
652
  };
752
- }), [ u, o, i ]);
753
- var s = e.Children.only(n);
754
- if (!s) {
653
+ }), [ o, i ]);
654
+ var l = e.Children.only(n);
655
+ if (!l) {
755
656
  if (false) {}
756
657
  return null;
757
658
  }
758
659
 
759
- return (0, e.cloneElement)(s, {
760
- ref: function e(t) {
761
- var n = t;
762
- if (!n) {
763
- return;
764
- }
765
- P(r, t);
766
- P(c, te(n));
660
+ return (0, e.cloneElement)(l, {
661
+ elementRef: function e(t) {
662
+ a.current = t;
663
+ C(r, t);
767
664
  }
768
665
  });
769
666
  }));
770
- ce.propTypes = ue;
771
- ce.as = "Item";
667
+ oe.propTypes = ne;
668
+ oe.as = "Item";
772
669
  // CONCATENATED MODULE: ./src/ResultsMenu/VirtualizedResultsMenu/injectVirtualizedItem.tsx
773
670
  /**
774
671
  * Find the index of an array element which is nearest to targetIndex and is a Menu.Item component
@@ -776,7 +673,7 @@
776
673
  * @param {Number} targetIndex The target index. This is the ideal value to return.
777
674
  * @returns The index in the array of the nearest `Menu.Item` component to `targetIndex`, or -1 if no element is a `Menu.Item` component
778
675
  */
779
- var se = function e(t, r) {
676
+ var ie = function e(t, r) {
780
677
  var n = -1;
781
678
  var o = -1;
782
679
  t.forEach((function(e, t) {
@@ -796,19 +693,19 @@
796
693
  * with a VirtualizedItem instance.
797
694
  * - If `trackFirstElement` the **FIRST** non-divider/heading item will also be replaced.
798
695
  * - If `trackLastElement` the **LAST** non-divider/heading item will also be replaced.
799
- */ var fe = function e(r, n, o) {
696
+ */ var ae = function e(r, n, o) {
800
697
  var i = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}, a = i.trackFirstElement, l = i.trackLastElement;
801
698
  if (!Array.isArray(r)) {
802
699
  return [];
803
700
  }
804
- var u = se(r, Math.floor(r.length / 2));
805
- var c = a && se(r, 0);
806
- var s = l && se(r, r.length - 1);
701
+ var u = ie(r, Math.floor(r.length / 2));
702
+ var c = a && ie(r, 0);
703
+ var s = l && ie(r, r.length - 1);
807
704
  return r.map((function(e, r) {
808
705
  if (r === u || r === c || r === s) {
809
706
 
810
- return t().createElement(ce, {
811
- key: (0, ee.createGUID)(),
707
+ return t().createElement(oe, {
708
+ key: (0, re.createGUID)(),
812
709
  onMount: n,
813
710
  onUnmount: o
814
711
  }, e);
@@ -817,16 +714,16 @@
817
714
  }));
818
715
  };
819
716
  // CONCATENATED MODULE: ./src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.tsx
820
- function de(e) {
717
+ function le(e) {
821
718
  "@babel/helpers - typeof";
822
- return de = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
719
+ return le = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
823
720
  return typeof e;
824
721
  } : function(e) {
825
722
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
826
- }, de(e);
723
+ }, le(e);
827
724
  }
828
- function ve() {
829
- return ve = Object.assign ? Object.assign.bind() : function(e) {
725
+ function ue() {
726
+ return ue = Object.assign ? Object.assign.bind() : function(e) {
830
727
  for (var t = 1; t < arguments.length; t++) {
831
728
  var r = arguments[t];
832
729
  for (var n in r) {
@@ -834,41 +731,41 @@
834
731
  }
835
732
  }
836
733
  return e;
837
- }, ve.apply(null, arguments);
734
+ }, ue.apply(null, arguments);
838
735
  }
839
- function pe(e) {
840
- return be(e) || ye(e) || Se(e) || me();
736
+ function ce(e) {
737
+ return de(e) || fe(e) || me(e) || se();
841
738
  }
842
- function me() {
739
+ function se() {
843
740
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
844
741
  }
845
- function ye(e) {
742
+ function fe(e) {
846
743
  if ("undefined" != typeof Symbol && null != e[Symbol.iterator] || null != e["@@iterator"]) return Array.from(e);
847
744
  }
848
- function be(e) {
849
- if (Array.isArray(e)) return Ee(e);
745
+ function de(e) {
746
+ if (Array.isArray(e)) return ye(e);
850
747
  }
851
- function he(e, t) {
852
- return we(e) || Oe(e, t) || Se(e, t) || ge();
748
+ function ve(e, t) {
749
+ return be(e) || he(e, t) || me(e, t) || pe();
853
750
  }
854
- function ge() {
751
+ function pe() {
855
752
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
856
753
  }
857
- function Se(e, t) {
754
+ function me(e, t) {
858
755
  if (e) {
859
- if ("string" == typeof e) return Ee(e, t);
756
+ if ("string" == typeof e) return ye(e, t);
860
757
  var r = {}.toString.call(e).slice(8, -1);
861
- return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ee(e, t) : void 0;
758
+ return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? ye(e, t) : void 0;
862
759
  }
863
760
  }
864
- function Ee(e, t) {
761
+ function ye(e, t) {
865
762
  (null == t || t > e.length) && (t = e.length);
866
763
  for (var r = 0, n = Array(t); r < t; r++) {
867
764
  n[r] = e[r];
868
765
  }
869
766
  return n;
870
767
  }
871
- function Oe(e, t) {
768
+ function he(e, t) {
872
769
  var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
873
770
  if (null != r) {
874
771
  var n, o, i, a, l = [], u = !0, c = !1;
@@ -890,12 +787,12 @@
890
787
  return l;
891
788
  }
892
789
  }
893
- function we(e) {
790
+ function be(e) {
894
791
  if (Array.isArray(e)) return e;
895
792
  }
896
- function Me(e, t) {
793
+ function ge(e, t) {
897
794
  if (null == e) return {};
898
- var r, n, o = xe(e, t);
795
+ var r, n, o = Se(e, t);
899
796
  if (Object.getOwnPropertySymbols) {
900
797
  var i = Object.getOwnPropertySymbols(e);
901
798
  for (n = 0; n < i.length; n++) {
@@ -904,7 +801,7 @@
904
801
  }
905
802
  return o;
906
803
  }
907
- function xe(e, t) {
804
+ function Se(e, t) {
908
805
  if (null == e) return {};
909
806
  var r = {};
910
807
  for (var n in e) {
@@ -915,7 +812,7 @@
915
812
  }
916
813
  return r;
917
814
  }
918
- function je(e, t) {
815
+ function Ee(e, t) {
919
816
  var r = Object.keys(e);
920
817
  if (Object.getOwnPropertySymbols) {
921
818
  var n = Object.getOwnPropertySymbols(e);
@@ -925,44 +822,44 @@
925
822
  }
926
823
  return r;
927
824
  }
928
- function ke(e) {
825
+ function Oe(e) {
929
826
  for (var t = 1; t < arguments.length; t++) {
930
827
  var r = null != arguments[t] ? arguments[t] : {};
931
- t % 2 ? je(Object(r), !0).forEach((function(t) {
932
- Pe(e, t, r[t]);
933
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : je(Object(r)).forEach((function(t) {
828
+ t % 2 ? Ee(Object(r), !0).forEach((function(t) {
829
+ we(e, t, r[t]);
830
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ee(Object(r)).forEach((function(t) {
934
831
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
935
832
  }));
936
833
  }
937
834
  return e;
938
835
  }
939
- function Pe(e, t, r) {
940
- return (t = Te(t)) in e ? Object.defineProperty(e, t, {
836
+ function we(e, t, r) {
837
+ return (t = Me(t)) in e ? Object.defineProperty(e, t, {
941
838
  value: r,
942
839
  enumerable: !0,
943
840
  configurable: !0,
944
841
  writable: !0
945
842
  }) : e[t] = r, e;
946
843
  }
947
- function Te(e) {
948
- var t = Re(e, "string");
949
- return "symbol" == de(t) ? t : t + "";
844
+ function Me(e) {
845
+ var t = je(e, "string");
846
+ return "symbol" == le(t) ? t : t + "";
950
847
  }
951
- function Re(e, t) {
952
- if ("object" != de(e) || !e) return e;
848
+ function je(e, t) {
849
+ if ("object" != le(e) || !e) return e;
953
850
  var r = e[Symbol.toPrimitive];
954
851
  if (void 0 !== r) {
955
852
  var n = r.call(e, t || "default");
956
- if ("object" != de(n)) return n;
853
+ if ("object" != le(n)) return n;
957
854
  throw new TypeError("@@toPrimitive must return a primitive value.");
958
855
  }
959
856
  return ("string" === t ? String : Number)(e);
960
857
  }
961
858
  // TODO(SUI-5920): add transitions to this component in React 18
962
- var Ie = ke(ke({}, f()($, "onDownKeyPress", "onEndKeyPress", "onHomeKeyPress", "onUpKeyPress")), {}, {
859
+ var Pe = Oe(Oe({}, f()(G, "onDownKeyPress", "onEndKeyPress", "onHomeKeyPress", "onUpKeyPress")), {}, {
963
860
  virtualization: i().number
964
861
  });
965
- var Ce = [];
862
+ var Te = [];
966
863
  /**
967
864
  * A wrapper for `ResultsMenu` which virtualizes the `children`. The received `children` array will be split into **"panes"** each with `virtualization` entries
968
865
  * and, at any given time, 3 or fewer of these panes will be rendered in the DOM.
@@ -981,19 +878,19 @@
981
878
  * @throws in `__DEV__` when `virtualization` is too small as compared to the menu height (`virtualization` must be greater than the number of visible items in the rendered menu)
982
879
  * @throws in `__DEV__` when `virtualization` is less than or equal to 1 (`virtualization` must be ≥ 2)
983
880
  * @throws in `__DEV__` when `virtualization` is changed during the lifecycle of the `VirtualizedResultsMenu` component
984
- */ function Ae(r) {
985
- var n = r.virtualization, o = n === void 0 ? 2 : n, i = r.elementRef, a = r.children, l = r.focusMode, u = l === void 0 ? "normal" : l, c = Me(r, [ "virtualization", "elementRef", "children", "focusMode" ]);
881
+ */ function Re(r) {
882
+ var n = r.virtualization, o = n === void 0 ? 2 : n, i = r.elementRef, a = r.children, l = r.focusMode, u = l === void 0 ? "normal" : l, c = ge(r, [ "virtualization", "elementRef", "children", "focusMode" ]);
986
883
  // @docs-props-type VirtualizedResultsMenuPropsBase
987
884
  var s = (0, e.useRef)(o);
988
885
  // If a user tries to set virtualization to a value smaller than the number of options
989
886
  // visible at a given moment then the menu will flicker endlessly. This state is set in
990
887
  // the IntersectionObserver to fix the issue, but in `__DEV__` an error is thrown.
991
- var f = (0, e.useState)(o), d = he(f, 2), v = d[0], p = d[1];
888
+ var f = (0, e.useState)(o), d = ve(f, 2), v = d[0], p = d[1];
992
889
  // these refs keep track of whether we need to focus the first/last
993
890
  // element after the next render
994
891
  var m = (0, e.useRef)(false);
995
892
  var y = (0, e.useRef)(false);
996
- var b = (0, e.useRef)(a);
893
+ var h = (0, e.useRef)(a);
997
894
  // this code makes the "home" and "end" keys work by injecting
998
895
  // an elementRef callback function into the first and last item
999
896
  // that will attempt to focus the first/last item if appropriate
@@ -1001,9 +898,9 @@
1001
898
  // the new pane won't be in the DOM yet, so the wrong element will end up focused
1002
899
  (0, e.useMemo)((function() {
1003
900
  var t = e.Children.toArray(a);
1004
- var r = se(t, 0);
1005
- var n = se(t, t.length - 1);
1006
- b.current = t.map((function(t, o) {
901
+ var r = ie(t, 0);
902
+ var n = ie(t, t.length - 1);
903
+ h.current = t.map((function(t, o) {
1007
904
  var i = t;
1008
905
  if (o === r) {
1009
906
  i = (0, e.isValidElement)(t) ? (0, e.cloneElement)(t, {
@@ -1027,15 +924,15 @@
1027
924
  return i;
1028
925
  }));
1029
926
  }), [ a ]);
1030
- var h = b.current;
927
+ var b = h.current;
1031
928
  (0, e.useEffect)((function() {
1032
929
  if (false) {}
1033
930
  }), [ o ]);
1034
931
  // `useRef` will recompute its initial value every render cycle.
1035
932
  // To avoid the array processing we can provide an initialization function to useState and init the ref with the result
1036
933
  var g = (0, e.useState)((function() {
1037
- return Z(h, v);
1038
- })), S = he(g, 1), E = S[0];
934
+ return te(b, v);
935
+ })), S = ve(g, 1), E = S[0];
1039
936
  // NOSONAR
1040
937
  // `windowPanes` is an array of arrays, each of length `virtualization`. Each "pane" is just a subset of
1041
938
  // `children` which will be rendered in a chunk, and at most 3 of these panes will render at any given time.
@@ -1044,10 +941,10 @@
1044
941
  var M = (0, e.useRef)(null);
1045
942
  // An IntersectionObserver is used to detect when pane changes are needed.
1046
943
  // When loadPrevPaneRef or loadNextPaneRef entries intersect the menu, the currentPaneId will be updated.
1047
- var x = (0, e.useRef)();
1048
- var j = (0, e.useRef)(Ce);
1049
- var k = (0, e.useRef)(Ce);
1050
- var T = (0, e.useCallback)((function() {
944
+ var j = (0, e.useRef)();
945
+ var P = (0, e.useRef)(Te);
946
+ var T = (0, e.useRef)(Te);
947
+ var R = (0, e.useCallback)((function() {
1051
948
  var e;
1052
949
  var t = O.current, r = t === void 0 ? [] : t;
1053
950
  var n = w.current;
@@ -1061,7 +958,7 @@
1061
958
  return;
1062
959
  }
1063
960
  t.current.push(e);
1064
- (r = x.current) === null || r === void 0 ? void 0 : r.observe(e);
961
+ (r = j.current) === null || r === void 0 ? void 0 : r.observe(e);
1065
962
  };
1066
963
  };
1067
964
  /**
@@ -1071,46 +968,46 @@
1071
968
  if (!t) {
1072
969
  return;
1073
970
  }
1074
- var n = k.current.indexOf(t);
971
+ var n = T.current.indexOf(t);
1075
972
  if (n >= 0) {
1076
- k.current.splice(n, 1);
973
+ T.current.splice(n, 1);
1077
974
  }
1078
- var o = j.current.indexOf(t);
975
+ var o = P.current.indexOf(t);
1079
976
  if (o) {
1080
- j.current.splice(o, 1);
977
+ P.current.splice(o, 1);
1081
978
  }
1082
- (r = x.current) === null || r === void 0 ? void 0 : r.unobserve(t);
979
+ (r = j.current) === null || r === void 0 ? void 0 : r.unobserve(t);
1083
980
  };
1084
- return [].concat(pe(fe(r[n - 1], o(k), i, {
981
+ return [].concat(ce(ae(r[n - 1], o(T), i, {
1085
982
  trackFirstElement: true
1086
- })), pe((e = r[n]) !== null && e !== void 0 ? e : []), pe(fe(r[n + 1], o(j), i, {
983
+ })), ce((e = r[n]) !== null && e !== void 0 ? e : []), ce(ae(r[n + 1], o(P), i, {
1087
984
  trackLastElement: true
1088
985
  })));
1089
986
  }), []);
1090
- var R = (0, e.useState)(T), I = he(R, 2), C = I[0], A = I[1];
1091
- var _ = (0, e.useCallback)((function(e) {
987
+ var k = (0, e.useState)(R), x = ve(k, 2), I = x[0], _ = x[1];
988
+ var L = (0, e.useCallback)((function(e) {
1092
989
  var t = w.current;
1093
990
  w.current = Math.max(0, Math.min(e, O.current.length - 1));
1094
991
  if (t === w.current) {
1095
992
  // no change in current pane
1096
993
  return;
1097
994
  }
1098
- A(T);
1099
- }), [ T ]);
995
+ _(R);
996
+ }), [ R ]);
1100
997
  // Link an IntersectionObserver instance with the menu children to be observed
1101
- var L = (0, e.useCallback)((function(e) {
998
+ var A = (0, e.useCallback)((function(e) {
1102
999
  var t;
1103
- P(i, e);
1000
+ C(i, e);
1104
1001
  M.current = e;
1105
1002
  // This is overly defensive and could probably be removed
1106
- (t = x.current) === null || t === void 0 ? void 0 : t.disconnect();
1003
+ (t = j.current) === null || t === void 0 ? void 0 : t.disconnect();
1107
1004
  if (!e) {
1108
1005
  return;
1109
1006
  }
1110
- k.current = [];
1111
- j.current = [];
1007
+ T.current = [];
1008
+ P.current = [];
1112
1009
  // Run the observation flow
1113
- x.current = new IntersectionObserver((function(t) {
1010
+ j.current = new IntersectionObserver((function(t) {
1114
1011
  var r;
1115
1012
  var n = w.current;
1116
1013
  var o = e.firstElementChild;
@@ -1135,31 +1032,31 @@
1135
1032
  // don't process if the pane changed or the entry isn't intersecting
1136
1033
  return;
1137
1034
  }
1138
- if (k.current.includes(e.target)) {
1035
+ if (T.current.includes(e.target)) {
1139
1036
  a = true;
1140
- _(n - 1);
1141
- } else if (j.current.includes(e.target)) {
1037
+ L(n - 1);
1038
+ } else if (P.current.includes(e.target)) {
1142
1039
  a = true;
1143
- _(n + 1);
1040
+ L(n + 1);
1144
1041
  }
1145
1042
  }));
1146
1043
  }), {
1147
1044
  root: e
1148
1045
  });
1149
- }), [ i, _ ]);
1150
- var B = (0, e.useCallback)((function(e) {
1046
+ }), [ i, L ]);
1047
+ var q = (0, e.useCallback)((function(e) {
1151
1048
  var t = M.current;
1152
1049
  if (!t) {
1153
1050
  return;
1154
1051
  }
1155
1052
  e.preventDefault();
1156
- var r = (0, J.keycode)(e);
1053
+ var r = (0, Y.keycode)(e);
1157
1054
  if (r === "home") {
1158
1055
  var n = w.current === 0;
1159
1056
  if (n) {
1160
1057
  var o;
1161
1058
  // if the first pane is already rendered, find the first element and focus it
1162
- var i = (0, Q.getSortedTabbableElements)(t, {
1059
+ var i = (0, Z.getSortedTabbableElements)(t, {
1163
1060
  ignoreTabIndex: true
1164
1061
  });
1165
1062
  var a = i[0];
@@ -1168,7 +1065,7 @@
1168
1065
  // if it's not rendered, set up focusing it after the next render
1169
1066
  m.current = true;
1170
1067
  // then call changePane() to trigger the render
1171
- _(0);
1068
+ L(0);
1172
1069
  }
1173
1070
  return;
1174
1071
  }
@@ -1178,7 +1075,7 @@
1178
1075
  if (u) {
1179
1076
  var c;
1180
1077
  // if the last pane is already rendered, find the first element and focus it
1181
- var s = (0, Q.getSortedTabbableElements)(t, {
1078
+ var s = (0, Z.getSortedTabbableElements)(t, {
1182
1079
  ignoreTabIndex: true
1183
1080
  });
1184
1081
  var f = s[s.length - 1];
@@ -1187,25 +1084,25 @@
1187
1084
  // if it's not rendered, set up focusing it after the next render
1188
1085
  y.current = true;
1189
1086
  // then call changePane() to trigger the render
1190
- _(l);
1087
+ L(l);
1191
1088
  }
1192
1089
  return;
1193
1090
  }
1194
- var d = (0, Q.getSortedTabbableElements)(t, {
1091
+ var d = (0, Z.getSortedTabbableElements)(t, {
1195
1092
  ignoreTabIndex: true
1196
1093
  });
1197
1094
  var v = (e === null || e === void 0 ? void 0 : e.target) instanceof Element ? e.target : null;
1198
1095
  var p = t === null || t === void 0 ? void 0 : t.querySelector(":focus");
1199
- var b = v || p;
1200
- var h = b ? d.indexOf(b) : -1;
1201
- (0, Q.handleFocus)(r, d, h, {
1096
+ var h = v || p;
1097
+ var b = h ? d.indexOf(h) : -1;
1098
+ (0, Z.handleFocus)(r, d, b, {
1202
1099
  enableLoop: false,
1203
1100
  // VirtualizedResultsMenu does not support looping focus
1204
1101
  orientation: "vertical",
1205
1102
  enableTab: false,
1206
1103
  enableHomeEnd: false
1207
1104
  });
1208
- }), [ _ ]);
1105
+ }), [ L ]);
1209
1106
  (0, e.useEffect)((function() {
1210
1107
  p((function(e) {
1211
1108
  if (false) {}
@@ -1213,13 +1110,13 @@
1213
1110
  }));
1214
1111
  }), [ o ]);
1215
1112
  (0, e.useEffect)((function() {
1216
- O.current = Z(h, v);
1217
- A(T);
1218
- }), [ h, v, T ]);
1113
+ O.current = te(b, v);
1114
+ _(R);
1115
+ }), [ b, v, R ]);
1219
1116
  (0, e.useEffect)((function() {
1220
1117
  return function() {
1221
1118
  var e;
1222
- return (e = x.current) === null || e === void 0 ? void 0 : e.disconnect();
1119
+ return (e = j.current) === null || e === void 0 ? void 0 : e.disconnect();
1223
1120
  };
1224
1121
  }), []);
1225
1122
  (0, e.useEffect)((function() {
@@ -1228,22 +1125,22 @@
1228
1125
  }
1229
1126
  var e = M.current;
1230
1127
  if (e) {
1231
- e.addEventListener("keydown", B);
1128
+ e.addEventListener("keydown", q);
1232
1129
  }
1233
1130
  return function() {
1234
- e === null || e === void 0 ? void 0 : e.removeEventListener("keydown", B);
1131
+ e === null || e === void 0 ? void 0 : e.removeEventListener("keydown", q);
1235
1132
  };
1236
- }), [ B, u ]);
1133
+ }), [ q, u ]);
1237
1134
 
1238
- return t().createElement(X, ve({
1239
- elementRef: L,
1135
+ return t().createElement(Q, ue({
1136
+ elementRef: A,
1240
1137
  focusMode: u
1241
- }, c), C);
1138
+ }, c), I);
1242
1139
  }
1243
- Ae.propTypes = Ie;
1140
+ Re.propTypes = Pe;
1244
1141
  // CONCATENATED MODULE: ./src/utils/ssrDocument.ts
1245
1142
  /* eslint-disable @typescript-eslint/no-empty-function */
1246
- var _e = {
1143
+ var ke = {
1247
1144
  body: {
1248
1145
  appendChild: function e() {
1249
1146
  return [];
@@ -1297,14 +1194,14 @@
1297
1194
  search: ""
1298
1195
  }
1299
1196
  };
1300
- function Le() {
1301
- var e = typeof document !== "undefined" ? document : _e;
1197
+ function Ce() {
1198
+ var e = typeof document !== "undefined" ? document : ke;
1302
1199
  return e;
1303
1200
  }
1304
1201
  // CONCATENATED MODULE: ./src/utils/ssrWindow.ts
1305
1202
  /* eslint-disable @typescript-eslint/no-empty-function */
1306
- var Be = {
1307
- document: _e,
1203
+ var xe = {
1204
+ document: ke,
1308
1205
  navigator: {
1309
1206
  userAgent: ""
1310
1207
  },
@@ -1358,14 +1255,14 @@
1358
1255
  clearTimeout(t);
1359
1256
  }
1360
1257
  };
1361
- function qe() {
1362
- var e = typeof window !== "undefined" ? window : Be;
1258
+ function Ie() {
1259
+ var e = typeof window !== "undefined" ? window : xe;
1363
1260
  return e;
1364
1261
  }
1365
1262
  // CONCATENATED MODULE: ./src/ResultsMenu/VirtualizedResultsMenu/index.ts
1366
1263
  // In environments without IntersectionObserver support this should just export ResultsMenu
1367
- var Ne = "IntersectionObserver" in qe() ? Ae : X;
1368
- /* harmony default export */ const Fe = Ne;
1264
+ var _e = "IntersectionObserver" in Ie() ? Re : Q;
1265
+ /* harmony default export */ const Le = _e;
1369
1266
  }) // CONCATENATED MODULE: ./src/ResultsMenu/index.ts
1370
1267
  ();
1371
1268
  module.exports = n;