@iress-oss/ids-components 6.0.1 → 6.2.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 (283) hide show
  1. package/.ai/components/select.md +16 -0
  2. package/dist/Autocomplete-DKufjQU5.js +324 -0
  3. package/dist/{Button-bZPKq0ue.js → Button-BY2qzshw.js} +4 -4
  4. package/dist/{Provider-DvnuqPfQ.js → Provider-BNuRw7ck.js} +2 -2
  5. package/dist/Shadow-DAfthdT2.js +57 -0
  6. package/dist/{Slideout-RnRSkJsj.js → Slideout-BOH2gwIN.js} +3 -3
  7. package/dist/{Table.styles-BLO9zGfS.js → Table.styles-CKD_vWqh.js} +3 -3
  8. package/dist/TableProvider-C8bDaWu2.js +80 -0
  9. package/dist/{TableRows-B3nZnazw.js → TableRows-DXoiLfwt.js} +3 -4
  10. package/dist/{Text.styles-C0D5aEE_.js → Text.styles-DUvXBRio.js} +2 -2
  11. package/dist/components/Alert/Alert.js +4 -4
  12. package/dist/components/Alert/Alert.styles.js +1 -1
  13. package/dist/components/Autocomplete/Autocomplete.d.ts +1 -1
  14. package/dist/components/Autocomplete/Autocomplete.js +1 -1
  15. package/dist/components/Autocomplete/Autocomplete.styles.js +1 -1
  16. package/dist/components/Autocomplete/components/AutocompleteInstructions.js +4 -1
  17. package/dist/components/Autocomplete/hooks/useAutocompleteSearch.d.ts +7 -2
  18. package/dist/components/Autocomplete/hooks/useAutocompleteSearch.js +1 -1
  19. package/dist/components/Autocomplete/index.js +2 -2
  20. package/dist/components/Avatar/Avatar.js +3 -3
  21. package/dist/components/Avatar/Avatar.styles.js +1 -1
  22. package/dist/components/Avatar/AvatarGroup/AvatarGroup.js +3 -3
  23. package/dist/components/Avatar/AvatarGroup/AvatarGroup.styles.js +1 -1
  24. package/dist/components/Button/Button.js +1 -1
  25. package/dist/components/Button/CloseButton/CloseButton.js +2 -2
  26. package/dist/components/Button/index.js +1 -1
  27. package/dist/components/ButtonGroup/ButtonGroup.js +4 -4
  28. package/dist/components/ButtonGroup/ButtonGroup.styles.js +1 -1
  29. package/dist/components/Card/Card.js +3 -3
  30. package/dist/components/Card/Card.styles.js +1 -1
  31. package/dist/components/Checkbox/Checkbox.js +4 -4
  32. package/dist/components/Checkbox/Checkbox.styles.js +1 -1
  33. package/dist/components/CheckboxGroup/CheckboxGroup.js +1 -1
  34. package/dist/components/CheckboxGroup/CheckboxGroup.styles.js +1 -1
  35. package/dist/components/CheckboxMark/CheckboxMark.js +3 -3
  36. package/dist/components/CheckboxMark/CheckboxMark.styles.js +1 -1
  37. package/dist/components/Col/Col.js +2 -2
  38. package/dist/components/Col/Col.styles.js +1 -1
  39. package/dist/components/Container/Container.js +2 -2
  40. package/dist/components/Container/Container.styles.js +1 -1
  41. package/dist/components/Divider/Divider.js +3 -3
  42. package/dist/components/Divider/Divider.styles.js +1 -1
  43. package/dist/components/Expander/Expander.js +4 -4
  44. package/dist/components/Expander/Expander.styles.js +1 -1
  45. package/dist/components/ExpanderChevron/ExpanderChevron.js +1 -1
  46. package/dist/components/ExpanderChevron/ExpanderChevron.styles.js +1 -1
  47. package/dist/components/Field/Field.js +51 -51
  48. package/dist/components/Field/Field.styles.d.ts +1 -1
  49. package/dist/components/Field/Field.styles.js +7 -1
  50. package/dist/components/Field/components/FieldFooter.js +3 -3
  51. package/dist/components/Field/components/FieldHint.js +29 -21
  52. package/dist/components/Field/index.d.ts +0 -2
  53. package/dist/components/Field/index.js +1 -3
  54. package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.js +9 -9
  55. package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.styles.d.ts +1 -1
  56. package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.styles.js +2 -2
  57. package/dist/components/FieldGroup/index.d.ts +2 -0
  58. package/dist/components/FieldGroup/index.js +3 -0
  59. package/dist/components/Hide/Hide.js +1 -1
  60. package/dist/components/Hide/helpers/normaliseHideValues.js +1 -1
  61. package/dist/components/Icon/Icon.constants.js +1 -1
  62. package/dist/components/Icon/Icon.js +5 -5
  63. package/dist/components/Icon/Icon.styles.js +1 -1
  64. package/dist/components/Icon/IconProvider.js +2 -2
  65. package/dist/components/Icon/helpers/getMaterialSymbolsList.js +1 -1
  66. package/dist/components/Icon/hooks/useDynamicFontSubsetting.js +56 -39
  67. package/dist/components/Icon/index.js +1 -1
  68. package/dist/components/Image/Image.js +2 -2
  69. package/dist/components/Image/Image.styles.js +1 -1
  70. package/dist/components/Inline/Inline.js +2 -2
  71. package/dist/components/Inline/Inline.styles.js +1 -1
  72. package/dist/components/Input/Input.js +4 -4
  73. package/dist/components/Input/Input.styles.d.ts +4 -4
  74. package/dist/components/Input/Input.styles.js +5 -5
  75. package/dist/components/Input/InputBase/InputBase.js +1 -1
  76. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  77. package/dist/components/Label/Label.styles.js +1 -1
  78. package/dist/components/Label/LabelBase/LabelBase.js +2 -2
  79. package/dist/components/Link/Link.js +3 -3
  80. package/dist/components/Link/Link.styles.d.ts +1 -0
  81. package/dist/components/Link/Link.styles.js +5 -2
  82. package/dist/components/Menu/Menu.js +84 -80
  83. package/dist/components/Menu/Menu.styles.js +8 -1
  84. package/dist/components/Menu/MenuDivider/MenuDivider.js +1 -1
  85. package/dist/components/Menu/MenuGroup/MenuGroup.d.ts +18 -3
  86. package/dist/components/Menu/MenuGroup/MenuGroup.js +39 -35
  87. package/dist/components/Menu/MenuGroup/MenuGroup.styles.js +1 -1
  88. package/dist/components/Menu/MenuHeading/MenuHeading.d.ts +20 -0
  89. package/dist/components/Menu/MenuHeading/MenuHeading.js +14 -0
  90. package/dist/components/Menu/MenuItem/MenuItem.js +4 -4
  91. package/dist/components/Menu/MenuItem/MenuItem.styles.js +10 -1
  92. package/dist/components/Menu/MenuText/MenuText.d.ts +1 -5
  93. package/dist/components/Menu/MenuText/MenuText.js +14 -20
  94. package/dist/components/Menu/index.d.ts +1 -0
  95. package/dist/components/Menu/index.js +4 -3
  96. package/dist/components/Modal/Modal.js +6 -6
  97. package/dist/components/Modal/Modal.styles.js +1 -1
  98. package/dist/components/Panel/Panel.js +1 -1
  99. package/dist/components/Pill/Pill.js +4 -4
  100. package/dist/components/Pill/Pill.styles.js +1 -1
  101. package/dist/components/Placeholder/Placeholder.js +1 -1
  102. package/dist/components/Placeholder/Placeholder.styles.js +1 -1
  103. package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
  104. package/dist/components/Popover/Popover.js +4 -4
  105. package/dist/components/Popover/Popover.styles.js +1 -1
  106. package/dist/components/Popover/components/PopoverContent.js +54 -44
  107. package/dist/components/Popover/helpers/handlePopoverTabKey.js +2 -2
  108. package/dist/components/Popover/hooks/useFloatingPopover.js +1 -1
  109. package/dist/components/Popover/hooks/usePopoverItem.js +1 -1
  110. package/dist/components/Popover/hooks/usePopoverNavigation.js +1 -1
  111. package/dist/components/Progress/Progress.js +5 -5
  112. package/dist/components/Progress/Progress.styles.js +1 -1
  113. package/dist/components/Provider/Provider.js +1 -1
  114. package/dist/components/Provider/index.js +1 -1
  115. package/dist/components/Radio/Radio.js +4 -4
  116. package/dist/components/Radio/Radio.styles.js +1 -1
  117. package/dist/components/RadioGroup/RadioGroup.js +2 -2
  118. package/dist/components/RadioGroup/RadioGroup.styles.js +1 -1
  119. package/dist/components/RadioMark/RadioMark.js +3 -3
  120. package/dist/components/RadioMark/RadioMark.styles.js +1 -1
  121. package/dist/components/Readonly/Readonly.js +4 -4
  122. package/dist/components/Readonly/Readonly.styles.js +1 -1
  123. package/dist/components/Row/Row.js +2 -2
  124. package/dist/components/Row/Row.styles.js +1 -1
  125. package/dist/components/Select/Select.d.ts +6 -0
  126. package/dist/components/Select/Select.js +1 -1
  127. package/dist/components/Select/Select.styles.js +1 -1
  128. package/dist/components/Select/SelectBody/SelectBody.js +1 -1
  129. package/dist/components/Select/SelectBody/SelectBody.styles.js +1 -1
  130. package/dist/components/Select/SelectHeading/SelectHeading.js +7 -7
  131. package/dist/components/Select/SelectLabel/SelectLabel.js +1 -1
  132. package/dist/components/Select/SelectLabel/SelectLabel.styles.js +1 -1
  133. package/dist/components/Select/SelectMenu/SelectMenu.js +1 -1
  134. package/dist/components/Select/SelectMenu/SelectMenu.styles.js +1 -1
  135. package/dist/components/Select/SelectMenu/SelectMenuItem.js +1 -1
  136. package/dist/components/Select/SelectSearch/SelectSearch.js +1 -1
  137. package/dist/components/Select/SelectSearch/SelectSearch.styles.js +1 -1
  138. package/dist/components/Select/SelectSearchInput/SelectSearchInput.js +1 -1
  139. package/dist/components/Select/SelectSearchInput/SelectSearchInput.styles.js +1 -1
  140. package/dist/components/Select/SelectTags/SelectTags.js +17 -17
  141. package/dist/components/Select/SelectTags/SelectTags.styles.js +1 -1
  142. package/dist/components/Select/components/NativeSelect.js +3 -3
  143. package/dist/components/Select/components/NativeSelect.styles.d.ts +1 -1
  144. package/dist/components/Select/components/NativeSelect.styles.js +2 -2
  145. package/dist/components/Select/components/SelectOptions.d.ts +2 -2
  146. package/dist/components/Select/components/SelectOptions.js +117 -98
  147. package/dist/components/Select/index.js +1 -1
  148. package/dist/components/Skeleton/Skeleton.js +1 -1
  149. package/dist/components/Skeleton/Skeleton.styles.js +1 -1
  150. package/dist/components/SkipLink/SkipLink.js +2 -2
  151. package/dist/components/SkipLink/SkipLink.styles.js +1 -1
  152. package/dist/components/Slideout/Slideout.js +1 -1
  153. package/dist/components/Slideout/Slideout.styles.js +2 -1
  154. package/dist/components/Slideout/components/SlideoutInner.js +2 -2
  155. package/dist/components/Slideout/hooks/usePushElement.js +1 -1
  156. package/dist/components/Slideout/index.js +1 -1
  157. package/dist/components/Slider/Slider.js +3 -3
  158. package/dist/components/Slider/Slider.styles.js +1 -1
  159. package/dist/components/Slider/components/SliderTicks.js +2 -2
  160. package/dist/components/Spinner/Spinner.js +1 -1
  161. package/dist/components/Spinner/Spinner.styles.js +2 -2
  162. package/dist/components/Stack/Stack.js +2 -2
  163. package/dist/components/Stack/Stack.styles.js +1 -1
  164. package/dist/components/Styled/Styled.js +1 -1
  165. package/dist/components/TabSet/Tab/Tab.js +3 -3
  166. package/dist/components/TabSet/Tab/Tab.styles.js +1 -1
  167. package/dist/components/TabSet/TabSet.d.ts +6 -1
  168. package/dist/components/TabSet/TabSet.js +39 -35
  169. package/dist/components/TabSet/TabSet.styles.d.ts +1 -1
  170. package/dist/components/TabSet/TabSet.styles.js +14 -2
  171. package/dist/components/Table/Table.js +1 -1
  172. package/dist/components/Table/Table.styles.js +1 -1
  173. package/dist/components/Table/TableBody/TableBody.js +1 -1
  174. package/dist/components/Table/TableProvider.js +2 -43
  175. package/dist/components/Table/components/TableEmpty.js +1 -1
  176. package/dist/components/Table/components/TableFilterButton.js +1 -1
  177. package/dist/components/Table/components/TableHeader.js +1 -1
  178. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  179. package/dist/components/Table/components/TableRows.js +1 -1
  180. package/dist/components/Table/components/TableSortButton.js +1 -1
  181. package/dist/components/Table/helpers/composeTableColumnDefs.js +1 -1
  182. package/dist/components/Table/helpers/composeTableInitialColumnFilters.js +1 -1
  183. package/dist/components/Table/hooks/useTable.js +1 -1
  184. package/dist/components/Table/hooks/useTableColumnFilter.js +2 -2
  185. package/dist/components/Table/hooks/useTableColumnSort.js +1 -1
  186. package/dist/components/Table/hooks/useTableColumnStyles.js +4 -4
  187. package/dist/components/Table/index.js +2 -2
  188. package/dist/components/Tag/Tag.js +3 -3
  189. package/dist/components/Tag/Tag.styles.d.ts +14 -14
  190. package/dist/components/Tag/Tag.styles.js +17 -17
  191. package/dist/components/Tag/index.d.ts +0 -1
  192. package/dist/components/Tag/index.js +1 -2
  193. package/dist/components/{Tag/TagInput → TagInput}/TagInput.d.ts +1 -1
  194. package/dist/components/{Tag/TagInput → TagInput}/TagInput.js +7 -7
  195. package/dist/components/TagInput/TagInput.styles.d.ts +1 -0
  196. package/dist/components/{Tag/TagInput → TagInput}/TagInput.styles.js +2 -2
  197. package/dist/components/TagInput/index.d.ts +2 -0
  198. package/dist/components/TagInput/index.js +3 -0
  199. package/dist/components/Text/Text.js +3 -3
  200. package/dist/components/Text/Text.styles.js +1 -1
  201. package/dist/components/Text/index.js +1 -1
  202. package/dist/components/Toaster/Toaster.js +3 -3
  203. package/dist/components/Toaster/Toaster.styles.js +1 -1
  204. package/dist/components/Toaster/components/Toast/Toast.js +2 -2
  205. package/dist/components/Toaster/components/Toast/Toast.styles.js +1 -1
  206. package/dist/components/Toggle/Toggle.js +3 -3
  207. package/dist/components/Toggle/Toggle.styles.js +1 -1
  208. package/dist/components/Tooltip/Tooltip.d.ts +7 -2
  209. package/dist/components/Tooltip/Tooltip.js +50 -44
  210. package/dist/components/Tooltip/Tooltip.styles.js +1 -1
  211. package/dist/components/Tooltip/TooltipProvider.d.ts +27 -0
  212. package/dist/components/Tooltip/TooltipProvider.js +14 -0
  213. package/dist/components/Tooltip/hooks/useTooltipContainer.d.ts +17 -0
  214. package/dist/components/Tooltip/hooks/useTooltipContainer.js +5 -0
  215. package/dist/components/Tooltip/index.d.ts +4 -0
  216. package/dist/components/Tooltip/index.js +4 -2
  217. package/dist/components/ValidationMessage/ValidationLink/ValidationLink.js +1 -1
  218. package/dist/components/ValidationMessage/ValidationMessage.js +5 -5
  219. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
  220. package/dist/{composeTableColumnDefs-B1U_Snxq.js → composeTableColumnDefs-DzUn8D5f.js} +230 -266
  221. package/dist/constants.js +1 -1
  222. package/dist/{create-recipe-CYwSzH6a.js → create-recipe-A316lnq3.js} +3 -3
  223. package/dist/{css-D3KwXbP0.js → css-R34N3rft.js} +32 -32
  224. package/dist/{cva-BWFp4eLV.js → cva-DcOwIar2.js} +2 -2
  225. package/dist/{factory-sKbby7-S.js → factory-BKr3zaf6.js} +4 -4
  226. package/dist/{floating-ui.react-COiJC198.js → floating-ui.react-TDMXDOBr.js} +50 -50
  227. package/dist/helpers/dom/focusableElements.js +1 -1
  228. package/dist/helpers/label-value/highlightQueryInLabel.js +378 -2
  229. package/dist/helpers/label-value/highlightQueryInLabelValue.js +1 -1
  230. package/dist/helpers/label-value/searchLabelValues.js +3 -2
  231. package/dist/helpers/styling/iressCss.js +1 -1
  232. package/dist/hooks/useBreakpoint.js +1 -1
  233. package/dist/hooks/useResponsiveProps.js +1 -1
  234. package/dist/index.d-BITk11Vr.js +4 -0
  235. package/dist/{index.esm-CmxdHJYy.js → index.esm-CapMi3wi.js} +2 -2
  236. package/dist/{is-valid-prop-BoZ7GJt2.js → is-valid-prop-BVyYPT21.js} +1 -1
  237. package/dist/{main-BpD96KHv.js → main-TklToXNs.js} +24 -25
  238. package/dist/main.d.ts +2 -0
  239. package/dist/main.js +130 -126
  240. package/dist/patterns/Breadcrumbs/Breadcrumbs.js +2 -2
  241. package/dist/patterns/Breadcrumbs/Breadcrumbs.styles.js +1 -1
  242. package/dist/patterns/ContextualMenu/ContextualMenu.js +5 -5
  243. package/dist/patterns/ContextualMenu/ContextualMenu.styles.js +1 -1
  244. package/dist/patterns/DropdownMenu/DropdownMenu.js +119 -107
  245. package/dist/patterns/DropdownMenu/DropdownMenu.styles.js +1 -1
  246. package/dist/patterns/DropdownMenu/hooks/useDropdownMenuFlags.d.ts +1 -0
  247. package/dist/patterns/DropdownMenu/hooks/useDropdownMenuFlags.js +1 -0
  248. package/dist/patterns/Form/Form.styles.js +1 -1
  249. package/dist/patterns/Form/FormField/FormFieldset.d.ts +1 -1
  250. package/dist/patterns/Form/FormField/FormFieldset.js +1 -1
  251. package/dist/patterns/Form/FormField/helpers/getErrorTypeMessage.js +2 -2
  252. package/dist/patterns/Form/FormField/helpers/transformCustomRulesToValidateRule.js +5 -5
  253. package/dist/patterns/Form/FormValidationSummary/FormValidationSummary.js +2 -1
  254. package/dist/patterns/Form/HookForm/HookForm.js +2 -2
  255. package/dist/patterns/Form/components/LongForm.js +4 -2
  256. package/dist/patterns/Form/components/ShortForm.js +2 -1
  257. package/dist/patterns/Loading/Loading.styles.d.ts +3 -0
  258. package/dist/patterns/Loading/Loading.styles.js +5 -2
  259. package/dist/patterns/Loading/components/ComponentLoading.js +4 -4
  260. package/dist/patterns/Loading/components/DefaultLoading.js +2 -2
  261. package/dist/patterns/Loading/components/LongLoading.js +4 -4
  262. package/dist/patterns/Loading/components/PageLoading.js +6 -6
  263. package/dist/patterns/Loading/components/StartUpLoading.js +2 -2
  264. package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
  265. package/dist/patterns/Shadow/Shadow.js +1 -1
  266. package/dist/patterns/Shadow/index.js +1 -1
  267. package/dist/patterns/SideNav/SideNav.d.ts +6 -0
  268. package/dist/patterns/SideNav/SideNav.js +78 -72
  269. package/dist/patterns/SideNav/SideNav.styles.js +7 -3
  270. package/dist/rolldown-runtime-3b4jIN3o.js +13 -0
  271. package/dist/style.css +1 -1
  272. package/dist/{sva-DOLIp5Dd.js → sva-DGhdmNso.js} +3 -3
  273. package/dist/{useAutocompleteSearch-BJ_hhoKp.js → useAutocompleteSearch-BYzUn7Ag.js} +49 -43
  274. package/package.json +16 -16
  275. package/dist/Autocomplete-CuUjmIAw.js +0 -308
  276. package/dist/Shadow-OHZiBoEb.js +0 -57
  277. package/dist/components/Tag/TagInput/TagInput.styles.d.ts +0 -1
  278. package/dist/highlightQueryInLabel-BLIy9JHT.js +0 -386
  279. package/dist/index.d-CLYyYDIv.js +0 -4
  280. /package/dist/components/{Field/FieldGroup → FieldGroup}/FieldGroup.d.ts +0 -0
  281. /package/dist/{constants-D0UW4Ewm.js → constants-DJz-xntC.js} +0 -0
  282. /package/dist/{cx-CZ8IJJTy.js → cx-QcEwjve6.js} +0 -0
  283. /package/dist/{tokens-CG_Rn1W3.js → tokens-DQsbW5to.js} +0 -0
@@ -1,155 +1,167 @@
1
- import { t as e } from "../../css-D3KwXbP0.js";
2
- import { t } from "../../cx-CZ8IJJTy.js";
3
- import { n } from "../../is-valid-prop-BoZ7GJt2.js";
4
- import { GlobalCSSClass as r } from "../../enums.js";
5
- import { IressIcon as i } from "../../components/Icon/Icon.js";
6
- import { t as a } from "../../Button-bZPKq0ue.js";
1
+ import { t as e } from "../../css-R34N3rft.js";
2
+ import { t } from "../../cx-QcEwjve6.js";
3
+ import { n } from "../../is-valid-prop-BVyYPT21.js";
4
+ import { GlobalCSSClass as ee } from "../../enums.js";
5
+ import { IressIcon as r } from "../../components/Icon/Icon.js";
6
+ import { t as i } from "../../Button-BY2qzshw.js";
7
+ import { IressText as a } from "../../components/Text/Text.js";
7
8
  import { propagateTestid as o } from "../../helpers/utility/propagateTestid.js";
8
- import { toArray as s } from "../../helpers/formatting/toArray.js";
9
- import { useControlledState as c } from "../../hooks/useControlledState.js";
10
- import { useIdIfNeeded as ee } from "../../hooks/useIdIfNeeded.js";
11
- import { IressPopover as l } from "../../components/Popover/Popover.js";
12
- import { usePopoverItem as u } from "../../components/Popover/hooks/usePopoverItem.js";
13
- import { t as d } from "../../useAutocompleteSearch-BJ_hhoKp.js";
14
- import { IressDivider as f } from "../../components/Divider/Divider.js";
15
- import { IressSelectMenu as p } from "../../components/Select/SelectMenu/SelectMenu.js";
16
- import { IressSelectSearchInput as m } from "../../components/Select/SelectSearchInput/SelectSearchInput.js";
17
- import { IressStyled as h } from "../../components/Styled/Styled.js";
18
- import { dropdownMenu as g } from "./DropdownMenu.styles.js";
19
- import { useDropdownMenuFlags as te } from "./hooks/useDropdownMenuFlags.js";
20
- import { forwardRef as _, useImperativeHandle as v, useMemo as y, useRef as b, useState as x } from "react";
21
- import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
9
+ import { IressSpinner as s } from "../../components/Spinner/Spinner.js";
10
+ import { toArray as c } from "../../helpers/formatting/toArray.js";
11
+ import { useControlledState as l } from "../../hooks/useControlledState.js";
12
+ import { useIdIfNeeded as u } from "../../hooks/useIdIfNeeded.js";
13
+ import { IressPopover as d } from "../../components/Popover/Popover.js";
14
+ import { usePopoverItem as f } from "../../components/Popover/hooks/usePopoverItem.js";
15
+ import { t as te } from "../../useAutocompleteSearch-BYzUn7Ag.js";
16
+ import { IressDivider as ne } from "../../components/Divider/Divider.js";
17
+ import { IressInline as re } from "../../components/Inline/Inline.js";
18
+ import { IressSelectMenu as ie } from "../../components/Select/SelectMenu/SelectMenu.js";
19
+ import { IressSelectSearchInput as ae } from "../../components/Select/SelectSearchInput/SelectSearchInput.js";
20
+ import { IressStyled as p } from "../../components/Styled/Styled.js";
21
+ import { dropdownMenu as m } from "./DropdownMenu.styles.js";
22
+ import { useDropdownMenuFlags as h } from "./hooks/useDropdownMenuFlags.js";
23
+ import { forwardRef as g, useImperativeHandle as _, useMemo as v, useRef as y, useState as b } from "react";
24
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
22
25
  //#region src/patterns/DropdownMenu/DropdownMenu.tsx
23
- var T = g.raw(), E = g(), D = _((e, t) => {
24
- let n = b(null), { isActiveInPopover: r, ...i } = u();
25
- return v(t, () => n.current), /* @__PURE__ */ C(a, {
26
+ var oe = m.raw(), w = m(), se = g((e, t) => {
27
+ let n = y(null), { isActiveInPopover: ee, ...r } = f();
28
+ return _(t, () => n.current), /* @__PURE__ */ S(i, {
26
29
  ...e,
27
- ...i,
28
- className: E.reset,
30
+ ...r,
31
+ className: w.reset,
29
32
  mode: "quaternary",
30
33
  ref: (e) => {
31
- n.current = e, i?.ref?.(n.current);
34
+ n.current = e, r?.ref?.(n.current);
32
35
  }
33
36
  });
34
- }), O = _(({ activatorStyle: a = {}, align: u = "bottom-start", container: g, className: _, "data-testid": O, defaultSelected: ne, debounceThreshold: re, footer: ie, header: ae, label: k, id: oe, initialOptions: se, inputProps: ce = {
37
+ }), T = g(({ activatorStyle: i = {}, align: f = "bottom-start", container: m, className: g, "data-testid": T, defaultSelected: ce, debounceThreshold: le, footer: ue, header: de, label: E, id: fe, initialOptions: pe, loadingDelay: D, inputProps: O = {
35
38
  clearable: !0,
36
- prepend: /* @__PURE__ */ C(i, { name: "search" })
37
- }, limitDesktop: le = 12, limitMobile: A = 6, multiSelect: j, onChange: M, onReset: N, options: P, searchable: F, searchNoResultsText: I, selected: L, selectedOptionsText: R = " ({{numOptions}})", visibleResetButton: z, ...B }, V) => {
38
- let H = ee({ id: oe }), U = `${H}-sr-text`, W = b(null), G = y(() => F ?? typeof P == "function", [P, F]), ue = {
39
+ prepend: /* @__PURE__ */ S(r, { name: "search" })
40
+ }, limitDesktop: k = 12, limitMobile: A = 6, multiSelect: j, onChange: M, onReset: N, options: P, searchable: F, searchNoResultsText: I, selected: L, selectedOptionsText: R = " ({{numOptions}})", visibleResetButton: z, ...B }, me) => {
41
+ let V = u({ id: fe }), H = `${V}-sr-text`, U = y(null), W = v(() => F ?? typeof P == "function", [P, F]), he = {
39
42
  clearable: !0,
40
- prepend: /* @__PURE__ */ C(i, { name: "search" }),
41
- ...ce
42
- }, { value: K, setValue: de } = c({
43
+ prepend: /* @__PURE__ */ S(r, { name: "search" }),
44
+ ...O
45
+ }, { value: G, setValue: K } = l({
43
46
  component: "IressDropdownMenu",
44
- defaultValue: ne,
47
+ defaultValue: ce,
45
48
  value: L
46
- }), [fe, q] = x(""), [J, Y] = x(!1), [pe, me] = y(() => n(B), [B]), [he, ge] = y(() => n(a), [a]), _e = (e) => {
49
+ }), [ge, q] = b(""), [J, Y] = b(!1), [_e, ve] = v(() => n(B), [B]), [ye, be] = v(() => n(i), [i]), xe = (e) => {
47
50
  q(e.target.value);
48
- }, ve = () => {
51
+ }, Se = () => {
49
52
  q("");
50
- }, ye = (e) => {
51
- e && (M?.(e), de(e), j || Y(!1));
52
- }, be = () => {
53
- N?.(), j || Y(!1);
53
+ }, Ce = (e) => {
54
+ e && (M?.(e), K(e), j || Y(!1));
55
+ }, X = () => {
56
+ K(void 0), N?.(), j || Y(!1);
54
57
  };
55
- v(V, () => ({
56
- ...W.current,
58
+ _(me, () => ({
59
+ ...U.current,
57
60
  clearSearch: () => q("")
58
61
  }));
59
- let { debouncedQuery: xe, loading: X, results: Z, shouldShowInstructions: Q, shouldShowDebounceWaiting: Se, shouldShowNoResults: Ce } = d({
60
- debounceThreshold: re,
61
- initialOptions: se ?? (typeof P == "function" ? void 0 : P),
62
+ let { debouncedQuery: we, loading: Z, results: Q, shouldShowInstructions: Te, shouldShowDebounceWaiting: Ee, shouldShowNoResults: De } = te({
63
+ debounceThreshold: le,
64
+ initialOptions: pe ?? (typeof P == "function" ? void 0 : P),
65
+ loadingDelay: D,
62
66
  options: P,
63
- query: fe
64
- }), $ = te({
65
- debouncedQuery: xe,
66
- loading: X,
67
- results: Z,
68
- searchable: G,
69
- shouldShowInstructions: Q,
70
- shouldShowDebounceWaiting: Se,
71
- shouldShowNoResults: Ce,
67
+ query: ge
68
+ }), $ = h({
69
+ debouncedQuery: we,
70
+ loading: Z,
71
+ results: Q,
72
+ searchable: W,
73
+ shouldShowInstructions: Te,
74
+ shouldShowDebounceWaiting: Ee,
75
+ shouldShowNoResults: De,
72
76
  visibleResetButton: z
73
- }), we = y(() => {
74
- let e = s(K);
75
- return j ? /* @__PURE__ */ w(S, { children: [k, R.replace("{{numOptions}}", e.length.toString())] }) : e[0]?.label ?? k;
77
+ }), Oe = v(() => {
78
+ let e = c(G);
79
+ return j ? /* @__PURE__ */ C(x, { children: [E, R.replace("{{numOptions}}", e.length.toString())] }) : e[0]?.label ?? E;
76
80
  }, [
77
- K,
81
+ G,
78
82
  j,
79
- k,
83
+ E,
80
84
  R
81
- ]), Te = y(() => X ? "loading" : J && !Z.length ? I : J && Z.length ? `${Z.length} results` : k, [
82
- k,
83
- X,
84
- Z.length,
85
+ ]), ke = v(() => Z ? "loading" : J && !Q.length ? I : J && Q.length ? `${Q.length} results` : E, [
86
+ E,
87
+ Z,
88
+ Q.length,
85
89
  I,
86
90
  J
87
91
  ]);
88
- return /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w(l, {
92
+ return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(d, {
89
93
  matchActivatorWidth: !0,
90
- ...me,
91
- activator: /* @__PURE__ */ C("button", {
92
- ...ge,
93
- "aria-describedby": U,
94
- "data-testid": a?.["data-testid"] ?? o(O, "activator-button__button"),
94
+ ...ve,
95
+ activator: /* @__PURE__ */ S("button", {
96
+ ...be,
97
+ "aria-describedby": H,
98
+ "data-testid": i?.["data-testid"] ?? o(T, "activator-button__button"),
95
99
  onClick: () => Y(!0),
96
- className: t(a?.className, e(T.activator, he)),
97
- children: we
100
+ className: t(i?.className, e(oe.activator, ye)),
101
+ children: Oe
98
102
  }),
99
- align: u,
100
- className: t(_, e(pe), E.root, r.Filter),
101
- container: g,
103
+ align: f,
104
+ className: t(g, e(_e), w.root, ee.Filter),
105
+ container: m,
102
106
  contentStyle: {
103
- className: E.popoverContent,
107
+ className: w.popoverContent,
104
108
  p: "none"
105
109
  },
106
- "data-testid": O,
107
- id: H,
110
+ "data-testid": T,
111
+ id: V,
108
112
  show: J,
109
113
  onActivated: () => Y(!0),
110
114
  onDeactivated: () => Y(!1),
111
- ref: W,
115
+ ref: U,
112
116
  type: "listbox",
113
117
  children: [
114
- ae,
115
- $.showHeader && /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ w(h, {
116
- className: E.searchHeader,
117
- children: [G && /* @__PURE__ */ C(m, {
118
- ...ue,
118
+ de,
119
+ $.showHeader && /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ C(p, {
120
+ className: w.searchHeader,
121
+ children: [W && /* @__PURE__ */ S(ae, {
122
+ ...he,
119
123
  role: "searchbox",
120
- className: E.searchInput,
121
- "data-testid": o(O, "input"),
122
- loading: X,
123
- onChange: _e,
124
- onClear: ve
125
- }), z && K && /* @__PURE__ */ C(D, {
126
- "data-testid": o(O, "reset-button"),
127
- onClick: be,
124
+ className: w.searchInput,
125
+ "data-testid": o(T, "input"),
126
+ onChange: xe,
127
+ onClear: Se
128
+ }), z && G && /* @__PURE__ */ S(se, {
129
+ "data-testid": o(T, "reset-button"),
130
+ onClick: X,
128
131
  children: typeof z == "string" ? z : "Reset filter"
129
132
  })]
130
- }), $.showResults && /* @__PURE__ */ C(f, {})] }),
131
- $.showResults && /* @__PURE__ */ C(p, {
132
- className: E.optionList,
133
- "data-testid": o(O, "menu"),
134
- items: Z,
135
- limitDesktop: le,
133
+ }), $.showResults && /* @__PURE__ */ S(ne, {})] }),
134
+ $.showResults && /* @__PURE__ */ S(ie, {
135
+ className: w.optionList,
136
+ "data-testid": o(T, "menu"),
137
+ items: Q,
138
+ limitDesktop: k,
136
139
  limitMobile: A,
137
140
  multiSelect: j,
138
- onChange: ye,
139
- selected: K
141
+ onChange: Ce,
142
+ selected: G
143
+ }),
144
+ $.showLoading && /* @__PURE__ */ C(re, {
145
+ gap: "sm",
146
+ verticalAlign: "middle",
147
+ p: "spacing.3",
148
+ children: [/* @__PURE__ */ S(s, { color: "colour.neutral.70" }), /* @__PURE__ */ S(a, {
149
+ color: "colour.neutral.70",
150
+ children: "Loading results..."
151
+ })]
140
152
  }),
141
- $.showNoResults && /* @__PURE__ */ C("div", {
142
- className: E.noResults,
153
+ $.showNoResults && /* @__PURE__ */ S("div", {
154
+ className: w.noResults,
143
155
  children: I
144
156
  }),
145
- ie
157
+ ue
146
158
  ]
147
- }), /* @__PURE__ */ C(h, {
159
+ }), /* @__PURE__ */ S(p, {
148
160
  srOnly: !0,
149
- id: U,
150
- children: Te
161
+ id: H,
162
+ children: ke
151
163
  })] });
152
164
  });
153
- O.displayName = "IressDropdownMenu";
165
+ T.displayName = "IressDropdownMenu";
154
166
  //#endregion
155
- export { O as IressDropdownMenu };
167
+ export { T as IressDropdownMenu };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../sva-DOLIp5Dd.js";
1
+ import { t as e } from "../../sva-DGhdmNso.js";
2
2
  //#region src/patterns/DropdownMenu/DropdownMenu.styles.ts
3
3
  var t = e({
4
4
  slots: [
@@ -2,6 +2,7 @@ import { AutocompleteSearchHookReturn } from '../../../components/Autocomplete';
2
2
  import { IressDropdownMenuProps } from '../DropdownMenu';
3
3
  export declare const useDropdownMenuFlags: ({ debouncedQuery, loading, results, searchable, visibleResetButton, }: Omit<AutocompleteSearchHookReturn, "clearError" | "error" | "startSearch" | "stopSearch"> & Pick<IressDropdownMenuProps, "searchable" | "visibleResetButton">) => {
4
4
  showHeader: string | boolean | undefined;
5
+ showLoading: boolean;
5
6
  showNoResults: string | false;
6
7
  showResults: boolean;
7
8
  };
@@ -4,6 +4,7 @@ var t = ({ debouncedQuery: t, loading: n, results: r, searchable: i, visibleRese
4
4
  let o = e(() => i || a, [i, a]), s = e(() => !!r.length, [r]);
5
5
  return {
6
6
  showHeader: o,
7
+ showLoading: e(() => n && !r.length, [n, r.length]),
7
8
  showNoResults: e(() => r.length === 0 && !n && t, [
8
9
  t,
9
10
  n,
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../sva-DOLIp5Dd.js";
1
+ import { t as e } from "../../sva-DGhdmNso.js";
2
2
  //#region src/patterns/Form/Form.styles.ts
3
3
  var t = e({
4
4
  slots: [
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Control, FieldPath, FieldPathValue, FieldValues, UseControllerProps } from 'react-hook-form';
3
- import { IressFieldGroupProps } from '../../../components/Field';
3
+ import { IressFieldGroupProps } from '../../../components/FieldGroup';
4
4
  import { CustomRules } from './helpers/transformCustomRulesToValidateRule';
5
5
  import { FormFieldRenderProps } from './FormField';
6
6
  export interface IressFormFieldsetProps<T extends FieldValues = FieldValues, TName extends FieldPath<T> = FieldPath<T>> extends Omit<IressFieldGroupProps, 'children' | 'htmlFor' | 'required' | 'join' | 'inline'>, Omit<UseControllerProps<T, FieldPath<T>>, 'disabled'> {
@@ -1,5 +1,5 @@
1
1
  import { FormContext as e } from "../FormContext.js";
2
- import { IressFieldGroup as t } from "../../../components/Field/FieldGroup/FieldGroup.js";
2
+ import { IressFieldGroup as t } from "../../../components/FieldGroup/FieldGroup.js";
3
3
  import { getErrorTypeMessage as n } from "./helpers/getErrorTypeMessage.js";
4
4
  import { transformCustomRulesToValidateRule as r } from "./helpers/transformCustomRulesToValidateRule.js";
5
5
  import { useFieldRenderProps as i } from "./hooks/useFieldRenderProps.js";
@@ -2,9 +2,9 @@ import { stringReplacer as e } from "../../../../helpers/formatting/stringReplac
2
2
  //#region src/patterns/Form/FormField/helpers/getErrorTypeMessage.ts
3
3
  var t = /* @__PURE__ */ function(e) {
4
4
  return e.required = "Please fill out this field", e.maxLength = "Please shorten this text to {{attrValue}} characters or less", e.minLength = "Please lengthen this text to {{attrValue}} characters or more", e.max = "Please enter a value less than or equal to {{attrValue}}", e.min = "Please enter a value greater than or equal to {{attrValue}}", e.minDate = "Please enter a date that is on or after {{attrValue}}", e.maxDate = "Please enter a date that is on or before {{attrValue}}", e.pattern = "Please match the requested format", e.email = "Please enter a valid email address", e.validate = "Please enter a valid value", e;
5
- }({}), n = (n, r, i, a = "") => n || `${a}${r ? e(t[r] ?? t.validate, [{
5
+ }({}), n = (n, r, i, a = "") => n || `${a}${r ? e(t[r] ?? "Please enter a valid value", [{
6
6
  name: "{{attrValue}}",
7
7
  value: String(i?.[r])
8
- }]) : t.validate}`;
8
+ }]) : "Please enter a valid value"}`;
9
9
  //#endregion
10
10
  export { t as FormFieldErrorMessages, n as getErrorTypeMessage };
@@ -5,15 +5,15 @@ var t = ({ email: t, minDate: n, maxDate: r, validate: i, ...a }) => {
5
5
  let o = i ?? {};
6
6
  if (t && (o.email = (e) => {
7
7
  if (!e) return !0;
8
- let n = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, r = typeof t == "string" ? t : !1;
8
+ let n = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/, r = typeof t == "string" && t;
9
9
  return n.test(e) || r;
10
10
  }), n) {
11
- let t = "value" in n ? n.value : n, r = "message" in n ? n.message : !1;
12
- o.minDate = (n) => n ? e(n) >= t || r : !0;
11
+ let t = "value" in n ? n.value : n, r = "message" in n && n.message;
12
+ o.minDate = (n) => !n || e(n) >= t || r;
13
13
  }
14
14
  if (r) {
15
- let t = "value" in r ? r.value : r, n = "message" in r ? r.message : !1;
16
- o.maxDate = (r) => r ? e(r) <= t || n : !0;
15
+ let t = "value" in r ? r.value : r, n = "message" in r && r.message;
16
+ o.maxDate = (r) => !r || e(r) <= t || n;
17
17
  }
18
18
  return {
19
19
  ...a,
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../factory-BKr3zaf6.js";
2
2
  import { propagateTestid as t } from "../../../helpers/utility/propagateTestid.js";
3
3
  import { IressAlert as n } from "../../../components/Alert/Alert.js";
4
4
  import { FormContext as r } from "../FormContext.js";
@@ -42,6 +42,7 @@ var c = e("div", { base: {
42
42
  role: "none",
43
43
  status: "danger",
44
44
  variant: g,
45
+ multiLine: !0,
45
46
  children: /* @__PURE__ */ s(i, {
46
47
  ..._,
47
48
  "data-testid": t(u, "messages"),
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
2
- import { t } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
+ import { t } from "../../../factory-BKr3zaf6.js";
3
3
  import { GlobalCSSClass as n } from "../../../enums.js";
4
4
  import { propagateTestid as r } from "../../../helpers/utility/propagateTestid.js";
5
5
  import { useIdIfNeeded as i } from "../../../hooks/useIdIfNeeded.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
2
  import { IressText as t } from "../../../components/Text/Text.js";
3
3
  import { IressPanel as n } from "../../../components/Panel/Panel.js";
4
4
  import { IressInline as r } from "../../../components/Inline/Inline.js";
@@ -7,7 +7,7 @@ import { IressHookForm as a } from "../HookForm/HookForm.js";
7
7
  import { forwardRef as o, useMemo as s } from "react";
8
8
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
9
  import { useForm as u } from "react-hook-form";
10
- var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, context: h, defaultValues: g, delayError: _, footer: v, heading: y, mode: b = "onBlur", panelStyle: x = { bg: "alt" }, progressive: S, resetOptions: C, resolver: w, reValidateMode: T = "onChange", shouldUseNativeValidation: E, shouldUnregister: D, sticky: O = !1, values: k, ...A }, j) => {
10
+ var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, context: h, defaultValues: g, delayError: _, footer: v, heading: y, mode: b = "onBlur", panelStyle: x = { p: "spacing.0" }, progressive: S, resetOptions: C, resolver: w, reValidateMode: T = "onChange", shouldUseNativeValidation: E, shouldUnregister: D, sticky: O = !1, values: k, ...A }, j) => {
11
11
  let M = u({
12
12
  criteriaMode: m,
13
13
  context: h,
@@ -40,6 +40,7 @@ var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, c
40
40
  horizontalAlign: "between",
41
41
  verticalAlign: "bottom",
42
42
  className: N.header,
43
+ noWrap: !0,
43
44
  children: [P, /* @__PURE__ */ c("div", {
44
45
  className: N.actions,
45
46
  children: o
@@ -48,6 +49,7 @@ var d = o(({ actions: o, alert: d, children: f, className: p, criteriaMode: m, c
48
49
  /* @__PURE__ */ l(n, {
49
50
  ...x,
50
51
  className: e(N.children, x.className),
52
+ noBorder: !0,
51
53
  children: [d, f]
52
54
  }),
53
55
  v && /* @__PURE__ */ c("div", {
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
2
  import { IressText as t } from "../../../components/Text/Text.js";
3
3
  import { form as n } from "../Form.styles.js";
4
4
  import { IressHookForm as r } from "../HookForm/HookForm.js";
@@ -22,6 +22,7 @@ var l = i(({ actions: i, alert: l, children: u, className: d, criteriaMode: f, c
22
22
  values: w
23
23
  }), O = n({ pattern: "short" }), k = a(() => typeof g == "string" ? /* @__PURE__ */ o(t, {
24
24
  element: "h2",
25
+ mb: "spacing.4",
25
26
  children: g
26
27
  }) : g, [g]);
27
28
  return /* @__PURE__ */ s(r, {
@@ -37,6 +37,9 @@ export declare const loading: import('../../styled-system/types').SlotRecipeRunt
37
37
  opacity: number;
38
38
  transition: "[opacity 0.3s ease-in-out]";
39
39
  zIndex: "100";
40
+ display: "inline-flex";
41
+ alignItems: "center";
42
+ gap: "spacing.2";
40
43
  };
41
44
  overlay: {
42
45
  position: "absolute";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../sva-DOLIp5Dd.js";
1
+ import { t as e } from "../../sva-DGhdmNso.js";
2
2
  //#region src/patterns/Loading/Loading.styles.ts
3
3
  var t = e({
4
4
  slots: [
@@ -37,7 +37,10 @@ var t = e({
37
37
  borderRadius: "radius.system.tag",
38
38
  opacity: 0,
39
39
  transition: "[opacity 0.3s ease-in-out]",
40
- zIndex: "100"
40
+ zIndex: "100",
41
+ display: "inline-flex",
42
+ alignItems: "center",
43
+ gap: "spacing.2"
41
44
  },
42
45
  overlay: {
43
46
  position: "absolute",
@@ -1,7 +1,7 @@
1
- import { t as e } from "../../../css-D3KwXbP0.js";
2
- import { t } from "../../../cx-CZ8IJJTy.js";
3
- import { n } from "../../../is-valid-prop-BoZ7GJt2.js";
4
- import { t as r } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../css-R34N3rft.js";
2
+ import { t } from "../../../cx-QcEwjve6.js";
3
+ import { n } from "../../../is-valid-prop-BVyYPT21.js";
4
+ import { t as r } from "../../../factory-BKr3zaf6.js";
5
5
  import { IressSpinner as i } from "../../../components/Spinner/Spinner.js";
6
6
  import { IressSkeleton as a } from "../../../components/Skeleton/Skeleton.js";
7
7
  import { loading as o } from "../Loading.styles.js";
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
2
- import { t } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
+ import { t } from "../../../factory-BKr3zaf6.js";
3
3
  import { IressText as n } from "../../../components/Text/Text.js";
4
4
  import { IressSpinner as r } from "../../../components/Spinner/Spinner.js";
5
5
  import { IressInline as i } from "../../../components/Inline/Inline.js";
@@ -1,7 +1,7 @@
1
- import { t as e } from "../../../css-D3KwXbP0.js";
2
- import { t } from "../../../cx-CZ8IJJTy.js";
3
- import { n } from "../../../is-valid-prop-BoZ7GJt2.js";
4
- import { t as r } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../css-R34N3rft.js";
2
+ import { t } from "../../../cx-QcEwjve6.js";
3
+ import { n } from "../../../is-valid-prop-BVyYPT21.js";
4
+ import { t as r } from "../../../factory-BKr3zaf6.js";
5
5
  import { IressText as i } from "../../../components/Text/Text.js";
6
6
  import { propagateTestid as a } from "../../../helpers/utility/propagateTestid.js";
7
7
  import { IressPanel as o } from "../../../components/Panel/Panel.js";
@@ -1,9 +1,9 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
2
- import { t } from "../../../factory-sKbby7-S.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
+ import { t } from "../../../factory-BKr3zaf6.js";
3
3
  import { propagateTestid as n } from "../../../helpers/utility/propagateTestid.js";
4
4
  import { IressCard as r } from "../../../components/Card/Card.js";
5
- import { IressInline as i } from "../../../components/Inline/Inline.js";
6
- import { IressDivider as a } from "../../../components/Divider/Divider.js";
5
+ import { IressDivider as i } from "../../../components/Divider/Divider.js";
6
+ import { IressInline as a } from "../../../components/Inline/Inline.js";
7
7
  import { IressCol as o } from "../../../components/Col/Col.js";
8
8
  import { IressContainer as s } from "../../../components/Container/Container.js";
9
9
  import { IressStack as c } from "../../../components/Stack/Stack.js";
@@ -75,7 +75,7 @@ var _ = () => /* @__PURE__ */ h(o, {
75
75
  children: [/* @__PURE__ */ h(u, {
76
76
  textStyle: "typography.heading.1",
77
77
  width: "25%"
78
- }), /* @__PURE__ */ g(i, {
78
+ }), /* @__PURE__ */ g(a, {
79
79
  gap: "lg",
80
80
  children: [/* @__PURE__ */ h(u, {
81
81
  textStyle: "typography.heading.4",
@@ -86,7 +86,7 @@ var _ = () => /* @__PURE__ */ h(o, {
86
86
  })]
87
87
  })]
88
88
  }),
89
- /* @__PURE__ */ h(a, {}),
89
+ /* @__PURE__ */ h(i, {}),
90
90
  /* @__PURE__ */ g(l, {
91
91
  gutter: "lg",
92
92
  children: [
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../css-D3KwXbP0.js";
2
- import { t } from "../../../cx-CZ8IJJTy.js";
1
+ import { t as e } from "../../../css-R34N3rft.js";
2
+ import { t } from "../../../cx-QcEwjve6.js";
3
3
  import { IressText as n } from "../../../components/Text/Text.js";
4
4
  import { propagateTestid as r } from "../../../helpers/utility/propagateTestid.js";
5
5
  import { IressProgress as i } from "../../../components/Progress/Progress.js";
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../cx-CZ8IJJTy.js";
2
- import { t } from "../../../factory-sKbby7-S.js";
3
- import { t as n } from "../../../Button-bZPKq0ue.js";
1
+ import { t as e } from "../../../cx-QcEwjve6.js";
2
+ import { t } from "../../../factory-BKr3zaf6.js";
3
+ import { t as n } from "../../../Button-BY2qzshw.js";
4
4
  import { loading as r } from "../Loading.styles.js";
5
5
  import { useEffect as i, useState as a } from "react";
6
6
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Shadow-OHZiBoEb.js";
1
+ import { t as e } from "../../Shadow-DAfthdT2.js";
2
2
  export { e as IressShadow };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../Shadow-OHZiBoEb.js";
1
+ import { t as e } from "../../Shadow-DAfthdT2.js";
2
2
  export { e as IressShadow };
@@ -30,6 +30,12 @@ export interface SideNavSideMenuGroup {
30
30
  children: SideNavSubItem[];
31
31
  /** Whether this drawer is active/expanded. */
32
32
  active?: boolean;
33
+ /** URL for the group activator link. */
34
+ href?: string;
35
+ /** Custom element type for third-party routing libraries. */
36
+ element?: ElementType;
37
+ /** Optional click handler for the group activator. */
38
+ onClick?: MouseEventHandler;
33
39
  }
34
40
  /**
35
41
  * A panel content entry — either a flat item or a group of items.