@galaui/react 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/components/ui/accordion.cjs +1 -0
- package/dist/components/ui/accordion.js +38 -0
- package/dist/components/ui/alert-dialog.cjs +1 -0
- package/dist/components/ui/alert-dialog.js +65 -0
- package/dist/components/ui/alert.cjs +1 -0
- package/dist/components/ui/alert.js +36 -0
- package/dist/components/ui/aspect-ratio.cjs +1 -0
- package/dist/components/ui/aspect-ratio.js +18 -0
- package/dist/components/ui/avatar.cjs +1 -0
- package/dist/components/ui/avatar.js +37 -0
- package/dist/components/ui/badge.cjs +1 -0
- package/dist/components/ui/badge.js +41 -0
- package/dist/components/ui/breadcrumb.cjs +1 -0
- package/dist/components/ui/breadcrumb.js +60 -0
- package/dist/components/ui/button.cjs +1 -0
- package/dist/components/ui/button.js +46 -0
- package/dist/components/ui/card.cjs +1 -0
- package/dist/components/ui/card.js +43 -0
- package/dist/components/ui/checkbox-group.cjs +1 -0
- package/dist/components/ui/checkbox-group.js +14 -0
- package/dist/components/ui/checkbox.cjs +1 -0
- package/dist/components/ui/checkbox.js +22 -0
- package/dist/components/ui/collapsible.cjs +1 -0
- package/dist/components/ui/collapsible.js +20 -0
- package/dist/components/ui/context-menu.cjs +1 -0
- package/dist/components/ui/context-menu.js +68 -0
- package/dist/components/ui/dialog.cjs +1 -0
- package/dist/components/ui/dialog.js +53 -0
- package/dist/components/ui/drawer.cjs +1 -0
- package/dist/components/ui/drawer.js +59 -0
- package/dist/components/ui/dropdown-menu.cjs +1 -0
- package/dist/components/ui/dropdown-menu.js +72 -0
- package/dist/components/ui/empty-state.cjs +1 -0
- package/dist/components/ui/empty-state.js +35 -0
- package/dist/components/ui/field.cjs +1 -0
- package/dist/components/ui/field.js +38 -0
- package/dist/components/ui/input-otp.cjs +1 -0
- package/dist/components/ui/input-otp.js +29 -0
- package/dist/components/ui/input.cjs +1 -0
- package/dist/components/ui/input.js +30 -0
- package/dist/components/ui/kbd.cjs +1 -0
- package/dist/components/ui/kbd.js +13 -0
- package/dist/components/ui/menubar.cjs +1 -0
- package/dist/components/ui/menubar.js +51 -0
- package/dist/components/ui/meter.cjs +1 -0
- package/dist/components/ui/meter.js +39 -0
- package/dist/components/ui/navigation-menu.cjs +1 -0
- package/dist/components/ui/navigation-menu.js +63 -0
- package/dist/components/ui/number-field.cjs +1 -0
- package/dist/components/ui/number-field.js +41 -0
- package/dist/components/ui/pagination.cjs +1 -0
- package/dist/components/ui/pagination.js +67 -0
- package/dist/components/ui/popover.cjs +1 -0
- package/dist/components/ui/popover.js +25 -0
- package/dist/components/ui/preview-card.cjs +1 -0
- package/dist/components/ui/preview-card.js +28 -0
- package/dist/components/ui/progress.cjs +1 -0
- package/dist/components/ui/progress.js +39 -0
- package/dist/components/ui/radio-group.cjs +1 -0
- package/dist/components/ui/radio-group.js +24 -0
- package/dist/components/ui/scroll-area.cjs +1 -0
- package/dist/components/ui/scroll-area.js +42 -0
- package/dist/components/ui/select.cjs +1 -0
- package/dist/components/ui/select.js +97 -0
- package/dist/components/ui/separator.cjs +1 -0
- package/dist/components/ui/separator.js +15 -0
- package/dist/components/ui/skeleton.cjs +1 -0
- package/dist/components/ui/skeleton.js +13 -0
- package/dist/components/ui/slider.cjs +1 -0
- package/dist/components/ui/slider.js +93 -0
- package/dist/components/ui/switch.cjs +1 -0
- package/dist/components/ui/switch.js +35 -0
- package/dist/components/ui/table.cjs +1 -0
- package/dist/components/ui/table.js +58 -0
- package/dist/components/ui/tabs.cjs +1 -0
- package/dist/components/ui/tabs.js +49 -0
- package/dist/components/ui/toast.cjs +1 -0
- package/dist/components/ui/toast.js +131 -0
- package/dist/components/ui/toggle-group.cjs +1 -0
- package/dist/components/ui/toggle-group.js +35 -0
- package/dist/components/ui/toggle.cjs +1 -0
- package/dist/components/ui/toggle.js +35 -0
- package/dist/components/ui/tooltip.cjs +1 -0
- package/dist/components/ui/tooltip.js +18 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +46 -1692
- package/dist/lib/utils.js +3 -0
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.js +135 -0
- package/package.json +9 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));exports.__toESM=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("@phosphor-icons/react"),a=require("cn");var o=r.Accordion.Root,s=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.Accordion.Item,{ref:i,className:(0,a.cn)(`border-b border-border`,e),...t}));s.displayName=`AccordionItem`;var c=r.Accordion.Header,l=t.forwardRef(({className:e,children:t,...o},s)=>(0,n.jsx)(r.Accordion.Header,{className:`flex`,children:(0,n.jsxs)(r.Accordion.Trigger,{ref:s,className:(0,a.cn)(`group flex flex-1 items-center justify-between py-3.5 text-xs font-semibold transition-colors duration-200 hover:text-primary cursor-pointer text-foreground select-none`,e),...o,children:[t,(0,n.jsx)(i.CaretDown,{weight:`bold`,className:`h-3.5 w-3.5 shrink-0 text-muted-foreground transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] group-data-panel-open:rotate-180 data-open:rotate-180`})]})}));l.displayName=`AccordionTrigger`;var u=t.forwardRef(({className:e,children:t,...i},o)=>(0,n.jsx)(r.Accordion.Panel,{ref:o,className:(0,a.cn)(`h-[var(--accordion-panel-height)] overflow-hidden text-xs transition-[height] duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] data-starting-style:h-0 data-ending-style:h-0 text-muted-foreground leading-relaxed`,e),...i,children:(0,n.jsx)(`div`,{className:`pb-3.5 pt-0`,children:t})}));u.displayName=`AccordionPanel`,exports.Accordion=o,exports.AccordionHeader=c,exports.AccordionItem=s,exports.AccordionPanel=u,exports.AccordionTrigger=l;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { Accordion as i } from "@base-ui/react";
|
|
6
|
+
import { CaretDown as a } from "@phosphor-icons/react";
|
|
7
|
+
//#region src/components/ui/accordion.tsx
|
|
8
|
+
var o = i.Root, s = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Item, {
|
|
9
|
+
ref: a,
|
|
10
|
+
className: e("border-b border-border", t),
|
|
11
|
+
...r
|
|
12
|
+
}));
|
|
13
|
+
s.displayName = "AccordionItem";
|
|
14
|
+
var c = i.Header, l = t.forwardRef(({ className: t, children: o, ...s }, c) => /* @__PURE__ */ n(i.Header, {
|
|
15
|
+
className: "flex",
|
|
16
|
+
children: /* @__PURE__ */ r(i.Trigger, {
|
|
17
|
+
ref: c,
|
|
18
|
+
className: e("group flex flex-1 items-center justify-between py-3.5 text-xs font-semibold transition-colors duration-200 hover:text-primary cursor-pointer text-foreground select-none", t),
|
|
19
|
+
...s,
|
|
20
|
+
children: [o, /* @__PURE__ */ n(a, {
|
|
21
|
+
weight: "bold",
|
|
22
|
+
className: "h-3.5 w-3.5 shrink-0 text-muted-foreground transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] group-data-panel-open:rotate-180 data-open:rotate-180"
|
|
23
|
+
})]
|
|
24
|
+
})
|
|
25
|
+
}));
|
|
26
|
+
l.displayName = "AccordionTrigger";
|
|
27
|
+
var u = t.forwardRef(({ className: t, children: r, ...a }, o) => /* @__PURE__ */ n(i.Panel, {
|
|
28
|
+
ref: o,
|
|
29
|
+
className: e("h-[var(--accordion-panel-height)] overflow-hidden text-xs transition-[height] duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] data-starting-style:h-0 data-ending-style:h-0 text-muted-foreground leading-relaxed", t),
|
|
30
|
+
...a,
|
|
31
|
+
children: /* @__PURE__ */ n("div", {
|
|
32
|
+
className: "pb-3.5 pt-0",
|
|
33
|
+
children: r
|
|
34
|
+
})
|
|
35
|
+
}));
|
|
36
|
+
u.displayName = "AccordionPanel";
|
|
37
|
+
//#endregion
|
|
38
|
+
export { o as Accordion, c as AccordionHeader, s as AccordionItem, u as AccordionPanel, l as AccordionTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./button.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("@base-ui/react"),a=require("cn");var o=i.AlertDialog.Root,s=i.AlertDialog.Trigger,c=i.AlertDialog.Portal,l=i.AlertDialog.Close,u=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(i.AlertDialog.Backdrop,{ref:n,className:(0,a.cn)(`fixed inset-0 z-50 bg-black/50 backdrop-blur-xs transition-opacity duration-200 ease-out data-starting-style:opacity-0 data-ending-style:opacity-0`,e),...t}));u.displayName=`AlertDialogBackdrop`;var d=n.forwardRef(({className:e,children:t,...n},o)=>(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{}),(0,r.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:(0,r.jsx)(i.AlertDialog.Popup,{ref:o,className:(0,a.cn)(`relative w-full max-w-md rounded-2xl border border-border bg-card p-6 shadow-2xl transition-all duration-200 ease-out data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95`,e),...n,children:t})})]}));d.displayName=`AlertDialogPopup`;var f=({className:e,...t})=>(0,r.jsx)(`div`,{className:(0,a.cn)(`flex flex-col space-y-1.5 text-left mb-4`,e),...t});f.displayName=`AlertDialogHeader`;var p=({className:e,...t})=>(0,r.jsx)(`div`,{className:(0,a.cn)(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 gap-2 mt-4`,e),...t});p.displayName=`AlertDialogFooter`;var m=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(i.AlertDialog.Title,{ref:n,className:(0,a.cn)(`text-base font-semibold tracking-tight text-foreground`,e),...t}));m.displayName=`AlertDialogTitle`;var h=n.forwardRef(({className:e,...t},n)=>(0,r.jsx)(i.AlertDialog.Description,{ref:n,className:(0,a.cn)(`text-xs text-muted-foreground leading-relaxed`,e),...t}));h.displayName=`AlertDialogDescription`;var g=n.forwardRef(({className:e,...n},o)=>(0,r.jsx)(i.AlertDialog.Close,{ref:o,className:(0,a.cn)(t.buttonVariants({variant:`destructive`,size:`sm`}),e),...n}));g.displayName=`AlertDialogAction`;var _=n.forwardRef(({className:e,...n},o)=>(0,r.jsx)(i.AlertDialog.Close,{ref:o,className:(0,a.cn)(t.buttonVariants({variant:`outline`,size:`sm`}),e),...n}));_.displayName=`AlertDialogCancel`,exports.AlertDialog=o,exports.AlertDialogAction=g,exports.AlertDialogBackdrop=u,exports.AlertDialogCancel=_,exports.AlertDialogClose=l,exports.AlertDialogDescription=h,exports.AlertDialogFooter=p,exports.AlertDialogHeader=f,exports.AlertDialogPopup=d,exports.AlertDialogPortal=c,exports.AlertDialogTitle=m,exports.AlertDialogTrigger=s;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import { buttonVariants as t } from "./button.js";
|
|
4
|
+
import * as n from "react";
|
|
5
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
6
|
+
import { AlertDialog as a } from "@base-ui/react";
|
|
7
|
+
//#region src/components/ui/alert-dialog.tsx
|
|
8
|
+
var o = a.Root, s = a.Trigger, c = a.Portal, l = a.Close, u = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Backdrop, {
|
|
9
|
+
ref: i,
|
|
10
|
+
className: e("fixed inset-0 z-50 bg-black/50 backdrop-blur-xs transition-opacity duration-200 ease-out data-starting-style:opacity-0 data-ending-style:opacity-0", t),
|
|
11
|
+
...n
|
|
12
|
+
}));
|
|
13
|
+
u.displayName = "AlertDialogBackdrop";
|
|
14
|
+
var d = n.forwardRef(({ className: t, children: n, ...o }, s) => /* @__PURE__ */ i(c, { children: [/* @__PURE__ */ r(u, {}), /* @__PURE__ */ r("div", {
|
|
15
|
+
className: "fixed inset-0 z-50 flex items-center justify-center p-4",
|
|
16
|
+
children: /* @__PURE__ */ r(a.Popup, {
|
|
17
|
+
ref: s,
|
|
18
|
+
className: e("relative w-full max-w-md rounded-2xl border border-border bg-card p-6 shadow-2xl transition-all duration-200 ease-out data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95", t),
|
|
19
|
+
...o,
|
|
20
|
+
children: n
|
|
21
|
+
})
|
|
22
|
+
})] }));
|
|
23
|
+
d.displayName = "AlertDialogPopup";
|
|
24
|
+
var f = ({ className: t, ...n }) => /* @__PURE__ */ r("div", {
|
|
25
|
+
className: e("flex flex-col space-y-1.5 text-left mb-4", t),
|
|
26
|
+
...n
|
|
27
|
+
});
|
|
28
|
+
f.displayName = "AlertDialogHeader";
|
|
29
|
+
var p = ({ className: t, ...n }) => /* @__PURE__ */ r("div", {
|
|
30
|
+
className: e("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 gap-2 mt-4", t),
|
|
31
|
+
...n
|
|
32
|
+
});
|
|
33
|
+
p.displayName = "AlertDialogFooter";
|
|
34
|
+
var m = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Title, {
|
|
35
|
+
ref: i,
|
|
36
|
+
className: e("text-base font-semibold tracking-tight text-foreground", t),
|
|
37
|
+
...n
|
|
38
|
+
}));
|
|
39
|
+
m.displayName = "AlertDialogTitle";
|
|
40
|
+
var h = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Description, {
|
|
41
|
+
ref: i,
|
|
42
|
+
className: e("text-xs text-muted-foreground leading-relaxed", t),
|
|
43
|
+
...n
|
|
44
|
+
}));
|
|
45
|
+
h.displayName = "AlertDialogDescription";
|
|
46
|
+
var g = n.forwardRef(({ className: n, ...i }, o) => /* @__PURE__ */ r(a.Close, {
|
|
47
|
+
ref: o,
|
|
48
|
+
className: e(t({
|
|
49
|
+
variant: "destructive",
|
|
50
|
+
size: "sm"
|
|
51
|
+
}), n),
|
|
52
|
+
...i
|
|
53
|
+
}));
|
|
54
|
+
g.displayName = "AlertDialogAction";
|
|
55
|
+
var _ = n.forwardRef(({ className: n, ...i }, o) => /* @__PURE__ */ r(a.Close, {
|
|
56
|
+
ref: o,
|
|
57
|
+
className: e(t({
|
|
58
|
+
variant: "outline",
|
|
59
|
+
size: "sm"
|
|
60
|
+
}), n),
|
|
61
|
+
...i
|
|
62
|
+
}));
|
|
63
|
+
_.displayName = "AlertDialogCancel";
|
|
64
|
+
//#endregion
|
|
65
|
+
export { o as AlertDialog, g as AlertDialogAction, u as AlertDialogBackdrop, _ as AlertDialogCancel, l as AlertDialogClose, h as AlertDialogDescription, p as AlertDialogFooter, f as AlertDialogHeader, d as AlertDialogPopup, c as AlertDialogPortal, m as AlertDialogTitle, s as AlertDialogTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("class-variance-authority"),r=require("react/jsx-runtime"),i=require("cn");var a=(0,n.cva)(`relative w-full rounded-xl border px-4 py-3 text-xs leading-relaxed transition-all duration-150 flex items-start gap-3 select-none`,{variants:{variant:{default:`border-border bg-card text-foreground shadow-xs`,info:`border-info-500/20 bg-info-500/10 text-info-600 dark:text-info-400 [&>svg]:text-info-600 dark:[&>svg]:text-info-400`,success:`border-success-500/20 bg-success-500/10 text-success-600 dark:text-success-400 [&>svg]:text-success-600 dark:[&>svg]:text-success-400`,warning:`border-warning-500/20 bg-warning-500/10 text-warning-600 dark:text-warning-400 [&>svg]:text-warning-600 dark:[&>svg]:text-warning-400`,destructive:`border-destructive-500/25 bg-destructive-500/10 text-destructive-600 dark:text-destructive-400 [&>svg]:text-destructive-600 dark:[&>svg]:text-destructive-400`}},defaultVariants:{variant:`default`}}),o=t.forwardRef(({className:e,variant:t,...n},o)=>(0,r.jsx)(`div`,{ref:o,role:`alert`,className:(0,i.cn)(a({variant:t}),e),...n}));o.displayName=`Alert`;var s=t.forwardRef(({className:e,...t},n)=>(0,r.jsx)(`h5`,{ref:n,className:(0,i.cn)(`font-medium tracking-tight text-foreground`,e),...t}));s.displayName=`AlertTitle`;var c=t.forwardRef(({className:e,...t},n)=>(0,r.jsx)(`div`,{ref:n,className:(0,i.cn)(`text-xs opacity-90 text-muted-foreground`,e),...t}));c.displayName=`AlertDescription`,exports.Alert=o,exports.AlertDescription=c,exports.AlertTitle=s,exports.alertVariants=a;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { cva as n } from "class-variance-authority";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/ui/alert.tsx
|
|
7
|
+
var i = n("relative w-full rounded-xl border px-4 py-3 text-xs leading-relaxed transition-all duration-150 flex items-start gap-3 select-none", {
|
|
8
|
+
variants: { variant: {
|
|
9
|
+
default: "border-border bg-card text-foreground shadow-xs",
|
|
10
|
+
info: "border-info-500/20 bg-info-500/10 text-info-600 dark:text-info-400 [&>svg]:text-info-600 dark:[&>svg]:text-info-400",
|
|
11
|
+
success: "border-success-500/20 bg-success-500/10 text-success-600 dark:text-success-400 [&>svg]:text-success-600 dark:[&>svg]:text-success-400",
|
|
12
|
+
warning: "border-warning-500/20 bg-warning-500/10 text-warning-600 dark:text-warning-400 [&>svg]:text-warning-600 dark:[&>svg]:text-warning-400",
|
|
13
|
+
destructive: "border-destructive-500/25 bg-destructive-500/10 text-destructive-600 dark:text-destructive-400 [&>svg]:text-destructive-600 dark:[&>svg]:text-destructive-400"
|
|
14
|
+
} },
|
|
15
|
+
defaultVariants: { variant: "default" }
|
|
16
|
+
}), a = t.forwardRef(({ className: t, variant: n, ...a }, o) => /* @__PURE__ */ r("div", {
|
|
17
|
+
ref: o,
|
|
18
|
+
role: "alert",
|
|
19
|
+
className: e(i({ variant: n }), t),
|
|
20
|
+
...a
|
|
21
|
+
}));
|
|
22
|
+
a.displayName = "Alert";
|
|
23
|
+
var o = t.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("h5", {
|
|
24
|
+
ref: i,
|
|
25
|
+
className: e("font-medium tracking-tight text-foreground", t),
|
|
26
|
+
...n
|
|
27
|
+
}));
|
|
28
|
+
o.displayName = "AlertTitle";
|
|
29
|
+
var s = t.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r("div", {
|
|
30
|
+
ref: i,
|
|
31
|
+
className: e("text-xs opacity-90 text-muted-foreground", t),
|
|
32
|
+
...n
|
|
33
|
+
}));
|
|
34
|
+
s.displayName = "AlertDescription";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { a as Alert, s as AlertDescription, o as AlertTitle, i as alertVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("cn");var i=t.forwardRef(({ratio:e=16/9,className:t,style:i,children:a,...o},s)=>(0,n.jsx)(`div`,{ref:s,style:{aspectRatio:e,...i},className:(0,r.cn)(`relative w-full overflow-hidden`,t),...o,children:a}));i.displayName=`AspectRatio`,exports.AspectRatio=i;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/ui/aspect-ratio.tsx
|
|
6
|
+
var r = t.forwardRef(({ ratio: t = 16 / 9, className: r, style: i, children: a, ...o }, s) => /* @__PURE__ */ n("div", {
|
|
7
|
+
ref: s,
|
|
8
|
+
style: {
|
|
9
|
+
aspectRatio: t,
|
|
10
|
+
...i
|
|
11
|
+
},
|
|
12
|
+
className: e("relative w-full overflow-hidden", r),
|
|
13
|
+
...o,
|
|
14
|
+
children: a
|
|
15
|
+
}));
|
|
16
|
+
r.displayName = "AspectRatio";
|
|
17
|
+
//#endregion
|
|
18
|
+
export { r as AspectRatio };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("class-variance-authority"),r=require("react/jsx-runtime"),i=require("@base-ui/react"),a=require("cn");var o=(0,n.cva)(`relative flex shrink-0 overflow-hidden rounded-full ring-1 ring-border transition-transform duration-200 ease-out hover:scale-105 select-none`,{variants:{size:{default:`h-8 w-8 text-xs`,xs:`h-6 w-6 text-[10px]`,sm:`h-7 w-7 text-xs`,md:`h-8 w-8 text-xs`,lg:`h-9 w-9 text-sm`,xl:`h-10 w-10 text-sm`}},defaultVariants:{size:`default`}}),s=t.forwardRef(({className:e,size:t=`default`,...n},s)=>(0,r.jsx)(i.Avatar.Root,{ref:s,className:(0,a.cn)(o({size:t}),e),...n}));s.displayName=`Avatar`;var c=t.forwardRef(({className:e,...t},n)=>(0,r.jsx)(i.Avatar.Image,{ref:n,className:(0,a.cn)(`aspect-square h-full w-full object-cover transition-opacity duration-200 ease-out`,e),...t}));c.displayName=`AvatarImage`;var l=t.forwardRef(({className:e,...t},n)=>(0,r.jsx)(i.Avatar.Fallback,{ref:n,className:(0,a.cn)(`flex h-full w-full items-center justify-center rounded-full bg-muted text-xs font-semibold text-muted-foreground transition-colors duration-200 ease-out`,e),...t}));l.displayName=`AvatarFallback`,exports.Avatar=s,exports.AvatarFallback=l,exports.AvatarImage=c,exports.avatarVariants=o;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { cva as n } from "class-variance-authority";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { Avatar as i } from "@base-ui/react";
|
|
7
|
+
//#region src/components/ui/avatar.tsx
|
|
8
|
+
var a = n("relative flex shrink-0 overflow-hidden rounded-full ring-1 ring-border transition-transform duration-200 ease-out hover:scale-105 select-none", {
|
|
9
|
+
variants: { size: {
|
|
10
|
+
default: "h-8 w-8 text-xs",
|
|
11
|
+
xs: "h-6 w-6 text-[10px]",
|
|
12
|
+
sm: "h-7 w-7 text-xs",
|
|
13
|
+
md: "h-8 w-8 text-xs",
|
|
14
|
+
lg: "h-9 w-9 text-sm",
|
|
15
|
+
xl: "h-10 w-10 text-sm"
|
|
16
|
+
} },
|
|
17
|
+
defaultVariants: { size: "default" }
|
|
18
|
+
}), o = t.forwardRef(({ className: t, size: n = "default", ...o }, s) => /* @__PURE__ */ r(i.Root, {
|
|
19
|
+
ref: s,
|
|
20
|
+
className: e(a({ size: n }), t),
|
|
21
|
+
...o
|
|
22
|
+
}));
|
|
23
|
+
o.displayName = "Avatar";
|
|
24
|
+
var s = t.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ r(i.Image, {
|
|
25
|
+
ref: a,
|
|
26
|
+
className: e("aspect-square h-full w-full object-cover transition-opacity duration-200 ease-out", t),
|
|
27
|
+
...n
|
|
28
|
+
}));
|
|
29
|
+
s.displayName = "AvatarImage";
|
|
30
|
+
var c = t.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ r(i.Fallback, {
|
|
31
|
+
ref: a,
|
|
32
|
+
className: e("flex h-full w-full items-center justify-center rounded-full bg-muted text-xs font-semibold text-muted-foreground transition-colors duration-200 ease-out", t),
|
|
33
|
+
...n
|
|
34
|
+
}));
|
|
35
|
+
c.displayName = "AvatarFallback";
|
|
36
|
+
//#endregion
|
|
37
|
+
export { o as Avatar, c as AvatarFallback, s as AvatarImage, a as avatarVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("class-variance-authority"),r=require("react/jsx-runtime"),i=require("cn");var a=(0,n.cva)(`inline-flex items-center rounded-md border font-semibold transition-all duration-150 ease-out select-none hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground shadow-xs`,secondary:`border-transparent bg-secondary text-secondary-foreground`,destructive:`border-transparent bg-destructive text-destructive-foreground shadow-xs`,outline:`text-foreground border-border`,success:`border-emerald-200 dark:border-emerald-800 bg-emerald-50 dark:bg-emerald-950/60 text-emerald-700 dark:text-emerald-300`,warning:`border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-950/60 text-amber-700 dark:text-amber-300`,info:`border-sky-200 dark:border-sky-800 bg-sky-50 dark:bg-sky-950/60 text-sky-700 dark:text-sky-300`},size:{default:`h-6 px-2 text-xs`,xs:`h-5 px-1.5 text-[10px] rounded-sm`,sm:`h-5.5 px-2 text-[11px] rounded-md`,md:`h-6 px-2 text-xs rounded-md`,lg:`h-7 px-2.5 text-xs rounded-md`}},defaultVariants:{variant:`default`,size:`default`}});function o({className:e,variant:t,size:n,...o}){return(0,r.jsx)(`div`,{className:(0,i.cn)(a({variant:t,size:n}),e),...o})}exports.Badge=o,exports.badgeVariants=a;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { cva as t } from "class-variance-authority";
|
|
5
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/ui/badge.tsx
|
|
7
|
+
var r = t("inline-flex items-center rounded-md border font-semibold transition-all duration-150 ease-out select-none hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "border-transparent bg-primary text-primary-foreground shadow-xs",
|
|
11
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground",
|
|
12
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow-xs",
|
|
13
|
+
outline: "text-foreground border-border",
|
|
14
|
+
success: "border-emerald-200 dark:border-emerald-800 bg-emerald-50 dark:bg-emerald-950/60 text-emerald-700 dark:text-emerald-300",
|
|
15
|
+
warning: "border-amber-200 dark:border-amber-800 bg-amber-50 dark:bg-amber-950/60 text-amber-700 dark:text-amber-300",
|
|
16
|
+
info: "border-sky-200 dark:border-sky-800 bg-sky-50 dark:bg-sky-950/60 text-sky-700 dark:text-sky-300"
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
default: "h-6 px-2 text-xs",
|
|
20
|
+
xs: "h-5 px-1.5 text-[10px] rounded-sm",
|
|
21
|
+
sm: "h-5.5 px-2 text-[11px] rounded-md",
|
|
22
|
+
md: "h-6 px-2 text-xs rounded-md",
|
|
23
|
+
lg: "h-7 px-2.5 text-xs rounded-md"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
variant: "default",
|
|
28
|
+
size: "default"
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
function i({ className: t, variant: i, size: a, ...o }) {
|
|
32
|
+
return /* @__PURE__ */ n("div", {
|
|
33
|
+
className: e(r({
|
|
34
|
+
variant: i,
|
|
35
|
+
size: a
|
|
36
|
+
}), t),
|
|
37
|
+
...o
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
export { i as Badge, r as badgeVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("lucide-react"),i=require("cn");var a=t.forwardRef(({...e},t)=>(0,n.jsx)(`nav`,{ref:t,"aria-label":`breadcrumb`,...e}));a.displayName=`Breadcrumb`;var o=t.forwardRef(({className:e,...t},r)=>(0,n.jsx)(`ol`,{ref:r,className:(0,i.cn)(`flex flex-wrap items-center gap-1.5 break-words text-xs text-muted-foreground sm:gap-2`,e),...t}));o.displayName=`BreadcrumbList`;var s=t.forwardRef(({className:e,...t},r)=>(0,n.jsx)(`li`,{ref:r,className:(0,i.cn)(`inline-flex items-center gap-1.5`,e),...t}));s.displayName=`BreadcrumbItem`;var c=t.forwardRef(({className:e,...t},r)=>(0,n.jsx)(`a`,{ref:r,className:(0,i.cn)(`transition-colors hover:text-foreground cursor-pointer`,e),...t}));c.displayName=`BreadcrumbLink`;var l=t.forwardRef(({className:e,...t},r)=>(0,n.jsx)(`span`,{ref:r,role:`link`,"aria-disabled":`true`,"aria-current":`page`,className:(0,i.cn)(`font-medium text-foreground`,e),...t}));l.displayName=`BreadcrumbPage`;var u=({children:e,className:t,...a})=>(0,n.jsx)(`li`,{role:`presentation`,"aria-hidden":`true`,className:(0,i.cn)(`[&>svg]:w-3.5 [&>svg]:h-3.5 opacity-60`,t),...a,children:e??(0,n.jsx)(r.ChevronRight,{})});u.displayName=`BreadcrumbSeparator`;var d=({className:e,...t})=>(0,n.jsxs)(`span`,{role:`presentation`,"aria-hidden":`true`,className:(0,i.cn)(`flex h-7 w-7 items-center justify-center`,e),...t,children:[(0,n.jsx)(r.MoreHorizontal,{className:`h-4 w-4`}),(0,n.jsx)(`span`,{className:`sr-only`,children:`More`})]});d.displayName=`BreadcrumbEllipsis`,exports.Breadcrumb=a,exports.BreadcrumbEllipsis=d,exports.BreadcrumbItem=s,exports.BreadcrumbLink=c,exports.BreadcrumbList=o,exports.BreadcrumbPage=l,exports.BreadcrumbSeparator=u;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight as i, MoreHorizontal as a } from "lucide-react";
|
|
6
|
+
//#region src/components/ui/breadcrumb.tsx
|
|
7
|
+
var o = t.forwardRef(({ ...e }, t) => /* @__PURE__ */ n("nav", {
|
|
8
|
+
ref: t,
|
|
9
|
+
"aria-label": "breadcrumb",
|
|
10
|
+
...e
|
|
11
|
+
}));
|
|
12
|
+
o.displayName = "Breadcrumb";
|
|
13
|
+
var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("ol", {
|
|
14
|
+
ref: i,
|
|
15
|
+
className: e("flex flex-wrap items-center gap-1.5 break-words text-xs text-muted-foreground sm:gap-2", t),
|
|
16
|
+
...r
|
|
17
|
+
}));
|
|
18
|
+
s.displayName = "BreadcrumbList";
|
|
19
|
+
var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("li", {
|
|
20
|
+
ref: i,
|
|
21
|
+
className: e("inline-flex items-center gap-1.5", t),
|
|
22
|
+
...r
|
|
23
|
+
}));
|
|
24
|
+
c.displayName = "BreadcrumbItem";
|
|
25
|
+
var l = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("a", {
|
|
26
|
+
ref: i,
|
|
27
|
+
className: e("transition-colors hover:text-foreground cursor-pointer", t),
|
|
28
|
+
...r
|
|
29
|
+
}));
|
|
30
|
+
l.displayName = "BreadcrumbLink";
|
|
31
|
+
var u = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("span", {
|
|
32
|
+
ref: i,
|
|
33
|
+
role: "link",
|
|
34
|
+
"aria-disabled": "true",
|
|
35
|
+
"aria-current": "page",
|
|
36
|
+
className: e("font-medium text-foreground", t),
|
|
37
|
+
...r
|
|
38
|
+
}));
|
|
39
|
+
u.displayName = "BreadcrumbPage";
|
|
40
|
+
var d = ({ children: t, className: r, ...a }) => /* @__PURE__ */ n("li", {
|
|
41
|
+
role: "presentation",
|
|
42
|
+
"aria-hidden": "true",
|
|
43
|
+
className: e("[&>svg]:w-3.5 [&>svg]:h-3.5 opacity-60", r),
|
|
44
|
+
...a,
|
|
45
|
+
children: t ?? /* @__PURE__ */ n(i, {})
|
|
46
|
+
});
|
|
47
|
+
d.displayName = "BreadcrumbSeparator";
|
|
48
|
+
var f = ({ className: t, ...i }) => /* @__PURE__ */ r("span", {
|
|
49
|
+
role: "presentation",
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
className: e("flex h-7 w-7 items-center justify-center", t),
|
|
52
|
+
...i,
|
|
53
|
+
children: [/* @__PURE__ */ n(a, { className: "h-4 w-4" }), /* @__PURE__ */ n("span", {
|
|
54
|
+
className: "sr-only",
|
|
55
|
+
children: "More"
|
|
56
|
+
})]
|
|
57
|
+
});
|
|
58
|
+
f.displayName = "BreadcrumbEllipsis";
|
|
59
|
+
//#endregion
|
|
60
|
+
export { o as Breadcrumb, f as BreadcrumbEllipsis, c as BreadcrumbItem, l as BreadcrumbLink, s as BreadcrumbList, u as BreadcrumbPage, d as BreadcrumbSeparator };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("class-variance-authority"),r=require("react/jsx-runtime"),i=require("cn");var a=(0,n.cva)(`inline-flex items-center justify-center whitespace-nowrap font-medium transition-all duration-150 ease-out active:scale-[0.97] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 select-none cursor-pointer`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:bg-primary/80`,primary:`bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:bg-primary/80`,destructive:`bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90 active:bg-destructive/80`,outline:`border border-border bg-background hover:bg-muted text-foreground`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-muted text-foreground hover:text-foreground`,link:`text-primary underline-offset-4 hover:underline cursor-pointer`},size:{default:`h-8 px-3.5 rounded-lg text-xs gap-2`,xs:`h-6 px-2.5 rounded-md text-xs gap-1.5`,sm:`h-7 px-3 rounded-md text-xs gap-1.5`,md:`h-8 px-3.5 rounded-lg text-xs gap-2`,lg:`h-9 px-4 rounded-lg text-sm gap-2`,icon:`h-8 w-8 rounded-lg p-0`,"icon-xs":`h-6 w-6 rounded-md p-0`,"icon-sm":`h-7 w-7 rounded-md p-0`,"icon-md":`h-8 w-8 rounded-lg p-0`,"icon-lg":`h-9 w-9 rounded-lg p-0`}},defaultVariants:{variant:`default`,size:`default`}}),o=t.forwardRef(({className:e,variant:t,size:n,...o},s)=>(0,r.jsx)(`button`,{className:(0,i.cn)(a({variant:t,size:n,className:e})),ref:s,...o}));o.displayName=`Button`,exports.Button=o,exports.buttonVariants=a;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { cva as n } from "class-variance-authority";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/ui/button.tsx
|
|
7
|
+
var i = n("inline-flex items-center justify-center whitespace-nowrap font-medium transition-all duration-150 ease-out active:scale-[0.97] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 select-none cursor-pointer", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
default: "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:bg-primary/80",
|
|
11
|
+
primary: "bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 active:bg-primary/80",
|
|
12
|
+
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90 active:bg-destructive/80",
|
|
13
|
+
outline: "border border-border bg-background hover:bg-muted text-foreground",
|
|
14
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
15
|
+
ghost: "hover:bg-muted text-foreground hover:text-foreground",
|
|
16
|
+
link: "text-primary underline-offset-4 hover:underline cursor-pointer"
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
default: "h-8 px-3.5 rounded-lg text-xs gap-2",
|
|
20
|
+
xs: "h-6 px-2.5 rounded-md text-xs gap-1.5",
|
|
21
|
+
sm: "h-7 px-3 rounded-md text-xs gap-1.5",
|
|
22
|
+
md: "h-8 px-3.5 rounded-lg text-xs gap-2",
|
|
23
|
+
lg: "h-9 px-4 rounded-lg text-sm gap-2",
|
|
24
|
+
icon: "h-8 w-8 rounded-lg p-0",
|
|
25
|
+
"icon-xs": "h-6 w-6 rounded-md p-0",
|
|
26
|
+
"icon-sm": "h-7 w-7 rounded-md p-0",
|
|
27
|
+
"icon-md": "h-8 w-8 rounded-lg p-0",
|
|
28
|
+
"icon-lg": "h-9 w-9 rounded-lg p-0"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultVariants: {
|
|
32
|
+
variant: "default",
|
|
33
|
+
size: "default"
|
|
34
|
+
}
|
|
35
|
+
}), a = t.forwardRef(({ className: t, variant: n, size: a, ...o }, s) => /* @__PURE__ */ r("button", {
|
|
36
|
+
className: e(i({
|
|
37
|
+
variant: n,
|
|
38
|
+
size: a,
|
|
39
|
+
className: t
|
|
40
|
+
})),
|
|
41
|
+
ref: s,
|
|
42
|
+
...o
|
|
43
|
+
}));
|
|
44
|
+
a.displayName = "Button";
|
|
45
|
+
//#endregion
|
|
46
|
+
export { a as Button, i as buttonVariants };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("cn");var i=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`div`,{ref:i,className:(0,r.cn)(`rounded-2xl border border-border bg-card text-card-foreground shadow-sm transition-all duration-200 ease-out hover:border-zinc-300 dark:hover:border-zinc-700 hover:shadow-md`,e),...t}));i.displayName=`Card`;var a=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`div`,{ref:i,className:(0,r.cn)(`flex flex-col space-y-1.5 p-6`,e),...t}));a.displayName=`CardHeader`;var o=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`h3`,{ref:i,className:(0,r.cn)(`font-semibold leading-none tracking-tight text-foreground`,e),...t}));o.displayName=`CardTitle`;var s=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`p`,{ref:i,className:(0,r.cn)(`text-xs text-muted-foreground`,e),...t}));s.displayName=`CardDescription`;var c=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`div`,{ref:i,className:(0,r.cn)(`p-6 pt-0`,e),...t}));c.displayName=`CardContent`;var l=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(`div`,{ref:i,className:(0,r.cn)(`flex items-center p-6 pt-0`,e),...t}));l.displayName=`CardFooter`,exports.Card=i,exports.CardContent=c,exports.CardDescription=s,exports.CardFooter=l,exports.CardHeader=a,exports.CardTitle=o;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/ui/card.tsx
|
|
6
|
+
var r = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
7
|
+
ref: i,
|
|
8
|
+
className: e("rounded-2xl border border-border bg-card text-card-foreground shadow-sm transition-all duration-200 ease-out hover:border-zinc-300 dark:hover:border-zinc-700 hover:shadow-md", t),
|
|
9
|
+
...r
|
|
10
|
+
}));
|
|
11
|
+
r.displayName = "Card";
|
|
12
|
+
var i = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
13
|
+
ref: i,
|
|
14
|
+
className: e("flex flex-col space-y-1.5 p-6", t),
|
|
15
|
+
...r
|
|
16
|
+
}));
|
|
17
|
+
i.displayName = "CardHeader";
|
|
18
|
+
var a = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("h3", {
|
|
19
|
+
ref: i,
|
|
20
|
+
className: e("font-semibold leading-none tracking-tight text-foreground", t),
|
|
21
|
+
...r
|
|
22
|
+
}));
|
|
23
|
+
a.displayName = "CardTitle";
|
|
24
|
+
var o = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("p", {
|
|
25
|
+
ref: i,
|
|
26
|
+
className: e("text-xs text-muted-foreground", t),
|
|
27
|
+
...r
|
|
28
|
+
}));
|
|
29
|
+
o.displayName = "CardDescription";
|
|
30
|
+
var s = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
31
|
+
ref: i,
|
|
32
|
+
className: e("p-6 pt-0", t),
|
|
33
|
+
...r
|
|
34
|
+
}));
|
|
35
|
+
s.displayName = "CardContent";
|
|
36
|
+
var c = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
37
|
+
ref: i,
|
|
38
|
+
className: e("flex items-center p-6 pt-0", t),
|
|
39
|
+
...r
|
|
40
|
+
}));
|
|
41
|
+
c.displayName = "CardFooter";
|
|
42
|
+
//#endregion
|
|
43
|
+
export { r as Card, s as CardContent, o as CardDescription, c as CardFooter, i as CardHeader, a as CardTitle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("cn");var a=t.forwardRef(({className:e,...t},a)=>(0,n.jsx)(r.CheckboxGroup,{ref:a,className:(0,i.cn)(`flex flex-col gap-2.5`,e),...t}));a.displayName=`CheckboxGroup`,exports.CheckboxGroup=a;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import { CheckboxGroup as r } from "@base-ui/react";
|
|
6
|
+
//#region src/components/ui/checkbox-group.tsx
|
|
7
|
+
var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r, {
|
|
8
|
+
ref: a,
|
|
9
|
+
className: e("flex flex-col gap-2.5", t),
|
|
10
|
+
...i
|
|
11
|
+
}));
|
|
12
|
+
i.displayName = "CheckboxGroup";
|
|
13
|
+
//#endregion
|
|
14
|
+
export { i as CheckboxGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("@phosphor-icons/react"),a=require("cn");var o=t.forwardRef(({className:e,...t},o)=>(0,n.jsx)(r.Checkbox.Root,{ref:o,className:(0,a.cn)(`peer h-4 w-4 shrink-0 rounded-md border border-zinc-300 dark:border-zinc-700 bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-checked:bg-primary data-checked:border-primary data-checked:text-primary-foreground flex items-center justify-center cursor-pointer transition-all duration-150 ease-out active:scale-90`,e),...t,children:(0,n.jsx)(r.Checkbox.Indicator,{className:`flex items-center justify-center text-current transition-all duration-150 ease-out data-unchecked:scale-0 data-unchecked:opacity-0 data-checked:scale-100 data-checked:opacity-100`,children:(0,n.jsx)(i.Check,{weight:`bold`,className:`h-3 w-3`})})}));o.displayName=`Checkbox`,exports.Checkbox=o;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import { Checkbox as r } from "@base-ui/react";
|
|
6
|
+
import { Check as i } from "@phosphor-icons/react";
|
|
7
|
+
//#region src/components/ui/checkbox.tsx
|
|
8
|
+
var a = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(r.Root, {
|
|
9
|
+
ref: o,
|
|
10
|
+
className: e("peer h-4 w-4 shrink-0 rounded-md border border-zinc-300 dark:border-zinc-700 bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-checked:bg-primary data-checked:border-primary data-checked:text-primary-foreground flex items-center justify-center cursor-pointer transition-all duration-150 ease-out active:scale-90", t),
|
|
11
|
+
...a,
|
|
12
|
+
children: /* @__PURE__ */ n(r.Indicator, {
|
|
13
|
+
className: "flex items-center justify-center text-current transition-all duration-150 ease-out data-unchecked:scale-0 data-unchecked:opacity-0 data-checked:scale-100 data-checked:opacity-100",
|
|
14
|
+
children: /* @__PURE__ */ n(i, {
|
|
15
|
+
weight: "bold",
|
|
16
|
+
className: "h-3 w-3"
|
|
17
|
+
})
|
|
18
|
+
})
|
|
19
|
+
}));
|
|
20
|
+
a.displayName = "Checkbox";
|
|
21
|
+
//#endregion
|
|
22
|
+
export { a as Checkbox };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("cn");var a=r.Collapsible.Root,o=t.forwardRef(({className:e,...t},a)=>(0,n.jsx)(r.Collapsible.Trigger,{ref:a,className:(0,i.cn)(`group flex w-full items-center justify-between font-medium transition-all select-none cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50`,e),...t}));o.displayName=`CollapsibleTrigger`;var s=t.forwardRef(({className:e,...t},a)=>(0,n.jsx)(r.Collapsible.Panel,{ref:a,className:(0,i.cn)(`h-[var(--collapsible-panel-height)] overflow-hidden text-xs transition-[height] duration-200 ease-out data-starting-style:h-0 data-ending-style:h-0 [&[hidden]:not([hidden='until-found'])]:hidden`,e),...t}));s.displayName=`CollapsiblePanel`,exports.Collapsible=a,exports.CollapsiblePanel=s,exports.CollapsibleTrigger=o;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
5
|
+
import { Collapsible as r } from "@base-ui/react";
|
|
6
|
+
//#region src/components/ui/collapsible.tsx
|
|
7
|
+
var i = r.Root, a = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Trigger, {
|
|
8
|
+
ref: a,
|
|
9
|
+
className: e("group flex w-full items-center justify-between font-medium transition-all select-none cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", t),
|
|
10
|
+
...i
|
|
11
|
+
}));
|
|
12
|
+
a.displayName = "CollapsibleTrigger";
|
|
13
|
+
var o = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Panel, {
|
|
14
|
+
ref: a,
|
|
15
|
+
className: e("h-[var(--collapsible-panel-height)] overflow-hidden text-xs transition-[height] duration-200 ease-out data-starting-style:h-0 data-ending-style:h-0 [&[hidden]:not([hidden='until-found'])]:hidden", t),
|
|
16
|
+
...i
|
|
17
|
+
}));
|
|
18
|
+
o.displayName = "CollapsiblePanel";
|
|
19
|
+
//#endregion
|
|
20
|
+
export { i as Collapsible, o as CollapsiblePanel, a as CollapsibleTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("lucide-react"),a=require("cn");var o=r.ContextMenu.Root,s=r.ContextMenu.Trigger,c=r.ContextMenu.Portal,l=r.ContextMenu.Group,u=r.ContextMenu.SubmenuRoot,d=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.ContextMenu.Positioner,{ref:i,className:(0,a.cn)(`z-50 outline-none`,e),...t}));d.displayName=`ContextMenuPositioner`;var f=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.ContextMenu.Popup,{ref:i,className:(0,a.cn)(`z-50 min-w-[11rem] origin-[var(--transform-origin)] overflow-hidden rounded-xl border border-border bg-card p-1 text-foreground shadow-2xl transition-all duration-150 ease-out data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95`,e),...t}));f.displayName=`ContextMenuPopup`;var p=t.forwardRef(({className:e,inset:t,...i},o)=>(0,n.jsx)(r.ContextMenu.Item,{ref:o,className:(0,a.cn)(`relative flex cursor-pointer select-none items-center rounded-lg px-2.5 py-1.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50`,t&&`pl-8`,e),...i}));p.displayName=`ContextMenuItem`;var m=t.forwardRef(({className:e,children:t,...o},s)=>(0,n.jsxs)(r.ContextMenu.CheckboxItem,{ref:s,className:(0,a.cn)(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50`,e),...o,children:[(0,n.jsx)(`span`,{className:`absolute left-2.5 flex h-3.5 w-3.5 items-center justify-center`,children:(0,n.jsx)(r.ContextMenu.CheckboxItemIndicator,{children:(0,n.jsx)(i.Check,{className:`h-3 w-3`})})}),t]}));m.displayName=`ContextMenuCheckboxItem`;var h=r.ContextMenu.RadioGroup,g=t.forwardRef(({className:e,children:t,...i},o)=>(0,n.jsxs)(r.ContextMenu.RadioItem,{ref:o,className:(0,a.cn)(`relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50`,e),...i,children:[(0,n.jsx)(`span`,{className:`absolute left-2.5 flex h-3.5 w-3.5 items-center justify-center`,children:(0,n.jsx)(r.ContextMenu.RadioItemIndicator,{children:(0,n.jsx)(`div`,{className:`h-1.5 w-1.5 rounded-full bg-foreground`})})}),t]}));g.displayName=`ContextMenuRadioItem`;var _=t.forwardRef(({className:e,inset:t,children:r,...i},o)=>(0,n.jsx)(`div`,{ref:o,role:`presentation`,className:(0,a.cn)(`px-2.5 py-1 text-[11px] font-semibold text-muted-foreground select-none`,t&&`pl-8`,e),...i,children:r}));_.displayName=`ContextMenuGroupLabel`;var v=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.ContextMenu.Separator,{ref:i,className:(0,a.cn)(`-mx-1 my-1 h-px bg-border`,e),...t}));v.displayName=`ContextMenuSeparator`;var y=t.forwardRef(({className:e,inset:t,children:o,...s},c)=>(0,n.jsxs)(r.ContextMenu.SubmenuTrigger,{ref:c,className:(0,a.cn)(`flex cursor-pointer select-none items-center justify-between rounded-lg px-2.5 py-1.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50`,t&&`pl-8`,e),...s,children:[o,(0,n.jsx)(i.ChevronRight,{className:`ml-auto h-3.5 w-3.5`})]}));y.displayName=`ContextMenuSubmenuTrigger`,exports.ContextMenu=o,exports.ContextMenuCheckboxItem=m,exports.ContextMenuGroup=l,exports.ContextMenuGroupLabel=_,exports.ContextMenuItem=p,exports.ContextMenuPopup=f,exports.ContextMenuPortal=c,exports.ContextMenuPositioner=d,exports.ContextMenuRadioGroup=h,exports.ContextMenuRadioItem=g,exports.ContextMenuSeparator=v,exports.ContextMenuSubmenu=u,exports.ContextMenuSubmenuTrigger=y,exports.ContextMenuTrigger=s;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../../lib/utils.js";
|
|
3
|
+
import * as t from "react";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { ContextMenu as i } from "@base-ui/react";
|
|
6
|
+
import { Check as a, ChevronRight as o } from "lucide-react";
|
|
7
|
+
//#region src/components/ui/context-menu.tsx
|
|
8
|
+
var s = i.Root, c = i.Trigger, l = i.Portal, u = i.Group, d = i.SubmenuRoot, f = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Positioner, {
|
|
9
|
+
ref: a,
|
|
10
|
+
className: e("z-50 outline-none", t),
|
|
11
|
+
...r
|
|
12
|
+
}));
|
|
13
|
+
f.displayName = "ContextMenuPositioner";
|
|
14
|
+
var p = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Popup, {
|
|
15
|
+
ref: a,
|
|
16
|
+
className: e("z-50 min-w-[11rem] origin-[var(--transform-origin)] overflow-hidden rounded-xl border border-border bg-card p-1 text-foreground shadow-2xl transition-all duration-150 ease-out data-starting-style:opacity-0 data-starting-style:scale-95 data-ending-style:opacity-0 data-ending-style:scale-95", t),
|
|
17
|
+
...r
|
|
18
|
+
}));
|
|
19
|
+
p.displayName = "ContextMenuPopup";
|
|
20
|
+
var m = t.forwardRef(({ className: t, inset: r, ...a }, o) => /* @__PURE__ */ n(i.Item, {
|
|
21
|
+
ref: o,
|
|
22
|
+
className: e("relative flex cursor-pointer select-none items-center rounded-lg px-2.5 py-1.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50", r && "pl-8", t),
|
|
23
|
+
...a
|
|
24
|
+
}));
|
|
25
|
+
m.displayName = "ContextMenuItem";
|
|
26
|
+
var h = t.forwardRef(({ className: t, children: o, ...s }, c) => /* @__PURE__ */ r(i.CheckboxItem, {
|
|
27
|
+
ref: c,
|
|
28
|
+
className: e("relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50", t),
|
|
29
|
+
...s,
|
|
30
|
+
children: [/* @__PURE__ */ n("span", {
|
|
31
|
+
className: "absolute left-2.5 flex h-3.5 w-3.5 items-center justify-center",
|
|
32
|
+
children: /* @__PURE__ */ n(i.CheckboxItemIndicator, { children: /* @__PURE__ */ n(a, { className: "h-3 w-3" }) })
|
|
33
|
+
}), o]
|
|
34
|
+
}));
|
|
35
|
+
h.displayName = "ContextMenuCheckboxItem";
|
|
36
|
+
var g = i.RadioGroup, _ = t.forwardRef(({ className: t, children: a, ...o }, s) => /* @__PURE__ */ r(i.RadioItem, {
|
|
37
|
+
ref: s,
|
|
38
|
+
className: e("relative flex cursor-pointer select-none items-center rounded-lg py-1.5 pl-8 pr-2.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50", t),
|
|
39
|
+
...o,
|
|
40
|
+
children: [/* @__PURE__ */ n("span", {
|
|
41
|
+
className: "absolute left-2.5 flex h-3.5 w-3.5 items-center justify-center",
|
|
42
|
+
children: /* @__PURE__ */ n(i.RadioItemIndicator, { children: /* @__PURE__ */ n("div", { className: "h-1.5 w-1.5 rounded-full bg-foreground" }) })
|
|
43
|
+
}), a]
|
|
44
|
+
}));
|
|
45
|
+
_.displayName = "ContextMenuRadioItem";
|
|
46
|
+
var v = t.forwardRef(({ className: t, inset: r, children: i, ...a }, o) => /* @__PURE__ */ n("div", {
|
|
47
|
+
ref: o,
|
|
48
|
+
role: "presentation",
|
|
49
|
+
className: e("px-2.5 py-1 text-[11px] font-semibold text-muted-foreground select-none", r && "pl-8", t),
|
|
50
|
+
...a,
|
|
51
|
+
children: i
|
|
52
|
+
}));
|
|
53
|
+
v.displayName = "ContextMenuGroupLabel";
|
|
54
|
+
var y = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Separator, {
|
|
55
|
+
ref: a,
|
|
56
|
+
className: e("-mx-1 my-1 h-px bg-border", t),
|
|
57
|
+
...r
|
|
58
|
+
}));
|
|
59
|
+
y.displayName = "ContextMenuSeparator";
|
|
60
|
+
var b = t.forwardRef(({ className: t, inset: a, children: s, ...c }, l) => /* @__PURE__ */ r(i.SubmenuTrigger, {
|
|
61
|
+
ref: l,
|
|
62
|
+
className: e("flex cursor-pointer select-none items-center justify-between rounded-lg px-2.5 py-1.5 text-xs outline-none transition-colors hover:bg-muted focus:bg-muted data-highlighted:bg-muted data-disabled:pointer-events-none data-disabled:opacity-50", a && "pl-8", t),
|
|
63
|
+
...c,
|
|
64
|
+
children: [s, /* @__PURE__ */ n(o, { className: "ml-auto h-3.5 w-3.5" })]
|
|
65
|
+
}));
|
|
66
|
+
b.displayName = "ContextMenuSubmenuTrigger";
|
|
67
|
+
//#endregion
|
|
68
|
+
export { s as ContextMenu, h as ContextMenuCheckboxItem, u as ContextMenuGroup, v as ContextMenuGroupLabel, m as ContextMenuItem, p as ContextMenuPopup, l as ContextMenuPortal, f as ContextMenuPositioner, g as ContextMenuRadioGroup, _ as ContextMenuRadioItem, y as ContextMenuSeparator, d as ContextMenuSubmenu, b as ContextMenuSubmenuTrigger, c as ContextMenuTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../_virtual/_rolldown/runtime.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("@base-ui/react"),i=require("lucide-react"),a=require("cn");var o=r.Dialog.Root,s=r.Dialog.Trigger,c=r.Dialog.Portal,l=r.Dialog.Close,u=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.Dialog.Backdrop,{ref:i,className:(0,a.cn)(`fixed inset-0 z-50 bg-black/50 backdrop-blur-sm transition-opacity duration-200 ease-out data-starting-style:opacity-0 data-ending-style:opacity-0`,e),...t}));u.displayName=`DialogBackdrop`;var d=t.forwardRef(({className:e,children:t,...o},s)=>(0,n.jsxs)(c,{children:[(0,n.jsx)(u,{}),(0,n.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:(0,n.jsxs)(r.Dialog.Popup,{ref:s,className:(0,a.cn)(`relative w-full max-w-lg rounded-2xl border border-border bg-card p-6 shadow-2xl transition-all duration-200 ease-out data-starting-style:opacity-0 data-starting-style:scale-95 data-starting-style:translate-y-2 data-ending-style:opacity-0 data-ending-style:scale-95 data-ending-style:translate-y-2`,e),...o,children:[t,(0,n.jsxs)(r.Dialog.Close,{className:`absolute right-4 top-4 rounded-lg p-1 text-muted-foreground opacity-70 hover:opacity-100 hover:bg-muted focus:outline-none focus:ring-2 focus:ring-ring transition-all duration-150 active:scale-90 cursor-pointer`,children:[(0,n.jsx)(i.X,{className:`h-4 w-4`}),(0,n.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})})]}));d.displayName=`DialogPopup`;var f=({className:e,...t})=>(0,n.jsx)(`div`,{className:(0,a.cn)(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});f.displayName=`DialogHeader`;var p=({className:e,...t})=>(0,n.jsx)(`div`,{className:(0,a.cn)(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2 pt-4`,e),...t});p.displayName=`DialogFooter`;var m=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.Dialog.Title,{ref:i,className:(0,a.cn)(`text-lg font-semibold leading-none tracking-tight text-foreground`,e),...t}));m.displayName=`DialogTitle`;var h=t.forwardRef(({className:e,...t},i)=>(0,n.jsx)(r.Dialog.Description,{ref:i,className:(0,a.cn)(`text-sm text-muted-foreground mt-1.5`,e),...t}));h.displayName=`DialogDescription`,exports.Dialog=o,exports.DialogBackdrop=u,exports.DialogClose=l,exports.DialogDescription=h,exports.DialogFooter=p,exports.DialogHeader=f,exports.DialogPopup=d,exports.DialogPortal=c,exports.DialogTitle=m,exports.DialogTrigger=s;
|