@splunk/react-ui 5.1.0 → 5.3.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 (445) hide show
  1. package/Accordion.js +60 -39
  2. package/Anchor.js +9 -9
  3. package/Animation.js +2 -2
  4. package/Avatar.js +63 -58
  5. package/Box.js +4 -3
  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 +54 -0
  11. package/Calendar.js +69 -65
  12. package/Card.js +286 -255
  13. package/CardLayout.js +10 -10
  14. package/Checkbox.d.ts +2 -0
  15. package/Checkbox.js +350 -0
  16. package/Chip.js +31 -31
  17. package/Clickable.js +29 -29
  18. package/Code.js +161 -142
  19. package/CollapsiblePanel.js +200 -224
  20. package/Color.js +14 -12
  21. package/ColumnLayout.js +16 -16
  22. package/ComboBox.js +110 -110
  23. package/ControlGroup.js +101 -100
  24. package/Date.js +144 -140
  25. package/DefinitionList.js +137 -94
  26. package/Divider.js +2 -2
  27. package/Dropdown.js +2 -2
  28. package/DualListbox.js +446 -385
  29. package/File.js +121 -118
  30. package/FormRows.js +15 -15
  31. package/Heading.js +15 -15
  32. package/Image.js +31 -31
  33. package/JSONTree.js +543 -513
  34. package/Layer.js +4 -1
  35. package/Layout.js +10 -10
  36. package/Link.js +13 -13
  37. package/List.js +24 -24
  38. package/MIGRATION.md +27 -0
  39. package/Markdown.js +237 -226
  40. package/Menu.js +63 -60
  41. package/Message.js +20 -20
  42. package/MessageBar.js +13 -13
  43. package/Modal.js +36 -36
  44. package/Monogram.js +94 -68
  45. package/Multiselect.js +1032 -910
  46. package/Number.js +18 -18
  47. package/Paginator.js +41 -40
  48. package/Paragraph.js +10 -10
  49. package/Popover.js +243 -208
  50. package/Progress.js +6 -6
  51. package/Prose.js +16 -16
  52. package/RadioBar.js +118 -118
  53. package/RadioList.js +137 -113
  54. package/Resize.js +20 -20
  55. package/ResultsMenu.js +50 -49
  56. package/ScreenReaderContent.js +13 -13
  57. package/Scroll.js +25 -24
  58. package/Search.js +143 -139
  59. package/Select.js +942 -838
  60. package/SidePanel.js +29 -29
  61. package/Slider.js +30 -30
  62. package/SlidingPanels.js +28 -28
  63. package/SplitButton.js +100 -72
  64. package/StaticContent.js +6 -6
  65. package/StepBar.js +8 -8
  66. package/Switch.js +197 -229
  67. package/TabBar.js +293 -270
  68. package/TabLayout.js +68 -68
  69. package/Table.js +825 -800
  70. package/Text.js +182 -208
  71. package/TextArea.js +235 -226
  72. package/Tooltip.js +149 -144
  73. package/TransitionOpen.js +11 -11
  74. package/Tree.js +194 -189
  75. package/Typography.js +15 -15
  76. package/WaitSpinner.js +6 -6
  77. package/package.json +19 -23
  78. package/tsconfig.check-docs.json +8 -0
  79. package/types/src/Accordion/docs/examples/Controlled.d.ts +3 -0
  80. package/types/src/Accordion/docs/examples/Inset.d.ts +4 -0
  81. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +3 -0
  82. package/types/src/Anchor/docs/examples/Basic.d.ts +4 -0
  83. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +4 -0
  84. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +4 -0
  85. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +4 -0
  86. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +4 -0
  87. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +4 -0
  88. package/types/src/Avatar/docs/examples/Basic.d.ts +4 -0
  89. package/types/src/Avatar/docs/examples/Image.d.ts +4 -0
  90. package/types/src/Avatar/docs/examples/Interactive.d.ts +4 -0
  91. package/types/src/Avatar/docs/examples/Size.d.ts +4 -0
  92. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +4 -0
  93. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +3 -0
  94. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +4 -0
  95. package/types/src/Button/docs/examples/Basic.d.ts +3 -0
  96. package/types/src/Button/docs/examples/Block.d.ts +4 -0
  97. package/types/src/Button/docs/examples/Disabled.d.ts +4 -0
  98. package/types/src/Button/docs/examples/Icons.d.ts +4 -0
  99. package/types/src/Button/docs/examples/Menus.d.ts +4 -0
  100. package/types/src/Button/docs/examples/To.d.ts +4 -0
  101. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +3 -0
  102. package/types/src/Card/docs/examples/Basic.d.ts +4 -0
  103. package/types/src/Card/docs/examples/Clickable.d.ts +4 -0
  104. package/types/src/Card/docs/examples/Full.d.ts +4 -0
  105. package/types/src/Card/docs/examples/HeadingTitle.d.ts +4 -0
  106. package/types/src/Card/docs/examples/Images.d.ts +4 -0
  107. package/types/src/Card/docs/examples/Selectable.d.ts +4 -0
  108. package/types/src/CardLayout/docs/examples/Basic.d.ts +3 -0
  109. package/types/src/CardLayout/docs/examples/Interactive.d.ts +4 -0
  110. package/types/src/Checkbox/Checkbox.d.ts +90 -0
  111. package/types/src/Checkbox/docs/examples/Basic.d.ts +7 -0
  112. package/types/src/Checkbox/docs/examples/Disabled.d.ts +6 -0
  113. package/types/src/Checkbox/docs/examples/Error.d.ts +6 -0
  114. package/types/src/Checkbox/docs/examples/Uncontrolled.d.ts +7 -0
  115. package/types/src/Checkbox/index.d.ts +2 -0
  116. package/types/src/Chip/docs/examples/Appearance.d.ts +3 -0
  117. package/types/src/Chip/docs/examples/CustomColors.d.ts +4 -0
  118. package/types/src/Chip/docs/examples/Disabled.d.ts +3 -0
  119. package/types/src/Chip/docs/examples/Icon.d.ts +3 -0
  120. package/types/src/Chip/docs/examples/Removable.d.ts +3 -0
  121. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +4 -0
  122. package/types/src/Clickable/docs/examples/Disabled.d.ts +4 -0
  123. package/types/src/Code/Code.d.ts +4 -1
  124. package/types/src/Code/LineHighlights.d.ts +1 -0
  125. package/types/src/Code/LineNumbers.d.ts +2 -1
  126. package/types/src/Code/docs/examples/CustomizeContainer.d.ts +7 -0
  127. package/types/src/Code/docs/examples/Default.d.ts +3 -0
  128. package/types/src/Code/docs/examples/HideIndent.d.ts +4 -0
  129. package/types/src/Code/docs/examples/Language.d.ts +4 -0
  130. package/types/src/Code/docs/examples/LineHighlights.d.ts +4 -0
  131. package/types/src/Code/docs/examples/LineNumbers.d.ts +4 -0
  132. package/types/src/Code/docs/examples/LineNumbersCustomStart.d.ts +4 -0
  133. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +4 -0
  134. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +3 -0
  135. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +3 -0
  136. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +7 -0
  137. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +3 -0
  138. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +3 -0
  139. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +4 -0
  140. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +4 -0
  141. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +4 -0
  142. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +4 -0
  143. package/types/src/Color/docs/examples/Controlled.d.ts +3 -0
  144. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +4 -0
  145. package/types/src/Color/docs/examples/HideInput.d.ts +4 -0
  146. package/types/src/Color/docs/examples/Null.d.ts +4 -0
  147. package/types/src/Color/docs/examples/ThemeVariables.d.ts +4 -0
  148. package/types/src/Color/docs/examples/Transparent.d.ts +4 -0
  149. package/types/src/Color/docs/examples/Uncontrolled.d.ts +3 -0
  150. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +4 -0
  151. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +4 -0
  152. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +4 -0
  153. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +4 -0
  154. package/types/src/ComboBox/docs/examples/Controlled.d.ts +4 -0
  155. package/types/src/ComboBox/docs/examples/Fetching.d.ts +4 -0
  156. package/types/src/ComboBox/docs/examples/Headings.d.ts +3 -0
  157. package/types/src/ComboBox/docs/examples/Label.d.ts +4 -0
  158. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +4 -0
  159. package/types/src/ControlGroup/docs/examples/Basic.d.ts +4 -0
  160. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +7 -3
  161. package/types/src/ControlGroup/docs/examples/Error.d.ts +4 -0
  162. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +4 -0
  163. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +4 -0
  164. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +4 -0
  165. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +4 -0
  166. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +4 -0
  167. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +4 -0
  168. package/types/src/ControlGroup/docs/examples/Required.d.ts +4 -0
  169. package/types/src/Date/Date.d.ts +7 -1
  170. package/types/src/Date/docs/examples/Basic.d.ts +3 -0
  171. package/types/src/Date/docs/examples/Controlled.d.ts +3 -0
  172. package/types/src/Date/docs/examples/CustomDate.d.ts +4 -0
  173. package/types/src/Date/docs/examples/Disabled.d.ts +3 -0
  174. package/types/src/Date/docs/examples/Error.d.ts +3 -0
  175. package/types/src/Date/docs/examples/HighlightToday.d.ts +4 -0
  176. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +4 -0
  177. package/types/src/DefinitionList/DefinitionList.d.ts +27 -4
  178. package/types/src/DefinitionList/DefinitionListContext.d.ts +2 -0
  179. package/types/src/DefinitionList/docs/examples/Basic.d.ts +3 -0
  180. package/types/src/DefinitionList/docs/examples/CustomizedWidths.d.ts +7 -0
  181. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +4 -0
  182. package/types/src/DefinitionList/docs/examples/StackedLayout.d.ts +6 -0
  183. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +4 -0
  184. package/types/src/Divider/docs/examples/Appearance.d.ts +4 -0
  185. package/types/src/Divider/docs/examples/Basic.d.ts +3 -0
  186. package/types/src/Divider/docs/examples/CustomStyle.d.ts +4 -0
  187. package/types/src/Divider/docs/examples/Decorative.d.ts +4 -0
  188. package/types/src/Divider/docs/examples/Vertical.d.ts +3 -0
  189. package/types/src/Dropdown/docs/examples/Basic.d.ts +4 -0
  190. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +3 -0
  191. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +4 -0
  192. package/types/src/Dropdown/docs/examples/Dialog.d.ts +4 -0
  193. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +4 -0
  194. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +4 -0
  195. package/types/src/Dropdown/docs/examples/Submenu.d.ts +3 -0
  196. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +4 -0
  197. package/types/src/DualListbox/DualListbox.d.ts +1 -1
  198. package/types/src/DualListbox/Label.d.ts +7 -7
  199. package/types/src/DualListbox/Listbox.d.ts +2 -2
  200. package/types/src/DualListbox/ListboxContext.d.ts +1 -1
  201. package/types/src/DualListbox/Option.d.ts +1 -1
  202. package/types/src/DualListbox/docs/examples/Basic.d.ts +3 -0
  203. package/types/src/DualListbox/docs/examples/Controlled.d.ts +3 -0
  204. package/types/src/DualListbox/docs/examples/Fill.d.ts +4 -0
  205. package/types/src/File/File.d.ts +7 -1
  206. package/types/src/File/docs/examples/CustomizedMessages.d.ts +4 -0
  207. package/types/src/File/docs/examples/Disabled.d.ts +3 -0
  208. package/types/src/File/docs/examples/DropAnywhere.d.ts +4 -0
  209. package/types/src/File/docs/examples/Error.d.ts +4 -0
  210. package/types/src/File/docs/examples/FullScreen.d.ts +4 -0
  211. package/types/src/File/docs/examples/Multi.d.ts +4 -0
  212. package/types/src/File/docs/examples/Progress.d.ts +4 -0
  213. package/types/src/File/docs/examples/Single.d.ts +4 -0
  214. package/types/src/FormRows/docs/examples/Basic.d.ts +3 -0
  215. package/types/src/FormRows/docs/examples/Header.d.ts +4 -0
  216. package/types/src/FormRows/docs/examples/Menu.d.ts +4 -0
  217. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +4 -0
  218. package/types/src/Heading/docs/examples/Basic.d.ts +3 -0
  219. package/types/src/Heading/docs/examples/Variant.d.ts +4 -0
  220. package/types/src/Image/docs/examples/Basic.d.ts +3 -0
  221. package/types/src/JSONTree/JSONTreeItem.d.ts +4 -2
  222. package/types/src/JSONTree/docs/examples/Basic.d.ts +3 -0
  223. package/types/src/JSONTree/docs/examples/Events.d.ts +4 -0
  224. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +4 -0
  225. package/types/src/JSONTree/renderTreeItems.d.ts +2 -1
  226. package/types/src/Layer/docs/examples/Basic.d.ts +4 -0
  227. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  228. package/types/src/Link/docs/examples/Basic.d.ts +4 -0
  229. package/types/src/Link/docs/examples/Disabled.d.ts +4 -0
  230. package/types/src/Link/docs/examples/NewWindow.d.ts +4 -0
  231. package/types/src/Link/docs/examples/Standalone.d.ts +4 -0
  232. package/types/src/List/docs/examples/CustomizedList.d.ts +4 -0
  233. package/types/src/List/docs/examples/OrderedList.d.ts +4 -0
  234. package/types/src/List/docs/examples/UnorderedList.d.ts +3 -0
  235. package/types/src/Markdown/docs/examples/Basic.d.ts +4 -0
  236. package/types/src/Markdown/docs/examples/I18n.d.ts +4 -0
  237. package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +2 -1
  238. package/types/src/Menu/Item.d.ts +27 -10
  239. package/types/src/Menu/docs/examples/Adornments.d.ts +4 -0
  240. package/types/src/Menu/docs/examples/Basic.d.ts +3 -0
  241. package/types/src/Menu/docs/examples/Complex.d.ts +4 -0
  242. package/types/src/Menu/docs/examples/Descriptions.d.ts +4 -0
  243. package/types/src/Menu/docs/examples/Dimmed.d.ts +4 -0
  244. package/types/src/Menu/docs/examples/Disabled.d.ts +4 -0
  245. package/types/src/Menu/docs/examples/Dividers.d.ts +3 -0
  246. package/types/src/Menu/docs/examples/Headings.d.ts +4 -0
  247. package/types/src/Menu/docs/examples/Links.d.ts +4 -0
  248. package/types/src/Menu/docs/examples/MatchRanges.d.ts +4 -0
  249. package/types/src/Menu/docs/examples/Selectable.d.ts +4 -0
  250. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +4 -0
  251. package/types/src/Menu/docs/examples/Truncate.d.ts +4 -0
  252. package/types/src/Message/docs/examples/Basic.d.ts +3 -0
  253. package/types/src/Message/docs/examples/Content.d.ts +4 -0
  254. package/types/src/Message/docs/examples/Fill.d.ts +3 -0
  255. package/types/src/Message/docs/examples/Removable.d.ts +3 -0
  256. package/types/src/MessageBar/docs/examples/Basic.d.ts +4 -0
  257. package/types/src/MessageBar/docs/examples/Types.d.ts +4 -0
  258. package/types/src/MessageBar/docs/examples/WithActions.d.ts +3 -0
  259. package/types/src/Modal/Modal.d.ts +10 -3
  260. package/types/src/Modal/docs/examples/Basic.d.ts +3 -0
  261. package/types/src/Modal/docs/examples/InitialFocus.d.ts +4 -0
  262. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +4 -0
  263. package/types/src/Modal/docs/examples/Undismissable.d.ts +4 -0
  264. package/types/src/Monogram/Monogram.d.ts +4 -0
  265. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +4 -0
  266. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +3 -0
  267. package/types/src/Monogram/docs/examples/Basic.d.ts +4 -0
  268. package/types/src/Monogram/docs/examples/Interactive.d.ts +4 -0
  269. package/types/src/Monogram/docs/examples/Size.d.ts +4 -0
  270. package/types/src/Multiselect/Compact.d.ts +8 -2
  271. package/types/src/Multiselect/Multiselect.d.ts +8 -2
  272. package/types/src/Multiselect/Normal.d.ts +7 -1
  273. package/types/src/Multiselect/docs/examples/Children.d.ts +4 -0
  274. package/types/src/Multiselect/docs/examples/Compact.d.ts +4 -0
  275. package/types/src/Multiselect/docs/examples/Controlled.d.ts +3 -0
  276. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +4 -0
  277. package/types/src/Multiselect/docs/examples/Disabled.d.ts +3 -0
  278. package/types/src/Multiselect/docs/examples/Error.d.ts +3 -0
  279. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -0
  280. package/types/src/Multiselect/docs/examples/Headings.d.ts +3 -0
  281. package/types/src/Multiselect/docs/examples/Icons.d.ts +3 -0
  282. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  283. package/types/src/Multiselect/docs/examples/NewValues.d.ts +4 -0
  284. package/types/src/Multiselect/docs/examples/TabInput.d.ts +4 -0
  285. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +3 -0
  286. package/types/src/Number/docs/examples/Basic.d.ts +4 -0
  287. package/types/src/Number/docs/examples/Disabled.d.ts +3 -0
  288. package/types/src/Number/docs/examples/Error.d.ts +3 -0
  289. package/types/src/Number/docs/examples/Limits.d.ts +4 -0
  290. package/types/src/Number/docs/examples/Locale.d.ts +4 -0
  291. package/types/src/Number/docs/examples/Uncontrolled.d.ts +4 -0
  292. package/types/src/Paginator/docs/examples/Basic.d.ts +3 -0
  293. package/types/src/Paginator/docs/examples/Compact.d.ts +4 -0
  294. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +3 -0
  295. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +3 -0
  296. package/types/src/Paginator/docs/examples/CustomPages.d.ts +4 -0
  297. package/types/src/Paginator/docs/examples/Labelled.d.ts +4 -0
  298. package/types/src/Paginator/docs/examples/PageControl.d.ts +4 -0
  299. package/types/src/Paragraph/docs/examples/Basic.d.ts +4 -0
  300. package/types/src/Popover/PopoverProvider.d.ts +9 -1
  301. package/types/src/Popover/docs/examples/Basic.d.ts +4 -0
  302. package/types/src/Progress/docs/examples/Basic.d.ts +3 -0
  303. package/types/src/Progress/docs/examples/Type.d.ts +3 -0
  304. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  305. package/types/src/Prose/docs/examples/Customize.d.ts +4 -0
  306. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +5 -0
  307. package/types/src/RadioBar/docs/examples/Basic.d.ts +3 -0
  308. package/types/src/RadioBar/docs/examples/Disabled.d.ts +4 -0
  309. package/types/src/RadioBar/docs/examples/Error.d.ts +3 -0
  310. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +4 -0
  311. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +3 -0
  312. package/types/src/RadioList/docs/examples/Basic.d.ts +4 -0
  313. package/types/src/RadioList/docs/examples/Disabled.d.ts +3 -0
  314. package/types/src/RadioList/docs/examples/Error.d.ts +3 -0
  315. package/types/src/RadioList/docs/examples/Row.d.ts +3 -0
  316. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +4 -0
  317. package/types/src/Resize/docs/examples/Appearance.d.ts +4 -0
  318. package/types/src/Resize/docs/examples/Basic.d.ts +4 -0
  319. package/types/src/Resize/docs/examples/Percentage.d.ts +4 -0
  320. package/types/src/Resize/docs/examples/SizingInner.d.ts +4 -0
  321. package/types/src/Resize/docs/examples/SizingOuter.d.ts +4 -0
  322. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +4 -0
  323. package/types/src/ScreenReaderContent/docs/examples/SkipLink.d.ts +4 -0
  324. package/types/src/Scroll/docs/examples/Controlled.d.ts +4 -0
  325. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +4 -0
  326. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +4 -0
  327. package/types/src/Search/Search.d.ts +5 -1
  328. package/types/src/Search/docs/examples/Controlled.d.ts +4 -0
  329. package/types/src/Search/docs/examples/Loading.d.ts +4 -0
  330. package/types/src/Search/docs/examples/Options.d.ts +4 -0
  331. package/types/src/Search/docs/examples/OptionsLinks.d.ts +4 -0
  332. package/types/src/Select/SelectAllOption.d.ts +5 -10
  333. package/types/src/Select/SelectBase.d.ts +1 -1
  334. package/types/src/Select/docs/examples/Appearance.d.ts +4 -0
  335. package/types/src/Select/docs/examples/Basic.d.ts +4 -0
  336. package/types/src/Select/docs/examples/Children.d.ts +4 -0
  337. package/types/src/Select/docs/examples/Descriptions.d.ts +4 -0
  338. package/types/src/Select/docs/examples/Error.d.ts +3 -0
  339. package/types/src/Select/docs/examples/Fetching.d.ts +4 -0
  340. package/types/src/Select/docs/examples/Filter.d.ts +4 -0
  341. package/types/src/Select/docs/examples/Headings.d.ts +3 -0
  342. package/types/src/Select/docs/examples/Icons.d.ts +3 -0
  343. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  344. package/types/src/Select/docs/examples/Prefix.d.ts +4 -0
  345. package/types/src/Select/docs/examples/Truncate.d.ts +4 -0
  346. package/types/src/Select/docs/examples/Uncontrolled.d.ts +4 -0
  347. package/types/src/SidePanel/docs/examples/Basic.d.ts +4 -0
  348. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +3 -0
  349. package/types/src/SidePanel/docs/examples/Composition.d.ts +4 -0
  350. package/types/src/Slider/docs/examples/Basic.d.ts +3 -0
  351. package/types/src/Slider/docs/examples/Controlled.d.ts +4 -0
  352. package/types/src/Slider/docs/examples/CustomLabels.d.ts +4 -0
  353. package/types/src/Slider/docs/examples/Disabled.d.ts +3 -0
  354. package/types/src/Slider/docs/examples/Error.d.ts +3 -0
  355. package/types/src/Slider/docs/examples/StepMarks.d.ts +4 -0
  356. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +3 -0
  357. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +3 -0
  358. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +3 -0
  359. package/types/src/SplitButton/SplitButton.d.ts +6 -1
  360. package/types/src/SplitButton/docs/examples/Basic.d.ts +3 -0
  361. package/types/src/SplitButton/docs/examples/Block.d.ts +4 -0
  362. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +4 -0
  363. package/types/src/SplitButton/docs/examples/Disabled.d.ts +3 -0
  364. package/types/src/StaticContent/docs/examples/Basic.d.ts +4 -0
  365. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +4 -0
  366. package/types/src/StepBar/docs/examples/Basic.d.ts +3 -0
  367. package/types/src/StepBar/docs/examples/Error.d.ts +3 -0
  368. package/types/src/Switch/Switch.d.ts +7 -1
  369. package/types/src/Switch/docs/examples/Basic.d.ts +5 -9
  370. package/types/src/Switch/docs/examples/Disabled.d.ts +5 -9
  371. package/types/src/TabBar/docs/examples/Basic.d.ts +3 -0
  372. package/types/src/TabBar/docs/examples/Disabled.d.ts +3 -0
  373. package/types/src/TabBar/docs/examples/Icons.d.ts +3 -0
  374. package/types/src/TabBar/docs/examples/Tooltips.d.ts +3 -0
  375. package/types/src/TabBar/docs/examples/Vertical.d.ts +3 -0
  376. package/types/src/TabBar/docs/examples/VerticalIcons.d.ts +3 -0
  377. package/types/src/TabBar/docs/examples/WithCount.d.ts +3 -0
  378. package/types/src/TabBar/tabBarUtils.d.ts +4 -0
  379. package/types/src/TabBar/types.d.ts +5 -0
  380. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +4 -0
  381. package/types/src/TabLayout/docs/examples/Controlled.d.ts +4 -0
  382. package/types/src/TabLayout/docs/examples/Icons.d.ts +3 -0
  383. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +3 -0
  384. package/types/src/TabLayout/docs/examples/Vertical.d.ts +3 -0
  385. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +3 -0
  386. package/types/src/Table/ExpandButton.d.ts +1 -1
  387. package/types/src/Table/docs/examples/Basic.d.ts +3 -0
  388. package/types/src/Table/docs/examples/Click.d.ts +4 -0
  389. package/types/src/Table/docs/examples/ClickRows.d.ts +4 -0
  390. package/types/src/Table/docs/examples/Complex.d.ts +4 -0
  391. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +4 -0
  392. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +4 -0
  393. package/types/src/Table/docs/examples/FixedHeader.d.ts +4 -0
  394. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +4 -0
  395. package/types/src/Table/docs/examples/ReorderColumns.d.ts +4 -0
  396. package/types/src/Table/docs/examples/ReorderRows.d.ts +4 -0
  397. package/types/src/Table/docs/examples/Resizable.d.ts +4 -0
  398. package/types/src/Table/docs/examples/ResizableFill.d.ts +4 -0
  399. package/types/src/Table/docs/examples/RowActions.d.ts +4 -0
  400. package/types/src/Table/docs/examples/Selectable.d.ts +4 -0
  401. package/types/src/Table/docs/examples/SortableColumns.d.ts +4 -0
  402. package/types/src/Table/docs/examples/StripeRows.d.ts +3 -0
  403. package/types/src/Text/docs/examples/Basic.d.ts +4 -0
  404. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +4 -0
  405. package/types/src/Text/docs/examples/Dimmed.d.ts +4 -0
  406. package/types/src/Text/docs/examples/Disabled.d.ts +4 -0
  407. package/types/src/Text/docs/examples/Error.d.ts +4 -0
  408. package/types/src/Text/docs/examples/Inline.d.ts +4 -0
  409. package/types/src/Text/docs/examples/Password.d.ts +4 -0
  410. package/types/src/Text/docs/examples/Uncontrolled.d.ts +4 -0
  411. package/types/src/TextArea/docs/examples/Basic.d.ts +4 -0
  412. package/types/src/TextArea/docs/examples/Disabled.d.ts +3 -0
  413. package/types/src/TextArea/docs/examples/Error.d.ts +4 -0
  414. package/types/src/TextArea/docs/examples/Inline.d.ts +4 -0
  415. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +4 -0
  416. package/types/src/Tooltip/Tooltip.d.ts +14 -1
  417. package/types/src/Tooltip/docs/examples/Basic.d.ts +4 -0
  418. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +4 -0
  419. package/types/src/Tooltip/docs/examples/Controlled.d.ts +4 -0
  420. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +4 -0
  421. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +4 -0
  422. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +4 -0
  423. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +3 -0
  424. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +3 -0
  425. package/types/src/TransitionOpen/docs/examples/None.d.ts +4 -0
  426. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +4 -0
  427. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +4 -0
  428. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +4 -0
  429. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +4 -0
  430. package/types/src/Tree/Item.d.ts +4 -4
  431. package/types/src/Tree/docs/examples/Basic.d.ts +5 -0
  432. package/types/src/Tree/docs/examples/ClickableExpansion.d.ts +2 -0
  433. package/types/src/Tree/docs/examples/ClickableExpansionWithSelection.d.ts +2 -0
  434. package/types/src/Typography/docs/examples/Basic.d.ts +4 -0
  435. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +3 -0
  436. package/useResizeObserver.js +2 -2
  437. package/NonInteractiveCheckbox.js +0 -101
  438. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +0 -12
  439. package/types/src/DefinitionList/docs/examples/Customize.d.ts +0 -3
  440. package/types/src/NonInteractiveCheckbox/NonInteractiveCheckbox.d.ts +0 -22
  441. package/types/src/NonInteractiveCheckbox/index.d.ts +0 -1
  442. package/types/src/Switch/docs/examples/Error.d.ts +0 -3
  443. package/types/src/Text/IconOutlinedHide.d.ts +0 -3
  444. package/types/src/Text/IconOutlinedView.d.ts +0 -3
  445. /package/cypress/{tsconfig.cypress.json → tsconfig.check-cypress.json} +0 -0
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
@@ -216,9 +216,9 @@
216
216
  var B = g().div.withConfig({
217
217
  displayName: "FooterStyles__StyledDiv",
218
218
  componentId: "yszcmv-0"
219
- })([ "flex:0 0 auto;padding:", " ", ";background-color:", ";& > button{min-width:80px;}", "" ], w.variables.spacingLarge, w.variables.spacingXLarge, w.variables.backgroundColorDialog, (0,
219
+ })([ "flex:0 0 auto;padding:", " ", ";background-color:", ";& >:is(button,a){min-width:80px;}", "" ], w.variables.spacingLarge, w.variables.spacingXLarge, w.variables.backgroundColorDialog, (0,
220
220
  w.pickVariant)("$layout", {
221
- auto: (0, m.css)([ "display:flex;align-items:center;justify-content:flex-end;gap:", ";& > *:is(button,*){flex:0 0 auto;}& >:not(button){margin-right:auto;}&:has(button + button + button) > button:first-of-type{margin-right:auto;}" ], w.variables.spacingSmall),
221
+ auto: (0, m.css)([ "display:flex;align-items:center;justify-content:flex-end;gap:", ";& > *:is(button,a,*){flex:0 0 auto;}& >:not(button,a){margin-right:auto;}&:has(:is(button,a) +:is(button,a) +:is(button,a)) >:is(button,a):first-child{margin-right:auto;}" ], w.variables.spacingSmall),
222
222
  none: (0, m.css)([ "text-align:right;" ])
223
223
  }));
224
224
  // CONCATENATED MODULE: ./src/Modal/ModalContext.tsx
@@ -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
  }
@@ -368,7 +368,7 @@
368
368
  * A styled container for `Modal` header content.
369
369
  */ function le(e) {
370
370
  var r = e.children, o = e.icon, i = e.hideCloseButton, a = i === void 0 ? false : i, l = e.title, u = e.subtitle, c = ne(e, [ "children", "icon", "hideCloseButton", "title", "subtitle" ]);
371
- // @docs-props-type StepPropsBase
371
+ // @docs-props-type HeaderPropsBase
372
372
  var s = (0, t.useContext)(N), f = s.titleId, d = s.subtitleId, p = s.divider, v = s.onRequestClose;
373
373
  var b = p === "both" || p === "header";
374
374
  var y = (0, t.isValidElement)(o) && (0, t.cloneElement)(o, {
@@ -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() {
package/Monogram.js CHANGED
@@ -61,8 +61,8 @@
61
61
  e.r(r);
62
62
  // EXPORTS
63
63
  e.d(r, {
64
- default: () => /* reexport */ U,
65
- getInitials: () => /* reexport */ T
64
+ default: () => /* reexport */ G,
65
+ getInitials: () => /* reexport */ U
66
66
  });
67
67
  // CONCATENATED MODULE: external "react"
68
68
  const t = require("react");
@@ -83,7 +83,7 @@
83
83
  const p = require("@splunk/themes");
84
84
  // CONCATENATED MODULE: ./src/Monogram/MonogramStyles.ts
85
85
  // Thanks: https://gist.github.com/hyamamoto/fd435505d29ebfa3d9716fd2be8d42f0
86
- var b = function e(r) {
86
+ var d = function e(r) {
87
87
  var t = 0;
88
88
  for (var n = 0; n < r.length; ) {
89
89
  t = (t << 5) - t + r.charCodeAt(n++) | 0;
@@ -91,8 +91,8 @@
91
91
  }
92
92
  return t;
93
93
  };
94
- var d = [ "#006d9c", "#ec9960", "#af575a", "#62b3b2", "#4fa484", "#f8be34", "#5a4575", "#708794", "#294e70", "#b6c75a", "#5cc05c", "#007abd", "#dc4e41", "#f1813f", "#f8be34", "#53a051", "#006d9c", "#77d6d8", "#f589ad", "#6a2c5d" ];
95
- var m = (0, c.css)([ "", ";align-items:center;justify-content:center;border-radius:50%;font-weight:normal;", " background-color:", ";", ";& + &{margin-left:4px;}" ], p.mixins.reset("inline-flex"), (0,
94
+ var m = [ "#006d9c", "#ec9960", "#af575a", "#62b3b2", "#4fa484", "#f8be34", "#5a4575", "#708794", "#294e70", "#b6c75a", "#5cc05c", "#007abd", "#dc4e41", "#f1813f", "#f8be34", "#53a051", "#006d9c", "#77d6d8", "#f589ad", "#6a2c5d" ];
95
+ var b = (0, c.css)([ "", ";align-items:center;justify-content:center;border-radius:50%;font-weight:normal;", " background-color:", ";", ";& + &{margin-left:4px;}" ], p.mixins.reset("inline-flex"), (0,
96
96
  p.pick)({
97
97
  prisma: (0, c.css)([ "color:", ";" ], p.variables.contentColorActive)
98
98
  }), (function(e) {
@@ -107,7 +107,7 @@
107
107
  });
108
108
  }
109
109
  if (r === "auto") {
110
- return d[b(t) % d.length];
110
+ return m[d(t) % m.length];
111
111
  }
112
112
  return r;
113
113
  }), (function(e) {
@@ -128,15 +128,15 @@
128
128
  }
129
129
  return (0, c.css)([ "height:48px;width:48px;font-size:", ";" ], p.variables.fontSize);
130
130
  }));
131
- var y = s().div.withConfig({
131
+ var v = s().div.withConfig({
132
132
  displayName: "MonogramStyles__Styled",
133
133
  componentId: "r5ud6k-0"
134
- })([ "", "" ], m);
135
- var v = s()(f()).withConfig({
134
+ })([ "", "" ], b);
135
+ var y = s()(f()).withConfig({
136
136
  displayName: "MonogramStyles__StyledClickableComponent",
137
137
  componentId: "r5ud6k-1"
138
- })([ "", "" ], m);
139
- var g = s()(v).withConfig({
138
+ })([ "", "" ], b);
139
+ var g = s()(y).withConfig({
140
140
  displayName: "MonogramStyles__StyledClickable",
141
141
  componentId: "r5ud6k-2"
142
142
  })([ "cursor:pointer;position:relative;:focus,:hover{", "}:focus{box-shadow:", ";z-index:1;}:active{", "}" ], (0,
@@ -154,16 +154,36 @@
154
154
  displayName: "MonogramStyles__Initials",
155
155
  componentId: "r5ud6k-3"
156
156
  })([ "opacity:0.8;text-transform:capitalize;" ]);
157
+ // CONCATENATED MODULE: ./src/utils/useDeprecate.tsx
158
+ var O = "is deprecated and will be removed in the next major version.";
159
+ var k = function e(r) {
160
+ var n = r.additionalMessage, i = n === void 0 ? "" : n, o = r.componentName;
161
+ (0, t.useEffect)((function() {
162
+ if (false) {}
163
+ }), [ i, o ]);
164
+ };
165
+ var w = function e(r) {
166
+ var t = r.additionalMessage, n = t === void 0 ? "" : t, i = r.componentName, o = r.propName, a = r.propValue;
167
+ useEffect((function() {
168
+ if (false) {}
169
+ }), [ n, i, o, a ]);
170
+ };
171
+ var S = function e(r) {
172
+ var t = r.additionalMessage, n = t === void 0 ? "" : t, i = r.componentName, o = r.deprecatedPropValue, a = r.propName, l = r.propValue;
173
+ useEffect((function() {
174
+ if (false) {}
175
+ }), [ n, i, a, l, o ]);
176
+ };
157
177
  // CONCATENATED MODULE: ./src/Monogram/Monogram.tsx
158
- function O(e) {
178
+ function j(e) {
159
179
  "@babel/helpers - typeof";
160
- return O = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
180
+ return j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
161
181
  return typeof e;
162
182
  } : function(e) {
163
183
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
164
- }, O(e);
184
+ }, j(e);
165
185
  }
166
- function k(e, r) {
186
+ function x(e, r) {
167
187
  var t = Object.keys(e);
168
188
  if (Object.getOwnPropertySymbols) {
169
189
  var n = Object.getOwnPropertySymbols(e);
@@ -173,41 +193,41 @@
173
193
  }
174
194
  return t;
175
195
  }
176
- function w(e) {
196
+ function C(e) {
177
197
  for (var r = 1; r < arguments.length; r++) {
178
198
  var t = null != arguments[r] ? arguments[r] : {};
179
- r % 2 ? k(Object(t), !0).forEach((function(r) {
180
- S(e, r, t[r]);
181
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : k(Object(t)).forEach((function(r) {
199
+ r % 2 ? x(Object(t), !0).forEach((function(r) {
200
+ z(e, r, t[r]);
201
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : x(Object(t)).forEach((function(r) {
182
202
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
183
203
  }));
184
204
  }
185
205
  return e;
186
206
  }
187
- function S(e, r, t) {
188
- return (r = j(r)) in e ? Object.defineProperty(e, r, {
207
+ function z(e, r, t) {
208
+ return (r = P(r)) in e ? Object.defineProperty(e, r, {
189
209
  value: t,
190
210
  enumerable: !0,
191
211
  configurable: !0,
192
212
  writable: !0
193
213
  }) : e[r] = t, e;
194
214
  }
195
- function j(e) {
196
- var r = x(e, "string");
197
- return "symbol" == O(r) ? r : r + "";
215
+ function P(e) {
216
+ var r = E(e, "string");
217
+ return "symbol" == j(r) ? r : r + "";
198
218
  }
199
- function x(e, r) {
200
- if ("object" != O(e) || !e) return e;
219
+ function E(e, r) {
220
+ if ("object" != j(e) || !e) return e;
201
221
  var t = e[Symbol.toPrimitive];
202
222
  if (void 0 !== t) {
203
223
  var n = t.call(e, r || "default");
204
- if ("object" != O(n)) return n;
224
+ if ("object" != j(n)) return n;
205
225
  throw new TypeError("@@toPrimitive must return a primitive value.");
206
226
  }
207
227
  return ("string" === r ? String : Number)(e);
208
228
  }
209
- function C() {
210
- return C = Object.assign ? Object.assign.bind() : function(e) {
229
+ function M() {
230
+ return M = Object.assign ? Object.assign.bind() : function(e) {
211
231
  for (var r = 1; r < arguments.length; r++) {
212
232
  var t = arguments[r];
213
233
  for (var n in t) {
@@ -215,29 +235,29 @@
215
235
  }
216
236
  }
217
237
  return e;
218
- }, C.apply(null, arguments);
238
+ }, M.apply(null, arguments);
219
239
  }
220
- function z(e, r) {
221
- return A(e) || E(e, r) || I(e, r) || P();
240
+ function I(e, r) {
241
+ return q(e) || $(e, r) || N(e, r) || _();
222
242
  }
223
- function P() {
243
+ function _() {
224
244
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
225
245
  }
226
- function I(e, r) {
246
+ function N(e, r) {
227
247
  if (e) {
228
- if ("string" == typeof e) return _(e, r);
248
+ if ("string" == typeof e) return A(e, r);
229
249
  var t = {}.toString.call(e).slice(8, -1);
230
- 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) ? _(e, r) : void 0;
250
+ 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) ? A(e, r) : void 0;
231
251
  }
232
252
  }
233
- function _(e, r) {
253
+ function A(e, r) {
234
254
  (null == r || r > e.length) && (r = e.length);
235
255
  for (var t = 0, n = Array(r); t < r; t++) {
236
256
  n[t] = e[t];
237
257
  }
238
258
  return n;
239
259
  }
240
- function E(e, r) {
260
+ function $(e, r) {
241
261
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
242
262
  if (null != t) {
243
263
  var n, i, o, a, l = [], c = !0, s = !1;
@@ -259,32 +279,32 @@
259
279
  return l;
260
280
  }
261
281
  }
262
- function A(e) {
282
+ function q(e) {
263
283
  if (Array.isArray(e)) return e;
264
284
  }
265
- function M(e, r) {
285
+ function R(e, r) {
266
286
  if (null == e) return {};
267
- var t, n, i = $(e, r);
287
+ var t, n, i = T(e, r);
268
288
  if (Object.getOwnPropertySymbols) {
269
289
  var o = Object.getOwnPropertySymbols(e);
270
290
  for (n = 0; n < o.length; n++) {
271
- t = o[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (i[t] = e[t]);
291
+ t = o[n], -1 === r.indexOf(t) && {}.propertyIsEnumerable.call(e, t) && (i[t] = e[t]);
272
292
  }
273
293
  }
274
294
  return i;
275
295
  }
276
- function $(e, r) {
296
+ function T(e, r) {
277
297
  if (null == e) return {};
278
298
  var t = {};
279
299
  for (var n in e) {
280
300
  if ({}.hasOwnProperty.call(e, n)) {
281
- if (r.includes(n)) continue;
301
+ if (-1 !== r.indexOf(n)) continue;
282
302
  t[n] = e[n];
283
303
  }
284
304
  }
285
305
  return t;
286
306
  }
287
- /** @public */ var q = {
307
+ /** @public */ var D = {
288
308
  backgroundColor: l().string,
289
309
  elementRef: l().oneOfType([ l().func, l().object ]),
290
310
  initials: l().string.isRequired,
@@ -292,7 +312,7 @@
292
312
  onClick: l().func,
293
313
  size: l().oneOfType([ l().oneOf([ "small", "medium", "large" ]), l().number ])
294
314
  };
295
- function R(e) {
315
+ function V(e) {
296
316
  return !!e.onClick;
297
317
  }
298
318
  /**
@@ -301,14 +321,14 @@
301
321
  * @param {string} name - The full name.
302
322
  * @returns {string} Limited to three characters. Empty if `name` is empty.
303
323
  * @public
304
- */ function T(e) {
324
+ */ function U(e) {
305
325
  var r = (e.match(/[^\s-]+/g) || []).map((function(e) {
306
326
  return e[0];
307
327
  })).join("");
308
328
  return r.length > 3 ? "".concat(r[0]).concat(r[r.length - 1]) : r;
309
329
  }
310
- function N(e) {
311
- var r = e.backgroundColor, t = e.initials, n = e.size, i = M(e, [ "backgroundColor", "initials", "size" ]);
330
+ function X(e) {
331
+ var r = e.backgroundColor, t = e.initials, n = e.size, i = R(e, [ "backgroundColor", "initials", "size" ]);
312
332
  var o = {
313
333
  "data-test": "monogram",
314
334
  $backgroundColor: r,
@@ -317,44 +337,50 @@
317
337
  };
318
338
  return [ o, i ];
319
339
  }
320
- function D(e) {
321
- var r = N(e), i = z(r, 2), a = i[0], l = i[1];
322
- var c = l.children, s = l.elementRef, u = l.name, f = l.onClick, p = M(l, [ "children", "elementRef", "name", "onClick" ]);
323
- var b = (0, t.useCallback)((function(e) {
340
+ function L(e) {
341
+ var r = X(e), i = I(r, 2), a = i[0], l = i[1];
342
+ var c = l.children, s = l.elementRef, u = l.name, f = l.onClick, p = R(l, [ "children", "elementRef", "name", "onClick" ]);
343
+ var d = (0, t.useCallback)((function(e) {
324
344
  f(e, {
325
345
  name: u
326
346
  });
327
347
  }), [ f, u ]);
328
348
 
329
- return n().createElement(g, C({
349
+ return n().createElement(g, M({
330
350
  elementRef: s,
331
- onClick: b
332
- }, a, o()(p, Object.keys(q))), c);
351
+ onClick: d
352
+ }, a, o()(p, Object.keys(D))), c);
333
353
  }
334
- function X(e) {
335
- var r = N(e), t = z(r, 2), i = t[0], a = t[1];
336
- var l = a.children, c = a.elementRef, s = M(a, [ "children", "elementRef" ]);
354
+ function B(e) {
355
+ var r = X(e), t = I(r, 2), i = t[0], a = t[1];
356
+ var l = a.children, c = a.elementRef, s = R(a, [ "children", "elementRef" ]);
337
357
 
338
- return n().createElement(y, C({
358
+ return n().createElement(v, M({
339
359
  ref: c
340
- }, i, o()(s, Object.keys(q))), l);
360
+ }, i, o()(s, Object.keys(D))), l);
341
361
  }
342
- function L(e) {
343
- var r = e.backgroundColor, t = r === void 0 ? "theme" : r, i = e.initials, o = e.size, a = o === void 0 ? "medium" : o, l = M(e, [ "backgroundColor", "initials", "size" ]);
362
+ /**
363
+ * @deprecated
364
+ * Monogram has been deprecated and will be removed in a future major version. Use Avatar instead.
365
+ */ function F(e) {
366
+ var r = e.backgroundColor, t = r === void 0 ? "theme" : r, i = e.initials, o = e.size, a = o === void 0 ? "medium" : o, l = R(e, [ "backgroundColor", "initials", "size" ]);
344
367
  // @docs-props-type MonogramPropsBase
345
- if (false) {}
368
+ k({
369
+ additionalMessage: "Use Avatar instead.",
370
+ componentName: "Monogram"
371
+ });
346
372
  var c = n().createElement(h, {
347
373
  "data-test": "initials"
348
374
  }, i);
349
- var s = w({
375
+ var s = C({
350
376
  backgroundColor: t,
351
377
  size: a,
352
378
  initials: i
353
379
  }, l);
354
- return R(s) ? n().createElement(D, s, c) : n().createElement(X, s, c);
380
+ return V(s) ? n().createElement(L, s, c) : n().createElement(B, s, c);
355
381
  }
356
- L.propTypes = q;
357
- /* harmony default export */ const U = L;
382
+ F.propTypes = D;
383
+ /* harmony default export */ const G = F;
358
384
  // CONCATENATED MODULE: ./src/Monogram/index.ts
359
385
  module.exports = r;
360
386
  /******/})();