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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (639) hide show
  1. package/Accordion.js +87 -109
  2. package/Animation.js +48 -31
  3. package/Avatar.d.ts +2 -0
  4. package/Avatar.js +478 -0
  5. package/Box.js +8 -8
  6. package/Breadcrumbs.js +45 -49
  7. package/Button.js +144 -399
  8. package/ButtonGroup.js +22 -26
  9. package/ButtonSimple.js +239 -605
  10. package/CHANGELOG.md +29 -0
  11. package/CHANGELOG.v5.mdx +195 -0
  12. package/Calendar.js +55 -68
  13. package/Card.js +162 -200
  14. package/Chip.js +108 -96
  15. package/Clickable.js +174 -310
  16. package/Code.js +528 -372
  17. package/CollapsiblePanel.js +439 -601
  18. package/Color.js +727 -967
  19. package/ColumnLayout.js +190 -234
  20. package/ComboBox.js +166 -161
  21. package/ControlGroup.js +502 -531
  22. package/Date.js +314 -420
  23. package/DefinitionList.js +128 -140
  24. package/Dropdown.js +201 -358
  25. package/DualListbox.js +26 -26
  26. package/File.js +479 -558
  27. package/FormRows.js +339 -569
  28. package/Heading.js +53 -99
  29. package/Image.js +254 -305
  30. package/JSONTree.js +135 -131
  31. package/Layer.js +187 -269
  32. package/{CloseButton.js → Layout.js} +39 -61
  33. package/Link.js +91 -244
  34. package/List.js +68 -74
  35. package/MIGRATION.mdx +48 -53
  36. package/MIGRATION.v5.mdx +428 -0
  37. package/Markdown.js +439 -385
  38. package/Menu.js +387 -741
  39. package/Message.js +150 -322
  40. package/MessageBar.js +15 -15
  41. package/Modal.js +444 -587
  42. package/Monogram.js +1 -1
  43. package/Multiselect.js +1207 -1256
  44. package/NonInteractiveCheckbox.js +189 -0
  45. package/Number.js +538 -621
  46. package/Paginator.js +354 -448
  47. package/Paragraph.js +12 -15
  48. package/Popover.js +588 -683
  49. package/Progress.js +141 -244
  50. package/Prose.d.ts +2 -0
  51. package/Prose.js +213 -0
  52. package/RadioBar.js +328 -450
  53. package/RadioList.js +129 -212
  54. package/Resize.js +351 -402
  55. package/ResultsMenu.d.ts +2 -0
  56. package/ResultsMenu.js +255 -358
  57. package/Scroll.js +159 -238
  58. package/Search.js +365 -453
  59. package/Select.js +1097 -1380
  60. package/SidePanel.js +179 -223
  61. package/Slider.js +440 -542
  62. package/SlidingPanels.js +377 -504
  63. package/SplitButton.js +114 -102
  64. package/StaticContent.js +58 -74
  65. package/StepBar.js +193 -258
  66. package/Switch.js +246 -552
  67. package/TabBar.js +442 -622
  68. package/TabLayout.js +197 -251
  69. package/Table.js +2373 -3691
  70. package/Text.js +422 -909
  71. package/TextArea.js +537 -959
  72. package/Tooltip.js +35 -41
  73. package/TransitionOpen.js +296 -334
  74. package/Tree.js +20 -14
  75. package/Typography.js +35 -50
  76. package/WaitSpinner.js +93 -124
  77. package/package.json +16 -17
  78. package/stubs-dependencies.d.ts +0 -7
  79. package/stubs-splunkui.d.ts +6 -1
  80. package/types/src/Accordion/Accordion.d.ts +5 -1
  81. package/types/src/Accordion/Panel.d.ts +1 -2
  82. package/types/src/Accordion/docs/examples/Controlled.d.ts +2 -1
  83. package/types/src/Accordion/docs/examples/Inset.d.ts +2 -1
  84. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +2 -1
  85. package/types/src/Anchor/Anchor.d.ts +1 -1
  86. package/types/src/Anchor/docs/examples/Basic.d.ts +2 -1
  87. package/types/src/Animation/Animation.d.ts +12 -2
  88. package/types/src/AnimationToggle/AnimationToggleProvider.d.ts +1 -1
  89. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +2 -2
  90. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +2 -1
  91. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +2 -1
  92. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +2 -2
  93. package/types/src/AnimationToggle/docs/examples/ToggleHook.d.ts +2 -1
  94. package/types/src/Avatar/Avatar.d.ts +65 -0
  95. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +2 -0
  96. package/types/src/Avatar/docs/examples/Basic.d.ts +2 -0
  97. package/types/src/Avatar/docs/examples/Image.d.ts +2 -0
  98. package/types/src/Avatar/docs/examples/Interactive.d.ts +2 -0
  99. package/types/src/Avatar/docs/examples/Size.d.ts +2 -0
  100. package/types/src/Avatar/getInitials.d.ts +9 -0
  101. package/types/src/Avatar/index.d.ts +2 -0
  102. package/types/src/Box/Box.d.ts +1 -1
  103. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  104. package/types/src/Breadcrumbs/Item.d.ts +1 -1
  105. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -1
  106. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -1
  107. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +2 -1
  108. package/types/src/Button/Button.d.ts +20 -34
  109. package/types/src/Button/docs/examples/Basic.d.ts +2 -1
  110. package/types/src/Button/docs/examples/Block.d.ts +2 -1
  111. package/types/src/Button/docs/examples/Disabled.d.ts +2 -1
  112. package/types/src/Button/docs/examples/Icons.d.ts +2 -1
  113. package/types/src/Button/docs/examples/Menus.d.ts +2 -1
  114. package/types/src/Button/docs/examples/To.d.ts +2 -1
  115. package/types/src/Button/docs/examples/Truncated.d.ts +2 -1
  116. package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
  117. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +2 -1
  118. package/types/src/ButtonSimple/ButtonSimple.d.ts +22 -41
  119. package/types/src/ButtonSimple/mixin.d.ts +6 -2
  120. package/types/src/Calendar/Calendar.d.ts +2 -2
  121. package/types/src/Calendar/DateTable.d.ts +1 -1
  122. package/types/src/Calendar/Day.d.ts +1 -1
  123. package/types/src/Calendar/MonthHeader.d.ts +1 -1
  124. package/types/src/Card/Body.d.ts +1 -1
  125. package/types/src/Card/Card.d.ts +4 -9
  126. package/types/src/Card/Footer.d.ts +1 -8
  127. package/types/src/Card/Header.d.ts +2 -2
  128. package/types/src/Card/docs/examples/Actions.d.ts +2 -1
  129. package/types/src/Card/docs/examples/Basic.d.ts +2 -1
  130. package/types/src/Card/docs/examples/Clickable.d.ts +2 -1
  131. package/types/src/Card/docs/examples/Full.d.ts +2 -1
  132. package/types/src/Card/docs/examples/Images.d.ts +2 -1
  133. package/types/src/Card/docs/examples/Selectable.d.ts +2 -1
  134. package/types/src/CardLayout/CardLayout.d.ts +1 -1
  135. package/types/src/CardLayout/docs/examples/Basic.d.ts +2 -1
  136. package/types/src/CardLayout/docs/examples/Interactive.d.ts +2 -2
  137. package/types/src/Chip/Chip.d.ts +1 -1
  138. package/types/src/Chip/docs/examples/Appearance.d.ts +2 -1
  139. package/types/src/Chip/docs/examples/CustomColors.d.ts +2 -1
  140. package/types/src/Chip/docs/examples/Disabled.d.ts +2 -1
  141. package/types/src/Chip/docs/examples/Icon.d.ts +2 -1
  142. package/types/src/Chip/docs/examples/Removable.d.ts +2 -1
  143. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +2 -1
  144. package/types/src/Clickable/Clickable.d.ts +13 -37
  145. package/types/src/Clickable/NavigationProvider.d.ts +2 -19
  146. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -1
  147. package/types/src/Clickable/docs/examples/Disabled.d.ts +3 -0
  148. package/types/src/Clickable/docs/examples/NavigationProvider.d.ts +2 -1
  149. package/types/src/Code/Code.d.ts +3 -3
  150. package/types/src/Code/docs/examples/Default.d.ts +2 -1
  151. package/types/src/Code/docs/examples/HideIndent.d.ts +2 -1
  152. package/types/src/Code/docs/examples/Language.d.ts +2 -1
  153. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +31 -70
  154. package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
  155. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +3 -0
  156. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +2 -1
  157. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +2 -1
  158. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +3 -0
  159. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +2 -1
  160. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +2 -1
  161. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +2 -1
  162. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -1
  163. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +2 -1
  164. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +3 -0
  165. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +2 -1
  166. package/types/src/Color/Color.d.ts +24 -59
  167. package/types/src/Color/Palette.d.ts +3 -18
  168. package/types/src/Color/Swatch.d.ts +1 -4
  169. package/types/src/Color/docs/examples/Controlled.d.ts +2 -1
  170. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +2 -1
  171. package/types/src/Color/docs/examples/HideInput.d.ts +2 -1
  172. package/types/src/Color/docs/examples/Null.d.ts +2 -1
  173. package/types/src/Color/docs/examples/ThemeVariables.d.ts +2 -1
  174. package/types/src/Color/docs/examples/Transparent.d.ts +2 -1
  175. package/types/src/Color/docs/examples/Uncontrolled.d.ts +2 -1
  176. package/types/src/ColumnLayout/Column.d.ts +1 -11
  177. package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
  178. package/types/src/ColumnLayout/Row.d.ts +1 -11
  179. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +2 -1
  180. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +2 -1
  181. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +2 -1
  182. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +2 -1
  183. package/types/src/ComboBox/ComboBox.d.ts +10 -14
  184. package/types/src/ComboBox/Option.d.ts +2 -2
  185. package/types/src/ComboBox/docs/examples/Controlled.d.ts +2 -1
  186. package/types/src/ComboBox/docs/examples/Fetching.d.ts +2 -1
  187. package/types/src/ComboBox/docs/examples/Headings.d.ts +2 -1
  188. package/types/src/ComboBox/docs/examples/Label.d.ts +2 -1
  189. package/types/src/ComboBox/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
  190. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +2 -1
  191. package/types/src/ControlGroup/ControlGroup.d.ts +22 -38
  192. package/types/src/ControlGroup/ErrorMessageBar.d.ts +18 -0
  193. package/types/src/ControlGroup/docs/examples/Basic.d.ts +2 -1
  194. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +2 -2
  195. package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -1
  196. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +2 -1
  197. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +2 -1
  198. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +3 -0
  199. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +2 -1
  200. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +2 -1
  201. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +2 -1
  202. package/types/src/ControlGroup/docs/examples/Required.d.ts +2 -1
  203. package/types/src/Date/Date.d.ts +30 -65
  204. package/types/src/Date/Icon.d.ts +2 -1
  205. package/types/src/Date/docs/examples/Basic.d.ts +2 -1
  206. package/types/src/Date/docs/examples/Controlled.d.ts +2 -2
  207. package/types/src/Date/docs/examples/CustomDate.d.ts +2 -1
  208. package/types/src/Date/docs/examples/Disabled.d.ts +2 -1
  209. package/types/src/Date/docs/examples/Error.d.ts +2 -1
  210. package/types/src/Date/docs/examples/HighlightToday.d.ts +2 -2
  211. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +2 -1
  212. package/types/src/DefinitionList/DefinitionList.d.ts +8 -3
  213. package/types/src/DefinitionList/DefinitionListContext.d.ts +7 -0
  214. package/types/src/DefinitionList/Description.d.ts +3 -3
  215. package/types/src/DefinitionList/Term.d.ts +3 -3
  216. package/types/src/DefinitionList/docs/examples/Basic.d.ts +2 -1
  217. package/types/src/DefinitionList/docs/examples/Customize.d.ts +2 -1
  218. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +3 -0
  219. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +3 -0
  220. package/types/src/Divider/Divider.d.ts +1 -1
  221. package/types/src/Divider/docs/examples/Basic.d.ts +2 -1
  222. package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -1
  223. package/types/src/Divider/docs/examples/Decorative.d.ts +2 -1
  224. package/types/src/Divider/docs/examples/Vertical.d.ts +2 -1
  225. package/types/src/Dropdown/Dropdown.d.ts +29 -44
  226. package/types/src/Dropdown/docs/examples/Basic.d.ts +2 -1
  227. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +2 -1
  228. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +2 -1
  229. package/types/src/Dropdown/docs/examples/Dialog.d.ts +2 -1
  230. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +2 -1
  231. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +2 -1
  232. package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -1
  233. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +3 -0
  234. package/types/src/DualListbox/DualListbox.d.ts +1 -1
  235. package/types/src/DualListbox/Label.d.ts +1 -1
  236. package/types/src/DualListbox/Listbox.d.ts +1 -1
  237. package/types/src/DualListbox/Option.d.ts +1 -1
  238. package/types/src/DualListbox/ScreenReaderWrapper.d.ts +2 -1
  239. package/types/src/DualListbox/ToolbarButton.d.ts +1 -1
  240. package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -1
  241. package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -1
  242. package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -1
  243. package/types/src/EventListener/EventListener.d.ts +1 -1
  244. package/types/src/File/File.d.ts +26 -33
  245. package/types/src/File/Icon.d.ts +2 -1
  246. package/types/src/File/IconCloud.d.ts +2 -1
  247. package/types/src/File/Item.d.ts +1 -1
  248. package/types/src/File/PaperClip.d.ts +2 -1
  249. package/types/src/File/Retry.d.ts +2 -1
  250. package/types/src/File/Trash.d.ts +2 -1
  251. package/types/src/File/docs/examples/CustomizedMessages.d.ts +2 -1
  252. package/types/src/File/docs/examples/Disabled.d.ts +2 -2
  253. package/types/src/File/docs/examples/DropAnywhere.d.ts +2 -2
  254. package/types/src/File/docs/examples/Error.d.ts +2 -1
  255. package/types/src/File/docs/examples/FullScreen.d.ts +2 -1
  256. package/types/src/File/docs/examples/Multi.d.ts +2 -2
  257. package/types/src/File/docs/examples/Progress.d.ts +2 -1
  258. package/types/src/File/docs/examples/Single.d.ts +2 -2
  259. package/types/src/FormRows/FormRows.d.ts +20 -14
  260. package/types/src/FormRows/Row.d.ts +11 -7
  261. package/types/src/FormRows/SortableList.d.ts +1 -1
  262. package/types/src/FormRows/docs/examples/Basic.d.ts +1 -1
  263. package/types/src/FormRows/docs/examples/Header.d.ts +1 -1
  264. package/types/src/FormRows/docs/examples/Menu.d.ts +1 -1
  265. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +1 -1
  266. package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -1
  267. package/types/src/Heading/Heading.d.ts +8 -20
  268. package/types/src/Heading/docs/examples/Basic.d.ts +2 -1
  269. package/types/src/Heading/docs/examples/Variant.d.ts +2 -1
  270. package/types/src/Heading/index.d.ts +1 -0
  271. package/types/src/Image/Image.d.ts +8 -19
  272. package/types/src/Image/docs/examples/Basic.d.ts +2 -1
  273. package/types/src/Image/icons/Cross.d.ts +2 -1
  274. package/types/src/JSONTree/JSONTree.d.ts +6 -10
  275. package/types/src/JSONTree/JSONTreeItem.d.ts +1 -1
  276. package/types/src/JSONTree/docs/examples/Basic.d.ts +2 -1
  277. package/types/src/JSONTree/docs/examples/Events.d.ts +2 -2
  278. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +2 -1
  279. package/types/src/JSONTree/renderTreeItems.d.ts +3 -2
  280. package/types/src/Layer/Layer.d.ts +8 -25
  281. package/types/src/Layer/LayerStack.d.ts +2 -3
  282. package/types/src/Layer/docs/examples/Basic.d.ts +2 -1
  283. package/types/src/Layout/Layout.d.ts +22 -0
  284. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  285. package/types/src/Layout/index.d.ts +2 -0
  286. package/types/src/Layout/test/Layout.unit.d.ts +1 -0
  287. package/types/src/Link/Link.d.ts +9 -22
  288. package/types/src/Link/docs/examples/Basic.d.ts +2 -1
  289. package/types/src/Link/docs/examples/Disabled.d.ts +2 -1
  290. package/types/src/Link/docs/examples/NewWindow.d.ts +2 -1
  291. package/types/src/Link/docs/examples/Standalone.d.ts +3 -0
  292. package/types/src/Link/icons/External.d.ts +2 -1
  293. package/types/src/List/Item.d.ts +1 -1
  294. package/types/src/List/List.d.ts +5 -17
  295. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -1
  296. package/types/src/List/docs/examples/OrderedList.d.ts +2 -1
  297. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -1
  298. package/types/src/Markdown/Markdown.d.ts +50 -59
  299. package/types/src/Markdown/docs/examples/Basic.d.ts +2 -1
  300. package/types/src/Markdown/docs/examples/I18n.d.ts +2 -1
  301. package/types/src/Markdown/docs/examples/RenderProps.d.ts +2 -1
  302. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +2 -8
  303. package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +3 -7
  304. package/types/src/Markdown/renderers/MarkdownCode.d.ts +3 -9
  305. package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +5 -9
  306. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +3 -9
  307. package/types/src/Markdown/renderers/MarkdownImage.d.ts +4 -11
  308. package/types/src/Markdown/renderers/MarkdownItem.d.ts +4 -8
  309. package/types/src/Markdown/renderers/MarkdownLink.d.ts +3 -11
  310. package/types/src/Markdown/renderers/MarkdownList.d.ts +6 -22
  311. package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -7
  312. package/types/src/Markdown/renderers/MarkdownTable.d.ts +40 -0
  313. package/types/src/Markdown/renderers/index.d.ts +5 -4
  314. package/types/src/Menu/Divider.d.ts +2 -1
  315. package/types/src/Menu/Heading.d.ts +3 -3
  316. package/types/src/Menu/Item.d.ts +14 -47
  317. package/types/src/Menu/Menu.d.ts +4 -19
  318. package/types/src/Menu/docs/examples/Adornments.d.ts +2 -1
  319. package/types/src/Menu/docs/examples/Basic.d.ts +2 -1
  320. package/types/src/Menu/docs/examples/Complex.d.ts +2 -1
  321. package/types/src/Menu/docs/examples/Descriptions.d.ts +2 -1
  322. package/types/src/Menu/docs/examples/Dimmed.d.ts +2 -1
  323. package/types/src/Menu/docs/examples/Disabled.d.ts +2 -1
  324. package/types/src/Menu/docs/examples/Dividers.d.ts +2 -1
  325. package/types/src/Menu/docs/examples/Headings.d.ts +2 -1
  326. package/types/src/Menu/docs/examples/Links.d.ts +2 -1
  327. package/types/src/Menu/docs/examples/MatchRanges.d.ts +2 -1
  328. package/types/src/Menu/docs/examples/Selectable.d.ts +2 -1
  329. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +2 -1
  330. package/types/src/Menu/docs/examples/Truncate.d.ts +2 -1
  331. package/types/src/Menu/icons/External.d.ts +2 -1
  332. package/types/src/Message/Message.d.ts +4 -11
  333. package/types/src/Message/Title.d.ts +1 -1
  334. package/types/src/Message/docs/examples/Basic.d.ts +2 -1
  335. package/types/src/Message/docs/examples/Content.d.ts +2 -1
  336. package/types/src/Message/docs/examples/Fill.d.ts +2 -1
  337. package/types/src/Message/docs/examples/Removable.d.ts +2 -1
  338. package/types/src/MessageBar/MessageBar.d.ts +1 -1
  339. package/types/src/MessageBar/docs/examples/Basic.d.ts +2 -1
  340. package/types/src/MessageBar/docs/examples/Types.d.ts +2 -1
  341. package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -1
  342. package/types/src/Modal/Body.d.ts +1 -1
  343. package/types/src/Modal/Footer.d.ts +9 -1
  344. package/types/src/Modal/Header.d.ts +7 -11
  345. package/types/src/Modal/Modal.d.ts +26 -32
  346. package/types/src/Modal/ModalContext.d.ts +2 -0
  347. package/types/src/Modal/docs/examples/Basic.d.ts +2 -1
  348. package/types/src/Modal/docs/examples/InitialFocus.d.ts +2 -1
  349. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +2 -1
  350. package/types/src/Modal/docs/examples/Undismissable.d.ts +2 -1
  351. package/types/src/ModalLayer/ModalLayer.d.ts +1 -1
  352. package/types/src/Monogram/Monogram.d.ts +3 -7
  353. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +2 -1
  354. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +2 -1
  355. package/types/src/Monogram/docs/examples/Basic.d.ts +2 -1
  356. package/types/src/Monogram/docs/examples/Interactive.d.ts +2 -1
  357. package/types/src/Monogram/docs/examples/Size.d.ts +2 -1
  358. package/types/src/Multiselect/Compact.d.ts +1 -1
  359. package/types/src/Multiselect/Multiselect.d.ts +4 -2
  360. package/types/src/Multiselect/Normal.d.ts +1 -1
  361. package/types/src/Multiselect/Option.d.ts +1 -1
  362. package/types/src/Multiselect/docs/examples/Children.d.ts +2 -2
  363. package/types/src/Multiselect/docs/examples/Compact.d.ts +2 -1
  364. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -1
  365. package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -2
  366. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -2
  367. package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -2
  368. package/types/src/Multiselect/docs/examples/Error.d.ts +2 -2
  369. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -4
  370. package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
  371. package/types/src/Multiselect/docs/examples/Icons.d.ts +2 -1
  372. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -4
  373. package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -2
  374. package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -2
  375. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +2 -1
  376. package/types/src/NonInteractiveCheckbox/NonInteractiveCheckbox.d.ts +21 -0
  377. package/types/src/NonInteractiveCheckbox/index.d.ts +1 -0
  378. package/types/src/Number/Number.d.ts +46 -68
  379. package/types/src/Number/docs/examples/Basic.d.ts +2 -2
  380. package/types/src/Number/docs/examples/Disabled.d.ts +2 -1
  381. package/types/src/Number/docs/examples/Error.d.ts +2 -1
  382. package/types/src/Number/docs/examples/Limits.d.ts +2 -2
  383. package/types/src/Number/docs/examples/Locale.d.ts +2 -2
  384. package/types/src/Number/docs/examples/Uncontrolled.d.ts +2 -1
  385. package/types/src/Number/utils.d.ts +28 -0
  386. package/types/src/Paginator/Button.d.ts +4 -8
  387. package/types/src/Paginator/Compact.d.ts +1 -1
  388. package/types/src/Paginator/PageControl.d.ts +1 -1
  389. package/types/src/Paginator/PageSelect.d.ts +1 -1
  390. package/types/src/Paginator/PageSeparator.d.ts +2 -1
  391. package/types/src/Paginator/Paginator.d.ts +15 -2
  392. package/types/src/Paginator/docs/examples/Basic.d.ts +2 -1
  393. package/types/src/Paginator/docs/examples/Compact.d.ts +2 -1
  394. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +2 -1
  395. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +2 -1
  396. package/types/src/Paginator/docs/examples/CustomPages.d.ts +3 -0
  397. package/types/src/Paginator/docs/examples/Labelled.d.ts +2 -1
  398. package/types/src/Paginator/docs/examples/PageControl.d.ts +2 -1
  399. package/types/src/Paragraph/Paragraph.d.ts +3 -1
  400. package/types/src/Paragraph/docs/examples/Basic.d.ts +2 -1
  401. package/types/src/Paragraph/index.d.ts +1 -0
  402. package/types/src/Popover/Popover.d.ts +50 -72
  403. package/types/src/Popover/PopoverMenuContext.d.ts +6 -0
  404. package/types/src/Popover/PopoverProvider.d.ts +23 -0
  405. package/types/src/Popover/docs/examples/Basic.d.ts +2 -1
  406. package/types/src/Popover/getPlacement.d.ts +1 -1
  407. package/types/src/Popover/index.d.ts +2 -1
  408. package/types/src/Progress/Progress.d.ts +3 -4
  409. package/types/src/Progress/docs/examples/Basic.d.ts +2 -1
  410. package/types/src/Progress/docs/examples/Type.d.ts +2 -1
  411. package/types/src/Prose/Prose.d.ts +29 -0
  412. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  413. package/types/src/Prose/docs/examples/Customize.d.ts +3 -0
  414. package/types/src/Prose/index.d.ts +2 -0
  415. package/types/src/Prose/test/Prose.unit.d.ts +1 -0
  416. package/types/src/RadioBar/Option.d.ts +2 -18
  417. package/types/src/RadioBar/RadioBar.d.ts +22 -39
  418. package/types/src/RadioBar/RadioBarContext.d.ts +0 -1
  419. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +2 -1
  420. package/types/src/RadioBar/docs/examples/Basic.d.ts +2 -1
  421. package/types/src/RadioBar/docs/examples/Disabled.d.ts +2 -1
  422. package/types/src/RadioBar/docs/examples/Error.d.ts +2 -1
  423. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -1
  424. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +2 -1
  425. package/types/src/RadioList/Option.d.ts +1 -1
  426. package/types/src/RadioList/RadioList.d.ts +5 -2
  427. package/types/src/RadioList/docs/examples/Basic.d.ts +2 -1
  428. package/types/src/RadioList/docs/examples/Disabled.d.ts +2 -1
  429. package/types/src/RadioList/docs/examples/Error.d.ts +2 -1
  430. package/types/src/RadioList/docs/examples/Row.d.ts +2 -1
  431. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +2 -1
  432. package/types/src/Resize/Resize.d.ts +15 -23
  433. package/types/src/Resize/docs/examples/Appearance.d.ts +2 -1
  434. package/types/src/Resize/docs/examples/Basic.d.ts +2 -1
  435. package/types/src/Resize/docs/examples/Percentage.d.ts +2 -1
  436. package/types/src/Resize/docs/examples/SizingInner.d.ts +2 -1
  437. package/types/src/Resize/docs/examples/SizingOuter.d.ts +2 -1
  438. package/types/src/ResultsMenu/ResultsMenu.d.ts +1 -1
  439. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
  440. package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +1 -1
  441. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +2 -1
  442. package/types/src/Scroll/Inner.d.ts +1 -1
  443. package/types/src/Scroll/Scroll.d.ts +37 -27
  444. package/types/src/Scroll/docs/examples/Controlled.d.ts +2 -2
  445. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +2 -1
  446. package/types/src/ScrollContainerContext/docs/examples/Consumer.d.ts +2 -1
  447. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +2 -1
  448. package/types/src/Search/Option.d.ts +32 -32
  449. package/types/src/Search/Search.d.ts +4 -4
  450. package/types/src/Search/docs/examples/Controlled.d.ts +2 -1
  451. package/types/src/Search/docs/examples/Loading.d.ts +2 -1
  452. package/types/src/Search/docs/examples/Options.d.ts +2 -1
  453. package/types/src/Search/docs/examples/OptionsLinks.d.ts +2 -1
  454. package/types/src/Search/docs/examples/Results.d.ts +2 -1
  455. package/types/src/Select/Option.d.ts +8 -21
  456. package/types/src/Select/OptionBase.d.ts +3 -8
  457. package/types/src/Select/Select.d.ts +62 -22
  458. package/types/src/Select/SelectAllOption.d.ts +1 -1
  459. package/types/src/Select/SelectBase.d.ts +5 -8
  460. package/types/src/Select/docs/examples/Appearance.d.ts +2 -11
  461. package/types/src/Select/docs/examples/Basic.d.ts +2 -9
  462. package/types/src/Select/docs/examples/Children.d.ts +2 -9
  463. package/types/src/Select/docs/examples/Descriptions.d.ts +2 -9
  464. package/types/src/Select/docs/examples/Error.d.ts +2 -1
  465. package/types/src/Select/docs/examples/Fetching.d.ts +2 -22
  466. package/types/src/Select/docs/examples/Filter.d.ts +2 -9
  467. package/types/src/Select/docs/examples/Headings.d.ts +2 -9
  468. package/types/src/Select/docs/examples/Icons.d.ts +2 -1
  469. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -24
  470. package/types/src/Select/docs/examples/Prefix.d.ts +2 -9
  471. package/types/src/Select/docs/examples/Truncate.d.ts +2 -9
  472. package/types/src/Select/docs/examples/Uncontrolled.d.ts +2 -1
  473. package/types/src/SidePanel/SidePanel.d.ts +18 -16
  474. package/types/src/SidePanel/docs/examples/Basic.d.ts +2 -1
  475. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +2 -1
  476. package/types/src/SidePanel/docs/examples/Composition.d.ts +2 -1
  477. package/types/src/Slider/Slider.d.ts +32 -46
  478. package/types/src/Slider/docs/examples/Basic.d.ts +2 -1
  479. package/types/src/Slider/docs/examples/Controlled.d.ts +2 -2
  480. package/types/src/Slider/docs/examples/CustomLabels.d.ts +2 -2
  481. package/types/src/Slider/docs/examples/Disabled.d.ts +2 -1
  482. package/types/src/Slider/docs/examples/Error.d.ts +2 -1
  483. package/types/src/Slider/docs/examples/StepMarks.d.ts +2 -1
  484. package/types/src/SlidingPanels/Panel.d.ts +23 -20
  485. package/types/src/SlidingPanels/SlidingPanels.d.ts +18 -25
  486. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +2 -2
  487. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +2 -2
  488. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +2 -1
  489. package/types/src/SplitButton/Item.d.ts +2 -2
  490. package/types/src/SplitButton/SplitButton.d.ts +1 -1
  491. package/types/src/SplitButton/docs/examples/Basic.d.ts +2 -1
  492. package/types/src/SplitButton/docs/examples/Block.d.ts +2 -1
  493. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +2 -1
  494. package/types/src/SplitButton/docs/examples/Disabled.d.ts +2 -1
  495. package/types/src/StaticContent/StaticContent.d.ts +1 -8
  496. package/types/src/StaticContent/docs/examples/Basic.d.ts +2 -1
  497. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +2 -1
  498. package/types/src/StepBar/Step.d.ts +1 -1
  499. package/types/src/StepBar/StepBar.d.ts +2 -3
  500. package/types/src/StepBar/docs/examples/Basic.d.ts +2 -1
  501. package/types/src/StepBar/docs/examples/Error.d.ts +2 -1
  502. package/types/src/StepBar/types.d.ts +2 -0
  503. package/types/src/Switch/Switch.d.ts +37 -23
  504. package/types/src/Switch/docs/examples/Basic.d.ts +2 -2
  505. package/types/src/Switch/docs/examples/Disabled.d.ts +2 -2
  506. package/types/src/Switch/docs/examples/Error.d.ts +2 -1
  507. package/types/src/TabBar/Tab.d.ts +37 -44
  508. package/types/src/TabBar/TabBar.d.ts +21 -22
  509. package/types/src/TabBar/TabBarContext.d.ts +3 -5
  510. package/types/src/TabBar/docs/examples/Basic.d.ts +2 -1
  511. package/types/src/TabBar/docs/examples/Disabled.d.ts +2 -1
  512. package/types/src/TabBar/docs/examples/IconsAbove.d.ts +2 -1
  513. package/types/src/TabBar/docs/examples/IconsLeft.d.ts +2 -1
  514. package/types/src/TabBar/docs/examples/Tooltips.d.ts +2 -1
  515. package/types/src/TabBar/docs/examples/Vertical.d.ts +2 -1
  516. package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +2 -1
  517. package/types/src/TabBar/docs/examples/VerticalIconsLeft.d.ts +2 -1
  518. package/types/src/TabBar/docs/examples/WithCount.d.ts +2 -1
  519. package/types/src/TabLayout/Panel.d.ts +6 -1
  520. package/types/src/TabLayout/TabLayout.d.ts +18 -31
  521. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +2 -1
  522. package/types/src/TabLayout/docs/examples/Controlled.d.ts +2 -1
  523. package/types/src/TabLayout/docs/examples/Icons.d.ts +2 -1
  524. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +2 -1
  525. package/types/src/TabLayout/docs/examples/Vertical.d.ts +2 -1
  526. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +2 -1
  527. package/types/src/Table/Body.d.ts +6 -13
  528. package/types/src/Table/Caption.d.ts +1 -1
  529. package/types/src/Table/Cell.d.ts +40 -18
  530. package/types/src/Table/ExpandButton.d.ts +9 -3
  531. package/types/src/Table/Head.d.ts +40 -40
  532. package/types/src/Table/HeadCell.d.ts +49 -23
  533. package/types/src/Table/HeadDropdownCell.d.ts +58 -51
  534. package/types/src/Table/HeadInner.d.ts +1 -3
  535. package/types/src/Table/HeadTable.d.ts +23 -12
  536. package/types/src/Table/Row.d.ts +7 -14
  537. package/types/src/Table/RowDragCell.d.ts +2 -1
  538. package/types/src/Table/Table.d.ts +13 -19
  539. package/types/src/Table/Toggle.d.ts +1 -3
  540. package/types/src/Table/docs/examples/Basic.d.ts +2 -1
  541. package/types/src/Table/docs/examples/Click.d.ts +3 -16
  542. package/types/src/Table/docs/examples/ClickRows.d.ts +3 -16
  543. package/types/src/Table/docs/examples/Complex.d.ts +3 -50
  544. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +2 -1
  545. package/types/src/Table/docs/examples/ExpandableRows.d.ts +2 -1
  546. package/types/src/Table/docs/examples/ExpandableRowsControlled.d.ts +2 -1
  547. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +2 -13
  548. package/types/src/Table/docs/examples/FixedHeader.d.ts +2 -1
  549. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +2 -17
  550. package/types/src/Table/docs/examples/ReorderColumns.d.ts +3 -21
  551. package/types/src/Table/docs/examples/ReorderRows.d.ts +3 -21
  552. package/types/src/Table/docs/examples/Resizable.d.ts +3 -23
  553. package/types/src/Table/docs/examples/ResizableFill.d.ts +3 -23
  554. package/types/src/Table/docs/examples/RowActions.d.ts +3 -39
  555. package/types/src/Table/docs/examples/Selectable.d.ts +3 -18
  556. package/types/src/Table/docs/examples/SortableColumns.d.ts +2 -11
  557. package/types/src/Table/docs/examples/StripeRows.d.ts +2 -1
  558. package/types/src/Table/docs/examples/prisma/DockedHeaderScrollbar.d.ts +2 -1
  559. package/types/src/Text/IconOutlinedHide.d.ts +2 -1
  560. package/types/src/Text/IconOutlinedView.d.ts +2 -1
  561. package/types/src/Text/Text.d.ts +62 -112
  562. package/types/src/Text/docs/examples/Basic.d.ts +2 -1
  563. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +2 -1
  564. package/types/src/Text/docs/examples/Dimmed.d.ts +2 -1
  565. package/types/src/Text/docs/examples/Disabled.d.ts +2 -1
  566. package/types/src/Text/docs/examples/Error.d.ts +2 -1
  567. package/types/src/Text/docs/examples/Inline.d.ts +2 -1
  568. package/types/src/Text/docs/examples/Password.d.ts +2 -1
  569. package/types/src/Text/docs/examples/Uncontrolled.d.ts +2 -1
  570. package/types/src/TextArea/TextArea.d.ts +49 -87
  571. package/types/src/TextArea/docs/examples/Basic.d.ts +2 -1
  572. package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -1
  573. package/types/src/TextArea/docs/examples/Error.d.ts +2 -1
  574. package/types/src/TextArea/docs/examples/Inline.d.ts +2 -1
  575. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -1
  576. package/types/src/TextArea/syncHeightWithShadow.d.ts +1 -1
  577. package/types/src/Tooltip/InfoIcon.d.ts +2 -1
  578. package/types/src/Tooltip/Tooltip.d.ts +9 -3
  579. package/types/src/Tooltip/docs/examples/Basic.d.ts +2 -1
  580. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +2 -1
  581. package/types/src/Tooltip/docs/examples/Controlled.d.ts +2 -2
  582. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +2 -1
  583. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +2 -1
  584. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +2 -1
  585. package/types/src/TransitionOpen/TransitionOpen.d.ts +23 -25
  586. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +2 -1
  587. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +2 -1
  588. package/types/src/TransitionOpen/docs/examples/None.d.ts +2 -1
  589. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +2 -1
  590. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +2 -1
  591. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +2 -1
  592. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +2 -1
  593. package/types/src/Tree/Tree.d.ts +1 -1
  594. package/types/src/Tree/TreeItem.d.ts +1 -1
  595. package/types/src/Typography/Typography.d.ts +10 -19
  596. package/types/src/Typography/docs/examples/Basic.d.ts +2 -1
  597. package/types/src/WaitSpinner/WaitSpinner.d.ts +2 -3
  598. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +2 -1
  599. package/types/src/utils/types.d.ts +1 -0
  600. package/useResizeObserver.js +122 -90
  601. package/Concertina.d.ts +0 -2
  602. package/Concertina.js +0 -963
  603. package/types/src/Accordion/docs/examples/FixedHeight.d.ts +0 -2
  604. package/types/src/Accordion/docs/examples/InDropdown.d.ts +0 -2
  605. package/types/src/Button/docs/examples/Dimmed.d.ts +0 -2
  606. package/types/src/Button/icons/CaretSmallDown.d.ts +0 -2
  607. package/types/src/Button/icons/External.d.ts +0 -2
  608. package/types/src/Clickable/docs/examples/Dimmed.d.ts +0 -2
  609. package/types/src/CloseButton/CloseButton.d.ts +0 -21
  610. package/types/src/CloseButton/index.d.ts +0 -1
  611. package/types/src/CollapsiblePanel/docs/examples/TitleWithActions.d.ts +0 -2
  612. package/types/src/Concertina/Concertina.d.ts +0 -46
  613. package/types/src/Concertina/ConcertinaContext.d.ts +0 -8
  614. package/types/src/Concertina/Heading.d.ts +0 -35
  615. package/types/src/Concertina/Panel.d.ts +0 -59
  616. package/types/src/Concertina/docs/examples/Basic.d.ts +0 -2
  617. package/types/src/Concertina/docs/examples/Disabled.d.ts +0 -9
  618. package/types/src/Concertina/docs/examples/Status.d.ts +0 -2
  619. package/types/src/Concertina/index.d.ts +0 -2
  620. package/types/src/Concertina/types.d.ts +0 -1
  621. package/types/src/ControlGroup/docs/examples/LabelTop.d.ts +0 -2
  622. package/types/src/Dropdown/docs/examples/OtherToggles.d.ts +0 -2
  623. package/types/src/Link/docs/examples/Inline.d.ts +0 -2
  624. package/types/src/Message/Link.d.ts +0 -37
  625. package/types/src/Number/IncrementIcon.d.ts +0 -2
  626. package/types/src/Paginator/icons/ChevronLeft.d.ts +0 -5
  627. package/types/src/Paginator/icons/ChevronRight.d.ts +0 -5
  628. package/types/src/Popover/PopoverContext.d.ts +0 -6
  629. package/types/src/RadioList/docs/examples/Composing.d.ts +0 -2
  630. package/types/src/Select/icons/CaretSmallDown.d.ts +0 -2
  631. package/types/src/Select/icons/Search.d.ts +0 -2
  632. package/types/src/Switch/CheckIcon.d.ts +0 -1
  633. package/types/src/Table/DragHandle.d.ts +0 -12
  634. package/types/src/Table/icons/HeadExpandRows.d.ts +0 -1
  635. package/types/src/Text/docs/examples/Multiline.d.ts +0 -2
  636. package/types/src/Text/docs/examples/Search.d.ts +0 -2
  637. package/types/src/TextArea/docs/examples/ClearContent.d.ts +0 -2
  638. package/types/src/TextArea/icons/ClearButton.d.ts +0 -3
  639. package/types/src/TextArea/icons/SearchIcon.d.ts +0 -1
package/Card.js CHANGED
@@ -61,9 +61,9 @@
61
61
  e.r(r);
62
62
  // EXPORTS
63
63
  e.d(r, {
64
- Body: () => /* reexport */ m,
64
+ Body: () => /* reexport */ v,
65
65
  Footer: () => /* reexport */ k,
66
- Header: () => /* reexport */ Q,
66
+ Header: () => /* reexport */ K,
67
67
  default: () => /* reexport */ qe
68
68
  });
69
69
  // CONCATENATED MODULE: external "react"
@@ -81,7 +81,7 @@
81
81
  // CONCATENATED MODULE: external "@splunk/themes"
82
82
  const u = require("@splunk/themes");
83
83
  // CONCATENATED MODULE: ./src/Card/BodyStyles.ts
84
- var d = l()(s()).withConfig({
84
+ var p = l()(s()).withConfig({
85
85
  displayName: "BodyStyles__StyledBox",
86
86
  componentId: "sc-1130udp-0"
87
87
  })([ "flex:1 1 auto;overflow:auto;height:100%;", ";", "" ], (function(e) {
@@ -94,14 +94,11 @@
94
94
  }
95
95
  })) : (0, a.css)([ "padding:0;" ]);
96
96
  }), (0, u.pick)({
97
- prisma: {
98
- comfortable: (0, a.css)([ "border-radius:", ";color:", ";" ], u.variables.borderRadius, u.variables.contentColorMuted),
99
- compact: (0, a.css)([ "border-radius:", ";color:", ";" ], u.variables.borderRadius, u.variables.contentColorMuted)
100
- }
97
+ prisma: (0, a.css)([ "border-radius:", ";" ], u.variables.borderRadius)
101
98
  }));
102
99
  // CONCATENATED MODULE: ./src/Card/Body.tsx
103
- function p() {
104
- return p = Object.assign ? Object.assign.bind() : function(e) {
100
+ function d() {
101
+ return d = Object.assign ? Object.assign.bind() : function(e) {
105
102
  for (var r = 1; r < arguments.length; r++) {
106
103
  var t = arguments[r];
107
104
  for (var n in t) {
@@ -109,7 +106,7 @@
109
106
  }
110
107
  }
111
108
  return e;
112
- }, p.apply(null, arguments);
109
+ }, d.apply(null, arguments);
113
110
  }
114
111
  function f(e, r) {
115
112
  if (null == e) return {};
@@ -133,39 +130,34 @@
133
130
  }
134
131
  return t;
135
132
  }
136
- var v = {
133
+ var y = {
137
134
  children: i().node,
138
135
  elementRef: i().oneOfType([ i().func, i().object ]),
139
136
  inset: i().bool
140
137
  };
141
138
  /**
142
139
  * A styled container for `Card` body content.
143
- */ function y(e) {
140
+ */ function m(e) {
144
141
  var r = e.children, t = e.inset, o = t === void 0 ? true : t, i = f(e, [ "children", "inset" ]);
145
142
  // @docs-props-type BodyPropsBase
146
143
 
147
- return n().createElement(d, p({
144
+ return n().createElement(p, d({
148
145
  "data-test": "body",
149
146
  $inset: o
150
147
  }, i), r);
151
148
  }
152
- y.propTypes = v;
153
- /* harmony default export */ const m = y;
149
+ m.propTypes = y;
150
+ /* harmony default export */ const v = m;
154
151
  // CONCATENATED MODULE: ./src/Card/FooterStyles.ts
155
152
  var h = l()(s()).withConfig({
156
153
  displayName: "FooterStyles__StyledBox",
157
154
  componentId: "sc-1yu3r4s-0"
158
- })([ "", ";text-align:right;color:", ";", "" ], (0, u.pick)({
155
+ })([ "", " ", ";text-align:right;" ], u.mixins.typography("body"), (0, u.pick)({
159
156
  enterprise: (0, a.css)([ "padding:", ";&:first-child{border-top:none;}" ], u.variables.spacingLarge),
160
157
  prisma: {
161
158
  comfortable: (0, a.css)([ "padding:24px;" ]),
162
159
  compact: "padding: 18px 24px"
163
160
  }
164
- }), u.variables.contentColorMuted, (function(e) {
165
- var r = e.$showTopBorder;
166
- return r && (0, u.pick)({
167
- enterprise: (0, a.css)([ "border-top:1px solid ", ";" ], u.variables.gray92)
168
- });
169
161
  }));
170
162
  // CONCATENATED MODULE: ./src/Card/Footer.tsx
171
163
  function g() {
@@ -203,20 +195,17 @@
203
195
  }
204
196
  var x = {
205
197
  children: i().node,
206
- elementRef: i().oneOfType([ i().func, i().object ]),
207
- showBorder: i().bool
198
+ elementRef: i().oneOfType([ i().func, i().object ])
208
199
  };
209
200
  /**
210
201
  * A styled container for `Card` footer content.
211
202
  */ function S(e) {
212
- var r = e.children, t = e.showBorder, o = t === void 0 ? true : t, i = w(e, [ "children", "showBorder" ]);
203
+ var r = e.children, t = w(e, [ "children" ]);
213
204
  // @docs-props-type FooterPropsBase
214
- if (false) {}
215
-
205
+
216
206
  return n().createElement(h, g({
217
- "data-test": "footer",
218
- $showTopBorder: o
219
- }, i), r);
207
+ "data-test": "footer"
208
+ }, t), r);
220
209
  }
221
210
  S.propTypes = x;
222
211
  /* harmony default export */ const k = S;
@@ -225,46 +214,37 @@
225
214
  // CONCATENATED MODULE: external "@splunk/react-icons/DotsThreeVertical"
226
215
  const C = require("@splunk/react-icons/DotsThreeVertical");
227
216
  var P = e.n(C);
228
- // CONCATENATED MODULE: external "@splunk/react-icons/enterprise/MoreVertical"
229
- const _ = require("@splunk/react-icons/enterprise/MoreVertical");
230
- var E = e.n(_);
231
217
  // CONCATENATED MODULE: external "@splunk/react-ui/Anchor"
232
- const T = require("@splunk/react-ui/Anchor");
233
- var B = e.n(T);
218
+ const _ = require("@splunk/react-ui/Anchor");
219
+ var E = e.n(_);
234
220
  // CONCATENATED MODULE: external "@splunk/react-ui/Dropdown"
235
- const I = require("@splunk/react-ui/Dropdown");
236
- var R = e.n(I);
221
+ const T = require("@splunk/react-ui/Dropdown");
222
+ var I = e.n(T);
237
223
  // CONCATENATED MODULE: external "@splunk/react-ui/Tooltip"
238
- const q = require("@splunk/react-ui/Tooltip");
239
- var N = e.n(q);
224
+ const R = require("@splunk/react-ui/Tooltip");
225
+ var q = e.n(R);
240
226
  // CONCATENATED MODULE: external "@splunk/react-ui/Button"
241
- const H = require("@splunk/react-ui/Button");
242
- var $ = e.n(H);
227
+ const N = require("@splunk/react-ui/Button");
228
+ var A = e.n(N);
243
229
  // CONCATENATED MODULE: ./src/Card/HeaderStyles.ts
244
- var A = l().div.withConfig({
230
+ var H = l().div.withConfig({
245
231
  displayName: "HeaderStyles__StyledTitle",
246
232
  componentId: "eqi6uk-0"
247
- })([ "", " ", " margin:0;overflow-wrap:break-word;padding:0;" ], u.mixins.reset("block"), (0,
248
- u.pick)({
249
- enterprise: (0, a.css)([ "font-weight:", ";font-size:", ";line-height:1.2;" ], u.variables.fontWeightSemiBold, u.variables.fontSizeLarge),
250
- prisma: (0, a.css)([ "font-weight:", ";color:", ";" ], u.variables.fontWeightBold, u.variables.contentColorActive)
251
- }));
252
- var W = l().div.withConfig({
233
+ })([ "", " ", " margin:0;overflow-wrap:break-word;padding:0;" ], u.mixins.reset("block"), u.mixins.typography("title3"));
234
+ var B = l().div.withConfig({
253
235
  displayName: "HeaderStyles__StyledSubtitle",
254
236
  componentId: "eqi6uk-1"
255
- })([ "", " ", " margin:0;overflow-wrap:break-word;padding:0;font-weight:normal;" ], u.mixins.reset("block"), (0,
256
- u.pick)({
257
- enterprise: (0, a.css)([ "font-size:", ";color:", ";" ], u.variables.fontSizeSmall, u.variables.textGray),
258
- prisma: (0, a.css)([ "color:", ";" ], u.variables.contentColorDefault)
237
+ })([ "", " ", " margin:0;overflow-wrap:break-word;padding:0;" ], u.mixins.reset("block"), u.mixins.typography("body", {
238
+ color: "active"
259
239
  }));
260
- var D = l().div.withConfig({
240
+ var W = l().div.withConfig({
261
241
  displayName: "HeaderStyles__StyledTitleContainer",
262
242
  componentId: "eqi6uk-2"
263
243
  })([ "", " flex:0 1 auto;", " &:not(:last-child){margin-right:", ";}" ], u.mixins.reset("block"), (function(e) {
264
244
  var r = e.$truncateTitle;
265
- return r && (0, a.css)([ "overflow:hidden;& > ", ",& > ", "{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}" ], /* sc-sel */ A, /* sc-sel */ W);
245
+ return r && (0, a.css)([ "overflow:hidden;& > ", ",& > ", "{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}" ], /* sc-sel */ H, /* sc-sel */ B);
266
246
  }), u.variables.spacingSmall);
267
- var M = l().div.withConfig({
247
+ var $ = l().div.withConfig({
268
248
  displayName: "HeaderStyles__StyledActionContainer",
269
249
  componentId: "eqi6uk-3"
270
250
  })([ "", " align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;", ";" ], u.mixins.reset("block"), (0,
@@ -274,27 +254,27 @@
274
254
  compact: (0, a.css)([ "margin-right:-12px;margin-top:0;" ])
275
255
  }
276
256
  }));
277
- var F = l()($()).withConfig({
257
+ var D = l()(A()).withConfig({
278
258
  displayName: "HeaderStyles__StyledSecondaryAction",
279
259
  componentId: "eqi6uk-4"
280
260
  })([ "margin-left:10px;" ]);
281
- var L = l()(s()).withConfig({
261
+ var F = l()(s()).withConfig({
282
262
  displayName: "HeaderStyles__StyledBox",
283
263
  componentId: "eqi6uk-5"
284
264
  })([ "align-items:start;display:flex;flex:0 0 auto;justify-content:space-between;position:relative;min-height:30px;", " ", " >:not(", "):not(", "){flex:1 0 auto;}" ], (0,
285
265
  u.pick)({
286
266
  enterprise: (0, a.css)([ "padding:", ";" ], u.variables.spacingLarge),
287
267
  prisma: {
288
- comfortable: (0, a.css)([ "padding:16px 24px;&:last-child{padding-bottom:32px;}" ]),
289
- compact: (0, a.css)([ "padding:12px 24px;&:last-child{padding-bottom:24px;}" ])
268
+ comfortable: (0, a.css)([ "padding:16px 24px;" ]),
269
+ compact: (0, a.css)([ "padding:12px 24px;" ])
290
270
  }
291
271
  }), (0, u.pick)({
292
272
  prisma: (0, a.css)([ "border-top-left-radius:", ";border-top-right-radius:", ";" ], u.variables.borderRadius, u.variables.borderRadius)
293
- }), /* sc-sel */ D, /* sc-sel */ M);
273
+ }), /* sc-sel */ W, /* sc-sel */ $);
294
274
  // CONCATENATED MODULE: ./src/Card/Header.tsx
295
- function z(e, r) {
275
+ function L(e, r) {
296
276
  if (null == e) return {};
297
- var t, n, o = V(e, r);
277
+ var t, n, o = M(e, r);
298
278
  if (Object.getOwnPropertySymbols) {
299
279
  var i = Object.getOwnPropertySymbols(e);
300
280
  for (n = 0; n < i.length; n++) {
@@ -303,7 +283,7 @@
303
283
  }
304
284
  return o;
305
285
  }
306
- function V(e, r) {
286
+ function M(e, r) {
307
287
  if (null == e) return {};
308
288
  var t = {};
309
289
  for (var n in e) {
@@ -314,8 +294,8 @@
314
294
  }
315
295
  return t;
316
296
  }
317
- function G() {
318
- return G = Object.assign ? Object.assign.bind() : function(e) {
297
+ function U() {
298
+ return U = Object.assign ? Object.assign.bind() : function(e) {
319
299
  for (var r = 1; r < arguments.length; r++) {
320
300
  var t = arguments[r];
321
301
  for (var n in t) {
@@ -323,9 +303,9 @@
323
303
  }
324
304
  }
325
305
  return e;
326
- }, G.apply(null, arguments);
306
+ }, U.apply(null, arguments);
327
307
  }
328
- var U = {
308
+ var V = {
329
309
  actionPrimary: i().node,
330
310
  actionsSecondary: i().node,
331
311
  anchor: i().string,
@@ -338,69 +318,58 @@
338
318
  // The order of the interfaces is necessary to maintain proper error messages: HeaderWithActions then HeaderWithActionsRenderProp
339
319
  // If the actions comes first the error will report that actions should be undefined
340
320
  // when we want actions to be the intended use case
341
- // type HeaderProps = ComponentProps<HeaderPropsBase, 'div'>;
321
+ var z = n().createElement(P(), null);
342
322
  // `forwardRef` is used to enable focus on toggle when Dropdown is closing
343
- var J = n().forwardRef((function(e, r) {
344
- var t = (0, u.useSplunkTheme)(), o = t.family, i = t.isCompact;
345
- var a = i ? "20px" : "24px";
346
- var l = o === "prisma" ? n().createElement(P(), {
347
- height: a,
348
- width: a
349
- }) : n().createElement(E(), null);
323
+ var G = n().forwardRef((function(e, r) {
350
324
 
351
- return n().createElement(N(), G({
325
+ return n().createElement(q(), U({
352
326
  content: (0, j._)("Actions"),
353
327
  contentRelationship: "label"
354
- }, e), n().createElement(F, {
328
+ }, e), n().createElement(D, {
355
329
  appearance: "secondary",
356
330
  "data-test": "actions-secondary-toggle",
357
- icon: l,
331
+ icon: z,
358
332
  elementRef: r
359
333
  }));
360
334
  }));
361
335
  /**
362
336
  * A styled container for `Card` header content.
363
- */ function K(e) {
364
- var r = e.actions, t = e.actionPrimary, o = e.actionsSecondary, i = e.anchor, a = e.children, l = e.subtitle, c = e.title, s = e.truncateTitle, d = s === void 0 ? true : s, p = z(e, [ "actions", "actionPrimary", "actionsSecondary", "anchor", "children", "subtitle", "title", "truncateTitle" ]);
337
+ */ function J(e) {
338
+ var r = e.actions, t = e.actionPrimary, o = e.actionsSecondary, i = e.anchor, a = e.children, l = e.subtitle, c = e.title, s = e.truncateTitle, p = s === void 0 ? true : s, d = L(e, [ "actions", "actionPrimary", "actionsSecondary", "anchor", "children", "subtitle", "title", "truncateTitle" ]);
365
339
  // @docs-props-type HeaderPropsBase
366
340
  var f = (0, u.useSplunkTheme)(), b = f.family;
367
- var v = b === "prisma" ? "right" : "below";
341
+ var y = b === "prisma" ? "right" : "below";
368
342
  if (false) {}
369
- var y;
343
+ var m;
370
344
  if (r) {
371
- y = r();
345
+ m = r();
372
346
  } else if (t || o) {
373
- y = n().createElement(n().Fragment, null, t, o && n().createElement(R(), {
374
- defaultPlacement: v,
375
- toggle: n().createElement(J, null)
347
+ m = n().createElement(n().Fragment, null, t, o && n().createElement(I(), {
348
+ defaultPlacement: y,
349
+ toggle: n().createElement(G, null)
376
350
  }, o));
377
351
  }
378
352
 
379
- return n().createElement(L, G({
353
+ return n().createElement(F, U({
380
354
  "data-test": "header"
381
- }, p), (c || l) && n().createElement(D, {
382
- $truncateTitle: d
383
- }, c && n().createElement(A, null, i ? n().createElement(B(), {
355
+ }, d), (c || l) && n().createElement(W, {
356
+ $truncateTitle: p
357
+ }, c && n().createElement(H, null, i ? n().createElement(E(), {
384
358
  name: i
385
- }, c) : c), l && n().createElement(W, null, l)), a, y && n().createElement(M, null, y));
359
+ }, c) : c), l && n().createElement(B, null, l)), a, m && n().createElement($, null, m));
386
360
  }
387
- K.propTypes = U;
388
- /* harmony default export */ const Q = K;
361
+ J.propTypes = V;
362
+ /* harmony default export */ const K = J;
389
363
  // CONCATENATED MODULE: external "@splunk/react-ui/Clickable"
390
- const X = require("@splunk/react-ui/Clickable");
391
- var Y = e.n(X);
364
+ const Q = require("@splunk/react-ui/Clickable");
365
+ var X = e.n(Q);
392
366
  // CONCATENATED MODULE: ./src/Card/CardStyles.ts
393
- var Z = "0.2s";
394
- var ee = (0, a.css)([ "", ";flex-direction:column;align-items:stretch;min-width:100px;flex:1;vertical-align:top;", " transition:height ", ",width ", ",min-width ", ",max-width ", ",margin ", ",box-shadow ", ",border-color ", ";", " &[data-clickable='true']{cursor:pointer;", " &:hover{", "}&:focus{", "}}" ], u.mixins.reset("inline-flex"), (0,
367
+ var Y = "0.2s";
368
+ var Z = (0, a.css)([ "", ";background-color:", ";flex-direction:column;align-items:stretch;min-width:100px;flex:1;vertical-align:top;", " transition:height ", ",width ", ",min-width ", ",max-width ", ",margin ", ",box-shadow ", ",border-color ", ";&[data-clickable='true']{cursor:pointer;", " &:hover{", "}&:focus{", "}}" ], u.mixins.reset("inline-flex"), u.variables.backgroundColorSection, (0,
395
369
  u.pick)({
396
- enterprise: (0, a.css)([ "background-color:", ";border:1px solid transparent;" ], u.variables.backgroundColor),
397
- prisma: (0, a.css)([ "background-color:", ";border-radius:", ";box-shadow:", ";" ], u.variables.backgroundColorSection, u.variables.borderRadius, u.variables.embossShadow)
398
- }), Z, Z, Z, Z, Z, Z, Z, (function(e) {
399
- var r = e.$cardHasBorder;
400
- return r && (0, u.pick)({
401
- enterprise: (0, a.css)([ "border-color:", ";" ], u.variables.borderLightColor)
402
- });
403
- }), (function(e) {
370
+ enterprise: (0, a.css)([ "border:1px solid ", ";" ], u.variables.borderLightColor),
371
+ prisma: (0, a.css)([ "border-radius:", ";box-shadow:", ";" ], u.variables.borderRadius, u.variables.embossShadow)
372
+ }), Y, Y, Y, Y, Y, Y, Y, (function(e) {
404
373
  var r = e.$selected;
405
374
  return r && (0, u.pick)({
406
375
  enterprise: (0, a.css)([ "border-color:", ";" ], u.variables.focusColor),
@@ -413,21 +382,21 @@
413
382
  enterprise: (0, a.css)([ "box-shadow:", ";" ], u.variables.focusShadow),
414
383
  prisma: (0, a.css)([ "box-shadow:", ",", ";background-color:", ";" ], u.variables.embossShadow, u.variables.focusShadow, u.mixins.overlayColors(u.variables.backgroundColorSection, u.variables.interactiveColorOverlayHover))
415
384
  }));
416
- var re = l().article.withConfig({
385
+ var ee = l().article.withConfig({
417
386
  displayName: "CardStyles__Styled",
418
387
  componentId: "ola3x0-0"
419
- })([ "", "" ], ee);
420
- var te = l()(Y()).withConfig({
388
+ })([ "", "" ], Z);
389
+ var re = l()(X()).withConfig({
421
390
  displayName: "CardStyles__StyledClickable",
422
391
  componentId: "ola3x0-1"
423
- })([ "", "" ], ee);
392
+ })([ "", "" ], Z);
424
393
  /* A child element we add to <button>s to make flexbox work.
425
394
  Without this wrapper element, child elements won't flex
426
395
  in Firefox.
427
396
  This unfortunately exposes some fragility in IE (e.g., adding
428
397
  a flex: 1 style here will cause the card to collapse) so test
429
398
  across the supported browsers if making a change here.
430
- */ var ne = l().div.withConfig({
399
+ */ var te = l().div.withConfig({
431
400
  displayName: "CardStyles__StyledFirefoxFlexHack",
432
401
  componentId: "ola3x0-2"
433
402
  })([ "display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;justify-content:stretch;height:100%;", "" ], (0,
@@ -435,16 +404,16 @@
435
404
  prisma: (0, a.css)([ "border-radius:", ";" ], u.variables.borderRadius)
436
405
  }));
437
406
  // CONCATENATED MODULE: ./src/Card/Card.tsx
438
- function oe(e) {
407
+ function ne(e) {
439
408
  "@babel/helpers - typeof";
440
- return oe = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
409
+ return ne = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
441
410
  return typeof e;
442
411
  } : function(e) {
443
412
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
444
- }, oe(e);
413
+ }, ne(e);
445
414
  }
446
- function ie() {
447
- return ie = Object.assign ? Object.assign.bind() : function(e) {
415
+ function oe() {
416
+ return oe = Object.assign ? Object.assign.bind() : function(e) {
448
417
  for (var r = 1; r < arguments.length; r++) {
449
418
  var t = arguments[r];
450
419
  for (var n in t) {
@@ -452,29 +421,29 @@
452
421
  }
453
422
  }
454
423
  return e;
455
- }, ie.apply(null, arguments);
424
+ }, oe.apply(null, arguments);
456
425
  }
457
- function ae(e, r) {
458
- return de(e) || ue(e, r) || ce(e, r) || le();
426
+ function ie(e, r) {
427
+ return ue(e) || se(e, r) || le(e, r) || ae();
459
428
  }
460
- function le() {
429
+ function ae() {
461
430
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
462
431
  }
463
- function ce(e, r) {
432
+ function le(e, r) {
464
433
  if (e) {
465
- if ("string" == typeof e) return se(e, r);
434
+ if ("string" == typeof e) return ce(e, r);
466
435
  var t = {}.toString.call(e).slice(8, -1);
467
- 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) ? se(e, r) : void 0;
436
+ 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) ? ce(e, r) : void 0;
468
437
  }
469
438
  }
470
- function se(e, r) {
439
+ function ce(e, r) {
471
440
  (null == r || r > e.length) && (r = e.length);
472
441
  for (var t = 0, n = Array(r); t < r; t++) {
473
442
  n[t] = e[t];
474
443
  }
475
444
  return n;
476
445
  }
477
- function ue(e, r) {
446
+ function se(e, r) {
478
447
  var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
479
448
  if (null != t) {
480
449
  var n, o, i, a, l = [], c = !0, s = !1;
@@ -496,25 +465,25 @@
496
465
  return l;
497
466
  }
498
467
  }
499
- function de(e) {
468
+ function ue(e) {
500
469
  if (Array.isArray(e)) return e;
501
470
  }
502
471
  function pe(e, r) {
503
472
  if (!(e instanceof r)) throw new TypeError("Cannot call a class as a function");
504
473
  }
505
- function fe(e, r) {
474
+ function de(e, r) {
506
475
  for (var t = 0; t < r.length; t++) {
507
476
  var n = r[t];
508
477
  n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0),
509
- Object.defineProperty(e, je(n.key), n);
478
+ Object.defineProperty(e, ke(n.key), n);
510
479
  }
511
480
  }
512
- function be(e, r, t) {
513
- return r && fe(e.prototype, r), t && fe(e, t), Object.defineProperty(e, "prototype", {
481
+ function fe(e, r, t) {
482
+ return r && de(e.prototype, r), t && de(e, t), Object.defineProperty(e, "prototype", {
514
483
  writable: !1
515
484
  }), e;
516
485
  }
517
- function ve(e, r) {
486
+ function be(e, r) {
518
487
  if ("function" != typeof r && null !== r) throw new TypeError("Super expression must either be null or a function");
519
488
  e.prototype = Object.create(r && r.prototype, {
520
489
  constructor: {
@@ -532,39 +501,39 @@
532
501
  }, ye(e, r);
533
502
  }
534
503
  function me(e) {
535
- var r = we();
504
+ var r = ge();
536
505
  return function() {
537
- var t, n = Oe(e);
506
+ var t, n = we(e);
538
507
  if (r) {
539
- var o = Oe(this).constructor;
508
+ var o = we(this).constructor;
540
509
  t = Reflect.construct(n, arguments, o);
541
510
  } else t = n.apply(this, arguments);
542
- return he(this, t);
511
+ return ve(this, t);
543
512
  };
544
513
  }
545
- function he(e, r) {
546
- if (r && ("object" == oe(r) || "function" == typeof r)) return r;
514
+ function ve(e, r) {
515
+ if (r && ("object" == ne(r) || "function" == typeof r)) return r;
547
516
  if (void 0 !== r) throw new TypeError("Derived constructors may only return object or undefined");
548
- return ge(e);
517
+ return he(e);
549
518
  }
550
- function ge(e) {
519
+ function he(e) {
551
520
  if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
552
521
  return e;
553
522
  }
554
- function we() {
523
+ function ge() {
555
524
  try {
556
525
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
557
526
  } catch (e) {}
558
- return (we = function r() {
527
+ return (ge = function r() {
559
528
  return !!e;
560
529
  })();
561
530
  }
562
- function Oe(e) {
563
- return Oe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
531
+ function we(e) {
532
+ return we = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
564
533
  return e.__proto__ || Object.getPrototypeOf(e);
565
- }, Oe(e);
534
+ }, we(e);
566
535
  }
567
- function xe(e, r) {
536
+ function Oe(e, r) {
568
537
  var t = Object.keys(e);
569
538
  if (Object.getOwnPropertySymbols) {
570
539
  var n = Object.getOwnPropertySymbols(e);
@@ -574,42 +543,42 @@
574
543
  }
575
544
  return t;
576
545
  }
577
- function Se(e) {
546
+ function xe(e) {
578
547
  for (var r = 1; r < arguments.length; r++) {
579
548
  var t = null != arguments[r] ? arguments[r] : {};
580
- r % 2 ? xe(Object(t), !0).forEach((function(r) {
581
- ke(e, r, t[r]);
582
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : xe(Object(t)).forEach((function(r) {
549
+ r % 2 ? Oe(Object(t), !0).forEach((function(r) {
550
+ Se(e, r, t[r]);
551
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Oe(Object(t)).forEach((function(r) {
583
552
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
584
553
  }));
585
554
  }
586
555
  return e;
587
556
  }
588
- function ke(e, r, t) {
589
- return (r = je(r)) in e ? Object.defineProperty(e, r, {
557
+ function Se(e, r, t) {
558
+ return (r = ke(r)) in e ? Object.defineProperty(e, r, {
590
559
  value: t,
591
560
  enumerable: !0,
592
561
  configurable: !0,
593
562
  writable: !0
594
563
  }) : e[r] = t, e;
595
564
  }
596
- function je(e) {
597
- var r = Ce(e, "string");
598
- return "symbol" == oe(r) ? r : r + "";
565
+ function ke(e) {
566
+ var r = je(e, "string");
567
+ return "symbol" == ne(r) ? r : r + "";
599
568
  }
600
- function Ce(e, r) {
601
- if ("object" != oe(e) || !e) return e;
569
+ function je(e, r) {
570
+ if ("object" != ne(e) || !e) return e;
602
571
  var t = e[Symbol.toPrimitive];
603
572
  if (void 0 !== t) {
604
573
  var n = t.call(e, r || "default");
605
- if ("object" != oe(n)) return n;
574
+ if ("object" != ne(n)) return n;
606
575
  throw new TypeError("@@toPrimitive must return a primitive value.");
607
576
  }
608
577
  return ("string" === r ? String : Number)(e);
609
578
  }
610
- function Pe(e, r) {
579
+ function Ce(e, r) {
611
580
  if (null == e) return {};
612
- var t, n, o = _e(e, r);
581
+ var t, n, o = Pe(e, r);
613
582
  if (Object.getOwnPropertySymbols) {
614
583
  var i = Object.getOwnPropertySymbols(e);
615
584
  for (n = 0; n < i.length; n++) {
@@ -618,7 +587,7 @@
618
587
  }
619
588
  return o;
620
589
  }
621
- function _e(e, r) {
590
+ function Pe(e, r) {
622
591
  if (null == e) return {};
623
592
  var t = {};
624
593
  for (var n in e) {
@@ -629,7 +598,7 @@
629
598
  }
630
599
  return t;
631
600
  }
632
- /** @public */ var Ee = {
601
+ /** @public */ var _e = {
633
602
  children: i().node,
634
603
  elementRef: i().oneOfType([ i().func, i().object ]),
635
604
  /** @private */
@@ -641,34 +610,31 @@
641
610
  onClick: i().func,
642
611
  openInNewContext: i().bool,
643
612
  selected: i().bool,
644
- showBorder: i().bool,
645
613
  to: i().string,
646
614
  value: i().any,
647
615
  tag: i().oneOf([ "article", "div", "aside", "section" ])
648
616
  };
649
- var Te = {
650
- openInNewContext: false,
651
- showBorder: true
617
+ var Ee = {
618
+ openInNewContext: false
652
619
  };
653
- function Be(e) {
620
+ function Te(e) {
654
621
  return !!e.onClick || !!e.to;
655
622
  }
656
623
  function Ie(e) {
657
- var r = e.margin, t = e.maxWidth, n = e.minWidth, o = e.showBorder, i = e.style, a = Pe(e, [ "margin", "maxWidth", "minWidth", "showBorder", "style" ]);
658
- var l = Se({
624
+ var r = e.margin, t = e.maxWidth, n = e.minWidth, o = e.style, i = Ce(e, [ "margin", "maxWidth", "minWidth", "style" ]);
625
+ var a = xe({
659
626
  minWidth: n,
660
627
  maxWidth: t,
661
628
  margin: r
662
- }, i);
663
- var c = {
664
- showBorder: o,
629
+ }, o);
630
+ var l = {
665
631
  "data-test": "card",
666
- style: l
632
+ style: a
667
633
  };
668
- return [ c, a ];
634
+ return [ l, i ];
669
635
  }
670
636
  var Re = function(e) {
671
- ve(t, e);
637
+ be(t, e);
672
638
  var r = me(t);
673
639
  function t() {
674
640
  var e;
@@ -677,7 +643,7 @@
677
643
  o[i] = arguments[i];
678
644
  }
679
645
  e = r.call.apply(r, [ this ].concat(o));
680
- ke(ge(e), "handleCardClick", (function(r) {
646
+ Se(he(e), "handleCardClick", (function(r) {
681
647
  var t, n;
682
648
  var o = e.props, i = o.selected, a = o.value;
683
649
  (t = (n = e.props).onClick) === null || t === void 0 ? void 0 : t.call(n, r, {
@@ -688,47 +654,43 @@
688
654
  return e;
689
655
  }
690
656
  // @docs-props-type CardPropsBase
691
- be(t, [ {
657
+ fe(t, [ {
692
658
  key: "render",
693
659
  value: function e() {
694
660
  if (false) {}
695
- if (Be(this.props)) {
696
- var r = Ie(this.props), t = ae(r, 2), o = t[0], i = t[1];
697
- var a = o.showBorder;
698
- var l = i.children, c = i.elementRef, s = i.onClick, u = i.openInNewContext, d = i.selected, p = i.to, f = Pe(i, [ "children", "elementRef", "onClick", "openInNewContext", "selected", "to" ]);
661
+ if (Te(this.props)) {
662
+ var r = Ie(this.props), t = ie(r, 2), o = t[0], i = t[1];
663
+ var a = i.children, l = i.elementRef, c = i.onClick, s = i.openInNewContext, u = i.selected, p = i.to, d = Ce(i, [ "children", "elementRef", "onClick", "openInNewContext", "selected", "to" ]);
699
664
 
700
- return n().createElement(te, ie({
665
+ return n().createElement(re, oe({
701
666
  "data-clickable": true,
702
- $selected: d || false,
703
- $cardHasBorder: a,
704
- elementRef: c
705
- }, o, f, {
706
- onClick: s ? this.handleCardClick : undefined,
707
- openInNewContext: u,
667
+ $selected: u || false,
668
+ elementRef: l
669
+ }, o, d, {
670
+ onClick: c ? this.handleCardClick : undefined,
671
+ openInNewContext: s,
708
672
  to: p || undefined
709
- }), n().createElement(ne, null, l));
673
+ }), n().createElement(te, null, a));
710
674
  }
711
- var b = Ie(this.props), v = ae(b, 2), y = v[0], m = v[1];
712
- var h = y.showBorder;
713
- var g = m.children, w = m.elementRef, O = m.tag, x = Pe(m, [ "children", "elementRef", "tag" ]);
675
+ var f = Ie(this.props), b = ie(f, 2), y = b[0], m = b[1];
676
+ var v = m.children, h = m.elementRef, g = m.tag, w = Ce(m, [ "children", "elementRef", "tag" ]);
714
677
 
715
- return n().createElement(re, ie({
678
+ return n().createElement(ee, oe({
716
679
  $selected: false,
717
- $cardHasBorder: h,
718
- ref: w,
719
- as: O
720
- }, y, x, {
680
+ ref: h,
681
+ as: g
682
+ }, y, w, {
721
683
  onClick: undefined
722
- }), g);
684
+ }), v);
723
685
  }
724
686
  } ]);
725
687
  return t;
726
688
  }(t.Component);
727
- ke(Re, "propTypes", Ee);
728
- ke(Re, "defaultProps", Te);
729
- ke(Re, "Header", Q);
730
- ke(Re, "Body", m);
731
- ke(Re, "Footer", k);
689
+ Se(Re, "propTypes", _e);
690
+ Se(Re, "defaultProps", Ee);
691
+ Se(Re, "Header", K);
692
+ Se(Re, "Body", v);
693
+ Se(Re, "Footer", k);
732
694
  /* harmony default export */ const qe = Re;
733
695
  // CONCATENATED MODULE: ./src/Card/index.ts
734
696
  module.exports = r;