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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/Accordion.js +87 -109
  2. package/Animation.js +48 -31
  3. package/Avatar.d.ts +2 -0
  4. package/Avatar.js +478 -0
  5. package/Box.js +8 -8
  6. package/Breadcrumbs.js +45 -49
  7. package/Button.js +144 -399
  8. package/ButtonGroup.js +22 -26
  9. package/ButtonSimple.js +239 -605
  10. package/CHANGELOG.md +4 -0
  11. package/CHANGELOG.v5.mdx +195 -0
  12. package/Calendar.js +55 -68
  13. package/Card.js +162 -200
  14. package/Chip.js +108 -96
  15. package/Clickable.js +174 -310
  16. package/Code.js +393 -422
  17. package/CollapsiblePanel.js +439 -601
  18. package/Color.js +727 -967
  19. package/ColumnLayout.js +190 -234
  20. package/ComboBox.js +147 -135
  21. package/ControlGroup.js +502 -531
  22. package/Date.js +315 -416
  23. package/DefinitionList.js +128 -140
  24. package/Dropdown.js +201 -358
  25. package/DualListbox.js +26 -26
  26. package/File.js +479 -558
  27. package/FormRows.js +339 -569
  28. package/Heading.js +53 -99
  29. package/Image.js +254 -305
  30. package/JSONTree.js +105 -107
  31. package/Layer.js +187 -269
  32. package/{CloseButton.js → Layout.js} +39 -61
  33. package/Link.js +91 -244
  34. package/List.js +68 -74
  35. package/MIGRATION.v5.mdx +428 -0
  36. package/Markdown.js +439 -385
  37. package/Menu.js +383 -741
  38. package/Message.js +150 -322
  39. package/MessageBar.js +15 -15
  40. package/Modal.js +444 -587
  41. package/Monogram.js +1 -1
  42. package/Multiselect.js +1207 -1256
  43. package/NonInteractiveCheckbox.js +189 -0
  44. package/Number.js +495 -604
  45. package/Paginator.js +294 -406
  46. package/Paragraph.js +12 -15
  47. package/Popover.js +582 -744
  48. package/Progress.js +141 -244
  49. package/Prose.d.ts +2 -0
  50. package/Prose.js +213 -0
  51. package/RadioBar.js +328 -450
  52. package/RadioList.js +132 -216
  53. package/Resize.js +351 -402
  54. package/ResultsMenu.js +255 -358
  55. package/Scroll.js +159 -238
  56. package/Search.js +358 -437
  57. package/Select.js +1097 -1380
  58. package/SidePanel.js +179 -223
  59. package/Slider.js +440 -542
  60. package/SlidingPanels.js +377 -504
  61. package/SplitButton.js +114 -102
  62. package/StaticContent.js +58 -74
  63. package/StepBar.js +193 -258
  64. package/Switch.js +246 -552
  65. package/TabBar.js +438 -622
  66. package/TabLayout.js +197 -251
  67. package/Table.js +2355 -3673
  68. package/Text.js +422 -909
  69. package/TextArea.js +537 -959
  70. package/Tooltip.js +35 -41
  71. package/TransitionOpen.js +296 -336
  72. package/Typography.js +35 -50
  73. package/WaitSpinner.js +93 -124
  74. package/package.json +14 -15
  75. package/stubs-dependencies.d.ts +0 -7
  76. package/stubs-splunkui.d.ts +6 -1
  77. package/types/src/Accordion/Accordion.d.ts +5 -1
  78. package/types/src/Accordion/Panel.d.ts +1 -2
  79. package/types/src/Accordion/docs/examples/Controlled.d.ts +2 -1
  80. package/types/src/Accordion/docs/examples/Inset.d.ts +2 -1
  81. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +2 -1
  82. package/types/src/Anchor/Anchor.d.ts +1 -1
  83. package/types/src/Anchor/docs/examples/Basic.d.ts +2 -1
  84. package/types/src/Animation/Animation.d.ts +12 -2
  85. package/types/src/AnimationToggle/AnimationToggleProvider.d.ts +1 -1
  86. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +2 -2
  87. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +2 -1
  88. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +2 -1
  89. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +2 -2
  90. package/types/src/AnimationToggle/docs/examples/ToggleHook.d.ts +2 -1
  91. package/types/src/Avatar/Avatar.d.ts +65 -0
  92. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +2 -0
  93. package/types/src/Avatar/docs/examples/Basic.d.ts +2 -0
  94. package/types/src/Avatar/docs/examples/Image.d.ts +2 -0
  95. package/types/src/Avatar/docs/examples/Interactive.d.ts +2 -0
  96. package/types/src/Avatar/docs/examples/Size.d.ts +2 -0
  97. package/types/src/Avatar/getInitials.d.ts +9 -0
  98. package/types/src/Avatar/index.d.ts +2 -0
  99. package/types/src/Box/Box.d.ts +1 -1
  100. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  101. package/types/src/Breadcrumbs/Item.d.ts +1 -1
  102. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -1
  103. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -1
  104. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +2 -1
  105. package/types/src/Button/Button.d.ts +19 -34
  106. package/types/src/Button/docs/examples/Basic.d.ts +2 -1
  107. package/types/src/Button/docs/examples/Block.d.ts +2 -1
  108. package/types/src/Button/docs/examples/Disabled.d.ts +2 -1
  109. package/types/src/Button/docs/examples/Icons.d.ts +2 -1
  110. package/types/src/Button/docs/examples/Menus.d.ts +2 -1
  111. package/types/src/Button/docs/examples/To.d.ts +2 -1
  112. package/types/src/Button/docs/examples/Truncated.d.ts +2 -1
  113. package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
  114. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +2 -1
  115. package/types/src/ButtonSimple/ButtonSimple.d.ts +22 -41
  116. package/types/src/ButtonSimple/mixin.d.ts +6 -2
  117. package/types/src/Calendar/Calendar.d.ts +2 -2
  118. package/types/src/Calendar/DateTable.d.ts +1 -1
  119. package/types/src/Calendar/Day.d.ts +1 -1
  120. package/types/src/Calendar/MonthHeader.d.ts +1 -1
  121. package/types/src/Card/Body.d.ts +1 -1
  122. package/types/src/Card/Card.d.ts +4 -9
  123. package/types/src/Card/Footer.d.ts +1 -8
  124. package/types/src/Card/Header.d.ts +2 -2
  125. package/types/src/Card/docs/examples/Actions.d.ts +2 -1
  126. package/types/src/Card/docs/examples/Basic.d.ts +2 -1
  127. package/types/src/Card/docs/examples/Clickable.d.ts +2 -1
  128. package/types/src/Card/docs/examples/Full.d.ts +2 -1
  129. package/types/src/Card/docs/examples/Images.d.ts +2 -1
  130. package/types/src/Card/docs/examples/Selectable.d.ts +2 -1
  131. package/types/src/CardLayout/CardLayout.d.ts +1 -1
  132. package/types/src/CardLayout/docs/examples/Basic.d.ts +2 -1
  133. package/types/src/CardLayout/docs/examples/Interactive.d.ts +2 -2
  134. package/types/src/Chip/Chip.d.ts +1 -1
  135. package/types/src/Chip/docs/examples/Appearance.d.ts +2 -1
  136. package/types/src/Chip/docs/examples/CustomColors.d.ts +2 -1
  137. package/types/src/Chip/docs/examples/Disabled.d.ts +2 -1
  138. package/types/src/Chip/docs/examples/Icon.d.ts +2 -1
  139. package/types/src/Chip/docs/examples/Removable.d.ts +2 -1
  140. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +2 -1
  141. package/types/src/Clickable/Clickable.d.ts +13 -37
  142. package/types/src/Clickable/NavigationProvider.d.ts +2 -19
  143. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -1
  144. package/types/src/Clickable/docs/examples/Disabled.d.ts +3 -0
  145. package/types/src/Clickable/docs/examples/NavigationProvider.d.ts +2 -1
  146. package/types/src/Code/Code.d.ts +2 -2
  147. package/types/src/Code/docs/examples/Default.d.ts +2 -1
  148. package/types/src/Code/docs/examples/HideIndent.d.ts +2 -1
  149. package/types/src/Code/docs/examples/Language.d.ts +2 -1
  150. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +31 -70
  151. package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
  152. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +3 -0
  153. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +2 -1
  154. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +2 -1
  155. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +3 -0
  156. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +2 -1
  157. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +2 -1
  158. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +2 -1
  159. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -1
  160. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +2 -1
  161. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +3 -0
  162. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +2 -1
  163. package/types/src/Color/Color.d.ts +24 -59
  164. package/types/src/Color/Palette.d.ts +3 -18
  165. package/types/src/Color/Swatch.d.ts +1 -4
  166. package/types/src/Color/docs/examples/Controlled.d.ts +2 -1
  167. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +2 -1
  168. package/types/src/Color/docs/examples/HideInput.d.ts +2 -1
  169. package/types/src/Color/docs/examples/Null.d.ts +2 -1
  170. package/types/src/Color/docs/examples/ThemeVariables.d.ts +2 -1
  171. package/types/src/Color/docs/examples/Transparent.d.ts +2 -1
  172. package/types/src/Color/docs/examples/Uncontrolled.d.ts +2 -1
  173. package/types/src/ColumnLayout/Column.d.ts +1 -11
  174. package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
  175. package/types/src/ColumnLayout/Row.d.ts +1 -11
  176. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +2 -1
  177. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +2 -1
  178. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +2 -1
  179. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +2 -1
  180. package/types/src/ComboBox/ComboBox.d.ts +4 -11
  181. package/types/src/ComboBox/Option.d.ts +2 -2
  182. package/types/src/ComboBox/docs/examples/Controlled.d.ts +2 -1
  183. package/types/src/ComboBox/docs/examples/Fetching.d.ts +2 -1
  184. package/types/src/ComboBox/docs/examples/Headings.d.ts +2 -1
  185. package/types/src/ComboBox/docs/examples/Label.d.ts +2 -1
  186. package/types/src/ComboBox/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
  187. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +2 -1
  188. package/types/src/ControlGroup/ControlGroup.d.ts +22 -38
  189. package/types/src/ControlGroup/ErrorMessageBar.d.ts +18 -0
  190. package/types/src/ControlGroup/docs/examples/Basic.d.ts +2 -1
  191. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +2 -2
  192. package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -1
  193. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +2 -1
  194. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +2 -1
  195. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +3 -0
  196. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +2 -1
  197. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +2 -1
  198. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +2 -1
  199. package/types/src/ControlGroup/docs/examples/Required.d.ts +2 -1
  200. package/types/src/Date/Date.d.ts +30 -64
  201. package/types/src/Date/Icon.d.ts +2 -1
  202. package/types/src/Date/docs/examples/Basic.d.ts +2 -1
  203. package/types/src/Date/docs/examples/Controlled.d.ts +2 -2
  204. package/types/src/Date/docs/examples/CustomDate.d.ts +2 -1
  205. package/types/src/Date/docs/examples/Disabled.d.ts +2 -1
  206. package/types/src/Date/docs/examples/Error.d.ts +2 -1
  207. package/types/src/Date/docs/examples/HighlightToday.d.ts +2 -2
  208. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +2 -1
  209. package/types/src/DefinitionList/DefinitionList.d.ts +8 -3
  210. package/types/src/DefinitionList/DefinitionListContext.d.ts +7 -0
  211. package/types/src/DefinitionList/Description.d.ts +3 -3
  212. package/types/src/DefinitionList/Term.d.ts +3 -3
  213. package/types/src/DefinitionList/docs/examples/Basic.d.ts +2 -1
  214. package/types/src/DefinitionList/docs/examples/Customize.d.ts +2 -1
  215. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +3 -0
  216. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +3 -0
  217. package/types/src/Divider/Divider.d.ts +1 -1
  218. package/types/src/Divider/docs/examples/Basic.d.ts +2 -1
  219. package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -1
  220. package/types/src/Divider/docs/examples/Decorative.d.ts +2 -1
  221. package/types/src/Divider/docs/examples/Vertical.d.ts +2 -1
  222. package/types/src/Dropdown/Dropdown.d.ts +29 -44
  223. package/types/src/Dropdown/docs/examples/Basic.d.ts +2 -1
  224. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +2 -1
  225. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +2 -1
  226. package/types/src/Dropdown/docs/examples/Dialog.d.ts +2 -1
  227. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +2 -1
  228. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +2 -1
  229. package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -1
  230. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +2 -1
  231. package/types/src/DualListbox/DualListbox.d.ts +1 -1
  232. package/types/src/DualListbox/Label.d.ts +1 -1
  233. package/types/src/DualListbox/Listbox.d.ts +1 -1
  234. package/types/src/DualListbox/Option.d.ts +1 -1
  235. package/types/src/DualListbox/ScreenReaderWrapper.d.ts +2 -1
  236. package/types/src/DualListbox/ToolbarButton.d.ts +1 -1
  237. package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -1
  238. package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -1
  239. package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -1
  240. package/types/src/EventListener/EventListener.d.ts +1 -1
  241. package/types/src/File/File.d.ts +26 -33
  242. package/types/src/File/Icon.d.ts +2 -1
  243. package/types/src/File/IconCloud.d.ts +2 -1
  244. package/types/src/File/Item.d.ts +1 -1
  245. package/types/src/File/PaperClip.d.ts +2 -1
  246. package/types/src/File/Retry.d.ts +2 -1
  247. package/types/src/File/Trash.d.ts +2 -1
  248. package/types/src/File/docs/examples/CustomizedMessages.d.ts +2 -1
  249. package/types/src/File/docs/examples/Disabled.d.ts +2 -2
  250. package/types/src/File/docs/examples/DropAnywhere.d.ts +2 -2
  251. package/types/src/File/docs/examples/Error.d.ts +2 -1
  252. package/types/src/File/docs/examples/FullScreen.d.ts +2 -1
  253. package/types/src/File/docs/examples/Multi.d.ts +2 -2
  254. package/types/src/File/docs/examples/Progress.d.ts +2 -1
  255. package/types/src/File/docs/examples/Single.d.ts +2 -2
  256. package/types/src/FormRows/FormRows.d.ts +20 -14
  257. package/types/src/FormRows/Row.d.ts +11 -7
  258. package/types/src/FormRows/SortableList.d.ts +1 -1
  259. package/types/src/FormRows/docs/examples/Basic.d.ts +1 -1
  260. package/types/src/FormRows/docs/examples/Header.d.ts +1 -1
  261. package/types/src/FormRows/docs/examples/Menu.d.ts +1 -1
  262. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +1 -1
  263. package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -1
  264. package/types/src/Heading/Heading.d.ts +8 -20
  265. package/types/src/Heading/docs/examples/Basic.d.ts +2 -1
  266. package/types/src/Heading/docs/examples/Variant.d.ts +2 -1
  267. package/types/src/Heading/index.d.ts +1 -0
  268. package/types/src/Image/Image.d.ts +8 -19
  269. package/types/src/Image/docs/examples/Basic.d.ts +2 -1
  270. package/types/src/Image/icons/Cross.d.ts +2 -1
  271. package/types/src/JSONTree/JSONTree.d.ts +6 -10
  272. package/types/src/JSONTree/JSONTreeItem.d.ts +1 -1
  273. package/types/src/JSONTree/docs/examples/Basic.d.ts +2 -1
  274. package/types/src/JSONTree/docs/examples/Events.d.ts +2 -2
  275. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +2 -1
  276. package/types/src/JSONTree/renderTreeItems.d.ts +3 -2
  277. package/types/src/Layer/Layer.d.ts +8 -25
  278. package/types/src/Layer/LayerStack.d.ts +2 -3
  279. package/types/src/Layer/docs/examples/Basic.d.ts +2 -1
  280. package/types/src/Layout/Layout.d.ts +22 -0
  281. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  282. package/types/src/Layout/index.d.ts +2 -0
  283. package/types/src/Layout/test/Layout.unit.d.ts +1 -0
  284. package/types/src/Link/Link.d.ts +9 -22
  285. package/types/src/Link/docs/examples/Basic.d.ts +2 -1
  286. package/types/src/Link/docs/examples/Disabled.d.ts +2 -1
  287. package/types/src/Link/docs/examples/NewWindow.d.ts +2 -1
  288. package/types/src/Link/docs/examples/Standalone.d.ts +3 -0
  289. package/types/src/Link/icons/External.d.ts +2 -1
  290. package/types/src/List/Item.d.ts +1 -1
  291. package/types/src/List/List.d.ts +5 -17
  292. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -1
  293. package/types/src/List/docs/examples/OrderedList.d.ts +2 -1
  294. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -1
  295. package/types/src/Markdown/Markdown.d.ts +50 -59
  296. package/types/src/Markdown/docs/examples/Basic.d.ts +2 -1
  297. package/types/src/Markdown/docs/examples/I18n.d.ts +2 -1
  298. package/types/src/Markdown/docs/examples/RenderProps.d.ts +2 -1
  299. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +2 -8
  300. package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +3 -7
  301. package/types/src/Markdown/renderers/MarkdownCode.d.ts +3 -9
  302. package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +5 -9
  303. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +3 -9
  304. package/types/src/Markdown/renderers/MarkdownImage.d.ts +4 -11
  305. package/types/src/Markdown/renderers/MarkdownItem.d.ts +4 -8
  306. package/types/src/Markdown/renderers/MarkdownLink.d.ts +3 -11
  307. package/types/src/Markdown/renderers/MarkdownList.d.ts +6 -22
  308. package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -7
  309. package/types/src/Markdown/renderers/MarkdownTable.d.ts +40 -0
  310. package/types/src/Markdown/renderers/index.d.ts +5 -4
  311. package/types/src/Menu/Divider.d.ts +2 -1
  312. package/types/src/Menu/Heading.d.ts +3 -3
  313. package/types/src/Menu/Item.d.ts +14 -47
  314. package/types/src/Menu/Menu.d.ts +4 -19
  315. package/types/src/Menu/docs/examples/Adornments.d.ts +2 -1
  316. package/types/src/Menu/docs/examples/Basic.d.ts +2 -1
  317. package/types/src/Menu/docs/examples/Complex.d.ts +2 -1
  318. package/types/src/Menu/docs/examples/Descriptions.d.ts +2 -1
  319. package/types/src/Menu/docs/examples/Dimmed.d.ts +2 -1
  320. package/types/src/Menu/docs/examples/Disabled.d.ts +2 -1
  321. package/types/src/Menu/docs/examples/Dividers.d.ts +2 -1
  322. package/types/src/Menu/docs/examples/Headings.d.ts +2 -1
  323. package/types/src/Menu/docs/examples/Links.d.ts +2 -1
  324. package/types/src/Menu/docs/examples/MatchRanges.d.ts +2 -1
  325. package/types/src/Menu/docs/examples/Selectable.d.ts +2 -1
  326. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +2 -1
  327. package/types/src/Menu/docs/examples/Truncate.d.ts +2 -1
  328. package/types/src/Menu/icons/External.d.ts +2 -1
  329. package/types/src/Message/Message.d.ts +4 -11
  330. package/types/src/Message/Title.d.ts +1 -1
  331. package/types/src/Message/docs/examples/Basic.d.ts +2 -1
  332. package/types/src/Message/docs/examples/Content.d.ts +2 -1
  333. package/types/src/Message/docs/examples/Fill.d.ts +2 -1
  334. package/types/src/Message/docs/examples/Removable.d.ts +2 -1
  335. package/types/src/MessageBar/MessageBar.d.ts +1 -1
  336. package/types/src/MessageBar/docs/examples/Basic.d.ts +2 -1
  337. package/types/src/MessageBar/docs/examples/Types.d.ts +2 -1
  338. package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -1
  339. package/types/src/Modal/Body.d.ts +1 -1
  340. package/types/src/Modal/Footer.d.ts +9 -1
  341. package/types/src/Modal/Header.d.ts +7 -11
  342. package/types/src/Modal/Modal.d.ts +26 -32
  343. package/types/src/Modal/ModalContext.d.ts +2 -0
  344. package/types/src/Modal/docs/examples/Basic.d.ts +2 -1
  345. package/types/src/Modal/docs/examples/InitialFocus.d.ts +2 -1
  346. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +2 -1
  347. package/types/src/Modal/docs/examples/Undismissable.d.ts +2 -1
  348. package/types/src/ModalLayer/ModalLayer.d.ts +1 -1
  349. package/types/src/Monogram/Monogram.d.ts +3 -7
  350. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +2 -1
  351. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +2 -1
  352. package/types/src/Monogram/docs/examples/Basic.d.ts +2 -1
  353. package/types/src/Monogram/docs/examples/Interactive.d.ts +2 -1
  354. package/types/src/Monogram/docs/examples/Size.d.ts +2 -1
  355. package/types/src/Multiselect/Compact.d.ts +1 -1
  356. package/types/src/Multiselect/Multiselect.d.ts +2 -2
  357. package/types/src/Multiselect/Normal.d.ts +1 -1
  358. package/types/src/Multiselect/Option.d.ts +1 -1
  359. package/types/src/Multiselect/docs/examples/Children.d.ts +2 -2
  360. package/types/src/Multiselect/docs/examples/Compact.d.ts +2 -1
  361. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -1
  362. package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -2
  363. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -2
  364. package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -2
  365. package/types/src/Multiselect/docs/examples/Error.d.ts +2 -2
  366. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -4
  367. package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
  368. package/types/src/Multiselect/docs/examples/Icons.d.ts +2 -1
  369. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -4
  370. package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -2
  371. package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -2
  372. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +2 -1
  373. package/types/src/NonInteractiveCheckbox/NonInteractiveCheckbox.d.ts +21 -0
  374. package/types/src/NonInteractiveCheckbox/index.d.ts +1 -0
  375. package/types/src/Number/Number.d.ts +46 -61
  376. package/types/src/Number/docs/examples/Basic.d.ts +2 -2
  377. package/types/src/Number/docs/examples/Disabled.d.ts +2 -1
  378. package/types/src/Number/docs/examples/Error.d.ts +2 -1
  379. package/types/src/Number/docs/examples/Limits.d.ts +2 -2
  380. package/types/src/Number/docs/examples/Locale.d.ts +2 -2
  381. package/types/src/Number/docs/examples/Uncontrolled.d.ts +2 -1
  382. package/types/src/Number/utils.d.ts +1 -2
  383. package/types/src/Paginator/Button.d.ts +4 -8
  384. package/types/src/Paginator/Compact.d.ts +1 -1
  385. package/types/src/Paginator/PageControl.d.ts +1 -1
  386. package/types/src/Paginator/PageSelect.d.ts +1 -1
  387. package/types/src/Paginator/PageSeparator.d.ts +2 -1
  388. package/types/src/Paginator/Paginator.d.ts +1 -1
  389. package/types/src/Paginator/docs/examples/Basic.d.ts +2 -1
  390. package/types/src/Paginator/docs/examples/Compact.d.ts +2 -1
  391. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +2 -1
  392. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +2 -1
  393. package/types/src/Paginator/docs/examples/CustomPages.d.ts +2 -1
  394. package/types/src/Paginator/docs/examples/Labelled.d.ts +2 -1
  395. package/types/src/Paginator/docs/examples/PageControl.d.ts +2 -1
  396. package/types/src/Paragraph/Paragraph.d.ts +3 -1
  397. package/types/src/Paragraph/docs/examples/Basic.d.ts +2 -1
  398. package/types/src/Paragraph/index.d.ts +1 -0
  399. package/types/src/Popover/Popover.d.ts +38 -69
  400. package/types/src/Popover/PopoverProvider.d.ts +1 -1
  401. package/types/src/Popover/docs/examples/Basic.d.ts +2 -1
  402. package/types/src/Popover/getPlacement.d.ts +1 -1
  403. package/types/src/Progress/Progress.d.ts +3 -4
  404. package/types/src/Progress/docs/examples/Basic.d.ts +2 -1
  405. package/types/src/Progress/docs/examples/Type.d.ts +2 -1
  406. package/types/src/Prose/Prose.d.ts +29 -0
  407. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  408. package/types/src/Prose/docs/examples/Customize.d.ts +3 -0
  409. package/types/src/Prose/index.d.ts +2 -0
  410. package/types/src/Prose/test/Prose.unit.d.ts +1 -0
  411. package/types/src/RadioBar/Option.d.ts +2 -18
  412. package/types/src/RadioBar/RadioBar.d.ts +22 -39
  413. package/types/src/RadioBar/RadioBarContext.d.ts +0 -1
  414. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +2 -1
  415. package/types/src/RadioBar/docs/examples/Basic.d.ts +2 -1
  416. package/types/src/RadioBar/docs/examples/Disabled.d.ts +2 -1
  417. package/types/src/RadioBar/docs/examples/Error.d.ts +2 -1
  418. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -1
  419. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +2 -1
  420. package/types/src/RadioList/Option.d.ts +1 -1
  421. package/types/src/RadioList/RadioList.d.ts +5 -2
  422. package/types/src/RadioList/docs/examples/Basic.d.ts +2 -1
  423. package/types/src/RadioList/docs/examples/Disabled.d.ts +2 -1
  424. package/types/src/RadioList/docs/examples/Error.d.ts +2 -1
  425. package/types/src/RadioList/docs/examples/Row.d.ts +2 -1
  426. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +2 -1
  427. package/types/src/Resize/Resize.d.ts +15 -23
  428. package/types/src/Resize/docs/examples/Appearance.d.ts +2 -1
  429. package/types/src/Resize/docs/examples/Basic.d.ts +2 -1
  430. package/types/src/Resize/docs/examples/Percentage.d.ts +2 -1
  431. package/types/src/Resize/docs/examples/SizingInner.d.ts +2 -1
  432. package/types/src/Resize/docs/examples/SizingOuter.d.ts +2 -1
  433. package/types/src/ResultsMenu/ResultsMenu.d.ts +1 -1
  434. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
  435. package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +1 -1
  436. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +2 -1
  437. package/types/src/Scroll/Inner.d.ts +1 -1
  438. package/types/src/Scroll/Scroll.d.ts +37 -27
  439. package/types/src/Scroll/docs/examples/Controlled.d.ts +2 -2
  440. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +2 -1
  441. package/types/src/ScrollContainerContext/docs/examples/Consumer.d.ts +2 -1
  442. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +2 -1
  443. package/types/src/Search/Option.d.ts +32 -32
  444. package/types/src/Search/Search.d.ts +4 -4
  445. package/types/src/Search/docs/examples/Controlled.d.ts +2 -1
  446. package/types/src/Search/docs/examples/Loading.d.ts +2 -1
  447. package/types/src/Search/docs/examples/Options.d.ts +2 -1
  448. package/types/src/Search/docs/examples/OptionsLinks.d.ts +2 -1
  449. package/types/src/Search/docs/examples/Results.d.ts +2 -1
  450. package/types/src/Select/Option.d.ts +8 -21
  451. package/types/src/Select/OptionBase.d.ts +3 -8
  452. package/types/src/Select/Select.d.ts +62 -22
  453. package/types/src/Select/SelectAllOption.d.ts +1 -1
  454. package/types/src/Select/SelectBase.d.ts +4 -7
  455. package/types/src/Select/docs/examples/Appearance.d.ts +2 -1
  456. package/types/src/Select/docs/examples/Basic.d.ts +2 -1
  457. package/types/src/Select/docs/examples/Children.d.ts +2 -1
  458. package/types/src/Select/docs/examples/Descriptions.d.ts +2 -1
  459. package/types/src/Select/docs/examples/Error.d.ts +2 -1
  460. package/types/src/Select/docs/examples/Fetching.d.ts +2 -1
  461. package/types/src/Select/docs/examples/Filter.d.ts +2 -1
  462. package/types/src/Select/docs/examples/Headings.d.ts +2 -1
  463. package/types/src/Select/docs/examples/Icons.d.ts +2 -1
  464. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -1
  465. package/types/src/Select/docs/examples/Prefix.d.ts +2 -1
  466. package/types/src/Select/docs/examples/Truncate.d.ts +2 -1
  467. package/types/src/Select/docs/examples/Uncontrolled.d.ts +2 -1
  468. package/types/src/SidePanel/SidePanel.d.ts +18 -16
  469. package/types/src/SidePanel/docs/examples/Basic.d.ts +2 -1
  470. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +2 -1
  471. package/types/src/SidePanel/docs/examples/Composition.d.ts +2 -1
  472. package/types/src/Slider/Slider.d.ts +32 -46
  473. package/types/src/Slider/docs/examples/Basic.d.ts +2 -1
  474. package/types/src/Slider/docs/examples/Controlled.d.ts +2 -2
  475. package/types/src/Slider/docs/examples/CustomLabels.d.ts +2 -2
  476. package/types/src/Slider/docs/examples/Disabled.d.ts +2 -1
  477. package/types/src/Slider/docs/examples/Error.d.ts +2 -1
  478. package/types/src/Slider/docs/examples/StepMarks.d.ts +2 -1
  479. package/types/src/SlidingPanels/Panel.d.ts +23 -20
  480. package/types/src/SlidingPanels/SlidingPanels.d.ts +18 -25
  481. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +2 -2
  482. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +2 -2
  483. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +2 -1
  484. package/types/src/SplitButton/Item.d.ts +2 -2
  485. package/types/src/SplitButton/SplitButton.d.ts +1 -1
  486. package/types/src/SplitButton/docs/examples/Basic.d.ts +2 -1
  487. package/types/src/SplitButton/docs/examples/Block.d.ts +2 -1
  488. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +2 -1
  489. package/types/src/SplitButton/docs/examples/Disabled.d.ts +2 -1
  490. package/types/src/StaticContent/StaticContent.d.ts +1 -8
  491. package/types/src/StaticContent/docs/examples/Basic.d.ts +2 -1
  492. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +2 -1
  493. package/types/src/StepBar/Step.d.ts +1 -1
  494. package/types/src/StepBar/StepBar.d.ts +2 -3
  495. package/types/src/StepBar/docs/examples/Basic.d.ts +2 -1
  496. package/types/src/StepBar/docs/examples/Error.d.ts +2 -1
  497. package/types/src/StepBar/types.d.ts +2 -0
  498. package/types/src/Switch/Switch.d.ts +37 -23
  499. package/types/src/Switch/docs/examples/Basic.d.ts +2 -2
  500. package/types/src/Switch/docs/examples/Disabled.d.ts +2 -2
  501. package/types/src/Switch/docs/examples/Error.d.ts +2 -1
  502. package/types/src/TabBar/Tab.d.ts +37 -44
  503. package/types/src/TabBar/TabBar.d.ts +21 -22
  504. package/types/src/TabBar/TabBarContext.d.ts +3 -5
  505. package/types/src/TabBar/docs/examples/Basic.d.ts +2 -1
  506. package/types/src/TabBar/docs/examples/Disabled.d.ts +2 -1
  507. package/types/src/TabBar/docs/examples/IconsAbove.d.ts +2 -1
  508. package/types/src/TabBar/docs/examples/IconsLeft.d.ts +2 -1
  509. package/types/src/TabBar/docs/examples/Tooltips.d.ts +2 -1
  510. package/types/src/TabBar/docs/examples/Vertical.d.ts +2 -1
  511. package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +2 -1
  512. package/types/src/TabBar/docs/examples/VerticalIconsLeft.d.ts +2 -1
  513. package/types/src/TabBar/docs/examples/WithCount.d.ts +2 -1
  514. package/types/src/TabLayout/Panel.d.ts +6 -1
  515. package/types/src/TabLayout/TabLayout.d.ts +18 -31
  516. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +2 -1
  517. package/types/src/TabLayout/docs/examples/Controlled.d.ts +2 -1
  518. package/types/src/TabLayout/docs/examples/Icons.d.ts +2 -1
  519. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +2 -1
  520. package/types/src/TabLayout/docs/examples/Vertical.d.ts +2 -1
  521. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +2 -1
  522. package/types/src/Table/Body.d.ts +6 -13
  523. package/types/src/Table/Caption.d.ts +1 -1
  524. package/types/src/Table/Cell.d.ts +40 -18
  525. package/types/src/Table/ExpandButton.d.ts +9 -3
  526. package/types/src/Table/Head.d.ts +40 -40
  527. package/types/src/Table/HeadCell.d.ts +49 -23
  528. package/types/src/Table/HeadDropdownCell.d.ts +58 -51
  529. package/types/src/Table/HeadInner.d.ts +1 -3
  530. package/types/src/Table/HeadTable.d.ts +23 -12
  531. package/types/src/Table/Row.d.ts +7 -14
  532. package/types/src/Table/RowDragCell.d.ts +2 -1
  533. package/types/src/Table/Table.d.ts +13 -19
  534. package/types/src/Table/Toggle.d.ts +1 -3
  535. package/types/src/Table/docs/examples/Basic.d.ts +2 -1
  536. package/types/src/Table/docs/examples/Click.d.ts +2 -1
  537. package/types/src/Table/docs/examples/ClickRows.d.ts +2 -1
  538. package/types/src/Table/docs/examples/Complex.d.ts +2 -1
  539. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +2 -1
  540. package/types/src/Table/docs/examples/ExpandableRows.d.ts +2 -1
  541. package/types/src/Table/docs/examples/ExpandableRowsControlled.d.ts +2 -1
  542. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +2 -1
  543. package/types/src/Table/docs/examples/FixedHeader.d.ts +2 -1
  544. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +2 -1
  545. package/types/src/Table/docs/examples/ReorderColumns.d.ts +2 -1
  546. package/types/src/Table/docs/examples/ReorderRows.d.ts +2 -1
  547. package/types/src/Table/docs/examples/Resizable.d.ts +2 -1
  548. package/types/src/Table/docs/examples/ResizableFill.d.ts +2 -1
  549. package/types/src/Table/docs/examples/RowActions.d.ts +2 -1
  550. package/types/src/Table/docs/examples/Selectable.d.ts +2 -1
  551. package/types/src/Table/docs/examples/SortableColumns.d.ts +2 -1
  552. package/types/src/Table/docs/examples/StripeRows.d.ts +2 -1
  553. package/types/src/Table/docs/examples/prisma/DockedHeaderScrollbar.d.ts +2 -1
  554. package/types/src/Text/IconOutlinedHide.d.ts +2 -1
  555. package/types/src/Text/IconOutlinedView.d.ts +2 -1
  556. package/types/src/Text/Text.d.ts +62 -112
  557. package/types/src/Text/docs/examples/Basic.d.ts +2 -1
  558. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +2 -1
  559. package/types/src/Text/docs/examples/Dimmed.d.ts +2 -1
  560. package/types/src/Text/docs/examples/Disabled.d.ts +2 -1
  561. package/types/src/Text/docs/examples/Error.d.ts +2 -1
  562. package/types/src/Text/docs/examples/Inline.d.ts +2 -1
  563. package/types/src/Text/docs/examples/Password.d.ts +2 -1
  564. package/types/src/Text/docs/examples/Uncontrolled.d.ts +2 -1
  565. package/types/src/TextArea/TextArea.d.ts +49 -87
  566. package/types/src/TextArea/docs/examples/Basic.d.ts +2 -1
  567. package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -1
  568. package/types/src/TextArea/docs/examples/Error.d.ts +2 -1
  569. package/types/src/TextArea/docs/examples/Inline.d.ts +2 -1
  570. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -1
  571. package/types/src/TextArea/syncHeightWithShadow.d.ts +1 -1
  572. package/types/src/Tooltip/InfoIcon.d.ts +2 -1
  573. package/types/src/Tooltip/Tooltip.d.ts +9 -3
  574. package/types/src/Tooltip/docs/examples/Basic.d.ts +2 -1
  575. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +2 -1
  576. package/types/src/Tooltip/docs/examples/Controlled.d.ts +2 -2
  577. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +2 -1
  578. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +2 -1
  579. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +2 -1
  580. package/types/src/TransitionOpen/TransitionOpen.d.ts +23 -25
  581. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +2 -1
  582. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +2 -1
  583. package/types/src/TransitionOpen/docs/examples/None.d.ts +2 -1
  584. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +2 -1
  585. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +2 -1
  586. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +2 -1
  587. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +2 -1
  588. package/types/src/Tree/Tree.d.ts +1 -1
  589. package/types/src/Tree/TreeItem.d.ts +1 -1
  590. package/types/src/Typography/Typography.d.ts +10 -19
  591. package/types/src/Typography/docs/examples/Basic.d.ts +2 -1
  592. package/types/src/WaitSpinner/WaitSpinner.d.ts +2 -3
  593. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +2 -1
  594. package/types/src/utils/types.d.ts +1 -0
  595. package/Concertina.d.ts +0 -2
  596. package/Concertina.js +0 -963
  597. package/types/src/Accordion/docs/examples/FixedHeight.d.ts +0 -2
  598. package/types/src/Accordion/docs/examples/InDropdown.d.ts +0 -2
  599. package/types/src/Button/docs/examples/Dimmed.d.ts +0 -2
  600. package/types/src/Button/icons/CaretSmallDown.d.ts +0 -2
  601. package/types/src/Button/icons/External.d.ts +0 -2
  602. package/types/src/Clickable/docs/examples/Dimmed.d.ts +0 -2
  603. package/types/src/CloseButton/CloseButton.d.ts +0 -21
  604. package/types/src/CloseButton/index.d.ts +0 -1
  605. package/types/src/CollapsiblePanel/docs/examples/TitleWithActions.d.ts +0 -2
  606. package/types/src/Concertina/Concertina.d.ts +0 -46
  607. package/types/src/Concertina/ConcertinaContext.d.ts +0 -8
  608. package/types/src/Concertina/Heading.d.ts +0 -35
  609. package/types/src/Concertina/Panel.d.ts +0 -59
  610. package/types/src/Concertina/docs/examples/Basic.d.ts +0 -2
  611. package/types/src/Concertina/docs/examples/Disabled.d.ts +0 -9
  612. package/types/src/Concertina/docs/examples/Status.d.ts +0 -2
  613. package/types/src/Concertina/index.d.ts +0 -2
  614. package/types/src/Concertina/types.d.ts +0 -1
  615. package/types/src/ControlGroup/docs/examples/LabelTop.d.ts +0 -2
  616. package/types/src/Link/docs/examples/Inline.d.ts +0 -2
  617. package/types/src/Message/Link.d.ts +0 -37
  618. package/types/src/Number/IncrementIcon.d.ts +0 -2
  619. package/types/src/Paginator/icons/ChevronLeft.d.ts +0 -5
  620. package/types/src/Paginator/icons/ChevronRight.d.ts +0 -5
  621. package/types/src/RadioList/docs/examples/Composing.d.ts +0 -2
  622. package/types/src/Select/icons/CaretSmallDown.d.ts +0 -2
  623. package/types/src/Select/icons/Search.d.ts +0 -2
  624. package/types/src/Switch/CheckIcon.d.ts +0 -1
  625. package/types/src/Table/DragHandle.d.ts +0 -12
  626. package/types/src/Table/icons/HeadExpandRows.d.ts +0 -1
  627. package/types/src/Text/docs/examples/Multiline.d.ts +0 -2
  628. package/types/src/Text/docs/examples/Search.d.ts +0 -2
  629. package/types/src/TextArea/docs/examples/ClearContent.d.ts +0 -2
  630. package/types/src/TextArea/icons/ClearButton.d.ts +0 -3
  631. package/types/src/TextArea/icons/SearchIcon.d.ts +0 -1
package/ControlGroup.js CHANGED
@@ -8,27 +8,27 @@
8
8
  /******/ /* webpack/runtime/compat get default export */
9
9
  /******/ (() => {
10
10
  /******/ // getDefaultExport function for compatibility with non-harmony modules
11
- /******/ e.n = t => {
12
- /******/ var r = t && t.__esModule ?
13
- /******/ () => t["default"]
14
- /******/ : () => t
11
+ /******/ e.n = r => {
12
+ /******/ var t = r && r.__esModule ?
13
+ /******/ () => r["default"]
14
+ /******/ : () => r
15
15
  /******/;
16
- e.d(r, {
17
- a: r
16
+ e.d(t, {
17
+ a: t
18
18
  });
19
- /******/ return r;
19
+ /******/ return t;
20
20
  /******/ };
21
21
  /******/ })();
22
22
  /******/
23
23
  /******/ /* webpack/runtime/define property getters */
24
24
  /******/ (() => {
25
25
  /******/ // define getter functions for harmony exports
26
- /******/ e.d = (t, r) => {
27
- /******/ for (var n in r) {
28
- /******/ if (e.o(r, n) && !e.o(t, n)) {
29
- /******/ Object.defineProperty(t, n, {
26
+ /******/ e.d = (r, t) => {
27
+ /******/ for (var n in t) {
28
+ /******/ if (e.o(t, n) && !e.o(r, n)) {
29
+ /******/ Object.defineProperty(r, n, {
30
30
  enumerable: true,
31
- get: r[n]
31
+ get: t[n]
32
32
  });
33
33
  /******/ }
34
34
  /******/ }
@@ -37,7 +37,7 @@
37
37
  /******/
38
38
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
39
39
  /******/ (() => {
40
- /******/ e.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)
40
+ /******/ e.o = (e, r) => Object.prototype.hasOwnProperty.call(e, r)
41
41
  /******/;
42
42
  })();
43
43
  /******/
@@ -56,377 +56,466 @@
56
56
  /******/ };
57
57
  /******/ })();
58
58
  /******/
59
- /************************************************************************/ var t = {};
59
+ /************************************************************************/ var r = {};
60
60
  // ESM COMPAT FLAG
61
- e.r(t);
61
+ e.r(r);
62
62
  // EXPORTS
63
- e.d(t, {
64
- ControlGroupContext: () => /* reexport */ T,
65
- default: () => /* reexport */ ce
63
+ e.d(r, {
64
+ ControlGroupContext: () => /* reexport */ p,
65
+ default: () => /* reexport */ ye
66
66
  });
67
67
  // CONCATENATED MODULE: external "react"
68
- const r = require("react");
69
- var n = e.n(r);
68
+ const t = require("react");
69
+ var n = e.n(t);
70
70
  // CONCATENATED MODULE: external "prop-types"
71
- const o = require("prop-types");
72
- var i = e.n(o);
73
- // CONCATENATED MODULE: external "lodash/find"
74
- const l = require("lodash/find");
75
- var a = e.n(l);
76
- // CONCATENATED MODULE: external "lodash/isFinite"
77
- const s = require("lodash/isFinite");
78
- var p = e.n(s);
79
- // CONCATENATED MODULE: external "@splunk/themes"
80
- const c = require("@splunk/themes");
71
+ const l = require("prop-types");
72
+ var o = e.n(l);
73
+ // CONCATENATED MODULE: external "@splunk/react-ui/ScreenReaderContent"
74
+ const i = require("@splunk/react-ui/ScreenReaderContent");
75
+ var a = e.n(i);
76
+ // CONCATENATED MODULE: external "@splunk/react-ui/usePrevious"
77
+ const s = require("@splunk/react-ui/usePrevious");
78
+ var c = e.n(s);
81
79
  // CONCATENATED MODULE: external "@splunk/ui-utils/id"
82
80
  const u = require("@splunk/ui-utils/id");
83
- // CONCATENATED MODULE: external "@splunk/react-ui/Box"
84
- const f = require("@splunk/react-ui/Box");
85
- var d = e.n(f);
86
- // CONCATENATED MODULE: external "@splunk/react-ui/ScreenReaderContent"
87
- const y = require("@splunk/react-ui/ScreenReaderContent");
88
- var b = e.n(y);
81
+ // CONCATENATED MODULE: ./src/ControlGroup/ControlGroupContext.tsx
82
+ /**
83
+ * A React context used to inform subcomponets of ControlGroup of parent component values.
84
+ * The context interface is `ControlGroupContextValue`.
85
+ * Defaults to `'{}'`.
86
+ * @public
87
+ */
88
+ var d = n().createContext({});
89
+ /* harmony default export */ const p = d;
89
90
  // CONCATENATED MODULE: external "styled-components"
90
- const h = require("styled-components");
91
- var m = e.n(h);
91
+ const f = require("styled-components");
92
+ var y = e.n(f);
93
+ // CONCATENATED MODULE: external "@splunk/react-ui/Box"
94
+ const v = require("@splunk/react-ui/Box");
95
+ var b = e.n(v);
92
96
  // CONCATENATED MODULE: external "@splunk/react-ui/Tooltip"
93
- const v = require("@splunk/react-ui/Tooltip");
94
- var g = e.n(v);
97
+ const m = require("@splunk/react-ui/Tooltip");
98
+ var h = e.n(m);
99
+ // CONCATENATED MODULE: external "@splunk/themes"
100
+ const g = require("@splunk/themes");
95
101
  // CONCATENATED MODULE: ./src/ControlGroup/ControlGroupStyles.ts
96
- var O = m()(d()).withConfig({
102
+ var w = y()(b()).withConfig({
97
103
  displayName: "ControlGroupStyles__StyledBox",
98
104
  componentId: "wjnyif-0"
99
- })([ "", " ", " max-width:600px;margin-bottom:", ";", " color:", ";", "" ], c.mixins.reset("block"), c.mixins.clearfix(), (0,
100
- c.pick)({
101
- enterprise: c.variables.spacingMedium,
102
- prisma: {
103
- comfortable: c.variables.spacingLarge,
104
- compact: c.variables.spacingMedium
105
- }
106
- }), (0, c.pick)({
107
- prisma: {
108
- comfortable: (0, h.css)([ "&:first-child{margin-top:", ";}&:last-child{margin-bottom:", ";}" ], c.variables.spacingMedium, c.variables.spacingMedium),
109
- compact: (0, h.css)([ "&:first-child{margin-top:", ";}&:last-child{margin-bottom:", ";}" ], c.variables.spacingSmall, c.variables.spacingSmall)
110
- }
111
- }), (0, c.pick)({
112
- enterprise: c.variables.textColor,
113
- prisma: c.variables.contentColorMuted
114
- }), (function(e) {
115
- var t = e.$error;
116
- return t && (0, h.css)([ "color:", ";" ], (0, c.pick)({
117
- enterprise: {
118
- light: c.variables.errorColorD10,
119
- dark: c.variables.errorColorL20
120
- },
121
- prisma: c.variables.accentColorNegative
122
- }));
105
+ })([ "", " max-width:600px;margin-block-end:", ";&:last-child{margin-block-end:0;}", "" ], g.mixins.reset("flex"), g.variables.spacingLarge, (function(e) {
106
+ var r = e.$labelPosition;
107
+ return r === "top" ? (0, f.css)([ "flex-direction:column;gap:", ";" ], g.variables.spacingXSmall) : (0,
108
+ f.css)([ "flex-direction:row;gap:", ";" ], g.variables.spacingMedium);
123
109
  }));
124
- var S = m()(d()).withConfig({
125
- displayName: "ControlGroupStyles__StyledControlsStackBox",
126
- componentId: "wjnyif-1"
127
- })([ "flex-direction:column;" ]);
128
- var w = m().div.withConfig({
110
+ // Aligns label to the top for case where labelPosition="left" and StyledControlsAndMessagingWrapper is taller than label.
111
+ var S = y().div.withConfig({
129
112
  displayName: "ControlGroupStyles__StyledLabelWrapper",
113
+ componentId: "wjnyif-1"
114
+ })([ "display:inline-flex;align-items:flex-start;gap:", ";flex-shrink:0;" ], g.variables.spacingXSmall);
115
+ // Vertically centers label & tooltip.
116
+ var O = y().div.withConfig({
117
+ displayName: "ControlGroupStyles__StyledLabelInnerWrapper",
130
118
  componentId: "wjnyif-2"
131
- })([ "display:inline-flex;align-items:center;", " ", "" ], (0, c.pick)({
132
- enterprise: (0, h.css)([ "justify-content:flex-end;" ])
133
- }), (function(e) {
134
- var t = e.$labelPosition;
135
- return t === "top" ? (0, h.css)([ "", "" ], (0, c.pick)({
136
- prisma: (0, h.css)([ "height:24px;padding-bottom:", ";" ], c.variables.spacingXSmall)
137
- })) : (0, h.css)([ "", "" ], (0, c.pick)({
138
- prisma: (0, h.css)([ "min-height:", ";" ], c.variables.inputHeight)
139
- }));
119
+ })([ "display:inline-flex;gap:", ";align-items:center;", "" ], g.variables.spacingXSmall, (function(e) {
120
+ var r = e.$labelPosition;
121
+ return r === "left" && (0, f.css)([ "min-height:", ";" ], g.variables.inputHeight);
140
122
  }));
141
- var I = m()(w).withConfig({
142
- displayName: "ControlGroupStyles__StyledLabelWrapperLeft",
143
- componentId: "wjnyif-3"
144
- })([ "float:left;" ]);
145
- var x = m().label.withConfig({
123
+ var I = y().label.withConfig({
146
124
  displayName: "ControlGroupStyles__StyledLabel",
147
- componentId: "wjnyif-4"
148
- })([ "padding:", ";word-wrap:break-word;color:inherit;text-align:", ";" ], (0, c.pick)({
149
- enterprise: {
150
- comfortable: "6px 0",
151
- compact: "4px 0"
152
- }
153
- }), (0, c.pick)({
154
- enterprise: "right",
155
- prisma: "left"
125
+ componentId: "wjnyif-3"
126
+ })([ "", ";flex-shrink:2;word-wrap:break-word;", ";" ], g.mixins.typography("body", {
127
+ color: "active"
128
+ }), (function(e) {
129
+ var r = e.$disabled;
130
+ return r && (0, f.css)([ "color:", ";" ], g.variables.contentColorDisabled);
156
131
  }));
157
- var C = m()(g()).withConfig({
132
+ var C = y()(h()).withConfig({
158
133
  displayName: "ControlGroupStyles__StyledTooltip",
134
+ componentId: "wjnyif-4"
135
+ })([ "& button{", "}" ], (0, g.pick)({
136
+ prisma: (0, f.css)([ "position:relative;top:-2px;padding:0;svg{width:16px;height:16px;}" ])
137
+ }));
138
+ var x = y().div.withConfig({
139
+ displayName: "ControlGroupStyles__StyledControlsAndMessagingWrapper",
159
140
  componentId: "wjnyif-5"
160
- })([ "", "" ], (function(e) {
161
- var t = e.$labelPosition;
162
- return t === "top" && (0, h.css)([ "button{", "}" ], (0, c.pick)({
163
- prisma: (0, h.css)([ "svg{width:20px;height:20px;}padding:4px;" ])
164
- }));
141
+ })([ "display:flex;flex-direction:column;gap:", ";min-width:0;", "" ], g.variables.spacingXSmall, (function(e) {
142
+ var r = e.$controlsLayout;
143
+ return r !== "none" && (0, f.css)([ "flex-grow:1;" ]);
165
144
  }));
166
- var j = m().div.withConfig({
167
- displayName: "ControlGroupStyles__StyledHelp",
145
+ var j = y()(b()).withConfig({
146
+ displayName: "ControlGroupStyles__StyledControlsWrapper",
168
147
  componentId: "wjnyif-6"
169
- })([ "", ";font-size:", ";color:", ";margin-top:", ";", "" ], c.mixins.reset("block"), c.variables.fontSizeSmall, c.variables.contentColorMuted, (0,
170
- c.pick)({
171
- enterprise: "2px",
172
- prisma: "4px"
173
- }), (function(e) {
174
- var t = e.$error;
175
- return t && (0, h.css)([ "color:inherit;" ]);
148
+ })([ "gap:", ";", "" ], g.variables.spacingMedium, (0, g.pickVariant)("$controlsLayout", {
149
+ fillJoin: (0, f.css)([ "gap:0;" ]),
150
+ stack: (0, f.css)([ "flex-direction:column;" ])
176
151
  }));
177
- var k = m().div.withConfig({
178
- displayName: "ControlGroupStyles__StyledErrorText",
152
+ var E = y().div.withConfig({
153
+ displayName: "ControlGroupStyles__StyledHelp",
179
154
  componentId: "wjnyif-7"
180
- })([ "", ";font-size:", ";[aria-invalid] > &{color:inherit;}", "" ], c.mixins.reset("block"), c.variables.fontSizeSmall, (function(e) {
181
- var t = e.$help;
182
- return !t && (0, h.css)([ "margin-top:", ";" ], (0, c.pick)({
183
- enterprise: "2px",
184
- prisma: "4px"
185
- }));
155
+ })([ "", ";", ";", ";" ], g.mixins.reset("block"), g.mixins.typography("smallBody"), (function(e) {
156
+ var r = e.$disabled;
157
+ return r && (0, f.css)([ "color:", ";" ], g.variables.contentColorDisabled);
186
158
  }));
187
- var P = m().span.withConfig({
159
+ var P = y().span.withConfig({
188
160
  displayName: "ControlGroupStyles__StyledAsterisk",
189
161
  componentId: "wjnyif-8"
190
- })([ "color:inherit;margin-right:2px;" ]);
191
- // CONCATENATED MODULE: ./src/ControlGroup/ControlGroupContext.tsx
192
- /**
193
- * A React context used to inform subcomponets of ControlGroup of parent component values.
194
- * The context interface is `ControlGroupContextValue`.
195
- * Defaults to `'{}'`.
196
- * @public
197
- */
198
- var _ = n().createContext({});
199
- /* harmony default export */ const T = _;
162
+ })([ "color:", ";margin-right:2px;" ], g.variables.contentColorNegative);
163
+ // CONCATENATED MODULE: external "@splunk/ui-utils/i18n"
164
+ const k = require("@splunk/ui-utils/i18n");
165
+ // CONCATENATED MODULE: external "@splunk/react-icons/ExclamationTriangle"
166
+ const _ = require("@splunk/react-icons/ExclamationTriangle");
167
+ var q = e.n(_);
168
+ // CONCATENATED MODULE: external "@splunk/themes/mixins"
169
+ const D = require("@splunk/themes/mixins");
170
+ // CONCATENATED MODULE: ./src/ControlGroup/ErrorMessageBarStyles.ts
171
+ var T = y().div.withConfig({
172
+ displayName: "ErrorMessageBarStyles__StyledErrorMessageBarWrapper",
173
+ componentId: "sc-1praezx-0"
174
+ })([ "display:flex;gap:", ";word-break:break-word;border-radius:", ";padding:", ";background-color:", ";" ], g.variables.spacingXSmall, g.variables.borderRadius, g.variables.spacingXSmall, g.variables.contentBackgroundColorNegativeWeak);
175
+ var M = y()(q()).withConfig({
176
+ displayName: "ErrorMessageBarStyles__StyledIcon",
177
+ componentId: "sc-1praezx-1"
178
+ })([ "position:relative;fill:", ";" ], g.variables.interactiveColorAccentError);
179
+ var L = y().p.withConfig({
180
+ displayName: "ErrorMessageBarStyles__StyledErrorMessage",
181
+ componentId: "sc-1praezx-2"
182
+ })([ "", ";", ";" ], g.mixins.reset("block"), (0, D.typography)("smallBody", {
183
+ color: "active"
184
+ }));
185
+ // CONCATENATED MODULE: ./src/ControlGroup/ErrorMessageBar.tsx
186
+ function N(e, r) {
187
+ if (null == e) return {};
188
+ var t, n, l = $(e, r);
189
+ if (Object.getOwnPropertySymbols) {
190
+ var o = Object.getOwnPropertySymbols(e);
191
+ for (n = 0; n < o.length; n++) {
192
+ t = o[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (l[t] = e[t]);
193
+ }
194
+ }
195
+ return l;
196
+ }
197
+ function $(e, r) {
198
+ if (null == e) return {};
199
+ var t = {};
200
+ for (var n in e) {
201
+ if ({}.hasOwnProperty.call(e, n)) {
202
+ if (r.includes(n)) continue;
203
+ t[n] = e[n];
204
+ }
205
+ }
206
+ return t;
207
+ }
208
+ var B = (0, k._)("Error: ");
209
+ var G = {
210
+ children: o().node.isRequired
211
+ };
212
+ function A(e) {
213
+ var r = e.children, t = N(e, [ "children" ]);
214
+
215
+ return n().createElement(T, t, n().createElement(M, {
216
+ variant: "filled"
217
+ }), n().createElement(a(), null, B), n().createElement(L, null, r));
218
+ }
219
+ A.propTypes = G;
220
+ /* harmony default export */ const W = A;
200
221
  // CONCATENATED MODULE: ./src/ControlGroup/ControlGroup.tsx
201
- function L(e) {
222
+ function F(e) {
202
223
  "@babel/helpers - typeof";
203
- return L = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
224
+ return F = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
204
225
  return typeof e;
205
226
  } : function(e) {
206
227
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
207
- }, L(e);
228
+ }, F(e);
208
229
  }
209
- function E() {
210
- return E = Object.assign ? Object.assign.bind() : function(e) {
211
- for (var t = 1; t < arguments.length; t++) {
212
- var r = arguments[t];
213
- for (var n in r) {
214
- ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
230
+ function X() {
231
+ return X = Object.assign ? Object.assign.bind() : function(e) {
232
+ for (var r = 1; r < arguments.length; r++) {
233
+ var t = arguments[r];
234
+ for (var n in t) {
235
+ ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
215
236
  }
216
237
  }
217
238
  return e;
218
- }, E.apply(null, arguments);
219
- }
220
- function D(e, t) {
221
- var r = Object.keys(e);
222
- if (Object.getOwnPropertySymbols) {
223
- var n = Object.getOwnPropertySymbols(e);
224
- t && (n = n.filter((function(t) {
225
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
226
- }))), r.push.apply(r, n);
227
- }
228
- return r;
239
+ }, X.apply(null, arguments);
229
240
  }
230
- function q(e) {
231
- for (var t = 1; t < arguments.length; t++) {
232
- var r = null != arguments[t] ? arguments[t] : {};
233
- t % 2 ? D(Object(r), !0).forEach((function(t) {
234
- Z(e, t, r[t]);
235
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : D(Object(r)).forEach((function(t) {
236
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
237
- }));
238
- }
239
- return e;
240
- }
241
- function M(e, t) {
241
+ function R(e, r) {
242
242
  if (null == e) return {};
243
- var r, n, o = B(e, t);
243
+ var t, n, l = H(e, r);
244
244
  if (Object.getOwnPropertySymbols) {
245
- var i = Object.getOwnPropertySymbols(e);
246
- for (n = 0; n < i.length; n++) {
247
- r = i[n], t.includes(r) || {}.propertyIsEnumerable.call(e, r) && (o[r] = e[r]);
245
+ var o = Object.getOwnPropertySymbols(e);
246
+ for (n = 0; n < o.length; n++) {
247
+ t = o[n], r.includes(t) || {}.propertyIsEnumerable.call(e, t) && (l[t] = e[t]);
248
248
  }
249
249
  }
250
- return o;
250
+ return l;
251
251
  }
252
- function B(e, t) {
252
+ function H(e, r) {
253
253
  if (null == e) return {};
254
- var r = {};
254
+ var t = {};
255
255
  for (var n in e) {
256
256
  if ({}.hasOwnProperty.call(e, n)) {
257
- if (t.includes(n)) continue;
258
- r[n] = e[n];
257
+ if (r.includes(n)) continue;
258
+ t[n] = e[n];
259
259
  }
260
260
  }
261
- return r;
261
+ return t;
262
+ }
263
+ function J(e, r) {
264
+ var t = Object.keys(e);
265
+ if (Object.getOwnPropertySymbols) {
266
+ var n = Object.getOwnPropertySymbols(e);
267
+ r && (n = n.filter((function(r) {
268
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
269
+ }))), t.push.apply(t, n);
270
+ }
271
+ return t;
272
+ }
273
+ function z(e) {
274
+ for (var r = 1; r < arguments.length; r++) {
275
+ var t = null != arguments[r] ? arguments[r] : {};
276
+ r % 2 ? J(Object(t), !0).forEach((function(r) {
277
+ K(e, r, t[r]);
278
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : J(Object(t)).forEach((function(r) {
279
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
280
+ }));
281
+ }
282
+ return e;
283
+ }
284
+ function K(e, r, t) {
285
+ return (r = V(r)) in e ? Object.defineProperty(e, r, {
286
+ value: t,
287
+ enumerable: !0,
288
+ configurable: !0,
289
+ writable: !0
290
+ }) : e[r] = t, e;
291
+ }
292
+ function V(e) {
293
+ var r = U(e, "string");
294
+ return "symbol" == F(r) ? r : r + "";
295
+ }
296
+ function U(e, r) {
297
+ if ("object" != F(e) || !e) return e;
298
+ var t = e[Symbol.toPrimitive];
299
+ if (void 0 !== t) {
300
+ var n = t.call(e, r || "default");
301
+ if ("object" != F(n)) return n;
302
+ throw new TypeError("@@toPrimitive must return a primitive value.");
303
+ }
304
+ return ("string" === r ? String : Number)(e);
262
305
  }
263
- function V(e, t) {
264
- return W(e) || N(e, t) || A(e, t) || $();
306
+ function Q(e, r) {
307
+ return te(e) || re(e, r) || Z(e, r) || Y();
265
308
  }
266
- function $() {
309
+ function Y() {
267
310
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
268
311
  }
269
- function A(e, t) {
312
+ function Z(e, r) {
270
313
  if (e) {
271
- if ("string" == typeof e) return G(e, t);
272
- var r = {}.toString.call(e).slice(8, -1);
273
- return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? G(e, t) : void 0;
314
+ if ("string" == typeof e) return ee(e, r);
315
+ var t = {}.toString.call(e).slice(8, -1);
316
+ 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) ? ee(e, r) : void 0;
274
317
  }
275
318
  }
276
- function G(e, t) {
277
- (null == t || t > e.length) && (t = e.length);
278
- for (var r = 0, n = Array(t); r < t; r++) {
279
- n[r] = e[r];
319
+ function ee(e, r) {
320
+ (null == r || r > e.length) && (r = e.length);
321
+ for (var t = 0, n = Array(r); t < r; t++) {
322
+ n[t] = e[t];
280
323
  }
281
324
  return n;
282
325
  }
283
- function N(e, t) {
284
- var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
285
- if (null != r) {
286
- var n, o, i, l, a = [], s = !0, p = !1;
326
+ function re(e, r) {
327
+ var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
328
+ if (null != t) {
329
+ var n, l, o, i, a = [], s = !0, c = !1;
287
330
  try {
288
- if (i = (r = r.call(e)).next, 0 === t) {
289
- if (Object(r) !== r) return;
331
+ if (o = (t = t.call(e)).next, 0 === r) {
332
+ if (Object(t) !== t) return;
290
333
  s = !1;
291
- } else for (;!(s = (n = i.call(r)).done) && (a.push(n.value), a.length !== t); s = !0) {
334
+ } else for (;!(s = (n = o.call(t)).done) && (a.push(n.value), a.length !== r); s = !0) {
292
335
  }
293
336
  } catch (e) {
294
- p = !0, o = e;
337
+ c = !0, l = e;
295
338
  } finally {
296
339
  try {
297
- if (!s && null != r["return"] && (l = r["return"](), Object(l) !== l)) return;
340
+ if (!s && null != t["return"] && (i = t["return"](), Object(i) !== i)) return;
298
341
  } finally {
299
- if (p) throw o;
342
+ if (c) throw l;
300
343
  }
301
344
  }
302
345
  return a;
303
346
  }
304
347
  }
305
- function W(e) {
348
+ function te(e) {
306
349
  if (Array.isArray(e)) return e;
307
350
  }
308
- function R(e, t) {
309
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
310
- }
311
- function z(e, t) {
312
- for (var r = 0; r < t.length; r++) {
313
- var n = t[r];
314
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0),
315
- Object.defineProperty(e, ee(n.key), n);
316
- }
351
+ // props ControlGroup passes to configure its children's props
352
+ // props ControlGroup may access and/or override on children
353
+ var ne = {
354
+ children: o().node,
355
+ controlsLayout: o().oneOf([ "fill", "fillJoin", "none", "stack" ]),
356
+ elementRef: o().oneOfType([ o().func, o().object ]),
357
+ error: o().oneOfType([ o().bool, o().string ]),
358
+ help: o().node,
359
+ hideLabel: o().bool,
360
+ label: o().string.isRequired,
361
+ labelFor: o().string,
362
+ labelPosition: o().oneOf([ "left", "top" ]),
363
+ labelWidth: o().oneOfType([ o().number, o().string ]),
364
+ required: o().bool,
365
+ tooltip: o().node,
366
+ tooltipDefaultPlacement: o().oneOf([ "above", "below", "left", "right" ])
367
+ };
368
+ // Style cloned onto child elements when fill behavior set.
369
+ var le = {
370
+ flexGrow: 1
371
+ };
372
+ function oe(e) {
373
+ return e.type && e.type.propTypes && Object.prototype.hasOwnProperty.call(e.type.propTypes, "inputId");
317
374
  }
318
- function F(e, t, r) {
319
- return t && z(e.prototype, t), r && z(e, r), Object.defineProperty(e, "prototype", {
320
- writable: !1
321
- }), e;
375
+ function ie(e, r) {
376
+ var t = "".concat(e, "-").concat(r);
377
+ var n = (0, u.createDOMID)(e);
378
+ return {
379
+ childKey: t,
380
+ value: n
381
+ };
322
382
  }
323
- function J(e, t) {
324
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
325
- e.prototype = Object.create(t && t.prototype, {
326
- constructor: {
327
- value: e,
328
- writable: !0,
329
- configurable: !0
383
+ function ae(e) {
384
+ var r = {};
385
+ var t = e.length;
386
+ var n = 0;
387
+ e.forEach((function(e, t) {
388
+ if (oe(e) && e.props.inputId == null) {
389
+ var l = ie("input-id", t), o = l.childKey, i = l.value;
390
+ r[o] = i;
391
+ } else if (e.props.id == null) {
392
+ var a = ie("id", t), s = a.childKey, c = a.value;
393
+ r[s] = c;
394
+ } else {
395
+ // child already has an inputId or id, so we don't need to make a childId for it
396
+ n += 1;
330
397
  }
331
- }), Object.defineProperty(e, "prototype", {
332
- writable: !1
333
- }), t && H(e, t);
334
- }
335
- function H(e, t) {
336
- return H = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
337
- return e.__proto__ = t, e;
338
- }, H(e, t);
339
- }
340
- function U(e) {
341
- var t = Q();
342
- return function() {
343
- var r, n = Y(e);
344
- if (t) {
345
- var o = Y(this).constructor;
346
- r = Reflect.construct(n, arguments, o);
347
- } else r = n.apply(this, arguments);
348
- return X(this, r);
398
+ }));
399
+ return {
400
+ newChildIds: r,
401
+ allChildrenHaveId: n === t
349
402
  };
350
403
  }
351
- function X(e, t) {
352
- if (t && ("object" == L(t) || "function" == typeof t)) return t;
353
- if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
354
- return K(e);
355
- }
356
- function K(e) {
357
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
358
- return e;
359
- }
360
- function Q() {
361
- try {
362
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {})));
363
- } catch (e) {}
364
- return (Q = function t() {
365
- return !!e;
366
- })();
367
- }
368
- function Y(e) {
369
- return Y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
370
- return e.__proto__ || Object.getPrototypeOf(e);
371
- }, Y(e);
372
- }
373
- function Z(e, t, r) {
374
- return (t = ee(t)) in e ? Object.defineProperty(e, t, {
375
- value: r,
376
- enumerable: !0,
377
- configurable: !0,
378
- writable: !0
379
- }) : e[t] = r, e;
404
+ function se(e, r, t) {
405
+ var n = "".concat(e, "-").concat(r);
406
+ var l = t[n];
407
+ if (!l || !l.length) {
408
+ // By this point we should have already generated ids for each child and this code shouldn't get executed
409
+ // But leaving this as a fallback
410
+ return undefined;
411
+ }
412
+ return l;
380
413
  }
381
- function ee(e) {
382
- var t = te(e, "string");
383
- return "symbol" == L(t) ? t : t + "";
414
+ function ce(e) {
415
+ if (e.length === 0) {
416
+ return undefined;
417
+ }
418
+ var r = Q(e, 1), t = r[0];
419
+ var n = e.find((function(e) {
420
+ return e.type && e.type.componentType === "Text";
421
+ }));
422
+ var l = oe(t);
423
+ var o = t.props, i = o.id, a = o.inputId;
424
+ // see function doc block for details
425
+ if (e.length === 1 && (t === null || t === void 0 ? void 0 : t.props)) {
426
+ return l ? a : i;
427
+ }
428
+ if (n === null || n === void 0 ? void 0 : n.props) {
429
+ return n.props.inputId;
430
+ }
431
+ if (t.props) {
432
+ return l ? a : i;
433
+ }
434
+ return undefined;
384
435
  }
385
- function te(e, t) {
386
- if ("object" != L(e) || !e) return e;
387
- var r = e[Symbol.toPrimitive];
388
- if (void 0 !== r) {
389
- var n = r.call(e, t || "default");
390
- if ("object" != L(n)) return n;
391
- throw new TypeError("@@toPrimitive must return a primitive value.");
436
+ // Configure the Children
437
+ function ue(e, r, n) {
438
+ var l = e.props, o = l.disabled, i = l.error, a = l.id, s = l.inputId, c = l.style;
439
+ var u = n.childIds, d = n.controlsLayout, p = n.help, f = n.helpId, y = n.error, v = n.errorId, b = n.label, m = n.labelFor, h = n.labelId, g = n.numChildren, w = n.required, S = n.showErrorText;
440
+ var O = {
441
+ key: e.key || r,
442
+ labelledBy: h
443
+ };
444
+ if (d === "fillJoin") {
445
+ if (r > 0) {
446
+ O.prepend = true;
447
+ }
448
+ if (r < g - 1) {
449
+ O.append = true;
450
+ }
451
+ if (O.prepend || O.append) {
452
+ O.inline = false;
453
+ }
392
454
  }
393
- return ("string" === t ? String : Number)(e);
455
+ if (d === "fill" && g > 1) {
456
+ O.inline = true;
457
+ }
458
+ if (d === "stack") {
459
+ O.inline = false;
460
+ }
461
+ if (p && typeof y === "boolean") {
462
+ O.describedBy = f;
463
+ } else if (p && typeof y === "string") {
464
+ O.describedBy = "".concat(f, " ").concat(v);
465
+ } else if (!p && typeof y === "string") {
466
+ O.describedBy = v;
467
+ }
468
+ if (w) {
469
+ O.required = true;
470
+ }
471
+ // TODO: SUI-3402 refactor so that parent component doesn't have to know what it's child components are
472
+ if (e.type.componentType === "Multiselect") {
473
+ var I = e;
474
+ if (!I.props.compact) {
475
+ O.labelText = b;
476
+ }
477
+ } else {
478
+ O.labelText = b;
479
+ }
480
+ if (g === 1 && (d === "fillJoin" || d === "fill")) {
481
+ // Some controls like Select do not grow by default, so flexGrow is applied
482
+ // The spread operator is used as css styles are not nested, so there is no need for a deep copy.
483
+ O.style = c ? z(z({}, c), le) : le;
484
+ }
485
+ if (!m && e) {
486
+ if (oe(e)) {
487
+ O.inputId = s || se("input-id", r, u);
488
+ } else {
489
+ O.id = a || se("id", r, u);
490
+ }
491
+ }
492
+ if (S && i === true) {
493
+ O["aria-errormessage"] = v;
494
+ }
495
+ return {
496
+ child: (0, t.cloneElement)(e, O),
497
+ childDisabled: o !== null && o !== void 0 ? o : false
498
+ };
394
499
  }
395
- // props ControlGroup may access and/or override on children
396
- var re = {
397
- children: i().node,
398
- controlsLayout: i().oneOf([ "fill", "fillJoin", "none", "stack" ]),
399
- elementRef: i().oneOfType([ i().func, i().object ]),
400
- error: i().oneOfType([ i().bool, i().string ]),
401
- help: i().node,
402
- hideLabel: i().bool,
403
- label: i().string.isRequired,
404
- labelFor: i().string,
405
- labelPosition: i().oneOf([ "left", "top" ]),
406
- labelWidth: i().oneOfType([ i().number, i().string ]),
407
- required: i().bool,
408
- size: i().oneOf([ "small", "medium" ]),
409
- /** @private */
410
- splunkTheme: i().object,
411
- tooltip: i().node,
412
- tooltipDefaultPlacement: i().oneOf([ "above", "below", "left", "right", "theme" ])
413
- };
414
- var ne = {
415
- controlsLayout: "fill",
416
- error: false,
417
- hideLabel: false,
418
- labelPosition: "left",
419
- labelWidth: 120,
420
- required: false
421
- };
422
- // Style cloned onto child elements when fill behavior set.
423
- var oe = {
424
- flexGrow: 1
425
- };
426
- // Margin bootom values cloned onto child elements when the stacking behavior is needed.
427
- var ie = "0";
428
- var le = "16px";
429
- var ae = "12px";
500
+ function de(e, r) {
501
+ var t = e.length;
502
+ var n = 0;
503
+ var l = z({
504
+ numChildren: t
505
+ }, r);
506
+ var o = e.map((function(e, r) {
507
+ var t = ue(e, r, l), o = t.child, i = t.childDisabled;
508
+ if (i) {
509
+ n += 1;
510
+ }
511
+ return o;
512
+ }));
513
+ return {
514
+ childrenFormatted: o,
515
+ controlGroupDisabled: n === t
516
+ };
517
+ }
518
+ var pe = 120;
430
519
  /**
431
520
  * `ControlGroup` places a label and optional help text around one or more controls. The `ControlGroup`
432
521
  * will automatically add aria attributes to associate the controls with the labels and help text to
@@ -444,238 +533,120 @@
444
533
  * If the linked child supports an `inputId` prop and it's set, its value is used for the label's `for`
445
534
  * attribute. If `inputId` is supported but not set a generated id is used instead. If `inputId` isn't
446
535
  * supported `id` is used. The `labelFor` prop may be used to override the `for` attribute.
447
- */ var se = function(e) {
448
- J(o, e);
449
- var t = U(o);
536
+ */ function fe(e) {
537
+ var r = e.children, l = e.controlsLayout, o = l === void 0 ? "fill" : l, i = e.error, s = i === void 0 ? false : i, d = e.help, f = e.hideLabel, y = e.label, v = e.labelFor, b = e.labelPosition, m = b === void 0 ? "top" : b, h = e.labelWidth, g = h === void 0 ? pe : h, k = e.required, _ = k === void 0 ? false : k, q = e.tooltip, D = e.tooltipDefaultPlacement, T = R(e, [ "children", "controlsLayout", "error", "help", "hideLabel", "label", "labelFor", "labelPosition", "labelWidth", "required", "tooltip", "tooltipDefaultPlacement" ]);
450
538
  // @docs-props-type ControlGroupPropsBase
451
- function o(e) {
452
- var r;
453
- R(this, o);
454
- r = t.call(this, e);
455
- Z(K(r), "errorId", void 0);
456
- Z(K(r), "helpId", void 0);
457
- Z(K(r), "labelId", void 0);
458
- Z(K(r), "contextValue", void 0);
459
- Z(K(r), "childIds", void 0);
460
- Z(K(r), "stackLayoutChildStyle", void 0);
461
- Z(K(r), "getChildID", (function(e, t) {
462
- var n = "".concat(e, "-").concat(t);
463
- var o = r.childIds[n];
464
- if (!o || !o.length) {
465
- o = (0, u.createDOMID)(e);
466
- r.childIds[n] = o;
467
- }
468
- return o;
469
- }));
470
- Z(K(r), "getStackLayoutChildStyle", (function(e, t) {
471
- if (e) {
472
- if (t) {
473
- r.stackLayoutChildStyle.marginBottom = ae;
474
- }
475
- r.stackLayoutChildStyle.marginBottom = le;
476
- } else {
477
- r.stackLayoutChildStyle.marginBottom = ie;
478
- }
479
- return r.stackLayoutChildStyle;
480
- }));
481
- Z(K(r), "hasInputId", (function(e) {
482
- return e.type && e.type.propTypes && Object.prototype.hasOwnProperty.call(e.type.propTypes, "inputId");
483
- }));
484
- Z(K(r), "getLinkedId", (function(e) {
485
- if (e.length === 0) {
486
- return undefined;
487
- }
488
- var t = V(e, 1), n = t[0];
489
- var o = a()(e, (function(e) {
490
- return e.type && e.type.componentType === "Text";
491
- }));
492
- var i = r.hasInputId(n);
493
- // see class doc block for details
494
- if (e.length === 1 && n && n.props) {
495
- return i ? n.props.inputId : n.props.id;
496
- }
497
- if (o && o.props) {
498
- return o.props.inputId;
499
- }
500
- if (n.props) {
501
- return i ? n.props.inputId : n.props.id;
502
- }
503
- return undefined;
504
- }));
505
- r.errorId = (0, u.createDOMID)("error");
506
- r.helpId = (0, u.createDOMID)("help");
507
- r.labelId = (0, u.createDOMID)("label");
508
- r.contextValue = r.createContextValue();
509
- r.childIds = {};
510
- r.stackLayoutChildStyle = {};
539
+ var M = (0, t.useState)((function() {
540
+ return {
541
+ errorId: (0, u.createDOMID)("error"),
542
+ helpId: (0, u.createDOMID)("help"),
543
+ labelId: (0, u.createDOMID)("label")
544
+ };
545
+ })), L = Q(M, 1), N = L[0], $ = N.errorId, B = N.helpId, G = N.labelId;
546
+ /** Child ids need to be the same on each render because of SUI-2817 */ var A = (0,
547
+ t.useState)({}), F = Q(A, 2), H = F[0], J = F[1];
548
+ var z = (0, t.useState)(false), K = Q(z, 2), V = K[0], U = K[1];
549
+ var Y = c()(n().Children.count(r));
550
+ var Z = (0, t.useCallback)((function(e) {
551
+ J(e);
552
+ }), []);
553
+ var ee = (0, t.useCallback)((function(e) {
554
+ U(e);
555
+ }), []);
556
+ var re = (0, t.useMemo)((function() {
557
+ return t.Children.toArray(r).filter(t.isValidElement);
558
+ }), [ r ]);
559
+ (0, t.useEffect)((function() {
511
560
  if (false) {}
561
+ }), [ s, d, m ]);
562
+ (0, t.useEffect)((function() {
512
563
  if (false) {}
513
- return r;
514
- }
515
- F(o, [ {
516
- key: "shouldComponentUpdate",
517
- value: function e(t) {
518
- if (n().Children.count(t.children) !== n().Children.count(this.props.children)) {
519
- this.childIds = {};
520
- }
521
- return true;
564
+ }), [ m, g ]);
565
+ (0, t.useEffect)((function() {
566
+ // If it's not the first render and the number of child elements has changed, reset childIds
567
+ if (Y != null && n().Children.count(r) !== Y) {
568
+ J({});
522
569
  }
523
- }, {
524
- key: "createContextValue",
525
- value: function e() {
526
- return {
527
- labelAttrs: {
528
- text: this.props.label,
529
- id: this.labelId
530
- }
531
- };
570
+ // If childIds has already been populated, labelFor has a value, or if all children have ids then we don't need to make ids for the children.
571
+ if (Object.keys(H).length === 0 && !v && !V) {
572
+ var e = ae(re), t = e.newChildIds, l = e.allChildrenHaveId;
573
+ J(t);
574
+ U(l);
532
575
  }
533
- }, {
534
- key: "getContextValue",
535
- value: function e() {
536
- var t, r;
537
- if (this.props.label !== ((t = this.contextValue.labelAttrs) === null || t === void 0 ? void 0 : t.text) || this.labelId !== ((r = this.contextValue.labelAttrs) === null || r === void 0 ? void 0 : r.id)) {
538
- this.contextValue = this.createContextValue();
576
+ }), [ V, H, r, v, Y, Z, ee, re ]);
577
+ var te = (0, t.useMemo)((function() {
578
+ return {
579
+ labelAttrs: {
580
+ text: y,
581
+ id: G
539
582
  }
540
- return this.contextValue;
541
- }
542
- }, {
543
- key: "render",
544
- value: function e() {
545
- var t = this;
546
- var o = this.props, i = o.children, l = o.controlsLayout, a = o.error, s = o.help, c = o.hideLabel, u = o.label, f = o.labelFor, y = o.labelPosition, h = o.labelWidth, m = o.required, v = o.splunkTheme, g = o.tooltip, _ = o.tooltipDefaultPlacement, L = M(o, [ "children", "controlsLayout", "error", "help", "hideLabel", "label", "labelFor", "labelPosition", "labelWidth", "required", "splunkTheme", "tooltip", "tooltipDefaultPlacement" ]);
547
- var D = v.isPrisma, B = v.isCompact;
548
- var V = r.Children.toArray(i).filter(r.isValidElement);
549
- var $ = V.length;
550
- var A = typeof a === "string";
551
- var G = A && a !== "";
552
- var N = A || a === true;
553
- // Clean the Children
554
- var W = function e(n, o) {
555
- var i = {
556
- key: n.key || o
557
- };
558
- if (l === "fillJoin") {
559
- if (o > 0) {
560
- i.prepend = true;
561
- }
562
- if (o < $ - 1) {
563
- i.append = true;
564
- }
565
- if (i.prepend || i.append) {
566
- i.inline = false;
567
- }
568
- }
569
- if (l === "fill" && $ > 1) {
570
- i.inline = true;
571
- }
572
- if (l === "stack") {
573
- i.inline = false;
574
- if (o < $ - 1) {
575
- // The spread operator is used as css styles are not nested, so there is no need for a deep copy.
576
- var a = t.getStackLayoutChildStyle(D, B);
577
- i.style = n.props.style ? q(q({}, n.props.style), a) : a;
578
- }
579
- }
580
- i.labelledBy = t.labelId;
581
- if (t.props.help && typeof t.props.error === "boolean") {
582
- i.describedBy = t.helpId;
583
- } else if (t.props.help && typeof t.props.error === "string") {
584
- i.describedBy = "".concat(t.helpId, " ").concat(t.errorId);
585
- } else if (!t.props.help && typeof t.props.error === "string") {
586
- i.describedBy = t.errorId;
587
- }
588
- if (t.props.required) {
589
- i.required = true;
590
- }
591
- // TODO: SUI-3402 refactor so that parent component doesn't have to know what it's child components are
592
- if (n.type.componentType === "Multiselect") {
593
- var s = n;
594
- if (s.props.compact === false) {
595
- i.labelText = u;
596
- }
597
- } else {
598
- i.labelText = u;
599
- }
600
- if ($ === 1 && (l === "fillJoin" || l === "fill")) {
601
- // Some controls like Select do not grow by default, so flexGrow is applied
602
- // The spread operator is used as css styles are not nested, so there is no need for a deep copy.
603
- i.style = n.props.style ? q(q({}, n.props.style), oe) : oe;
604
- }
605
- if (!f && n) {
606
- if (t.hasInputId(n)) {
607
- i.inputId = n.props.inputId || t.getChildID("input-id", o);
608
- } else {
609
- i.id = n.props.id || t.getChildID("id", o);
610
- }
611
- }
612
- if (G && n.props.error === true) {
613
- i["aria-errormessage"] = t.errorId;
614
- }
615
-
616
- return (0, r.cloneElement)(n, i);
617
- };
618
- var R = V.map(W);
619
- var z = this.getLinkedId(R);
620
- var F = y === "left" ? {
621
- width: h
622
- } : undefined;
623
- var J = p()(h) ? "".concat(h, "px") : h;
624
- var H = D ? "16px" : "20px";
625
- var U = y === "left" ? {
626
- marginLeft: "calc(".concat(J, " + ").concat(H, ")")
627
- } : undefined;
628
- var X = l === "stack" ? S : d();
629
- var K = y === "left" ? I : w;
630
- var Q = n().createElement(K, {
631
- style: F,
632
- $labelPosition: y
633
- }, n().createElement(x, {
634
- "data-test": "label",
635
- id: this.labelId,
636
- htmlFor: f || z,
637
- $tooltip: !!g
638
- }, m && n().createElement(P, {
639
- "aria-hidden": "true"
640
- }, "*"), u, !D && !c && g && n().createElement("span", null, " "), !c && g && n().createElement(b(), null, g)), !c && g && n().createElement(C, {
641
- $labelPosition: y,
642
- closeWhen: "notOnClick",
643
- content: g,
644
- defaultPlacement: _,
645
- "aria-hidden": "true"
646
- }));
647
-
648
- return n().createElement(O, E({
649
- "data-test": "control-group",
650
- "data-test-required": m,
651
- $error: N,
652
- "aria-invalid": !!a || undefined
653
- }, L), n().createElement(T.Provider, {
654
- value: this.getContextValue()
655
- }, c ? n().createElement(b(), null, Q) : Q, n().createElement(X, {
656
- "data-test": "controls",
657
- flex: l !== "none",
658
- style: U
659
- }, R), s && n().createElement(j, {
660
- "data-test": "help",
661
- id: this.helpId,
662
- style: U,
663
- $error: N && !G
664
- }, s), G && n().createElement(k, {
665
- "data-test": "error",
666
- id: this.errorId,
667
- style: U,
668
- $help: !!s
669
- }, a)));
670
- }
671
- } ]);
672
- return o;
673
- }(r.Component);
674
- Z(se, "propTypes", re);
675
- Z(se, "defaultProps", ne);
676
- var pe = (0, c.withSplunkTheme)(se);
677
- pe.propTypes = se.propTypes;
678
- /* harmony default export */ const ce = pe;
583
+ };
584
+ }), [ y, G ]);
585
+ var ne = typeof s === "string";
586
+ var le = ne && s !== "";
587
+ var oe = Number.isFinite(g) ? "".concat(g, "px") : g;
588
+ var ie = m === "left" ? {
589
+ width: oe
590
+ } : undefined;
591
+ var se = de(re, {
592
+ childIds: H,
593
+ controlsLayout: o,
594
+ help: d,
595
+ helpId: B,
596
+ error: s,
597
+ errorId: $,
598
+ label: y,
599
+ labelFor: v,
600
+ labelId: G,
601
+ required: _,
602
+ showErrorText: le
603
+ }), ue = se.childrenFormatted, fe = se.controlGroupDisabled;
604
+ var ye = (0, t.useMemo)((function() {
605
+ return v || ce(ue);
606
+ }), [ ue, v ]);
607
+ var ve = n().createElement(S, {
608
+ style: ie,
609
+ $labelPosition: m
610
+ }, n().createElement(O, {
611
+ $labelPosition: m
612
+ }, n().createElement(I, {
613
+ "data-test": "label",
614
+ $disabled: fe,
615
+ id: G,
616
+ htmlFor: ye
617
+ }, _ && n().createElement(P, {
618
+ "aria-hidden": "true"
619
+ }, "*"), y, !f && q && n().createElement(a(), null, q)), !f && q && n().createElement(C, {
620
+ closeWhen: "notOnClick",
621
+ content: q,
622
+ defaultPlacement: D,
623
+ "aria-hidden": "true"
624
+ })));
625
+
626
+ return n().createElement(w, X({
627
+ "data-test": "control-group",
628
+ "data-test-required": _,
629
+ $labelPosition: m,
630
+ "aria-invalid": !!s || undefined
631
+ }, T), n().createElement(p.Provider, {
632
+ value: te
633
+ }, f ? n().createElement(a(), null, ve) : ve, n().createElement(x, {
634
+ $controlsLayout: o
635
+ }, n().createElement(j, {
636
+ $controlsLayout: o,
637
+ "data-test": "controls",
638
+ flex: o !== "none"
639
+ }, ue), le && n().createElement(W, {
640
+ "data-test": "error",
641
+ id: $
642
+ }, s), d && n().createElement(E, {
643
+ "data-test": "help",
644
+ $disabled: fe,
645
+ id: B
646
+ }, d))));
647
+ }
648
+ fe.propTypes = ne;
649
+ /* harmony default export */ const ye = fe;
679
650
  // CONCATENATED MODULE: ./src/ControlGroup/index.ts
680
- module.exports = t;
651
+ module.exports = r;
681
652
  /******/})();