@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/Accordion.js CHANGED
@@ -61,8 +61,8 @@
61
61
  e.r(n);
62
62
  // EXPORTS
63
63
  e.d(n, {
64
- Panel: () => /* reexport */ w,
65
- default: () => /* reexport */ V
64
+ Panel: () => /* reexport */ x,
65
+ default: () => /* reexport */ D
66
66
  });
67
67
  // CONCATENATED MODULE: external "react"
68
68
  const r = require("react");
@@ -85,17 +85,17 @@
85
85
  // CONCATENATED MODULE: external "@splunk/themes"
86
86
  const v = require("@splunk/themes");
87
87
  // CONCATENATED MODULE: ./src/Accordion/AccordionStyles.ts
88
- var y = f()(p()).withConfig({
88
+ var m = f()(p()).withConfig({
89
89
  displayName: "AccordionStyles__StyledBox",
90
90
  componentId: "m39hyh-0"
91
91
  })([ "", ";flex-direction:column;margin-bottom:0;" ], v.mixins.reset("flex"));
92
92
  // CONCATENATED MODULE: external "@splunk/react-ui/CollapsiblePanel"
93
- const m = require("@splunk/react-ui/CollapsiblePanel");
94
- var b = e.n(m);
93
+ const y = require("@splunk/react-ui/CollapsiblePanel");
94
+ var b = e.n(y);
95
95
  // CONCATENATED MODULE: ./src/Accordion/AccordionContext.tsx
96
- var h = (0, r.createContext)({});
97
- h.displayName = "Accordion";
98
- /* harmony default export */ const g = h;
96
+ var g = (0, r.createContext)({});
97
+ g.displayName = "Accordion";
98
+ /* harmony default export */ const h = g;
99
99
  // CONCATENATED MODULE: ./src/Accordion/Panel.tsx
100
100
  function O() {
101
101
  return O = Object.assign ? Object.assign.bind() : function(e) {
@@ -114,7 +114,7 @@
114
114
  if (Object.getOwnPropertySymbols) {
115
115
  var o = Object.getOwnPropertySymbols(e);
116
116
  for (t = 0; t < o.length; t++) {
117
- r = o[t], n.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
117
+ r = o[t], -1 === n.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
118
118
  }
119
119
  }
120
120
  return a;
@@ -124,7 +124,7 @@
124
124
  var r = {};
125
125
  for (var t in e) {
126
126
  if ({}.hasOwnProperty.call(e, t)) {
127
- if (n.includes(t)) continue;
127
+ if (-1 !== n.indexOf(t)) continue;
128
128
  r[t] = e[t];
129
129
  }
130
130
  }
@@ -145,7 +145,7 @@
145
145
  */ function C(e) {
146
146
  var n = e.panelId, a = e.inset, o = P(e, [ "panelId", "inset" ]);
147
147
  // @docs-props-type AccordionPanelPropsBase
148
- var l = (0, r.useContext)(h), i = l.onChange, u = l.openPanelId, c = l.inset;
148
+ var l = (0, r.useContext)(g), i = l.onChange, u = l.openPanelId, c = l.inset;
149
149
  var s = u === n;
150
150
  var f = a !== undefined ? a : c;
151
151
  // Props are different based on controlled/uncontrolled
@@ -166,7 +166,27 @@
166
166
  }, o, d));
167
167
  }
168
168
  C.propTypes = j;
169
- /* harmony default export */ const w = C;
169
+ /* harmony default export */ const x = C;
170
+ // CONCATENATED MODULE: ./src/utils/useDeprecate.tsx
171
+ var w = "is deprecated and will be removed in the next major version.";
172
+ var A = function e(n) {
173
+ var t = n.additionalMessage, a = t === void 0 ? "" : t, o = n.componentName;
174
+ (0, r.useEffect)((function() {
175
+ if (false) {}
176
+ }), [ a, o ]);
177
+ };
178
+ var E = function e(n) {
179
+ var r = n.additionalMessage, t = r === void 0 ? "" : r, a = n.componentName, o = n.propName, l = n.propValue;
180
+ useEffect((function() {
181
+ if (false) {}
182
+ }), [ t, a, o, l ]);
183
+ };
184
+ var N = function e(n) {
185
+ var r = n.additionalMessage, t = r === void 0 ? "" : r, a = n.componentName, o = n.deprecatedPropValue, l = n.propName, i = n.propValue;
186
+ useEffect((function() {
187
+ if (false) {}
188
+ }), [ t, a, l, i, o ]);
189
+ };
170
190
  // CONCATENATED MODULE: ./src/Accordion/Accordion.tsx
171
191
  function q() {
172
192
  return q = Object.assign ? Object.assign.bind() : function(e) {
@@ -179,27 +199,27 @@
179
199
  return e;
180
200
  }, q.apply(null, arguments);
181
201
  }
182
- function x(e, n) {
183
- return T(e) || R(e, n) || E(e, n) || A();
202
+ function M(e, n) {
203
+ return V(e) || _(e, n) || R(e, n) || k();
184
204
  }
185
- function A() {
205
+ function k() {
186
206
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
187
207
  }
188
- function E(e, n) {
208
+ function R(e, n) {
189
209
  if (e) {
190
- if ("string" == typeof e) return k(e, n);
210
+ if ("string" == typeof e) return T(e, n);
191
211
  var r = {}.toString.call(e).slice(8, -1);
192
- 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) ? k(e, n) : void 0;
212
+ 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) ? T(e, n) : void 0;
193
213
  }
194
214
  }
195
- function k(e, n) {
215
+ function T(e, n) {
196
216
  (null == n || n > e.length) && (n = e.length);
197
217
  for (var r = 0, t = Array(n); r < n; r++) {
198
218
  t[r] = e[r];
199
219
  }
200
220
  return t;
201
221
  }
202
- function R(e, n) {
222
+ function _(e, n) {
203
223
  var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
204
224
  if (null != r) {
205
225
  var t, a, o, l, i = [], u = !0, c = !1;
@@ -221,32 +241,32 @@
221
241
  return i;
222
242
  }
223
243
  }
224
- function T(e) {
244
+ function V(e) {
225
245
  if (Array.isArray(e)) return e;
226
246
  }
227
- function _(e, n) {
247
+ function B(e, n) {
228
248
  if (null == e) return {};
229
- var r, t, a = M(e, n);
249
+ var r, t, a = U(e, n);
230
250
  if (Object.getOwnPropertySymbols) {
231
251
  var o = Object.getOwnPropertySymbols(e);
232
252
  for (t = 0; t < o.length; t++) {
233
- r = o[t], n.includes(r) || {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
253
+ r = o[t], -1 === n.indexOf(r) && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
234
254
  }
235
255
  }
236
256
  return a;
237
257
  }
238
- function M(e, n) {
258
+ function U(e, n) {
239
259
  if (null == e) return {};
240
260
  var r = {};
241
261
  for (var t in e) {
242
262
  if ({}.hasOwnProperty.call(e, t)) {
243
- if (n.includes(t)) continue;
263
+ if (-1 !== n.indexOf(t)) continue;
244
264
  r[t] = e[t];
245
265
  }
246
266
  }
247
267
  return r;
248
268
  }
249
- /** @public */ var N = {
269
+ /** @public */ var $ = {
250
270
  children: o().node,
251
271
  defaultOpenPanelId: o().any,
252
272
  elementRef: o().oneOfType([ o().func, o().object ]),
@@ -257,12 +277,13 @@
257
277
  /**
258
278
  * @deprecated
259
279
  * Accordion has been deprecated and will be removed in a future major version. Use Collapsible Panel's SingleOpenPanelGroup API instead.
260
- */ function B(e) {
261
- var n = e.children, a = e.defaultOpenPanelId, o = e.elementRef, l = e.inset, u = l === void 0 ? true : l, s = e.onChange, f = e.openPanelId, d = _(e, [ "children", "defaultOpenPanelId", "elementRef", "inset", "onChange", "openPanelId" ]);
280
+ */ function z(e) {
281
+ var n = e.children, a = e.defaultOpenPanelId, o = e.elementRef, l = e.inset, u = l === void 0 ? true : l, s = e.onChange, f = e.openPanelId, d = B(e, [ "children", "defaultOpenPanelId", "elementRef", "inset", "onChange", "openPanelId" ]);
262
282
  // @docs-props-type AccordionPropsBase
263
- (0, r.useEffect)((function() {
264
- if (false) {}
265
- }), []);
283
+ A({
284
+ additionalMessage: "Use Collapsible Panel instead.",
285
+ componentName: "Accordion"
286
+ });
266
287
  var p = c()(a);
267
288
  (0, r.useEffect)((function() {
268
289
  if (false) {}
@@ -275,8 +296,8 @@
275
296
  defaultValuePropName: "defaultOpenPanelId",
276
297
  valuePropName: "openPanelId"
277
298
  });
278
- var m = (0, r.useState)(a), b = x(m, 2), h = b[0], O = b[1];
279
- var P = v ? f : h;
299
+ var y = (0, r.useState)(a), b = M(y, 2), g = b[0], O = b[1];
300
+ var P = v ? f : g;
280
301
  var I = r.Children.toArray(n).filter(r.isValidElement);
281
302
  // remove false, null, 0, etc
282
303
  var j = (0, r.useCallback)((function(e, n) {
@@ -300,17 +321,17 @@
300
321
  };
301
322
  }), [ j, u, P ]);
302
323
 
303
- return t().createElement(y, q({
324
+ return t().createElement(m, q({
304
325
  "data-test": "accordion",
305
326
  "data-test-open-panel-id": P,
306
327
  elementRef: o
307
- }, d), t().createElement(g.Provider, {
328
+ }, d), t().createElement(h.Provider, {
308
329
  value: S
309
330
  }, I));
310
331
  }
311
- B.propTypes = N;
312
- B.Panel = w;
313
- /* harmony default export */ const V = B;
332
+ z.propTypes = $;
333
+ z.Panel = x;
334
+ /* harmony default export */ const D = z;
314
335
  // CONCATENATED MODULE: ./src/Accordion/index.ts
315
336
  module.exports = n;
316
337
  /******/})();
package/Anchor.js CHANGED
@@ -76,13 +76,13 @@
76
76
  const l = require("@splunk/themes");
77
77
  // CONCATENATED MODULE: ./src/Anchor/AnchorStyles.ts
78
78
  // TODO: name is deprecated, it's only defined here to satisfy ts - remove/replace
79
- var s = c().a.withConfig({
79
+ var f = c().a.withConfig({
80
80
  displayName: "AnchorStyles__StyledAnchor",
81
81
  componentId: "sc-1m9yzet-0"
82
82
  })([ "", ";color:inherit;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;text-decoration:inherit;text-rendering:inherit;text-transform:inherit;cursor:pointer;margin:1px;&:hover::after{content:' #';opacity:0.5;}&:focus,&:active{box-shadow:", ";&::after{content:' #';opacity:0.5;}}" ], l.mixins.reset("inline"), l.variables.focusShadow);
83
83
  // CONCATENATED MODULE: ./src/Anchor/Anchor.tsx
84
- function u() {
85
- return u = Object.assign ? Object.assign.bind() : function(e) {
84
+ function s() {
85
+ return s = Object.assign ? Object.assign.bind() : function(e) {
86
86
  for (var r = 1; r < arguments.length; r++) {
87
87
  var t = arguments[r];
88
88
  for (var n in t) {
@@ -90,15 +90,15 @@
90
90
  }
91
91
  }
92
92
  return e;
93
- }, u.apply(null, arguments);
93
+ }, s.apply(null, arguments);
94
94
  }
95
- function f(e, r) {
95
+ function u(e, r) {
96
96
  if (null == e) return {};
97
97
  var t, n, o = d(e, r);
98
98
  if (Object.getOwnPropertySymbols) {
99
99
  var i = Object.getOwnPropertySymbols(e);
100
100
  for (n = 0; n < i.length; n++) {
101
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
101
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
102
102
  }
103
103
  }
104
104
  return o;
@@ -108,7 +108,7 @@
108
108
  var t = {};
109
109
  for (var n in e) {
110
110
  if ({}.hasOwnProperty.call(e, n)) {
111
- if (r.includes(n)) continue;
111
+ if (-1 !== r.indexOf(n)) continue;
112
112
  t[n] = e[n];
113
113
  }
114
114
  }
@@ -122,10 +122,10 @@
122
122
  /**
123
123
  * `Anchor` is a utility component used to add a fragment link to an element.
124
124
  */ function h(e) {
125
- var r = e.children, t = e.elementRef, o = e.name, i = f(e, [ "children", "elementRef", "name" ]);
125
+ var r = e.children, t = e.elementRef, o = e.name, i = u(e, [ "children", "elementRef", "name" ]);
126
126
  // @docs-props-type AnchorPropsBase
127
127
 
128
- return n().createElement(s, u({
128
+ return n().createElement(f, s({
129
129
  "data-test": "anchor",
130
130
  ref: t
131
131
  }, i, {
package/Animation.js CHANGED
@@ -113,7 +113,7 @@
113
113
  if (Object.getOwnPropertySymbols) {
114
114
  var o = Object.getOwnPropertySymbols(e);
115
115
  for (n = 0; n < o.length; n++) {
116
- t = o[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (i[t] = e[t]);
116
+ t = o[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (i[t] = e[t]);
117
117
  }
118
118
  }
119
119
  return i;
@@ -123,7 +123,7 @@
123
123
  var t = {};
124
124
  for (var n in e) {
125
125
  if ({}.hasOwnProperty.call(e, n)) {
126
- if (r.includes(n)) continue;
126
+ if (-1 !== r.indexOf(n)) continue;
127
127
  t[n] = e[n];
128
128
  }
129
129
  }
package/Avatar.js CHANGED
@@ -140,19 +140,19 @@
140
140
  const O = require("@splunk/ui-utils/color");
141
141
  // CONCATENATED MODULE: ./src/utils/determineTextBrightness.ts
142
142
  function S(e, r) {
143
- return k(e) || C(e, r) || j(e, r) || w();
143
+ return k(e) || C(e, r) || x(e, r) || w();
144
144
  }
145
145
  function w() {
146
146
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
147
147
  }
148
- function j(e, r) {
148
+ function x(e, r) {
149
149
  if (e) {
150
- if ("string" == typeof e) return x(e, r);
150
+ if ("string" == typeof e) return j(e, r);
151
151
  var t = {}.toString.call(e).slice(8, -1);
152
- return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? x(e, r) : void 0;
152
+ return "Object" === t && e.constructor && (t = e.constructor.name), "Map" === t || "Set" === t ? Array.from(e) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? j(e, r) : void 0;
153
153
  }
154
154
  }
155
- function x(e, r) {
155
+ function j(e, r) {
156
156
  (null == r || r > e.length) && (r = e.length);
157
157
  for (var t = 0, n = Array(r); t < r; t++) {
158
158
  n[t] = e[t];
@@ -360,7 +360,7 @@
360
360
  if (Object.getOwnPropertySymbols) {
361
361
  var i = Object.getOwnPropertySymbols(e);
362
362
  for (n = 0; n < i.length; n++) {
363
- t = i[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
363
+ t = i[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (o[t] = e[t]);
364
364
  }
365
365
  }
366
366
  return o;
@@ -370,7 +370,7 @@
370
370
  var t = {};
371
371
  for (var n in e) {
372
372
  if ({}.hasOwnProperty.call(e, n)) {
373
- if (r.includes(n)) continue;
373
+ if (-1 !== r.indexOf(n)) continue;
374
374
  t[n] = e[n];
375
375
  }
376
376
  }
@@ -443,15 +443,15 @@
443
443
  $textColor: b
444
444
  }, a));
445
445
  var h = l !== null && l !== void 0 ? l : g;
446
- var O = (0, t.useState)("loading"), S = M(O, 2), w = S[0], j = S[1];
446
+ var O = (0, t.useState)("loading"), S = M(O, 2), w = S[0], x = S[1];
447
447
  if ( (0, t.isValidElement)(l)) {
448
448
  if (l.type === "img") {
449
- var x = l.props, C = x.src, k = x.alt, P = x.onError, E = U(x, [ "src", "alt", "onError" ]);
449
+ var j = l.props, C = j.src, k = j.alt, P = j.onError, E = U(j, [ "src", "alt", "onError" ]);
450
450
  var I = n().createElement("img", H({
451
451
  src: C,
452
452
  alt: k,
453
453
  onError: function e() {
454
- j("error");
454
+ x("error");
455
455
  if (P) {
456
456
  P();
457
457
  }
package/Box.js CHANGED
@@ -97,7 +97,7 @@
97
97
  if (Object.getOwnPropertySymbols) {
98
98
  var i = Object.getOwnPropertySymbols(e);
99
99
  for (r = 0; r < i.length; r++) {
100
- t = i[r], n.includes(t) || {}.propertyIsEnumerable.call(e, t) && (l[t] = e[t]);
100
+ t = i[r], -1 === n.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (l[t] = e[t]);
101
101
  }
102
102
  }
103
103
  return l;
@@ -107,7 +107,7 @@
107
107
  var t = {};
108
108
  for (var r in e) {
109
109
  if ({}.hasOwnProperty.call(e, r)) {
110
- if (n.includes(r)) continue;
110
+ if (-1 !== n.indexOf(r)) continue;
111
111
  t[r] = e[r];
112
112
  }
113
113
  }
package/Breadcrumbs.js CHANGED
@@ -62,8 +62,8 @@
62
62
  // EXPORTS
63
63
  e.d(r, {
64
64
  BreadcrumbsContext: () => /* reexport */ j,
65
- Item: () => /* reexport */ O,
66
- default: () => /* reexport */ x
65
+ Item: () => /* reexport */ h,
66
+ default: () => /* reexport */ _
67
67
  });
68
68
  // CONCATENATED MODULE: external "react"
69
69
  const n = require("react");
@@ -117,7 +117,7 @@
117
117
  if (Object.getOwnPropertySymbols) {
118
118
  var l = Object.getOwnPropertySymbols(e);
119
119
  for (t = 0; t < l.length; t++) {
120
- n = l[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
120
+ n = l[t], -1 === r.indexOf(n) && {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
121
121
  }
122
122
  }
123
123
  return a;
@@ -127,7 +127,7 @@
127
127
  var n = {};
128
128
  for (var t in e) {
129
129
  if ({}.hasOwnProperty.call(e, t)) {
130
- if (r.includes(t)) continue;
130
+ if (-1 !== r.indexOf(t)) continue;
131
131
  n[t] = e[t];
132
132
  }
133
133
  }
@@ -143,7 +143,7 @@
143
143
  startAdornment: l().node,
144
144
  to: l().string.isRequired
145
145
  };
146
- function h(e) {
146
+ function O(e) {
147
147
  var r = e.enableCurrentPage, a = e.endAdornment, l = e.isCurrent, o = e.label, i = e.onClick, c = e.startAdornment, u = e.to, s = y(e, [ "enableCurrentPage", "endAdornment", "isCurrent", "label", "onClick", "startAdornment", "to" ]);
148
148
  // @docs-props-type ItemPropsBase
149
149
  var d = (0, n.useContext)(j), f = d.onClick;
@@ -175,8 +175,8 @@
175
175
  "data-test": "item"
176
176
  }, g, p, s), c && c, o, a && a);
177
177
  }
178
- h.propTypes = C;
179
- /* harmony default export */ const O = h;
178
+ O.propTypes = C;
179
+ /* harmony default export */ const h = O;
180
180
  // CONCATENATED MODULE: ./src/Breadcrumbs/Breadcrumbs.tsx
181
181
  function w() {
182
182
  return w = Object.assign ? Object.assign.bind() : function(e) {
@@ -195,7 +195,7 @@
195
195
  if (Object.getOwnPropertySymbols) {
196
196
  var l = Object.getOwnPropertySymbols(e);
197
197
  for (t = 0; t < l.length; t++) {
198
- n = l[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
198
+ n = l[t], -1 === r.indexOf(n) && {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
199
199
  }
200
200
  }
201
201
  return a;
@@ -205,7 +205,7 @@
205
205
  var n = {};
206
206
  for (var t in e) {
207
207
  if ({}.hasOwnProperty.call(e, t)) {
208
- if (r.includes(t)) continue;
208
+ if (-1 !== r.indexOf(t)) continue;
209
209
  n[t] = e[t];
210
210
  }
211
211
  }
@@ -218,7 +218,7 @@
218
218
  onClick: l().func
219
219
  };
220
220
  var j = t().createContext({});
221
- function _(e) {
221
+ function x(e) {
222
222
  var r = e.children, a = e.elementRef, l = e.enableCurrentPage, i = e.onClick, c = S(e, [ "children", "elementRef", "enableCurrentPage", "onClick" ]);
223
223
  // @docs-props-type BreadcrumbsPropsBase
224
224
  var u;
@@ -252,9 +252,9 @@
252
252
  ref: a
253
253
  }, c), t().createElement(s, null, p)));
254
254
  }
255
- _.propTypes = k;
256
- _.Item = O;
257
- /* harmony default export */ const x = _;
255
+ x.propTypes = k;
256
+ x.Item = h;
257
+ /* harmony default export */ const _ = x;
258
258
  // CONCATENATED MODULE: ./src/Breadcrumbs/index.ts
259
259
  module.exports = r;
260
260
  /******/})();
package/Button.js CHANGED
@@ -97,18 +97,18 @@
97
97
  var x = y()(h()).withConfig({
98
98
  displayName: "ButtonStyles__StyledButtonSimple",
99
99
  componentId: "eqxqs2-0"
100
- })([ "vertical-align:middle;text-decoration:none;white-space:nowrap;flex-grow:1;min-width:", ";max-width:100%;min-height:", ";padding:2px ", ";line-height:20px;", " ", " &[data-inline]{display:inline-flex;}" ], w.variables.inputHeight, w.variables.inputHeight, w.variables.spacingSmall, (function(e) {
100
+ })([ "vertical-align:middle;text-decoration:none;white-space:nowrap;flex-grow:1;min-width:", ";max-width:100%;min-height:", ";padding:2px ", ";line-height:", ";", " ", " &[data-inline]{display:inline-flex;}" ], w.variables.inputHeight, w.variables.inputHeight, w.variables.spacingSmall, w.variables.lineHeightSpacious, (function(e) {
101
101
  var n = e.$inline, t = e.append, r = e.prepend;
102
102
  return !n && !t && !r && (0, m.css)([ "width:100%;" ]);
103
103
  }), (function(e) {
104
104
  var n = e.$isIconOnly;
105
105
  return n && (0, m.css)([ "width:", ";" ], w.variables.inputHeight);
106
106
  }));
107
- var S = y().span.withConfig({
107
+ var O = y().span.withConfig({
108
108
  displayName: "ButtonStyles__StyledContentWrapper",
109
109
  componentId: "eqxqs2-1"
110
110
  })([ "display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1 0 auto;max-width:100%;gap:", ";box-sizing:border-box;" ], w.variables.spacingXSmall);
111
- var O = y().span.withConfig({
111
+ var S = y().span.withConfig({
112
112
  displayName: "ButtonStyles__StyledLabel",
113
113
  componentId: "eqxqs2-2"
114
114
  })([ "text-overflow:ellipsis;overflow:hidden;flex:0 1 auto;", "" ], (function(e) {
@@ -133,7 +133,7 @@
133
133
  if (Object.getOwnPropertySymbols) {
134
134
  var i = Object.getOwnPropertySymbols(e);
135
135
  for (r = 0; r < i.length; r++) {
136
- t = i[r], n.includes(t) || {}.propertyIsEnumerable.call(e, t) && (a[t] = e[t]);
136
+ t = i[r], -1 === n.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (a[t] = e[t]);
137
137
  }
138
138
  }
139
139
  return a;
@@ -143,7 +143,7 @@
143
143
  var t = {};
144
144
  for (var r in e) {
145
145
  if ({}.hasOwnProperty.call(e, r)) {
146
- if (n.includes(r)) continue;
146
+ if (-1 !== n.indexOf(r)) continue;
147
147
  t[r] = e[r];
148
148
  }
149
149
  }
@@ -186,11 +186,11 @@
186
186
  }), [ a, g, k, P, M ]);
187
187
  var $ = !k && i()(c);
188
188
  var B = $ ? c : k;
189
- var R = false;
190
- var H;
189
+ var H = false;
190
+ var R;
191
191
  if (_) {
192
- R = true;
193
- H = typeof _ === "string" ? _ : I;
192
+ H = true;
193
+ R = typeof _ === "string" ? _ : I;
194
194
  }
195
195
  var z = !!(g && !k && !N && !c);
196
196
 
@@ -208,14 +208,14 @@
208
208
  error: y,
209
209
  isMenu: N,
210
210
  onClick: P ? T : undefined,
211
- openInNewContext: R,
211
+ openInNewContext: H,
212
212
  prepend: j,
213
213
  ref: n,
214
214
  value: M
215
- }, E), r().createElement(S, null, g, B && r().createElement(O, {
215
+ }, E), r().createElement(O, null, g, B && r().createElement(S, {
216
216
  "data-test": "label",
217
217
  $isMenu: N
218
- }, B), !$ && c, N && r().createElement(p(), null), _ && r().createElement(r().Fragment, null, r().createElement(u(), null), r().createElement(f(), null, H))));
218
+ }, B), !$ && c, N && r().createElement(p(), null), _ && r().createElement(r().Fragment, null, r().createElement(u(), null), r().createElement(f(), null, R))));
219
219
  }));
220
220
  P.propTypes = k;
221
221
  /* harmony default export */ const _ = P;
package/ButtonGroup.js CHANGED
@@ -75,13 +75,13 @@
75
75
  // CONCATENATED MODULE: external "@splunk/themes"
76
76
  const u = require("@splunk/themes");
77
77
  // CONCATENATED MODULE: ./src/ButtonGroup/ButtonGroupStyles.ts
78
- var s = a().div.withConfig({
78
+ var f = a().div.withConfig({
79
79
  displayName: "ButtonGroupStyles__StyledDiv",
80
80
  componentId: "sc-14fs2xs-0"
81
81
  })([ "", " position:relative;" ], u.mixins.reset("inline-flex"));
82
82
  // CONCATENATED MODULE: ./src/ButtonGroup/ButtonGroup.tsx
83
- function c() {
84
- return c = Object.assign ? Object.assign.bind() : function(e) {
83
+ function s() {
84
+ return s = Object.assign ? Object.assign.bind() : function(e) {
85
85
  for (var r = 1; r < arguments.length; r++) {
86
86
  var n = arguments[r];
87
87
  for (var t in n) {
@@ -89,15 +89,15 @@
89
89
  }
90
90
  }
91
91
  return e;
92
- }, c.apply(null, arguments);
92
+ }, s.apply(null, arguments);
93
93
  }
94
- function f(e, r) {
94
+ function c(e, r) {
95
95
  if (null == e) return {};
96
96
  var n, t, o = p(e, r);
97
97
  if (Object.getOwnPropertySymbols) {
98
98
  var l = Object.getOwnPropertySymbols(e);
99
99
  for (t = 0; t < l.length; t++) {
100
- n = l[t], r.includes(n) || {}.propertyIsEnumerable.call(e, n) && (o[n] = e[n]);
100
+ n = l[t], -1 === r.indexOf(n) && {}.propertyIsEnumerable.call(e, n) && (o[n] = e[n]);
101
101
  }
102
102
  }
103
103
  return o;
@@ -107,7 +107,7 @@
107
107
  var n = {};
108
108
  for (var t in e) {
109
109
  if ({}.hasOwnProperty.call(e, t)) {
110
- if (r.includes(t)) continue;
110
+ if (-1 !== r.indexOf(t)) continue;
111
111
  n[t] = e[t];
112
112
  }
113
113
  }
@@ -118,7 +118,7 @@
118
118
  elementRef: l().oneOfType([ l().func, l().object ])
119
119
  };
120
120
  function y(e) {
121
- var r = e.children, o = e.elementRef, l = f(e, [ "children", "elementRef" ]);
121
+ var r = e.children, o = e.elementRef, l = c(e, [ "children", "elementRef" ]);
122
122
  // @docs-props-type ButtonGroupPropsBase
123
123
  var i = n.Children.toArray(r).filter(n.isValidElement).map((function(e, r, t) {
124
124
  var o = t.length;
@@ -130,7 +130,7 @@
130
130
  });
131
131
  }));
132
132
 
133
- return t().createElement(s, c({
133
+ return t().createElement(f, s({
134
134
  "data-test": "button-group",
135
135
  ref: o,
136
136
  role: "group"
package/ButtonSimple.js CHANGED
@@ -255,7 +255,7 @@
255
255
  if (Object.getOwnPropertySymbols) {
256
256
  var n = Object.getOwnPropertySymbols(r);
257
257
  for (a = 0; a < n.length; a++) {
258
- o = n[a], e.includes(o) || {}.propertyIsEnumerable.call(r, o) && (t[o] = r[o]);
258
+ o = n[a], -1 === e.indexOf(o) && {}.propertyIsEnumerable.call(r, o) && (t[o] = r[o]);
259
259
  }
260
260
  }
261
261
  return t;
@@ -265,7 +265,7 @@
265
265
  var o = {};
266
266
  for (var a in r) {
267
267
  if ({}.hasOwnProperty.call(r, a)) {
268
- if (e.includes(a)) continue;
268
+ if (-1 !== e.indexOf(a)) continue;
269
269
  o[a] = r[a];
270
270
  }
271
271
  }
package/CHANGELOG.md CHANGED
@@ -1,6 +1,29 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 5.2.0 - August 5, 2025
5
+ ----------
6
+ New Features:
7
+ * New `Tree` component for implementing tree views (SUI-7849).
8
+ * `DefinitionList` now supports a new `layout` prop for `"fixed"` (default) and `"auto"` layouts. In the next major version, the `layout` prop will default to `"auto"` (SUI-7880).
9
+ * `DefinitionList` now supports a new `descriptionWidth` prop to customize description widths (SUI-7880).
10
+ * `TabBar` now supports custom icon size (SUI-7553).
11
+ * `Multiselect` with `compact` now supports `selectAllAppearance="none"` (SUI-5078).
12
+ * `SplitButton` supports a new `toggleRef` prop to target the dropdown toggle (SUI-8037).
13
+
14
+ Bug Fixes:
15
+ * `DefinitionList` no longer throws invalid prop warning when custom `separatorCharacter` is used (SUI-7880).
16
+ * `TabLayout`’s keyboard navigation now works correctly (SUI-7865).
17
+ * `DefinitionList` description now matches the term’s line-height for more consistent vertical spacing (SUI-7880).
18
+ * Fixed regression in `TabBar` where `Tab` width changed when active (SUI-7553).
19
+ * `CollapsiblePanel` no longer animates expand panel icon when open by default (SUI-7877).
20
+ * `Multiselect` with `compact` will no longer incorrectly show a focus border on "Select All" when `filter={false}` and `selectAllAppearance="checkbox"` (SUI-8042).
21
+ * `Multiselect` with `compact` will now focus "Select All" if no options are selected when `filter={false}` and `selectAllAppearance="checkbox"` (SUI-8042).
22
+ * `Popover` and components using it will no longer propagate events to components behind the `Popover` (SUI-7996).
23
+ * `Layer` no longer throws an error when one of its `children` becomes fullscreen (SUI-8014).
24
+ * Improved `Table`'s truncation behavior in low string length label scenarios and improved probability of truncation ellipses showing in full (SUI-8025).
25
+ * `Menu.Item` now enforces through TypeScript types that `selected` and `selectableAppearance` props can only be used when `selectable` is enabled (SUI‑6495).
26
+
4
27
  5.1.0 - July 2, 2025
5
28
  ----------
6
29
  New Features: