@qodo/design-system 0.10.0 → 0.10.2
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/design-system.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +54 -54
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3499,13 +3499,13 @@ const yp = un(
|
|
|
3499
3499
|
variant: {
|
|
3500
3500
|
default: (
|
|
3501
3501
|
// "bg-background border-input text-foreground placeholder:text-muted-foreground dark:bg-background dark:border-input dark:text-foreground dark:placeholder:text-muted-foreground",
|
|
3502
|
-
"bg-purple-
|
|
3502
|
+
"bg-purple-muted-700 border-purple-muted-500 text-purple-muted-300 text-sm"
|
|
3503
3503
|
),
|
|
3504
3504
|
secondary: "bg-secondary border-secondary text-secondary-foreground placeholder:text-muted-foreground dark:bg-secondary dark:border-secondary dark:text-secondary-foreground dark:placeholder:text-muted-foreground",
|
|
3505
3505
|
accent: "bg-accent border-accent text-accent-foreground placeholder:text-muted-foreground dark:bg-accent dark:border-accent dark:text-accent-foreground dark:placeholder:text-muted-foreground",
|
|
3506
3506
|
success: "bg-success border-success text-success-foreground placeholder:text-success-foreground/70 dark:bg-success dark:border-success dark:text-success-foreground dark:placeholder:text-success-foreground/70",
|
|
3507
3507
|
warning: "bg-warning border-warning text-warning-foreground placeholder:text-warning-foreground/70 dark:bg-warning dark:border-warning dark:text-warning-foreground dark:placeholder:text-warning-foreground/70",
|
|
3508
|
-
destructive: "border-destructive bg-purple-
|
|
3508
|
+
destructive: "border-destructive bg-purple-muted-700 text-purple-muted-200 placeholder:text-destructive-foreground/70 dark:border-destructive dark:placeholder:text-destructive-foreground/70"
|
|
3509
3509
|
}
|
|
3510
3510
|
},
|
|
3511
3511
|
defaultVariants: {
|
|
@@ -7237,8 +7237,8 @@ const cv = [
|
|
|
7237
7237
|
className: T(
|
|
7238
7238
|
T(
|
|
7239
7239
|
"flex h-9 w-full min-w-0 items-center justify-between",
|
|
7240
|
-
"rounded-md border bg-purple-
|
|
7241
|
-
"text-sm data-[placeholder]:text-muted-foreground [&:not([data-placeholder])]:text-purple-
|
|
7240
|
+
"rounded-md border bg-purple-muted-700 border-purple-muted-500",
|
|
7241
|
+
"text-sm data-[placeholder]:text-muted-foreground [&:not([data-placeholder])]:text-purple-muted-300 md:text-sm ",
|
|
7242
7242
|
"px-3 py-1",
|
|
7243
7243
|
"shadow-xs transition-[color,box-shadow] outline-none",
|
|
7244
7244
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -7248,7 +7248,7 @@ const cv = [
|
|
|
7248
7248
|
...r,
|
|
7249
7249
|
children: [
|
|
7250
7250
|
t,
|
|
7251
|
-
/* @__PURE__ */ i.jsx(Ph, { asChild: !0, children: /* @__PURE__ */ i.jsx(zo, { className: "h-4 w-4 text-purple-
|
|
7251
|
+
/* @__PURE__ */ i.jsx(Ph, { asChild: !0, children: /* @__PURE__ */ i.jsx(zo, { className: "h-4 w-4 text-purple-muted-300" }) })
|
|
7252
7252
|
]
|
|
7253
7253
|
}
|
|
7254
7254
|
));
|
|
@@ -7285,7 +7285,7 @@ const Rc = l.forwardRef(
|
|
|
7285
7285
|
{
|
|
7286
7286
|
ref: s,
|
|
7287
7287
|
className: T(
|
|
7288
|
-
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-purple-
|
|
7288
|
+
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-purple-muted-600 border-purple-muted-500 text-purple-muted-300 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
7289
7289
|
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
7290
7290
|
e
|
|
7291
7291
|
),
|
|
@@ -7325,7 +7325,7 @@ const kc = l.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
|
|
|
7325
7325
|
className: T(
|
|
7326
7326
|
T(
|
|
7327
7327
|
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
|
|
7328
|
-
"focus:bg-purple-
|
|
7328
|
+
"focus:bg-purple-muted-500 focus:text-purple-100 text-purple-100",
|
|
7329
7329
|
"data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
|
|
7330
7330
|
),
|
|
7331
7331
|
e
|
|
@@ -8090,7 +8090,7 @@ function tx({
|
|
|
8090
8090
|
"div",
|
|
8091
8091
|
{
|
|
8092
8092
|
"data-slot": "command-input-wrapper",
|
|
8093
|
-
className: "flex h-9 items-center gap-2 border-b border-purple-
|
|
8093
|
+
className: "flex h-9 items-center gap-2 border-b border-purple-muted-400 px-3 text-purple-muted-300",
|
|
8094
8094
|
children: [
|
|
8095
8095
|
/* @__PURE__ */ i.jsx(wc, { className: "size-4 shrink-0 opacity-50" }),
|
|
8096
8096
|
/* @__PURE__ */ i.jsx(
|
|
@@ -8131,7 +8131,7 @@ function nx({
|
|
|
8131
8131
|
Jt.Empty,
|
|
8132
8132
|
{
|
|
8133
8133
|
"data-slot": "command-empty",
|
|
8134
|
-
className: "py-6 text-center text-sm text-purple-
|
|
8134
|
+
className: "py-6 text-center text-sm text-purple-muted-300",
|
|
8135
8135
|
...e
|
|
8136
8136
|
}
|
|
8137
8137
|
);
|
|
@@ -8161,7 +8161,7 @@ function sx({
|
|
|
8161
8161
|
{
|
|
8162
8162
|
"data-slot": "command-item",
|
|
8163
8163
|
className: T(
|
|
8164
|
-
"data-[selected=true]:bg-purple-
|
|
8164
|
+
"data-[selected=true]:bg-purple-muted-500 data-[selected=true]:text-purple-100 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
8165
8165
|
e
|
|
8166
8166
|
),
|
|
8167
8167
|
...t
|
|
@@ -8437,8 +8437,8 @@ const pl = l.forwardRef(
|
|
|
8437
8437
|
"aria-expanded": f,
|
|
8438
8438
|
className: T(
|
|
8439
8439
|
"w-full h-9 px-3 py-1 justify-between rounded-md",
|
|
8440
|
-
"border border-purple-
|
|
8441
|
-
"text-sm md:text-sm text-purple-
|
|
8440
|
+
"border border-purple-muted-500 bg-purple-muted-700 hover:bg-purple-muted-700",
|
|
8441
|
+
"text-sm md:text-sm text-purple-muted-300 hover:text-purple-muted-300 focus:text-purple-muted-300 active:text-purple-muted-300",
|
|
8442
8442
|
"shadow-xs transition-[color,box-shadow] outline-none",
|
|
8443
8443
|
{
|
|
8444
8444
|
"text-muted-foreground": !h
|
|
@@ -8456,9 +8456,9 @@ const pl = l.forwardRef(
|
|
|
8456
8456
|
/* @__PURE__ */ i.jsx(
|
|
8457
8457
|
Cx,
|
|
8458
8458
|
{
|
|
8459
|
-
className: "p-0 border bg-purple-
|
|
8459
|
+
className: "p-0 border bg-purple-muted-600 border-purple-muted-500 text-purple-muted-300",
|
|
8460
8460
|
style: { width: g > 0 ? `${g}px` : "auto" },
|
|
8461
|
-
children: /* @__PURE__ */ i.jsxs(ex, { className: "w-full bg-purple-
|
|
8461
|
+
children: /* @__PURE__ */ i.jsxs(ex, { className: "w-full bg-purple-muted-600", children: [
|
|
8462
8462
|
/* @__PURE__ */ i.jsx(tx, { placeholder: o }),
|
|
8463
8463
|
/* @__PURE__ */ i.jsxs(rx, { children: [
|
|
8464
8464
|
/* @__PURE__ */ i.jsx(nx, { children: s }),
|
|
@@ -8468,10 +8468,10 @@ const pl = l.forwardRef(
|
|
|
8468
8468
|
value: v.value,
|
|
8469
8469
|
disabled: v.disabled,
|
|
8470
8470
|
className: T(
|
|
8471
|
-
"text-purple-100 hover:bg-purple-
|
|
8472
|
-
"focus:bg-purple-
|
|
8471
|
+
"text-purple-100 hover:bg-purple-muted-500",
|
|
8472
|
+
"focus:bg-purple-muted-500 focus:text-purple-100",
|
|
8473
8473
|
{
|
|
8474
|
-
"bg-purple-
|
|
8474
|
+
"bg-purple-muted-500": t === v.value
|
|
8475
8475
|
}
|
|
8476
8476
|
),
|
|
8477
8477
|
onSelect: (y) => {
|
|
@@ -8509,9 +8509,9 @@ const Sx = un(
|
|
|
8509
8509
|
variant: {
|
|
8510
8510
|
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
8511
8511
|
primary: "border-purple-700 bg-purple-800 text-purple-300",
|
|
8512
|
-
secondary: "border-purple-
|
|
8512
|
+
secondary: "border-purple-muted-600 text-purple-300",
|
|
8513
8513
|
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
|
|
8514
|
-
outline: "bg-purple-
|
|
8514
|
+
outline: "bg-purple-muted-700 border border-purple-muted-600 text-purple-muted-300",
|
|
8515
8515
|
success: "text-green-300 bg-green-800 border-green-700",
|
|
8516
8516
|
error: "text-red-300 bg-red-900 border-red-800",
|
|
8517
8517
|
pending: "bg-purple-800 border-purple-700 text-purple-300",
|
|
@@ -10025,7 +10025,7 @@ function qb({
|
|
|
10025
10025
|
{
|
|
10026
10026
|
"data-slot": "label",
|
|
10027
10027
|
className: T(
|
|
10028
|
-
"flex items-center text-purple-
|
|
10028
|
+
"flex items-center text-purple-muted-300 gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
10029
10029
|
e
|
|
10030
10030
|
),
|
|
10031
10031
|
...t
|
|
@@ -10101,7 +10101,7 @@ function ey({ className: e, ...t }) {
|
|
|
10101
10101
|
{
|
|
10102
10102
|
"data-slot": "form-description",
|
|
10103
10103
|
id: r,
|
|
10104
|
-
className: T("text-purple-
|
|
10104
|
+
className: T("text-purple-muted-300 text-sm", e),
|
|
10105
10105
|
...t
|
|
10106
10106
|
}
|
|
10107
10107
|
);
|
|
@@ -10466,14 +10466,14 @@ function Nu({
|
|
|
10466
10466
|
"data-slot": "tooltip-content",
|
|
10467
10467
|
sideOffset: t,
|
|
10468
10468
|
className: T(
|
|
10469
|
-
"bg-purple-
|
|
10469
|
+
"bg-purple-muted-700 border border-purple-muted-600 text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
10470
10470
|
e,
|
|
10471
10471
|
{ "py-2.5": n }
|
|
10472
10472
|
),
|
|
10473
10473
|
...o,
|
|
10474
10474
|
children: [
|
|
10475
10475
|
r,
|
|
10476
|
-
!n && /* @__PURE__ */ i.jsx(Cy, { className: "bg-purple-
|
|
10476
|
+
!n && /* @__PURE__ */ i.jsx(Cy, { className: "bg-purple-muted-700 fill-purple-muted-700 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
10477
10477
|
]
|
|
10478
10478
|
}
|
|
10479
10479
|
) });
|
|
@@ -10576,9 +10576,9 @@ const Ey = ls(ju), Py = F.forwardRef((e, t) => {
|
|
|
10576
10576
|
disabled: a
|
|
10577
10577
|
}
|
|
10578
10578
|
);
|
|
10579
|
-
}), Ry = ls(Py), ky = (e) => /* @__PURE__ */ i.jsx("hr", { className: "w-full h-px border-purple-
|
|
10579
|
+
}), Ry = ls(Py), ky = (e) => /* @__PURE__ */ i.jsx("hr", { className: "w-full h-px border-purple-muted-500", ...e }), Ny = ({ children: e, description: t, className: r }) => /* @__PURE__ */ i.jsxs("div", { className: T("space-y-1", r), children: [
|
|
10580
10580
|
/* @__PURE__ */ i.jsx("h2", { className: "flex items-center gap-2.5 text-2xl text-white", children: e }),
|
|
10581
|
-
t && /* @__PURE__ */ i.jsx("span", { className: "text-sm text-purple-
|
|
10581
|
+
t && /* @__PURE__ */ i.jsx("span", { className: "text-sm text-purple-muted-300", children: t })
|
|
10582
10582
|
] }), Qt = (e) => {
|
|
10583
10583
|
const {
|
|
10584
10584
|
className: t,
|
|
@@ -11500,7 +11500,7 @@ const Hu = _o(void 0), Nw = ({ children: e, step: t }) => /* @__PURE__ */ i.jsx(
|
|
|
11500
11500
|
...t
|
|
11501
11501
|
}) => {
|
|
11502
11502
|
const r = T(
|
|
11503
|
-
"flex flex-row items-center gap-4 text-purple-
|
|
11503
|
+
"flex flex-row items-center gap-4 text-purple-muted-100 text-sm",
|
|
11504
11504
|
e
|
|
11505
11505
|
);
|
|
11506
11506
|
return /* @__PURE__ */ i.jsx(Uu, { className: r, ...t });
|
|
@@ -11513,11 +11513,11 @@ const Hu = _o(void 0), Nw = ({ children: e, step: t }) => /* @__PURE__ */ i.jsx(
|
|
|
11513
11513
|
"flex items-center justify-center w-8 h-8 rounded-full text-white",
|
|
11514
11514
|
s && "bg-green-700",
|
|
11515
11515
|
o && "bg-green-600",
|
|
11516
|
-
!s && !o && "bg-purple-
|
|
11516
|
+
!s && !o && "bg-purple-muted-500",
|
|
11517
11517
|
t
|
|
11518
11518
|
), c = T({
|
|
11519
11519
|
"text-white": o,
|
|
11520
|
-
"text-purple-
|
|
11520
|
+
"text-purple-muted-300": !s && e !== n
|
|
11521
11521
|
});
|
|
11522
11522
|
return /* @__PURE__ */ i.jsx($u, { className: a, ...r, children: s ? /* @__PURE__ */ i.jsx(kw, { className: "text-green-400" }) : /* @__PURE__ */ i.jsx("span", { className: c, children: e + 1 }) });
|
|
11523
11523
|
}, Iw = ({
|
|
@@ -11654,9 +11654,9 @@ const wt = l.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i.jsx(
|
|
|
11654
11654
|
{
|
|
11655
11655
|
ref: r,
|
|
11656
11656
|
className: T(
|
|
11657
|
-
"border-b border-purple-
|
|
11657
|
+
"border-b border-purple-muted-600 transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
11658
11658
|
e,
|
|
11659
|
-
{ "cursor-pointer hover:bg-purple-
|
|
11659
|
+
{ "cursor-pointer hover:bg-purple-muted-600/20": !!t.onClick }
|
|
11660
11660
|
),
|
|
11661
11661
|
...t
|
|
11662
11662
|
}
|
|
@@ -11949,7 +11949,7 @@ const Gw = ({ title: e = "No results" }) => /* @__PURE__ */ i.jsx("div", { class
|
|
|
11949
11949
|
}) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col items-center justify-center h-full p-14", children: [
|
|
11950
11950
|
/* @__PURE__ */ i.jsx(Hw, { className: "mb-6" }),
|
|
11951
11951
|
/* @__PURE__ */ i.jsx("h4", { className: "mb-1 text-foreground", children: e }),
|
|
11952
|
-
/* @__PURE__ */ i.jsx("p", { className: "text-purple-
|
|
11952
|
+
/* @__PURE__ */ i.jsx("p", { className: "text-purple-muted-300", children: t })
|
|
11953
11953
|
] }), Ju = ({ className: e, ...t }) => /* @__PURE__ */ i.jsx(
|
|
11954
11954
|
"nav",
|
|
11955
11955
|
{
|
|
@@ -12016,7 +12016,7 @@ const Kw = ({
|
|
|
12016
12016
|
r >= 1 && s(r);
|
|
12017
12017
|
}, [r]);
|
|
12018
12018
|
const a = Kr(() => {
|
|
12019
|
-
const m = "text-purple-
|
|
12019
|
+
const m = "text-purple-muted-300 dark:text-purple-muted-300", b = "hover:bg-purple-muted-600 hover:text-purple-muted-300 dark:hover:bg-purple-muted-600 dark:hover:text-purple-muted-300", h = "bg-purple-muted-600 text-purple-muted-300 dark:bg-purple-muted-600 dark:text-purple-muted-300", v = "border-none flex items-center justify-center w-8 h-8", y = "pointer-events-none opacity-50 cursor-not-allowed";
|
|
12020
12020
|
return {
|
|
12021
12021
|
previous: T(
|
|
12022
12022
|
n === 1 || t ? "pointer-events-none opacity-50" : "cursor-pointer",
|
|
@@ -12169,7 +12169,7 @@ const Kw = ({
|
|
|
12169
12169
|
"div",
|
|
12170
12170
|
{
|
|
12171
12171
|
className: T(
|
|
12172
|
-
"max-h-[100%] min-h-0 overflow-auto rounded-lg border border-purple-
|
|
12172
|
+
"max-h-[100%] min-h-0 overflow-auto rounded-lg border border-purple-muted-600",
|
|
12173
12173
|
f
|
|
12174
12174
|
),
|
|
12175
12175
|
style: { height: "-webkit-fill-available" },
|
|
@@ -12179,7 +12179,7 @@ const Kw = ({
|
|
|
12179
12179
|
] })
|
|
12180
12180
|
}
|
|
12181
12181
|
) }),
|
|
12182
|
-
g && /* @__PURE__ */ i.jsx("footer", { className: "pt-4 pb-2 bg-background border-t border-purple-
|
|
12182
|
+
g && /* @__PURE__ */ i.jsx("footer", { className: "pt-4 pb-2 bg-background border-t border-purple-muted-600/20 flex-shrink-0", children: /* @__PURE__ */ i.jsx(Kw, { table: e, isLoading: o }) })
|
|
12183
12183
|
] });
|
|
12184
12184
|
}, Oa = (e) => {
|
|
12185
12185
|
const { children: t, ...r } = e, n = t && t !== 0 ? t : "-";
|
|
@@ -12259,9 +12259,9 @@ const Kw = ({
|
|
|
12259
12259
|
}) => {
|
|
12260
12260
|
const a = r === Da.LARGE ? "pl-12 py-3 pr-4 h-[45px]" : "pl-9 py-1.5 pr-2 h-[33px]", c = T(
|
|
12261
12261
|
"absolute top-1/2 h-4 w-4 -translate-y-1/2",
|
|
12262
|
-
n ? "text-purple-
|
|
12262
|
+
n ? "text-purple-muted-600" : "text-purple-muted-400"
|
|
12263
12263
|
), u = T(
|
|
12264
|
-
"text-purple-
|
|
12264
|
+
"text-purple-muted-200 dark:border-purple-muted-600 dark:text-purple-muted-200 dark:bg-[#1C1C1C] dark:placeholder:text-purple-muted-400 pl-9",
|
|
12265
12265
|
{ " pr-9": !o }
|
|
12266
12266
|
);
|
|
12267
12267
|
return /* @__PURE__ */ i.jsxs("div", { className: T("relative", e), children: [
|
|
@@ -12426,8 +12426,8 @@ const Kw = ({
|
|
|
12426
12426
|
u(m);
|
|
12427
12427
|
}, p = (m) => {
|
|
12428
12428
|
m.stopPropagation();
|
|
12429
|
-
}, g = (m, b) => b.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs("div", { className: "space-y-1 text-purple-
|
|
12430
|
-
/* @__PURE__ */ i.jsxs("span", { className: "font-medium border-b border-purple-
|
|
12429
|
+
}, g = (m, b) => b.length === 0 ? /* @__PURE__ */ i.jsx(i.Fragment, {}) : /* @__PURE__ */ i.jsxs("div", { className: "space-y-1 text-purple-muted-200", children: [
|
|
12430
|
+
/* @__PURE__ */ i.jsxs("span", { className: "font-medium border-b border-purple-muted-200", children: [
|
|
12431
12431
|
m,
|
|
12432
12432
|
":"
|
|
12433
12433
|
] }),
|
|
@@ -12452,7 +12452,7 @@ const Kw = ({
|
|
|
12452
12452
|
{
|
|
12453
12453
|
onClick: f,
|
|
12454
12454
|
onWheel: p,
|
|
12455
|
-
className: "max-w-[min(90vw,32rem)] max-h-[min(60vh,20rem)] p-3 rounded-md border dark:border-red-800 shadow-lg dark:bg-purple-
|
|
12455
|
+
className: "max-w-[min(90vw,32rem)] max-h-[min(60vh,20rem)] p-3 rounded-md border dark:border-red-800 shadow-lg dark:bg-purple-muted-800 dark:text-purple-muted-100",
|
|
12456
12456
|
children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-1 text-xs max-h-64 overflow-y-auto pr-1 no-scrollbar", children: [
|
|
12457
12457
|
g(n, s),
|
|
12458
12458
|
g(o, a)
|
|
@@ -12530,7 +12530,7 @@ const Kw = ({
|
|
|
12530
12530
|
},
|
|
12531
12531
|
[g, x]
|
|
12532
12532
|
), U = v.length > 0, O = !U && g.length === 0, _ = U || g.length > 0, D = T(
|
|
12533
|
-
"bg-transparent text-sm outline-none border-0 p-0 h-6 shadow-none focus-visible:ring-0 whitespace-nowrap text-purple-
|
|
12533
|
+
"bg-transparent text-sm outline-none border-0 p-0 h-6 shadow-none focus-visible:ring-0 whitespace-nowrap text-purple-muted-200 placeholder:text-purple-muted-400",
|
|
12534
12534
|
U ? "flex-none shrink-0 overflow-x-auto overflow-y-hidden no-scrollbar" : "flex-1 !min-w-full overflow-hidden",
|
|
12535
12535
|
{ "opacity-50 cursor-not-allowed": t },
|
|
12536
12536
|
s
|
|
@@ -12539,7 +12539,7 @@ const Kw = ({
|
|
|
12539
12539
|
U ? "w-max" : "w-full",
|
|
12540
12540
|
a
|
|
12541
12541
|
), M = T(
|
|
12542
|
-
"relative w-full max-w-full min-w-0 overflow-hidden rounded-md border pl-9 pr-14 py-2 pl-9 pr-14 py-2 focus-within:ring-1 border-purple-
|
|
12542
|
+
"relative w-full max-w-full min-w-0 overflow-hidden rounded-md border pl-9 pr-14 py-2 pl-9 pr-14 py-2 focus-within:ring-1 border-purple-muted-500 dark:bg-purple-muted-800 focus-within:ring-purple-muted-400",
|
|
12543
12543
|
c
|
|
12544
12544
|
);
|
|
12545
12545
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -12556,7 +12556,7 @@ const Kw = ({
|
|
|
12556
12556
|
onFocus: ee,
|
|
12557
12557
|
onBlur: X,
|
|
12558
12558
|
children: [
|
|
12559
|
-
/* @__PURE__ */ i.jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-purple-
|
|
12559
|
+
/* @__PURE__ */ i.jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-purple-muted-400", children: /* @__PURE__ */ i.jsx(rv, { className: "w-4 h-4" }) }),
|
|
12560
12560
|
/* @__PURE__ */ i.jsx("div", { className: "w-full text-start max-w-full min-w-0 overflow-x-auto overflow-y-hidden no-scrollbar", children: /* @__PURE__ */ i.jsxs("div", { className: E, children: [
|
|
12561
12561
|
v.map((B, Z) => /* @__PURE__ */ i.jsx(
|
|
12562
12562
|
r0,
|
|
@@ -13401,7 +13401,7 @@ const tf = l.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i.jsx(
|
|
|
13401
13401
|
{
|
|
13402
13402
|
ref: r,
|
|
13403
13403
|
className: T(
|
|
13404
|
-
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-purple-
|
|
13404
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-purple-muted-600 dark:text-neutral-50",
|
|
13405
13405
|
e
|
|
13406
13406
|
),
|
|
13407
13407
|
...t
|
|
@@ -13414,7 +13414,7 @@ const rf = l.forwardRef(({ className: e, sideOffset: t = 4, ...r }, n) => /* @__
|
|
|
13414
13414
|
ref: n,
|
|
13415
13415
|
sideOffset: t,
|
|
13416
13416
|
className: T(
|
|
13417
|
-
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-md dark:border-neutral-800 dark:bg-purple-
|
|
13417
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border border-neutral-200 bg-white p-1 text-neutral-950 shadow-md dark:border-neutral-800 dark:bg-purple-muted-600 background dark:text-neutral-50",
|
|
13418
13418
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
13419
13419
|
e
|
|
13420
13420
|
),
|
|
@@ -13485,7 +13485,7 @@ const xt = l.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ i.jsx(
|
|
|
13485
13485
|
Zd,
|
|
13486
13486
|
{
|
|
13487
13487
|
ref: r,
|
|
13488
|
-
className: T("-mx-1 my-1 h-px bg-purple-
|
|
13488
|
+
className: T("-mx-1 my-1 h-px bg-purple-muted-500", e),
|
|
13489
13489
|
...t
|
|
13490
13490
|
}
|
|
13491
13491
|
));
|
|
@@ -13507,7 +13507,7 @@ sf.displayName = "DropdownMenuEndAndornment";
|
|
|
13507
13507
|
const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
13508
13508
|
of,
|
|
13509
13509
|
{
|
|
13510
|
-
className: "m-0 rounded-none gap-2 text-white focus:text-purple-
|
|
13510
|
+
className: "m-0 rounded-none gap-2 text-white focus:text-purple-muted-100 focus:bg-zinc-800 pl-3 pr-9 py-1.5",
|
|
13511
13511
|
value: e.value,
|
|
13512
13512
|
disabled: e.disabled,
|
|
13513
13513
|
onSelect: (t) => t.preventDefault(),
|
|
@@ -13539,7 +13539,7 @@ const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
|
13539
13539
|
children: /* @__PURE__ */ i.jsx(
|
|
13540
13540
|
ws,
|
|
13541
13541
|
{
|
|
13542
|
-
className: "m-0 rounded-none py-1.5 px-3 outline-none text-white focus:text-purple-
|
|
13542
|
+
className: "m-0 rounded-none py-1.5 px-3 outline-none text-white focus:text-purple-muted-100 focus:bg-zinc-800",
|
|
13543
13543
|
disabled: e.disabled || e.loading,
|
|
13544
13544
|
onClick: e.onClick,
|
|
13545
13545
|
onSelect: e.onSelect,
|
|
@@ -13557,7 +13557,7 @@ const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
|
13557
13557
|
] }), SC = ({ checkboxItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
13558
13558
|
nf,
|
|
13559
13559
|
{
|
|
13560
|
-
className: "gap-2 m-0 rounded-none py-1.5 pl-3 pr-9 outline-none text-white focus:text-purple-
|
|
13560
|
+
className: "gap-2 m-0 rounded-none py-1.5 pl-3 pr-9 outline-none text-white focus:text-purple-muted-100 focus:bg-zinc-800 [&_svg]:stroke-purple-300 [&_svg]:size-[18px] [&_svg]:stroke-[3px]",
|
|
13561
13561
|
checked: e.checked,
|
|
13562
13562
|
onCheckedChange: e.onSelect,
|
|
13563
13563
|
disabled: e.disabled,
|
|
@@ -13580,14 +13580,14 @@ const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
|
13580
13580
|
ef,
|
|
13581
13581
|
{
|
|
13582
13582
|
disabled: e.disabled,
|
|
13583
|
-
className: "m-0 rounded-none py-1.5 pl-3 pr-1 data-[state=open]:bg-zinc-800 data-[state=open]:text-purple-
|
|
13583
|
+
className: "m-0 rounded-none py-1.5 pl-3 pr-1 data-[state=open]:bg-zinc-800 data-[state=open]:text-purple-muted-100 text-white focus:text-purple-muted-100 hover:text-purple-muted-100 focus:bg-zinc-800 [&_svg]:stroke-1 [&_svg]:stroke-white [&_svg]:stroke-1.5 [&_svg]:size-4",
|
|
13584
13584
|
children: [
|
|
13585
13585
|
e.icon,
|
|
13586
13586
|
e.label
|
|
13587
13587
|
]
|
|
13588
13588
|
}
|
|
13589
13589
|
),
|
|
13590
|
-
/* @__PURE__ */ i.jsx(vC, { children: /* @__PURE__ */ i.jsx(tf, { className: "rounded-md text-body dark:bg-purple-
|
|
13590
|
+
/* @__PURE__ */ i.jsx(vC, { children: /* @__PURE__ */ i.jsx(tf, { className: "rounded-md text-body dark:bg-purple-muted-700 border-purple-muted-500 px-0 py-1.5", children: e.subItems.map(
|
|
13591
13591
|
(t, r) => af(t, r)
|
|
13592
13592
|
) }) })
|
|
13593
13593
|
] }),
|
|
@@ -13613,17 +13613,17 @@ const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
|
13613
13613
|
s: "min-w-[140px]",
|
|
13614
13614
|
l: "min-w-[257px]"
|
|
13615
13615
|
}, jC = ({ header: e }) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
13616
|
-
/* @__PURE__ */ i.jsx("span", { className: "text-purple-
|
|
13616
|
+
/* @__PURE__ */ i.jsx("span", { className: "text-purple-muted-300", children: e.title }),
|
|
13617
13617
|
/* @__PURE__ */ i.jsx("span", { children: e.label })
|
|
13618
13618
|
] }), _C = ({
|
|
13619
13619
|
header: e
|
|
13620
13620
|
}) => e ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
13621
13621
|
/* @__PURE__ */ i.jsx(Cs, { className: "text-purple-100 font-normal px-3", children: e.type === "MenuTitleHeader" && /* @__PURE__ */ i.jsx(jC, { header: e }) }),
|
|
13622
|
-
/* @__PURE__ */ i.jsx(xt, { className: "bg-purple-
|
|
13622
|
+
/* @__PURE__ */ i.jsx(xt, { className: "bg-purple-muted-500" })
|
|
13623
13623
|
] }) : null, TC = ({
|
|
13624
13624
|
footer: e
|
|
13625
13625
|
}) => e ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
13626
|
-
/* @__PURE__ */ i.jsx(xt, { className: "bg-purple-
|
|
13626
|
+
/* @__PURE__ */ i.jsx(xt, { className: "bg-purple-muted-500" }),
|
|
13627
13627
|
/* @__PURE__ */ i.jsxs(
|
|
13628
13628
|
ws,
|
|
13629
13629
|
{
|
|
@@ -13650,7 +13650,7 @@ const yC = ({ radioItem: e }) => /* @__PURE__ */ i.jsxs(
|
|
|
13650
13650
|
NC,
|
|
13651
13651
|
{
|
|
13652
13652
|
[o]: o,
|
|
13653
|
-
className: "rounded-md text-body dark:bg-purple-
|
|
13653
|
+
className: "rounded-md text-body dark:bg-purple-muted-700 border-purple-muted-500 px-0 py-1.5"
|
|
13654
13654
|
},
|
|
13655
13655
|
!1
|
|
13656
13656
|
);
|