@midas-ds/components 17.2.5 → 17.3.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 (107) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/accordion/index.js +1 -1
  3. package/assets/AccordionItem.css +1 -1
  4. package/assets/Button.css +1 -1
  5. package/assets/Checkbox.css +1 -1
  6. package/assets/ComboBox.css +1 -1
  7. package/assets/DateField.css +1 -1
  8. package/assets/DateRangePicker.css +1 -1
  9. package/assets/Dialog.css +1 -1
  10. package/assets/Heading.css +1 -1
  11. package/assets/Layout.css +1 -1
  12. package/assets/LinkButton.css +1 -1
  13. package/assets/ListBox.css +1 -1
  14. package/assets/ListBoxEmptyState.css +1 -1
  15. package/assets/Popover.css +1 -1
  16. package/assets/RangeCalendar.css +1 -1
  17. package/assets/SearchField.css +1 -1
  18. package/assets/Select.css +1 -1
  19. package/assets/Separator.css +1 -1
  20. package/assets/Skeleton.css +1 -1
  21. package/assets/TabList.css +1 -1
  22. package/assets/Table.css +1 -1
  23. package/assets/TagGroup.css +1 -1
  24. package/assets/Text.css +1 -1
  25. package/assets/TextField.css +1 -1
  26. package/assets/Tooltip.css +1 -1
  27. package/assets/default.css +1 -1
  28. package/button/index.js +1 -1
  29. package/calendar/index.js +1 -1
  30. package/card/index.js +1 -1
  31. package/checkbox/index.js +2 -2
  32. package/chunks/AccordionItem-BuUIdVd_.js +129 -0
  33. package/chunks/{Button-CaLOUTDO.js → Button-BhIvfqOc.js} +1 -1
  34. package/chunks/Button.module-BW0TvYZ2.js +14 -0
  35. package/chunks/{Card-DMSnokPn.js → Card-CVwiT9zm.js} +1 -1
  36. package/chunks/{Checkbox-CRLj7_Ox.js → Checkbox-sAkQe7Q9.js} +18 -18
  37. package/chunks/{CheckboxGroup-DooCBqUG.js → CheckboxGroup-DGVV0X_Z.js} +4 -4
  38. package/chunks/{ClearButton-DPm_d7SL.js → ClearButton-DBr9Zfwq.js} +1 -1
  39. package/chunks/{ColorSchemeSwitch-DOQ0yjtt.js → ColorSchemeSwitch-DkY8VTVR.js} +1 -1
  40. package/chunks/ComboBox-Dx4GD2oe.js +102 -0
  41. package/chunks/{DateField-6CclHfL2.js → DateField-h3l0qG7u.js} +23 -23
  42. package/chunks/{DateRangePicker-BoL-sn9u.js → DateRangePicker-BCZ6i1w0.js} +27 -27
  43. package/chunks/{Dialog-BHxDzbf8.js → Dialog-DVff9MDd.js} +17 -17
  44. package/chunks/{FieldError-BMTrvSof.js → FieldError-krpMBtie.js} +1 -1
  45. package/chunks/Heading-nfcRc2QF.js +38 -0
  46. package/chunks/{InfoBanner-C4HnaXQO.js → InfoBanner-otmuemqy.js} +1 -1
  47. package/chunks/{Label-6GZmmff9.js → Label-s4J9sYdy.js} +2 -2
  48. package/chunks/{Layout-CFhqS9ej.js → Layout-hXzqx4cY.js} +135 -135
  49. package/chunks/{LinkButton-B1zayj7k.js → LinkButton-DJ-D5PkB.js} +15 -15
  50. package/chunks/{ListBox-D5BBeZWL.js → ListBox-CDlOUvzJ.js} +13 -13
  51. package/chunks/{ListBoxEmptyState-_Cn38cQ6.js → ListBoxEmptyState-CXKkWQy1.js} +3 -3
  52. package/chunks/{ListBoxHeader-CL9bFH22.js → ListBoxHeader-DSYdXl2I.js} +1 -1
  53. package/chunks/{Popover-BcEtFiU1.js → Popover-CaP4LFhg.js} +12 -12
  54. package/chunks/{ProgressBar-Dg0JMQ71.js → ProgressBar-acc8946-.js} +1 -1
  55. package/chunks/{Radio-CAIyBgBp.js → Radio-DjivEe-_.js} +3 -3
  56. package/chunks/{RangeCalendar-DIMxoHhy.js → RangeCalendar-LheFd9WF.js} +26 -26
  57. package/chunks/SearchField-1DYv0w4b.js +128 -0
  58. package/chunks/Select-CV0H13h-.js +222 -0
  59. package/chunks/Separator-CkVOLF6I.js +76 -0
  60. package/chunks/{Skeleton-DqIHQLQl.js → Skeleton-D6mxKxuu.js} +22 -22
  61. package/chunks/{TabList-BaR443mu.js → TabList-BHX-cuhB.js} +20 -20
  62. package/chunks/{Table-UbdCFrkS.js → Table-Bg-AKi7d.js} +50 -50
  63. package/chunks/{TagGroup-CWe0P76-.js → TagGroup-BscTXQ_E.js} +29 -29
  64. package/chunks/{Text-BuXvuoqM.js → Text-D0r_W4lH.js} +16 -16
  65. package/chunks/{TextArea-BQuztcdA.js → TextArea-CBRE_gsN.js} +5 -5
  66. package/chunks/TextField.module-BDIbEV87.js +12 -0
  67. package/chunks/{Toast-UPM-1ipu.js → Toast-Cxm230CK.js} +1 -1
  68. package/chunks/{ToggleButtonGroup-CXKTrLbb.js → ToggleButtonGroup-Bv9xpwTT.js} +1 -1
  69. package/chunks/{Tooltip-rDmOkGmX.js → Tooltip-C1bbgr2l.js} +12 -12
  70. package/clear-button/index.js +1 -1
  71. package/color-scheme-switch/index.js +1 -1
  72. package/combobox/index.js +1 -1
  73. package/date-field/index.js +1 -1
  74. package/date-picker/index.js +1 -1
  75. package/field-error/index.js +1 -1
  76. package/heading/index.js +1 -1
  77. package/index.js +36 -36
  78. package/info-banner/index.js +1 -1
  79. package/label/index.js +1 -1
  80. package/layout/index.js +1 -1
  81. package/link-button/index.js +1 -1
  82. package/list-box/index.js +3 -3
  83. package/menu/index.js +1 -1
  84. package/modal/index.js +1 -1
  85. package/package.json +2 -2
  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/table/index.js +1 -1
  93. package/tabs/index.js +1 -1
  94. package/tag/index.js +1 -1
  95. package/text/index.js +1 -1
  96. package/textfield/index.js +1 -1
  97. package/toast/index.js +1 -1
  98. package/toggle-button/index.js +1 -1
  99. package/tooltip/index.js +1 -1
  100. package/chunks/AccordionItem-CSvARy63.js +0 -129
  101. package/chunks/Button.module-Cm0H98vy.js +0 -14
  102. package/chunks/ComboBox-DnqZjAqe.js +0 -102
  103. package/chunks/Heading-D8tNNJkt.js +0 -38
  104. package/chunks/SearchField-C_OjgTE0.js +0 -128
  105. package/chunks/Select-D7JfpIUT.js +0 -222
  106. package/chunks/Separator-XIzn8lsq.js +0 -76
  107. package/chunks/TextField.module-DmV0iI3P.js +0 -12
@@ -0,0 +1,76 @@
1
+ import { jsx as n, jsxs as r, Fragment as u } from "react/jsx-runtime";
2
+ import { Menu as _, MenuItem as l, Popover as d, MenuSection as M, Separator as h } from "react-aria-components";
3
+ import { c as a } from "./clsx-AexbMWKp.js";
4
+ import { C as S } from "./check-Bt2UikoU.js";
5
+ import { C as f } from "./chevron-right-DvXGOiS_.js";
6
+ import '../assets/Separator.css';const p = "_menu_1oois_1", v = "_menuSection_1oois_17", k = "_medium_1oois_29", C = "_menuItem_1oois_36", N = "_mainContent_1oois_106", I = "_checkMark_1oois_117", x = "_separator_1oois_127", P = "_menuPopover_1oois_150", t = {
7
+ menu: p,
8
+ menuSection: v,
9
+ medium: k,
10
+ menuItem: C,
11
+ mainContent: N,
12
+ checkMark: I,
13
+ separator: x,
14
+ menuPopover: P
15
+ }, z = ({
16
+ className: e,
17
+ size: o = "large",
18
+ ...s
19
+ }) => /* @__PURE__ */ n(
20
+ _,
21
+ {
22
+ className: a(e, t.menu, o === "medium" && t.medium),
23
+ ...s
24
+ }
25
+ ), V = (e) => /* @__PURE__ */ n(
26
+ l,
27
+ {
28
+ ...e,
29
+ textValue: e.textValue || (typeof e.children == "string" ? e.children : void 0),
30
+ className: a(t.menuItem, e.className),
31
+ children: (o) => {
32
+ const { children: s } = e, { selectionMode: m, isSelected: c, hasSubmenu: i } = o;
33
+ return /* @__PURE__ */ r(u, { children: [
34
+ m !== "none" && /* @__PURE__ */ n(
35
+ S,
36
+ {
37
+ size: 16,
38
+ className: t.checkMark,
39
+ "data-selected": c || void 0
40
+ }
41
+ ),
42
+ /* @__PURE__ */ n("div", { className: t.mainContent, children: typeof s == "function" ? s(o) : s }),
43
+ i && /* @__PURE__ */ n(f, { size: 20 })
44
+ ] });
45
+ }
46
+ }
47
+ ), F = ({ className: e, ...o }) => /* @__PURE__ */ n(
48
+ d,
49
+ {
50
+ className: a(e, t.menuPopover),
51
+ offset: 4,
52
+ ...o
53
+ }
54
+ ), R = ({
55
+ className: e,
56
+ ...o
57
+ }) => /* @__PURE__ */ n(
58
+ M,
59
+ {
60
+ className: a(e, t.menuSection),
61
+ ...o
62
+ }
63
+ ), q = ({ className: e, ...o }) => /* @__PURE__ */ n(
64
+ h,
65
+ {
66
+ className: a(e, t.separator),
67
+ ...o
68
+ }
69
+ );
70
+ export {
71
+ z as M,
72
+ q as S,
73
+ V as a,
74
+ F as b,
75
+ R as c
76
+ };
@@ -1,38 +1,38 @@
1
1
  import { jsxs as f, jsx as c } from "react/jsx-runtime";
2
2
  import { c as r } from "./clsx-AexbMWKp.js";
3
- import '../assets/Skeleton.css';const w = "_skeleton_wia11_11", p = "_circle_wia11_25", u = "_wave_wia11_30", v = "_onLayer01_wia11_54", d = "_form_wia11_58", k = "_formLabel_wia11_64", L = "_formDescription_wia11_70", y = "_formInput_wia11_76", b = "_medium_wia11_81", o = {
4
- skeleton: w,
3
+ import '../assets/Skeleton.css';const k = "_skeleton_i5zk6_11", p = "_circle_i5zk6_25", u = "_wave_i5zk6_30", v = "_onLayer01_i5zk6_54", w = "_form_i5zk6_58", z = "_formLabel_i5zk6_64", d = "_formDescription_i5zk6_70", L = "_formInput_i5zk6_76", y = "_medium_i5zk6_81", o = {
4
+ skeleton: k,
5
5
  circle: p,
6
6
  wave: u,
7
7
  onLayer01: v,
8
- form: d,
9
- formLabel: k,
10
- formDescription: L,
11
- formInput: y,
12
- medium: b
13
- }, I = ({
8
+ form: w,
9
+ formLabel: z,
10
+ formDescription: d,
11
+ formInput: L,
12
+ medium: y
13
+ }, D = ({
14
14
  variant: s = "rectangle",
15
15
  width: t,
16
- height: a,
17
- size: _ = "large",
16
+ height: l,
17
+ size: a = "large",
18
18
  isAnimated: n = !0,
19
- className: l,
20
- style: i,
19
+ className: i,
20
+ style: m,
21
21
  isOnLayer01: e,
22
- ...m
23
- }) => (s === "circle" && a !== void 0 && console.warn(
22
+ ..._
23
+ }) => (s === "circle" && l !== void 0 && console.warn(
24
24
  "Height is not allowed when using circle, control size with width"
25
25
  ), s === "form" ? /* @__PURE__ */ f(
26
26
  "div",
27
27
  {
28
28
  className: r(
29
29
  o.form,
30
- o[_],
30
+ o[a],
31
31
  e && o.onLayer01,
32
- l
32
+ i
33
33
  ),
34
- style: { width: t, ...i },
35
- ...m,
34
+ style: { width: t, ...m },
35
+ ..._,
36
36
  children: [
37
37
  /* @__PURE__ */ c(
38
38
  "div",
@@ -77,12 +77,12 @@ import '../assets/Skeleton.css';const w = "_skeleton_wia11_11", p = "_circle_wia
77
77
  o[s],
78
78
  n && o.wave,
79
79
  e && o.onLayer01,
80
- l
80
+ i
81
81
  ),
82
- style: { width: t, height: a, ...i },
83
- ...m
82
+ style: { width: t, height: l, ...m },
83
+ ..._
84
84
  }
85
85
  ));
86
86
  export {
87
- I as S
87
+ D as S
88
88
  };
@@ -1,19 +1,19 @@
1
1
  'use client';
2
2
  import { jsx as e, jsxs as b, Fragment as l } from "react/jsx-runtime";
3
- import { Tabs as d, Tab as _, composeRenderProps as m, SelectionIndicator as T, TabPanel as f, TabList as u } from "react-aria-components";
3
+ import { Tabs as d, Tab as _, composeRenderProps as m, SelectionIndicator as T, TabPanel as u, TabList as P } from "react-aria-components";
4
4
  import { c as o } from "./clsx-AexbMWKp.js";
5
5
  import * as i from "react";
6
- import { createContext as P } from "react";
7
- import '../assets/TabList.css';const c = P({
6
+ import { createContext as x } from "react";
7
+ import '../assets/TabList.css';const c = x({
8
8
  variant: "uncontained"
9
- }), x = "_tabs_3k5fn_1", L = "_tabList_3k5fn_12", k = "_tab_3k5fn_1", p = "_contained_3k5fn_55", v = "_selectionIndicator_3k5fn_94", I = "_tabPanel_3k5fn_129", t = {
10
- tabs: x,
11
- tabList: L,
12
- tab: k,
13
- contained: p,
14
- selectionIndicator: v,
15
- tabPanel: I
16
- }, j = ({
9
+ }), L = "_tabs_1nli1_1", p = "_tabList_1nli1_12", f = "_tab_1nli1_1", v = "_contained_1nli1_55", I = "_selectionIndicator_1nli1_94", N = "_tabPanel_1nli1_129", t = {
10
+ tabs: L,
11
+ tabList: p,
12
+ tab: f,
13
+ contained: v,
14
+ selectionIndicator: I,
15
+ tabPanel: N
16
+ }, R = ({
17
17
  className: n,
18
18
  variant: a = "uncontained",
19
19
  ...s
@@ -23,7 +23,7 @@ import '../assets/TabList.css';const c = P({
23
23
  className: o(t.tabs, n),
24
24
  ...s
25
25
  }
26
- ) }), R = ({ className: n, ...a }) => {
26
+ ) }), g = ({ className: n, ...a }) => {
27
27
  const { variant: s } = i.useContext(c);
28
28
  return /* @__PURE__ */ e(
29
29
  _,
@@ -49,10 +49,10 @@ import '../assets/TabList.css';const c = P({
49
49
  ] }))
50
50
  }
51
51
  );
52
- }, g = ({ className: n, ...a }) => {
52
+ }, y = ({ className: n, ...a }) => {
53
53
  const { variant: s } = i.useContext(c);
54
54
  return /* @__PURE__ */ e(
55
- f,
55
+ u,
56
56
  {
57
57
  className: o(
58
58
  t.tabPanel,
@@ -64,19 +64,19 @@ import '../assets/TabList.css';const c = P({
64
64
  ...a
65
65
  }
66
66
  );
67
- }, y = ({
67
+ }, F = ({
68
68
  className: n,
69
69
  ...a
70
70
  }) => /* @__PURE__ */ e(
71
- u,
71
+ P,
72
72
  {
73
73
  className: o(t.tabList, n),
74
74
  ...a
75
75
  }
76
76
  );
77
77
  export {
78
- R as T,
79
- y as a,
80
- g as b,
81
- j as c
78
+ g as T,
79
+ F as a,
80
+ y as b,
81
+ R as c
82
82
  };
@@ -1,23 +1,23 @@
1
1
  'use client';
2
- import { jsx as e, jsxs as i, Fragment as b } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as d, Fragment as b } from "react/jsx-runtime";
3
3
  import { Cell as w, Column as g, useTableOptions as u, Row as N, Button as k, Collection as p, Table as f, TableBody as x, TableHeader as T } from "react-aria-components";
4
- import { C as h } from "./Checkbox-CRLj7_Ox.js";
4
+ import { C as h } from "./Checkbox-sAkQe7Q9.js";
5
5
  import { c as a } from "./clsx-AexbMWKp.js";
6
- import { c as d } from "./createLucideIcon-CP-mMPfa.js";
6
+ import { c as i } from "./createLucideIcon-CP-mMPfa.js";
7
7
  import '../assets/Table.css';const C = [
8
8
  ["path", { d: "M12 5v14", key: "s699le" }],
9
9
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
10
- ], I = d("arrow-down", C);
10
+ ], I = i("arrow-down", C);
11
11
  const v = [
12
12
  ["path", { d: "m21 16-4 4-4-4", key: "f6ql7i" }],
13
13
  ["path", { d: "M17 20V4", key: "1ejh1v" }],
14
14
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
15
15
  ["path", { d: "M7 4v16", key: "1glfcx" }]
16
- ], $ = d("arrow-up-down", v);
16
+ ], $ = i("arrow-up-down", v);
17
17
  const j = [
18
18
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
19
19
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
20
- ], B = d("arrow-up", j);
20
+ ], B = i("arrow-up", j);
21
21
  const H = [
22
22
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
23
23
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
@@ -25,7 +25,7 @@ const H = [
25
25
  ["circle", { cx: "15", cy: "12", r: "1", key: "1tmaij" }],
26
26
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
27
27
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
28
- ], z = d("grip-vertical", H), M = "_table_eldd4_1", R = "_tableHeader_eldd4_11", q = "_column_eldd4_12", A = "_sortIndicator_eldd4_28", D = "_sortIconNeutral_eldd4_36", V = "_selection_eldd4_50", U = "_row_eldd4_56", F = "_cell_eldd4_74", G = "_medium_eldd4_114", L = "_striped_eldd4_125", o = {
28
+ ], z = i("grip-vertical", H), M = "_table_m31t0_1", R = "_tableHeader_m31t0_11", q = "_column_m31t0_12", A = "_sortIndicator_m31t0_28", D = "_sortIconNeutral_m31t0_36", V = "_selection_m31t0_50", U = "_row_m31t0_56", F = "_cell_m31t0_74", G = "_medium_m31t0_114", L = "_striped_m31t0_125", t = {
29
29
  table: M,
30
30
  tableHeader: R,
31
31
  column: q,
@@ -37,97 +37,97 @@ const H = [
37
37
  medium: G,
38
38
  striped: L
39
39
  }, P = ({
40
- size: c = "large",
41
- striped: l = !1,
42
- className: t,
43
- ...s
40
+ size: o = "large",
41
+ striped: c = !1,
42
+ className: s,
43
+ ...r
44
44
  }) => /* @__PURE__ */ e(
45
45
  f,
46
46
  {
47
- className: a(o.table, t, {
48
- [o.medium]: c === "medium",
49
- [o.striped]: l
47
+ className: a(t.table, s, {
48
+ [t.medium]: o === "medium",
49
+ [t.striped]: c
50
50
  }),
51
- ...s
51
+ ...r
52
52
  }
53
53
  ), Q = ({
54
- columns: c,
55
- children: l,
56
- className: t
54
+ columns: o,
55
+ children: c,
56
+ className: s
57
57
  }) => {
58
- const { selectionBehavior: s, selectionMode: r, allowsDragging: n } = u();
59
- return /* @__PURE__ */ i(T, { className: a(t, o.tableHeader), children: [
58
+ const { selectionBehavior: r, selectionMode: l, allowsDragging: n } = u();
59
+ return /* @__PURE__ */ d(T, { className: a(s, t.tableHeader), children: [
60
60
  n && /* @__PURE__ */ e(m, {}),
61
- s === "toggle" && /* @__PURE__ */ e(m, { width: 50, children: r === "multiple" && /* @__PURE__ */ e(
61
+ r === "toggle" && /* @__PURE__ */ e(m, { width: 50, children: l === "multiple" && /* @__PURE__ */ e(
62
62
  h,
63
63
  {
64
- className: o.selection,
64
+ className: t.selection,
65
65
  slot: "selection"
66
66
  }
67
67
  ) }),
68
- /* @__PURE__ */ e(p, { items: c, children: l })
68
+ /* @__PURE__ */ e(p, { items: o, children: c })
69
69
  ] });
70
70
  }, W = ({
71
- id: c,
72
- columns: l,
73
- children: t,
74
- className: s,
75
- ...r
71
+ id: o,
72
+ columns: c,
73
+ children: s,
74
+ className: r,
75
+ ...l
76
76
  }) => {
77
77
  const { selectionBehavior: n, allowsDragging: y } = u();
78
- return /* @__PURE__ */ i(
78
+ return /* @__PURE__ */ d(
79
79
  N,
80
80
  {
81
- id: c,
82
- className: a(s, o.row),
83
- ...r,
81
+ id: o,
82
+ className: a(r, t.row),
83
+ ...l,
84
84
  children: [
85
85
  y && /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(k, { slot: "drag", children: /* @__PURE__ */ e(z, { size: 20 }) }) }),
86
86
  n === "toggle" && /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(
87
87
  h,
88
88
  {
89
- className: o.selection,
89
+ className: t.selection,
90
90
  slot: "selection"
91
91
  }
92
92
  ) }),
93
- /* @__PURE__ */ e(p, { items: l, children: t })
93
+ /* @__PURE__ */ e(p, { items: c, children: s })
94
94
  ]
95
95
  }
96
96
  );
97
- }, m = ({ children: c, className: l, ...t }) => /* @__PURE__ */ e(
97
+ }, m = ({ children: o, className: c, ...s }) => /* @__PURE__ */ e(
98
98
  g,
99
99
  {
100
- className: a(l, o.column),
101
- ...t,
102
- children: ({ allowsSorting: s, sortDirection: r }) => {
103
- const n = () => r === "ascending" ? /* @__PURE__ */ e(B, { size: 16 }) : r === "descending" ? /* @__PURE__ */ e(I, { size: 16 }) : /* @__PURE__ */ e($, { size: 16, className: o.sortIconNeutral });
104
- return /* @__PURE__ */ i(b, { children: [
105
- c,
106
- s && /* @__PURE__ */ e(
100
+ className: a(c, t.column),
101
+ ...s,
102
+ children: ({ allowsSorting: r, sortDirection: l }) => {
103
+ const n = () => l === "ascending" ? /* @__PURE__ */ e(B, { size: 16 }) : l === "descending" ? /* @__PURE__ */ e(I, { size: 16 }) : /* @__PURE__ */ e($, { size: 16, className: t.sortIconNeutral });
104
+ return /* @__PURE__ */ d(b, { children: [
105
+ o,
106
+ r && /* @__PURE__ */ e(
107
107
  "span",
108
108
  {
109
109
  "aria-hidden": "true",
110
- className: o.sortIndicator,
110
+ className: t.sortIndicator,
111
111
  children: n()
112
112
  }
113
113
  )
114
114
  ] });
115
115
  }
116
116
  }
117
- ), _ = ({ className: c, ...l }) => /* @__PURE__ */ e(
117
+ ), _ = ({ className: o, ...c }) => /* @__PURE__ */ e(
118
118
  w,
119
119
  {
120
- className: a(c, o.cell),
121
- ...l
120
+ className: a(o, t.cell),
121
+ ...c
122
122
  }
123
123
  ), X = ({
124
- className: c,
125
- ...l
124
+ className: o,
125
+ ...c
126
126
  }) => /* @__PURE__ */ e(
127
127
  x,
128
128
  {
129
- className: a(c, o.tableBody),
130
- ...l
129
+ className: a(o, t.tableBody),
130
+ ...c
131
131
  }
132
132
  );
133
133
  export {
@@ -1,19 +1,19 @@
1
- import { jsx as i, jsxs as u, Fragment as b } from "react/jsx-runtime";
2
- import { Tag as T, composeRenderProps as f, useContextProps as d, TagListContext as p, TagList as x, TagGroupContext as y, TagGroup as h } from "react-aria-components";
3
- import { B as L } from "./Button-CaLOUTDO.js";
1
+ import { jsx as i, jsxs as _, Fragment as u } from "react/jsx-runtime";
2
+ import { Tag as T, composeRenderProps as p, useContextProps as d, TagListContext as b, TagList as x, TagGroupContext as h, TagGroup as L } from "react-aria-components";
3
+ import { B as v } from "./Button-BhIvfqOc.js";
4
4
  import { c } from "./clsx-AexbMWKp.js";
5
- import { X as v } from "./x-B9bYxG31.js";
6
- import { forwardRef as _, Children as N, isValidElement as w } from "react";
7
- import '../assets/TagGroup.css';const G = "_button_137b0_1", C = "_green_137b0_16", R = "_red_137b0_17", V = "_blue_137b0_18", $ = "_yellow_137b0_19", E = "_tag_137b0_31", j = "_tagText_137b0_83", z = "_dismissable_137b0_88", a = {
8
- button: G,
9
- green: C,
10
- red: R,
11
- blue: V,
12
- yellow: $,
13
- tag: E,
14
- tagText: j,
15
- dismissable: z
16
- }, q = ({
5
+ import { X as y } from "./x-B9bYxG31.js";
6
+ import { forwardRef as f, Children as N, isValidElement as w } from "react";
7
+ import '../assets/TagGroup.css';const q = "_button_f7q96_1", G = "_green_f7q96_16", C = "_red_f7q96_17", R = "_blue_f7q96_18", V = "_yellow_f7q96_19", $ = "_tag_f7q96_31", z = "_tagText_f7q96_83", E = "_dismissable_f7q96_88", a = {
8
+ button: q,
9
+ green: G,
10
+ red: C,
11
+ blue: R,
12
+ yellow: V,
13
+ tag: $,
14
+ tagText: z,
15
+ dismissable: E
16
+ }, X = ({
17
17
  className: r,
18
18
  color: e,
19
19
  dismissable: o = !1,
@@ -38,48 +38,48 @@ import '../assets/TagGroup.css';const G = "_button_137b0_1", C = "_green_137b0_1
38
38
  ),
39
39
  ...n,
40
40
  textValue: n.textValue || (typeof n.children == "string" ? n.children : void 0),
41
- children: f(n.children, (l) => /* @__PURE__ */ u(b, { children: [
41
+ children: p(n.children, (l) => /* @__PURE__ */ _(u, { children: [
42
42
  /* @__PURE__ */ i("div", { className: a.tagText, children: l }),
43
43
  g && /* @__PURE__ */ i(
44
- L,
44
+ v,
45
45
  {
46
46
  variant: "icon",
47
47
  size: "medium",
48
48
  className: a.button,
49
49
  slot: "remove",
50
- children: /* @__PURE__ */ i(v, { size: 20 })
50
+ children: /* @__PURE__ */ i(y, { size: 20 })
51
51
  }
52
52
  )
53
53
  ] }))
54
54
  }
55
55
  );
56
- }, B = "_tagList_uoyyb_1", P = {
57
- tagList: B
58
- }, k = (r, e) => {
56
+ }, j = "_tagList_17pz2_1", B = {
57
+ tagList: j
58
+ }, P = (r, e) => {
59
59
  const [{ className: o, ...t }, s] = d(
60
60
  r,
61
61
  e,
62
- p
62
+ b
63
63
  );
64
64
  return /* @__PURE__ */ i(
65
65
  x,
66
66
  {
67
- className: c(o, P.tagList),
67
+ className: c(o, B.tagList),
68
68
  ref: s,
69
69
  ...t
70
70
  }
71
71
  );
72
- }, m = _(k), A = _(
72
+ }, m = f(P), k = f(
73
73
  (r, e) => {
74
74
  const [{ className: o, children: t, ...s }, n] = d(
75
75
  r,
76
76
  e,
77
- y
77
+ h
78
78
  ), g = N.toArray(t).filter(w).find((l) => l.type === m);
79
79
  return !g && process.env.NODE_ENV === "development" && console.warn(
80
80
  "Using a TagGroup without providing a TagList component is deprecated since v17.0.0, see: https://designsystem.migrationsverket.se/components/tag/"
81
81
  ), /* @__PURE__ */ i(
82
- h,
82
+ L,
83
83
  {
84
84
  className: c(o),
85
85
  ref: n,
@@ -89,9 +89,9 @@ import '../assets/TagGroup.css';const G = "_button_137b0_1", C = "_green_137b0_1
89
89
  );
90
90
  }
91
91
  );
92
- A.displayName = "TagGroup";
92
+ k.displayName = "TagGroup";
93
93
  export {
94
- q as T,
95
- A as a,
94
+ X as T,
95
+ k as a,
96
96
  m as b
97
97
  };
@@ -1,36 +1,36 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { c as d } from "./clsx-AexbMWKp.js";
3
3
  import { Text as _ } from "react-aria-components";
4
- import '../assets/Text.css';const m = "_body_1ecyu_1", p = "_description_1ecyu_3", y = "_bold_1ecyu_24", b = "_italic_1ecyu_28", s = {
4
+ import '../assets/Text.css';const m = "_body_g096r_1", p = "_description_g096r_3", b = "_bold_g096r_24", g = "_italic_g096r_28", s = {
5
5
  body: m,
6
- "body-small": "_body-small_1ecyu_2",
6
+ "body-small": "_body-small_g096r_2",
7
7
  description: p,
8
- "description-small": "_description-small_1ecyu_4",
9
- bold: y,
10
- italic: b
11
- }, c = "span", N = ({
12
- children: e,
13
- className: l,
8
+ "description-small": "_description-small_g096r_4",
9
+ bold: b,
10
+ italic: g
11
+ }, l = "span", E = ({
12
+ children: r,
13
+ className: c,
14
14
  size: t,
15
- isExpressive: n = !1,
16
- elementType: o = c,
15
+ isExpressive: e = !1,
16
+ elementType: o = l,
17
17
  ...i
18
18
  }) => {
19
- const r = {
19
+ const n = {
20
20
  className: d(
21
21
  i.slot === "description" ? t === "small" ? s["description-small"] : s.description : t === "small" ? s["body-small"] : s.body,
22
22
  {
23
23
  [s.bold]: ["b", "strong"].includes(o),
24
24
  [s.italic]: ["i", "em"].includes(o)
25
25
  },
26
- l
26
+ c
27
27
  ),
28
- elementType: o || c,
29
- ...n && { "data-expressive": !0 },
28
+ elementType: o || l,
29
+ ...e && { "data-expressive": !0 },
30
30
  ...i
31
31
  };
32
- return /* @__PURE__ */ a(_, { ...r, children: e });
32
+ return /* @__PURE__ */ a(_, { ...n, children: r });
33
33
  };
34
34
  export {
35
- N as T
35
+ E as T
36
36
  };
@@ -3,13 +3,13 @@ import { jsxs as w, jsx as t } from "react/jsx-runtime";
3
3
  import { forwardRef as c, useState as F } from "react";
4
4
  import { useContextProps as u, TextFieldContext as y, TextField as g, InputContext as P, Input as b, TextArea as C } from "react-aria-components";
5
5
  import { a as I, c as h } from "./clsx-AexbMWKp.js";
6
- import { s as d } from "./TextField.module-DmV0iI3P.js";
7
- import { B as A } from "./Button-CaLOUTDO.js";
6
+ import { s as d } from "./TextField.module-BDIbEV87.js";
7
+ import { B as A } from "./Button-BhIvfqOc.js";
8
8
  import { u as B } from "./useLocalizedStringFormatter-BHvsRxDk.js";
9
- import { T as L } from "./Text-BuXvuoqM.js";
10
- import { F as f } from "./FieldError-BMTrvSof.js";
9
+ import { T as L } from "./Text-D0r_W4lH.js";
10
+ import { F as f } from "./FieldError-krpMBtie.js";
11
11
  import { C as S } from "./CharacterCounter-Dgnv-orm.js";
12
- import { a as v, L as E } from "./Label-6GZmmff9.js";
12
+ import { a as v, L as E } from "./Label-s4J9sYdy.js";
13
13
  const x = c(
14
14
  (e, o) => {
15
15
  [e] = u(e, o, y);
@@ -0,0 +1,12 @@
1
+ import '../assets/TextField.css';const t = "_textField_51vk6_1", o = "_bottomError_51vk6_20", _ = "_textArea_51vk6_29", r = "_input_51vk6_30", s = "_wrap_51vk6_87", e = "_medium_51vk6_92", n = "_passwordButton_51vk6_159", a = {
2
+ textField: t,
3
+ bottomError: o,
4
+ textArea: _,
5
+ input: r,
6
+ wrap: s,
7
+ medium: e,
8
+ passwordButton: n
9
+ };
10
+ export {
11
+ a as s
12
+ };
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as e, jsxs as c, Fragment as g } from "react/jsx-runtime";
3
- import { B as T } from "./Button-CaLOUTDO.js";
3
+ import { B as T } from "./Button-BhIvfqOc.js";
4
4
  import { useToast as f, useToastRegion as v } from "react-aria";
5
5
  import { ToastQueue as w, useToastQueue as h, useToastState as R } from "react-stately";
6
6
  import _ from "react";
@@ -1,6 +1,6 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
2
  import { ToggleButton as u, ToggleButtonGroup as r } from "react-aria-components";
3
- import { B as t } from "./Button.module-Cm0H98vy.js";
3
+ import { B as t } from "./Button.module-BW0TvYZ2.js";
4
4
  import { c as s } from "./clsx-AexbMWKp.js";
5
5
  import '../assets/ToggleButtonGroup.css';const e = "_group_q04hh_1", l = "_toggleButton_q04hh_10", n = {
6
6
  group: e,