@iress-oss/ids-components 5.18.0 → 5.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/dist/{AutocompleteNoResults-JZ7V7NkM.js → AutocompleteNoResults-CogA3XZs.js} +1 -1
  2. package/dist/{ComboboxHiddenInput-B8HEOHjE.js → ComboboxHiddenInput-gTOjjF3f.js} +5 -5
  3. package/dist/{FieldAppendToLabel--L91ZcMi.js → FieldAppendToLabel-CuSREliL.js} +11 -10
  4. package/dist/{InputBase-D4yDE4Xu.js → InputBase-BFK9n82f.js} +1 -1
  5. package/dist/Loading.module-g2pe-Gfx.js +13 -0
  6. package/dist/{LoadingSuspense-ZAaPH398.js → LoadingSuspense-D9nGJ3gx.js} +1997 -1973
  7. package/dist/LogoFromSrc-BnImWqt6.js +59 -0
  8. package/dist/MenuItem.module-BxcFZeSh.js +24 -0
  9. package/dist/Popover.module-BKrF_xRW.js +11 -0
  10. package/dist/{PopoverProvider-DsdRCQGa.js → PopoverProvider-d3hhpW2k.js} +4 -4
  11. package/dist/{SelectControl-1_jw_jMH.js → SelectControl-D1SJlplM.js} +1 -1
  12. package/dist/{SliderTicks-U5_LKSQq.js → SliderTicks-DQN0Ka4d.js} +1 -1
  13. package/dist/TabSet.module-FRUnHgA1.js +13 -0
  14. package/dist/Table.module-r-RfIeLI.js +32 -0
  15. package/dist/components/Alert/Alert.js +1 -1
  16. package/dist/components/Alert/index.js +1 -1
  17. package/dist/components/Autocomplete/Autocomplete.js +5 -4
  18. package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
  19. package/dist/components/Autocomplete/index.js +1 -1
  20. package/dist/components/Badge/Badge.js +4 -4
  21. package/dist/components/Button/Button.js +2 -2
  22. package/dist/components/Button/CloseButton/CloseButton.js +1 -1
  23. package/dist/components/Button/index.js +1 -1
  24. package/dist/components/ButtonGroup/ButtonGroup.js +2 -2
  25. package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +1 -1
  26. package/dist/components/ButtonGroup/index.js +1 -1
  27. package/dist/components/Checkbox/Checkbox.js +1 -1
  28. package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
  29. package/dist/components/Checkbox/index.js +1 -1
  30. package/dist/components/CheckboxGroup/CheckboxGroup.js +6 -6
  31. package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
  32. package/dist/components/Combobox/Combobox.js +5 -4
  33. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +5 -4
  34. package/dist/components/Combobox/components/ComboboxHiddenInput.js +1 -1
  35. package/dist/components/Combobox/components/ComboboxResults.js +6 -5
  36. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +4 -3
  37. package/dist/components/Combobox/index.js +1 -1
  38. package/dist/components/Expander/Expander.js +1 -1
  39. package/dist/components/Field/Field.js +1 -1
  40. package/dist/components/Field/FieldGroup/FieldGroup.js +2 -2
  41. package/dist/components/Field/components/FieldAppendToLabel.js +5 -4
  42. package/dist/components/Filter/Filter.js +5 -4
  43. package/dist/components/Filter/components/FilterResetButton.js +4 -3
  44. package/dist/components/Filter/components/FilterSearch.js +4 -3
  45. package/dist/components/Filter/index.js +1 -1
  46. package/dist/components/Form/Form.js +1 -1
  47. package/dist/components/Form/FormField/FormField.js +43 -38
  48. package/dist/components/Form/FormField/FormFieldset.js +11 -10
  49. package/dist/components/Form/HookForm/HookForm.js +1 -1
  50. package/dist/components/Form/index.js +1 -1
  51. package/dist/components/Hide/Hide.js +1 -1
  52. package/dist/components/Hide/helpers/composeHideClasses.js +5 -4
  53. package/dist/components/Hide/index.js +1 -1
  54. package/dist/components/Icon/Icon.js +4 -3
  55. package/dist/components/Icon/index.js +1 -1
  56. package/dist/components/Inline/Inline.js +4 -3
  57. package/dist/components/Inline/index.js +1 -1
  58. package/dist/components/Input/ClearButton/ClearButton.js +1 -1
  59. package/dist/components/Input/Input.js +2 -2
  60. package/dist/components/Input/InputBase/InputBase.js +1 -1
  61. package/dist/components/Input/index.js +1 -1
  62. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  63. package/dist/components/InputCurrency/index.js +1 -1
  64. package/dist/components/Label/LabelBase/LabelBase.js +1 -1
  65. package/dist/components/Menu/MenuDivider/MenuDivider.js +4 -3
  66. package/dist/components/Menu/MenuHeading/MenuHeading.js +2 -2
  67. package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
  68. package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +1 -1
  69. package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +1 -1
  70. package/dist/components/Menu/MenuItem/hooks/useMenuItemInteractions.js +33 -33
  71. package/dist/components/Menu/MenuText/MenuText.js +5 -4
  72. package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
  73. package/dist/components/Menu/hooks/useMenuStyles.js +3 -3
  74. package/dist/components/Menu/index.js +1 -1
  75. package/dist/components/Modal/Modal.js +1 -1
  76. package/dist/components/Modal/index.js +1 -1
  77. package/dist/components/Navbar/Navbar.js +2 -2
  78. package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
  79. package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
  80. package/dist/components/Navbar/components/NavbarLogo.js +2 -2
  81. package/dist/components/Navbar/index.js +1 -1
  82. package/dist/components/Placeholder/Placeholder.js +1 -1
  83. package/dist/components/Popover/InputPopover/InputPopover.js +1 -1
  84. package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
  85. package/dist/components/Popover/InputPopover/InputPopoverProvider.js +1 -1
  86. package/dist/components/Popover/Popover.js +2 -2
  87. package/dist/components/Popover/PopoverProvider.js +1 -1
  88. package/dist/components/Popover/components/PopoverActivator.js +1 -1
  89. package/dist/components/Popover/components/PopoverContent.js +1 -1
  90. package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
  91. package/dist/components/Popover/hooks/usePopover.js +1 -1
  92. package/dist/components/Popover/hooks/usePopoverActivatorInteractions.js +1 -1
  93. package/dist/components/Progress/Progress.js +1 -1
  94. package/dist/components/Provider/Provider.js +1 -1
  95. package/dist/components/Radio/Radio.js +1 -1
  96. package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
  97. package/dist/components/Radio/index.js +1 -1
  98. package/dist/components/RadioGroup/RadioGroup.js +3 -3
  99. package/dist/components/Readonly/Readonly.js +5 -4
  100. package/dist/components/Readonly/index.js +1 -1
  101. package/dist/components/RichSelect/RichSelect.js +4 -3
  102. package/dist/components/RichSelect/SelectBody/SelectBody.js +5 -4
  103. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +5 -4
  104. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +4 -3
  105. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
  106. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +4 -3
  107. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +4 -3
  108. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -2
  109. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
  110. package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -2
  111. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  112. package/dist/components/RichSelect/components/SelectOptions.js +4 -3
  113. package/dist/components/RichSelect/index.js +1 -1
  114. package/dist/components/Row/Row.js +4 -3
  115. package/dist/components/Row/index.js +1 -1
  116. package/dist/components/Select/Select.js +2 -2
  117. package/dist/components/Select/components/SelectControl.js +1 -1
  118. package/dist/components/Select/components/SelectReadonly.js +4 -3
  119. package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
  120. package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
  121. package/dist/components/Select/index.js +1 -1
  122. package/dist/components/Skeleton/Skeleton.js +2 -2
  123. package/dist/components/SkipLink/SkipLink.js +1 -1
  124. package/dist/components/Slideout/Slideout.js +2 -2
  125. package/dist/components/Slideout/components/SlideoutInner.js +2 -2
  126. package/dist/components/Slideout/index.js +1 -1
  127. package/dist/components/Slider/Slider.js +2 -2
  128. package/dist/components/Slider/components/SliderTicks.js +1 -1
  129. package/dist/components/Slider/index.js +1 -1
  130. package/dist/components/Spinner/Spinner.js +1 -1
  131. package/dist/components/Spinner/index.js +1 -1
  132. package/dist/components/TabSet/Tab/Tab.js +14 -13
  133. package/dist/components/TabSet/TabSet.js +1 -1
  134. package/dist/components/TabSet/components/TabSetItem.js +1 -1
  135. package/dist/components/Table/Table.js +4 -3
  136. package/dist/components/Table/TableBody/TableBody.js +2 -2
  137. package/dist/components/Table/TableProvider.js +29 -25
  138. package/dist/components/Table/components/TableEmpty.js +1 -1
  139. package/dist/components/Table/components/TableHeader.js +2 -2
  140. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  141. package/dist/components/Table/components/TableRows.js +1 -1
  142. package/dist/components/Table/components/TableSortButton.js +2 -2
  143. package/dist/components/Table/helpers/composeIDSTableColumnDefs.js +5 -5
  144. package/dist/components/Table/hooks/useIDSTableColumnStyles.js +1 -1
  145. package/dist/components/Table/index.js +1 -1
  146. package/dist/components/Tag/Tag.js +1 -1
  147. package/dist/components/Tag/TagInput/TagInput.js +1 -1
  148. package/dist/components/Tag/components/TagListInput/TagListInput.js +1 -1
  149. package/dist/components/Tag/index.js +1 -1
  150. package/dist/components/Toaster/Toast/Toast.js +1 -1
  151. package/dist/components/Toaster/Toast/ToastAnimated.js +1 -1
  152. package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
  153. package/dist/components/Toaster/Toaster.js +1 -1
  154. package/dist/components/Toaster/ToasterProvider.js +1 -1
  155. package/dist/components/Toaster/hooks/useToaster.js +1 -1
  156. package/dist/components/Toaster/index.js +1 -1
  157. package/dist/components/Toggle/Toggle.js +3 -3
  158. package/dist/components/Tooltip/Tooltip.js +1 -1
  159. package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +1 -1
  160. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +1 -1
  161. package/dist/constants.js +1 -1
  162. package/dist/{index-CmsyHM_3.js → index-BQfnxwrU.js} +2 -2
  163. package/dist/{index-CtOScEKX.js → index-Dms7F5NM.js} +8 -8
  164. package/dist/main.js +2 -2
  165. package/dist/patterns/Loading/Loading.js +1 -1
  166. package/dist/patterns/Loading/LoadingSuspense.js +1 -1
  167. package/dist/patterns/Loading/components/ComponentLoading.js +2 -2
  168. package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
  169. package/dist/patterns/Loading/components/LongLoading.js +2 -2
  170. package/dist/patterns/Loading/components/PageLoading.js +2 -2
  171. package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
  172. package/dist/patterns/Loading/components/ValidateLoading.js +2 -2
  173. package/dist/patterns/Loading/index.js +1 -1
  174. package/dist/src/components/Form/FormField/FormField.d.ts +1 -1
  175. package/dist/src/components/Form/FormField/FormField.types.d.ts +8 -2
  176. package/dist/src/components/Popover/Popover.types.d.ts +1 -1
  177. package/dist/src/components/RichSelect/RichSelect.types.d.ts +5 -0
  178. package/dist/src/components/RichSelect/components/SelectOptions.d.ts +2 -2
  179. package/dist/src/components/Table/Table.d.ts +7 -6
  180. package/dist/src/components/Table/Table.types.d.ts +10 -1
  181. package/dist/src/components/Table/TableProvider.d.ts +5 -2
  182. package/dist/style.css +1 -1
  183. package/dist/{useIDSButtonGroupItem-CS7XOMy8.js → useIDSButtonGroupItem-VfKx4O-O.js} +1 -1
  184. package/package.json +1 -1
  185. package/dist/Loading.module-CnqsvkmD.js +0 -13
  186. package/dist/LogoFromSrc-CTrXifPX.js +0 -59
  187. package/dist/MenuItem.module-BfqQpb2V.js +0 -24
  188. package/dist/Popover.module-DqsebJz2.js +0 -11
  189. package/dist/TabSet.module-C4RXA_SN.js +0 -13
  190. package/dist/Table.module-UEW2qXTE.js +0 -32
@@ -1,5 +1,5 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import { f as $ } from "../../../index-CtOScEKX.js";
2
+ import { f as $ } from "../../../index-Dms7F5NM.js";
3
3
  import { TableBodyCell as g } from "./TableBodyCell.js";
4
4
  import { useTable as x } from "../hooks/useTable.js";
5
5
  import { propagateTestid as y } from "../../../helpers/utility/propagateTestid.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
- import { ac as a } from "../../../LoadingSuspense-ZAaPH398.js";
3
- import "../../../Table.module-UEW2qXTE.js";
2
+ import { ac as a } from "../../../LoadingSuspense-D9nGJ3gx.js";
3
+ import "../../../Table.module-r-RfIeLI.js";
4
4
  import "../../../index-2QXL0WYc.js";
5
5
  export {
6
6
  a as TableSortButton
@@ -1,8 +1,8 @@
1
- import { jsx as b } from "react/jsx-runtime";
2
- import { IressTableFormattedValue as o } from "../TableFormattedValue/TableFormattedValue.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { IressTableFormattedValue as b } from "../TableFormattedValue/TableFormattedValue.js";
3
3
  import { formatObjectKey as g } from "../../../helpers/formatting/formatObjectKey.js";
4
4
  import { getFormatFromValue as d } from "./getFormatFromValue.js";
5
- import { b as F } from "../../../index-CmsyHM_3.js";
5
+ import { c as F } from "../../../index-BQfnxwrU.js";
6
6
  const h = (p, a) => {
7
7
  const s = F();
8
8
  return a ? (Array.isArray(a) ? a.map((e) => [
@@ -11,8 +11,8 @@ const h = (p, a) => {
11
11
  ]) : Object.entries(a)).map(([e, r]) => {
12
12
  const f = !!(r != null && r.sort) || !!(r != null && r.sortFn), i = {
13
13
  id: e,
14
- cell: (t) => /* @__PURE__ */ b(
15
- o,
14
+ cell: (t) => /* @__PURE__ */ o(
15
+ b,
16
16
  {
17
17
  currencyCode: r == null ? void 0 : r.currencyCode,
18
18
  format: (r == null ? void 0 : r.format) ?? d(t.getValue()),
@@ -1,4 +1,4 @@
1
- import { s as r } from "../../../Table.module-UEW2qXTE.js";
1
+ import { s as r } from "../../../Table.module-r-RfIeLI.js";
2
2
  import { c as s } from "../../../index-2QXL0WYc.js";
3
3
  import { useTable as a } from "./useTable.js";
4
4
  const b = ({
@@ -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-ZAaPH398.js";
2
+ import { J as L } from "../../LoadingSuspense-D9nGJ3gx.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
3
  import "../../index-2QXL0WYc.js";
4
- import { K as s } from "../../LoadingSuspense-ZAaPH398.js";
4
+ import { K as s } from "../../LoadingSuspense-D9nGJ3gx.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-ZAaPH398.js";
4
+ import { L as s } from "../../../LoadingSuspense-D9nGJ3gx.js";
5
5
  import "../../../helpers/form/getValueAsEvent.js";
6
6
  export {
7
7
  s as IressTagInput
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../../../index-2QXL0WYc.js";
3
3
  import "react";
4
4
  import "../../../../helpers/utility/propagateTestid.js";
5
- import { a0 as a } from "../../../../LoadingSuspense-ZAaPH398.js";
5
+ import { a0 as a } from "../../../../LoadingSuspense-D9nGJ3gx.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-ZAaPH398.js";
1
+ import { K as r, L as e } from "../../LoadingSuspense-D9nGJ3gx.js";
2
2
  export {
3
3
  r as IressTag,
4
4
  e as IressTagInput
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../../index-2QXL0WYc.js";
3
- import { M as f, T as x } from "../../../LoadingSuspense-ZAaPH398.js";
3
+ import { M as f, T as x } from "../../../LoadingSuspense-D9nGJ3gx.js";
4
4
  import "../../../enums.js";
5
5
  import "../../../helpers/utility/propagateTestid.js";
6
6
  import "../../Inline/Inline.types.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../index-2QXL0WYc.js";
4
- import { a6 as s } from "../../../LoadingSuspense-ZAaPH398.js";
4
+ import { a6 as s } from "../../../LoadingSuspense-D9nGJ3gx.js";
5
5
  import "../../../helpers/transition/getTransitionDuration.js";
6
6
  import "../../../floating-ui.react-nmA48tb2.js";
7
7
  export {
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { a5 as m } from "../../../LoadingSuspense-ZAaPH398.js";
2
+ import { a5 as m } from "../../../LoadingSuspense-D9nGJ3gx.js";
3
3
  import "../../Icon/Icon.types.js";
4
4
  export {
5
5
  m as ToastIcon
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "./Toaster.types.js";
4
4
  import "../../index-2QXL0WYc.js";
5
- import { a7 as f } from "../../LoadingSuspense-ZAaPH398.js";
5
+ import { a7 as f } from "../../LoadingSuspense-D9nGJ3gx.js";
6
6
  import "../../enums.js";
7
7
  import "../Stack/Stack.js";
8
8
  import "../../floating-ui.react-nmA48tb2.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { O as s, N as a } from "../../LoadingSuspense-ZAaPH398.js";
3
+ import { O as s, N as a } from "../../LoadingSuspense-D9nGJ3gx.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-ZAaPH398.js";
2
+ import { N as f } from "../../../LoadingSuspense-D9nGJ3gx.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-ZAaPH398.js";
3
+ import { M as S, O as _, T as N, N as x } from "../../LoadingSuspense-D9nGJ3gx.js";
4
4
  import { useToaster as f } from "./hooks/useToaster.js";
5
5
  export {
6
6
  S as IressToast,
@@ -7,7 +7,7 @@ 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-v5180", M = "ids-toggle--checkbox-mark-v5180", S = "ids-toggle--toggle-button-v5180", j = "ids-toggle--button-checked-v5180", R = "ids-toggle--toggle-button-container-v5180", $ = "ids-toggle--label-v5180", E = "ids-toggle--layout__inline-v5180", G = "ids-toggle--layout__stack-v5180", t = {
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 = {
11
11
  toggleBase: L,
12
12
  checkboxMark: M,
13
13
  toggleButton: S,
@@ -15,8 +15,8 @@ const L = "ids-toggle--toggle-base-v5180", M = "ids-toggle--checkbox-mark-v5180"
15
15
  toggleButtonContainer: R,
16
16
  label: $,
17
17
  layout__inline: E,
18
- "layout__inline-reverse": "ids-toggle--layout__inline-reverse-v5180",
19
- "layout__inline-between": "ids-toggle--layout__inline-between-v5180",
18
+ "layout__inline-reverse": "ids-toggle--layout__inline-reverse-v5200",
19
+ "layout__inline-between": "ids-toggle--layout__inline-between-v5200",
20
20
  layout__stack: G
21
21
  }, O = ({
22
22
  hiddenLabel: o,
@@ -7,7 +7,7 @@ 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-v5180", V = "ids-tooltip--content-v5180", r = {
10
+ const Q = "ids-tooltip-v5200", V = "ids-tooltip--content-v5200", r = {
11
11
  tooltip: Q,
12
12
  content: V
13
13
  }, X = ({
@@ -2,7 +2,7 @@ import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
2
  import { c as r } from "../../../index-2QXL0WYc.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-v5180", f = "ids-validation-message--prefix-v5180", x = "ids-validation-message--message-v5180", p = "ids-validation-message--danger-v5180", u = "ids-validation-message--warning-v5180", N = "ids-validation-message--success-v5180", w = "ids-validation-message--info-v5180", e = {
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 = {
6
6
  validationMessage: v,
7
7
  prefix: f,
8
8
  message: x,
@@ -5,7 +5,7 @@ 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-v5180", I = {
8
+ const v = "ids-validation-summary-v5200", 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.18.0", e = {
1
+ const t = "5.20.0", e = {
2
2
  /**
3
3
  * Extra small breakpoint, for mobile devices
4
4
  */
@@ -1697,7 +1697,7 @@ function nt() {
1697
1697
  }
1698
1698
  export {
1699
1699
  tt as a,
1700
- be as b,
1701
- et as c,
1700
+ et as b,
1701
+ be as c,
1702
1702
  nt as g
1703
1703
  };
@@ -1,5 +1,5 @@
1
1
  import * as r from "react";
2
- import { c as u } from "./index-CmsyHM_3.js";
2
+ import { b as c } from "./index-BQfnxwrU.js";
3
3
  /**
4
4
  * react-table
5
5
  *
@@ -25,7 +25,7 @@ function l(t) {
25
25
  function i(t) {
26
26
  return typeof t == "object" && typeof t.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(t.$$typeof.description);
27
27
  }
28
- function S(t) {
28
+ function b(t) {
29
29
  const e = {
30
30
  state: {},
31
31
  // Dummy state
@@ -35,10 +35,10 @@ function S(t) {
35
35
  renderFallbackValue: null,
36
36
  ...t
37
37
  }, [n] = r.useState(() => ({
38
- current: u(e)
39
- })), [o, c] = r.useState(() => n.current.initialState);
40
- return n.current.setOptions((s) => ({
41
- ...s,
38
+ current: c(e)
39
+ })), [o, s] = r.useState(() => n.current.initialState);
40
+ return n.current.setOptions((u) => ({
41
+ ...u,
42
42
  ...t,
43
43
  state: {
44
44
  ...o,
@@ -47,11 +47,11 @@ function S(t) {
47
47
  // Similarly, we'll maintain both our internal state and any user-provided
48
48
  // state.
49
49
  onStateChange: (a) => {
50
- c(a), t.onStateChange == null || t.onStateChange(a);
50
+ s(a), t.onStateChange == null || t.onStateChange(a);
51
51
  }
52
52
  })), n.current;
53
53
  }
54
54
  export {
55
55
  p as f,
56
- S as u
56
+ b as u
57
57
  };
package/dist/main.js CHANGED
@@ -1,11 +1,11 @@
1
- import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as O, p as d, r as C, q as _, s as A, f as L, t as M, u as N, v as P, w as R, D as c, E as D, x as g, y as G, z as B, A as F, B as U, C as b, F as y, G as v, H as k, J as H, K as V, L as h, M as Y, O as X, T as z, N as Z } from "./LoadingSuspense-ZAaPH398.js";
1
+ import { I as o, a as s, b as t, d as I, c as a, e as p, g as S, h as m, j as x, i as l, k as T, l as f, m as n, n as i, P as E, Q as u, o as O, p as d, r as C, q as _, s as A, f as L, t as M, u as N, v as P, w as R, D as c, E as D, x as g, y as G, z as B, A as F, B as U, C as b, F as y, G as v, H as k, J as H, K as V, L as h, M as Y, O as X, T as z, N as Z } from "./LoadingSuspense-D9nGJ3gx.js";
2
2
  import { ALERT_ICONS as w } from "./components/Alert/Alert.types.js";
3
3
  import { useAutocompleteSearch as W } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
4
4
  import { IressBadge as q } from "./components/Badge/Badge.js";
5
5
  import { BADGE_MODES as $, BadgeMode as ee } from "./components/Badge/Badge.types.js";
6
6
  import { BUTTON_MODES as oe, BUTTON_TYPES as se, ButtonCssClass as te, ButtonMode as Ie, ButtonType as ae } from "./components/Button/Button.types.js";
7
7
  import { IressButtonGroup as Se } from "./components/ButtonGroup/ButtonGroup.js";
8
- import { u as xe } from "./useIDSButtonGroupItem-CS7XOMy8.js";
8
+ import { u as xe } from "./useIDSButtonGroupItem-VfKx4O-O.js";
9
9
  import { CardCssClass as Te, CardSlotClass as fe } from "./components/Card/Card.types.js";
10
10
  import { IressCard as ie } from "./components/Card/Card.js";
11
11
  import { IressButtonCard as ue } from "./components/Card/components/ButtonCard.js";
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "./components/StartUpLoading.js";
3
- import { P as s } from "../../LoadingSuspense-ZAaPH398.js";
3
+ import { P as s } from "../../LoadingSuspense-D9nGJ3gx.js";
4
4
  import "./hooks/useShouldRenderLoading.js";
5
5
  import "./components/LongLoading.js";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { Q as i } from "../../LoadingSuspense-ZAaPH398.js";
3
+ import { Q as i } from "../../LoadingSuspense-D9nGJ3gx.js";
4
4
  import "./hooks/useSuspenseResource.js";
5
5
  export {
6
6
  i as IressLoadingSuspense
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../components/Skeleton/Skeleton.js";
4
- import { ag as e } from "../../../LoadingSuspense-ZAaPH398.js";
5
- import "../../../Loading.module-CnqsvkmD.js";
4
+ import { ag as e } from "../../../LoadingSuspense-D9nGJ3gx.js";
5
+ import "../../../Loading.module-g2pe-Gfx.js";
6
6
  import "../../../index-2QXL0WYc.js";
7
7
  import "../../../components/Text/Text.js";
8
8
  export {
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { ae as e } from "../../../LoadingSuspense-ZAaPH398.js";
3
+ import { ae as e } from "../../../LoadingSuspense-D9nGJ3gx.js";
4
4
  import "../../../components/Text/Text.js";
5
5
  import "../../../index-2QXL0WYc.js";
6
- import "../../../Loading.module-CnqsvkmD.js";
6
+ import "../../../Loading.module-g2pe-Gfx.js";
7
7
  export {
8
8
  e as DefaultLoading
9
9
  };
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as g } from "react/jsx-runtime";
2
2
  import { IressStack as w } from "../../../components/Stack/Stack.js";
3
3
  import { useMemo as f, useId as y } from "react";
4
4
  import { c as h } from "../../../index-2QXL0WYc.js";
5
- import { l as m } from "../../../Loading.module-CnqsvkmD.js";
5
+ import { l as m } from "../../../Loading.module-g2pe-Gfx.js";
6
6
  import { IressText as M } from "../../../components/Text/Text.js";
7
7
  import { IressPanel as S } from "../../../components/Panel/Panel.js";
8
8
  import { IressProgress as j } from "../../../components/Progress/Progress.js";
@@ -10,7 +10,7 @@ import { GlobalCSSClass as L } from "../../../enums.js";
10
10
  import { propagateTestid as O } from "../../../helpers/utility/propagateTestid.js";
11
11
  import { useShowIndicator as C } from "../hooks/useShowIndicator.js";
12
12
  import { useEstimatedProgressValue as G } from "../hooks/useEstimatedProgressValue.js";
13
- const P = "ids-long-loading--root-v5180", V = "ids-long-loading--panel-v5180", B = "ids-long-loading--dots-v5180", E = "ids-long-loading--check-list-v5180", R = "ids-long-loading--check-list-item-v5180", T = "ids-long-loading--check-list-item__done-v5180", U = "ids-long-loading--checked-v5180", $ = "ids-long-loading--checked__circle-v5180", q = "ids-long-loading--checked__check-v5180", s = {
13
+ const P = "ids-long-loading--root-v5200", V = "ids-long-loading--panel-v5200", B = "ids-long-loading--dots-v5200", E = "ids-long-loading--check-list-v5200", R = "ids-long-loading--check-list-item-v5200", T = "ids-long-loading--check-list-item__done-v5200", U = "ids-long-loading--checked-v5200", $ = "ids-long-loading--checked__circle-v5200", q = "ids-long-loading--checked__check-v5200", s = {
14
14
  root: P,
15
15
  panel: V,
16
16
  dots: B,
@@ -3,12 +3,12 @@ import "react";
3
3
  import "../../../components/Stack/Stack.js";
4
4
  import "../../../components/Skeleton/Skeleton.js";
5
5
  import "../../../components/Container/Container.js";
6
- import { ah as n } from "../../../LoadingSuspense-ZAaPH398.js";
6
+ import { ah as n } from "../../../LoadingSuspense-D9nGJ3gx.js";
7
7
  import "../../../components/Col/Col.js";
8
8
  import "../../../components/Divider/Divider.js";
9
9
  import "../../../components/Card/Card.js";
10
10
  import "../../../index-2QXL0WYc.js";
11
- import "../../../Loading.module-CnqsvkmD.js";
11
+ import "../../../Loading.module-g2pe-Gfx.js";
12
12
  export {
13
13
  n as PageLoading
14
14
  };
@@ -3,12 +3,12 @@ import { IressStack as j } from "../../../components/Stack/Stack.js";
3
3
  import { useState as y, useEffect as u, useRef as I, useMemo as T } from "react";
4
4
  import { IressProgress as k } from "../../../components/Progress/Progress.js";
5
5
  import { c as M } from "../../../index-2QXL0WYc.js";
6
- import { l as n } from "../../../Loading.module-CnqsvkmD.js";
6
+ import { l as n } from "../../../Loading.module-g2pe-Gfx.js";
7
7
  import { IressText as v } from "../../../components/Text/Text.js";
8
8
  import { propagateTestid as O } from "../../../helpers/utility/propagateTestid.js";
9
9
  import { useShowIndicator as E } from "../hooks/useShowIndicator.js";
10
10
  import { useEstimatedProgressValue as R } from "../hooks/useEstimatedProgressValue.js";
11
- const H = "ids-start-up-loading--root-v5180", P = "ids-start-up-loading--progress-v5180", h = {
11
+ const H = "ids-start-up-loading--root-v5200", P = "ids-start-up-loading--progress-v5200", h = {
12
12
  root: H,
13
13
  progress: P
14
14
  }, U = ({
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
- import { af as d } from "../../../LoadingSuspense-ZAaPH398.js";
2
+ import { af as d } from "../../../LoadingSuspense-D9nGJ3gx.js";
3
3
  import "../../../index-2QXL0WYc.js";
4
4
  import "react";
5
5
  import "../../../components/Text/Text.js";
6
- import "../../../Loading.module-CnqsvkmD.js";
6
+ import "../../../Loading.module-g2pe-Gfx.js";
7
7
  export {
8
8
  d as ValidateLoading
9
9
  };
@@ -1,4 +1,4 @@
1
- import { P as a, Q as o } from "../../LoadingSuspense-ZAaPH398.js";
1
+ import { P as a, Q as o } from "../../LoadingSuspense-D9nGJ3gx.js";
2
2
  export {
3
3
  a as IressLoading,
4
4
  o as IressLoadingSuspense
@@ -4,4 +4,4 @@ import { IressFormFieldProps } from './FormField.types';
4
4
  * A `IressField` wrapper that can show error message and label automatically inside an `IressForm`.
5
5
  * It uses the `useController` hook from `react-hook-form` for form management.
6
6
  */
7
- export declare const IressFormField: <TFieldValues extends FieldValues>({ control, defaultValue, name, render, rules: withCustomRules, shouldUnregister, readOnly, ...fieldProps }: IressFormFieldProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const IressFormField: <TFieldValues extends FieldValues>({ control: controlProp, defaultValue, name, render, rules: withCustomRules, shouldUnregister, readOnly, ...fieldProps }: IressFormFieldProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
@@ -11,7 +11,7 @@ export type CustomRules<T extends FieldValues = FieldValues> = UseControllerProp
11
11
  minDate?: Date | CustomRuleWithMessage<Date>;
12
12
  maxDate?: Date | CustomRuleWithMessage<Date>;
13
13
  };
14
- export interface IressFormFieldProps<T extends FieldValues = FieldValues, TName extends FieldPath<T> = FieldPath<T>> extends Omit<IressFieldProps, OmittedFieldProps>, Omit<UseControllerProps<T, FieldPath<T>>, 'disabled'> {
14
+ export interface IressFormFieldProps<T extends FieldValues = FieldValues, TName extends FieldPath<T> = FieldPath<T>> extends Omit<IressFieldProps, OmittedFieldProps>, Omit<UseControllerProps<T, FieldPath<T>>, 'disabled' | 'shouldUnregister'> {
15
15
  /**
16
16
  * React Hook Form control object. It is used to register the field with the form.
17
17
  * It is automatically provided when used inside an `IressForm`, but it can be overridden if you are using a custom form control.
@@ -41,10 +41,16 @@ export interface IressFormFieldProps<T extends FieldValues = FieldValues, TName
41
41
  rules?: CustomRules<T>;
42
42
  /**
43
43
  * Input will be unregistered after unmount and defaultValues will be removed as well (it will not be stored in the form state).
44
+ * You can pass an object to keep some form state available after unregistering, such as dirty fields.
44
45
  *
45
46
  * [Learn more](https://react-hook-form.com/docs/usecontroller)
46
47
  */
47
- shouldUnregister?: boolean;
48
+ shouldUnregister?: boolean | {
49
+ keepDirty?: boolean;
50
+ keepTouched?: boolean;
51
+ keepIsValid?: boolean;
52
+ keepError?: boolean;
53
+ };
48
54
  /**
49
55
  * Text to be displayed instead of input field.
50
56
  */
@@ -154,7 +154,7 @@ export interface PopoverRef extends Pick<PopoverContextValue, 'setShow' | 'show'
154
154
  }
155
155
  export interface PopoverVirtualNode {
156
156
  onBlur?: React.KeyboardEventHandler<HTMLElement>;
157
- onKeyDown?: React.KeyboardEventHandler<HTMLElement>;
157
+ onKeyDown?: (e: React.KeyboardEvent<HTMLElement>, popover?: PopoverContextValue) => void;
158
158
  }
159
159
  /** @deprecated PopoverType enum is now deprecated and will be removed in a future version. Please use the PopoverTypes type instead. **/
160
160
  export declare enum PopoverType {
@@ -72,6 +72,11 @@ export interface IressRichSelectProps extends Omit<AutocompleteSearchHookProps,
72
72
  * Completely customise the rendering of the select options.
73
73
  */
74
74
  renderOptions?: (props: SelectOptionsRenderProps) => ReactNode;
75
+ /**
76
+ * Render a custom footer below the default options display.
77
+ * If using `renderOptions`, this render prop will not be called.
78
+ */
79
+ renderOptionsFooter?: (props: SelectOptionsRenderProps) => ReactNode;
75
80
  /**
76
81
  * Whether its required. Will be passed to the hidden input.
77
82
  */
@@ -1,8 +1,8 @@
1
1
  import { IressRichSelectProps, SelectOptionsRenderProps } from '../RichSelect.types';
2
- interface SelectOptionsProps extends Pick<IressRichSelectProps, 'autoHighlight' | 'minSearchLength' | 'multiSelect' | 'onChange' | 'options' | 'renderOptions' | 'value' | 'initialOptions'>, Omit<SelectOptionsRenderProps, 'close'> {
2
+ interface SelectOptionsProps extends Pick<IressRichSelectProps, 'autoHighlight' | 'minSearchLength' | 'multiSelect' | 'onChange' | 'options' | 'renderOptions' | 'renderOptionsFooter' | 'value' | 'initialOptions'>, Omit<SelectOptionsRenderProps, 'close'> {
3
3
  setShow: (show: boolean) => void;
4
4
  shouldShowInstructions?: boolean;
5
5
  shouldShowNoResults?: boolean;
6
6
  }
7
- export declare const SelectOptions: ({ autoHighlight, debouncedQuery, error, initialOptions: initialOptionsProp, loading, minSearchLength, multiSelect, onChange, options, query, renderOptions, results, setQuery, setShow, setValue, show, value, shouldShowInstructions, shouldShowNoResults, }: SelectOptionsProps) => string | number | boolean | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
7
+ export declare const SelectOptions: ({ autoHighlight, debouncedQuery, error, initialOptions: initialOptionsProp, loading, minSearchLength, multiSelect, onChange, options, query, renderOptions, renderOptionsFooter, results, setQuery, setShow, setValue, show, value, shouldShowInstructions, shouldShowNoResults, }: SelectOptionsProps) => string | number | boolean | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
8
8
  export {};
@@ -1,6 +1,7 @@
1
- import { IressTableProps, TableScope } from './Table.types';
2
- export declare const IressTable: {
3
- <TRow extends object = never, TVal = never>({ caption, children, columns, compact, className, "data-testid": dataTestId, empty, hiddenCaption, hiddenHeader, hover, rowProps, rows, scope, ...restProps }: IressTableProps<TRow, TVal>): import("react/jsx-runtime").JSX.Element;
4
- /** @deprecated IressTable.Scope enum is now deprecated and will be removed in a future version. Please use the value directly instead. **/
5
- Scope: typeof TableScope;
6
- };
1
+ import { IressTableProps, TableEnums, TableExports, TableRef } from './Table.types';
2
+ import { ReactElement, Ref } from 'react';
3
+ declare const ForwardedTable: <TRow extends object = never, TVal = never>(props: IressTableProps<TRow, TVal> & {
4
+ ref?: Ref<TableRef<TRow>>;
5
+ }) => ReactElement;
6
+ export declare const IressTable: typeof ForwardedTable & TableEnums & TableExports;
7
+ export {};
@@ -168,7 +168,16 @@ export interface TableColumnStylesHook {
168
168
  className: string;
169
169
  style: React.CSSProperties;
170
170
  }
171
- export interface TableWithEnums<TRow extends object, TVal = unknown> extends React.FC<IressTableProps<TRow, TVal>> {
171
+ export interface TableRef<TRow extends object> {
172
+ api: Table<TRow>;
173
+ }
174
+ export interface TableExports {
175
+ /**
176
+ * Allows you to access the table context within a child of the `IressTable`.
177
+ */
178
+ useTable: <TRow extends object, TVal = never>() => TableContextValue<TRow, TVal>;
179
+ }
180
+ export interface TableEnums {
172
181
  /** @deprecated IressTable.Scope enum is now deprecated and will be removed in a future version. Please use the value directly instead. **/
173
182
  Scope: typeof TableScope;
174
183
  }
@@ -1,2 +1,5 @@
1
- import { IressTableProviderProps } from './Table.types';
2
- export declare const IressTableProvider: <TRow extends object, TVal = unknown>({ children, columns, rows, }: IressTableProviderProps<TRow, TVal>) => import("react/jsx-runtime").JSX.Element;
1
+ import { ReactElement, Ref } from 'react';
2
+ import { IressTableProviderProps, TableRef } from './Table.types';
3
+ export declare const IressTableProvider: <TRow extends object = never, TVal = never>(props: IressTableProviderProps<TRow, TVal> & {
4
+ ref?: Ref<TableRef<TRow>>;
5
+ }) => ReactElement;