mainstack-design-system 1.19.1 → 1.19.3
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.
- package/dist/assets/styles.css +1 -1
- package/dist/assets/theme/lightDarkModeTheme.css +30 -31
- package/dist/assets/theme/tokenTheme.css +15 -15
- package/dist/mainstack-design-system18.cjs +1 -1
- package/dist/mainstack-design-system18.js +10 -10
- package/dist/mainstack-design-system20.cjs +1 -1
- package/dist/mainstack-design-system20.js +3 -3
- package/dist/mainstack-design-system34.cjs +1 -1
- package/dist/mainstack-design-system34.js +16 -16
- package/dist/mainstack-design-system406.cjs +8 -8
- package/dist/mainstack-design-system406.js +8 -8
- package/dist/mainstack-design-system412.cjs +1 -1
- package/dist/mainstack-design-system412.js +1 -1
- package/dist/mainstack-design-system420.cjs +1 -1
- package/dist/mainstack-design-system420.js +7 -7
- package/dist/mainstack-design-system437.cjs +1 -1
- package/dist/mainstack-design-system437.js +9 -9
- package/dist/mainstack-design-system440.cjs +1 -1
- package/dist/mainstack-design-system440.js +11 -11
- package/dist/mainstack-design-system472.cjs +1 -1
- package/dist/mainstack-design-system472.js +5 -5
- package/dist/mainstack-design-system477.cjs +1 -1
- package/dist/mainstack-design-system477.js +28 -28
- package/dist/mainstack-design-system480.cjs +1 -1
- package/dist/mainstack-design-system480.js +9 -9
- package/dist/mainstack-design-system481.cjs +1 -1
- package/dist/mainstack-design-system481.js +29 -29
- package/dist/mainstack-design-system498.cjs +1 -1
- package/dist/mainstack-design-system498.js +7 -7
- package/dist/mainstack-design-system506.cjs +1 -1
- package/dist/mainstack-design-system506.js +15 -15
- package/dist/mainstack-design-system507.cjs +1 -1
- package/dist/mainstack-design-system507.js +1 -1
- package/dist/mainstack-design-system508.cjs +1 -1
- package/dist/mainstack-design-system508.js +15 -15
- package/dist/mainstack-design-system510.cjs +1 -1
- package/dist/mainstack-design-system510.js +8 -8
- package/dist/mainstack-design-system513.cjs +1 -1
- package/dist/mainstack-design-system513.js +1 -1
- package/dist/mainstack-design-system526.cjs +1 -1
- package/dist/mainstack-design-system526.js +11 -11
- package/dist/mainstack-design-system527.cjs +1 -1
- package/dist/mainstack-design-system527.js +9 -9
- package/dist/mainstack-design-system533.cjs +1 -1
- package/dist/mainstack-design-system533.js +18 -18
- package/dist/mainstack-design-system537.cjs +1 -1
- package/dist/mainstack-design-system537.js +13 -13
- package/dist/mainstack-design-system561.cjs +1 -1
- package/dist/mainstack-design-system561.js +1 -1
- package/dist/mainstack-design-system568.cjs +1 -1
- package/dist/mainstack-design-system568.js +1 -1
- package/dist/mainstack-design-system569.cjs +1 -1
- package/dist/mainstack-design-system569.js +5 -5
- package/dist/mainstack-design-system576.cjs +1 -1
- package/dist/mainstack-design-system576.js +1 -1
- package/dist/mainstack-design-system586.cjs +1 -1
- package/dist/mainstack-design-system586.js +4 -4
- package/dist/mainstack-design-system601.cjs +1 -1
- package/dist/mainstack-design-system601.js +13 -13
- package/dist/mainstack-design-system602.cjs +1 -1
- package/dist/mainstack-design-system602.js +5 -5
- package/dist/mainstack-design-system609.cjs +1 -1
- package/dist/mainstack-design-system609.js +3 -3
- package/dist/mainstack-design-system611.cjs +1 -1
- package/dist/mainstack-design-system611.js +6 -6
- package/dist/mainstack-design-system621.cjs +1 -1
- package/dist/mainstack-design-system621.js +20 -20
- package/dist/mainstack-design-system625.cjs +1 -1
- package/dist/mainstack-design-system625.js +14 -14
- package/dist/mainstack-design-system630.cjs +1 -1
- package/dist/mainstack-design-system630.js +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as o } from "react";
|
|
4
|
-
import { S as
|
|
4
|
+
import { S as a, a as l, b as t, c as i, d as n } from "./index-CLUgda6x.js";
|
|
5
5
|
import { c } from "./utils-DH-0D-9U.js";
|
|
6
6
|
const f = o(
|
|
7
|
-
({ className: r, ...s },
|
|
8
|
-
/* @__PURE__ */ e(
|
|
7
|
+
({ className: r, ...s }, m) => /* @__PURE__ */ d(a, { className: " mds:overflow-hidden mds:z-10 mds:p-6 mds:m-6 mds:mb-0 mds:rounded-full mds:border mds:border-border-interactive-primary mds:bg-surface-neutral-l1", children: [
|
|
8
|
+
/* @__PURE__ */ e(l, { className: "mds:h-full mds:relative mds:z-10 mds:pb-6 mds:w-full mds:pr-10 ", children: /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
className: c(
|
|
@@ -13,7 +13,7 @@ const f = o(
|
|
|
13
13
|
r
|
|
14
14
|
),
|
|
15
15
|
"data-slot": "text-editor-menu-bar",
|
|
16
|
-
ref:
|
|
16
|
+
ref: m,
|
|
17
17
|
...s
|
|
18
18
|
}
|
|
19
19
|
) }),
|
|
@@ -21,11 +21,11 @@ const f = o(
|
|
|
21
21
|
t,
|
|
22
22
|
{
|
|
23
23
|
orientation: "horizontal",
|
|
24
|
-
className: " mds:flex mds:select-none mds:cursor-move mds:touch-none mds:p-2 mds:flex-col mds:h-10 mds:hover:bg-border-interactive-
|
|
25
|
-
children: /* @__PURE__ */ e(
|
|
24
|
+
className: " mds:flex mds:select-none mds:cursor-move mds:touch-none mds:p-2 mds:flex-col mds:h-10 mds:hover:bg-border-interactive-primary-hover",
|
|
25
|
+
children: /* @__PURE__ */ e(i, { className: "mds:flex-1 mds:bg-border-interactive-primary-inverse-hover mds:rounded-10 mds:relative mds:before:content-[''] mds:before:absolute mds:before:top-1/2 mds:before:left-1/2 mds:before:-translate-1/2 mds:before:size-full mds:before:min-w-44 mds:before:min-h-44" })
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
|
-
/* @__PURE__ */ e(
|
|
28
|
+
/* @__PURE__ */ e(n, { className: " mds:bg-red-300" })
|
|
29
29
|
] })
|
|
30
30
|
);
|
|
31
31
|
f.displayName = "TextEditorMenuBar";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("./utils-BJ1u234q.cjs"),s=({className:r,...d})=>e.jsxs("span",{"data-slot":"tile-checkbox",className:"mds:flex mds:items-start",children:[e.jsx("input",{type:"checkbox",className:"mds:peer mds:sr-only",...d}),e.jsx("span",{className:t.cn("mds:h-18 mds:w-18 mds:rounded-6 mds:border mds:text-neutral-50 mds:border-border-interactive-primary-hover mds:flex mds:items-center mds:justify-center","mds:peer-checked:bg-primary mds:peer-checked:border-none",r),children:"✓"})]});s.displayName="TileCheckbox";exports.TileCheckbox=s;
|
|
@@ -6,7 +6,7 @@ const t = ({ className: s, ...r }) => /* @__PURE__ */ d("span", { "data-slot": "
|
|
|
6
6
|
"span",
|
|
7
7
|
{
|
|
8
8
|
className: m(
|
|
9
|
-
"mds:h-18 mds:w-18 mds:rounded-6 mds:border mds:text-neutral-50 mds:border-border-interactive-
|
|
9
|
+
"mds:h-18 mds:w-18 mds:rounded-6 mds:border mds:text-neutral-50 mds:border-border-interactive-primary-hover mds:flex mds:items-center mds:justify-center",
|
|
10
10
|
"mds:peer-checked:bg-primary mds:peer-checked:border-none",
|
|
11
11
|
s
|
|
12
12
|
),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),g=require("react");require("./mainstack-design-system401.cjs");require("./mainstack-design-system402.cjs");require("./mainstack-design-system403.cjs");require("./mainstack-design-system404.cjs");const R=require("./mainstack-design-system405.cjs"),f=require("./mainstack-design-system612.cjs"),q=require("./utils-BJ1u234q.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),g=require("react");require("./mainstack-design-system401.cjs");require("./mainstack-design-system402.cjs");require("./mainstack-design-system403.cjs");require("./mainstack-design-system404.cjs");const R=require("./mainstack-design-system405.cjs"),f=require("./mainstack-design-system612.cjs"),q=require("./utils-BJ1u234q.cjs"),i=g.forwardRef(({onClick:t,className:o,actionData:e,...u},a)=>{const{activeMenu:s,onOpenChange:n,closeOnRangeSelect:c,onValueChange:r,setActiveMenu:d}=f.useDateRangeContext();return m.jsx(R.Button,{"data-slot":"date-range-menu-action",ref:a,variant:"outline",rounded:"sm",size:"sm","data-active":e.id===s,className:q.cn("mds:data-[active=true]:outline-2 mds:data-[active=true]:outline-border-interactive-primary-pressed",o),onClick:l=>{t&&t(l),d(e?.id),r&&r({from:e.from,to:e.to,menuAction:e}),c&&n&&n(!1)},...u})});i.displayName="DateRangeMenuAction";exports.DateRangeMenuAction=i;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
3
|
import "./mainstack-design-system401.js";
|
|
4
4
|
import "./mainstack-design-system402.js";
|
|
5
5
|
import "./mainstack-design-system403.js";
|
|
6
6
|
import "./mainstack-design-system404.js";
|
|
7
|
-
import { Button as
|
|
7
|
+
import { Button as f } from "./mainstack-design-system405.js";
|
|
8
8
|
import { useDateRangeContext as l } from "./mainstack-design-system612.js";
|
|
9
9
|
import { c as g } from "./utils-DH-0D-9U.js";
|
|
10
|
-
const v =
|
|
11
|
-
({ onClick: t, className: n, actionData: e, ...i },
|
|
10
|
+
const v = c(
|
|
11
|
+
({ onClick: t, className: n, actionData: e, ...i }, m) => {
|
|
12
12
|
const {
|
|
13
|
-
activeMenu:
|
|
13
|
+
activeMenu: a,
|
|
14
14
|
onOpenChange: o,
|
|
15
15
|
closeOnRangeSelect: s,
|
|
16
16
|
onValueChange: r,
|
|
17
17
|
setActiveMenu: u
|
|
18
18
|
} = l();
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
|
|
19
|
+
return /* @__PURE__ */ p(
|
|
20
|
+
f,
|
|
21
21
|
{
|
|
22
22
|
"data-slot": "date-range-menu-action",
|
|
23
|
-
ref:
|
|
23
|
+
ref: m,
|
|
24
24
|
variant: "outline",
|
|
25
25
|
rounded: "sm",
|
|
26
26
|
size: "sm",
|
|
27
|
-
"data-active": e.id ===
|
|
27
|
+
"data-active": e.id === a,
|
|
28
28
|
className: g(
|
|
29
|
-
"mds:data-[active=true]:outline-2 mds:data-[active=true]:outline-border-interactive-
|
|
29
|
+
"mds:data-[active=true]:outline-2 mds:data-[active=true]:outline-border-interactive-primary-pressed",
|
|
30
30
|
n
|
|
31
31
|
),
|
|
32
32
|
onClick: (d) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),i=require("./utils-BJ1u234q.cjs");require("./index-hyBpqx_X.cjs");require("./mainstack-design-system613.cjs");const
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("react"),i=require("./utils-BJ1u234q.cjs");require("./index-hyBpqx_X.cjs");require("./mainstack-design-system613.cjs");const p=require("./mainstack-design-system630.cjs"),l=require("./mainstack-design-system540.cjs"),v=require("./mainstack-design-system628.cjs");require("./mainstack-design-system542.cjs");const r=n.forwardRef(({children:o,className:s,...a},t)=>e.jsxs(v.ResponsivePopoverDrawerPortal,{children:[e.jsx(p.ResponsivePopoverDrawerContent,{sideOffset:6,"data-slot":"date-range-portal",role:"listbox",className:i.cn("mds:flex mds:flex-col mds:gap-16 mds:bg-surface-neutral-l1 z-100 mds:rounded-20 mds:p-16 mds:border mds:border-border-interactive-primary mds:shadow-600 mds:min-[900px]:p-24",s),ref:t,...a,children:o}),e.jsx(l.ResponsivePopoverDrawerOverlay,{})]}));r.displayName="DateRangePortal";exports.DateRangePortal=r;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { c as
|
|
3
|
+
import { forwardRef as t } from "react";
|
|
4
|
+
import { c as p } from "./utils-DH-0D-9U.js";
|
|
5
5
|
import "./index-eeqUt-Tb.js";
|
|
6
6
|
import "./mainstack-design-system613.js";
|
|
7
|
-
import { ResponsivePopoverDrawerContent as
|
|
7
|
+
import { ResponsivePopoverDrawerContent as d } from "./mainstack-design-system630.js";
|
|
8
8
|
import { ResponsivePopoverDrawerOverlay as i } from "./mainstack-design-system540.js";
|
|
9
9
|
import { ResponsivePopoverDrawerPortal as l } from "./mainstack-design-system628.js";
|
|
10
10
|
import "./mainstack-design-system542.js";
|
|
11
|
-
const n =
|
|
12
|
-
({ children: o, className: e, ...s },
|
|
11
|
+
const n = t(
|
|
12
|
+
({ children: o, className: e, ...s }, m) => /* @__PURE__ */ a(l, { children: [
|
|
13
13
|
/* @__PURE__ */ r(
|
|
14
|
-
|
|
14
|
+
d,
|
|
15
15
|
{
|
|
16
16
|
sideOffset: 6,
|
|
17
17
|
"data-slot": "date-range-portal",
|
|
18
18
|
role: "listbox",
|
|
19
|
-
className:
|
|
20
|
-
"mds:flex mds:flex-col mds:gap-16 mds:bg-surface-neutral-l1 z-100 mds:rounded-20 mds:p-16 mds:border mds:border-border-interactive-
|
|
19
|
+
className: p(
|
|
20
|
+
"mds:flex mds:flex-col mds:gap-16 mds:bg-surface-neutral-l1 z-100 mds:rounded-20 mds:p-16 mds:border mds:border-border-interactive-primary mds:shadow-600 mds:min-[900px]:p-24",
|
|
21
21
|
e
|
|
22
22
|
),
|
|
23
|
-
ref:
|
|
23
|
+
ref: m,
|
|
24
24
|
...s,
|
|
25
25
|
children: o
|
|
26
26
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("./index-4R9KShCu.cjs"),m=require("react"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("./index-4R9KShCu.cjs"),m=require("react"),p=require("./utils-BJ1u234q.cjs"),u=require("./mainstack-design-system614.cjs"),s=m.forwardRef(({children:n,onWheel:t,onTouchMove:r,className:i,...d},c)=>{const{open:l}=u.useDatePickerContext();return a.jsx(o.PopoverPortal,{children:a.jsx(o.PopoverContent,{"data-slot":"date-picker-portal",role:"listbox",sideOffset:6,"data-date-picker-calendar-opened":l,className:p.cn(" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200 ",i),onWheel:e=>{e.stopPropagation(),t&&t(e)},onTouchMove:e=>{e.stopPropagation(),r&&r(e)},ref:c,...d,children:n})})});s.displayName="DatePickerPortal";exports.DatePickerPortal=s;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
3
|
import { b as i, c as p } from "./index-RoCFhqzC.js";
|
|
4
4
|
import { forwardRef as c } from "react";
|
|
5
|
-
import { c as
|
|
6
|
-
import { useDatePickerContext as
|
|
5
|
+
import { c as f } from "./utils-DH-0D-9U.js";
|
|
6
|
+
import { useDatePickerContext as l } from "./mainstack-design-system614.js";
|
|
7
7
|
const P = c(
|
|
8
8
|
({
|
|
9
|
-
children:
|
|
10
|
-
onWheel:
|
|
11
|
-
onTouchMove:
|
|
9
|
+
children: e,
|
|
10
|
+
onWheel: r,
|
|
11
|
+
onTouchMove: t,
|
|
12
12
|
className: s,
|
|
13
13
|
...d
|
|
14
|
-
},
|
|
15
|
-
const { open:
|
|
16
|
-
return /* @__PURE__ */
|
|
14
|
+
}, m) => {
|
|
15
|
+
const { open: n } = l();
|
|
16
|
+
return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ a(
|
|
17
17
|
p,
|
|
18
18
|
{
|
|
19
19
|
"data-slot": "date-picker-portal",
|
|
20
20
|
role: "listbox",
|
|
21
21
|
sideOffset: 6,
|
|
22
|
-
"data-date-picker-calendar-opened":
|
|
23
|
-
className:
|
|
24
|
-
" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-
|
|
22
|
+
"data-date-picker-calendar-opened": n,
|
|
23
|
+
className: f(
|
|
24
|
+
" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200 ",
|
|
25
25
|
s
|
|
26
26
|
),
|
|
27
|
-
onWheel: (
|
|
28
|
-
|
|
27
|
+
onWheel: (o) => {
|
|
28
|
+
o.stopPropagation(), r && r(o);
|
|
29
29
|
},
|
|
30
|
-
onTouchMove: (
|
|
31
|
-
|
|
30
|
+
onTouchMove: (o) => {
|
|
31
|
+
o.stopPropagation(), t && t(o);
|
|
32
32
|
},
|
|
33
|
-
ref:
|
|
33
|
+
ref: m,
|
|
34
34
|
...d,
|
|
35
|
-
children:
|
|
35
|
+
children: e
|
|
36
36
|
}
|
|
37
37
|
) });
|
|
38
38
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("./index-4R9KShCu.cjs"),l=require("react"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("./index-4R9KShCu.cjs"),l=require("react"),p=require("./utils-BJ1u234q.cjs"),u=require("./mainstack-design-system615.cjs"),a=l.forwardRef(({children:s,onWheel:t,onTouchMove:r,className:n,...d},c)=>{const{open:m}=u.useTimePickerContext();return o.jsx(i.PopoverPortal,{children:o.jsx(i.PopoverContent,{"data-slot":"time-picker-portal",role:"listbox",sideOffset:6,"data-date-picker-calendar-opened":m,className:p.cn(" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200 ",n),ref:c,onWheel:e=>{e.stopPropagation(),t&&t(e)},onTouchMove:e=>{e.stopPropagation(),r&&r(e)},...d,children:s})})});a.displayName="TimePickerPortal";exports.TimePickerPortal=a;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { b as n, c as p } from "./index-RoCFhqzC.js";
|
|
4
4
|
import { forwardRef as c } from "react";
|
|
5
|
-
import { c as
|
|
6
|
-
import { useTimePickerContext as
|
|
5
|
+
import { c as f } from "./utils-DH-0D-9U.js";
|
|
6
|
+
import { useTimePickerContext as l } from "./mainstack-design-system615.js";
|
|
7
7
|
const P = c(
|
|
8
8
|
({
|
|
9
9
|
children: a,
|
|
10
|
-
onWheel:
|
|
11
|
-
onTouchMove:
|
|
12
|
-
className:
|
|
13
|
-
...
|
|
10
|
+
onWheel: r,
|
|
11
|
+
onTouchMove: e,
|
|
12
|
+
className: m,
|
|
13
|
+
...s
|
|
14
14
|
}, d) => {
|
|
15
|
-
const { open: i } =
|
|
15
|
+
const { open: i } = l();
|
|
16
16
|
return /* @__PURE__ */ t(n, { children: /* @__PURE__ */ t(
|
|
17
17
|
p,
|
|
18
18
|
{
|
|
@@ -20,18 +20,18 @@ const P = c(
|
|
|
20
20
|
role: "listbox",
|
|
21
21
|
sideOffset: 6,
|
|
22
22
|
"data-date-picker-calendar-opened": i,
|
|
23
|
-
className:
|
|
24
|
-
" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-
|
|
25
|
-
|
|
23
|
+
className: f(
|
|
24
|
+
" mds:will-change-transform mds:data-[state=open]:animate-content-fade-in mds:z-100 mds:animate-content-fade-out mds:w-310 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200 ",
|
|
25
|
+
m
|
|
26
26
|
),
|
|
27
27
|
ref: d,
|
|
28
28
|
onWheel: (o) => {
|
|
29
|
-
o.stopPropagation(),
|
|
29
|
+
o.stopPropagation(), r && r(o);
|
|
30
30
|
},
|
|
31
31
|
onTouchMove: (o) => {
|
|
32
|
-
o.stopPropagation(),
|
|
32
|
+
o.stopPropagation(), e && e(o);
|
|
33
33
|
},
|
|
34
|
-
...
|
|
34
|
+
...s,
|
|
35
35
|
children: a
|
|
36
36
|
}
|
|
37
37
|
) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./utils-BJ1u234q.cjs"),o=require("./mainstack-design-system618.cjs"),t=({className:s
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./utils-BJ1u234q.cjs"),o=require("./mainstack-design-system618.cjs"),t=({className:r,...s})=>{const{setScrollContainer:l}=o.useTableScroll();return e.jsx("div",{"data-slot":"table-container",ref:l,className:a.cn("mds:overflow-auto mds:md:border mds:md:border-border-interactive-primary mds:rounded-20 mds:sm:justify-center",r),children:e.jsx("table",{"data-slot":"table",className:"mds:text-left mds:w-full",...s})})};t.displayName="Table";exports.Table=t;
|
|
@@ -9,7 +9,7 @@ const l = ({ className: r, ...t }) => {
|
|
|
9
9
|
"data-slot": "table-container",
|
|
10
10
|
ref: a,
|
|
11
11
|
className: o(
|
|
12
|
-
"mds:overflow-auto mds:md:border mds:md:border-border-interactive-
|
|
12
|
+
"mds:overflow-auto mds:md:border mds:md:border-border-interactive-primary mds:rounded-20 mds:sm:justify-center",
|
|
13
13
|
r
|
|
14
14
|
),
|
|
15
15
|
children: /* @__PURE__ */ e(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),s=require("./utils-BJ1u234q.cjs"),d=({className:e,...r})=>m.jsx("tr",{"data-slot":"table-row",className:s.cn("mds:flex mds:flex-col mds:sm:table-row mds:px-16 mds:md:px-0 mds:border-y mds:border-x-1 mds:md:border-x-0 mds:border-border-interactive-primary mds:rounded-20 mds:md:rounded-0 mds:mb-16 mds:md:mb-0 mds:divide-y mds:divide-border-interactive-primary",e),...r});d.displayName="TableRow";exports.TableRow=d;
|
|
@@ -5,7 +5,7 @@ const s = ({ className: d, ...m }) => /* @__PURE__ */ r(
|
|
|
5
5
|
{
|
|
6
6
|
"data-slot": "table-row",
|
|
7
7
|
className: e(
|
|
8
|
-
"mds:flex mds:flex-col mds:sm:table-row mds:px-16 mds:md:px-0 mds:border-y mds:border-x-1 mds:md:border-x-0 mds:border-border-interactive-
|
|
8
|
+
"mds:flex mds:flex-col mds:sm:table-row mds:px-16 mds:md:px-0 mds:border-y mds:border-x-1 mds:md:border-x-0 mds:border-border-interactive-primary mds:rounded-20 mds:md:rounded-0 mds:mb-16 mds:md:mb-0 mds:divide-y mds:divide-border-interactive-primary",
|
|
9
9
|
d
|
|
10
10
|
),
|
|
11
11
|
...m
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("./utils-BJ1u234q.cjs"),u=require("./mainstack-design-system570.cjs"),P=require("./mainstack-design-system572.cjs"),b=require("./mainstack-design-system571.cjs"),x=require("./mainstack-design-system573.cjs"),p=require("./mainstack-design-system574.cjs"),_=require("./mainstack-design-system618.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),g=require("./utils-BJ1u234q.cjs"),u=require("./mainstack-design-system570.cjs"),P=require("./mainstack-design-system572.cjs"),b=require("./mainstack-design-system571.cjs"),x=require("./mainstack-design-system573.cjs"),p=require("./mainstack-design-system574.cjs"),_=require("./mainstack-design-system618.cjs"),a=({totalResults:n=3,limit:s,defaultLimit:t,page:i,setPage:o,setLimit:d,className:r})=>{const m=Math.ceil(n/s),{isScrolling:l,atBottom:c}=_.useTableScroll();return e.jsxs("div",{"data-slot":"table-pagination",className:g.cn("mds:flex mds:items-center mds:justify-between mds:w-full mds:p-16 mds:mt-12 mds:border-t mds:border-x mds:border-border-interactive-primary mds:sticky mds:bottom-0 mds:z-20 mds:bg-surface-neutral-l1 mds:transition-all mds:duration-200 ",l?"mds:rounded-t-20 mds:shadow-lg ":"mds:rounded-20 ",c?"mds:rounded-b-20 mds:border":"mds:rounded-b-none",r),children:[e.jsxs("div",{className:"mds:text-primary mds:body-extrasmall-regular mds:flex-1 mds:hidden mds:md:flex mds:gap-2",children:[e.jsx("p",{className:"mds:body-extrasmall-semibold",children:n})," results"]}),e.jsxs(u.PaginationRoot,{page:i,totalPages:m,onPageChange:o,defaultLimit:t,limit:s,onLimitChange:d,className:"mds:flex mds:items-center mds:w-full mds:gap-12 mds:justify-end",children:[e.jsx(p.PaginationPageSize,{}),e.jsx(b.PaginationPrev,{}),e.jsx(x.PaginationPageButton,{}),e.jsx(P.PaginationNext,{})]})]})};a.displayName="TablePagination";exports.TablePagination=a;
|
|
@@ -11,8 +11,8 @@ const h = ({
|
|
|
11
11
|
limit: e,
|
|
12
12
|
defaultLimit: a,
|
|
13
13
|
page: o,
|
|
14
|
-
setPage:
|
|
15
|
-
setLimit:
|
|
14
|
+
setPage: r,
|
|
15
|
+
setLimit: t,
|
|
16
16
|
className: i
|
|
17
17
|
}) => {
|
|
18
18
|
const n = Math.ceil(d / e), { isScrolling: l, atBottom: c } = P();
|
|
@@ -21,7 +21,7 @@ const h = ({
|
|
|
21
21
|
{
|
|
22
22
|
"data-slot": "table-pagination",
|
|
23
23
|
className: g(
|
|
24
|
-
"mds:flex mds:items-center mds:justify-between mds:w-full mds:p-16 mds:mt-12 mds:border-t mds:border-x mds:border-border-interactive-
|
|
24
|
+
"mds:flex mds:items-center mds:justify-between mds:w-full mds:p-16 mds:mt-12 mds:border-t mds:border-x mds:border-border-interactive-primary mds:sticky mds:bottom-0 mds:z-20 mds:bg-surface-neutral-l1 mds:transition-all mds:duration-200 ",
|
|
25
25
|
l ? "mds:rounded-t-20 mds:shadow-lg " : "mds:rounded-20 ",
|
|
26
26
|
c ? "mds:rounded-b-20 mds:border" : "mds:rounded-b-none",
|
|
27
27
|
i
|
|
@@ -36,10 +36,10 @@ const h = ({
|
|
|
36
36
|
{
|
|
37
37
|
page: o,
|
|
38
38
|
totalPages: n,
|
|
39
|
-
onPageChange:
|
|
39
|
+
onPageChange: r,
|
|
40
40
|
defaultLimit: a,
|
|
41
41
|
limit: e,
|
|
42
|
-
onLimitChange:
|
|
42
|
+
onLimitChange: t,
|
|
43
43
|
className: "mds:flex mds:items-center mds:w-full mds:gap-12 mds:justify-end",
|
|
44
44
|
children: [
|
|
45
45
|
/* @__PURE__ */ m(x, {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-CAgJYdlN.cjs"),t=s.cva("mds:body-font-family mds:flex mds:items-center mds:justify-between mds:gap-12 mds:rounded-16 mds:p-12 mds:shadow-500 mds:min-w-400 mds:transition-transform mds:duration-200 mds:ease-out mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-CAgJYdlN.cjs"),t=s.cva("mds:body-font-family mds:flex mds:items-center mds:justify-between mds:gap-12 mds:rounded-16 mds:p-12 mds:shadow-500 mds:min-w-400 mds:transition-transform mds:duration-200 mds:ease-out mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-primary mds:text-primary",{variants:{tone:{success:"mds:**:data-[slot=toast-icon]:bg-surface-success-l4",error:"mds:**:data-[slot=toast-icon]:bg-surface-error-l4",warning:"mds:**:data-[slot=toast-icon]:bg-surface-warning-l4",info:"mds:**:data-[slot=toast-icon]:bg-surface-info-l4"}},defaultVariants:{tone:"info"}});exports.toastVariants=t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as s } from "./index-D29mdTf5.js";
|
|
2
2
|
const a = s(
|
|
3
|
-
"mds:body-font-family mds:flex mds:items-center mds:justify-between mds:gap-12 mds:rounded-16 mds:p-12 mds:shadow-500 mds:min-w-400 mds:transition-transform mds:duration-200 mds:ease-out mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-
|
|
3
|
+
"mds:body-font-family mds:flex mds:items-center mds:justify-between mds:gap-12 mds:rounded-16 mds:p-12 mds:shadow-500 mds:min-w-400 mds:transition-transform mds:duration-200 mds:ease-out mds:bg-surface-neutral-l1 mds:border mds:border-border-interactive-primary mds:text-primary",
|
|
4
4
|
{
|
|
5
5
|
variants: {
|
|
6
6
|
tone: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),r=require("react"),p=require("./index-Bpm2I_hv.cjs"),v=require("./utils-BJ1u234q.cjs"),a=r.forwardRef(({className:d,index:i,isError:n,isSuccess:m,placeholder:e="0",...c},o)=>{const l=r.useContext(p.jt),{char:t,hasFakeCaret:u,isActive:x}=l?.slots[i]??{};return s.jsxs("div",{className:v.cn("form-root-slot-defaults","mds:flex mds:justify-center mds:items-center mds:body-extrasmall-book mds:rounded-14 mds:size-42 mds:relative mds:text-primary mds:data-[active=false]:ring-0 mds:data-[active=true]:ring-border-interactive-primary-active! mds:data-[active=true]:ring-2 mds:has-data-[success=true]:ring-2! mds:has-data-[error=true]:ring-2! mds:sm:size-48",d),"data-slot":"pin-input-slot","data-active":x,ref:o,...c,children:[s.jsx("span",{"data-error":n,"data-success":m,children:t}),!t&&e&&s.jsx("span",{className:"mds:text-tertiary mds:absolute mds:pointer-events-none mds:inset-0 mds:flex mds:items-center mds:justify-center",children:e}),u&&s.jsx("div",{className:"mds:pointer-events-none mds:absolute mds:-translate-x-8 mds:inset-0 mds:flex mds:items-center mds:justify-center",children:s.jsx("div",{className:"mds:animate-caret-blink mds:bg-primary mds:h-[50%] mds:w-2 mds:duration-1000"})})]})});a.displayName="PinInputSlot";exports.PinInputSlot=a;
|
|
@@ -3,7 +3,7 @@ import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef as p, useContext as f } from "react";
|
|
4
4
|
import { j as v } from "./index-6WEiHZQh.js";
|
|
5
5
|
import { c as x } from "./utils-DH-0D-9U.js";
|
|
6
|
-
const
|
|
6
|
+
const y = p(
|
|
7
7
|
({
|
|
8
8
|
className: a,
|
|
9
9
|
index: r,
|
|
@@ -18,7 +18,7 @@ const h = p(
|
|
|
18
18
|
{
|
|
19
19
|
className: x(
|
|
20
20
|
"form-root-slot-defaults",
|
|
21
|
-
"mds:flex mds:justify-center mds:items-center mds:body-extrasmall-book mds:rounded-14 mds:size-42 mds:relative mds:text-primary mds:data-[active=false]:ring-0 mds:data-[active=true]:ring-border-interactive-
|
|
21
|
+
"mds:flex mds:justify-center mds:items-center mds:body-extrasmall-book mds:rounded-14 mds:size-42 mds:relative mds:text-primary mds:data-[active=false]:ring-0 mds:data-[active=true]:ring-border-interactive-primary-active! mds:data-[active=true]:ring-2 mds:has-data-[success=true]:ring-2! mds:has-data-[error=true]:ring-2! mds:sm:size-48",
|
|
22
22
|
a
|
|
23
23
|
),
|
|
24
24
|
"data-slot": "pin-input-slot",
|
|
@@ -34,7 +34,7 @@ const h = p(
|
|
|
34
34
|
);
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
|
-
|
|
37
|
+
y.displayName = "PinInputSlot";
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
y as PinInputSlot
|
|
40
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("react");require("./mainstack-design-system366.cjs");const c=require("./mainstack-design-system197.cjs");require("./player-C6X6nrWe.cjs");const l=require("./utils-BJ1u234q.cjs"),u=require("./mainstack-design-system624.cjs"),s=i.forwardRef(({isOptionOpen:t,activeCountry:r,onOptionOpenChange:o,isError:d,isSuccess:n,...a},m)=>e.jsxs("button",{onClick:()=>o(!0),"data-select-options-opened":t,"data-editable":"false",className:l.cn("form-root-slot-defaults","mds:group mds:flex mds:items-center mds:w-66 mds:h-48 mds:gap-6 mds:py-14 mds:cursor-pointer mds:px-12 mds:rounded-14 mds:disabled:cursor-not-allowed mds:disabled:opacity-50 mds:data-[select-options-opened=true]:ring-2 mds:data-[select-options-opened=true]:ring-border-interactive-primary-active"),ref:m,...a,children:[e.jsx("div",{"data-error":d,"data-success":n,className:"mds:flex mds:items-center mds:justify-center",children:u.getCountryFlagComp(r||"US")}),e.jsx(c,{"data-select-options-opened":t,className:"mds:size-16 mds:transition-transform mds:transition-1000 mds:group-data-[select-options-opened=true]:rotate-180"})]}));s.displayName=" FormCountrySelect";exports.FormCountrySelect=s;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
3
|
import "./mainstack-design-system366.js";
|
|
4
4
|
import c from "./mainstack-design-system197.js";
|
|
5
5
|
import "./player-DlPlWw5L.js";
|
|
6
|
-
import { c as
|
|
7
|
-
import { getCountryFlagComp as
|
|
8
|
-
const u =
|
|
6
|
+
import { c as p } from "./utils-DH-0D-9U.js";
|
|
7
|
+
import { getCountryFlagComp as l } from "./mainstack-design-system624.js";
|
|
8
|
+
const u = n(
|
|
9
9
|
({
|
|
10
10
|
isOptionOpen: e,
|
|
11
11
|
activeCountry: o,
|
|
12
|
-
onOptionOpenChange:
|
|
13
|
-
isError:
|
|
12
|
+
onOptionOpenChange: r,
|
|
13
|
+
isError: s,
|
|
14
14
|
isSuccess: d,
|
|
15
15
|
...m
|
|
16
|
-
}, a) => /* @__PURE__ */
|
|
16
|
+
}, a) => /* @__PURE__ */ i(
|
|
17
17
|
"button",
|
|
18
18
|
{
|
|
19
|
-
onClick: () =>
|
|
19
|
+
onClick: () => r(!0),
|
|
20
20
|
"data-select-options-opened": e,
|
|
21
21
|
"data-editable": "false",
|
|
22
|
-
className:
|
|
22
|
+
className: p(
|
|
23
23
|
"form-root-slot-defaults",
|
|
24
|
-
"mds:group mds:flex mds:items-center mds:w-66 mds:h-48 mds:gap-6 mds:py-14 mds:cursor-pointer mds:px-12 mds:rounded-14 mds:disabled:cursor-not-allowed mds:disabled:opacity-50 mds:data-[select-options-opened=true]:ring-2 mds:data-[select-options-opened=true]:ring-border-interactive-
|
|
24
|
+
"mds:group mds:flex mds:items-center mds:w-66 mds:h-48 mds:gap-6 mds:py-14 mds:cursor-pointer mds:px-12 mds:rounded-14 mds:disabled:cursor-not-allowed mds:disabled:opacity-50 mds:data-[select-options-opened=true]:ring-2 mds:data-[select-options-opened=true]:ring-border-interactive-primary-active"
|
|
25
25
|
),
|
|
26
26
|
ref: a,
|
|
27
27
|
...m,
|
|
@@ -29,10 +29,10 @@ const u = i(
|
|
|
29
29
|
/* @__PURE__ */ t(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
|
-
"data-error":
|
|
32
|
+
"data-error": s,
|
|
33
33
|
"data-success": d,
|
|
34
34
|
className: "mds:flex mds:items-center mds:justify-center",
|
|
35
|
-
children:
|
|
35
|
+
children: l(o || "US")
|
|
36
36
|
}
|
|
37
37
|
),
|
|
38
38
|
/* @__PURE__ */ t(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),i=require("./utils-BJ1u234q.cjs"),e=n.forwardRef(({isOptionOpen:r,className:s,...o},t)=>d.jsx("div",{"data-select-options-opened":r,className:i.cn("mds:flex mds:flex-col mds:gap-8 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),i=require("./utils-BJ1u234q.cjs"),e=n.forwardRef(({isOptionOpen:r,className:s,...o},t)=>d.jsx("div",{"data-select-options-opened":r,className:i.cn("mds:flex mds:flex-col mds:gap-8 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200",s),ref:t,...o}));e.displayName="FormCountryOptions";exports.FormCountryOptions=e;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as e } from "react";
|
|
3
3
|
import { c as t } from "./utils-DH-0D-9U.js";
|
|
4
|
-
const a =
|
|
5
|
-
({ isOptionOpen: r, className: o, ...s }, d) => /* @__PURE__ */
|
|
4
|
+
const a = e(
|
|
5
|
+
({ isOptionOpen: r, className: o, ...s }, d) => /* @__PURE__ */ m(
|
|
6
6
|
"div",
|
|
7
7
|
{
|
|
8
8
|
"data-select-options-opened": r,
|
|
9
9
|
className: t(
|
|
10
|
-
"mds:flex mds:flex-col mds:gap-8 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-
|
|
10
|
+
"mds:flex mds:flex-col mds:gap-8 mds:p-8 mds:rounded-18 mds:bg-surface-neutral-l1 mds:border-border-interactive-primary mds:border mds:shadow-200",
|
|
11
11
|
o
|
|
12
12
|
),
|
|
13
13
|
ref: d,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAgJYdlN.cjs"),s=e.cva("mds:relative mds:inline-flex mds:items-center mds:gap-6 mds:justify-center mds:cursor-pointer mds:whitespace-nowrap mds:body-extrasmall-book mds:transition-all mds:disabled:pointer-events-none mds:disabled:text-disabled mds:transition-transform mds:ease-out-pressed mds:duration-100 mds:active:scale-[0.96]",{variants:{variant:{underline:["mds:px-8 mds:py-9 mds:text-secondary","mds:hover:bg-surface-neutral-l4 mds:hover:rounded-10","mds:disabled:text-disabled mds:disabled:pointer-events-none","mds:data-[state=active]:text-primary","mds:data-[state=active]:disabled:text-disabled"],button:["mds:px-16 mds:py-10 mds:rounded-full mds:bg-transparent mds:text-on-secondary","mds:hover:bg-surface-neutral-l4 mds:hover:rounded-full mds:hover:text-on-secondary","mds:data-[state=active]:text-on-primary","mds:disabled:text-disabled mds:disabled:pointer-events-none mds:data-[state=active]:disabled:text-on-primary-disabled"]},layout:{horizontal:"mds:flex-row",vertical:"mds:flex-col"}},defaultVariants:{variant:"underline",layout:"horizontal"}}),d=e.cva("mds:flex mds:items-center",{variants:{variant:{underline:"mds:justify-between mds:gap-20 mds:border-b-2 mds:border-border-interactive-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAgJYdlN.cjs"),s=e.cva("mds:relative mds:inline-flex mds:items-center mds:gap-6 mds:justify-center mds:cursor-pointer mds:whitespace-nowrap mds:body-extrasmall-book mds:transition-all mds:disabled:pointer-events-none mds:disabled:text-disabled mds:transition-transform mds:ease-out-pressed mds:duration-100 mds:active:scale-[0.96]",{variants:{variant:{underline:["mds:px-8 mds:py-9 mds:text-secondary","mds:hover:bg-surface-neutral-l4 mds:hover:rounded-10","mds:disabled:text-disabled mds:disabled:pointer-events-none","mds:data-[state=active]:text-primary","mds:data-[state=active]:disabled:text-disabled"],button:["mds:px-16 mds:py-10 mds:rounded-full mds:bg-transparent mds:text-on-secondary","mds:hover:bg-surface-neutral-l4 mds:hover:rounded-full mds:hover:text-on-secondary","mds:data-[state=active]:text-on-primary","mds:disabled:text-disabled mds:disabled:pointer-events-none mds:data-[state=active]:disabled:text-on-primary-disabled"]},layout:{horizontal:"mds:flex-row",vertical:"mds:flex-col"}},defaultVariants:{variant:"underline",layout:"horizontal"}}),d=e.cva("mds:flex mds:items-center",{variants:{variant:{underline:"mds:justify-between mds:gap-20 mds:border-b-2 mds:border-border-interactive-primary mds:py-9 mds:overflow-y-hidden mds:overflow-x-auto mds:scrollbar-none mds:max-w-[85vw] mds:md:max-w-full mds:w-fit",button:"mds:gap-4 mds:p-4 mds:bg-surface-neutral-l4 mds:rounded-full mds:overflow-x-auto mds:scrollbar-none mds:max-w-[85vw] mds:md:max-w-full mds:w-fit"}},defaultVariants:{variant:"underline"}});exports.tabsListVariants=d;exports.tabsTriggerVariants=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as d } from "./index-D29mdTf5.js";
|
|
2
|
-
const
|
|
2
|
+
const e = d(
|
|
3
3
|
"mds:relative mds:inline-flex mds:items-center mds:gap-6 mds:justify-center mds:cursor-pointer mds:whitespace-nowrap mds:body-extrasmall-book mds:transition-all mds:disabled:pointer-events-none mds:disabled:text-disabled mds:transition-transform mds:ease-out-pressed mds:duration-100 mds:active:scale-[0.96]",
|
|
4
4
|
{
|
|
5
5
|
variants: {
|
|
@@ -31,7 +31,7 @@ const s = d(
|
|
|
31
31
|
), t = d("mds:flex mds:items-center", {
|
|
32
32
|
variants: {
|
|
33
33
|
variant: {
|
|
34
|
-
underline: "mds:justify-between mds:gap-20 mds:border-b-2 mds:border-border-interactive-
|
|
34
|
+
underline: "mds:justify-between mds:gap-20 mds:border-b-2 mds:border-border-interactive-primary mds:py-9 mds:overflow-y-hidden mds:overflow-x-auto mds:scrollbar-none mds:max-w-[85vw] mds:md:max-w-full mds:w-fit",
|
|
35
35
|
button: "mds:gap-4 mds:p-4 mds:bg-surface-neutral-l4 mds:rounded-full mds:overflow-x-auto mds:scrollbar-none mds:max-w-[85vw] mds:md:max-w-full mds:w-fit"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
@@ -41,5 +41,5 @@ const s = d(
|
|
|
41
41
|
});
|
|
42
42
|
export {
|
|
43
43
|
t as tabsListVariants,
|
|
44
|
-
|
|
44
|
+
e as tabsTriggerVariants
|
|
45
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAgJYdlN.cjs"),s=e.cva(["mds:group mds:w-full mds:rounded-18 mds:body-font-family mds:gap-12 mds:select-none mds:relative mds:flex mds:cursor-pointer mds:items-center mds:p-18 mds:border mds:border-border-interactive-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CAgJYdlN.cjs"),s=e.cva(["mds:group mds:w-full mds:rounded-18 mds:body-font-family mds:gap-12 mds:select-none mds:relative mds:flex mds:cursor-pointer mds:items-center mds:p-18 mds:border mds:border-border-interactive-primary mds:bg-surface-neutral-l1","mds:transition-transform mds:ease-out-pressed mds:duration-100 mds:active:scale-[0.96]","mds:has-[>[data-slot=tile-header]]:flex-col mds:has-[>[data-slot=tile-header]]:items-start","mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active","mds:focus-visible:ring-2 mds:focus-visible:ring-offset-0 mds:focus-visible:outline-2 mds:focus-visible:outline-border-surface-spread-focus 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"],{variants:{disabled:{true:["mds:pointer-events-none mds:opacity-60","mds:data-[disabled=true]:[&_[data-slot=tile-content]]:text-disabled"]}}});exports.tileVariants=s;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as e } from "./index-D29mdTf5.js";
|
|
2
|
-
const
|
|
2
|
+
const r = e(
|
|
3
3
|
[
|
|
4
|
-
"mds:group mds:w-full mds:rounded-18 mds:body-font-family mds:gap-12 mds:select-none mds:relative mds:flex mds:cursor-pointer mds:items-center mds:p-18 mds:border mds:border-border-interactive-
|
|
4
|
+
"mds:group mds:w-full mds:rounded-18 mds:body-font-family mds:gap-12 mds:select-none mds:relative mds:flex mds:cursor-pointer mds:items-center mds:p-18 mds:border mds:border-border-interactive-primary mds:bg-surface-neutral-l1",
|
|
5
5
|
"mds:transition-transform mds:ease-out-pressed mds:duration-100 mds:active:scale-[0.96]",
|
|
6
6
|
"mds:has-[>[data-slot=tile-header]]:flex-col mds:has-[>[data-slot=tile-header]]:items-start",
|
|
7
|
-
"mds:
|
|
8
|
-
"mds:
|
|
9
|
-
"mds:
|
|
7
|
+
"mds:data-[selected=true]:border-1 mds:data-[selected=true]:border-border-interactive-primary-active",
|
|
8
|
+
"mds:focus-visible:ring-2 mds:focus-visible:ring-offset-0 mds:focus-visible:outline-2 mds:focus-visible:outline-border-surface-spread-focus mds:focus-visible:ring-border-surface-spread-focus",
|
|
9
|
+
"mds:active:ring-3 mds:active:border-1 mds:active:border-border-interactive-primary-pressed mds:active:ring-border-surface-spread-primary"
|
|
10
10
|
],
|
|
11
11
|
{
|
|
12
12
|
variants: {
|
|
@@ -20,5 +20,5 @@ const d = e(
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
r as tileVariants
|
|
24
24
|
};
|