@midas-ds/components 17.23.7 → 17.23.9

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 (101) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/accordion/index.js +1 -1
  3. package/badge/index.js +1 -1
  4. package/breadcrumbs/index.js +1 -1
  5. package/button/index.js +1 -1
  6. package/calendar/index.js +1 -1
  7. package/card/index.js +1 -1
  8. package/checkbox/index.js +1 -1
  9. package/chunks/{FeedbackStatusIcon-A1trvSCf.js → FeedbackStatusIcon-BS5VX-s6.js} +4 -4
  10. package/chunks/{accordion-CcRZQ3sN.js → accordion-BxxPnJau.js} +5 -5
  11. package/chunks/{arrow-right-7yeXXFNV.js → arrow-right-Db_H9KjE.js} +1 -1
  12. package/chunks/{badge-DwPG4Jz8.js → badge-BplGU5BS.js} +1 -1
  13. package/chunks/{breadcrumbs-XTH3axtt.js → breadcrumbs-C-Z6UlQn.js} +1 -1
  14. package/chunks/{button-CFjf-bDe.js → button-Ch860h28.js} +3 -3
  15. package/chunks/{calendar-C0rlcHfr.js → calendar-R7x0m8ch.js} +6 -6
  16. package/chunks/{card-Dpx9A9Ro.js → card-Bzc8kToe.js} +4 -4
  17. package/chunks/{check-BiPE7lAA.js → check-DV00NPU0.js} +1 -1
  18. package/chunks/{checkbox-Bj-P9WYH.js → checkbox-BjPgN3h_.js} +12 -12
  19. package/chunks/{chevron-down-Buf0eTzo.js → chevron-down-CP7nEDei.js} +1 -1
  20. package/chunks/{chevron-right-DJ7qKNKG.js → chevron-right-DwqboCdU.js} +1 -1
  21. package/chunks/{clear-button-Cb4MTvBR.js → clear-button-la4Fb9_w.js} +3 -3
  22. package/chunks/{clsx-BtlV5Vo3.js → clsx-B1NYyfch.js} +2 -2
  23. package/chunks/{color-scheme-switch-FjmPZdE4.js → color-scheme-switch-jgoxUu3x.js} +8 -8
  24. package/chunks/{combobox-C1dZD0c7.js → combobox-DDO4fEtI.js} +8 -8
  25. package/chunks/{createLucideIcon-DhIhuN5D.js → createLucideIcon-BgluSHFG.js} +1 -1
  26. package/chunks/{date-field-CkL0qbpM.js → date-field-DG5TYsTF.js} +6 -6
  27. package/chunks/{date-picker-CD15o56d.js → date-picker-1W7OmCT0.js} +10 -10
  28. package/chunks/{field-error-DYp2kgFr.js → field-error-pJiSw4PN.js} +2 -2
  29. package/chunks/{file-list-DYOuch5G.js → file-list-DM1Vtkun.js} +4 -4
  30. package/chunks/{file-upload-CZRTVw5O.js → file-upload-DInuSFCB.js} +1 -1
  31. package/chunks/{grid-CUYMbO7c.js → grid-DZB3GGDg.js} +1 -1
  32. package/chunks/{heading-595zCrRS.js → heading-bnDePIbv.js} +1 -1
  33. package/chunks/{icons-Dw_ZbztW.js → icons-UBHIX2oV.js} +1 -1
  34. package/chunks/{info-banner-hHq0Atii.js → info-banner-DnFNZ1_o.js} +5 -5
  35. package/chunks/{info-Bm2gRija.js → info-jCyacVsy.js} +1 -1
  36. package/chunks/{label-BKaJ7cXX.js → label-CEYHiWSa.js} +6 -6
  37. package/chunks/{layout-DibnX6Za.js → layout-DVj8wSj3.js} +9 -9
  38. package/chunks/{link-CZNuhFX6.js → link-CQoSw1Pv.js} +5 -5
  39. package/chunks/{link-button-ZsK6UGko.js → link-button-BMFzCHH8.js} +5 -5
  40. package/chunks/{list-box-DvX6VTa1.js → list-box-VdBVTwZK.js} +6 -6
  41. package/chunks/{logo-D7tz-4hp.js → logo-CDxNjDeI.js} +2 -2
  42. package/chunks/{menu-CB6VDQ-u.js → menu-CPCGm0MC.js} +3 -3
  43. package/chunks/{modal-Dr0ythpF.js → modal-C-xHt7Ds.js} +6 -6
  44. package/chunks/{popover-BTJ1dvWc.js → popover-wAwxm_cM.js} +1 -1
  45. package/chunks/{progress-bar-DTm2orq7.js → progress-bar-Cft_RPHz.js} +2 -2
  46. package/chunks/{radio-DeK1SK_e.js → radio-DmCYqo3Z.js} +4 -4
  47. package/chunks/{search-field-CQwe74Bd.js → search-field-d7FV4Kuv.js} +9 -9
  48. package/chunks/{select-C-Pu74Uq.js → select-CZklrPAQ.js} +12 -12
  49. package/chunks/{skeleton-OqKFBcmO.js → skeleton-DWmvym7R.js} +1 -1
  50. package/chunks/{spinner-C3WiZYld.js → spinner-DMR5G-6u.js} +3 -3
  51. package/chunks/{square-arrow-out-up-right-Bobm4VNc.js → square-arrow-out-up-right-DkgXD7hj.js} +1 -1
  52. package/chunks/{table-BDG9pACN.js → table-BrA5r_BP.js} +3 -3
  53. package/chunks/{tabs-C08F_2gW.js → tabs-BFFTnO4i.js} +2 -2
  54. package/chunks/{tag-CELJrUEQ.js → tag-mzNjP8EX.js} +3 -3
  55. package/chunks/{text-mAeDlv5N.js → text-EUdAWwZz.js} +1 -1
  56. package/chunks/{textfield-B2fUOuhs.js → textfield-BsijPPRD.js} +9 -9
  57. package/chunks/{time-field-BL8LO0Bv.js → time-field-BlNUOjUJ.js} +7 -7
  58. package/chunks/{toast-AYzfHBcQ.js → toast-Cz0JDIr1.js} +4 -4
  59. package/chunks/{toggle-button-DlPo9GJW.js → toggle-button-BgUQKcK-.js} +1 -1
  60. package/chunks/{tooltip-BE_r_CBm.js → tooltip-D7LYQwj0.js} +2 -2
  61. package/chunks/{useLocalizedStringFormatter-bRLuRzVD.js → useLocalizedStringFormatter-CeyBc0x0.js} +1 -1
  62. package/chunks/{x-Bs_QW3q8.js → x-BJAOO5a5.js} +1 -1
  63. package/clear-button/index.js +1 -1
  64. package/color-scheme-switch/index.js +1 -1
  65. package/combobox/index.js +1 -1
  66. package/date-field/index.js +1 -1
  67. package/date-picker/index.js +1 -1
  68. package/field-error/index.js +1 -1
  69. package/file-list/index.js +1 -1
  70. package/file-upload/index.js +1 -1
  71. package/grid/index.js +1 -1
  72. package/heading/index.js +1 -1
  73. package/icons/index.js +1 -1
  74. package/index.js +48 -50
  75. package/info-banner/index.js +1 -1
  76. package/label/index.js +1 -1
  77. package/layout/index.js +1 -1
  78. package/link/index.js +1 -1
  79. package/link-button/index.js +1 -1
  80. package/list-box/ListBox.stories.d.ts +3 -2
  81. package/list-box/index.js +1 -1
  82. package/logo/index.js +1 -1
  83. package/menu/index.js +1 -1
  84. package/modal/index.js +1 -1
  85. package/package.json +3 -5
  86. package/popover/index.js +1 -1
  87. package/progress-bar/index.js +1 -1
  88. package/radio/index.js +1 -1
  89. package/search-field/index.js +1 -1
  90. package/select/index.js +1 -1
  91. package/skeleton/index.js +1 -1
  92. package/spinner/index.js +1 -1
  93. package/table/index.js +1 -1
  94. package/tabs/index.js +1 -1
  95. package/tag/index.js +1 -1
  96. package/text/index.js +1 -1
  97. package/textfield/index.js +1 -1
  98. package/time-field/index.js +1 -1
  99. package/toast/index.js +1 -1
  100. package/toggle-button/index.js +1 -1
  101. package/tooltip/index.js +1 -1
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
2
  import { forwardRef as t } from "react";
3
3
  import { OverlayArrow as n, Popover as r, PopoverContext as i, composeRenderProps as a, useContextProps as o } from "react-aria-components";
4
4
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
2
- import { t } from "./label-BKaJ7cXX.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t } from "./label-CEYHiWSa.js";
3
3
  import "react";
4
4
  import { ProgressBar as n } from "react-aria-components";
5
5
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-BtlV5Vo3.js";
3
- import { t } from "./text-mAeDlv5N.js";
4
- import { t as n } from "./field-error-DYp2kgFr.js";
5
- import { n as r, t as i } from "./label-BKaJ7cXX.js";
2
+ import { t as e } from "./clsx-B1NYyfch.js";
3
+ import { t } from "./text-EUdAWwZz.js";
4
+ import { t as n } from "./field-error-pJiSw4PN.js";
5
+ import { n as r, t as i } from "./label-CEYHiWSa.js";
6
6
  import "react";
7
7
  import { Group as a, Radio as o, RadioGroup as s, composeRenderProps as c } from "react-aria-components";
8
8
  import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-BtlV5Vo3.js";
3
- import { t } from "./createLucideIcon-DhIhuN5D.js";
4
- import { t as n } from "./x-Bs_QW3q8.js";
5
- import { t as r } from "./useLocalizedStringFormatter-bRLuRzVD.js";
6
- import { n as i } from "./button-CFjf-bDe.js";
7
- import { t as a } from "./text-mAeDlv5N.js";
8
- import { t as o } from "./field-error-DYp2kgFr.js";
9
- import { n as s, t as c } from "./label-BKaJ7cXX.js";
2
+ import { t as e } from "./clsx-B1NYyfch.js";
3
+ import { t } from "./createLucideIcon-BgluSHFG.js";
4
+ import { t as n } from "./x-BJAOO5a5.js";
5
+ import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
6
+ import { n as i } from "./button-Ch860h28.js";
7
+ import { t as a } from "./text-EUdAWwZz.js";
8
+ import { t as o } from "./field-error-pJiSw4PN.js";
9
+ import { n as s, t as c } from "./label-CEYHiWSa.js";
10
10
  import { t as l } from "./TextField.module-D_tUnemB.js";
11
11
  import { FormContext as u, Input as d, SearchField as f, useSlottedContext as p } from "react-aria-components";
12
12
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -31,7 +31,7 @@ import '../assets/search-field.css';var _ = t("search", [["path", {
31
31
  sv: { search: "Sök" }
32
32
  };
33
33
  //#endregion
34
- //#region packages/components/src/search-field/SearchField.tsx
34
+ //#region src/search-field/SearchField.tsx
35
35
  function b(e) {
36
36
  return !!e?.length;
37
37
  }
@@ -1,14 +1,14 @@
1
- import { n as e, t } from "./clsx-BtlV5Vo3.js";
2
- import { t as n } from "./chevron-down-Buf0eTzo.js";
3
- import { n as r } from "./checkbox-Bj-P9WYH.js";
4
- import { t as i } from "./x-Bs_QW3q8.js";
5
- import { t as a } from "./useLocalizedStringFormatter-bRLuRzVD.js";
6
- import { t as o } from "./text-mAeDlv5N.js";
7
- import { t as s } from "./field-error-DYp2kgFr.js";
8
- import { n as c, t as l } from "./label-BKaJ7cXX.js";
9
- import { t as u } from "./popover-BTJ1dvWc.js";
10
- import { c as d } from "./list-box-DvX6VTa1.js";
11
- import { n as f, r as p, t as m } from "./tag-CELJrUEQ.js";
1
+ import { n as e, t } from "./clsx-B1NYyfch.js";
2
+ import { t as n } from "./chevron-down-CP7nEDei.js";
3
+ import { n as r } from "./checkbox-BjPgN3h_.js";
4
+ import { t as i } from "./x-BJAOO5a5.js";
5
+ import { t as a } from "./useLocalizedStringFormatter-CeyBc0x0.js";
6
+ import { t as o } from "./text-EUdAWwZz.js";
7
+ import { t as s } from "./field-error-pJiSw4PN.js";
8
+ import { n as c, t as l } from "./label-CEYHiWSa.js";
9
+ import { t as u } from "./popover-wAwxm_cM.js";
10
+ import { c as d } from "./list-box-VdBVTwZK.js";
11
+ import { n as f, r as p, t as m } from "./tag-mzNjP8EX.js";
12
12
  import h, { useContext as g } from "react";
13
13
  import { Button as _, Select as v, SelectStateContext as y, SelectValue as b } from "react-aria-components";
14
14
  import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
@@ -126,7 +126,7 @@ import '../assets/select.css';var E = {
126
126
  });
127
127
  };
128
128
  //#endregion
129
- //#region packages/components/src/select/Select.tsx
129
+ //#region src/select/Select.tsx
130
130
  function N({ children: e, description: n, errorMessage: r, errorPosition: i = "top", items: a, label: f, popover: p, popoverProps: m, listBoxProps: h, size: g = "large", ..._ }) {
131
131
  return /* @__PURE__ */ S(w, { children: /* @__PURE__ */ C(v, {
132
132
  ..._,
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
2
  import "react";
3
3
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
4
  import '../assets/skeleton.css';var r = {
@@ -1,6 +1,6 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
2
- import { t } from "./createLucideIcon-DhIhuN5D.js";
3
- import { t as n } from "./useLocalizedStringFormatter-bRLuRzVD.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t } from "./createLucideIcon-BgluSHFG.js";
3
+ import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import { VisuallyHidden as a } from "react-aria";
6
6
  import '../assets/spinner.css';var o = {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DhIhuN5D.js";
1
+ import { t as e } from "./createLucideIcon-BgluSHFG.js";
2
2
  var t = e("square-arrow-out-up-right", [
3
3
  ["path", {
4
4
  d: "M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-BtlV5Vo3.js";
3
- import { t } from "./createLucideIcon-DhIhuN5D.js";
4
- import { n } from "./checkbox-Bj-P9WYH.js";
2
+ import { t as e } from "./clsx-B1NYyfch.js";
3
+ import { t } from "./createLucideIcon-BgluSHFG.js";
4
+ import { n } from "./checkbox-BjPgN3h_.js";
5
5
  import { Button as r, Cell as i, Collection as a, Column as o, Row as s, Table as c, TableBody as l, TableHeader as u, useTableOptions as d } from "react-aria-components";
6
6
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
7
7
  import '../assets/table.css';var h = t("arrow-down", [["path", {
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-BtlV5Vo3.js";
2
+ import { t as e } from "./clsx-B1NYyfch.js";
3
3
  import * as t from "react";
4
4
  import { createContext as n } from "react";
5
5
  import { DialogContext as r, SelectionIndicator as i, Tab as a, TabList as o, TabPanel as s, Tabs as c, composeRenderProps as l } from "react-aria-components";
6
6
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
7
- import '../assets/tabs.css';//#region packages/components/src/tabs/TabsContext.ts
7
+ import '../assets/tabs.css';//#region src/tabs/TabsContext.ts
8
8
  var p = n({
9
9
  variant: "uncontained",
10
10
  size: "large"
@@ -1,6 +1,6 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
2
- import { t } from "./x-Bs_QW3q8.js";
3
- import { n } from "./button-CFjf-bDe.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t } from "./x-BJAOO5a5.js";
3
+ import { n } from "./button-Ch860h28.js";
4
4
  import { Children as r, forwardRef as i, isValidElement as a } from "react";
5
5
  import { Tag as o, TagGroup as s, TagGroupContext as c, TagList as l, TagListContext as u, composeRenderProps as d, useContextProps as f } from "react-aria-components";
6
6
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
2
  import "react";
3
3
  import { Text as t } from "react-aria-components";
4
4
  import { jsx as n } from "react/jsx-runtime";
@@ -1,16 +1,16 @@
1
1
  'use client';
2
- import { n as e, t } from "./clsx-BtlV5Vo3.js";
3
- import { t as n } from "./useLocalizedStringFormatter-bRLuRzVD.js";
4
- import { n as r } from "./button-CFjf-bDe.js";
5
- import { t as i } from "./text-mAeDlv5N.js";
6
- import { t as a } from "./field-error-DYp2kgFr.js";
2
+ import { n as e, t } from "./clsx-B1NYyfch.js";
3
+ import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
4
+ import { n as r } from "./button-Ch860h28.js";
5
+ import { t as i } from "./text-EUdAWwZz.js";
6
+ import { t as a } from "./field-error-pJiSw4PN.js";
7
7
  import { t as o } from "./character-counter-CSoVSrxZ.js";
8
- import { n as s, t as c } from "./label-BKaJ7cXX.js";
8
+ import { n as s, t as c } from "./label-CEYHiWSa.js";
9
9
  import { t as l } from "./TextField.module-D_tUnemB.js";
10
10
  import { forwardRef as u, useState as d } from "react";
11
11
  import { Input as f, InputContext as p, TextArea as m, TextField as h, TextFieldContext as g, useContextProps as _ } from "react-aria-components";
12
12
  import { jsx as v, jsxs as y } from "react/jsx-runtime";
13
- //#region packages/components/src/textfield/TextFieldBase.tsx
13
+ //#region src/textfield/TextFieldBase.tsx
14
14
  var b = u((t, n) => {
15
15
  [t] = _(t, n, g);
16
16
  let { label: r, description: u, errorMessage: d, showCounter: f, errorPosition: p = "top", size: m = "large", popover: b, children: x } = t;
@@ -79,7 +79,7 @@ var x = {
79
79
  });
80
80
  C.displayName = "Input";
81
81
  //#endregion
82
- //#region packages/components/src/textfield/TextField.tsx
82
+ //#region src/textfield/TextField.tsx
83
83
  var w = u(({ className: e, list: n, type: r, min: i, max: a, form: o, ...s }, c) => /* @__PURE__ */ v(b, {
84
84
  ...s,
85
85
  children: /* @__PURE__ */ v(C, {
@@ -95,7 +95,7 @@ var w = u(({ className: e, list: n, type: r, min: i, max: a, form: o, ...s }, c)
95
95
  }));
96
96
  w.displayName = "TextField";
97
97
  //#endregion
98
- //#region packages/components/src/textfield/TextArea.tsx
98
+ //#region src/textfield/TextArea.tsx
99
99
  var T = u(({ className: e, cols: n, form: r, rows: i, wrap: a, ...o }, s) => /* @__PURE__ */ v(b, {
100
100
  ...o,
101
101
  children: /* @__PURE__ */ v(m, {
@@ -1,10 +1,10 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
2
- import { t } from "./useLocalizedStringFormatter-bRLuRzVD.js";
3
- import { t as n } from "./text-mAeDlv5N.js";
4
- import { t as r } from "./field-error-DYp2kgFr.js";
5
- import { n as i, t as a } from "./label-BKaJ7cXX.js";
6
- import { t as o } from "./clear-button-Cb4MTvBR.js";
7
- import { n as s, r as c } from "./date-field-CkL0qbpM.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
3
+ import { t as n } from "./text-EUdAWwZz.js";
4
+ import { t as r } from "./field-error-pJiSw4PN.js";
5
+ import { n as i, t as a } from "./label-CEYHiWSa.js";
6
+ import { t as o } from "./clear-button-la4Fb9_w.js";
7
+ import { n as s, r as c } from "./date-field-DG5TYsTF.js";
8
8
  import * as l from "react";
9
9
  import { TimeField as u, TimeFieldStateContext as d } from "react-aria-components";
10
10
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-BtlV5Vo3.js";
3
- import { t } from "./FeedbackStatusIcon-A1trvSCf.js";
4
- import { t as n } from "./x-Bs_QW3q8.js";
5
- import { n as r } from "./button-CFjf-bDe.js";
2
+ import { t as e } from "./clsx-B1NYyfch.js";
3
+ import { t } from "./FeedbackStatusIcon-BS5VX-s6.js";
4
+ import { t as n } from "./x-BJAOO5a5.js";
5
+ import { n as r } from "./button-Ch860h28.js";
6
6
  import i from "react";
7
7
  import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
8
8
  import { useToast as c, useToastRegion as l } from "react-aria";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
2
  import { t } from "./Button.module-0C2ArlRs.js";
3
3
  import "react";
4
4
  import { ToggleButton as n, ToggleButtonGroup as r } from "react-aria-components";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-BtlV5Vo3.js";
1
+ import { t as e } from "./clsx-B1NYyfch.js";
2
2
  import "react";
3
3
  import { OverlayArrow as t, Tooltip as n, TooltipTrigger as r } from "react-aria-components";
4
4
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -7,7 +7,7 @@ import '../assets/tooltip.css';var s = {
7
7
  arrow: "_arrow_exq12_18"
8
8
  };
9
9
  //#endregion
10
- //#region packages/components/src/tooltip/Tooltip.tsx
10
+ //#region src/tooltip/Tooltip.tsx
11
11
  function c({ children: r, className: c, ...l }) {
12
12
  return /* @__PURE__ */ a(n, {
13
13
  className: e(s.tooltip, c),
@@ -1,7 +1,7 @@
1
1
  import { useMemo as e } from "react";
2
2
  import { useLocale as t } from "react-aria-components";
3
3
  import { LocalizedStringDictionary as n, LocalizedStringFormatter as r } from "@internationalized/string";
4
- //#region packages/components/src/utils/intl/useLocalizedStringFormatter.ts
4
+ //#region src/utils/intl/useLocalizedStringFormatter.ts
5
5
  var i = "sv", a = /* @__PURE__ */ new WeakMap();
6
6
  function o(e) {
7
7
  let t = a.get(e);
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-DhIhuN5D.js";
1
+ import { t as e } from "./createLucideIcon-BgluSHFG.js";
2
2
  var t = e("x", [["path", {
3
3
  d: "M18 6 6 18",
4
4
  key: "1bl5f8"
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/clear-button-Cb4MTvBR.js";
1
+ import { t as e } from "../chunks/clear-button-la4Fb9_w.js";
2
2
  export { e as ClearButton };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/color-scheme-switch-FjmPZdE4.js";
1
+ import { n as e, t } from "../chunks/color-scheme-switch-jgoxUu3x.js";
2
2
  export { e as ColorSchemeSwitch, t as ColorSchemeSwitchMenu };
package/combobox/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/combobox-C1dZD0c7.js";
1
+ import { t as e } from "../chunks/combobox-DDO4fEtI.js";
2
2
  export { e as ComboBox };
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/date-field-CkL0qbpM.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/date-field-DG5TYsTF.js";
2
2
  export { e as DateField, t as DateInput, r as DateInputDivider, n as DateSegment };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/date-picker-CD15o56d.js";
1
+ import { n as e, t } from "../chunks/date-picker-1W7OmCT0.js";
2
2
  export { e as DatePicker, t as DateRangePicker };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/field-error-DYp2kgFr.js";
1
+ import { t as e } from "../chunks/field-error-pJiSw4PN.js";
2
2
  export { e as FieldError };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/file-list-DYOuch5G.js";
1
+ import { n as e, t } from "../chunks/file-list-DM1Vtkun.js";
2
2
  export { e as FileList, t as FileListItem };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/file-upload-CZRTVw5O.js";
1
+ import { n as e, t } from "../chunks/file-upload-DInuSFCB.js";
2
2
  export { t as DropZone, e as FileTrigger };
package/grid/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/grid-CUYMbO7c.js";
1
+ import { n as e, t } from "../chunks/grid-DZB3GGDg.js";
2
2
  export { e as Grid, t as GridItem };
package/heading/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/heading-595zCrRS.js";
1
+ import { t as e } from "../chunks/heading-bnDePIbv.js";
2
2
  export { e as Heading };
package/icons/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/icons-Dw_ZbztW.js";
1
+ import { t as e } from "../chunks/icons-UBHIX2oV.js";
2
2
  export { e as ContrastFilled };
package/index.js CHANGED
@@ -1,52 +1,52 @@
1
1
  'use client';
2
2
  "use client";
3
- import { n as e, t } from "./chunks/accordion-CcRZQ3sN.js";
4
- import { t as n } from "./chunks/clsx-BtlV5Vo3.js";
5
- import { t as r } from "./chunks/spinner-C3WiZYld.js";
6
- import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-DibnX6Za.js";
7
- import { n as l, t as u } from "./chunks/link-CZNuhFX6.js";
8
- import { a as d, i as f, n as p, o as m, r as h, t as g } from "./chunks/table-BDG9pACN.js";
9
- import { t as _ } from "./chunks/link-button-ZsK6UGko.js";
10
- import { n as v, t as y } from "./chunks/date-picker-CD15o56d.js";
11
- import { n as b, t as x } from "./chunks/calendar-C0rlcHfr.js";
12
- import { n as S, t as C } from "./chunks/checkbox-Bj-P9WYH.js";
13
- import { n as w, t as T } from "./chunks/color-scheme-switch-FjmPZdE4.js";
14
- import { t as E } from "./chunks/search-field-CQwe74Bd.js";
15
- import { n as D, t as O } from "./chunks/file-list-DYOuch5G.js";
16
- import { t as k } from "./chunks/useLocalizedStringFormatter-bRLuRzVD.js";
17
- import { n as A, t as j } from "./chunks/button-CFjf-bDe.js";
18
- import { t as M } from "./chunks/heading-595zCrRS.js";
19
- import { n as N, t as P } from "./chunks/badge-DwPG4Jz8.js";
20
- import { n as F, t as I } from "./chunks/breadcrumbs-XTH3axtt.js";
21
- import { t as L } from "./chunks/text-mAeDlv5N.js";
22
- import { t as R } from "./chunks/field-error-DYp2kgFr.js";
23
- import { a as z, c as B, i as V, l as H, n as U, o as W, r as G, s as K, t as q } from "./chunks/card-Dpx9A9Ro.js";
3
+ import { n as e, t } from "./chunks/accordion-BxxPnJau.js";
4
+ import { t as n } from "./chunks/clsx-B1NYyfch.js";
5
+ import { t as r } from "./chunks/spinner-DMR5G-6u.js";
6
+ import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-DVj8wSj3.js";
7
+ import { n as l, t as u } from "./chunks/link-CQoSw1Pv.js";
8
+ import { a as d, i as f, n as p, o as m, r as h, t as g } from "./chunks/table-BrA5r_BP.js";
9
+ import { t as _ } from "./chunks/link-button-BMFzCHH8.js";
10
+ import { n as v, t as y } from "./chunks/date-picker-1W7OmCT0.js";
11
+ import { n as b, t as x } from "./chunks/calendar-R7x0m8ch.js";
12
+ import { n as S, t as C } from "./chunks/checkbox-BjPgN3h_.js";
13
+ import { n as w, t as T } from "./chunks/color-scheme-switch-jgoxUu3x.js";
14
+ import { t as E } from "./chunks/search-field-d7FV4Kuv.js";
15
+ import { n as D, t as O } from "./chunks/file-list-DM1Vtkun.js";
16
+ import { t as k } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
17
+ import { n as A, t as j } from "./chunks/button-Ch860h28.js";
18
+ import { t as M } from "./chunks/heading-bnDePIbv.js";
19
+ import { n as N, t as P } from "./chunks/badge-BplGU5BS.js";
20
+ import { n as F, t as I } from "./chunks/breadcrumbs-C-Z6UlQn.js";
21
+ import { t as L } from "./chunks/text-EUdAWwZz.js";
22
+ import { t as R } from "./chunks/field-error-pJiSw4PN.js";
23
+ import { a as z, c as B, i as V, l as H, n as U, o as W, r as G, s as K, t as q } from "./chunks/card-Bzc8kToe.js";
24
24
  import { t as J } from "./chunks/character-counter-CSoVSrxZ.js";
25
- import { t as Y } from "./chunks/label-BKaJ7cXX.js";
26
- import { t as X } from "./chunks/popover-BTJ1dvWc.js";
27
- import { n as Z, r as Q, t as $ } from "./chunks/modal-Dr0ythpF.js";
28
- import { t as ee } from "./chunks/icons-Dw_ZbztW.js";
29
- import { n as te, t as ne } from "./chunks/toggle-button-DlPo9GJW.js";
30
- import { a as re, i as ie, n as ae, o as oe, r as se, t as ce } from "./chunks/menu-CB6VDQ-u.js";
31
- import { t as le } from "./chunks/combobox-C1dZD0c7.js";
32
- import { a as ue, c as de, i as fe, n as pe, o as me, r as he, s as ge, t as _e } from "./chunks/list-box-DvX6VTa1.js";
33
- import { i as ve, n as ye, r as be, t as xe } from "./chunks/date-field-CkL0qbpM.js";
34
- import { n as Se, t as Ce } from "./chunks/file-upload-CZRTVw5O.js";
35
- import { n as we, t as Te } from "./chunks/grid-CUYMbO7c.js";
36
- import { t as Ee } from "./chunks/info-banner-hHq0Atii.js";
37
- import { n as De, t as Oe } from "./chunks/tooltip-BE_r_CBm.js";
38
- import { n as ke, t as Ae } from "./chunks/logo-D7tz-4hp.js";
39
- import { t as je } from "./chunks/progress-bar-DTm2orq7.js";
40
- import { n as Me, t as Ne } from "./chunks/radio-DeK1SK_e.js";
41
- import { t as Pe } from "./chunks/select-C-Pu74Uq.js";
42
- import { n as Fe, r as Ie, t as Le } from "./chunks/tag-CELJrUEQ.js";
43
- import { t as Re } from "./chunks/skeleton-OqKFBcmO.js";
44
- import { i as ze, n as Be, r as Ve, t as He } from "./chunks/tabs-C08F_2gW.js";
45
- import { i as Ue, n as We, r as Ge, t as Ke } from "./chunks/textfield-B2fUOuhs.js";
46
- import { t as qe } from "./chunks/time-field-BL8LO0Bv.js";
47
- import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./chunks/toast-AYzfHBcQ.js";
25
+ import { t as Y } from "./chunks/label-CEYHiWSa.js";
26
+ import { t as X } from "./chunks/popover-wAwxm_cM.js";
27
+ import { n as Z, r as Q, t as $ } from "./chunks/modal-C-xHt7Ds.js";
28
+ import { t as ee } from "./chunks/icons-UBHIX2oV.js";
29
+ import { n as te, t as ne } from "./chunks/toggle-button-BgUQKcK-.js";
30
+ import { a as re, i as ie, n as ae, o as oe, r as se, t as ce } from "./chunks/menu-CPCGm0MC.js";
31
+ import { t as le } from "./chunks/combobox-DDO4fEtI.js";
32
+ import { a as ue, c as de, i as fe, n as pe, o as me, r as he, s as ge, t as _e } from "./chunks/list-box-VdBVTwZK.js";
33
+ import { i as ve, n as ye, r as be, t as xe } from "./chunks/date-field-DG5TYsTF.js";
34
+ import { n as Se, t as Ce } from "./chunks/file-upload-DInuSFCB.js";
35
+ import { n as we, t as Te } from "./chunks/grid-DZB3GGDg.js";
36
+ import { t as Ee } from "./chunks/info-banner-DnFNZ1_o.js";
37
+ import { n as De, t as Oe } from "./chunks/tooltip-D7LYQwj0.js";
38
+ import { n as ke, t as Ae } from "./chunks/logo-CDxNjDeI.js";
39
+ import { t as je } from "./chunks/progress-bar-Cft_RPHz.js";
40
+ import { n as Me, t as Ne } from "./chunks/radio-DmCYqo3Z.js";
41
+ import { t as Pe } from "./chunks/select-CZklrPAQ.js";
42
+ import { n as Fe, r as Ie, t as Le } from "./chunks/tag-mzNjP8EX.js";
43
+ import { t as Re } from "./chunks/skeleton-DWmvym7R.js";
44
+ import { i as ze, n as Be, r as Ve, t as He } from "./chunks/tabs-BFFTnO4i.js";
45
+ import { i as Ue, n as We, r as Ge, t as Ke } from "./chunks/textfield-BsijPPRD.js";
46
+ import { t as qe } from "./chunks/time-field-BlNUOjUJ.js";
47
+ import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./chunks/toast-Cz0JDIr1.js";
48
48
  //#endregion
49
- //#region packages/components/src/version.ts
49
+ //#region src/version.ts
50
50
  var et = {
51
51
  name: "@midas-ds/components",
52
52
  author: { name: "Migrationsverket" },
@@ -59,7 +59,7 @@ var et = {
59
59
  description: "Midas Components",
60
60
  homepage: "https://designsystem.migrationsverket.se/",
61
61
  license: "CC0-1.0",
62
- version: "17.23.7",
62
+ version: "17.23.9",
63
63
  module: "./index.js",
64
64
  type: "module",
65
65
  main: "./index.js",
@@ -84,11 +84,9 @@ var et = {
84
84
  dependencies: {
85
85
  "@internationalized/string": "^3.2.10",
86
86
  "@midas-ds/theme": "3.17.0",
87
- "@react-aria/focus": "^3.21.5",
88
- "@react-stately/toggle": "^3.9.5",
89
- "@react-stately/utils": "^3.11.0",
90
- "react-aria": "^3.51.0",
87
+ "@react-stately/utils": "^3.12.1",
91
88
  "react-aria-components": "1.20.0",
89
+ "react-aria": "^3.51.0",
92
90
  "react-stately": "^3.49.0"
93
91
  }
94
92
  }.version;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/info-banner-hHq0Atii.js";
1
+ import { t as e } from "../chunks/info-banner-DnFNZ1_o.js";
2
2
  export { e as InfoBanner };
package/label/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/label-BKaJ7cXX.js";
1
+ import { t as e } from "../chunks/label-CEYHiWSa.js";
2
2
  export { e as Label };
package/layout/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "../chunks/layout-DibnX6Za.js";
1
+ import { a as e, i as t, n, r, t as i } from "../chunks/layout-DVj8wSj3.js";
2
2
  export { r as Header, i as Layout, n as Navbar, t as Sidebar, e as SidebarLink };
package/link/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-CZNuhFX6.js";
1
+ import { n as e, t } from "../chunks/link-CQoSw1Pv.js";
2
2
  export { t as Link, e as RouterProvider };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-button-ZsK6UGko.js";
1
+ import { n as e, t } from "../chunks/link-button-BMFzCHH8.js";
2
2
  export { t as LinkButton, e as RouterProvider };
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
- import { Fruit } from '../../../../tools/test-utils/src/index.ts';
2
+ import { Fruit, optionsWithSections } from '../../../../tools/test-utils/src/index.ts';
3
3
  import { ListBox } from './ListBox';
4
- type Story = StoryObj<typeof ListBox<Fruit>>;
4
+ type Story<T extends object = Fruit> = StoryObj<typeof ListBox<T>>;
5
5
  declare const _default: {
6
6
  component: <T extends object>({ className, children, virtualized, ...rest }: import('./ListBox').ListBoxProps<T>) => import("react/jsx-runtime").JSX.Element;
7
7
  subcomponents: {
@@ -20,4 +20,5 @@ declare const _default: {
20
20
  };
21
21
  export default _default;
22
22
  export declare const SelectionModeSingle: Story;
23
+ export declare const Sectioned: Story<(typeof optionsWithSections)[0]>;
23
24
  export declare const NotVirtualized: Story;
package/list-box/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-DvX6VTa1.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-VdBVTwZK.js";
2
2
  export { t as ListBox, o as ListBoxButton, s as ListBoxEmptyState, r as ListBoxHeader, i as ListBoxItem, a as ListBoxLoadMoreItem, e as ListBoxPopover, n as ListBoxSection };
package/logo/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/logo-D7tz-4hp.js";
1
+ import { n as e, t } from "../chunks/logo-CDxNjDeI.js";
2
2
  export { t as Logo, e as LogoContext };
package/menu/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-CB6VDQ-u.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-CPCGm0MC.js";
2
2
  export { e as Menu, t as MenuItem, i as MenuPopover, n as MenuSection, r as MenuTrigger, a as Separator };
package/modal/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../chunks/modal-Dr0ythpF.js";
1
+ import { n as e, r as t, t as n } from "../chunks/modal-C-xHt7Ds.js";
2
2
  export { n as DialogTrigger, e as Modal, t as ModalOverlay };
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "description": "Midas Components",
15
15
  "homepage": "https://designsystem.migrationsverket.se/",
16
16
  "license": "CC0-1.0",
17
- "version": "17.23.7",
17
+ "version": "17.23.9",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -43,11 +43,9 @@
43
43
  "dependencies": {
44
44
  "@internationalized/string": "^3.2.10",
45
45
  "@midas-ds/theme": "3.17.0",
46
- "@react-aria/focus": "^3.21.5",
47
- "@react-stately/toggle": "^3.9.5",
48
- "@react-stately/utils": "^3.11.0",
49
- "react-aria": "^3.51.0",
46
+ "@react-stately/utils": "^3.12.1",
50
47
  "react-aria-components": "1.20.0",
48
+ "react-aria": "^3.51.0",
51
49
  "react-stately": "^3.49.0"
52
50
  }
53
51
  }
package/popover/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/popover-BTJ1dvWc.js";
1
+ import { t as e } from "../chunks/popover-wAwxm_cM.js";
2
2
  export { e as Popover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/progress-bar-DTm2orq7.js";
1
+ import { t as e } from "../chunks/progress-bar-Cft_RPHz.js";
2
2
  export { e as ProgressBar };
package/radio/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/radio-DeK1SK_e.js";
1
+ import { n as e, t } from "../chunks/radio-DmCYqo3Z.js";
2
2
  export { t as Radio, e as RadioGroup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/search-field-CQwe74Bd.js";
1
+ import { t as e } from "../chunks/search-field-d7FV4Kuv.js";
2
2
  export { e as SearchField };
package/select/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/select-C-Pu74Uq.js";
1
+ import { t as e } from "../chunks/select-CZklrPAQ.js";
2
2
  export { e as Select };
package/skeleton/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/skeleton-OqKFBcmO.js";
1
+ import { t as e } from "../chunks/skeleton-DWmvym7R.js";
2
2
  export { e as Skeleton };
package/spinner/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/spinner-C3WiZYld.js";
1
+ import { t as e } from "../chunks/spinner-DMR5G-6u.js";
2
2
  export { e as Spinner };
package/table/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-BDG9pACN.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-BrA5r_BP.js";
2
2
  export { a as Cell, n as Column, i as Row, t as Table, e as TableBody, r as TableHeader };
package/tabs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/tabs-C08F_2gW.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/tabs-BFFTnO4i.js";
2
2
  export { n as Tab, r as TabList, t as TabPanel, e as Tabs };