@midas-ds/components 16.5.5 → 16.6.1

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 (48) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/assets/Dialog.css +1 -1
  3. package/assets/GridItem.css +1 -1
  4. package/assets/ProgressBar.css +1 -1
  5. package/assets/Select2.css +1 -1
  6. package/assets/Skeleton.css +1 -1
  7. package/assets/Spinner.css +1 -1
  8. package/assets/Text.css +1 -1
  9. package/assets/Toast.css +1 -1
  10. package/assets/Tooltip.css +1 -1
  11. package/calendar/index.js +1 -1
  12. package/checkbox/index.js +1 -1
  13. package/chunks/{CheckboxGroup-C5NpRdqR.js → CheckboxGroup-KqlchsTK.js} +2 -2
  14. package/chunks/{ComboBox-BrpJ6b7d.js → ComboBox-C-pAiys0.js} +2 -2
  15. package/chunks/{DateField-CuNWL_ao.js → DateField-Scz9gaJl.js} +2 -2
  16. package/chunks/{DateRangePicker-7MtqKhD1.js → DateRangePicker-DQfV97yu.js} +3 -3
  17. package/chunks/{FieldError-Bra5aRT3.js → FieldError-C_3uLAGY.js} +1 -1
  18. package/chunks/{Grid-B-WgMwON.js → Grid-CettmpaZ.js} +1 -1
  19. package/chunks/GridItem-z7zclNdT.js +237 -0
  20. package/chunks/{Layout-BiPXXkKY.js → Layout-MPNSphLF.js} +2 -2
  21. package/chunks/{Radio-Clk616ep.js → Radio-BD-ICPhb.js} +2 -2
  22. package/chunks/{RangeCalendar-pgiXYhpG.js → RangeCalendar-CW38S2L8.js} +1 -1
  23. package/chunks/{SearchField-Cd05nl-B.js → SearchField-44UKmB8Z.js} +1 -1
  24. package/chunks/{Select-CRUskZeu.js → Select-BJlDjYWX.js} +88 -88
  25. package/chunks/{Select-BpSIhRl_.js → Select-CynlKjMH.js} +2 -2
  26. package/chunks/Text-Bxww8mmL.js +39 -0
  27. package/chunks/{TextArea-VkipFRQc.js → TextArea-Dudj2zg4.js} +2 -2
  28. package/chunks/Toast-DGvPi4rb.js +157 -0
  29. package/chunks/{Tooltip-m032jGgF.js → Tooltip-rDmOkGmX.js} +6 -6
  30. package/combobox/index.js +1 -1
  31. package/date-field/index.js +1 -1
  32. package/date-picker/index.js +1 -1
  33. package/field-error/index.js +1 -1
  34. package/grid/index.js +2 -2
  35. package/index.js +17 -17
  36. package/layout/index.js +1 -1
  37. package/legacy-select/index.js +1 -1
  38. package/package.json +2 -2
  39. package/radio/index.js +1 -1
  40. package/search-field/index.js +1 -1
  41. package/select/index.js +1 -1
  42. package/text/index.js +1 -1
  43. package/textfield/index.js +1 -1
  44. package/toast/index.js +1 -1
  45. package/tooltip/index.js +1 -1
  46. package/chunks/GridItem-5t1Z14sM.js +0 -237
  47. package/chunks/Text-TWzJxnto.js +0 -30
  48. package/chunks/Toast-BehM7JJP.js +0 -153
@@ -1,9 +1,9 @@
1
- import { jsx as t, jsxs as l, Fragment as e } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as a, Fragment as l } from "react/jsx-runtime";
2
2
  import { c as p } from "./clsx-AexbMWKp.js";
3
3
  import { Tooltip as n, OverlayArrow as c, TooltipTrigger as T } from "react-aria-components";
4
- import '../assets/Tooltip.css';const g = "_tooltip_vhts5_1", m = "_arrow_vhts5_18", i = {
5
- tooltip: g,
6
- arrow: m
4
+ import '../assets/Tooltip.css';const f = "_tooltip_9efb2_1", g = "_arrow_9efb2_18", i = {
5
+ tooltip: f,
6
+ arrow: g
7
7
  };
8
8
  function _({ children: o, className: r, ...s }) {
9
9
  return /* @__PURE__ */ t(
@@ -11,7 +11,7 @@ function _({ children: o, className: r, ...s }) {
11
11
  {
12
12
  className: p(i.tooltip, r),
13
13
  ...s,
14
- children: (a) => /* @__PURE__ */ l(e, { children: [
14
+ children: (e) => /* @__PURE__ */ a(l, { children: [
15
15
  /* @__PURE__ */ t(c, { className: i.arrow, children: /* @__PURE__ */ t(
16
16
  "svg",
17
17
  {
@@ -21,7 +21,7 @@ function _({ children: o, className: r, ...s }) {
21
21
  children: /* @__PURE__ */ t("path", { d: "M0 0 L4 4 L8 0" })
22
22
  }
23
23
  ) }),
24
- typeof o == "function" ? o(a) : o
24
+ typeof o == "function" ? o(e) : o
25
25
  ] })
26
26
  }
27
27
  );
package/combobox/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as a, a as b, b as x } from "../chunks/ComboBox-BrpJ6b7d.js";
1
+ import { C as a, a as b, b as x } from "../chunks/ComboBox-C-pAiys0.js";
2
2
  export {
3
3
  a as ComboBox,
4
4
  b as ComboBoxItem,
@@ -1,4 +1,4 @@
1
- import { D as t } from "../chunks/DateField-CuNWL_ao.js";
1
+ import { D as t } from "../chunks/DateField-Scz9gaJl.js";
2
2
  import { a as r, b as o, D as p } from "../chunks/DateInputDivider-CkTB5q5k.js";
3
3
  export {
4
4
  t as DateField,
@@ -1,4 +1,4 @@
1
- import { D as r, a as t } from "../chunks/DateRangePicker-7MtqKhD1.js";
1
+ import { D as r, a as t } from "../chunks/DateRangePicker-DQfV97yu.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as DateRangePicker
@@ -1,4 +1,4 @@
1
- import { F as e } from "../chunks/FieldError-Bra5aRT3.js";
1
+ import { F as e } from "../chunks/FieldError-C_3uLAGY.js";
2
2
  export {
3
3
  e as FieldError
4
4
  };
package/grid/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { G } from "../chunks/Grid-B-WgMwON.js";
2
- import { G as m } from "../chunks/GridItem-5t1Z14sM.js";
1
+ import { G } from "../chunks/Grid-CettmpaZ.js";
2
+ import { G as m } from "../chunks/GridItem-z7zclNdT.js";
3
3
  export {
4
4
  G as Grid,
5
5
  m as GridItem
package/index.js CHANGED
@@ -3,44 +3,44 @@ import { B as s, a as p } from "./chunks/BadgeContainer-CKVsfTlF.js";
3
3
  import { B as m } from "./chunks/Breadcrumbs-By2bMbQd.js";
4
4
  import { B as f } from "./chunks/Button-BGu-SRi7.js";
5
5
  import { B as d } from "./chunks/ButtonGroup-Dr6HOBo2.js";
6
- import { C as l, R as u } from "./chunks/RangeCalendar-pgiXYhpG.js";
6
+ import { C as l, R as u } from "./chunks/RangeCalendar-CW38S2L8.js";
7
7
  import { C as g, d as b, c, a as B, e as L, f as S, b as D } from "./chunks/Card-ia98VoKL.js";
8
8
  import { C as G } from "./chunks/CharacterCounter-R6vh7AE5.js";
9
9
  import { C as R } from "./chunks/Checkbox-BTAfwDxU.js";
10
- import { C as F } from "./chunks/CheckboxGroup-C5NpRdqR.js";
10
+ import { C as F } from "./chunks/CheckboxGroup-KqlchsTK.js";
11
11
  import { C as v } from "./chunks/ColorSchemeSwitch-CaqrCGTA.js";
12
- import { C as h, a as H, b as y } from "./chunks/ComboBox-BrpJ6b7d.js";
13
- import { D as N } from "./chunks/DateField-CuNWL_ao.js";
12
+ import { C as h, a as H, b as y } from "./chunks/ComboBox-C-pAiys0.js";
13
+ import { D as N } from "./chunks/DateField-Scz9gaJl.js";
14
14
  import { a as E, b as Q, D as Z } from "./chunks/DateInputDivider-CkTB5q5k.js";
15
- import { D as q, a as J } from "./chunks/DateRangePicker-7MtqKhD1.js";
16
- import { F as O } from "./chunks/FieldError-Bra5aRT3.js";
15
+ import { D as q, a as J } from "./chunks/DateRangePicker-DQfV97yu.js";
16
+ import { F as O } from "./chunks/FieldError-C_3uLAGY.js";
17
17
  import { D as V, F as W } from "./chunks/FileUpload-h1PxqQmb.js";
18
- import { G as Y } from "./chunks/Grid-B-WgMwON.js";
19
- import { G as $ } from "./chunks/GridItem-5t1Z14sM.js";
18
+ import { G as Y } from "./chunks/Grid-CettmpaZ.js";
19
+ import { G as $ } from "./chunks/GridItem-z7zclNdT.js";
20
20
  import { H as ao } from "./chunks/Heading-D8tNNJkt.js";
21
21
  import { I as eo } from "./chunks/InfoBanner-DEwlyEud.js";
22
22
  import { L as so } from "./chunks/Label-xWKvOuML.js";
23
- import { H as xo, L as mo, N as io, S as fo, a as no } from "./chunks/Layout-BiPXXkKY.js";
23
+ import { H as xo, L as mo, N as io, S as fo, a as no } from "./chunks/Layout-MPNSphLF.js";
24
24
  import { L as lo } from "./chunks/Link-yTNUNv3C.js";
25
25
  import { L as Co } from "./chunks/LinkButton-3nAekUJ4.js";
26
26
  import { L as bo } from "./chunks/Logo-CsWcKqIg.js";
27
27
  import { M as Bo } from "./chunks/Dialog-DRpxD3Gh.js";
28
28
  import { P as So } from "./chunks/Popover-BcEtFiU1.js";
29
29
  import { P as Io } from "./chunks/ProgressBar-KQdaaME2.js";
30
- import { R as Po, a as Ro } from "./chunks/Radio-Clk616ep.js";
31
- import { S as Fo } from "./chunks/SearchField-Cd05nl-B.js";
32
- import { S as vo } from "./chunks/Select-BpSIhRl_.js";
33
- import { S as ho } from "./chunks/Select-CRUskZeu.js";
30
+ import { R as Po, a as Ro } from "./chunks/Radio-BD-ICPhb.js";
31
+ import { S as Fo } from "./chunks/SearchField-44UKmB8Z.js";
32
+ import { S as vo } from "./chunks/Select-CynlKjMH.js";
33
+ import { S as ho } from "./chunks/Select-BJlDjYWX.js";
34
34
  import { S as yo } from "./chunks/Skeleton-DqIHQLQl.js";
35
35
  import { S as No } from "./chunks/Spinner-tvJ7rPiT.js";
36
36
  import { b as Eo, C as Qo, R as Zo, T as jo, c as qo, a as Jo } from "./chunks/Table-BgsgXhC_.js";
37
37
  import { a as Oo, c as Uo, b as Vo, T as Wo } from "./chunks/TabList-D2XV5ixe.js";
38
38
  import { T as Yo, a as _o } from "./chunks/Tag-CZrQBEgv.js";
39
- import { T as oa } from "./chunks/Text-TWzJxnto.js";
40
- import { I as ra, b as ea, a as ta, T as sa } from "./chunks/TextArea-VkipFRQc.js";
41
- import { G as xa, b as ma, T as ia, a as fa, t as na } from "./chunks/Toast-BehM7JJP.js";
39
+ import { T as oa } from "./chunks/Text-Bxww8mmL.js";
40
+ import { I as ra, b as ea, a as ta, T as sa } from "./chunks/TextArea-Dudj2zg4.js";
41
+ import { G as xa, b as ma, T as ia, a as fa, t as na } from "./chunks/Toast-DGvPi4rb.js";
42
42
  import { T as Ta, a as la } from "./chunks/ToggleButtonGroup-CXKTrLbb.js";
43
- import { T as Ca, a as ga } from "./chunks/Tooltip-m032jGgF.js";
43
+ import { T as Ca, a as ga } from "./chunks/Tooltip-rDmOkGmX.js";
44
44
  import { L as ca } from "./chunks/ListBox-D5BBeZWL.js";
45
45
  import { L as La, a as Sa } from "./chunks/ListBoxLoadMoreItem-CygpsU3W.js";
46
46
  import { c as Ia, L as Ga, a as Pa, b as Ra } from "./chunks/ListBoxSection-MZB_5DdD.js";
package/layout/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as e, L as s, N as b, S as d, a as i } from "../chunks/Layout-BiPXXkKY.js";
1
+ import { H as e, L as s, N as b, S as d, a as i } from "../chunks/Layout-MPNSphLF.js";
2
2
  export {
3
3
  e as Header,
4
4
  s as Layout,
@@ -1,4 +1,4 @@
1
- import { S as c } from "../chunks/Select-CRUskZeu.js";
1
+ import { S as c } from "../chunks/Select-BJlDjYWX.js";
2
2
  export {
3
3
  c as LegacySelect
4
4
  };
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": "16.5.5",
17
+ "version": "16.6.1",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -41,7 +41,7 @@
41
41
  "./*": "./*/index.js"
42
42
  },
43
43
  "dependencies": {
44
- "@midas-ds/theme": "3.10.0",
44
+ "@midas-ds/theme": "3.10.1",
45
45
  "react-aria-components": "1.14.0"
46
46
  }
47
47
  }
package/radio/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as r, a as R } from "../chunks/Radio-Clk616ep.js";
1
+ import { R as r, a as R } from "../chunks/Radio-BD-ICPhb.js";
2
2
  export {
3
3
  r as Radio,
4
4
  R as RadioGroup
@@ -1,4 +1,4 @@
1
- import { S as a } from "../chunks/SearchField-Cd05nl-B.js";
1
+ import { S as a } from "../chunks/SearchField-44UKmB8Z.js";
2
2
  export {
3
3
  a as SearchField
4
4
  };
package/select/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "../chunks/Select-BpSIhRl_.js";
1
+ import { S as r } from "../chunks/Select-CynlKjMH.js";
2
2
  export {
3
3
  r as Select
4
4
  };
package/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as r } from "../chunks/Text-TWzJxnto.js";
1
+ import { T as r } from "../chunks/Text-Bxww8mmL.js";
2
2
  export {
3
3
  r as Text
4
4
  };
@@ -1,4 +1,4 @@
1
- import { I as s, b as t, a as x, T } from "../chunks/TextArea-VkipFRQc.js";
1
+ import { I as s, b as t, a as x, T } from "../chunks/TextArea-Dudj2zg4.js";
2
2
  export {
3
3
  s as Input,
4
4
  t as TextArea,
package/toast/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G as s, b as t, T as e, a as r, t as T } from "../chunks/Toast-BehM7JJP.js";
1
+ import { G as s, b as t, T as e, a as r, t as T } from "../chunks/Toast-DGvPi4rb.js";
2
2
  import { useToastState as u } from "react-stately";
3
3
  export {
4
4
  s as GlobalToastRegion,
package/tooltip/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T, a } from "../chunks/Tooltip-m032jGgF.js";
1
+ import { T, a } from "../chunks/Tooltip-rDmOkGmX.js";
2
2
  export {
3
3
  T as Tooltip,
4
4
  a as TooltipTrigger
@@ -1,237 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { c as x } from "./clsx-AexbMWKp.js";
3
- import '../assets/GridItem.css';const r = "_container_1q01q_1", d = "_removeMargins_1q01q_13", a = "_contained_1q01q_17", g = "_flex_1q01q_23", u = "_fluid_1q01q_52", h = "_col_1q01q_58", l = {
4
- container: r,
5
- removeMargins: d,
6
- contained: a,
7
- flex: g,
8
- fluid: u,
9
- col: h,
10
- "col-1": "_col-1_1q01q_66",
11
- "col-2": "_col-2_1q01q_70",
12
- "col-3": "_col-3_1q01q_76",
13
- "col-quarter": "_col-quarter_1q01q_77",
14
- "col-4": "_col-4_1q01q_83",
15
- "col-third": "_col-third_1q01q_84",
16
- "col-5": "_col-5_1q01q_90",
17
- "col-6": "_col-6_1q01q_96",
18
- "col-half": "_col-half_1q01q_97",
19
- "col-7": "_col-7_1q01q_103",
20
- "col-8": "_col-8_1q01q_109",
21
- "col-9": "_col-9_1q01q_115",
22
- "col-10": "_col-10_1q01q_121",
23
- "col-11": "_col-11_1q01q_127",
24
- "col-12": "_col-12_1q01q_133",
25
- "col-full": "_col-full_1q01q_134",
26
- "col-auto": "_col-auto_1q01q_140",
27
- "col-grow": "_col-grow_1q01q_144",
28
- "col-xs-1": "_col-xs-1_1q01q_149",
29
- "col-xs-2": "_col-xs-2_1q01q_155",
30
- "col-xs-3": "_col-xs-3_1q01q_161",
31
- "col-xs-quarter": "_col-xs-quarter_1q01q_162",
32
- "col-xs-4": "_col-xs-4_1q01q_168",
33
- "col-xs-third": "_col-xs-third_1q01q_169",
34
- "col-xs-5": "_col-xs-5_1q01q_175",
35
- "col-xs-6": "_col-xs-6_1q01q_181",
36
- "col-xs-half": "_col-xs-half_1q01q_182",
37
- "col-xs-7": "_col-xs-7_1q01q_188",
38
- "col-xs-8": "_col-xs-8_1q01q_194",
39
- "col-xs-9": "_col-xs-9_1q01q_200",
40
- "col-xs-10": "_col-xs-10_1q01q_206",
41
- "col-xs-11": "_col-xs-11_1q01q_212",
42
- "col-xs-12": "_col-xs-12_1q01q_218",
43
- "col-xs-full": "_col-xs-full_1q01q_219",
44
- "col-xs-auto": "_col-xs-auto_1q01q_225",
45
- "col-xs-grow": "_col-xs-grow_1q01q_230",
46
- "col-sm-1": "_col-sm-1_1q01q_236",
47
- "col-sm-2": "_col-sm-2_1q01q_242",
48
- "col-sm-3": "_col-sm-3_1q01q_248",
49
- "col-sm-quarter": "_col-sm-quarter_1q01q_249",
50
- "col-sm-4": "_col-sm-4_1q01q_255",
51
- "col-sm-third": "_col-sm-third_1q01q_256",
52
- "col-sm-5": "_col-sm-5_1q01q_262",
53
- "col-sm-6": "_col-sm-6_1q01q_268",
54
- "col-sm-half": "_col-sm-half_1q01q_269",
55
- "col-sm-7": "_col-sm-7_1q01q_275",
56
- "col-sm-8": "_col-sm-8_1q01q_281",
57
- "col-sm-9": "_col-sm-9_1q01q_287",
58
- "col-sm-10": "_col-sm-10_1q01q_293",
59
- "col-sm-11": "_col-sm-11_1q01q_299",
60
- "col-sm-12": "_col-sm-12_1q01q_305",
61
- "col-sm-full": "_col-sm-full_1q01q_306",
62
- "col-sm-auto": "_col-sm-auto_1q01q_312",
63
- "col-sm-grow": "_col-sm-grow_1q01q_317",
64
- "col-md-1": "_col-md-1_1q01q_323",
65
- "col-md-2": "_col-md-2_1q01q_329",
66
- "col-md-3": "_col-md-3_1q01q_335",
67
- "col-md-quarter": "_col-md-quarter_1q01q_336",
68
- "col-md-4": "_col-md-4_1q01q_342",
69
- "col-md-third": "_col-md-third_1q01q_343",
70
- "col-md-5": "_col-md-5_1q01q_349",
71
- "col-md-6": "_col-md-6_1q01q_355",
72
- "col-md-half": "_col-md-half_1q01q_356",
73
- "col-md-7": "_col-md-7_1q01q_362",
74
- "col-md-8": "_col-md-8_1q01q_368",
75
- "col-md-9": "_col-md-9_1q01q_374",
76
- "col-md-10": "_col-md-10_1q01q_380",
77
- "col-md-11": "_col-md-11_1q01q_386",
78
- "col-md-12": "_col-md-12_1q01q_392",
79
- "col-md-full": "_col-md-full_1q01q_393",
80
- "col-md-auto": "_col-md-auto_1q01q_399",
81
- "col-md-grow": "_col-md-grow_1q01q_403",
82
- "col-lg-1": "_col-lg-1_1q01q_409",
83
- "col-lg-2": "_col-lg-2_1q01q_415",
84
- "col-lg-3": "_col-lg-3_1q01q_421",
85
- "col-lg-quarter": "_col-lg-quarter_1q01q_422",
86
- "col-lg-4": "_col-lg-4_1q01q_428",
87
- "col-lg-third": "_col-lg-third_1q01q_429",
88
- "col-lg-5": "_col-lg-5_1q01q_435",
89
- "col-lg-6": "_col-lg-6_1q01q_441",
90
- "col-lg-half": "_col-lg-half_1q01q_442",
91
- "col-lg-7": "_col-lg-7_1q01q_448",
92
- "col-lg-8": "_col-lg-8_1q01q_454",
93
- "col-lg-9": "_col-lg-9_1q01q_460",
94
- "col-lg-10": "_col-lg-10_1q01q_466",
95
- "col-lg-11": "_col-lg-11_1q01q_472",
96
- "col-lg-12": "_col-lg-12_1q01q_478",
97
- "col-lg-full": "_col-lg-full_1q01q_479",
98
- "col-lg-auto": "_col-lg-auto_1q01q_485",
99
- "col-lg-grow": "_col-lg-grow_1q01q_489",
100
- "col-xl-1": "_col-xl-1_1q01q_495",
101
- "col-xl-2": "_col-xl-2_1q01q_501",
102
- "col-xl-3": "_col-xl-3_1q01q_507",
103
- "col-xl-quarter": "_col-xl-quarter_1q01q_508",
104
- "col-xl-4": "_col-xl-4_1q01q_514",
105
- "col-xl-third": "_col-xl-third_1q01q_515",
106
- "col-xl-5": "_col-xl-5_1q01q_521",
107
- "col-xl-6": "_col-xl-6_1q01q_527",
108
- "col-xl-half": "_col-xl-half_1q01q_528",
109
- "col-xl-7": "_col-xl-7_1q01q_534",
110
- "col-xl-8": "_col-xl-8_1q01q_540",
111
- "col-xl-9": "_col-xl-9_1q01q_546",
112
- "col-xl-10": "_col-xl-10_1q01q_552",
113
- "col-xl-11": "_col-xl-11_1q01q_558",
114
- "col-xl-12": "_col-xl-12_1q01q_564",
115
- "col-xl-full": "_col-xl-full_1q01q_565",
116
- "col-xl-auto": "_col-xl-auto_1q01q_571",
117
- "col-xl-grow": "_col-xl-grow_1q01q_575",
118
- "offset-1": "_offset-1_1q01q_580",
119
- "offset-2": "_offset-2_1q01q_584",
120
- "offset-3": "_offset-3_1q01q_590",
121
- "offset-quarter": "_offset-quarter_1q01q_591",
122
- "offset-4": "_offset-4_1q01q_597",
123
- "offset-third": "_offset-third_1q01q_598",
124
- "offset-5": "_offset-5_1q01q_604",
125
- "offset-6": "_offset-6_1q01q_610",
126
- "offset-half": "_offset-half_1q01q_611",
127
- "offset-7": "_offset-7_1q01q_617",
128
- "offset-8": "_offset-8_1q01q_623",
129
- "offset-9": "_offset-9_1q01q_629",
130
- "offset-10": "_offset-10_1q01q_635",
131
- "offset-11": "_offset-11_1q01q_641",
132
- "offset-auto": "_offset-auto_1q01q_647",
133
- "offset-xs-1": "_offset-xs-1_1q01q_652",
134
- "offset-xs-2": "_offset-xs-2_1q01q_658",
135
- "offset-xs-3": "_offset-xs-3_1q01q_664",
136
- "offset-xs-quarter": "_offset-xs-quarter_1q01q_665",
137
- "offset-xs-4": "_offset-xs-4_1q01q_671",
138
- "offset-xs-third": "_offset-xs-third_1q01q_672",
139
- "offset-xs-5": "_offset-xs-5_1q01q_678",
140
- "offset-xs-6": "_offset-xs-6_1q01q_684",
141
- "offset-xs-half": "_offset-xs-half_1q01q_685",
142
- "offset-xs-7": "_offset-xs-7_1q01q_691",
143
- "offset-xs-8": "_offset-xs-8_1q01q_697",
144
- "offset-xs-9": "_offset-xs-9_1q01q_703",
145
- "offset-xs-10": "_offset-xs-10_1q01q_709",
146
- "offset-xs-11": "_offset-xs-11_1q01q_715",
147
- "offset-xs-auto": "_offset-xs-auto_1q01q_721",
148
- "offset-sm-1": "_offset-sm-1_1q01q_727",
149
- "offset-sm-2": "_offset-sm-2_1q01q_733",
150
- "offset-sm-3": "_offset-sm-3_1q01q_739",
151
- "offset-sm-quarter": "_offset-sm-quarter_1q01q_740",
152
- "offset-sm-4": "_offset-sm-4_1q01q_746",
153
- "offset-sm-third": "_offset-sm-third_1q01q_747",
154
- "offset-sm-5": "_offset-sm-5_1q01q_753",
155
- "offset-sm-6": "_offset-sm-6_1q01q_759",
156
- "offset-sm-half": "_offset-sm-half_1q01q_760",
157
- "offset-sm-7": "_offset-sm-7_1q01q_766",
158
- "offset-sm-8": "_offset-sm-8_1q01q_772",
159
- "offset-sm-9": "_offset-sm-9_1q01q_778",
160
- "offset-sm-10": "_offset-sm-10_1q01q_784",
161
- "offset-sm-11": "_offset-sm-11_1q01q_790",
162
- "offset-sm-auto": "_offset-sm-auto_1q01q_796",
163
- "offset-md-1": "_offset-md-1_1q01q_802",
164
- "offset-md-2": "_offset-md-2_1q01q_808",
165
- "offset-md-3": "_offset-md-3_1q01q_814",
166
- "offset-md-quarter": "_offset-md-quarter_1q01q_815",
167
- "offset-md-4": "_offset-md-4_1q01q_821",
168
- "offset-md-third": "_offset-md-third_1q01q_822",
169
- "offset-md-5": "_offset-md-5_1q01q_828",
170
- "offset-md-6": "_offset-md-6_1q01q_834",
171
- "offset-md-half": "_offset-md-half_1q01q_835",
172
- "offset-md-7": "_offset-md-7_1q01q_841",
173
- "offset-md-8": "_offset-md-8_1q01q_847",
174
- "offset-md-9": "_offset-md-9_1q01q_853",
175
- "offset-md-10": "_offset-md-10_1q01q_859",
176
- "offset-md-11": "_offset-md-11_1q01q_865",
177
- "offset-md-auto": "_offset-md-auto_1q01q_871",
178
- "offset-lg-1": "_offset-lg-1_1q01q_877",
179
- "offset-lg-2": "_offset-lg-2_1q01q_883",
180
- "offset-lg-3": "_offset-lg-3_1q01q_889",
181
- "offset-lg-quarter": "_offset-lg-quarter_1q01q_890",
182
- "offset-lg-4": "_offset-lg-4_1q01q_896",
183
- "offset-lg-third": "_offset-lg-third_1q01q_897",
184
- "offset-lg-5": "_offset-lg-5_1q01q_903",
185
- "offset-lg-6": "_offset-lg-6_1q01q_909",
186
- "offset-lg-half": "_offset-lg-half_1q01q_910",
187
- "offset-lg-7": "_offset-lg-7_1q01q_916",
188
- "offset-lg-8": "_offset-lg-8_1q01q_922",
189
- "offset-lg-9": "_offset-lg-9_1q01q_928",
190
- "offset-lg-10": "_offset-lg-10_1q01q_934",
191
- "offset-lg-11": "_offset-lg-11_1q01q_940",
192
- "offset-lg-auto": "_offset-lg-auto_1q01q_946",
193
- "offset-xl-1": "_offset-xl-1_1q01q_952",
194
- "offset-xl-2": "_offset-xl-2_1q01q_958",
195
- "offset-xl-3": "_offset-xl-3_1q01q_964",
196
- "offset-xl-quarter": "_offset-xl-quarter_1q01q_965",
197
- "offset-xl-4": "_offset-xl-4_1q01q_971",
198
- "offset-xl-third": "_offset-xl-third_1q01q_972",
199
- "offset-xl-5": "_offset-xl-5_1q01q_978",
200
- "offset-xl-6": "_offset-xl-6_1q01q_984",
201
- "offset-xl-half": "_offset-xl-half_1q01q_985",
202
- "offset-xl-7": "_offset-xl-7_1q01q_991",
203
- "offset-xl-8": "_offset-xl-8_1q01q_997",
204
- "offset-xl-9": "_offset-xl-9_1q01q_1003",
205
- "offset-xl-10": "_offset-xl-10_1q01q_1009",
206
- "offset-xl-11": "_offset-xl-11_1q01q_1015",
207
- "offset-xl-auto": "_offset-xl-auto_1q01q_1021"
208
- }, j = ({
209
- children: _,
210
- size: q,
211
- offset: o,
212
- ...s
213
- }) => {
214
- const t = o ? `offset-${o}` : "", c = i(q), e = n(o);
215
- return /* @__PURE__ */ m(
216
- "div",
217
- {
218
- ...s,
219
- className: x(
220
- l.col,
221
- l[t],
222
- c.map((f) => l[f]),
223
- e.map((f) => l[f]),
224
- s.className
225
- ),
226
- children: _
227
- }
228
- );
229
- }, i = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
230
- ([q, o]) => q === "xs" ? `col-${o}` : `col-${q}-${o}`
231
- ) : [`col-${_}`] : [], n = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
232
- ([q, o]) => q === "xs" ? `offset-${o}` : `offset-${q}-${o}`
233
- ) : [`offset-${_}`] : [];
234
- export {
235
- j as G,
236
- l as s
237
- };
@@ -1,30 +0,0 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { c as _ } from "./clsx-AexbMWKp.js";
3
- import { Text as m } from "react-aria-components";
4
- import '../assets/Text.css';const p = "_body_1w3he_5", y = "_description_1w3he_20", s = {
5
- body: p,
6
- "body-02": "_body-02_1w3he_6",
7
- "body-small": "_body-small_1w3he_16",
8
- "description-small": "_description-small_1w3he_20",
9
- "body-01": "_body-01_1w3he_24",
10
- description: y
11
- }, r = "span", u = ({
12
- children: i,
13
- className: d,
14
- size: o,
15
- variant: e,
16
- isExpressive: l = !1,
17
- elementType: n = r,
18
- ...t
19
- }) => {
20
- const c = {
21
- className: _(e === "body-01" ? s["body-01"] : e === "body-02" ? s["body-02"] : t.slot === "description" ? o === "small" ? s["description-small"] : s.description : o === "small" ? s["body-small"] : s.body, d),
22
- elementType: n || r,
23
- ...l && { "data-expressive": !0 },
24
- ...t
25
- };
26
- return /* @__PURE__ */ a(m, { ...c, children: i });
27
- };
28
- export {
29
- u as T
30
- };
@@ -1,153 +0,0 @@
1
- import { jsx as n, jsxs as c, Fragment as f } from "react/jsx-runtime";
2
- import { B as p } from "./Button-BGu-SRi7.js";
3
- import { useToastRegion as g, useToast as h } from "react-aria";
4
- import { ToastQueue as v, useToastQueue as R, useToastState as y } from "react-stately";
5
- import l from "react";
6
- import { createPortal as b, flushSync as w } from "react-dom";
7
- import { c as d } from "./clsx-AexbMWKp.js";
8
- import { F as P } from "./FeedbackStatusIcon-YJaUAfjp.js";
9
- import { X as I } from "./x-BXShoIAM.js";
10
- import '../assets/Toast.css';const N = "_toastRegion_1798d_49", E = "_toast_1798d_49", O = "_success_1798d_97", x = "_info_1798d_105", C = "_important_1798d_113", M = "_warning_1798d_121", S = "_icon_1798d_129", k = "_toastContent_1798d_143", B = "_toastMessage_1798d_150", F = "_slideInTop_1798d_1", Q = "_slideInEnd_1798d_1", V = "_slideOutTop_1798d_1", j = "_slideOutEnd_1798d_1", e = {
11
- toastRegion: N,
12
- toast: E,
13
- success: O,
14
- info: x,
15
- important: C,
16
- warning: M,
17
- icon: S,
18
- toastContent: k,
19
- toastMessage: B,
20
- slideInTop: F,
21
- slideInEnd: Q,
22
- slideOutTop: V,
23
- slideOutEnd: j
24
- }, u = {
25
- wrapUpdate(t) {
26
- "startViewTransition" in document ? document.startViewTransition(() => {
27
- w(t);
28
- }) : t();
29
- },
30
- maxVisibleToasts: 5
31
- }, G = new v(u), W = (t) => {
32
- const o = R(G);
33
- return o.visibleToasts.length > 0 ? b(
34
- /* @__PURE__ */ n(
35
- _,
36
- {
37
- ...t,
38
- state: o
39
- }
40
- ),
41
- document.body
42
- ) : null;
43
- }, Y = ({ children: t, ...o }) => {
44
- const s = y(u);
45
- return /* @__PURE__ */ c(f, { children: [
46
- typeof t == "function" ? t(s) : t,
47
- s.visibleToasts.length > 0 && /* @__PURE__ */ n(
48
- _,
49
- {
50
- ...o,
51
- state: s
52
- }
53
- )
54
- ] });
55
- };
56
- function _({
57
- state: t,
58
- className: o,
59
- ...s
60
- }) {
61
- const a = l.useRef(null), { regionProps: r } = g(s, t, a);
62
- return /* @__PURE__ */ n(
63
- "div",
64
- {
65
- ...r,
66
- ref: a,
67
- className: d(e.toastRegion, o),
68
- children: t.visibleToasts.map((i) => /* @__PURE__ */ n(
69
- z,
70
- {
71
- toast: i,
72
- state: t
73
- },
74
- i.key
75
- ))
76
- }
77
- );
78
- }
79
- function z({
80
- state: t,
81
- className: o,
82
- ...s
83
- }) {
84
- const a = l.useRef(null), { toastProps: r, contentProps: i, titleProps: m, closeButtonProps: T } = h(
85
- s,
86
- t,
87
- a
88
- );
89
- return /* @__PURE__ */ c(
90
- "div",
91
- {
92
- ...r,
93
- ref: a,
94
- className: d(
95
- e.toast,
96
- e[s.toast.content.type],
97
- o
98
- ),
99
- style: { viewTransitionName: s.toast.key },
100
- children: [
101
- /* @__PURE__ */ c(
102
- "div",
103
- {
104
- ...i,
105
- className: d(e.toastContent, i.className),
106
- children: [
107
- /* @__PURE__ */ n(
108
- P,
109
- {
110
- "aria-hidden": !0,
111
- className: e.icon,
112
- status: s.toast.content.type
113
- }
114
- ),
115
- /* @__PURE__ */ c("div", { children: [
116
- /* @__PURE__ */ n(
117
- "p",
118
- {
119
- className: e.toastMessage,
120
- ...m,
121
- children: s.toast.content.message
122
- }
123
- ),
124
- s.toast.content.children
125
- ] })
126
- ]
127
- }
128
- ),
129
- /* @__PURE__ */ n(
130
- p,
131
- {
132
- variant: "icon",
133
- ...T,
134
- children: /* @__PURE__ */ n(
135
- I,
136
- {
137
- size: 20,
138
- "aria-hidden": !0
139
- }
140
- )
141
- }
142
- )
143
- ]
144
- }
145
- );
146
- }
147
- export {
148
- W as G,
149
- Y as T,
150
- _ as a,
151
- z as b,
152
- G as t
153
- };