mainstack-design-system 1.19.3 → 1.19.5

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 (44) hide show
  1. package/dist/assets/styles.css +1 -1
  2. package/dist/assets/theme/lightDarkModeTheme.css +1 -0
  3. package/dist/assets/theme/tokenTheme.css +7 -18
  4. package/dist/mainstack-design-system366.cjs +1 -1
  5. package/dist/mainstack-design-system366.js +1 -1
  6. package/dist/mainstack-design-system406.cjs +6 -6
  7. package/dist/mainstack-design-system406.js +6 -6
  8. package/dist/mainstack-design-system420.cjs +1 -1
  9. package/dist/mainstack-design-system420.js +10 -10
  10. package/dist/mainstack-design-system422.cjs +1 -1
  11. package/dist/mainstack-design-system422.js +18 -18
  12. package/dist/mainstack-design-system437.cjs +1 -1
  13. package/dist/mainstack-design-system437.js +14 -14
  14. package/dist/mainstack-design-system440.cjs +1 -1
  15. package/dist/mainstack-design-system440.js +1 -1
  16. package/dist/mainstack-design-system451.cjs +1 -1
  17. package/dist/mainstack-design-system451.js +9 -9
  18. package/dist/mainstack-design-system461.cjs +1 -1
  19. package/dist/mainstack-design-system461.js +16 -16
  20. package/dist/mainstack-design-system472.cjs +1 -1
  21. package/dist/mainstack-design-system472.js +2 -2
  22. package/dist/mainstack-design-system494.cjs +1 -1
  23. package/dist/mainstack-design-system494.js +10 -10
  24. package/dist/mainstack-design-system544.cjs +1 -1
  25. package/dist/mainstack-design-system544.js +6 -6
  26. package/dist/mainstack-design-system560.cjs +1 -1
  27. package/dist/mainstack-design-system560.js +30 -27
  28. package/dist/mainstack-design-system561.cjs +1 -1
  29. package/dist/mainstack-design-system561.js +2 -2
  30. package/dist/mainstack-design-system568.cjs +1 -1
  31. package/dist/mainstack-design-system568.js +1 -1
  32. package/dist/mainstack-design-system586.cjs +1 -1
  33. package/dist/mainstack-design-system586.js +1 -1
  34. package/dist/mainstack-design-system611.cjs +1 -1
  35. package/dist/mainstack-design-system611.js +2 -1
  36. package/dist/mainstack-design-system621.cjs +1 -1
  37. package/dist/mainstack-design-system621.js +8 -8
  38. package/dist/mainstack-design-system627.cjs +1 -1
  39. package/dist/mainstack-design-system627.js +15 -15
  40. package/dist/mainstack-design-system632.cjs +1 -1
  41. package/dist/mainstack-design-system632.js +1 -0
  42. package/dist/mainstack-design-system633.cjs +1 -1
  43. package/dist/mainstack-design-system633.js +1 -1
  44. package/package.json +1 -1
@@ -244,6 +244,7 @@
244
244
  --color-border-surface-info-subtle: var(--mds-color-cobalt-275);
245
245
  --color-border-surface-info-strong: var(--mds-color-cobalt-325);
246
246
 
247
+ --color-border-surface-spread-neutral: var(--mds-color-neutral-125);
247
248
  --color-border-surface-spread-primary: var(--mds-color-indigo-50);
248
249
  --color-border-surface-spread-success: var(--mds-color-green-175);
249
250
  --color-border-surface-spread-error: var(--mds-color-red-175);
@@ -966,28 +966,17 @@ E.g: public:p-20 will apply padding 20px when data-ui-theme="public in html root
966
966
  0 -1px 0 0 var(--mds-color-elevation-shadow-10) inset;
967
967
 
968
968
  --shadow-special-button-default:
969
- -2px 0 0 0 var(--mds-color-neutral-400) inset,
970
- 0 -2px 0 0 var(--mds-color-neutral-400) inset,
971
- 2px 0 0 0 var(--mds-color-neutral-400) inset,
972
- 0 2px 0 0 var(--mds-color-neutral-400) inset,
973
- 0 4px 8px 0 var(--mds-color-elevation-shadow-20),
974
- 0 0 0 0.8px var(--mds-color-neutral-500);
969
+ -0.5px -0.5px 1px 1px rgba(252, 252, 253, 0.2) inset,
970
+ 0.5px 0.5px 1px 1px rgba(252, 252, 253, 0.2) inset;
975
971
 
976
972
  --shadow-special-button-hover:
977
- 0 4px 8px 0 var(--mds-color-elevation-shadow-10),
978
- 0 0 0 0.8px var(--mds-color-neutral-500),
979
- 0 -2px 0 0 var(--mds-color-neutral-500) inset,
980
- 0 2px 0 0 var(--mds-color-neutral-500) inset,
981
- -2px 0 0 0 var(--mds-color-neutral-500) inset,
982
- 2px 0 0 0 var(--mds-color-neutral-500) inset;
973
+ -0.5px -0.5px 1px 1px rgba(252, 252, 253, 0.2) inset,
974
+ 0.5px 0.5px 1px 1px rgba(252, 252, 253, 0.2) inset;
983
975
 
984
976
  --shadow-special-button-pressed:
985
- 0 6px 0 0 var(--mds-color-neutral-500) inset,
986
- 0 0 0 0.8px var(--mds-color-neutral-425),
987
- 0 2px 0 0 var(--mds-color-neutral-500) inset,
988
- 0 -2px 0 0 var(--mds-color-neutral-500) inset,
989
- 2px 0 0 0 var(--mds-color-neutral-500) inset,
990
- -2px 0 0 0 var(--mds-color-neutral-500) inset;
977
+ 0.521px 0.521px 0 0 var(--mds-color-neutral-375) inset,
978
+ 0 6.25px 0 0 var(--mds-color-neutral-500) inset,
979
+ 0 0 0 0 var(--mds-color-neutral-375) inset;
991
980
 
992
981
  --background-image-content-special: linear-gradient(
993
982
  0deg,
@@ -1 +1 @@
1
- "use strict";const o=require("react/jsx-runtime"),s=require("react"),w=require("./utils-BJ1u234q.cjs"),c=s.forwardRef(({children:u,className:l,...r},m)=>{const i=`mask-${s.useId()}`,t=r.width||"24",n=r.height||"24",p=s.Children.map(u,e=>{if(!s.isValidElement(e))return e;const a=e.props,d=typeof e.type=="string"&&e.type.toLowerCase()==="g",k="mask"in a;return d&&k?s.cloneElement(e,{...a,mask:`url(#${i})`}):e});return o.jsxs("svg",{ref:m,xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:`0 0 ${t} ${n}`,fill:"currentColor",stroke:"none",strokeWidth:"1",style:{maskType:"alpha"},className:w.cn("mds:size-24",l),...r,children:[o.jsx("mask",{id:i,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:t,height:n,children:o.jsx("rect",{width:t,height:n,fill:"white"})}),p]})});c.displayName="Icon";module.exports=c;
1
+ "use strict";const o=require("react/jsx-runtime"),s=require("react"),w=require("./utils-BJ1u234q.cjs"),c=s.forwardRef(({children:u,className:l,...r},m)=>{const i=`mask-${s.useId()}`,t=r.width||"24",n=r.height||"24",p=s.Children.map(u,e=>{if(!s.isValidElement(e))return e;const a=e.props,d=typeof e.type=="string"&&e.type.toLowerCase()==="g",k="mask"in a;return d&&k?s.cloneElement(e,{...a,mask:`url(#${i})`}):e});return o.jsxs("svg",{ref:m,xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:`0 0 ${t} ${n}`,fill:"currentColor",stroke:"none",strokeWidth:"1",style:{maskType:"alpha"},className:w.cn("mds:size-20",l),...r,children:[o.jsx("mask",{id:i,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:t,height:n,children:o.jsx("rect",{width:t,height:n,fill:"white"})}),p]})});c.displayName="Icon";module.exports=c;
@@ -23,7 +23,7 @@ const h = n.forwardRef(
23
23
  stroke: "none",
24
24
  strokeWidth: "1",
25
25
  style: { maskType: "alpha" },
26
- className: w("mds:size-24", l),
26
+ className: w("mds:size-20", l),
27
27
  ...r,
28
28
  children: [
29
29
  /* @__PURE__ */ i(
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAgJYdlN.cjs"),s=e.cva(`mds:group/buttonroot mds:inline-flex mds:items-center mds:justify-center mds:cursor-pointer mds:gap-4 mds:body-extrasmall-medium
2
2
  mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:transition-background mds:focus:ease-out
3
3
  mds:focus-visible:ring-2 mds:focus-visible:ring-border-interactive-info-light-focused mds:disabled:cursor-not-allowed`,{variants:{status:{default:"",warning:"",success:"",error:"",info:""},variant:{special:"",primary:"",secondary:"",outline:"",ghost:""},size:{tiny:"mds:body-tiny-medium mds:h-30 mds:p-6",xs:"mds:h-36 mds:px-14 mds:py-8",sm:"mds:h-40 mds:p-16",md:"mds:h-48 mds:px-16 mds:py-12",lg:"mds:h-56 mds:p-16"},rounded:{sm:"mds:rounded-full",md:"mds:rounded-10"}},compoundVariants:[{status:"default",variant:"special",class:`mds:bg-content-special mds:text-on-primary mds:shadow-special-button-default
4
- mds:border-1 mds:border-neutral-350
5
- mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover mds:outline-2 mds:outline-neutral-500
4
+ mds:border mds:border-neutral-475
5
+ mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover
6
6
 
7
- mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-primary
7
+ mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-neutral
8
8
  mds:disabled:bg-none mds:disabled:border-none mds:disabled:shadow-none mds:disabled:outline-none mds:disabled:bg-interactive-primary-disabled mds:disabled:text-on-primary-disabled`},{status:"default",variant:"primary",class:`mds:bg-primary mds:text-on-primary
9
9
  mds:hover:bg-interactive-primary-hover
10
10
 
@@ -15,12 +15,12 @@
15
15
  mds:active:bg-interactive-secondary-pressed mds:active:ring-2 mds:active:ring-border-surface-spread-primary
16
16
  mds:disabled:bg-interactive-primary-disabled mds:disabled:text-on-primary-disabled`},{status:"default",variant:"outline",class:`mds:border mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:text-primary
17
17
  mds:hover:bg-interactive-secondary mds:hover:border-interactive-secondary
18
- mds:focus-visible:border-border-surface-spread-primary
19
- mds:active:outline-2 mds:active:ring-offset-2 mds:active:ring-border-surface-spread-primary mds:active:ring-2 mds:active:outline-border-interactive-primary-pressed
18
+ mds:focus-visible:border-border-surface-spread-neutral
19
+ mds:active:outline-2 mds:active:ring-offset-2 mds:active:ring-border-surface-spread-neutral mds:active:ring-2 mds:active:outline-border-interactive-primary-pressed
20
20
  mds:disabled:border mds:disabled:border-border-interactive-primary-disabled mds:disabled:text-on-primary-disabled`},{status:"default",variant:"ghost",class:`mds:bg-transparent
21
21
  mds:hover:bg-interactive-ghost-hover
22
22
 
23
- mds:active:bg-interactive-ghost-pressed mds:active:ring-2 mds:active:ring-border-surface-spread-primary
23
+ mds:active:bg-interactive-ghost-pressed mds:active:ring-2 mds:active:ring-border-surface-spread-neutral
24
24
  mds:disabled:bg-transparent mds:disabled:text-on-primary-disabled`},{status:"warning",variant:"primary",class:`mds:bg-interactive-warning mds:text-on-warning
25
25
  mds:hover:bg-interactive-warning-hover
26
26
  mds:focus-visible:bg-warning mds:focus-visible:shadow-none
@@ -37,10 +37,10 @@ const r = e(
37
37
  status: "default",
38
38
  variant: "special",
39
39
  class: `mds:bg-content-special mds:text-on-primary mds:shadow-special-button-default
40
- mds:border-1 mds:border-neutral-350
41
- mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover mds:outline-2 mds:outline-neutral-500
40
+ mds:border mds:border-neutral-475
41
+ mds:hover:bg-content-special-hover mds:hover:shadow-special-button-hover
42
42
 
43
- mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-primary
43
+ mds:active:bg-content-special mds:active:shadow-special-button-pressed mds:active:ring-2 mds:ring-offset-2 mds:ring-border-surface-spread-neutral
44
44
  mds:disabled:bg-none mds:disabled:border-none mds:disabled:shadow-none mds:disabled:outline-none mds:disabled:bg-interactive-primary-disabled mds:disabled:text-on-primary-disabled`
45
45
  },
46
46
  {
@@ -66,8 +66,8 @@ const r = e(
66
66
  variant: "outline",
67
67
  class: `mds:border mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:text-primary
68
68
  mds:hover:bg-interactive-secondary mds:hover:border-interactive-secondary
69
- mds:focus-visible:border-border-surface-spread-primary
70
- mds:active:outline-2 mds:active:ring-offset-2 mds:active:ring-border-surface-spread-primary mds:active:ring-2 mds:active:outline-border-interactive-primary-pressed
69
+ mds:focus-visible:border-border-surface-spread-neutral
70
+ mds:active:outline-2 mds:active:ring-offset-2 mds:active:ring-border-surface-spread-neutral mds:active:ring-2 mds:active:outline-border-interactive-primary-pressed
71
71
  mds:disabled:border mds:disabled:border-border-interactive-primary-disabled mds:disabled:text-on-primary-disabled`
72
72
  },
73
73
  {
@@ -76,7 +76,7 @@ const r = e(
76
76
  class: `mds:bg-transparent
77
77
  mds:hover:bg-interactive-ghost-hover
78
78
 
79
- mds:active:bg-interactive-ghost-pressed mds:active:ring-2 mds:active:ring-border-surface-spread-primary
79
+ mds:active:bg-interactive-ghost-pressed mds:active:ring-2 mds:active:ring-border-surface-spread-neutral
80
80
  mds:disabled:bg-transparent mds:disabled:text-on-primary-disabled`
81
81
  },
82
82
  // WARNING BUTTONS
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),o=require("react"),n=require("./index-BgXU_6PU.cjs"),m=require("./utils-BJ1u234q.cjs"),r=o.forwardRef(({className:t,children:d,isError:e,...a},s)=>i.jsx(n.Item,{"data-slot":"accordion-item",className:m.cn("mds:w-full mds:p-16 mds:rounded-18 mds:bg-surface-neutral-l1 mds:hover:bg-interactive-secondary mds:flex mds:flex-col mds:gap-16",'mds:data-[state="open"]:bg-surface-neutral-l1 mds:data-[state="open"]:ring-2',e?"mds:ring-border-surface-error-l1 mds:ring-2":"mds:ring-border-interactive-primary mds:ring-1",e?'mds:data-[state="open"]:ring-border-surface-error-l1':'mds:data-[state="open"]:ring-border-interactive-primary-active',"mds:transition-all mds:duration-300 mds:ease-in-out","mds:data-disabled:opacity-50 mds:data-disabled:cursor-not-allowed",t),ref:s,...a,children:d}));r.displayName="AccordionItem";exports.AccordionItem=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("react"),n=require("./index-BgXU_6PU.cjs"),m=require("./utils-BJ1u234q.cjs"),r=i.forwardRef(({className:d,children:s,isError:e,...t},a)=>o.jsx(n.Item,{"data-slot":"accordion-item",className:m.cn("mds:w-full mds:p-16 mds:rounded-18 mds:bg-surface-neutral-l1 mds:hover:bg-interactive-secondary mds:flex mds:flex-col mds:gap-16",'mds:data-[state="open"]:bg-surface-neutral-l1',e?"mds:ring-border-surface-error-l1 mds:ring-2":"mds:ring-border-interactive-primary mds:ring-1",e&&'mds:data-[state="open"]:ring-border-surface-error-l1',"mds:transition-all mds:duration-300 mds:ease-in-out","mds:data-disabled:opacity-50 mds:data-disabled:cursor-not-allowed",d),ref:a,...t,children:s}));r.displayName="AccordionItem";exports.AccordionItem=r;
@@ -1,24 +1,24 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import o from "react";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import t from "react";
3
3
  import { I as m } from "./index-Z8GhkKSz.js";
4
4
  import { c as i } from "./utils-DH-0D-9U.js";
5
- const n = o.forwardRef(
6
- ({ className: a, children: e, isError: r, ...d }, t) => /* @__PURE__ */ s(
5
+ const n = t.forwardRef(
6
+ ({ className: d, children: a, isError: r, ...e }, s) => /* @__PURE__ */ o(
7
7
  m,
8
8
  {
9
9
  "data-slot": "accordion-item",
10
10
  className: i(
11
11
  "mds:w-full mds:p-16 mds:rounded-18 mds:bg-surface-neutral-l1 mds:hover:bg-interactive-secondary mds:flex mds:flex-col mds:gap-16",
12
- 'mds:data-[state="open"]:bg-surface-neutral-l1 mds:data-[state="open"]:ring-2',
12
+ 'mds:data-[state="open"]:bg-surface-neutral-l1',
13
13
  r ? "mds:ring-border-surface-error-l1 mds:ring-2" : "mds:ring-border-interactive-primary mds:ring-1",
14
- r ? 'mds:data-[state="open"]:ring-border-surface-error-l1' : 'mds:data-[state="open"]:ring-border-interactive-primary-active',
14
+ r && 'mds:data-[state="open"]:ring-border-surface-error-l1',
15
15
  "mds:transition-all mds:duration-300 mds:ease-in-out",
16
16
  "mds:data-disabled:opacity-50 mds:data-disabled:cursor-not-allowed",
17
- a
17
+ d
18
18
  ),
19
- ref: t,
20
- ...d,
21
- children: e
19
+ ref: s,
20
+ ...e,
21
+ children: a
22
22
  }
23
23
  )
24
24
  );
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("./index-BgXU_6PU.cjs"),r=require("./utils-BJ1u234q.cjs");require("./mainstack-design-system366.cjs");const i=require("./mainstack-design-system196.cjs");require("./player-C6X6nrWe.cjs");const o=d.forwardRef(({className:s,children:t,...n},a)=>e.jsxs(c.Header,{"data-slot":"accordion-header",ref:a,className:r.cn("mds:group mds:flex mds:items-center mds:gap-8 mds:w-full",s),...n,children:[t,e.jsx(i,{className:r.cn("mds:transition-transform mds:duration-300 mds:ease-in-out",'mds:group-data-[state="open"]:rotate-180')})]}));o.displayName="AccordionHeader";exports.AccordionHeader=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react"),r=require("./index-BgXU_6PU.cjs"),s=require("./utils-BJ1u234q.cjs");require("./mainstack-design-system366.cjs");const c=require("./mainstack-design-system196.cjs");require("./player-C6X6nrWe.cjs");const o=i.forwardRef(({className:t,children:n,...d},a)=>e.jsxs(r.Header,{"data-slot":"accordion-header",ref:a,className:s.cn("mds:group mds:flex mds:items-center mds:gap-8 mds:w-full",t),...d,children:[n,e.jsx(r.Trigger2,{asChild:!0,children:e.jsx(c,{className:s.cn("mds:transition-transform mds:cursor-pointer mds:duration-300 mds:ease-in-out",'mds:group-data-[state="open"]:rotate-180')})})]}));o.displayName="AccordionHeader";exports.AccordionHeader=o;
@@ -1,37 +1,37 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import d from "react";
3
- import { H as i } from "./index-Z8GhkKSz.js";
4
- import { c as r } from "./utils-DH-0D-9U.js";
1
+ import { jsxs as d, jsx as r } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { H as i, T as n } from "./index-Z8GhkKSz.js";
4
+ import { c as o } from "./utils-DH-0D-9U.js";
5
5
  import "./mainstack-design-system366.js";
6
- import n from "./mainstack-design-system196.js";
6
+ import c from "./mainstack-design-system196.js";
7
7
  import "./player-DlPlWw5L.js";
8
- const c = d.forwardRef(
9
- ({ className: o, children: a, ...e }, m) => /* @__PURE__ */ s(
8
+ const p = m.forwardRef(
9
+ ({ className: e, children: a, ...s }, t) => /* @__PURE__ */ d(
10
10
  i,
11
11
  {
12
12
  "data-slot": "accordion-header",
13
- ref: m,
14
- className: r(
13
+ ref: t,
14
+ className: o(
15
15
  "mds:group mds:flex mds:items-center mds:gap-8 mds:w-full",
16
- o
16
+ e
17
17
  ),
18
- ...e,
18
+ ...s,
19
19
  children: [
20
20
  a,
21
- /* @__PURE__ */ t(
22
- n,
21
+ /* @__PURE__ */ r(n, { asChild: !0, children: /* @__PURE__ */ r(
22
+ c,
23
23
  {
24
- className: r(
25
- "mds:transition-transform mds:duration-300 mds:ease-in-out",
24
+ className: o(
25
+ "mds:transition-transform mds:cursor-pointer mds:duration-300 mds:ease-in-out",
26
26
  'mds:group-data-[state="open"]:rotate-180'
27
27
  )
28
28
  }
29
- )
29
+ ) })
30
30
  ]
31
31
  }
32
32
  )
33
33
  );
34
- c.displayName = "AccordionHeader";
34
+ p.displayName = "AccordionHeader";
35
35
  export {
36
- c as AccordionHeader
36
+ p as AccordionHeader
37
37
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),a=require("react"),l=require("./index-CpE6WAgy.cjs"),u=require("./utils-BJ1u234q.cjs");function d(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=d(a),s=f.forwardRef(({className:e,asChild:n=!1,children:t,...r},o)=>{const c=n?l.Slot:"span";return i.jsx(c,{ref:o,"data-slot":"chip-slot",className:u.cn("mds:inline-flex mds:items-center mds:justify-center mds:shrink-0 mds:[&_svg]:text-accent",e),...r,children:t})});s.displayName="ChipSlot";exports.ChipSlot=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),l=require("react"),a=require("./index-CpE6WAgy.cjs"),u=require("./utils-BJ1u234q.cjs");function d(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return s.default=e,Object.freeze(s)}const m=d(l),n=m.forwardRef(({className:e,asChild:s=!1,children:t,...r},i)=>{const o=s?a.Slot:"span";return c.jsx(o,{ref:i,"data-slot":"chip-slot",className:u.cn("mds:inline-flex mds:items-center mds:justify-center mds:shrink-0 mds:[&:first-child_svg]:text-primary mds:[&:last-child_svg]:text-secondary",e),...r,children:t})});n.displayName="ChipSlot";exports.ChipSlot=n;
@@ -1,23 +1,23 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import { S as i } from "./index-BtQfgaSF.js";
4
- import { c as p } from "./utils-DH-0D-9U.js";
5
- const c = a.forwardRef(
6
- ({ className: s, asChild: t = !1, children: o, ...m }, e) => /* @__PURE__ */ r(
7
- t ? i : "span",
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import * as i from "react";
3
+ import { S as a } from "./index-BtQfgaSF.js";
4
+ import { c as l } from "./utils-DH-0D-9U.js";
5
+ const p = i.forwardRef(
6
+ ({ className: s, asChild: t = !1, children: m, ...o }, r) => /* @__PURE__ */ e(
7
+ t ? a : "span",
8
8
  {
9
- ref: e,
9
+ ref: r,
10
10
  "data-slot": "chip-slot",
11
- className: p(
12
- "mds:inline-flex mds:items-center mds:justify-center mds:shrink-0 mds:[&_svg]:text-accent",
11
+ className: l(
12
+ "mds:inline-flex mds:items-center mds:justify-center mds:shrink-0 mds:[&:first-child_svg]:text-primary mds:[&:last-child_svg]:text-secondary",
13
13
  s
14
14
  ),
15
- ...m,
16
- children: o
15
+ ...o,
16
+ children: m
17
17
  }
18
18
  )
19
19
  );
20
- c.displayName = "ChipSlot";
20
+ p.displayName = "ChipSlot";
21
21
  export {
22
- c as ChipSlot
22
+ p as ChipSlot
23
23
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-CAgJYdlN.cjs"),e=r.cva(["mds:group/parent mds:flex mds:items-center mds:justify-center mds:gap-4 mds:w-full mds:rounded-full mds:outline-none mds:transition-colors mds:body-extrasmall-medium mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-primary mds:text-primary mds:cursor-pointer","mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:transition-background mds:focus:ease-out","mds:hover:bg-interactive-secondary","mds:aria-disabled:bg-interactive-neutral-disabled mds:aria-disabled:text-disabled mds:aria-disabled:pointer-events-none mds:aria-disabled:cursor-not-allowed","mds:focus-visible:ring-2 mds:focus-visible:ring-offset-0 mds:focus-visible:outline-2 mds:focus-visible:outline-border-interactive-primary mds:focus-visible:ring-border-surface-spread-focus","mds:active:ring-3 mds:active:border-1 mds:active:border-border-interactive-primary-pressed mds:active:ring-border-surface-spread-primary","mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active","mds:active:**:data-[slot=checkbox-indicator]:ring-3 mds:active:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-primary mds:active:**:data-[slot=checkbox-indicator]:border-2 mds:active:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-pressed","mds:hover:**:data-[slot=checkbox-indicator]:bg-interactive-secondary mds:hover:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-hover","mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-2 mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-focus","mds:data-[selected=true]:**:data-[slot=checkbox-indicator]:bg-interactive-primary","mds:flex mds:gap-4"],{variants:{size:{tiny:"mds:h-32",xs:"mds:h-36 ",sm:"mds:h-40"}},defaultVariants:{size:"sm"}}),s=r.cva(["mds:pointer-events-none mds:rounded-full mds:size-15 mds:border mds:border-border-surface-neutral-l1","mds:group-hover:bg-interactive-secondary mds:group-hover:border-border-surface-neutral-l1","mds:group-focus-visible:border-2 mds:group-focus-visible:border-border-surface-spread-focus","mds:group-active:ring-3 mds:group-active:rounded-full! mds:group-active:border-2 mds:group-active:border-border-interactive-primary-pressed mds:group-active:ring-border-surface-spread-primary","mds:group-data-[selected=true]:border-2 mds:group-data-[selected=true]:border-border-interactive-primary-active","mds:[&_svg]:size-15"]);exports.chipCheckboxVariants=s;exports.chipVariants=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-CAgJYdlN.cjs"),e=r.cva(["mds:group/parent mds:flex mds:items-center mds:justify-center mds:gap-4 mds:w-full mds:rounded-full mds:outline-none mds:transition-colors mds:body-extrasmall-medium mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-primary mds:text-primary mds:cursor-pointer","mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:transition-background mds:focus:ease-out","mds:hover:bg-interactive-secondary","mds:aria-disabled:bg-interactive-neutral-disabled mds:aria-disabled:text-disabled mds:aria-disabled:pointer-events-none mds:aria-disabled:cursor-not-allowed","mds:focus-visible:ring-2 mds:focus-visible:ring-offset-0 mds:focus-visible:outline-2 mds:focus-visible:outline-border-interactive-primary mds:focus-visible:ring-border-surface-spread-focus","mds:active:ring-3 mds:active:border-1 mds:active:border-border-interactive-primary-pressed mds:active:ring-border-surface-spread-primary","mds:data-[selected=true]:ring-3 mds:data-[selected=true]:ring-border-surface-spread-primary mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active","mds:active:**:data-[slot=checkbox-indicator]:ring-3 mds:active:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-primary mds:active:**:data-[slot=checkbox-indicator]:border-2 mds:active:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-pressed","mds:hover:**:data-[slot=checkbox-indicator]:bg-interactive-secondary mds:hover:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-hover","mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-2 mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-focus","mds:data-[selected=true]:**:data-[slot=checkbox-indicator]:bg-interactive-primary","mds:flex mds:gap-4"],{variants:{size:{tiny:"mds:h-32",xs:"mds:h-36 ",sm:"mds:h-40"}},defaultVariants:{size:"sm"}}),d=r.cva(["mds:pointer-events-none mds:rounded-full mds:size-15 mds:border mds:border-border-surface-neutral-l1","mds:group-hover:bg-interactive-secondary mds:group-hover:border-border-surface-neutral-l1","mds:group-focus-visible:border-2 mds:group-focus-visible:border-border-surface-spread-focus","mds:group-active:ring-3 mds:group-active:rounded-full! mds:group-active:border-2 mds:group-active:border-border-interactive-primary-pressed mds:group-active:ring-border-surface-spread-primary","mds:group-data-[selected=true]:border-2 mds:group-data-[selected=true]:border-border-interactive-primary-active","mds:[&_svg]:size-15"]);exports.chipCheckboxVariants=d;exports.chipVariants=e;
@@ -7,7 +7,7 @@ const d = r(
7
7
  "mds:aria-disabled:bg-interactive-neutral-disabled mds:aria-disabled:text-disabled mds:aria-disabled:pointer-events-none mds:aria-disabled:cursor-not-allowed",
8
8
  "mds:focus-visible:ring-2 mds:focus-visible:ring-offset-0 mds:focus-visible:outline-2 mds:focus-visible:outline-border-interactive-primary mds:focus-visible:ring-border-surface-spread-focus",
9
9
  "mds:active:ring-3 mds:active:border-1 mds:active:border-border-interactive-primary-pressed mds:active:ring-border-surface-spread-primary",
10
- "mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active",
10
+ "mds:data-[selected=true]:ring-3 mds:data-[selected=true]:ring-border-surface-spread-primary mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active",
11
11
  "mds:active:**:data-[slot=checkbox-indicator]:ring-3 mds:active:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-primary mds:active:**:data-[slot=checkbox-indicator]:border-2 mds:active:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-pressed",
12
12
  "mds:hover:**:data-[slot=checkbox-indicator]:bg-interactive-secondary mds:hover:**:data-[slot=checkbox-indicator]:border-border-interactive-primary-hover",
13
13
  "mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-2 mds:focus-visible:**:data-[slot=checkbox-indicator]:ring-border-surface-spread-focus",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("react"),i=require("./utils-BJ1u234q.cjs"),e=n.forwardRef(({className:t,shape:d="rounded",isError:s,isSuccess:r,...a},l)=>o.jsx("input",{ref:l,"data-slot":"input-field","data-error":s,"data-success":r,"data-shape":d,className:i.cn("mds:body-extrasmall-book","mds:peer mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed",t),...a}));e.displayName="InputField";exports.InputField=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("react"),u=require("./utils-BJ1u234q.cjs"),e=o.forwardRef(({className:t,shape:r="rounded",isError:d,isSuccess:s,...a},l)=>n.jsx("input",{ref:l,"data-slot":"input-field","data-error":d,"data-success":s,"data-shape":r,className:u.cn("mds:body-extrasmall-regular","mds:peer mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed",t),...a}));e.displayName="InputField";exports.InputField=e;
@@ -1,23 +1,23 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as l } from "react";
3
3
  import { c as m } from "./utils-DH-0D-9U.js";
4
4
  const n = l(
5
5
  ({
6
6
  className: e,
7
- shape: d = "rounded",
8
- isError: r,
9
- isSuccess: o,
7
+ shape: r = "rounded",
8
+ isError: d,
9
+ isSuccess: a,
10
10
  ...s
11
- }, t) => /* @__PURE__ */ a(
11
+ }, t) => /* @__PURE__ */ o(
12
12
  "input",
13
13
  {
14
14
  ref: t,
15
15
  "data-slot": "input-field",
16
- "data-error": r,
17
- "data-success": o,
18
- "data-shape": d,
16
+ "data-error": d,
17
+ "data-success": a,
18
+ "data-shape": r,
19
19
  className: m(
20
- "mds:body-extrasmall-book",
20
+ "mds:body-extrasmall-regular",
21
21
  "mds:peer mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed",
22
22
  e
23
23
  ),
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),g=require("react"),m=require("./mainstack-design-system450.cjs"),F=require("./mainstack-design-system451.cjs");require("./mainstack-design-system449.cjs");const e=require("./utils-BJ1u234q.cjs"),C=require("./mainstack-design-system605.cjs"),P=require("./mainstack-design-system398.cjs"),c=g.forwardRef(({placeholder:a="0.00",disabled:s,...l},d)=>{const{activeCountry:i,isDisabled:u,value:_,onValueChange:r}=C.usePriceFieldContext(),p=P.COUNTRIES_ISO2_CODE_TO_CURRENCY_CODE_MAP[i];return t.jsxs(m.InputRoot,{"data-slot":"price-field-digit-field",className:"mds:has-disabled:opacity-50",children:[t.jsx("p",{className:e.cn("mds:body-extrasmall-book"),children:p??""}),t.jsx(F.InputField,{...l,disabled:s||u,placeholder:a,value:e.formatPriceDigit(e.sanitizePriceInputValue(_)),onChange:n=>{const o=e.getPriceDigitMetadataValueObject({value:n.target.value,activeCountry:i});r&&(n.target.value=o.digit,r(o))},ref:d})]})});c.displayName="PriceFieldDigitField";exports.PriceFieldDigitField=c;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),g=require("react"),m=require("./mainstack-design-system450.cjs"),F=require("./mainstack-design-system451.cjs");require("./mainstack-design-system449.cjs");const e=require("./utils-BJ1u234q.cjs"),C=require("./mainstack-design-system605.cjs"),P=require("./mainstack-design-system398.cjs"),c=g.forwardRef(({placeholder:o="0.00",disabled:s,...l},u)=>{const{activeCountry:i,isDisabled:d,value:_,onValueChange:r}=C.usePriceFieldContext(),p=P.COUNTRIES_ISO2_CODE_TO_CURRENCY_CODE_MAP[i];return t.jsxs(m.InputRoot,{"data-slot":"price-field-digit-field",className:"mds:has-disabled:opacity-50",children:[t.jsx("p",{className:e.cn("mds:body-extrasmall-regular"),children:p??""}),t.jsx(F.InputField,{...l,disabled:s||d,placeholder:o,value:e.formatPriceDigit(e.sanitizePriceInputValue(_)),onChange:n=>{const a=e.getPriceDigitMetadataValueObject({value:n.target.value,activeCountry:i});r&&(n.target.value=a.digit,r(a))},ref:u})]})});c.displayName="PriceFieldDigitField";exports.PriceFieldDigitField=c;
@@ -1,35 +1,35 @@
1
1
  'use client';
2
- import { jsxs as p, jsx as r } from "react/jsx-runtime";
3
- import { forwardRef as u } from "react";
2
+ import { jsxs as u, jsx as r } from "react/jsx-runtime";
3
+ import { forwardRef as p } from "react";
4
4
  import { InputRoot as f } from "./mainstack-design-system450.js";
5
5
  import { InputField as g } from "./mainstack-design-system451.js";
6
6
  import "./mainstack-design-system449.js";
7
- import { c as C, d as _, l as b, b as v } from "./utils-DH-0D-9U.js";
8
- import { usePriceFieldContext as D } from "./mainstack-design-system605.js";
9
- import { COUNTRIES_ISO2_CODE_TO_CURRENCY_CODE_MAP as P } from "./mainstack-design-system398.js";
10
- const y = u(
11
- ({ placeholder: o = "0.00", disabled: d, ...l }, s) => {
12
- const { activeCountry: i, isDisabled: c, value: m, onValueChange: e } = D(), n = P[i];
13
- return /* @__PURE__ */ p(
7
+ import { c as C, d as _, l as v, b as D } from "./utils-DH-0D-9U.js";
8
+ import { usePriceFieldContext as P } from "./mainstack-design-system605.js";
9
+ import { COUNTRIES_ISO2_CODE_TO_CURRENCY_CODE_MAP as b } from "./mainstack-design-system398.js";
10
+ const y = p(
11
+ ({ placeholder: o = "0.00", disabled: l, ...d }, s) => {
12
+ const { activeCountry: e, isDisabled: c, value: m, onValueChange: i } = P(), n = b[e];
13
+ return /* @__PURE__ */ u(
14
14
  f,
15
15
  {
16
16
  "data-slot": "price-field-digit-field",
17
17
  className: "mds:has-disabled:opacity-50",
18
18
  children: [
19
- /* @__PURE__ */ r("p", { className: C("mds:body-extrasmall-book"), children: n ?? "" }),
19
+ /* @__PURE__ */ r("p", { className: C("mds:body-extrasmall-regular"), children: n ?? "" }),
20
20
  /* @__PURE__ */ r(
21
21
  g,
22
22
  {
23
- ...l,
24
- disabled: d || c,
23
+ ...d,
24
+ disabled: l || c,
25
25
  placeholder: o,
26
- value: _(v(m)),
26
+ value: _(D(m)),
27
27
  onChange: (t) => {
28
- const a = b({
28
+ const a = v({
29
29
  value: t.target.value,
30
- activeCountry: i
30
+ activeCountry: e
31
31
  });
32
- e && (t.target.value = a.digit, e(a));
32
+ i && (t.target.value = a.digit, i(a));
33
33
  },
34
34
  ref: s
35
35
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),r=require("./index-DX47zPiS.cjs"),m=require("./utils-BJ1u234q.cjs"),d=t.forwardRef(({className:s,...a},i)=>e.jsx(r.Item2,{"data-slot":"radio-item-indicator",className:m.cn("mds:peer mds:relative mds:flex mds:items-center mds:gap-12 mds:border mds:cursor-pointer mds:rounded-full mds:border-border-interactive-primary mds:bg-on-primary mds:size-24 mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:ring-2 mds:active:ring-2 mds:active:ring-border-surface-spread-primary mds:focus:ring-border-surface-spread-focus mds:ring-offset-0 mds:group-data-[error=true]:border-border-surface-error-l1 mds:group-data-[radio-size=large]:size-32 mds:disabled:bg-interactive-primary-disabled mds:hover:border-border-interactive-primary-active-hover mds:aria-checked:bg-interactive-primary mds:disabled:aria-checked:bg-disabled mds:disabled:border-bg-interactive-primary-disabled mds:disabled:cursor-not-allowed ",s),ref:i,...a,children:e.jsx(r.Indicator,{className:"mds:absolute mds:left-1/2 mds:top-1/2 mds:-translate-1/2 mds:flex mds:items-center mds:justify-center mds:size-full mds:after:content-[''] mds:after:block mds:after:size-12 mds:after:rounded-full mds:after:bg-on-primary mds:group-data-[radio-size=large]:after:size-16 "})}));d.displayName="RadioItemIndicator";exports.RadioItemIndicator=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("react"),r=require("./index-DX47zPiS.cjs"),m=require("./utils-BJ1u234q.cjs"),d=t.forwardRef(({className:s,...a},i)=>e.jsx(r.Item2,{"data-slot":"radio-item-indicator",className:m.cn("mds:peer mds:relative mds:flex mds:items-center mds:gap-12 mds:border mds:cursor-pointer mds:rounded-full mds:border-border-interactive-primary mds:bg-on-primary mds:size-20 mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:ring-2 mds:active:ring-2 mds:active:ring-border-surface-spread-primary mds:focus:ring-border-surface-spread-focus mds:ring-offset-0 mds:group-data-[error=true]:border-border-surface-error-l1 mds:group-data-[radio-size=large]:size-32 mds:disabled:bg-interactive-primary-disabled mds:hover:border-border-interactive-primary-active-hover mds:aria-checked:bg-interactive-primary mds:disabled:aria-checked:bg-disabled mds:disabled:border-bg-interactive-primary-disabled mds:disabled:cursor-not-allowed ",s),ref:i,...a,children:e.jsx(r.Indicator,{className:"mds:absolute mds:left-1/2 mds:top-1/2 mds:-translate-1/2 mds:flex mds:items-center mds:justify-center mds:size-full mds:after:content-[''] mds:after:block mds:after:size-10 mds:after:rounded-full mds:after:bg-on-primary mds:group-data-[radio-size=large]:after:size-16 "})}));d.displayName="RadioItemIndicator";exports.RadioItemIndicator=d;
@@ -8,12 +8,12 @@ const o = a(
8
8
  {
9
9
  "data-slot": "radio-item-indicator",
10
10
  className: t(
11
- "mds:peer mds:relative mds:flex mds:items-center mds:gap-12 mds:border mds:cursor-pointer mds:rounded-full mds:border-border-interactive-primary mds:bg-on-primary mds:size-24 mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:ring-2 mds:active:ring-2 mds:active:ring-border-surface-spread-primary mds:focus:ring-border-surface-spread-focus mds:ring-offset-0 mds:group-data-[error=true]:border-border-surface-error-l1 mds:group-data-[radio-size=large]:size-32 mds:disabled:bg-interactive-primary-disabled mds:hover:border-border-interactive-primary-active-hover mds:aria-checked:bg-interactive-primary mds:disabled:aria-checked:bg-disabled mds:disabled:border-bg-interactive-primary-disabled mds:disabled:cursor-not-allowed ",
11
+ "mds:peer mds:relative mds:flex mds:items-center mds:gap-12 mds:border mds:cursor-pointer mds:rounded-full mds:border-border-interactive-primary mds:bg-on-primary mds:size-20 mds:active:transition-transform mds:ease-out-cubic mds:duration-150 mds:active:scale-[0.85] mds:focus:ring-2 mds:active:ring-2 mds:active:ring-border-surface-spread-primary mds:focus:ring-border-surface-spread-focus mds:ring-offset-0 mds:group-data-[error=true]:border-border-surface-error-l1 mds:group-data-[radio-size=large]:size-32 mds:disabled:bg-interactive-primary-disabled mds:hover:border-border-interactive-primary-active-hover mds:aria-checked:bg-interactive-primary mds:disabled:aria-checked:bg-disabled mds:disabled:border-bg-interactive-primary-disabled mds:disabled:cursor-not-allowed ",
12
12
  e
13
13
  ),
14
14
  ref: s,
15
15
  ...d,
16
- children: /* @__PURE__ */ r(m, { className: "mds:absolute mds:left-1/2 mds:top-1/2 mds:-translate-1/2 mds:flex mds:items-center mds:justify-center mds:size-full mds:after:content-[''] mds:after:block mds:after:size-12 mds:after:rounded-full mds:after:bg-on-primary mds:group-data-[radio-size=large]:after:size-16 " })
16
+ children: /* @__PURE__ */ r(m, { className: "mds:absolute mds:left-1/2 mds:top-1/2 mds:-translate-1/2 mds:flex mds:items-center mds:justify-center mds:size-full mds:after:content-[''] mds:after:block mds:after:size-10 mds:after:rounded-full mds:after:bg-on-primary mds:group-data-[radio-size=large]:after:size-16 " })
17
17
  }
18
18
  )
19
19
  );
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("react"),i=require("./utils-BJ1u234q.cjs"),e=o.forwardRef(({className:t,isError:a,isSuccess:r,...s},d)=>l.jsx("textarea",{ref:d,"data-slot":"textarea-field","data-error":a,"data-success":r,className:i.cn("mds:body-extrasmall-book","mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed mds:resize-none mds:min-h-80 mds:min-w-full mds:max-w-full",t),...s}));e.displayName="TextareaField";exports.TextareaField=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),o=require("react"),i=require("./utils-BJ1u234q.cjs"),e=o.forwardRef(({className:r,isError:a,isSuccess:t,...s},d)=>l.jsx("textarea",{ref:d,"data-slot":"textarea-field","data-error":a,"data-success":t,className:i.cn("mds:body-extrasmall-regular","mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed mds:resize-none mds:min-h-80 mds:min-w-full mds:max-w-full",r),...s}));e.displayName="TextareaField";exports.TextareaField=e;
@@ -1,16 +1,16 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { forwardRef as o } from "react";
3
- import { c as t } from "./utils-DH-0D-9U.js";
4
- const l = o(
5
- ({ className: e, isError: a, isSuccess: r, ...d }, s) => /* @__PURE__ */ m(
2
+ import { forwardRef as t } from "react";
3
+ import { c as l } from "./utils-DH-0D-9U.js";
4
+ const o = t(
5
+ ({ className: e, isError: r, isSuccess: a, ...d }, s) => /* @__PURE__ */ m(
6
6
  "textarea",
7
7
  {
8
8
  ref: s,
9
9
  "data-slot": "textarea-field",
10
- "data-error": a,
11
- "data-success": r,
12
- className: t(
13
- "mds:body-extrasmall-book",
10
+ "data-error": r,
11
+ "data-success": a,
12
+ className: l(
13
+ "mds:body-extrasmall-regular",
14
14
  "mds:flex-1 mds:border-none mds:outline-none mds:h-full mds:placeholder:text-tertiary mds:disabled:cursor-not-allowed mds:resize-none mds:min-h-80 mds:min-w-full mds:max-w-full",
15
15
  e
16
16
  ),
@@ -18,7 +18,7 @@ const l = o(
18
18
  }
19
19
  )
20
20
  );
21
- l.displayName = "TextareaField";
21
+ o.displayName = "TextareaField";
22
22
  export {
23
- l as TextareaField
23
+ o as TextareaField
24
24
  };
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("./index-HSoR75mY.cjs"),c=require("react"),u=require("./utils-BJ1u234q.cjs"),l=require("./mainstack-design-system401.cjs");require("./mainstack-design-system402.cjs");const a=require("./mainstack-design-system403.cjs");require("./mainstack-design-system404.cjs");require("./mainstack-design-system405.cjs");require("./mainstack-design-system366.cjs");const d=require("./mainstack-design-system93.cjs");require("./player-C6X6nrWe.cjs");const n=c.forwardRef(({children:o,className:t,...r},s)=>e.jsx(i.DialogClose,{"data-slot":"modal-close",className:u.cn(t),ref:s,asChild:!0,...r,children:o||e.jsx(a.ButtonRoot,{size:"sm",iconOnly:!0,rounded:"sm",variant:"secondary",className:"mds:min-w-36 mds:min-h-36",children:e.jsx(l.ButtonIcon,{children:e.jsx(d,{variant:"filled"})})})}));n.displayName="ModalClose";exports.ModalClose=n;
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("./index-HSoR75mY.cjs"),u=require("react"),c=require("./utils-BJ1u234q.cjs"),l=require("./mainstack-design-system401.cjs");require("./mainstack-design-system402.cjs");const a=require("./mainstack-design-system403.cjs");require("./mainstack-design-system404.cjs");require("./mainstack-design-system405.cjs");require("./mainstack-design-system366.cjs");const d=require("./mainstack-design-system108.cjs");require("./player-C6X6nrWe.cjs");const t=u.forwardRef(({children:o,className:n,...r},s)=>e.jsx(i.DialogClose,{"data-slot":"modal-close",className:c.cn(n),ref:s,asChild:!0,...r,children:o||e.jsx(a.ButtonRoot,{size:"sm",iconOnly:!0,rounded:"sm",variant:"secondary",className:"mds:min-w-36 mds:min-h-36",children:e.jsx(l.ButtonIcon,{children:e.jsx(d,{})})})}));t.displayName="ModalClose";exports.ModalClose=t;
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsx as o } from "react/jsx-runtime";
3
- import { b as a } from "./index-DDHQjaCF.js";
4
- import { forwardRef as s } from "react";
3
+ import { b as s } from "./index-DDHQjaCF.js";
4
+ import { forwardRef as a } from "react";
5
5
  import { c as e } from "./utils-DH-0D-9U.js";
6
6
  import { ButtonIcon as l } from "./mainstack-design-system401.js";
7
7
  import "./mainstack-design-system402.js";
@@ -9,11 +9,11 @@ import { ButtonRoot as n } from "./mainstack-design-system403.js";
9
9
  import "./mainstack-design-system404.js";
10
10
  import "./mainstack-design-system405.js";
11
11
  import "./mainstack-design-system366.js";
12
- import d from "./mainstack-design-system93.js";
12
+ import d from "./mainstack-design-system108.js";
13
13
  import "./player-DlPlWw5L.js";
14
- const p = s(
14
+ const p = a(
15
15
  ({ children: r, className: m, ...t }, i) => /* @__PURE__ */ o(
16
- a,
16
+ s,
17
17
  {
18
18
  "data-slot": "modal-close",
19
19
  className: e(m),
@@ -28,7 +28,7 @@ const p = s(
28
28
  rounded: "sm",
29
29
  variant: "secondary",
30
30
  className: "mds:min-w-36 mds:min-h-36",
31
- children: /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(d, { variant: "filled" }) })
31
+ children: /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(d, {}) })
32
32
  }
33
33
  )
34
34
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),w=require("./utils-BJ1u234q.cjs"),e=require("react"),E=require("./mainstack-design-system618.cjs"),a=({className:c,...u})=>{const[t,l]=e.useState(null),[d,r]=e.useState(!1),[m,f]=e.useState(!1),[v,S]=e.useState(!0),[T,b]=e.useState(!1);return e.useEffect(()=>{if(!t)return;let s;const o=()=>{r(!0),s&&clearTimeout(s),s=setTimeout(()=>r(!1),150);const{scrollTop:g,scrollHeight:h,clientHeight:L,scrollLeft:n,scrollWidth:R,clientWidth:x}=t;f(g+L>=h-1),S(n<=2),b(n+x>=R-2)};return t.addEventListener("scroll",o),window.addEventListener("resize",o),o(),()=>{t.removeEventListener("scroll",o),window.removeEventListener("resize",o),s&&clearTimeout(s)}},[t]),i.jsx(E.TableContext.Provider,{value:{isScrolling:d,atBottom:m,atLeft:v,atRight:T,setScrollContainer:l},children:i.jsx("div",{ref:l,className:w.cn("mds:w-full mds:mx-auto mds:relative",c),...u})})};a.displayName="TableRoot";exports.TableRoot=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),p=require("./utils-BJ1u234q.cjs"),e=require("react"),w=require("./mainstack-design-system618.cjs"),a=({className:c,...u})=>{const[t,l]=e.useState(null),[d,r]=e.useState(!1),[m,f]=e.useState(!1),[b,v]=e.useState(!0),[S,T]=e.useState(!1);return e.useEffect(()=>{if(!t)return;let o;const s=()=>{r(!0),o&&clearTimeout(o),o=setTimeout(()=>r(!1),150);const{scrollTop:g,scrollHeight:h,clientHeight:L,scrollLeft:n,scrollWidth:R,clientWidth:x}=t;f(g+L>=h-1),v(n<=2),T(n+x>=R-2)};return t.addEventListener("scroll",s),window.addEventListener("resize",s),s(),()=>{t.removeEventListener("scroll",s),window.removeEventListener("resize",s),o&&clearTimeout(o)}},[t]),i.jsx(w.TableContext.Provider,{value:{isScrolling:d,atBottom:m,atLeft:b,atRight:S,setScrollContainer:l},children:i.jsx("div",{ref:l,className:p.cn("mds:w-full mds:[border-top:none] mds:[border-bottom:none] mds:mx-auto mds:relative",c),...u})})};a.displayName="TableRoot";exports.TableRoot=a;