@iress-oss/ids-components 5.20.0 → 5.20.3

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 (253) hide show
  1. package/CHANGELOG.md +378 -0
  2. package/README.md +1 -1
  3. package/dist/{AutocompleteNoResults-CogA3XZs.js → AutocompleteNoResults-B7El1R2l.js} +1 -1
  4. package/dist/ComboboxHiddenInput-CWfIj-Zz.js +32 -0
  5. package/dist/{FieldAppendToLabel-CuSREliL.js → FieldAppendToLabel-BTdzhQ7Z.js} +5 -5
  6. package/dist/InputBase-Hc9D8St6.js +56 -0
  7. package/dist/Loading.module-BjceG0Wh.js +13 -0
  8. package/dist/LoadingSuspense-Bwd232Nt.js +5728 -0
  9. package/dist/LogoFromSrc-CAdoYYud.js +59 -0
  10. package/dist/MenuItem.module-BQw_K5D4.js +24 -0
  11. package/dist/Popover.module-ZU-08mVQ.js +11 -0
  12. package/dist/PopoverProvider-Cvg6ObBO.js +142 -0
  13. package/dist/{SelectControl-D1SJlplM.js → SelectControl-WoixPfwh.js} +2 -2
  14. package/dist/SliderTicks-D-B1uIdS.js +74 -0
  15. package/dist/TabSet.module-4ohNBuQS.js +13 -0
  16. package/dist/Table.module-BYwGboft.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 +4 -4
  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 +4 -4
  41. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +4 -4
  42. package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
  43. package/dist/components/Combobox/components/ComboboxResults.js +6 -6
  44. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -4
  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 +5 -5
  53. package/dist/components/Filter/Filter.js +4 -4
  54. package/dist/components/Filter/components/FilterResetButton.js +4 -4
  55. package/dist/components/Filter/components/FilterSearch.js +4 -4
  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 +46 -49
  59. package/dist/components/Form/FormField/FormFieldset.js +42 -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 +4 -4
  66. package/dist/components/Hide/index.js +1 -1
  67. package/dist/components/Icon/Icon.js +4 -4
  68. package/dist/components/Icon/index.js +1 -1
  69. package/dist/components/Inline/Inline.js +4 -4
  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 +4 -4
  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 +5 -5
  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 +5 -5
  127. package/dist/components/Readonly/index.js +1 -1
  128. package/dist/components/RichSelect/RichSelect.js +3 -3
  129. package/dist/components/RichSelect/SelectBody/SelectBody.js +4 -4
  130. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +4 -4
  131. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -4
  132. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
  133. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -4
  134. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -4
  135. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -3
  136. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
  137. package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -3
  138. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  139. package/dist/components/RichSelect/components/SelectOptions.js +4 -4
  140. package/dist/components/RichSelect/index.js +1 -1
  141. package/dist/components/Row/Row.js +4 -4
  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 +4 -4
  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 +3 -3
  167. package/dist/components/Table/TableBody/TableBody.js +91 -91
  168. package/dist/components/Table/TableProvider.js +2 -2
  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-BQfnxwrU.js → index-BaVtNOfa.js} +41 -51
  213. package/dist/{index-Dms7F5NM.js → index-DLnR8XTt.js} +1 -11
  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/src/components/InputCurrency/InputCurrency.d.ts +1 -2
  227. package/dist/src/components/RadioGroup/RadioGroup.d.ts +5 -0
  228. package/dist/src/components/TabSet/TabSet.types.d.ts +1 -1
  229. package/dist/src/components/Table/Table.types.d.ts +1 -1
  230. package/dist/src/components/Table/helpers/composeIDSTableColumnDefs.d.ts +1 -1
  231. package/dist/src/components/Table/helpers/findColumnByKey.d.ts +1 -1
  232. package/dist/src/components/Toaster/hooks/useToaster.d.ts +1 -1
  233. package/dist/style.css +1 -1
  234. package/dist/useIDSButtonGroupItem-BB7Moa3N.js +29 -0
  235. package/package.json +67 -38
  236. package/dist/ComboboxHiddenInput-gTOjjF3f.js +0 -32
  237. package/dist/InputBase-BFK9n82f.js +0 -56
  238. package/dist/Loading.module-g2pe-Gfx.js +0 -13
  239. package/dist/LoadingSuspense-D9nGJ3gx.js +0 -5773
  240. package/dist/LogoFromSrc-BnImWqt6.js +0 -59
  241. package/dist/MenuItem.module-BxcFZeSh.js +0 -24
  242. package/dist/Popover.module-BKrF_xRW.js +0 -11
  243. package/dist/PopoverProvider-d3hhpW2k.js +0 -142
  244. package/dist/SliderTicks-DQN0Ka4d.js +0 -78
  245. package/dist/TabSet.module-FRUnHgA1.js +0 -13
  246. package/dist/Table.module-r-RfIeLI.js +0 -32
  247. package/dist/floating-ui.react-nmA48tb2.js +0 -3463
  248. package/dist/fuzzysort-eoXOpoo6.js +0 -395
  249. package/dist/useIDSButtonGroupItem-VfKx4O-O.js +0 -30
  250. package/dist/vite.config.d.ts +0 -2
  251. package/dist/vitest.config.d.ts +0 -2
  252. package/dist/vitest.setup.d.ts +0 -0
  253. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,42 +1,42 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { IressTableFormattedValue as b } from "../TableFormattedValue/TableFormattedValue.js";
3
- import { formatObjectKey as g } from "../../../helpers/formatting/formatObjectKey.js";
4
- import { getFormatFromValue as d } from "./getFormatFromValue.js";
5
- import { c as F } from "../../../index-BQfnxwrU.js";
6
- const h = (p, a) => {
7
- const s = F();
8
- return a ? (Array.isArray(a) ? a.map((e) => [
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { IressTableFormattedValue as m } from "../TableFormattedValue/TableFormattedValue.js";
3
+ import { formatObjectKey as c } from "../../../helpers/formatting/formatObjectKey.js";
4
+ import { getFormatFromValue as p } from "./getFormatFromValue.js";
5
+ import { c as f } from "../../../index-BaVtNOfa.js";
6
+ const j = (n, o) => {
7
+ const a = f();
8
+ return o ? (Array.isArray(o) ? o.map((e) => [
9
9
  e.key,
10
10
  e
11
- ]) : Object.entries(a)).map(([e, r]) => {
12
- const f = !!(r != null && r.sort) || !!(r != null && r.sortFn), i = {
11
+ ]) : Object.entries(o)).map(([e, r]) => {
12
+ const i = !!r?.sort || !!r?.sortFn, s = {
13
13
  id: e,
14
- cell: (t) => /* @__PURE__ */ o(
15
- b,
14
+ cell: (t) => /* @__PURE__ */ l(
15
+ m,
16
16
  {
17
- currencyCode: r == null ? void 0 : r.currencyCode,
18
- format: (r == null ? void 0 : r.format) ?? d(t.getValue()),
17
+ currencyCode: r?.currencyCode,
18
+ format: r?.format ?? p(t.getValue()),
19
19
  value: t.getValue(),
20
20
  row: t.row.original
21
21
  }
22
22
  ),
23
- header: () => r == null ? void 0 : r.label,
24
- enableSorting: f
23
+ header: () => r?.label,
24
+ enableSorting: i
25
25
  };
26
- return r != null && r.sortFn && (i.sortingFn = r.sortFn), s.accessor(
26
+ return r?.sortFn && (s.sortingFn = r.sortFn), a.accessor(
27
27
  (t) => t[e],
28
- i
28
+ s
29
29
  // The typing is weird, cannot get it to work without the never cast, its typed properly above anyway
30
30
  );
31
- }) : Object.keys(p[0] ?? {}).map(
32
- (e) => s.accessor((r) => r[e], {
31
+ }) : Object.keys(n[0] ?? {}).map(
32
+ (e) => a.accessor((r) => r[e], {
33
33
  id: e,
34
34
  cell: (r) => r.getValue(),
35
- header: () => g(e),
35
+ header: () => c(e),
36
36
  enableSorting: !1
37
37
  })
38
38
  );
39
39
  };
40
40
  export {
41
- h as composeIDSTableColumnDefs
41
+ j as composeIDSTableColumnDefs
42
42
  };
@@ -1,9 +1,9 @@
1
1
  const s = (t) => t ? (Array.isArray(t) ? t.map((r) => [
2
2
  r.key,
3
3
  r
4
- ]) : Object.entries(t)).filter(([, r]) => typeof (r == null ? void 0 : r.sort) == "string").map(([r, e]) => ({
4
+ ]) : Object.entries(t)).filter(([, r]) => typeof r?.sort == "string").map(([r, e]) => ({
5
5
  id: r,
6
- desc: (e == null ? void 0 : e.sort) === "desc"
6
+ desc: e?.sort === "desc"
7
7
  })) : [];
8
8
  export {
9
9
  s as composeIDSTableInitialSorting
@@ -1,11 +1,11 @@
1
1
  import { useTable as i } from "./useTable.js";
2
- const S = ({
2
+ const l = ({
3
3
  columnApi: r,
4
- columnKey: s
4
+ columnKey: n
5
5
  }) => {
6
- const e = i(), t = e == null ? void 0 : e.getColumnByKey(s), n = (t == null ? void 0 : t.sort) ?? (t == null ? void 0 : t.sortFn);
7
- if (!t || !n || !(r != null && r.getCanSort())) return;
8
- const o = e.api.getState().sorting.find((g) => g.id === s), a = o != null && o.desc ? "descending" : "ascending";
6
+ const e = i(), t = e?.getColumnByKey(n), s = t?.sort ?? t?.sortFn;
7
+ if (!t || !s || !r?.getCanSort()) return;
8
+ const o = e.api.getState().sorting.find((g) => g.id === n), a = o?.desc ? "descending" : "ascending";
9
9
  return {
10
10
  buttonProps: {
11
11
  label: t.sortableText,
@@ -20,5 +20,5 @@ const S = ({
20
20
  };
21
21
  };
22
22
  export {
23
- S as useIDSTableColumnSort
23
+ l as useIDSTableColumnSort
24
24
  };
@@ -1,25 +1,24 @@
1
- import { s as r } from "../../../Table.module-r-RfIeLI.js";
2
- import { c as s } from "../../../index-2QXL0WYc.js";
3
- import { useTable as a } from "./useTable.js";
4
- const b = ({
5
- columnKey: i
1
+ import { s as r } from "../../../Table.module-BYwGboft.js";
2
+ import { c as t } from "../../../index-cbHCAGLB.js";
3
+ import { useTable as i } from "./useTable.js";
4
+ const n = ({
5
+ columnKey: l
6
6
  }) => {
7
- var t;
8
- const e = (t = a()) == null ? void 0 : t.getColumnByKey(i);
7
+ const e = i()?.getColumnByKey(l);
9
8
  if (e)
10
9
  return {
11
- className: s({
12
- [r[`cell--${e == null ? void 0 : e.align}`]]: e == null ? void 0 : e.align,
13
- [r.divider]: e == null ? void 0 : e.divider,
14
- [r["cell--number"]]: (e == null ? void 0 : e.format) === "number",
15
- [r["cell--currency"]]: (e == null ? void 0 : e.format) === "currency"
10
+ className: t({
11
+ [r[`cell--${e?.align}`]]: e?.align,
12
+ [r.divider]: e?.divider,
13
+ [r["cell--number"]]: e?.format === "number",
14
+ [r["cell--currency"]]: e?.format === "currency"
16
15
  }),
17
16
  style: {
18
- width: e == null ? void 0 : e.width,
19
- minWidth: e == null ? void 0 : e.width
17
+ width: e?.width,
18
+ minWidth: e?.width
20
19
  }
21
20
  };
22
21
  };
23
22
  export {
24
- b as useIDSTableColumnStyles
23
+ n as useIDSTableColumnStyles
25
24
  };
@@ -1,5 +1,5 @@
1
1
  import { TABLE_CELL_FORMATS as r, TABLE_COLUMN_ALIGN as l, TABLE_SCOPES as a, TableCellFormat as T, TableColumnAlign as m, TableScope as s } from "./Table.types.js";
2
- import { J as L } from "../../LoadingSuspense-D9nGJ3gx.js";
2
+ import { J as L } from "../../LoadingSuspense-Bwd232Nt.js";
3
3
  import { IressTableFormattedValue as A } from "./TableFormattedValue/TableFormattedValue.js";
4
4
  import { IressTableBody as C } from "./TableBody/TableBody.js";
5
5
  export {
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../index-2QXL0WYc.js";
4
- import { K as s } from "../../LoadingSuspense-D9nGJ3gx.js";
3
+ import "../../index-cbHCAGLB.js";
4
+ import { K as s } from "../../LoadingSuspense-Bwd232Nt.js";
5
5
  import "../../helpers/utility/propagateTestid.js";
6
6
  export {
7
7
  s as IressTag
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../hooks/useControlledState.js";
4
- import { L as s } from "../../../LoadingSuspense-D9nGJ3gx.js";
4
+ import { L as s } from "../../../LoadingSuspense-Bwd232Nt.js";
5
5
  import "../../../helpers/form/getValueAsEvent.js";
6
6
  export {
7
7
  s as IressTagInput
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../../index-2QXL0WYc.js";
2
+ import "../../../../index-cbHCAGLB.js";
3
3
  import "react";
4
4
  import "../../../../helpers/utility/propagateTestid.js";
5
- import { a0 as a } from "../../../../LoadingSuspense-D9nGJ3gx.js";
5
+ import { a0 as a } from "../../../../LoadingSuspense-Bwd232Nt.js";
6
6
  export {
7
7
  a as TagListInput
8
8
  };
@@ -1,4 +1,4 @@
1
- import { K as r, L as e } from "../../LoadingSuspense-D9nGJ3gx.js";
1
+ import { K as r, L as e } from "../../LoadingSuspense-Bwd232Nt.js";
2
2
  export {
3
3
  r as IressTag,
4
4
  e as IressTagInput
@@ -1,5 +1,5 @@
1
1
  import { jsx as x } from "react/jsx-runtime";
2
- import { c as d } from "../../index-2QXL0WYc.js";
2
+ import { c as d } from "../../index-cbHCAGLB.js";
3
3
  import { GlobalCSSClass as T, TextMode as c, TextElement as p, TextAlign as B, TextVariant as $ } from "../../enums.js";
4
4
  const e = ({
5
5
  align: t,
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import "../../../index-2QXL0WYc.js";
3
- import { M as f, T as x } from "../../../LoadingSuspense-D9nGJ3gx.js";
2
+ import "../../../index-cbHCAGLB.js";
3
+ import { M as f, T as x } from "../../../LoadingSuspense-Bwd232Nt.js";
4
4
  import "../../../enums.js";
5
5
  import "../../../helpers/utility/propagateTestid.js";
6
6
  import "../../Inline/Inline.types.js";
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../index-2QXL0WYc.js";
4
- import { a6 as s } from "../../../LoadingSuspense-D9nGJ3gx.js";
3
+ import "../../../index-cbHCAGLB.js";
4
+ import { a6 as s } from "../../../LoadingSuspense-Bwd232Nt.js";
5
5
  import "../../../helpers/transition/getTransitionDuration.js";
6
- import "../../../floating-ui.react-nmA48tb2.js";
6
+ import "../../../floating-ui.react-DYBeYtOf.js";
7
7
  export {
8
8
  s as IressToastAnimated
9
9
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { a5 as m } from "../../../LoadingSuspense-D9nGJ3gx.js";
2
+ import { a5 as m } from "../../../LoadingSuspense-Bwd232Nt.js";
3
3
  import "../../Icon/Icon.types.js";
4
4
  export {
5
5
  m as ToastIcon
@@ -1,11 +1,11 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "./Toaster.types.js";
4
- import "../../index-2QXL0WYc.js";
5
- import { a7 as f } from "../../LoadingSuspense-D9nGJ3gx.js";
4
+ import "../../index-cbHCAGLB.js";
5
+ import { a7 as f } from "../../LoadingSuspense-Bwd232Nt.js";
6
6
  import "../../enums.js";
7
7
  import "../Stack/Stack.js";
8
- import "../../floating-ui.react-nmA48tb2.js";
8
+ import "../../floating-ui.react-DYBeYtOf.js";
9
9
  export {
10
10
  f as IressToaster
11
11
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { O as s, N as a } from "../../LoadingSuspense-D9nGJ3gx.js";
3
+ import { O as s, N as a } from "../../LoadingSuspense-Bwd232Nt.js";
4
4
  export {
5
5
  s as IressToasterProvider,
6
6
  a as ToasterContext
@@ -1,5 +1,5 @@
1
1
  import { useContext as u, useEffect as a, useMemo as c } from "react";
2
- import { N as f } from "../../../LoadingSuspense-D9nGJ3gx.js";
2
+ import { N as f } from "../../../LoadingSuspense-Bwd232Nt.js";
3
3
  const w = (e) => {
4
4
  const r = u(f);
5
5
  if (r === void 0)
@@ -1,6 +1,6 @@
1
1
  import { TOAST_ANIMATION as r, TOAST_STATUS as s } from "./Toast/Toast.types.js";
2
2
  import { TOASTER_ARIA_ATTRIBUTES as e, TOASTER_POSITION as t, TOAST_POSITION_ANIMATION_MATRIX as I, ToasterPosition as O } from "./Toaster.types.js";
3
- import { M as S, O as _, T as N, N as x } from "../../LoadingSuspense-D9nGJ3gx.js";
3
+ import { M as S, O as _, T as N, N as x } from "../../LoadingSuspense-Bwd232Nt.js";
4
4
  import { useToaster as f } from "./hooks/useToaster.js";
5
5
  export {
6
6
  S as IressToast,
@@ -1,13 +1,13 @@
1
- import { jsxs as f, jsx as l } from "react/jsx-runtime";
2
- import { c as a } from "../../index-2QXL0WYc.js";
3
- import { forwardRef as h, useState as B, useId as C, useEffect as x } from "react";
1
+ import { jsxs as p, jsx as l } from "react/jsx-runtime";
2
+ import { c as a } from "../../index-cbHCAGLB.js";
3
+ import { forwardRef as f, useState as C, useId as B, useEffect as x } from "react";
4
4
  import { GlobalCSSClass as I } from "../../enums.js";
5
5
  import { propagateTestid as u } from "../../helpers/utility/propagateTestid.js";
6
6
  import "../CheckboxMark/CheckboxMark.types.js";
7
7
  import { IressCheckboxMark as N } from "../CheckboxMark/CheckboxMark.js";
8
8
  import { ButtonCssClass as T } from "../Button/Button.types.js";
9
9
  import { ToggleLayout as w } from "./Toggle.types.js";
10
- const L = "ids-toggle--toggle-base-v5200", M = "ids-toggle--checkbox-mark-v5200", S = "ids-toggle--toggle-button-v5200", j = "ids-toggle--button-checked-v5200", R = "ids-toggle--toggle-button-container-v5200", $ = "ids-toggle--label-v5200", E = "ids-toggle--layout__inline-v5200", G = "ids-toggle--layout__stack-v5200", t = {
10
+ const L = "ids-toggle--toggle-base-v5203", M = "ids-toggle--checkbox-mark-v5203", S = "ids-toggle--toggle-button-v5203", j = "ids-toggle--button-checked-v5203", R = "ids-toggle--toggle-button-container-v5203", $ = "ids-toggle--label-v5203", E = "ids-toggle--layout__inline-v5203", G = "ids-toggle--layout__stack-v5203", t = {
11
11
  toggleBase: L,
12
12
  checkboxMark: M,
13
13
  toggleButton: S,
@@ -15,53 +15,53 @@ const L = "ids-toggle--toggle-base-v5200", M = "ids-toggle--checkbox-mark-v5200"
15
15
  toggleButtonContainer: R,
16
16
  label: $,
17
17
  layout__inline: E,
18
- "layout__inline-reverse": "ids-toggle--layout__inline-reverse-v5200",
19
- "layout__inline-between": "ids-toggle--layout__inline-between-v5200",
18
+ "layout__inline-reverse": "ids-toggle--layout__inline-reverse-v5203",
19
+ "layout__inline-between": "ids-toggle--layout__inline-between-v5203",
20
20
  layout__stack: G
21
21
  }, O = ({
22
22
  hiddenLabel: o,
23
- children: i,
23
+ children: s,
24
24
  "data-testid": n,
25
- ...g
25
+ ...i
26
26
  }) => /* @__PURE__ */ l(
27
27
  "span",
28
28
  {
29
- ...g,
29
+ ...i,
30
30
  className: a(t.label, {
31
31
  [I.SROnly]: o
32
32
  }),
33
33
  "data-testid": u(n, "label"),
34
- children: i
34
+ children: s
35
35
  }
36
- ), b = h(
36
+ ), b = f(
37
37
  ({
38
38
  checked: o = !1,
39
- hiddenLabel: i,
39
+ hiddenLabel: s,
40
40
  children: n,
41
- layout: g = "inline",
41
+ layout: i = "inline",
42
42
  className: m,
43
- onChange: s,
44
- "data-testid": c,
43
+ onChange: c,
44
+ "data-testid": g,
45
45
  ..._
46
46
  }, k) => {
47
- const [e, r] = B(o), d = `toggleLabel--${C()}`, y = {
48
- hiddenLabel: i,
47
+ const [e, r] = C(o), d = `toggleLabel--${B()}`, y = {
48
+ hiddenLabel: s,
49
49
  id: d,
50
- "data-testid": c
51
- }, v = (p) => {
52
- r(!e), s == null || s(!e, p);
50
+ "data-testid": g
51
+ }, h = (v) => {
52
+ r(!e), c?.(!e, v);
53
53
  };
54
54
  return x(() => {
55
55
  r(o);
56
- }, [o, s]), /* @__PURE__ */ f(
56
+ }, [o, c]), /* @__PURE__ */ p(
57
57
  "div",
58
58
  {
59
- "data-testid": c,
59
+ "data-testid": g,
60
60
  ..._,
61
61
  className: a(
62
62
  m,
63
63
  t.toggleBase,
64
- t[`layout__${g}`]
64
+ t[`layout__${i}`]
65
65
  ),
66
66
  ref: k,
67
67
  children: [
@@ -75,9 +75,9 @@ const L = "ids-toggle--toggle-base-v5200", M = "ids-toggle--checkbox-mark-v5200"
75
75
  role: "switch",
76
76
  type: "button",
77
77
  "aria-checked": e,
78
- onClick: v,
78
+ onClick: h,
79
79
  "aria-labelledby": d,
80
- "data-testid": u(c, "button__button"),
80
+ "data-testid": u(g, "button__button"),
81
81
  children: /* @__PURE__ */ l(
82
82
  N,
83
83
  {
@@ -1,13 +1,13 @@
1
1
  import { jsxs as f, jsx as a } from "react/jsx-runtime";
2
2
  import { useState as P, useEffect as R, Fragment as S } from "react";
3
- import { c as j } from "../../index-2QXL0WYc.js";
4
- import { i as E, o as H, p as L, h as M, q as k, r as q, t as B, k as D, l as G, m as U } from "../../floating-ui.react-nmA48tb2.js";
3
+ import { c as j } from "../../index-cbHCAGLB.js";
4
+ import { i as E, o as H, p as L, h as M, q as k, r as q, t as B, k as D, l as G, m as U } from "../../floating-ui.react-DYBeYtOf.js";
5
5
  import { FloatingUIAlign as W } from "../../enums.js";
6
6
  import { propagateTestid as m } from "../../helpers/utility/propagateTestid.js";
7
7
  import { toArray as z } from "../../helpers/formatting/toArray.js";
8
8
  import { idsLogger as J } from "../../helpers/utility/idsLogger.js";
9
9
  import { focusableElements as K } from "../../helpers/dom/focusableElements.js";
10
- const Q = "ids-tooltip-v5200", V = "ids-tooltip--content-v5200", r = {
10
+ const Q = "ids-tooltip-v5203", V = "ids-tooltip--content-v5203", r = {
11
11
  tooltip: Q,
12
12
  content: V
13
13
  }, X = ({
@@ -1,8 +1,8 @@
1
1
  import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
- import { c as r } from "../../../index-2QXL0WYc.js";
2
+ import { c as r } from "../../../index-cbHCAGLB.js";
3
3
  import { capitalizeFirstLetter as g } from "../../../helpers/formatting/capitalizeFirstLetter.js";
4
4
  import { GlobalCSSClass as m } from "../../../enums.js";
5
- const v = "ids-validation-message-v5200", f = "ids-validation-message--prefix-v5200", x = "ids-validation-message--message-v5200", p = "ids-validation-message--danger-v5200", u = "ids-validation-message--warning-v5200", N = "ids-validation-message--success-v5200", w = "ids-validation-message--info-v5200", e = {
5
+ const v = "ids-validation-message-v5203", f = "ids-validation-message--prefix-v5203", x = "ids-validation-message--message-v5203", p = "ids-validation-message--danger-v5203", u = "ids-validation-message--warning-v5203", N = "ids-validation-message--success-v5203", w = "ids-validation-message--info-v5203", e = {
6
6
  validationMessage: v,
7
7
  prefix: f,
8
8
  message: x,
@@ -1,11 +1,11 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as u } from "../../../index-2QXL0WYc.js";
2
+ import { c as u } from "../../../index-cbHCAGLB.js";
3
3
  import { propagateTestid as f } from "../../../helpers/utility/propagateTestid.js";
4
4
  import { IressValidationMessage as p } from "../ValidationMessage.js";
5
5
  import "react";
6
6
  import { useIdIfNeeded as c } from "../../../hooks/useIdIfNeeded.js";
7
7
  import { IressValidationLink as y } from "../ValidationLink/ValidationLink.js";
8
- const v = "ids-validation-summary-v5200", I = {
8
+ const v = "ids-validation-summary-v5203", I = {
9
9
  validationSummary: v
10
10
  }, S = ({
11
11
  children: a,
package/dist/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "5.20.0", e = {
1
+ const t = "5.20.3", e = {
2
2
  /**
3
3
  * Extra small breakpoint, for mobile devices
4
4
  */