@splunk/react-ui 5.1.0 → 5.2.0

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 (408) hide show
  1. package/Accordion.js +60 -39
  2. package/Anchor.js +9 -9
  3. package/Animation.js +2 -2
  4. package/Avatar.js +10 -10
  5. package/Box.js +2 -2
  6. package/Breadcrumbs.js +13 -13
  7. package/Button.js +12 -12
  8. package/ButtonGroup.js +9 -9
  9. package/ButtonSimple.js +2 -2
  10. package/CHANGELOG.md +23 -0
  11. package/Calendar.js +61 -61
  12. package/Card.js +286 -255
  13. package/CardLayout.js +10 -10
  14. package/Chip.js +31 -31
  15. package/Clickable.js +29 -29
  16. package/Code.js +15 -15
  17. package/CollapsiblePanel.js +93 -91
  18. package/Color.js +10 -10
  19. package/ColumnLayout.js +16 -16
  20. package/ComboBox.js +110 -110
  21. package/ControlGroup.js +99 -99
  22. package/Date.js +62 -62
  23. package/DefinitionList.js +124 -104
  24. package/Divider.js +2 -2
  25. package/DualListbox.js +178 -173
  26. package/File.js +22 -22
  27. package/FormRows.js +15 -15
  28. package/Heading.js +15 -15
  29. package/Image.js +31 -31
  30. package/JSONTree.js +492 -476
  31. package/Layer.js +4 -1
  32. package/Layout.js +10 -10
  33. package/Link.js +2 -2
  34. package/List.js +24 -24
  35. package/Markdown.js +102 -102
  36. package/Menu.js +21 -20
  37. package/Message.js +20 -20
  38. package/MessageBar.js +13 -13
  39. package/Modal.js +33 -33
  40. package/Monogram.js +94 -68
  41. package/Multiselect.js +822 -719
  42. package/Number.js +18 -18
  43. package/Paginator.js +39 -39
  44. package/Paragraph.js +10 -10
  45. package/Popover.js +243 -208
  46. package/Progress.js +6 -6
  47. package/Prose.js +16 -16
  48. package/RadioBar.js +118 -118
  49. package/RadioList.js +137 -113
  50. package/Resize.js +20 -20
  51. package/ResultsMenu.js +48 -48
  52. package/ScreenReaderContent.js +13 -13
  53. package/Scroll.js +24 -24
  54. package/Search.js +25 -25
  55. package/Select.js +941 -838
  56. package/SidePanel.js +29 -29
  57. package/Slider.js +30 -30
  58. package/SlidingPanels.js +28 -28
  59. package/SplitButton.js +100 -72
  60. package/StaticContent.js +6 -6
  61. package/StepBar.js +8 -8
  62. package/Switch.js +2 -2
  63. package/TabBar.js +293 -270
  64. package/TabLayout.js +68 -68
  65. package/Table.js +807 -790
  66. package/Text.js +2 -2
  67. package/TextArea.js +16 -16
  68. package/Tooltip.js +22 -22
  69. package/TransitionOpen.js +11 -11
  70. package/Tree.js +194 -189
  71. package/Typography.js +15 -15
  72. package/WaitSpinner.js +6 -6
  73. package/package.json +15 -18
  74. package/types/src/Accordion/docs/examples/Controlled.d.ts +3 -0
  75. package/types/src/Accordion/docs/examples/Inset.d.ts +4 -0
  76. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +3 -0
  77. package/types/src/Anchor/docs/examples/Basic.d.ts +4 -0
  78. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +4 -0
  79. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +4 -0
  80. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +4 -0
  81. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +4 -0
  82. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +4 -0
  83. package/types/src/Avatar/docs/examples/Basic.d.ts +4 -0
  84. package/types/src/Avatar/docs/examples/Image.d.ts +4 -0
  85. package/types/src/Avatar/docs/examples/Interactive.d.ts +4 -0
  86. package/types/src/Avatar/docs/examples/Size.d.ts +4 -0
  87. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +4 -0
  88. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +3 -0
  89. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +4 -0
  90. package/types/src/Button/docs/examples/Basic.d.ts +3 -0
  91. package/types/src/Button/docs/examples/Block.d.ts +4 -0
  92. package/types/src/Button/docs/examples/Disabled.d.ts +4 -0
  93. package/types/src/Button/docs/examples/Icons.d.ts +4 -0
  94. package/types/src/Button/docs/examples/Menus.d.ts +4 -0
  95. package/types/src/Button/docs/examples/To.d.ts +4 -0
  96. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +3 -0
  97. package/types/src/Card/docs/examples/Basic.d.ts +4 -0
  98. package/types/src/Card/docs/examples/Clickable.d.ts +4 -0
  99. package/types/src/Card/docs/examples/Full.d.ts +4 -0
  100. package/types/src/Card/docs/examples/HeadingTitle.d.ts +4 -0
  101. package/types/src/Card/docs/examples/Images.d.ts +4 -0
  102. package/types/src/Card/docs/examples/Selectable.d.ts +4 -0
  103. package/types/src/CardLayout/docs/examples/Basic.d.ts +3 -0
  104. package/types/src/CardLayout/docs/examples/Interactive.d.ts +4 -0
  105. package/types/src/Chip/docs/examples/Appearance.d.ts +3 -0
  106. package/types/src/Chip/docs/examples/CustomColors.d.ts +4 -0
  107. package/types/src/Chip/docs/examples/Disabled.d.ts +3 -0
  108. package/types/src/Chip/docs/examples/Icon.d.ts +3 -0
  109. package/types/src/Chip/docs/examples/Removable.d.ts +3 -0
  110. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +4 -0
  111. package/types/src/Clickable/docs/examples/Disabled.d.ts +4 -0
  112. package/types/src/Code/docs/examples/Default.d.ts +3 -0
  113. package/types/src/Code/docs/examples/HideIndent.d.ts +4 -0
  114. package/types/src/Code/docs/examples/Language.d.ts +4 -0
  115. package/types/src/Code/docs/examples/LineHighlights.d.ts +4 -0
  116. package/types/src/Code/docs/examples/LineNumbers.d.ts +4 -0
  117. package/types/src/Code/docs/examples/LineNumbersCustomStart.d.ts +4 -0
  118. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +4 -0
  119. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +3 -0
  120. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +3 -0
  121. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +7 -0
  122. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +3 -0
  123. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +3 -0
  124. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +4 -0
  125. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +4 -0
  126. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +4 -0
  127. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +4 -0
  128. package/types/src/Color/docs/examples/Controlled.d.ts +3 -0
  129. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +4 -0
  130. package/types/src/Color/docs/examples/HideInput.d.ts +4 -0
  131. package/types/src/Color/docs/examples/Null.d.ts +4 -0
  132. package/types/src/Color/docs/examples/ThemeVariables.d.ts +4 -0
  133. package/types/src/Color/docs/examples/Transparent.d.ts +4 -0
  134. package/types/src/Color/docs/examples/Uncontrolled.d.ts +3 -0
  135. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +4 -0
  136. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +4 -0
  137. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +4 -0
  138. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +4 -0
  139. package/types/src/ComboBox/docs/examples/Controlled.d.ts +4 -0
  140. package/types/src/ComboBox/docs/examples/Fetching.d.ts +4 -0
  141. package/types/src/ComboBox/docs/examples/Headings.d.ts +3 -0
  142. package/types/src/ComboBox/docs/examples/Label.d.ts +4 -0
  143. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +4 -0
  144. package/types/src/ControlGroup/docs/examples/Basic.d.ts +4 -0
  145. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +4 -0
  146. package/types/src/ControlGroup/docs/examples/Error.d.ts +4 -0
  147. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +4 -0
  148. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +4 -0
  149. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +4 -0
  150. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +4 -0
  151. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +4 -0
  152. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +4 -0
  153. package/types/src/ControlGroup/docs/examples/Required.d.ts +4 -0
  154. package/types/src/Date/docs/examples/Basic.d.ts +3 -0
  155. package/types/src/Date/docs/examples/Controlled.d.ts +3 -0
  156. package/types/src/Date/docs/examples/CustomDate.d.ts +4 -0
  157. package/types/src/Date/docs/examples/Disabled.d.ts +3 -0
  158. package/types/src/Date/docs/examples/Error.d.ts +3 -0
  159. package/types/src/Date/docs/examples/HighlightToday.d.ts +4 -0
  160. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +4 -0
  161. package/types/src/DefinitionList/DefinitionList.d.ts +22 -4
  162. package/types/src/DefinitionList/DefinitionListContext.d.ts +2 -0
  163. package/types/src/DefinitionList/docs/examples/Basic.d.ts +3 -0
  164. package/types/src/DefinitionList/docs/examples/CustomizedWidths.d.ts +7 -0
  165. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +4 -0
  166. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +4 -0
  167. package/types/src/Divider/docs/examples/Appearance.d.ts +4 -0
  168. package/types/src/Divider/docs/examples/Basic.d.ts +3 -0
  169. package/types/src/Divider/docs/examples/CustomStyle.d.ts +4 -0
  170. package/types/src/Divider/docs/examples/Decorative.d.ts +4 -0
  171. package/types/src/Divider/docs/examples/Vertical.d.ts +3 -0
  172. package/types/src/Dropdown/docs/examples/Basic.d.ts +4 -0
  173. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +3 -0
  174. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +4 -0
  175. package/types/src/Dropdown/docs/examples/Dialog.d.ts +4 -0
  176. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +4 -0
  177. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +4 -0
  178. package/types/src/Dropdown/docs/examples/Submenu.d.ts +3 -0
  179. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +4 -0
  180. package/types/src/DualListbox/Option.d.ts +1 -1
  181. package/types/src/DualListbox/docs/examples/Basic.d.ts +3 -0
  182. package/types/src/DualListbox/docs/examples/Controlled.d.ts +3 -0
  183. package/types/src/DualListbox/docs/examples/Fill.d.ts +4 -0
  184. package/types/src/File/docs/examples/CustomizedMessages.d.ts +4 -0
  185. package/types/src/File/docs/examples/Disabled.d.ts +3 -0
  186. package/types/src/File/docs/examples/DropAnywhere.d.ts +4 -0
  187. package/types/src/File/docs/examples/Error.d.ts +4 -0
  188. package/types/src/File/docs/examples/FullScreen.d.ts +4 -0
  189. package/types/src/File/docs/examples/Multi.d.ts +4 -0
  190. package/types/src/File/docs/examples/Progress.d.ts +4 -0
  191. package/types/src/File/docs/examples/Single.d.ts +4 -0
  192. package/types/src/FormRows/docs/examples/Basic.d.ts +3 -0
  193. package/types/src/FormRows/docs/examples/Header.d.ts +4 -0
  194. package/types/src/FormRows/docs/examples/Menu.d.ts +4 -0
  195. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +4 -0
  196. package/types/src/Heading/docs/examples/Basic.d.ts +3 -0
  197. package/types/src/Heading/docs/examples/Variant.d.ts +4 -0
  198. package/types/src/Image/docs/examples/Basic.d.ts +3 -0
  199. package/types/src/JSONTree/docs/examples/Basic.d.ts +3 -0
  200. package/types/src/JSONTree/docs/examples/Events.d.ts +4 -0
  201. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +4 -0
  202. package/types/src/Layer/docs/examples/Basic.d.ts +4 -0
  203. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  204. package/types/src/Link/docs/examples/Basic.d.ts +4 -0
  205. package/types/src/Link/docs/examples/Disabled.d.ts +4 -0
  206. package/types/src/Link/docs/examples/NewWindow.d.ts +4 -0
  207. package/types/src/Link/docs/examples/Standalone.d.ts +4 -0
  208. package/types/src/List/docs/examples/CustomizedList.d.ts +4 -0
  209. package/types/src/List/docs/examples/OrderedList.d.ts +4 -0
  210. package/types/src/List/docs/examples/UnorderedList.d.ts +3 -0
  211. package/types/src/Markdown/docs/examples/Basic.d.ts +4 -0
  212. package/types/src/Markdown/docs/examples/I18n.d.ts +4 -0
  213. package/types/src/Menu/Item.d.ts +27 -10
  214. package/types/src/Menu/docs/examples/Adornments.d.ts +4 -0
  215. package/types/src/Menu/docs/examples/Basic.d.ts +3 -0
  216. package/types/src/Menu/docs/examples/Complex.d.ts +4 -0
  217. package/types/src/Menu/docs/examples/Descriptions.d.ts +4 -0
  218. package/types/src/Menu/docs/examples/Dimmed.d.ts +4 -0
  219. package/types/src/Menu/docs/examples/Disabled.d.ts +3 -0
  220. package/types/src/Menu/docs/examples/Dividers.d.ts +3 -0
  221. package/types/src/Menu/docs/examples/Headings.d.ts +4 -0
  222. package/types/src/Menu/docs/examples/Links.d.ts +4 -0
  223. package/types/src/Menu/docs/examples/MatchRanges.d.ts +4 -0
  224. package/types/src/Menu/docs/examples/Selectable.d.ts +4 -0
  225. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +4 -0
  226. package/types/src/Menu/docs/examples/Truncate.d.ts +4 -0
  227. package/types/src/Message/docs/examples/Basic.d.ts +3 -0
  228. package/types/src/Message/docs/examples/Content.d.ts +4 -0
  229. package/types/src/Message/docs/examples/Fill.d.ts +3 -0
  230. package/types/src/Message/docs/examples/Removable.d.ts +3 -0
  231. package/types/src/MessageBar/docs/examples/Basic.d.ts +4 -0
  232. package/types/src/MessageBar/docs/examples/Types.d.ts +4 -0
  233. package/types/src/MessageBar/docs/examples/WithActions.d.ts +3 -0
  234. package/types/src/Modal/Modal.d.ts +10 -3
  235. package/types/src/Modal/docs/examples/Basic.d.ts +3 -0
  236. package/types/src/Modal/docs/examples/InitialFocus.d.ts +4 -0
  237. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +4 -0
  238. package/types/src/Modal/docs/examples/Undismissable.d.ts +4 -0
  239. package/types/src/Monogram/Monogram.d.ts +4 -0
  240. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +4 -0
  241. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +3 -0
  242. package/types/src/Monogram/docs/examples/Basic.d.ts +4 -0
  243. package/types/src/Monogram/docs/examples/Interactive.d.ts +4 -0
  244. package/types/src/Monogram/docs/examples/Size.d.ts +4 -0
  245. package/types/src/Multiselect/Compact.d.ts +1 -1
  246. package/types/src/Multiselect/Multiselect.d.ts +1 -1
  247. package/types/src/Multiselect/docs/examples/Children.d.ts +4 -0
  248. package/types/src/Multiselect/docs/examples/Compact.d.ts +4 -0
  249. package/types/src/Multiselect/docs/examples/Controlled.d.ts +3 -0
  250. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +4 -0
  251. package/types/src/Multiselect/docs/examples/Disabled.d.ts +3 -0
  252. package/types/src/Multiselect/docs/examples/Error.d.ts +3 -0
  253. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -0
  254. package/types/src/Multiselect/docs/examples/Headings.d.ts +3 -0
  255. package/types/src/Multiselect/docs/examples/Icons.d.ts +3 -0
  256. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  257. package/types/src/Multiselect/docs/examples/NewValues.d.ts +4 -0
  258. package/types/src/Multiselect/docs/examples/TabInput.d.ts +4 -0
  259. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +3 -0
  260. package/types/src/Number/docs/examples/Basic.d.ts +4 -0
  261. package/types/src/Number/docs/examples/Disabled.d.ts +3 -0
  262. package/types/src/Number/docs/examples/Error.d.ts +3 -0
  263. package/types/src/Number/docs/examples/Limits.d.ts +4 -0
  264. package/types/src/Number/docs/examples/Locale.d.ts +4 -0
  265. package/types/src/Number/docs/examples/Uncontrolled.d.ts +4 -0
  266. package/types/src/Paginator/docs/examples/Basic.d.ts +3 -0
  267. package/types/src/Paginator/docs/examples/Compact.d.ts +4 -0
  268. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +3 -0
  269. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +3 -0
  270. package/types/src/Paginator/docs/examples/CustomPages.d.ts +4 -0
  271. package/types/src/Paginator/docs/examples/Labelled.d.ts +4 -0
  272. package/types/src/Paginator/docs/examples/PageControl.d.ts +4 -0
  273. package/types/src/Paragraph/docs/examples/Basic.d.ts +4 -0
  274. package/types/src/Popover/PopoverProvider.d.ts +9 -1
  275. package/types/src/Popover/docs/examples/Basic.d.ts +4 -0
  276. package/types/src/Progress/docs/examples/Basic.d.ts +3 -0
  277. package/types/src/Progress/docs/examples/Type.d.ts +3 -0
  278. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  279. package/types/src/Prose/docs/examples/Customize.d.ts +4 -0
  280. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +5 -0
  281. package/types/src/RadioBar/docs/examples/Basic.d.ts +3 -0
  282. package/types/src/RadioBar/docs/examples/Disabled.d.ts +4 -0
  283. package/types/src/RadioBar/docs/examples/Error.d.ts +3 -0
  284. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +4 -0
  285. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +3 -0
  286. package/types/src/RadioList/docs/examples/Basic.d.ts +4 -0
  287. package/types/src/RadioList/docs/examples/Disabled.d.ts +3 -0
  288. package/types/src/RadioList/docs/examples/Error.d.ts +3 -0
  289. package/types/src/RadioList/docs/examples/Row.d.ts +3 -0
  290. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +4 -0
  291. package/types/src/Resize/docs/examples/Appearance.d.ts +4 -0
  292. package/types/src/Resize/docs/examples/Basic.d.ts +4 -0
  293. package/types/src/Resize/docs/examples/Percentage.d.ts +4 -0
  294. package/types/src/Resize/docs/examples/SizingInner.d.ts +4 -0
  295. package/types/src/Resize/docs/examples/SizingOuter.d.ts +4 -0
  296. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +4 -0
  297. package/types/src/ScreenReaderContent/docs/examples/SkipLink.d.ts +4 -0
  298. package/types/src/Scroll/docs/examples/Controlled.d.ts +4 -0
  299. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +4 -0
  300. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +4 -0
  301. package/types/src/Search/docs/examples/Controlled.d.ts +4 -0
  302. package/types/src/Search/docs/examples/Loading.d.ts +4 -0
  303. package/types/src/Search/docs/examples/Options.d.ts +4 -0
  304. package/types/src/Search/docs/examples/OptionsLinks.d.ts +4 -0
  305. package/types/src/Select/SelectAllOption.d.ts +5 -10
  306. package/types/src/Select/SelectBase.d.ts +1 -1
  307. package/types/src/Select/docs/examples/Appearance.d.ts +4 -0
  308. package/types/src/Select/docs/examples/Basic.d.ts +4 -0
  309. package/types/src/Select/docs/examples/Children.d.ts +4 -0
  310. package/types/src/Select/docs/examples/Descriptions.d.ts +4 -0
  311. package/types/src/Select/docs/examples/Error.d.ts +3 -0
  312. package/types/src/Select/docs/examples/Fetching.d.ts +4 -0
  313. package/types/src/Select/docs/examples/Filter.d.ts +4 -0
  314. package/types/src/Select/docs/examples/Headings.d.ts +3 -0
  315. package/types/src/Select/docs/examples/Icons.d.ts +3 -0
  316. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  317. package/types/src/Select/docs/examples/Prefix.d.ts +4 -0
  318. package/types/src/Select/docs/examples/Truncate.d.ts +4 -0
  319. package/types/src/Select/docs/examples/Uncontrolled.d.ts +4 -0
  320. package/types/src/SidePanel/docs/examples/Basic.d.ts +4 -0
  321. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +3 -0
  322. package/types/src/SidePanel/docs/examples/Composition.d.ts +4 -0
  323. package/types/src/Slider/docs/examples/Basic.d.ts +3 -0
  324. package/types/src/Slider/docs/examples/Controlled.d.ts +4 -0
  325. package/types/src/Slider/docs/examples/CustomLabels.d.ts +4 -0
  326. package/types/src/Slider/docs/examples/Disabled.d.ts +3 -0
  327. package/types/src/Slider/docs/examples/Error.d.ts +3 -0
  328. package/types/src/Slider/docs/examples/StepMarks.d.ts +4 -0
  329. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +3 -0
  330. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +3 -0
  331. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +3 -0
  332. package/types/src/SplitButton/SplitButton.d.ts +6 -1
  333. package/types/src/SplitButton/docs/examples/Basic.d.ts +3 -0
  334. package/types/src/SplitButton/docs/examples/Block.d.ts +4 -0
  335. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +4 -0
  336. package/types/src/SplitButton/docs/examples/Disabled.d.ts +3 -0
  337. package/types/src/StaticContent/docs/examples/Basic.d.ts +4 -0
  338. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +4 -0
  339. package/types/src/StepBar/docs/examples/Basic.d.ts +3 -0
  340. package/types/src/StepBar/docs/examples/Error.d.ts +3 -0
  341. package/types/src/Switch/docs/examples/Basic.d.ts +4 -0
  342. package/types/src/Switch/docs/examples/Disabled.d.ts +3 -0
  343. package/types/src/Switch/docs/examples/Error.d.ts +3 -0
  344. package/types/src/TabBar/docs/examples/Basic.d.ts +3 -0
  345. package/types/src/TabBar/docs/examples/Disabled.d.ts +3 -0
  346. package/types/src/TabBar/docs/examples/Icons.d.ts +3 -0
  347. package/types/src/TabBar/docs/examples/Tooltips.d.ts +3 -0
  348. package/types/src/TabBar/docs/examples/Vertical.d.ts +3 -0
  349. package/types/src/TabBar/docs/examples/VerticalIcons.d.ts +3 -0
  350. package/types/src/TabBar/docs/examples/WithCount.d.ts +3 -0
  351. package/types/src/TabBar/tabBarUtils.d.ts +4 -0
  352. package/types/src/TabBar/types.d.ts +5 -0
  353. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +4 -0
  354. package/types/src/TabLayout/docs/examples/Controlled.d.ts +4 -0
  355. package/types/src/TabLayout/docs/examples/Icons.d.ts +3 -0
  356. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +3 -0
  357. package/types/src/TabLayout/docs/examples/Vertical.d.ts +3 -0
  358. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +3 -0
  359. package/types/src/Table/docs/examples/Basic.d.ts +3 -0
  360. package/types/src/Table/docs/examples/Click.d.ts +4 -0
  361. package/types/src/Table/docs/examples/ClickRows.d.ts +4 -0
  362. package/types/src/Table/docs/examples/Complex.d.ts +4 -0
  363. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +4 -0
  364. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +4 -0
  365. package/types/src/Table/docs/examples/FixedHeader.d.ts +4 -0
  366. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +4 -0
  367. package/types/src/Table/docs/examples/ReorderColumns.d.ts +4 -0
  368. package/types/src/Table/docs/examples/ReorderRows.d.ts +4 -0
  369. package/types/src/Table/docs/examples/Resizable.d.ts +4 -0
  370. package/types/src/Table/docs/examples/ResizableFill.d.ts +4 -0
  371. package/types/src/Table/docs/examples/RowActions.d.ts +4 -0
  372. package/types/src/Table/docs/examples/Selectable.d.ts +4 -0
  373. package/types/src/Table/docs/examples/SortableColumns.d.ts +4 -0
  374. package/types/src/Table/docs/examples/StripeRows.d.ts +3 -0
  375. package/types/src/Text/docs/examples/Basic.d.ts +4 -0
  376. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +4 -0
  377. package/types/src/Text/docs/examples/Dimmed.d.ts +4 -0
  378. package/types/src/Text/docs/examples/Disabled.d.ts +4 -0
  379. package/types/src/Text/docs/examples/Error.d.ts +4 -0
  380. package/types/src/Text/docs/examples/Inline.d.ts +4 -0
  381. package/types/src/Text/docs/examples/Password.d.ts +4 -0
  382. package/types/src/Text/docs/examples/Uncontrolled.d.ts +4 -0
  383. package/types/src/TextArea/docs/examples/Basic.d.ts +4 -0
  384. package/types/src/TextArea/docs/examples/Disabled.d.ts +3 -0
  385. package/types/src/TextArea/docs/examples/Error.d.ts +4 -0
  386. package/types/src/TextArea/docs/examples/Inline.d.ts +4 -0
  387. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +4 -0
  388. package/types/src/Tooltip/docs/examples/Basic.d.ts +4 -0
  389. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +4 -0
  390. package/types/src/Tooltip/docs/examples/Controlled.d.ts +4 -0
  391. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +4 -0
  392. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +4 -0
  393. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +4 -0
  394. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +3 -0
  395. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +3 -0
  396. package/types/src/TransitionOpen/docs/examples/None.d.ts +4 -0
  397. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +4 -0
  398. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +4 -0
  399. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +4 -0
  400. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +4 -0
  401. package/types/src/Tree/Item.d.ts +4 -4
  402. package/types/src/Tree/docs/examples/Basic.d.ts +5 -0
  403. package/types/src/Tree/docs/examples/ClickableExpansion.d.ts +2 -0
  404. package/types/src/Tree/docs/examples/ClickableExpansionWithSelection.d.ts +2 -0
  405. package/types/src/Typography/docs/examples/Basic.d.ts +4 -0
  406. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +3 -0
  407. package/useResizeObserver.js +2 -2
  408. package/types/src/DefinitionList/docs/examples/Customize.d.ts +0 -3
package/Menu.js CHANGED
@@ -103,11 +103,11 @@
103
103
  componentId: "sc-4kc053-1"
104
104
  })([ "", ";display:flex;align-self:flex-start;align-items:center;float:right;padding-left:", ";max-width:50%;min-height:20px;text-align:right;" ], y, p.variables.spacingLarge);
105
105
  var w = (0, c.css)([ "", " flex:0 0 auto;& > svg{height:20px;}" ], p.mixins.reset("inline-flex"));
106
- var k = u().div.withConfig({
106
+ var O = u().div.withConfig({
107
107
  displayName: "ItemStyles__StyledItemSelectedAdornment",
108
108
  componentId: "sc-4kc053-2"
109
109
  })([ "", ";padding-left:", ";align-items:flex-start;color:", ";" ], w, p.variables.spacingLarge, p.variables.contentColorActive);
110
- var O = u().span.withConfig({
110
+ var k = u().span.withConfig({
111
111
  displayName: "ItemStyles__StyledItemAdornment",
112
112
  componentId: "sc-4kc053-3"
113
113
  })([ "", ";", " padding-right:", ";align-items:center;color:", ";" ], w, (function(e) {
@@ -121,7 +121,7 @@
121
121
  var C = u()(m()).withConfig({
122
122
  displayName: "ItemStyles__StyledClickable",
123
123
  componentId: "sc-4kc053-5"
124
- })([ "display:block;position:relative;cursor:pointer;color:", ";word-wrap:break-word;max-width:100%;width:100%;min-height:", ";padding:", " ", ";line-height:20px;", " ", " ", " &:not([disabled],[aria-disabled='true']){&:hover{background:", ";", "}&:active{background:", ";}", "}&:focus{outline:0;box-shadow:", ";background:", ";}&[disabled],&[aria-disabled='true']{color:", ";", ",", ",", ",", "{color:", ";}}" ], p.variables.contentColorActive, p.variables.inputHeight, p.variables.spacingXSmall, p.variables.spacingLarge, (function(e) {
124
+ })([ "line-height:", ";display:block;position:relative;cursor:pointer;color:", ";word-wrap:break-word;max-width:100%;width:100%;min-height:", ";padding:", " ", ";", " ", " ", " &:not([disabled],[aria-disabled='true']){&:hover{background:", ";", "}&:active{background:", ";}", "}&:focus{outline:0;box-shadow:", ";background:", ";}&[disabled],&[aria-disabled='true']{color:", ";", ",", ",", ",", "{color:", ";}}" ], p.variables.lineHeightSpacious, p.variables.contentColorActive, p.variables.inputHeight, p.variables.spacingXSmall, p.variables.spacingLarge, (function(e) {
125
125
  var t = e.$active, r = e.$preventFocus;
126
126
  return t && !r && (0, c.css)([ "box-shadow:", ";" ], p.variables.focusShadowInset);
127
127
  }), (function(e) {
@@ -138,7 +138,7 @@
138
138
  }), p.variables.interactiveColorOverlayActive, (function(e) {
139
139
  var t = e.$selected;
140
140
  return t && (0, c.css)([ "background:", ";font-weight:", ";" ], p.variables.interactiveColorOverlaySelected, p.variables.fontWeightSemiBold);
141
- }), p.variables.focusShadowInset, p.variables.interactiveColorOverlayHover, p.variables.contentColorDisabled, /* sc-sel */ h, /* sc-sel */ S, /* sc-sel */ k, /* sc-sel */ O, p.variables.contentColorDisabled);
141
+ }), p.variables.focusShadowInset, p.variables.interactiveColorOverlayHover, p.variables.contentColorDisabled, /* sc-sel */ h, /* sc-sel */ S, /* sc-sel */ O, /* sc-sel */ k, p.variables.contentColorDisabled);
142
142
  var I = u().span.withConfig({
143
143
  displayName: "ItemStyles__StyledInnerWrapper",
144
144
  componentId: "sc-4kc053-6"
@@ -293,7 +293,7 @@
293
293
  if (Object.getOwnPropertySymbols) {
294
294
  var i = Object.getOwnPropertySymbols(e);
295
295
  for (n = 0; n < i.length; n++) {
296
- r = i[n], t.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
296
+ r = i[n], -1 === t.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
297
297
  }
298
298
  }
299
299
  return a;
@@ -303,7 +303,7 @@
303
303
  var r = {};
304
304
  for (var n in e) {
305
305
  if ({}.hasOwnProperty.call(e, n)) {
306
- if (t.includes(n)) continue;
306
+ if (-1 !== t.indexOf(n)) continue;
307
307
  r[n] = e[n];
308
308
  }
309
309
  }
@@ -388,7 +388,7 @@
388
388
  if (Object.getOwnPropertySymbols) {
389
389
  var i = Object.getOwnPropertySymbols(e);
390
390
  for (n = 0; n < i.length; n++) {
391
- r = i[n], t.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
391
+ r = i[n], -1 === t.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
392
392
  }
393
393
  }
394
394
  return a;
@@ -398,7 +398,7 @@
398
398
  var r = {};
399
399
  for (var n in e) {
400
400
  if ({}.hasOwnProperty.call(e, n)) {
401
- if (t.includes(n)) continue;
401
+ if (-1 !== t.indexOf(n)) continue;
402
402
  r[n] = e[n];
403
403
  }
404
404
  }
@@ -436,10 +436,11 @@
436
436
  var ye = (0, se._)("(Opens new window)");
437
437
  function he(e) {
438
438
  var t = e.active, a = e.children, o = e.description, l = e.descriptionPosition, s = l === void 0 ? "bottom" : l, c = e.disabled, u = e.endAdornment, d = e.elementRef, v = e.hasSubmenu, p = e.itemKey, f = e.matchRanges, m = e.onClick, b = e.onFocus, g = e.openInNewContext, y = e.role, w = e.selectable, N = e.selectableAppearance, D = N === void 0 ? "checkmark" : N, T = e.selected, q = e.startAdornment, R = e.to, $ = e.truncate, H = me(e, [ "active", "children", "description", "descriptionPosition", "disabled", "endAdornment", "elementRef", "hasSubmenu", "itemKey", "matchRanges", "onClick", "onFocus", "openInNewContext", "role", "selectable", "selectableAppearance", "selected", "startAdornment", "to", "truncate" ]);
439
- var F = (0, r.useContext)(A), M = F.preventFocus;
439
+ // @docs-props-type ItemPropsBase
440
+ var F = (0, r.useContext)(A), M = F.preventFocus;
440
441
  (0, r.useEffect)((function() {
441
442
  if (false) {}
442
- }), [ $, s, f, a ]);
443
+ }), [ $, s, f, a, T, w, D ]);
443
444
  var L = (0, r.useCallback)((function(e) {
444
445
  b === null || b === void 0 ? void 0 : b(e, {
445
446
  itemKey: p
@@ -490,7 +491,7 @@
490
491
  }
491
492
  var G = o && s === "right";
492
493
  var J = o && !G;
493
- var Q = T && D === "checkmark" && n().createElement(k, null, n().createElement(ne(), {
494
+ var Q = T && D === "checkmark" && n().createElement(O, null, n().createElement(ne(), {
494
495
  "data-test": "selected-checkmark",
495
496
  inline: true
496
497
  }));
@@ -523,7 +524,7 @@
523
524
  }, X, i()(H, "onFocus")), v && n().createElement(j, null, n().createElement(ie(), null)), n().createElement(I, null, w && D === "checkbox" && n().createElement(x, {
524
525
  disabled: !!c,
525
526
  selected: T
526
- }), q && n().createElement(O, null, q), n().createElement(E, {
527
+ }), q && n().createElement(k, null, q), n().createElement(E, {
527
528
  $descriptionBottom: !!J,
528
529
  $truncate: $ !== null && $ !== void 0 ? $ : false
529
530
  }, n().createElement(_, {
@@ -533,7 +534,7 @@
533
534
  "data-test": "description"
534
535
  }, o), G && n().createElement(S, {
535
536
  "data-test": "description"
536
- }, o)), u && n().createElement(O, {
537
+ }, o)), u && n().createElement(k, {
537
538
  endAdornment: u
538
539
  }, u), Q));
539
540
  }
@@ -543,18 +544,18 @@
543
544
  // only for styled components using Item
544
545
  // CONCATENATED MODULE: external "@splunk/react-ui/Scroll"
545
546
  const we = require("@splunk/react-ui/Scroll");
546
- var ke = e.n(we);
547
+ var Oe = e.n(we);
547
548
  // CONCATENATED MODULE: ./src/Menu/MenuStyles.ts
548
- var Oe = (0, c.css)([ "border-top:1px solid ", ";" ], p.variables.borderColor);
549
- var xe = (0, c.css)([ "", ";background-color:", ";border-radius:", ";min-width:60px;overflow:auto;position:relative;padding:", " 0;&:focus{outline:0;box-shadow:", ";background:", ";}& + &{", "}" ], p.mixins.reset("block"), p.variables.backgroundColorPopup, p.variables.borderRadius, p.variables.spacingSmall, p.variables.focusShadowInset, p.variables.interactiveColorOverlayHover, Oe);
549
+ var ke = (0, c.css)([ "border-top:1px solid ", ";" ], p.variables.borderColor);
550
+ var xe = (0, c.css)([ "", ";background-color:", ";border-radius:", ";min-width:60px;overflow:auto;position:relative;padding:", " 0;&:focus{outline:0;box-shadow:", ";background:", ";}& + &{", "}" ], p.mixins.reset("block"), p.variables.backgroundColorPopup, p.variables.borderRadius, p.variables.spacingSmall, p.variables.focusShadowInset, p.variables.interactiveColorOverlayHover, ke);
550
551
  var Ce = u().div.withConfig({
551
552
  displayName: "MenuStyles__Styled",
552
553
  componentId: "sc-1olffp9-0"
553
554
  })([ "", "" ], xe);
554
- var Ie = u()(ke()).withConfig({
555
+ var Ie = u()(Oe()).withConfig({
555
556
  displayName: "MenuStyles__StyledScroll",
556
557
  componentId: "sc-1olffp9-1"
557
- })([ "", " ", " + &,& + ", "{", "}" ], xe, /* sc-sel */ Ce, /* sc-sel */ Ce, Oe);
558
+ })([ "", " ", " + &,& + ", "{", "}" ], xe, /* sc-sel */ Ce, /* sc-sel */ Ce, ke);
558
559
  // CONCATENATED MODULE: ./src/utils/updateReactRef.ts
559
560
  /**
560
561
  * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
@@ -592,7 +593,7 @@
592
593
  if (Object.getOwnPropertySymbols) {
593
594
  var i = Object.getOwnPropertySymbols(e);
594
595
  for (n = 0; n < i.length; n++) {
595
- r = i[n], t.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
596
+ r = i[n], -1 === t.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
596
597
  }
597
598
  }
598
599
  return a;
@@ -602,7 +603,7 @@
602
603
  var r = {};
603
604
  for (var n in e) {
604
605
  if ({}.hasOwnProperty.call(e, n)) {
605
- if (t.includes(n)) continue;
606
+ if (-1 !== t.indexOf(n)) continue;
606
607
  r[n] = e[n];
607
608
  }
608
609
  }
package/Message.js CHANGED
@@ -96,28 +96,28 @@
96
96
  const S = require("@splunk/react-ui/Button");
97
97
  var O = e.n(S);
98
98
  // CONCATENATED MODULE: external "@splunk/themes"
99
- const C = require("@splunk/themes");
99
+ const x = require("@splunk/themes");
100
100
  // CONCATENATED MODULE: ./src/Message/MessageStyles.ts
101
- var _ = {
102
- info: C.variables.notificationColorInfo,
103
- success: C.variables.notificationColorPositive,
104
- warning: C.variables.notificationColorCaution,
105
- error: C.variables.notificationColorNegative
101
+ var C = {
102
+ info: x.variables.notificationColorInfo,
103
+ success: x.variables.notificationColorPositive,
104
+ warning: x.variables.notificationColorCaution,
105
+ error: x.variables.notificationColorNegative
106
106
  };
107
- var x = w().div.withConfig({
107
+ var _ = w().div.withConfig({
108
108
  displayName: "MessageStyles__StyledTitle",
109
109
  componentId: "eg66af-0"
110
- })([ "", ";" ], C.mixins.typography("title4"));
110
+ })([ "", ";" ], x.mixins.typography("title4"));
111
111
  var k = w().div.withConfig({
112
112
  displayName: "MessageStyles__StyledContent",
113
113
  componentId: "eg66af-1"
114
- })([ "", ";grid-row:1 / -1;grid-column:content;max-width:", ";word-wrap:break-word;&:not(:has(> ", ")){", ";}" ], C.mixins.typography("body"), C.variables.lineLength, x, C.mixins.typography("body", {
114
+ })([ "", ";grid-row:1 / -1;grid-column:content;max-width:", ";word-wrap:break-word;&:not(:has(> ", ")){", ";}" ], x.mixins.typography("body"), x.variables.lineLength, _, x.mixins.typography("body", {
115
115
  color: "active"
116
116
  }));
117
117
  var R = w().span.withConfig({
118
118
  displayName: "MessageStyles__StyledIcon",
119
119
  componentId: "eg66af-2"
120
- })([ "fill:", ";grid-row:1;height:20px;width:20px;" ], (0, C.pickVariant)("$type", _));
120
+ })([ "fill:", ";grid-row:1;height:20px;width:20px;" ], (0, x.pickVariant)("$type", C));
121
121
  var q = w()(O()).withConfig({
122
122
  displayName: "MessageStyles__StyledRemove",
123
123
  componentId: "eg66af-3"
@@ -125,14 +125,14 @@
125
125
  var I = w().div.withConfig({
126
126
  displayName: "MessageStyles__Styled",
127
127
  componentId: "eg66af-4"
128
- })([ "", ";grid-template-rows:1lh auto;align-items:center;padding:", ";", ";", "" ], C.mixins.reset("grid"), C.variables.spacingSmall, (function(e) {
128
+ })([ "", ";grid-template-rows:1lh auto;align-items:center;padding:", ";", ";", "" ], x.mixins.reset("grid"), x.variables.spacingSmall, (function(e) {
129
129
  var n = e.$hasRemoveIcon;
130
- return (0, h.css)([ "grid-template-columns:[icon] 20px ", " [content] auto ", " [remove] min-content;" ], C.variables.spacingSmall, n ? C.variables.spacingSmall : "0");
130
+ return (0, h.css)([ "grid-template-columns:[icon] 20px ", " [content] auto ", " [remove] min-content;" ], x.variables.spacingSmall, n ? x.variables.spacingSmall : "0");
131
131
  }), (function(e) {
132
132
  var n = e.$appearance, r = e.$hasRemoveIcon, t = e.$type;
133
- var a = _[t];
134
- return n === "fill" && (0, h.css)([ "background-color:", ";border-left:8px solid ", ";border-radius:", ";box-shadow:", ";grid-template-columns:[icon] 20px ", " [content] fit-content(", ");padding-inline:", ";", "" ], C.variables.backgroundColorPopup, a, C.variables.borderRadius, C.variables.embossShadow, C.variables.spacingSmall, C.variables.lineLength, C.variables.spacingMedium, r && (0,
135
- h.css)([ "grid-template-columns:[icon] 20px ", " [content] fit-content(", ") minmax(", ",1fr) [remove] min-content;" ], C.variables.spacingSmall, C.variables.lineLength, C.variables.spacingSmall));
133
+ var a = C[t];
134
+ return n === "fill" && (0, h.css)([ "background-color:", ";border-left:8px solid ", ";border-radius:", ";box-shadow:", ";grid-template-columns:[icon] 20px ", " [content] fit-content(", ");padding-inline:", ";", "" ], x.variables.backgroundColorPopup, a, x.variables.borderRadius, x.variables.embossShadow, x.variables.spacingSmall, x.variables.lineLength, x.variables.spacingMedium, r && (0,
135
+ h.css)([ "grid-template-columns:[icon] 20px ", " [content] fit-content(", ") minmax(", ",1fr) [remove] min-content;" ], x.variables.spacingSmall, x.variables.lineLength, x.variables.spacingSmall));
136
136
  }));
137
137
  // CONCATENATED MODULE: ./src/Message/Title.tsx
138
138
  function j(e, n) {
@@ -141,7 +141,7 @@
141
141
  if (Object.getOwnPropertySymbols) {
142
142
  var o = Object.getOwnPropertySymbols(e);
143
143
  for (t = 0; t < o.length; t++) {
144
- r = o[t], n.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
144
+ r = o[t], -1 === n.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
145
145
  }
146
146
  }
147
147
  return a;
@@ -151,7 +151,7 @@
151
151
  var r = {};
152
152
  for (var t in e) {
153
153
  if ({}.hasOwnProperty.call(e, t)) {
154
- if (n.includes(t)) continue;
154
+ if (-1 !== n.indexOf(t)) continue;
155
155
  r[t] = e[t];
156
156
  }
157
157
  }
@@ -166,7 +166,7 @@
166
166
  var n = e.children, r = j(e, [ "children" ]);
167
167
  // @docs-props-type TitleProps
168
168
 
169
- return t().createElement(x, r, n);
169
+ return t().createElement(_, r, n);
170
170
  }
171
171
  M.propTypes = E;
172
172
  /* harmony default export */ const $ = M;
@@ -188,7 +188,7 @@
188
188
  if (Object.getOwnPropertySymbols) {
189
189
  var o = Object.getOwnPropertySymbols(e);
190
190
  for (t = 0; t < o.length; t++) {
191
- r = o[t], n.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
191
+ r = o[t], -1 === n.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
192
192
  }
193
193
  }
194
194
  return a;
@@ -198,7 +198,7 @@
198
198
  var r = {};
199
199
  for (var t in e) {
200
200
  if ({}.hasOwnProperty.call(e, t)) {
201
- if (n.includes(t)) continue;
201
+ if (-1 !== n.indexOf(t)) continue;
202
202
  r[t] = e[t];
203
203
  }
204
204
  }
package/MessageBar.js CHANGED
@@ -98,15 +98,15 @@
98
98
  // CONCATENATED MODULE: external "@splunk/themes"
99
99
  const k = require("@splunk/themes");
100
100
  // CONCATENATED MODULE: ./src/MessageBar/MessageBarStyles.ts
101
- var q = h().div.withConfig({
101
+ var O = h().div.withConfig({
102
102
  displayName: "MessageBarStyles__MessageBarContent",
103
103
  componentId: "sc-1uyhzza-0"
104
104
  })([ "", ";", ";grid-column:content;grid-row:1 / -1;max-width:", ";word-wrap:break-word;" ], k.mixins.reset("inline"), k.mixins.typography("body"), k.variables.lineLength);
105
- var _ = h()(S()).withConfig({
105
+ var q = h()(S()).withConfig({
106
106
  displayName: "MessageBarStyles__StyledCloseButton",
107
107
  componentId: "sc-1uyhzza-1"
108
108
  })([ "grid-column:close;" ]);
109
- var O = h().span.withConfig({
109
+ var _ = h().span.withConfig({
110
110
  displayName: "MessageBarStyles__StyledIcon",
111
111
  componentId: "sc-1uyhzza-2"
112
112
  })([ "width:20px;height:20px;margin-left:auto;fill:", ";grid-row:1;grid-column:icon;" ], (0,
@@ -116,7 +116,7 @@
116
116
  warning: k.variables.notificationColorCaution,
117
117
  error: k.variables.notificationColorNegative
118
118
  }));
119
- var I = h().div.withConfig({
119
+ var x = h().div.withConfig({
120
120
  displayName: "MessageBarStyles__MessageBarWrapper",
121
121
  componentId: "sc-1uyhzza-3"
122
122
  })([ "", ";grid-template-columns:[icon] 20px ", " [content] fit-content(", ") minmax(", ",1fr) [close] min-content;grid-template-rows:1lh auto;align-items:center;border:1px solid ", ";border-radius:", ";background-color:", ";padding:", " ", ";width:100%;" ], k.mixins.reset("grid"), k.variables.spacingSmall, k.variables.lineLength, k.variables.spacingSmall, (0,
@@ -132,8 +132,8 @@
132
132
  error: k.variables.notificationColorNegativeWeak
133
133
  }), k.variables.spacingSmall, k.variables.spacingMedium);
134
134
  // CONCATENATED MODULE: ./src/MessageBar/MessageBar.tsx
135
- function x() {
136
- return x = Object.assign ? Object.assign.bind() : function(e) {
135
+ function I() {
136
+ return I = Object.assign ? Object.assign.bind() : function(e) {
137
137
  for (var r = 1; r < arguments.length; r++) {
138
138
  var n = arguments[r];
139
139
  for (var t in n) {
@@ -141,7 +141,7 @@
141
141
  }
142
142
  }
143
143
  return e;
144
- }, x.apply(null, arguments);
144
+ }, I.apply(null, arguments);
145
145
  }
146
146
  function P(e, r) {
147
147
  if (null == e) return {};
@@ -149,7 +149,7 @@
149
149
  if (Object.getOwnPropertySymbols) {
150
150
  var i = Object.getOwnPropertySymbols(e);
151
151
  for (t = 0; t < i.length; t++) {
152
- n = i[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
152
+ n = i[t], -1 === r.indexOf(n) && {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
153
153
  }
154
154
  }
155
155
  return a;
@@ -159,7 +159,7 @@
159
159
  var n = {};
160
160
  for (var t in e) {
161
161
  if ({}.hasOwnProperty.call(e, t)) {
162
- if (r.includes(t)) continue;
162
+ if (-1 !== r.indexOf(t)) continue;
163
163
  n[t] = e[t];
164
164
  }
165
165
  }
@@ -188,22 +188,22 @@
188
188
  var s = E[i];
189
189
  var l = M[i];
190
190
 
191
- return t().createElement(I, x({
191
+ return t().createElement(x, I({
192
192
  ref: n,
193
193
  $type: i,
194
194
  "data-test": "message-bar",
195
195
  "data-test-type": i
196
196
  }, o, {
197
197
  role: "region"
198
- }), t().createElement(O, {
198
+ }), t().createElement(_, {
199
199
  as: s,
200
200
  $type: i,
201
201
  variant: "filled",
202
202
  "aria-hidden": true,
203
203
  "data-test": "icon"
204
- }), t().createElement(y(), null, l), t().createElement(q, {
204
+ }), t().createElement(y(), null, l), t().createElement(O, {
205
205
  "data-test": "content"
206
- }, r), a && t().createElement(_, {
206
+ }, r), a && t().createElement(q, {
207
207
  appearance: "subtle",
208
208
  onClick: a
209
209
  }, t().createElement(c(), null), t().createElement(y(), null, (0, b._)("Close"))));
package/Modal.js CHANGED
@@ -108,8 +108,8 @@
108
108
  prisma: w.variables.backgroundColorDialog
109
109
  }), w.variables.spacingMedium, w.variables.spacingXLarge);
110
110
  // CONCATENATED MODULE: ./src/Modal/Body.tsx
111
- function j() {
112
- return j = Object.assign ? Object.assign.bind() : function(e) {
111
+ function x() {
112
+ return x = Object.assign ? Object.assign.bind() : function(e) {
113
113
  for (var r = 1; r < arguments.length; r++) {
114
114
  var t = arguments[r];
115
115
  for (var n in t) {
@@ -117,12 +117,12 @@
117
117
  }
118
118
  }
119
119
  return e;
120
- }, j.apply(null, arguments);
120
+ }, x.apply(null, arguments);
121
121
  }
122
- function C(e, r) {
123
- return I(e) || E(e, r) || k(e, r) || x();
122
+ function j(e, r) {
123
+ return I(e) || E(e, r) || k(e, r) || C();
124
124
  }
125
- function x() {
125
+ function C() {
126
126
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
127
127
  }
128
128
  function k(e, r) {
@@ -170,7 +170,7 @@
170
170
  if (Object.getOwnPropertySymbols) {
171
171
  var i = Object.getOwnPropertySymbols(e);
172
172
  for (n = 0; n < i.length; n++) {
173
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
173
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
174
174
  }
175
175
  }
176
176
  return o;
@@ -180,7 +180,7 @@
180
180
  var t = {};
181
181
  for (var n in e) {
182
182
  if ({}.hasOwnProperty.call(e, n)) {
183
- if (r.includes(n)) continue;
183
+ if (-1 !== r.indexOf(n)) continue;
184
184
  t[n] = e[n];
185
185
  }
186
186
  }
@@ -194,12 +194,12 @@
194
194
  */ function A(e) {
195
195
  var r = e.children, o = q(e, [ "children" ]);
196
196
  // @docs-props-type BodyPropsBase
197
- var i = (0, t.useState)(), a = C(i, 2), l = a[0], u = a[1];
197
+ var i = (0, t.useState)(), a = j(i, 2), l = a[0], u = a[1];
198
198
  var c = (0, t.useCallback)((function(e) {
199
199
  u(e);
200
200
  }), []);
201
201
 
202
- return n().createElement(S, j({
202
+ return n().createElement(S, x({
203
203
  "data-test": "body"
204
204
  }, o, {
205
205
  elementRef: c
@@ -242,7 +242,7 @@
242
242
  if (Object.getOwnPropertySymbols) {
243
243
  var i = Object.getOwnPropertySymbols(e);
244
244
  for (n = 0; n < i.length; n++) {
245
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
245
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
246
246
  }
247
247
  }
248
248
  return o;
@@ -252,7 +252,7 @@
252
252
  var t = {};
253
253
  for (var n in e) {
254
254
  if ({}.hasOwnProperty.call(e, n)) {
255
- if (r.includes(n)) continue;
255
+ if (-1 !== r.indexOf(n)) continue;
256
256
  t[n] = e[n];
257
257
  }
258
258
  }
@@ -337,7 +337,7 @@
337
337
  if (Object.getOwnPropertySymbols) {
338
338
  var i = Object.getOwnPropertySymbols(e);
339
339
  for (n = 0; n < i.length; n++) {
340
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
340
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
341
341
  }
342
342
  }
343
343
  return o;
@@ -347,7 +347,7 @@
347
347
  var t = {};
348
348
  for (var n in e) {
349
349
  if ({}.hasOwnProperty.call(e, n)) {
350
- if (r.includes(n)) continue;
350
+ if (-1 !== r.indexOf(n)) continue;
351
351
  t[n] = e[n];
352
352
  }
353
353
  }
@@ -493,7 +493,7 @@
493
493
  }, ge(e);
494
494
  }
495
495
  function he(e, r) {
496
- return Ce(e) || je(e, r) || we(e, r) || Oe();
496
+ return je(e) || xe(e, r) || we(e, r) || Oe();
497
497
  }
498
498
  function Oe() {
499
499
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -512,7 +512,7 @@
512
512
  }
513
513
  return n;
514
514
  }
515
- function je(e, r) {
515
+ function xe(e, r) {
516
516
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
517
517
  if (null != t) {
518
518
  var n, o, i, a, l = [], u = !0, c = !1;
@@ -534,16 +534,16 @@
534
534
  return l;
535
535
  }
536
536
  }
537
- function Ce(e) {
537
+ function je(e) {
538
538
  if (Array.isArray(e)) return e;
539
539
  }
540
- function xe(e, r) {
540
+ function Ce(e, r) {
541
541
  if (null == e) return {};
542
542
  var t, n, o = ke(e, r);
543
543
  if (Object.getOwnPropertySymbols) {
544
544
  var i = Object.getOwnPropertySymbols(e);
545
545
  for (n = 0; n < i.length; n++) {
546
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
546
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
547
547
  }
548
548
  }
549
549
  return o;
@@ -553,7 +553,7 @@
553
553
  var t = {};
554
554
  for (var n in e) {
555
555
  if ({}.hasOwnProperty.call(e, n)) {
556
- if (r.includes(n)) continue;
556
+ if (-1 !== r.indexOf(n)) continue;
557
557
  t[n] = e[n];
558
558
  }
559
559
  }
@@ -570,13 +570,13 @@
570
570
  returnFocus: c().oneOfType([ c().func, c().object ]).isRequired
571
571
  };
572
572
  function Ee(e) {
573
- var r = e.children, o = e.closeOnClickAway, a = e.elementRef, u = e.divider, c = u === void 0 ? "both" : u, s = e.initialFocus, d = s === void 0 ? "first" : s, y = e.onRequestClose, m = e.open, g = m === void 0 ? false : m, h = e.returnFocus, O = e.style, w = xe(e, [ "children", "closeOnClickAway", "elementRef", "divider", "initialFocus", "onRequestClose", "open", "returnFocus", "style" ]);
573
+ var r = e.children, o = e.closeOnClickAway, a = e.elementRef, u = e.divider, c = u === void 0 ? "both" : u, s = e.initialFocus, d = s === void 0 ? "first" : s, y = e.onRequestClose, m = e.open, g = m === void 0 ? false : m, h = e.returnFocus, O = e.style, w = Ce(e, [ "children", "closeOnClickAway", "elementRef", "divider", "initialFocus", "onRequestClose", "open", "returnFocus", "style" ]);
574
574
  // @docs-props-type ModalPropsBase
575
575
  var S = (0, t.useRef)(null);
576
576
  // this timeout ensures that the Modal is finished rendering before setting the focus
577
- var j;
578
- var C = (0, t.useRef)(undefined);
579
- var x = (0, t.useRef)(null);
577
+ var x;
578
+ var j = (0, t.useRef)(undefined);
579
+ var C = (0, t.useRef)(null);
580
580
  var k = (0, t.useState)((function() {
581
581
  return {
582
582
  headerTitleId: (0, b.createDOMID)("titleId"),
@@ -601,12 +601,12 @@
601
601
  }), [ g ]);
602
602
  var D = (0, t.useCallback)((function(e) {
603
603
  if (g) {
604
- C.current = i()((function() {
604
+ j.current = i()((function() {
605
605
  var e;
606
606
  // not using the takeFocus() util here because it
607
607
  // doesn't work for all values of "initialFocus"
608
608
  // and it has a nested defer() call, which we want to avoid
609
- if (x.current !== d) {
609
+ if (C.current !== d) {
610
610
  if (d === "first") {
611
611
  if (S.current) {
612
612
  /* eslint-disable prefer-destructuring */
@@ -622,12 +622,12 @@
622
622
  if (e != null && "focus" in e) {
623
623
  e.focus();
624
624
  }
625
- x.current = d;
625
+ C.current = d;
626
626
  }
627
627
  }));
628
628
  } else {
629
- x.current = null;
630
- clearTimeout(C.current);
629
+ C.current = null;
630
+ clearTimeout(j.current);
631
631
  if (e) {
632
632
  /**
633
633
  * We return focus to the invoking element here instead of in `handleRequestClose` because users can
@@ -647,13 +647,13 @@
647
647
  }
648
648
  }), [ d, g, h ]);
649
649
  (0, t.useEffect)((function() {
650
- if (x.current !== d) {
650
+ if (C.current !== d) {
651
651
  // cancel the defer() set up in handleInitialFocus()
652
652
  // so that focus won't jump around if "initialFocus" changes
653
- clearTimeout(C.current);
653
+ clearTimeout(j.current);
654
654
  }
655
655
  D(_);
656
- }), [ D, d, g, j, _ ]);
656
+ }), [ D, d, g, x, _ ]);
657
657
  var M = (0, t.useCallback)((function(e) {
658
658
  S.current = e;
659
659
  fe(a, e);
@@ -664,7 +664,7 @@
664
664
  }
665
665
  };
666
666
  var B = (0, t.useCallback)((function(e) {
667
- x.current = null;
667
+ C.current = null;
668
668
  y === null || y === void 0 ? void 0 : y(e);
669
669
  }), [ y ]);
670
670
  var F = (0, t.useMemo)((function() {