@iress-oss/ids-components 5.19.0 → 5.20.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 (617) hide show
  1. package/CHANGELOG.md +378 -0
  2. package/README.md +1 -1
  3. package/dist/{AutocompleteNoResults-D_adOX6J.js → AutocompleteNoResults-D_052VQ9.js} +1 -1
  4. package/dist/ComboboxHiddenInput-BcqYDu3M.js +32 -0
  5. package/dist/{FieldAppendToLabel-B-8fGGeb.js → FieldAppendToLabel-CWIO4lAR.js} +13 -12
  6. package/dist/InputBase-C0zGNQy5.js +56 -0
  7. package/dist/Loading.module-Bpupt31Y.js +13 -0
  8. package/dist/LoadingSuspense-BtzikVZk.js +5728 -0
  9. package/dist/LogoFromSrc-DIJbLzdF.js +59 -0
  10. package/dist/MenuItem.module-B77HFe8G.js +24 -0
  11. package/dist/Popover.module-DsySRqqg.js +11 -0
  12. package/dist/PopoverProvider-DZ92QV8I.js +142 -0
  13. package/dist/{SelectControl-3oO2h0ri.js → SelectControl-B5BG5_Pl.js} +2 -2
  14. package/dist/SliderTicks-jPoPzYf3.js +74 -0
  15. package/dist/TabSet.module-D1hz6nN2.js +13 -0
  16. package/dist/Table.module-DotXvwJq.js +32 -0
  17. package/dist/components/Alert/Alert.js +2 -2
  18. package/dist/components/Alert/index.js +1 -1
  19. package/dist/components/Autocomplete/Autocomplete.js +6 -5
  20. package/dist/components/Autocomplete/components/AutocompleteInstructions.js +7 -7
  21. package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
  22. package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +36 -35
  23. package/dist/components/Autocomplete/index.js +1 -1
  24. package/dist/components/Badge/Badge.js +5 -5
  25. package/dist/components/Button/Button.js +3 -3
  26. package/dist/components/Button/CloseButton/CloseButton.js +2 -2
  27. package/dist/components/Button/index.js +1 -1
  28. package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
  29. package/dist/components/ButtonGroup/ButtonGroupProvider.js +22 -22
  30. package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -2
  31. package/dist/components/ButtonGroup/index.js +1 -1
  32. package/dist/components/Card/helpers/composeIDSCard.js +1 -1
  33. package/dist/components/Checkbox/Checkbox.js +2 -2
  34. package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +11 -11
  35. package/dist/components/Checkbox/index.js +1 -1
  36. package/dist/components/CheckboxGroup/CheckboxGroup.js +74 -75
  37. package/dist/components/CheckboxMark/CheckboxMark.js +1 -1
  38. package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
  39. package/dist/components/Col/Col.js +1 -1
  40. package/dist/components/Combobox/Combobox.js +6 -5
  41. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +6 -5
  42. package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
  43. package/dist/components/Combobox/components/ComboboxResults.js +8 -7
  44. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +6 -5
  45. package/dist/components/Combobox/hooks/useComboboxInlineCompletion.js +34 -37
  46. package/dist/components/Combobox/index.js +1 -1
  47. package/dist/components/Container/Container.js +1 -1
  48. package/dist/components/Divider/Divider.js +1 -1
  49. package/dist/components/Expander/Expander.js +48 -48
  50. package/dist/components/Field/Field.js +47 -47
  51. package/dist/components/Field/FieldGroup/FieldGroup.js +59 -59
  52. package/dist/components/Field/components/FieldAppendToLabel.js +7 -6
  53. package/dist/components/Filter/Filter.js +6 -5
  54. package/dist/components/Filter/components/FilterResetButton.js +6 -5
  55. package/dist/components/Filter/components/FilterSearch.js +6 -5
  56. package/dist/components/Filter/index.js +1 -1
  57. package/dist/components/Form/Form.js +1 -1
  58. package/dist/components/Form/FormField/FormField.js +45 -47
  59. package/dist/components/Form/FormField/FormFieldset.js +43 -45
  60. package/dist/components/Form/FormField/helpers/getErrorTypeMessage.js +10 -10
  61. package/dist/components/Form/HookForm/HookForm.js +2 -2
  62. package/dist/components/Form/components/FormValidationSummary.js +15 -16
  63. package/dist/components/Form/index.js +1 -1
  64. package/dist/components/Hide/Hide.js +2 -2
  65. package/dist/components/Hide/helpers/composeHideClasses.js +7 -6
  66. package/dist/components/Hide/index.js +1 -1
  67. package/dist/components/Icon/Icon.js +6 -5
  68. package/dist/components/Icon/index.js +1 -1
  69. package/dist/components/Inline/Inline.js +6 -5
  70. package/dist/components/Inline/index.js +1 -1
  71. package/dist/components/Input/ClearButton/ClearButton.js +1 -1
  72. package/dist/components/Input/Input.js +3 -3
  73. package/dist/components/Input/InputBase/InputBase.js +2 -2
  74. package/dist/components/Input/index.js +1 -1
  75. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  76. package/dist/components/InputCurrency/index.js +1 -1
  77. package/dist/components/Label/LabelBase/LabelBase.js +37 -37
  78. package/dist/components/Menu/Menu.js +1 -1
  79. package/dist/components/Menu/MenuDivider/MenuDivider.js +6 -5
  80. package/dist/components/Menu/MenuHeading/MenuHeading.js +3 -3
  81. package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
  82. package/dist/components/Menu/MenuItem/hooks/useMenuItemAria.js +7 -7
  83. package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +30 -30
  84. package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +2 -2
  85. package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +47 -49
  86. package/dist/components/Menu/MenuItem/hooks/useMenuItemRole.js +5 -5
  87. package/dist/components/Menu/MenuText/MenuText.js +7 -6
  88. package/dist/components/Menu/helpers/mapMenuItems.js +21 -21
  89. package/dist/components/Menu/hooks/useMenuAria.js +2 -2
  90. package/dist/components/Menu/hooks/useMenuComposite.js +6 -6
  91. package/dist/components/Menu/hooks/useMenuRole.js +10 -10
  92. package/dist/components/Menu/hooks/useMenuStyles.js +18 -18
  93. package/dist/components/Menu/index.js +1 -1
  94. package/dist/components/Modal/Modal.js +3 -3
  95. package/dist/components/Modal/hooks/useIDSProvidedModal.js +8 -8
  96. package/dist/components/Modal/index.js +1 -1
  97. package/dist/components/Navbar/Navbar.js +3 -3
  98. package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
  99. package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
  100. package/dist/components/Navbar/components/NavbarLogo.js +3 -3
  101. package/dist/components/Navbar/index.js +1 -1
  102. package/dist/components/Panel/Panel.js +1 -1
  103. package/dist/components/Placeholder/Placeholder.js +20 -20
  104. package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
  105. package/dist/components/Popover/InputPopover/InputPopoverActivator.js +40 -43
  106. package/dist/components/Popover/InputPopover/InputPopoverProvider.js +61 -61
  107. package/dist/components/Popover/Popover.js +3 -3
  108. package/dist/components/Popover/PopoverProvider.js +2 -2
  109. package/dist/components/Popover/components/NestedPopoverActivator.js +1 -1
  110. package/dist/components/Popover/components/PopoverActivator.js +53 -58
  111. package/dist/components/Popover/components/PopoverContent.js +31 -31
  112. package/dist/components/Popover/helpers/composeFloatingProps.js +21 -24
  113. package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
  114. package/dist/components/Popover/hooks/usePopover.js +1 -1
  115. package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +23 -26
  116. package/dist/components/Popover/hooks/usePopoverImperativeHandle.js +17 -17
  117. package/dist/components/Popover/hooks/usePopoverItem.js +13 -14
  118. package/dist/components/Popover/hooks/usePopoverNavigation.js +22 -22
  119. package/dist/components/Progress/Progress.js +2 -2
  120. package/dist/components/Provider/Provider.js +1 -1
  121. package/dist/components/Radio/Radio.js +2 -2
  122. package/dist/components/Radio/helpers/mapRadioGroupOptions.js +8 -8
  123. package/dist/components/Radio/index.js +1 -1
  124. package/dist/components/RadioGroup/RadioGroup.js +68 -56
  125. package/dist/components/RadioGroup/index.js +6 -5
  126. package/dist/components/Readonly/Readonly.js +7 -6
  127. package/dist/components/Readonly/index.js +1 -1
  128. package/dist/components/RichSelect/RichSelect.js +5 -4
  129. package/dist/components/RichSelect/SelectBody/SelectBody.js +7 -6
  130. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +7 -6
  131. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +6 -5
  132. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
  133. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +6 -5
  134. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +6 -5
  135. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +5 -4
  136. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
  137. package/dist/components/RichSelect/SelectTags/SelectTags.js +5 -4
  138. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  139. package/dist/components/RichSelect/components/SelectOptions.js +6 -5
  140. package/dist/components/RichSelect/index.js +1 -1
  141. package/dist/components/Row/Row.js +6 -5
  142. package/dist/components/Row/index.js +1 -1
  143. package/dist/components/Select/Select.js +3 -3
  144. package/dist/components/Select/components/SelectControl.js +2 -2
  145. package/dist/components/Select/components/SelectReadonly.js +6 -5
  146. package/dist/components/Select/helpers/mapSelectOptions.js +9 -9
  147. package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
  148. package/dist/components/Select/index.js +1 -1
  149. package/dist/components/Skeleton/Skeleton.js +11 -11
  150. package/dist/components/SkipLink/SkipLink.js +2 -2
  151. package/dist/components/Slideout/Slideout.js +4 -4
  152. package/dist/components/Slideout/components/SlideoutInner.js +3 -3
  153. package/dist/components/Slideout/hooks/useIDSProvidedSlideout.js +7 -7
  154. package/dist/components/Slideout/index.js +1 -1
  155. package/dist/components/Slider/Slider.js +3 -3
  156. package/dist/components/Slider/components/SliderTicks.js +2 -2
  157. package/dist/components/Slider/index.js +1 -1
  158. package/dist/components/Spinner/Spinner.js +2 -2
  159. package/dist/components/Spinner/index.js +1 -1
  160. package/dist/components/Stack/Stack.js +1 -1
  161. package/dist/components/TabSet/Tab/Tab.js +52 -52
  162. package/dist/components/TabSet/TabSet.js +24 -24
  163. package/dist/components/TabSet/TabSetProvider.js +30 -30
  164. package/dist/components/TabSet/components/TabSetItem.js +31 -32
  165. package/dist/components/TabSet/helpers/mapTabs.js +19 -19
  166. package/dist/components/Table/Table.js +5 -4
  167. package/dist/components/Table/TableBody/TableBody.js +91 -91
  168. package/dist/components/Table/TableProvider.js +29 -25
  169. package/dist/components/Table/components/TableEmpty.js +8 -8
  170. package/dist/components/Table/components/TableHeader.js +2 -2
  171. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  172. package/dist/components/Table/components/TableRows.js +34 -34
  173. package/dist/components/Table/components/TableSortButton.js +3 -3
  174. package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +22 -22
  175. package/dist/components/Table/helpers/composeIDSTableInitialSorting.js +2 -2
  176. package/dist/components/Table/hooks/useIDSTableColumnSort.js +6 -6
  177. package/dist/components/Table/hooks/useIDSTableColumnStyles.js +14 -15
  178. package/dist/components/Table/index.js +1 -1
  179. package/dist/components/Tag/Tag.js +2 -2
  180. package/dist/components/Tag/TagInput/TagInput.js +1 -1
  181. package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -2
  182. package/dist/components/Tag/index.js +1 -1
  183. package/dist/components/Text/Text.js +1 -1
  184. package/dist/components/Toaster/Toast/Toast.js +2 -2
  185. package/dist/components/Toaster/Toast/ToastAnimated.js +3 -3
  186. package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
  187. package/dist/components/Toaster/Toaster.js +3 -3
  188. package/dist/components/Toaster/ToasterProvider.js +1 -1
  189. package/dist/components/Toaster/hooks/useToaster.js +1 -1
  190. package/dist/components/Toaster/index.js +1 -1
  191. package/dist/components/Toggle/Toggle.js +25 -25
  192. package/dist/components/Tooltip/Tooltip.js +3 -3
  193. package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -2
  194. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
  195. package/dist/constants.js +1 -1
  196. package/dist/floating-ui.react-DYBeYtOf.js +3464 -0
  197. package/dist/fuzzysort-BNka47rs.js +395 -0
  198. package/dist/helpers/dom/closestCrossShadow.js +16 -17
  199. package/dist/helpers/dom/focusableElements.js +6 -6
  200. package/dist/helpers/dom/getActiveElement.js +5 -6
  201. package/dist/helpers/formatting/formatDateTime.js +8 -7
  202. package/dist/helpers/label-value/composeLabelValueDescriptor.js +8 -8
  203. package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
  204. package/dist/helpers/label-value/getValueFromLabelValues.js +5 -6
  205. package/dist/helpers/label-value/highlightQueryInLabel.js +4 -7
  206. package/dist/helpers/label-value/searchLabelValues.js +1 -1
  207. package/dist/helpers/responsive/getResponsiveLayoutModifiers.js +4 -4
  208. package/dist/helpers/transition/getTransitionDuration.js +5 -8
  209. package/dist/hooks/useAriaRelationship.js +19 -21
  210. package/dist/hooks/useBreakpoint.js +8 -11
  211. package/dist/hooks/useControlledState.js +40 -40
  212. package/dist/{index-CmsyHM_3.js → index-BaVtNOfa.js} +43 -53
  213. package/dist/{index-CtOScEKX.js → index-DLnR8XTt.js} +8 -18
  214. package/dist/{index-2QXL0WYc.js → index-cbHCAGLB.js} +2 -7
  215. package/dist/{index.esm-BnSuefUA.js → index.esm-CL8gh5wr.js} +1 -5
  216. package/dist/main.js +159 -158
  217. package/dist/patterns/Loading/Loading.js +1 -1
  218. package/dist/patterns/Loading/LoadingSuspense.js +1 -1
  219. package/dist/patterns/Loading/components/ComponentLoading.js +3 -3
  220. package/dist/patterns/Loading/components/DefaultLoading.js +3 -3
  221. package/dist/patterns/Loading/components/LongLoading.js +42 -42
  222. package/dist/patterns/Loading/components/PageLoading.js +3 -3
  223. package/dist/patterns/Loading/components/StartUpLoading.js +65 -65
  224. package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
  225. package/dist/patterns/Loading/index.js +1 -1
  226. package/dist/style.css +1 -1
  227. package/dist/useIDSButtonGroupItem-YYpF5FzH.js +29 -0
  228. package/package.json +67 -38
  229. package/dist/ComboboxHiddenInput-DgbYej-J.js +0 -32
  230. package/dist/InputBase-Bn5cQ5z1.js +0 -56
  231. package/dist/Loading.module-DV-X9MgR.js +0 -13
  232. package/dist/LoadingSuspense-U4UZBhSB.js +0 -5772
  233. package/dist/LogoFromSrc-CpUGDF0Z.js +0 -59
  234. package/dist/MenuItem.module-CEkjIjoS.js +0 -24
  235. package/dist/Popover.module-CVRr72JE.js +0 -11
  236. package/dist/PopoverProvider-BCmddfo7.js +0 -142
  237. package/dist/SliderTicks-BkIFXa6K.js +0 -78
  238. package/dist/TabSet.module-BRO3CmMd.js +0 -13
  239. package/dist/Table.module-fgDgW5gS.js +0 -32
  240. package/dist/floating-ui.react-nmA48tb2.js +0 -3463
  241. package/dist/fuzzysort-eoXOpoo6.js +0 -395
  242. package/dist/src/components/Alert/Alert.d.ts +0 -9
  243. package/dist/src/components/Alert/Alert.types.d.ts +0 -41
  244. package/dist/src/components/Alert/index.d.ts +0 -2
  245. package/dist/src/components/Autocomplete/Autocomplete.d.ts +0 -3
  246. package/dist/src/components/Autocomplete/Autocomplete.types.d.ts +0 -144
  247. package/dist/src/components/Autocomplete/components/AutocompleteInstructions.d.ts +0 -2
  248. package/dist/src/components/Autocomplete/components/AutocompleteNoResults.d.ts +0 -2
  249. package/dist/src/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +0 -6
  250. package/dist/src/components/Autocomplete/index.d.ts +0 -3
  251. package/dist/src/components/Badge/Badge.d.ts +0 -2
  252. package/dist/src/components/Badge/Badge.types.d.ts +0 -37
  253. package/dist/src/components/Badge/index.d.ts +0 -2
  254. package/dist/src/components/Button/Button.d.ts +0 -2
  255. package/dist/src/components/Button/Button.types.d.ts +0 -106
  256. package/dist/src/components/Button/CloseButton/CloseButton.d.ts +0 -3
  257. package/dist/src/components/Button/CloseButton/CloseButton.types.d.ts +0 -8
  258. package/dist/src/components/Button/index.d.ts +0 -4
  259. package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +0 -2
  260. package/dist/src/components/ButtonGroup/ButtonGroup.types.d.ts +0 -63
  261. package/dist/src/components/ButtonGroup/ButtonGroupProvider.d.ts +0 -3
  262. package/dist/src/components/ButtonGroup/hooks/useButtonGroup.d.ts +0 -1
  263. package/dist/src/components/ButtonGroup/hooks/useIDSButtonGroupItem.d.ts +0 -2
  264. package/dist/src/components/ButtonGroup/index.d.ts +0 -3
  265. package/dist/src/components/Card/Card.d.ts +0 -2
  266. package/dist/src/components/Card/Card.types.d.ts +0 -91
  267. package/dist/src/components/Card/components/ButtonCard.d.ts +0 -2
  268. package/dist/src/components/Card/components/LinkCard.d.ts +0 -2
  269. package/dist/src/components/Card/helpers/composeIDSCard.d.ts +0 -3
  270. package/dist/src/components/Card/helpers/composeIDSCardSlots.d.ts +0 -2
  271. package/dist/src/components/Card/index.d.ts +0 -6
  272. package/dist/src/components/Checkbox/Checkbox.d.ts +0 -2
  273. package/dist/src/components/Checkbox/Checkbox.types.d.ts +0 -65
  274. package/dist/src/components/Checkbox/helpers/mapCheckboxGroupOptions.d.ts +0 -5
  275. package/dist/src/components/Checkbox/index.d.ts +0 -2
  276. package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +0 -2
  277. package/dist/src/components/CheckboxGroup/CheckboxGroup.types.d.ts +0 -70
  278. package/dist/src/components/CheckboxGroup/CheckboxGroupContext.d.ts +0 -2
  279. package/dist/src/components/CheckboxGroup/index.d.ts +0 -2
  280. package/dist/src/components/CheckboxMark/CheckboxMark.d.ts +0 -2
  281. package/dist/src/components/CheckboxMark/CheckboxMark.types.d.ts +0 -11
  282. package/dist/src/components/CheckboxMark/index.d.ts +0 -2
  283. package/dist/src/components/Col/Col.d.ts +0 -2
  284. package/dist/src/components/Col/Col.types.d.ts +0 -78
  285. package/dist/src/components/Col/index.d.ts +0 -2
  286. package/dist/src/components/Combobox/Combobox.d.ts +0 -6
  287. package/dist/src/components/Combobox/Combobox.types.d.ts +0 -55
  288. package/dist/src/components/Combobox/MultiCombobox/MultiCombobox.d.ts +0 -6
  289. package/dist/src/components/Combobox/MultiCombobox/MultiCombobox.types.d.ts +0 -27
  290. package/dist/src/components/Combobox/components/ComboboxHiddenInput.d.ts +0 -2
  291. package/dist/src/components/Combobox/components/ComboboxResults.d.ts +0 -2
  292. package/dist/src/components/Combobox/components/ComboboxResultsDescriptor.d.ts +0 -2
  293. package/dist/src/components/Combobox/hooks/useComboboxFlags.d.ts +0 -5
  294. package/dist/src/components/Combobox/hooks/useComboboxInlineCompletion.d.ts +0 -2
  295. package/dist/src/components/Combobox/index.d.ts +0 -4
  296. package/dist/src/components/Container/Container.d.ts +0 -2
  297. package/dist/src/components/Container/Container.types.d.ts +0 -15
  298. package/dist/src/components/Container/index.d.ts +0 -2
  299. package/dist/src/components/Divider/Divider.d.ts +0 -2
  300. package/dist/src/components/Divider/Divider.types.d.ts +0 -17
  301. package/dist/src/components/Divider/index.d.ts +0 -2
  302. package/dist/src/components/Expander/Expander.d.ts +0 -2
  303. package/dist/src/components/Expander/Expander.types.d.ts +0 -39
  304. package/dist/src/components/Expander/index.d.ts +0 -2
  305. package/dist/src/components/Field/Field.d.ts +0 -2
  306. package/dist/src/components/Field/Field.types.d.ts +0 -34
  307. package/dist/src/components/Field/FieldGroup/FieldGroup.d.ts +0 -2
  308. package/dist/src/components/Field/FieldGroup/FieldGroup.types.d.ts +0 -15
  309. package/dist/src/components/Field/components/FieldAppendToLabel.d.ts +0 -2
  310. package/dist/src/components/Field/components/FieldLegend.d.ts +0 -2
  311. package/dist/src/components/Field/helpers/getUniqueItemsByKey.d.ts +0 -1
  312. package/dist/src/components/Field/index.d.ts +0 -4
  313. package/dist/src/components/Filter/Filter.d.ts +0 -2
  314. package/dist/src/components/Filter/Filter.types.d.ts +0 -71
  315. package/dist/src/components/Filter/components/FilterLabel.d.ts +0 -2
  316. package/dist/src/components/Filter/components/FilterResetButton.d.ts +0 -2
  317. package/dist/src/components/Filter/components/FilterSearch.d.ts +0 -3
  318. package/dist/src/components/Filter/hooks/useFilterFlags.d.ts +0 -7
  319. package/dist/src/components/Filter/index.d.ts +0 -2
  320. package/dist/src/components/Form/Form.d.ts +0 -11
  321. package/dist/src/components/Form/Form.types.d.ts +0 -188
  322. package/dist/src/components/Form/FormContext.d.ts +0 -8
  323. package/dist/src/components/Form/FormField/FormField.d.ts +0 -7
  324. package/dist/src/components/Form/FormField/FormField.types.d.ts +0 -111
  325. package/dist/src/components/Form/FormField/FormFieldset.d.ts +0 -7
  326. package/dist/src/components/Form/FormField/helpers/getErrorTypeMessage.d.ts +0 -2
  327. package/dist/src/components/Form/FormField/helpers/transformCustomRulesToValidateRule.d.ts +0 -3
  328. package/dist/src/components/Form/HookForm/HookForm.d.ts +0 -5
  329. package/dist/src/components/Form/components/FormValidationSummary.d.ts +0 -5
  330. package/dist/src/components/Form/hooks/useNoDefaultValueInForms.d.ts +0 -8
  331. package/dist/src/components/Form/index.d.ts +0 -6
  332. package/dist/src/components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.d.ts +0 -10
  333. package/dist/src/components/Hide/Hide.d.ts +0 -2
  334. package/dist/src/components/Hide/Hide.types.d.ts +0 -24
  335. package/dist/src/components/Hide/helpers/composeHideClasses.d.ts +0 -4
  336. package/dist/src/components/Hide/index.d.ts +0 -2
  337. package/dist/src/components/Icon/Icon.d.ts +0 -2
  338. package/dist/src/components/Icon/Icon.types.d.ts +0 -99
  339. package/dist/src/components/Icon/index.d.ts +0 -2
  340. package/dist/src/components/Inline/Inline.d.ts +0 -2
  341. package/dist/src/components/Inline/Inline.types.d.ts +0 -41
  342. package/dist/src/components/Inline/index.d.ts +0 -2
  343. package/dist/src/components/Input/ClearButton/ClearButton.d.ts +0 -4
  344. package/dist/src/components/Input/Input.d.ts +0 -14
  345. package/dist/src/components/Input/Input.types.d.ts +0 -73
  346. package/dist/src/components/Input/InputBase/InputBase.d.ts +0 -9
  347. package/dist/src/components/Input/InputBase/InputBase.types.d.ts +0 -15
  348. package/dist/src/components/Input/index.d.ts +0 -3
  349. package/dist/src/components/InputCurrency/InputCurrency.d.ts +0 -4
  350. package/dist/src/components/InputCurrency/InputCurrency.types.d.ts +0 -23
  351. package/dist/src/components/InputCurrency/index.d.ts +0 -2
  352. package/dist/src/components/Label/Label.d.ts +0 -2
  353. package/dist/src/components/Label/Label.types.d.ts +0 -15
  354. package/dist/src/components/Label/LabelBase/LabelBase.d.ts +0 -2
  355. package/dist/src/components/Label/LabelBase/LabelBase.types.d.ts +0 -35
  356. package/dist/src/components/Label/index.d.ts +0 -2
  357. package/dist/src/components/Menu/Menu.d.ts +0 -2
  358. package/dist/src/components/Menu/Menu.types.d.ts +0 -130
  359. package/dist/src/components/Menu/MenuDivider/MenuDivider.d.ts +0 -2
  360. package/dist/src/components/Menu/MenuHeading/MenuHeading.d.ts +0 -2
  361. package/dist/src/components/Menu/MenuItem/MenuItem.d.ts +0 -2
  362. package/dist/src/components/Menu/MenuItem/MenuItem.types.d.ts +0 -122
  363. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemAria.d.ts +0 -11
  364. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemButtonProps.d.ts +0 -14
  365. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemComposite.d.ts +0 -20
  366. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemInteractions.d.ts +0 -11
  367. package/dist/src/components/Menu/MenuItem/hooks/useMenuItemRole.d.ts +0 -9
  368. package/dist/src/components/Menu/MenuProvider.d.ts +0 -3
  369. package/dist/src/components/Menu/MenuText/MenuText.d.ts +0 -2
  370. package/dist/src/components/Menu/helpers/mapMenuItems.d.ts +0 -6
  371. package/dist/src/components/Menu/hooks/useMenu.d.ts +0 -1
  372. package/dist/src/components/Menu/hooks/useMenuAria.d.ts +0 -11
  373. package/dist/src/components/Menu/hooks/useMenuComposite.d.ts +0 -18
  374. package/dist/src/components/Menu/hooks/useMenuRole.d.ts +0 -12
  375. package/dist/src/components/Menu/hooks/useMenuStyles.d.ts +0 -11
  376. package/dist/src/components/Menu/index.d.ts +0 -13
  377. package/dist/src/components/Modal/Modal.d.ts +0 -2
  378. package/dist/src/components/Modal/Modal.types.d.ts +0 -105
  379. package/dist/src/components/Modal/ModalProvider.d.ts +0 -3
  380. package/dist/src/components/Modal/hooks/useIDSProvidedModal.d.ts +0 -5
  381. package/dist/src/components/Modal/hooks/useModal.d.ts +0 -3
  382. package/dist/src/components/Modal/index.d.ts +0 -4
  383. package/dist/src/components/Navbar/Navbar.d.ts +0 -2
  384. package/dist/src/components/Navbar/Navbar.types.d.ts +0 -65
  385. package/dist/src/components/Navbar/components/HomeLinkContent.d.ts +0 -7
  386. package/dist/src/components/Navbar/components/LogoFromSrc.d.ts +0 -6
  387. package/dist/src/components/Navbar/components/NavbarLogo.d.ts +0 -8
  388. package/dist/src/components/Navbar/index.d.ts +0 -2
  389. package/dist/src/components/Panel/Panel.d.ts +0 -2
  390. package/dist/src/components/Panel/Panel.types.d.ts +0 -59
  391. package/dist/src/components/Panel/index.d.ts +0 -2
  392. package/dist/src/components/Placeholder/Placeholder.d.ts +0 -2
  393. package/dist/src/components/Placeholder/Placeholder.types.d.ts +0 -24
  394. package/dist/src/components/Placeholder/index.d.ts +0 -2
  395. package/dist/src/components/Popover/InputPopover/InputPopover.d.ts +0 -3
  396. package/dist/src/components/Popover/InputPopover/InputPopover.types.d.ts +0 -26
  397. package/dist/src/components/Popover/InputPopover/InputPopoverActivator.d.ts +0 -2
  398. package/dist/src/components/Popover/InputPopover/InputPopoverProvider.d.ts +0 -2
  399. package/dist/src/components/Popover/Popover.d.ts +0 -2
  400. package/dist/src/components/Popover/Popover.types.d.ts +0 -178
  401. package/dist/src/components/Popover/PopoverProvider.d.ts +0 -3
  402. package/dist/src/components/Popover/components/NestedPopoverActivator.d.ts +0 -5
  403. package/dist/src/components/Popover/components/PopoverActivator.d.ts +0 -2
  404. package/dist/src/components/Popover/components/PopoverContent.d.ts +0 -2
  405. package/dist/src/components/Popover/helpers/composeFloatingProps.d.ts +0 -15
  406. package/dist/src/components/Popover/helpers/composePopoverWidth.d.ts +0 -2
  407. package/dist/src/components/Popover/helpers/handlePopoverTabKey.d.ts +0 -8
  408. package/dist/src/components/Popover/helpers/hasFocus.d.ts +0 -1
  409. package/dist/src/components/Popover/helpers/waitUntilTrue.d.ts +0 -1
  410. package/dist/src/components/Popover/hooks/usePopover.d.ts +0 -1
  411. package/dist/src/components/Popover/hooks/usePopoverActivatorInteractions.d.ts +0 -15
  412. package/dist/src/components/Popover/hooks/usePopoverAria.d.ts +0 -6
  413. package/dist/src/components/Popover/hooks/usePopoverImperativeHandle.d.ts +0 -4
  414. package/dist/src/components/Popover/hooks/usePopoverItem.d.ts +0 -12
  415. package/dist/src/components/Popover/hooks/usePopoverNavigation.d.ts +0 -16
  416. package/dist/src/components/Popover/hooks/usePopoverState.d.ts +0 -10
  417. package/dist/src/components/Popover/index.d.ts +0 -5
  418. package/dist/src/components/Progress/Progress.d.ts +0 -2
  419. package/dist/src/components/Progress/Progress.types.d.ts +0 -23
  420. package/dist/src/components/Progress/index.d.ts +0 -1
  421. package/dist/src/components/Provider/Provider.d.ts +0 -20
  422. package/dist/src/components/Provider/index.d.ts +0 -1
  423. package/dist/src/components/Radio/Radio.d.ts +0 -2
  424. package/dist/src/components/Radio/Radio.types.d.ts +0 -45
  425. package/dist/src/components/Radio/helpers/mapRadioGroupOptions.d.ts +0 -5
  426. package/dist/src/components/Radio/index.d.ts +0 -2
  427. package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -2
  428. package/dist/src/components/RadioGroup/RadioGroup.types.d.ts +0 -70
  429. package/dist/src/components/RadioGroup/RadioGroupContext.d.ts +0 -2
  430. package/dist/src/components/RadioGroup/index.d.ts +0 -2
  431. package/dist/src/components/Readonly/Readonly.d.ts +0 -3
  432. package/dist/src/components/Readonly/Readonly.types.d.ts +0 -10
  433. package/dist/src/components/Readonly/index.d.ts +0 -2
  434. package/dist/src/components/RichSelect/RichSelect.d.ts +0 -2
  435. package/dist/src/components/RichSelect/RichSelect.types.d.ts +0 -193
  436. package/dist/src/components/RichSelect/SelectBody/SelectBody.d.ts +0 -2
  437. package/dist/src/components/RichSelect/SelectBody/SelectBody.types.d.ts +0 -12
  438. package/dist/src/components/RichSelect/SelectCreate/SelectCreate.d.ts +0 -2
  439. package/dist/src/components/RichSelect/SelectCreate/SelectCreate.types.d.ts +0 -29
  440. package/dist/src/components/RichSelect/SelectHeading/SelectHeading.d.ts +0 -2
  441. package/dist/src/components/RichSelect/SelectHeading/SelectHeading.types.d.ts +0 -17
  442. package/dist/src/components/RichSelect/SelectLabel/SelectLabel.d.ts +0 -2
  443. package/dist/src/components/RichSelect/SelectLabel/SelectLabel.types.d.ts +0 -3
  444. package/dist/src/components/RichSelect/SelectMenu/SelectMenu.d.ts +0 -2
  445. package/dist/src/components/RichSelect/SelectMenu/SelectMenu.types.d.ts +0 -49
  446. package/dist/src/components/RichSelect/SelectMenu/SelectMenuItem.d.ts +0 -2
  447. package/dist/src/components/RichSelect/SelectSearch/SelectSearch.d.ts +0 -2
  448. package/dist/src/components/RichSelect/SelectSearch/SelectSearch.types.d.ts +0 -2
  449. package/dist/src/components/RichSelect/SelectSearchInput/SelectSearchInput.d.ts +0 -3
  450. package/dist/src/components/RichSelect/SelectSearchInput/SelectSearchInput.types.d.ts +0 -18
  451. package/dist/src/components/RichSelect/SelectTags/SelectTags.d.ts +0 -2
  452. package/dist/src/components/RichSelect/SelectTags/SelectTags.types.d.ts +0 -27
  453. package/dist/src/components/RichSelect/components/SelectActivator.d.ts +0 -7
  454. package/dist/src/components/RichSelect/components/SelectHiddenInput.d.ts +0 -4
  455. package/dist/src/components/RichSelect/components/SelectOptions.d.ts +0 -8
  456. package/dist/src/components/RichSelect/hooks/useRichSelectState.d.ts +0 -17
  457. package/dist/src/components/RichSelect/index.d.ts +0 -19
  458. package/dist/src/components/Row/Row.d.ts +0 -2
  459. package/dist/src/components/Row/Row.types.d.ts +0 -42
  460. package/dist/src/components/Row/index.d.ts +0 -2
  461. package/dist/src/components/Select/Select.d.ts +0 -2
  462. package/dist/src/components/Select/Select.types.d.ts +0 -89
  463. package/dist/src/components/Select/SelectOption/SelectOption.d.ts +0 -2
  464. package/dist/src/components/Select/components/SelectControl.d.ts +0 -2
  465. package/dist/src/components/Select/components/SelectReadonly.d.ts +0 -2
  466. package/dist/src/components/Select/helpers/mapSelectOptions.d.ts +0 -3
  467. package/dist/src/components/Select/helpers/nodesToSelectOptions.d.ts +0 -11
  468. package/dist/src/components/Select/index.d.ts +0 -4
  469. package/dist/src/components/Skeleton/Skeleton.d.ts +0 -2
  470. package/dist/src/components/Skeleton/Skeleton.types.d.ts +0 -36
  471. package/dist/src/components/Skeleton/index.d.ts +0 -2
  472. package/dist/src/components/SkipLink/SkipLink.d.ts +0 -2
  473. package/dist/src/components/SkipLink/SkipLink.types.d.ts +0 -22
  474. package/dist/src/components/SkipLink/index.d.ts +0 -2
  475. package/dist/src/components/Slideout/Slideout.d.ts +0 -2
  476. package/dist/src/components/Slideout/Slideout.types.d.ts +0 -150
  477. package/dist/src/components/Slideout/SlideoutProvider.d.ts +0 -3
  478. package/dist/src/components/Slideout/components/SlideoutInner.d.ts +0 -2
  479. package/dist/src/components/Slideout/hooks/useIDSProvidedSlideout.d.ts +0 -5
  480. package/dist/src/components/Slideout/hooks/useSlideout.d.ts +0 -3
  481. package/dist/src/components/Slideout/index.d.ts +0 -4
  482. package/dist/src/components/Slider/Slider.d.ts +0 -2
  483. package/dist/src/components/Slider/Slider.types.d.ts +0 -94
  484. package/dist/src/components/Slider/components/SliderTicks.d.ts +0 -2
  485. package/dist/src/components/Slider/index.d.ts +0 -2
  486. package/dist/src/components/Spinner/Spinner.d.ts +0 -2
  487. package/dist/src/components/Spinner/Spinner.types.d.ts +0 -13
  488. package/dist/src/components/Spinner/index.d.ts +0 -2
  489. package/dist/src/components/Stack/Stack.d.ts +0 -2
  490. package/dist/src/components/Stack/Stack.types.d.ts +0 -22
  491. package/dist/src/components/Stack/index.d.ts +0 -2
  492. package/dist/src/components/TabSet/Tab/Tab.d.ts +0 -2
  493. package/dist/src/components/TabSet/Tab/Tab.types.d.ts +0 -21
  494. package/dist/src/components/TabSet/TabSet.d.ts +0 -2
  495. package/dist/src/components/TabSet/TabSet.types.d.ts +0 -84
  496. package/dist/src/components/TabSet/TabSetProvider.d.ts +0 -3
  497. package/dist/src/components/TabSet/components/TabSetItem.d.ts +0 -2
  498. package/dist/src/components/TabSet/helpers/mapTabs.d.ts +0 -3
  499. package/dist/src/components/TabSet/hooks/useTabSetItems.d.ts +0 -1
  500. package/dist/src/components/TabSet/index.d.ts +0 -5
  501. package/dist/src/components/Table/Table.d.ts +0 -6
  502. package/dist/src/components/Table/Table.types.d.ts +0 -199
  503. package/dist/src/components/Table/TableBody/TableBody.d.ts +0 -2
  504. package/dist/src/components/Table/TableBody/TableBody.types.d.ts +0 -29
  505. package/dist/src/components/Table/TableContext.d.ts +0 -2
  506. package/dist/src/components/Table/TableFormattedValue/TableFormattedValue.d.ts +0 -2
  507. package/dist/src/components/Table/TableFormattedValue/TableFormattedValue.types.d.ts +0 -30
  508. package/dist/src/components/Table/TableProvider.d.ts +0 -2
  509. package/dist/src/components/Table/components/TableBodyCell.d.ts +0 -2
  510. package/dist/src/components/Table/components/TableEmpty.d.ts +0 -2
  511. package/dist/src/components/Table/components/TableHeader.d.ts +0 -2
  512. package/dist/src/components/Table/components/TableHeaderCell.d.ts +0 -2
  513. package/dist/src/components/Table/components/TableRows.d.ts +0 -2
  514. package/dist/src/components/Table/components/TableSortButton.d.ts +0 -2
  515. package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +0 -2
  516. package/dist/src/components/Table/helpers/composeIDSTableInitialSorting.d.ts +0 -3
  517. package/dist/src/components/Table/helpers/findColumnByKey.d.ts +0 -2
  518. package/dist/src/components/Table/helpers/getFormatFromValue.d.ts +0 -2
  519. package/dist/src/components/Table/helpers/hasColumns.d.ts +0 -2
  520. package/dist/src/components/Table/hooks/useIDSTableColumnSort.d.ts +0 -2
  521. package/dist/src/components/Table/hooks/useIDSTableColumnStyles.d.ts +0 -2
  522. package/dist/src/components/Table/hooks/useTable.d.ts +0 -1
  523. package/dist/src/components/Table/index.d.ts +0 -6
  524. package/dist/src/components/Tag/Tag.d.ts +0 -2
  525. package/dist/src/components/Tag/Tag.types.d.ts +0 -25
  526. package/dist/src/components/Tag/TagInput/TagInput.d.ts +0 -3
  527. package/dist/src/components/Tag/TagInput/TagInput.types.d.ts +0 -21
  528. package/dist/src/components/Tag/components/TagListInput/TagListInput.d.ts +0 -3
  529. package/dist/src/components/Tag/components/TagListInput/TagListInput.types.d.ts +0 -45
  530. package/dist/src/components/Tag/index.d.ts +0 -4
  531. package/dist/src/components/Text/Text.d.ts +0 -2
  532. package/dist/src/components/Text/Text.types.d.ts +0 -45
  533. package/dist/src/components/Text/index.d.ts +0 -2
  534. package/dist/src/components/Toaster/Toast/Toast.d.ts +0 -3
  535. package/dist/src/components/Toaster/Toast/Toast.types.d.ts +0 -95
  536. package/dist/src/components/Toaster/Toast/ToastAnimated.d.ts +0 -2
  537. package/dist/src/components/Toaster/Toast/ToastIcon.d.ts +0 -6
  538. package/dist/src/components/Toaster/Toaster.d.ts +0 -2
  539. package/dist/src/components/Toaster/Toaster.types.d.ts +0 -37
  540. package/dist/src/components/Toaster/ToasterProvider.d.ts +0 -14
  541. package/dist/src/components/Toaster/hooks/useToaster.d.ts +0 -9
  542. package/dist/src/components/Toaster/index.d.ts +0 -5
  543. package/dist/src/components/Toggle/Toggle.d.ts +0 -2
  544. package/dist/src/components/Toggle/Toggle.types.d.ts +0 -45
  545. package/dist/src/components/Toggle/index.d.ts +0 -2
  546. package/dist/src/components/Tooltip/Tooltip.d.ts +0 -2
  547. package/dist/src/components/Tooltip/Tooltip.types.d.ts +0 -33
  548. package/dist/src/components/Tooltip/index.d.ts +0 -2
  549. package/dist/src/components/ValidationMessage/ValidationBase/ValidationBase.d.ts +0 -2
  550. package/dist/src/components/ValidationMessage/ValidationBase/ValidationBase.types.d.ts +0 -27
  551. package/dist/src/components/ValidationMessage/ValidationLink/ValidationLink.d.ts +0 -2
  552. package/dist/src/components/ValidationMessage/ValidationLink/ValidationLink.types.d.ts +0 -12
  553. package/dist/src/components/ValidationMessage/ValidationMessage.d.ts +0 -2
  554. package/dist/src/components/ValidationMessage/ValidationMessage.types.d.ts +0 -13
  555. package/dist/src/components/ValidationMessage/ValidationSummary/ValidationSummary.d.ts +0 -2
  556. package/dist/src/components/ValidationMessage/ValidationSummary/ValidationSummary.types.d.ts +0 -27
  557. package/dist/src/components/ValidationMessage/index.d.ts +0 -6
  558. package/dist/src/constants.d.ts +0 -123
  559. package/dist/src/enums.d.ts +0 -215
  560. package/dist/src/helpers/dom/closestCrossShadow.d.ts +0 -9
  561. package/dist/src/helpers/dom/domUtils.d.ts +0 -5
  562. package/dist/src/helpers/dom/focusableElements.d.ts +0 -1
  563. package/dist/src/helpers/dom/getActiveElement.d.ts +0 -1
  564. package/dist/src/helpers/dom/hasShadowDom.d.ts +0 -1
  565. package/dist/src/helpers/form/getFormControlValueAsString.d.ts +0 -2
  566. package/dist/src/helpers/form/getFormControlValueAsStringIfDefined.d.ts +0 -2
  567. package/dist/src/helpers/form/getValueAsEvent.d.ts +0 -15
  568. package/dist/src/helpers/form/isValidFormInputElement.d.ts +0 -1
  569. package/dist/src/helpers/formatting/capitalizeFirstLetter.d.ts +0 -1
  570. package/dist/src/helpers/formatting/formatCurrency.d.ts +0 -25
  571. package/dist/src/helpers/formatting/formatDate.d.ts +0 -5
  572. package/dist/src/helpers/formatting/formatDateTime.d.ts +0 -3
  573. package/dist/src/helpers/formatting/formatObjectKey.d.ts +0 -1
  574. package/dist/src/helpers/formatting/formatPercentage.d.ts +0 -1
  575. package/dist/src/helpers/formatting/stringReplacer.d.ts +0 -2
  576. package/dist/src/helpers/formatting/toArray.d.ts +0 -1
  577. package/dist/src/helpers/formatting/toCSSLengthValue.d.ts +0 -1
  578. package/dist/src/helpers/label-value/composeLabelValueDescriptor.d.ts +0 -9
  579. package/dist/src/helpers/label-value/getQueryRangeExclusive.d.ts +0 -8
  580. package/dist/src/helpers/label-value/getValueFromLabelValues.d.ts +0 -2
  581. package/dist/src/helpers/label-value/highlightQueryInLabel.d.ts +0 -2
  582. package/dist/src/helpers/label-value/highlightQueryInLabelValue.d.ts +0 -3
  583. package/dist/src/helpers/label-value/searchLabelValues.d.ts +0 -2
  584. package/dist/src/helpers/responsive/getResponsiveLayoutModifiers.d.ts +0 -2
  585. package/dist/src/helpers/responsive/getResponsivePaddingClasses.d.ts +0 -2
  586. package/dist/src/helpers/transition/getTransitionDuration.d.ts +0 -1
  587. package/dist/src/helpers/transition/timeStringToNumber.d.ts +0 -1
  588. package/dist/src/helpers/utility/generateScopedName.d.ts +0 -8
  589. package/dist/src/helpers/utility/idsLogger.d.ts +0 -3
  590. package/dist/src/helpers/utility/propagateTestid.d.ts +0 -1
  591. package/dist/src/hooks/index.d.ts +0 -4
  592. package/dist/src/hooks/useAriaRelationship.d.ts +0 -11
  593. package/dist/src/hooks/useBreakpoint.d.ts +0 -11
  594. package/dist/src/hooks/useControlledState.d.ts +0 -22
  595. package/dist/src/hooks/useIdIfNeeded.d.ts +0 -2
  596. package/dist/src/hooks/useResponsiveProps.d.ts +0 -19
  597. package/dist/src/interfaces.d.ts +0 -68
  598. package/dist/src/main.d.ts +0 -58
  599. package/dist/src/patterns/Loading/Loading.d.ts +0 -47
  600. package/dist/src/patterns/Loading/LoadingSuspense.d.ts +0 -73
  601. package/dist/src/patterns/Loading/components/ComponentLoading.d.ts +0 -53
  602. package/dist/src/patterns/Loading/components/DefaultLoading.d.ts +0 -27
  603. package/dist/src/patterns/Loading/components/LongLoading.d.ts +0 -60
  604. package/dist/src/patterns/Loading/components/PageLoading.d.ts +0 -41
  605. package/dist/src/patterns/Loading/components/StartUpLoading.d.ts +0 -67
  606. package/dist/src/patterns/Loading/components/ValidateLoading.d.ts +0 -38
  607. package/dist/src/patterns/Loading/hooks/useEstimatedProgressValue.d.ts +0 -11
  608. package/dist/src/patterns/Loading/hooks/useShouldRenderLoading.d.ts +0 -10
  609. package/dist/src/patterns/Loading/hooks/useShowIndicator.d.ts +0 -9
  610. package/dist/src/patterns/Loading/hooks/useSuspenseResource.d.ts +0 -17
  611. package/dist/src/patterns/Loading/index.d.ts +0 -2
  612. package/dist/src/types.d.ts +0 -21
  613. package/dist/useIDSButtonGroupItem-DmWrryOR.js +0 -30
  614. package/dist/vite.config.d.ts +0 -2
  615. package/dist/vitest.config.d.ts +0 -2
  616. package/dist/vitest.setup.d.ts +0 -0
  617. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,47 +0,0 @@
1
- import { StartUpLoadingProps } from './components/StartUpLoading';
2
- import { DefaultLoadingProps } from './components/DefaultLoading';
3
- import { ValidateLoadingProps } from './components/ValidateLoading';
4
- import { ComponentLoadingProps } from './components/ComponentLoading';
5
- import { PageLoadingProps } from './components/PageLoading';
6
- import { LongLoadingProps } from './components/LongLoading';
7
- export type IressLoadingProps = StartUpLoadingProps | ValidateLoadingProps | PageLoadingProps | ComponentLoadingProps | LongLoadingProps | DefaultLoadingProps;
8
- /**
9
- * A pattern component that has in-built loading states for different contexts, designed to provide a consistent user experience across Iress applications.
10
- *
11
- * The `pattern` prop is used to determine the type of loading state to display. The following patterns are available:
12
- *
13
- * - `component`: Loading pattern for a component that is expected to take some time to load, but has content around it that can be loaded before it (hence not part of page pattern). It also supports updating the state of the component via a slightly different UI. Examples:
14
- * - Charts that can be updated in real-time
15
- * - Tables that load many records and may update in real-time
16
- * - `long`: Loading pattern for a component that is expected to take longer than 10 seconds to load. It displays a checklist of items that are being loaded. Examples:
17
- * - Calling multiple slow APIs to load data
18
- * - Loading results from AI
19
- * - Processing a large amount of data as a queue (eg. bulk uploading or large media file uploads)
20
- * - `page`: Loading pattern for a page, with out-of-the-box skeleton templates. Examples:
21
- * - Dashboard page with multiple filters/panels
22
- * - Search page with multiple filters and search results
23
- * - Detail page for a record
24
- * - Form page
25
- * - Article page
26
- * - `start-up`: Loading pattern when the application is first loaded. Examples:
27
- * - Loading an application for the first time
28
- * - Switching from a different application to a new application
29
- * - Switching from a client's website to an Iress application
30
- * - Switching themes
31
- * - `validate`: Loading pattern when validating user input. Examples:
32
- * - Submitting a form
33
- * - Saving a record
34
- *
35
- * If no `pattern` is provided, it will use the default experience, which only displays a message after a certain amount of time to help stop drop-offs due to uncommon loading times.
36
- */
37
- export declare const IressLoading: {
38
- ({ pattern, ...restProps }: IressLoadingProps): import("react/jsx-runtime").JSX.Element;
39
- /**
40
- * This hook is used to smooth the loading experience by delaying the loading indicator being removed after the loading of an element finishes.
41
- *
42
- * @param isLoaded - A boolean value that determines if the component waiting to be loaded has finished loading.
43
- * @param delay - Once a component has loaded, how long should the loading indicator be displayed for.
44
- * @returns A boolean value that determines whether the `IressLoading` component is safe to be removed.
45
- */
46
- shouldRender: (isLoaded: boolean, delay?: number, startFrom?: number, avoidDelayTimeout?: number) => boolean;
47
- };
@@ -1,73 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StartUpLoadingProps } from './components/StartUpLoading';
3
- import { ValidateLoadingProps } from './components/ValidateLoading';
4
- import { PageLoadingProps } from './components/PageLoading';
5
- import { ComponentLoadingProps } from './components/ComponentLoading';
6
- import { LongLoadingProps } from './components/LongLoading';
7
- import { DefaultLoadingProps } from './components/DefaultLoading';
8
- export type IressLoadingSuspenseProps = (Omit<StartUpLoadingProps, 'loaded'> | ValidateLoadingProps | Omit<PageLoadingProps, 'loaded'> | Omit<ComponentLoadingProps, 'loaded'> | Omit<LongLoadingProps, 'loaded'> | DefaultLoadingProps) & {
9
- /**
10
- * The content that will be rendered inside the Suspense boundary.
11
- * Typically includes lazy-loaded components and components that use the `use` or `IressLoadingSuspense.use` hook.
12
- */
13
- children?: ReactNode;
14
- /**
15
- * Duration (in milliseconds) to delay unmounting the fallback
16
- * to allow the fade-out animation to complete.
17
- * By default it uses the default delay of the pattern.
18
- */
19
- delay?: number;
20
- /**
21
- * By default it uses the default delay of the pattern.
22
- */
23
- onLoaded?: () => void;
24
- /**
25
- * Duration (in milliseconds) before showing the loading pattern.
26
- * Default is 500ms, meaning a user will not even see the loading indicator if the page loads before this time.
27
- */
28
- startFrom?: number;
29
- };
30
- /**
31
- * A pattern component that has in-built loading states for different contexts, designed to provide a consistent user experience across Iress applications.
32
- *
33
- * The `pattern` prop is used to determine the type of loading state to display. The following patterns are available:
34
- *
35
- * - `component`: Loading pattern for a component that is expected to take some time to load, but has content around it that can be loaded before it (hence not part of page pattern). It also supports updating the state of the component via a slightly different UI. Examples:
36
- * - Charts that can be updated in real-time
37
- * - Tables that load many records and may update in real-time
38
- * - `long`: Loading pattern for a component that is expected to take longer than 10 seconds to load. It displays a checklist of items that are being loaded. Examples:
39
- * - Calling multiple slow APIs to load data
40
- * - Loading results from AI
41
- * - Processing a large amount of data as a queue (eg. bulk uploading or large media file uploads)
42
- * - `page`: Loading pattern for a page, with out-of-the-box skeleton templates. Examples:
43
- * - Dashboard page with multiple filters/panels
44
- * - Search page with multiple filters and search results
45
- * - Detail page for a record
46
- * - Form page
47
- * - Article page
48
- * - `start-up`: Loading pattern when the application is first loaded. Examples:
49
- * - Loading an application for the first time
50
- * - Switching from a different application to a new application
51
- * - Switching from a client's website to an Iress application
52
- * - Switching themes
53
- * - `validate`: Loading pattern when validating user input. Examples:
54
- * - Submitting a form
55
- * - Saving a record
56
- *
57
- * If no `pattern` is provided, it will use the default experience, which only displays a message after a certain amount of time to help stop drop-offs due to uncommon loading times.
58
- */
59
- export declare const IressLoadingSuspense: {
60
- ({ children, delay: delayProp, onLoaded, pattern, startFrom: startFromProp, ...restProps }: IressLoadingSuspenseProps): import("react/jsx-runtime").JSX.Element;
61
- /**
62
- * A polyfill for the `use` hook in React 19. It allows you to suspend a component until the resource (Promise) is resolved.
63
- * **Note:** For those using React 19, import the `use` hook from React instead of using this polyfill.
64
- * @see https://react.dev/reference/react/use
65
- */
66
- use: <T>(fetcher: () => Promise<T>) => T;
67
- /**
68
- * Uncache the resource (Promise) that is being used in the `use` hook.
69
- * **Note:** For those using React 19, import the `use` hook from React instead of using this method.
70
- * @see https://react.dev/reference/react/use
71
- */
72
- uncache: (fetcher: () => Promise<unknown>, timeout?: number) => void;
73
- };
@@ -1,53 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IressHTMLAttributes } from '../../../interfaces';
3
- declare const templates: {
4
- chart: import("react/jsx-runtime").JSX.Element;
5
- };
6
- export interface ComponentLoadingProps extends IressHTMLAttributes {
7
- /**
8
- * The chart that is being loaded for the first time or being refreshed/updated.
9
- */
10
- children: ReactNode;
11
- /**
12
- * If set to `true`, will hide the skeleton and display the chart.
13
- */
14
- loaded?: boolean;
15
- /**
16
- * Use `pattern="component"` for the following use cases:
17
- * - Component that is expected to be slow to load, such as a chart, table or large graphic.
18
- * - Component that can be refreshed/updated with new data.
19
- */
20
- pattern?: 'component';
21
- /**
22
- * Only screen readers will see this message, it is changed to the `message` after the delay.
23
- * @default 'Loading...'
24
- */
25
- screenReaderText?: ReactNode;
26
- /**
27
- * Which template to use as the skeleton, or you can use a ReactNode to customise the skeleton completely.
28
- * @default 'chart'
29
- */
30
- template?: keyof typeof templates | Exclude<ReactNode, string | number | boolean | null>;
31
- /**
32
- * Set the timeouts for showing the skeleton and update messages.
33
- */
34
- timeout?: {
35
- /**
36
- * The time in milliseconds before the skeleton is displayed.
37
- * @default 0
38
- */
39
- skeleton?: number;
40
- /**
41
- * The time in milliseconds before the update message is displayed.
42
- * @default 1000
43
- */
44
- update?: number;
45
- };
46
- /**
47
- * Set the chart to be updated. If a `ReactNode` is provided, it will be displayed as the message.
48
- * If set to `true`, will display the default message `Updating...`.
49
- */
50
- update?: ReactNode;
51
- }
52
- export declare const ComponentLoading: ({ children, className, loaded, screenReaderText, template, timeout, update, ...restProps }: ComponentLoadingProps) => import("react/jsx-runtime").JSX.Element;
53
- export {};
@@ -1,27 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IressHTMLAttributes } from '../../../interfaces';
3
- export interface DefaultLoadingProps extends IressHTMLAttributes {
4
- /**
5
- * Message to display when the loading time is longer than expected.
6
- * @default 'This is taking longer than expected...'
7
- */
8
- children?: ReactNode;
9
- /**
10
- * Only screen readers will see this message, it is changed to the `children` message after the delay.
11
- * @default 'Loading...'
12
- */
13
- screenReaderText?: ReactNode;
14
- /**
15
- * Do not set the `pattern` prop when no other pattern can be applied. It will only show the loading message after a delay, and is intended for use when loading is not expected to take a long time.
16
- * Example use cases:
17
- * - Navigating between different routes
18
- * - Calling an API within the page that does not require a loading state
19
- */
20
- pattern?: 'default';
21
- /**
22
- * Delay in milliseconds before the message is displayed.
23
- * @default 3000
24
- */
25
- timeout?: number;
26
- }
27
- export declare const DefaultLoading: ({ children, className, screenReaderText, timeout, ...restProps }: DefaultLoadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,60 +0,0 @@
1
- import { IressProgressProps } from '../../../components/Progress/Progress.types';
2
- import { ReactNode } from 'react';
3
- import { IressHTMLAttributes } from '../../../interfaces';
4
- export interface LongLoadingProps extends IressHTMLAttributes {
5
- /**
6
- * The children are displayed while loading. This will be displayed above the progress bar and checklist.
7
- */
8
- children?: ReactNode;
9
- /**
10
- * An error to display if the loading fails. This will override the `messageList` and show an error message instead.
11
- */
12
- error?: ReactNode;
13
- /**
14
- * Estimated time in milliseconds for the loading to finish.
15
- * @default 10000
16
- */
17
- estimatedFinishTime?: number;
18
- /**
19
- * If set to `true`, will start hiding the loading indicator. It is recommended to use this prop if you are using the `IressLoading.shouldRender` hook to achieve a smooth loading experience.
20
- */
21
- loaded?: boolean;
22
- /**
23
- * A checklist to display while loading. The key is the time when you want the item to be checked.
24
- */
25
- messageList: Record<number, ReactNode>;
26
- /**
27
- * The long loading pattern will display a checklist of items that are being loaded.
28
- *
29
- * Use `pattern="long"` for the following use cases:
30
- * - Calling multiple slow APIs to load data
31
- * - Loading results from AI
32
- * - Processing a large amount of data as a queue (eg. bulk uploading or large media file uploads)
33
- */
34
- pattern?: 'long';
35
- /**
36
- * If provided, will use this to set the `value` of the progress bar. If not provided, will use the `estimatedFinishTime` to calculate the progress.
37
- */
38
- progress?: IressProgressProps['value'];
39
- /**
40
- * This is a render prop that allows you to override the default progress rendering.
41
- * This is useful if you want to use a different progress component or if you want to add additional props to the progress bar.
42
- */
43
- renderProgress?: (props: Pick<IressProgressProps, 'className' | 'min' | 'max' | 'sectionTitle' | 'value'>) => ReactNode;
44
- /**
45
- * Set the timeouts for showing the progress bar and message.
46
- */
47
- timeout?: {
48
- /**
49
- * The time in milliseconds before this component begins to fade out (if `loaded` is set to `true`).
50
- * @default 1300
51
- */
52
- loaded?: number;
53
- /**
54
- * The time in milliseconds before the checklist is displayed.
55
- * @default 500
56
- */
57
- message?: number;
58
- };
59
- }
60
- export declare const LongLoading: ({ children, className, error, estimatedFinishTime, loaded, messageList, progress, renderProgress, timeout, ...restProps }: LongLoadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,41 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IressHTMLAttributes } from '../../../interfaces';
3
- declare const templates: {
4
- page: () => import("react/jsx-runtime").JSX.Element;
5
- form: () => import("react/jsx-runtime").JSX.Element;
6
- dashboard: () => import("react/jsx-runtime").JSX.Element;
7
- };
8
- export interface PageLoadingProps extends Omit<IressHTMLAttributes, 'children'> {
9
- /**
10
- * If provided, will switch the skeleton to this template. Use when you have critical content that can be displayed while loading to allow the user to see some content while the rest is loading.
11
- */
12
- critical?: ReactNode;
13
- /**
14
- * If set to `true`, will start hiding the loading indicator. It is recommended to use this prop if you are using the `IressLoading.shouldRender` hook to achieve a smooth loading experience.
15
- */
16
- loaded?: boolean;
17
- /**
18
- * Use `pattern="page"` for the following use cases:
19
- * - Detail page for a record
20
- * - Form page
21
- * - Article page
22
- */
23
- pattern?: 'page';
24
- /**
25
- * Only screen readers will see this message.
26
- * @default 'Loading...'
27
- */
28
- screenReaderText?: ReactNode;
29
- /**
30
- * Which template to use as the skeleton, or you can use a ReactNode to customise the skeleton completely.
31
- * @default 'page'
32
- */
33
- template?: keyof typeof templates | Exclude<ReactNode, string | number | boolean | null>;
34
- /**
35
- * Delay in milliseconds before the skeleton is displayed.
36
- * @default 500
37
- */
38
- timeout?: number;
39
- }
40
- export declare const PageLoading: ({ className, critical, loaded, screenReaderText, template, timeout, ...restProps }: PageLoadingProps) => import("react/jsx-runtime").JSX.Element;
41
- export {};
@@ -1,67 +0,0 @@
1
- import { IressProgressProps } from '../../../components/Progress/Progress.types';
2
- import { ReactNode } from 'react';
3
- import { IressHTMLAttributes } from '../../../interfaces';
4
- export interface StartUpLoadingProps extends IressHTMLAttributes {
5
- /**
6
- * Message to display when the loading time is longer than expected.
7
- * @default 'One moment please...'
8
- */
9
- children?: ReactNode;
10
- /**
11
- * Estimated time in milliseconds for the loading to finish.
12
- * @default 3000
13
- */
14
- estimatedFinishTime?: number;
15
- /**
16
- * If set to `true`, will start hiding the loading indicator. It is recommended to use this prop if you are using the `IressLoading.shouldRender` hook to achieve a smooth loading experience.
17
- */
18
- loaded?: boolean;
19
- /**
20
- * A message list to display while loading. The key is the time when you want the message to change to this message.
21
- * If using a message list, the `children` will not be displayed.
22
- */
23
- messageList?: Record<number, ReactNode>;
24
- /**
25
- * Use `pattern="start-up"` for the following use cases:
26
- * - Loading an application for the first time
27
- * - Switching from a different application to a new application
28
- * - Switching from a client's website to an Iress application
29
- * - Switching themes
30
- */
31
- pattern?: 'start-up';
32
- /**
33
- * If provided, will use this to set the `value` of the progress bar. If not provided, will use the `estimatedFinishTime` to calculate the progress.
34
- */
35
- progress?: IressProgressProps['value'];
36
- /**
37
- * This is a render prop that allows you to override the default progress rendering.
38
- * This is useful if you want to use a different progress component or if you want to add additional props to the progress bar.
39
- */
40
- renderProgress?: (props: Pick<IressProgressProps, 'className' | 'min' | 'max' | 'sectionTitle' | 'value'>) => ReactNode;
41
- /**
42
- * Only screen readers will see this message, it is changed to the `children` message after the delay.
43
- * @default 'Loading...'
44
- */
45
- screenReaderText?: ReactNode;
46
- /**
47
- * Set the timeouts for showing the progress bar and message.
48
- */
49
- timeout?: {
50
- /**
51
- * The time in milliseconds before this component begins to fade out (if `loaded` is set to `true`).
52
- * @default 200
53
- */
54
- loaded?: number;
55
- /**
56
- * The time in milliseconds before the message message is displayed.
57
- * @default 2500
58
- */
59
- message?: number;
60
- /**
61
- * The time in milliseconds before the progress bar is displayed.
62
- * @default 500
63
- */
64
- progress?: number;
65
- };
66
- }
67
- export declare const StartUpLoading: ({ className, children, "data-testid": dataTestId, estimatedFinishTime, loaded, messageList, progress, renderProgress, screenReaderText, timeout, ...restProps }: StartUpLoadingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,38 +0,0 @@
1
- import { IressButtonProps } from '../../../components/Button';
2
- import { ReactNode } from 'react';
3
- import { IressHTMLAttributes } from '../../../interfaces';
4
- export interface ValidateLoadingProps extends IressHTMLAttributes {
5
- /**
6
- * When true, button is in loading state. If provided a string, will be used as the loading text for screen readers.
7
- */
8
- loading?: IressButtonProps['loading'];
9
- /**
10
- * Set the message to be displayed when the button is in the loading state.
11
- * @default 'This is taking longer than expected...'
12
- */
13
- message?: ReactNode;
14
- /**
15
- * Use `pattern="validate"` for the following use cases:
16
- * - Submitting a form
17
- * - Saving a record
18
- */
19
- pattern?: 'validate';
20
- /**
21
- * This sets where the loading message will be displayed.
22
- * - `bottom` - The loading message will be displayed below the button. It will be absolute positioned.
23
- * - `top` - The loading message will be displayed above the button. It will be absolute positioned.
24
- * - `right` - The loading message will be displayed to the right of the button. It will be inline positioned.
25
- */
26
- position?: 'bottom' | 'top' | 'right';
27
- /**
28
- * This is a render prop that allows you to override the default button rendering.
29
- * This is useful if you want to use a different button component or if you want to add additional props to the button.
30
- */
31
- renderButton?: (props: Pick<IressButtonProps, 'className' | 'loading'>) => ReactNode;
32
- /**
33
- * The time in milliseconds before the loading message is displayed.
34
- * @default 2500
35
- */
36
- timeout?: number;
37
- }
38
- export declare const ValidateLoading: ({ children, className, loading, message, pattern, position, renderButton, timeout, ...restProps }: ValidateLoadingProps) => string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
@@ -1,11 +0,0 @@
1
- import { IressProgressProps } from '../../../components/Progress/Progress.types';
2
- /**
3
- * This hook is used to calculate the estimated progress of a loading component, allowing you to show an animated progress bar even when real progress is not available.
4
- *
5
- * @param estimatedFinishTime - The estimated time in milliseconds for the loading to finish.
6
- * @param isLoaded - A boolean value that determines if the component waiting to be loaded has finished loading.
7
- * @param progress - If provided, will use this as the progress value. If not provided, will use the `estimatedFinishTime` to calculate the progress.
8
- * @param latestMessageTimecode - The latest timecode of the message list. It helps us determine if still in progress, particularly when its higher than the estimated finish time.
9
- * @returns A number value that represents the current progress of the loading component.
10
- */
11
- export declare const useEstimatedProgressValue: (estimatedFinishTime: number, isLoaded?: boolean, progress?: IressProgressProps["value"], latestMessageTimecode?: number) => number;
@@ -1,10 +0,0 @@
1
- /**
2
- * This hook is used to smooth the loading experience by delaying the loading indicator being removed after the loading of an element finishes, as well as avoiding the indicator completely if the loading is too quick.
3
- *
4
- * @param isLoaded - A boolean value that determines if the component waiting to be loaded has finished loading.
5
- * @param delay - Once a component has loaded, how long should the loading indicator be displayed for. This is useful to allow the loading indicator to animate out.
6
- * @param startFrom - If a component is still loading after this time in milliseconds, you should show the loading message. Default is 500ms, meaning a user will not even see the loading indicator if the page loads before this time.
7
- * @param avoidDelayTimeout - If the component has a start up animation, this is the time in milliseconds that we will avoid the delay timeout for. This is useful to speed up the loading indicator removal if the component loaded before the first half of an animation finishes.
8
- * @returns A boolean value that determines whether the `IressLoading` component should be rendered.
9
- */
10
- export declare const useShouldRenderLoading: (isLoaded: boolean, delay?: number, startFrom?: number, avoidDelayTimeout?: number) => boolean;
@@ -1,9 +0,0 @@
1
- /**
2
- * This hook is used to delay the indicator being shown and removed during the loading process.
3
- *
4
- * @param isLoaded - A boolean value that determines if the component waiting to be loaded has finished loading.
5
- * @param showDelay - Once a component has started loading, how long long we should wait before showing the loading indicator. This is useful to avoid flickering if the component loads quickly.
6
- * @param hideDelay - Once a component has loaded, how long we should wait before removing the loading indicator. This is useful to allow the loading indicator to animate out.
7
- * @returns A boolean value that determines whether the loading indicator should be shown.
8
- */
9
- export declare const useShowIndicator: (isLoaded?: boolean, showDelay?: number, hideDelay?: number) => boolean;
@@ -1,17 +0,0 @@
1
- /**
2
- * This is a polyfill for the `use` hook in React 19, allowing you to suspend a component until the resource (Promise) is resolved.
3
- * **Note:** For those using React 19, import the `use` hook from React instead of using this polyfill.
4
- * @param promise The promise to suspend on. Once it resolves, the component will re-render with the resolved value.
5
- * @returns {T | Error | Promise<void>} If the promise has not resolved, it will throw the promise, causing the component to suspend. If it has resolved successfully, it will return the result. If it has errored, it will throw the error.
6
- * @see https://react.dev/reference/react/use
7
- */
8
- export declare const useSuspenseResource: <T>(fetcher: () => Promise<T>) => T;
9
- /**
10
- * Our polyfill is not as smart as React's `use` hook, so we need to manually uncache the resource after a certain timeout.
11
- * You usually need this if you are calling parameters with your `useSuspenseResource` hook (eg. `useSuspenseResource(() => fetch('/api/data'))`).
12
- * **Note:** For those using React 19, import the `use` hook from React instead of using this polyfill.
13
- * @param fetcher The function that returns a promise to suspend on (usually an API call).
14
- * @param timeout The time in milliseconds after which the resource will be uncached. Default is 1000ms, usually enough to avoid flickering.
15
- * @see https://react.dev/reference/react/use
16
- */
17
- export declare const uncacheSuspenseResource: (fetcher: () => Promise<unknown>, timeout?: number) => void;
@@ -1,2 +0,0 @@
1
- export * from './Loading';
2
- export * from './LoadingSuspense';
@@ -1,21 +0,0 @@
1
- import { BREAKPOINTS, DISPLAY_MODES, FLOATING_UI_ALIGNS, FORM_ELEMENT_WIDTHS, GUTTER_SIZES, HEADING_LEVELS, HORIZONTAL_ALIGNS, LOGGER_LEVELS, PADDING_SIZES, SYSTEM_VALIDATION_STATUSES, TEXT_ALIGNS, TEXT_MODES, TEXT_VARIANTS, VERTICAL_ALIGNS } from './constants';
2
- import { VariablePaddingSize } from './interfaces';
3
- import { PaddingSize } from './enums';
4
- export type Breakpoints = (typeof BREAKPOINTS)[number];
5
- export type DisplayModes = (typeof DISPLAY_MODES)[number];
6
- export type FloatingUIContainer = HTMLElement | null | React.MutableRefObject<HTMLElement | null>;
7
- export type FloatingUIAligns = (typeof FLOATING_UI_ALIGNS)[number];
8
- export type FormControlValue = string | number | boolean | null;
9
- export type FormElementWidths = (typeof FORM_ELEMENT_WIDTHS)[number];
10
- export type GutterSizes = (typeof GUTTER_SIZES)[number];
11
- export type HeadingLevels = (typeof HEADING_LEVELS)[number];
12
- export type HorizontalAligns = (typeof HORIZONTAL_ALIGNS)[number];
13
- export type LoggerLevelsUnion = (typeof LOGGER_LEVELS)[number];
14
- export type MixedPaddingSize = VariablePaddingSize | PaddingSize | PaddingSizes;
15
- export type PaddingSizes = (typeof PADDING_SIZES)[number];
16
- export type ResponsiveProps<T> = Partial<Record<Breakpoints, T>>;
17
- export type SystemValidationStatuses = (typeof SYSTEM_VALIDATION_STATUSES)[number];
18
- export type TextAligns = (typeof TEXT_ALIGNS)[number];
19
- export type TextModes = (typeof TEXT_MODES)[number] | 'body';
20
- export type TextVariants = (typeof TEXT_VARIANTS)[number];
21
- export type VerticalAligns = (typeof VERTICAL_ALIGNS)[number];
@@ -1,30 +0,0 @@
1
- import { useButtonGroup as i } from "./components/ButtonGroup/hooks/useButtonGroup.js";
2
- import { c as r } from "./index-2QXL0WYc.js";
3
- const c = "ids-button-group-v5190", n = "ids-button-group--values-v5190", u = "ids-button-group--label-v5190", a = "ids-button-group--item-v5190", v = "ids-button-group--active-v5190", e = {
4
- buttonGroup: c,
5
- values: n,
6
- label: u,
7
- item: a,
8
- active: v
9
- }, l = ({
10
- value: s
11
- }) => {
12
- const t = i();
13
- if (t)
14
- return {
15
- className: r(e.item, {
16
- [e.active]: t.isActive(s)
17
- }),
18
- props: {
19
- "aria-pressed": t.isActive(s)
20
- },
21
- toggle() {
22
- var o;
23
- s !== void 0 && ((o = t == null ? void 0 : t.toggle) == null || o.call(t, s, !t.isActive(s)));
24
- }
25
- };
26
- };
27
- export {
28
- e as s,
29
- l as u
30
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import('vite').UserConfig;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vite').UserConfig;
2
- export default _default;
File without changes
File without changes