@szum-tech/design-system 2.1.1 → 2.2.0
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/{chunk-5ENMEB5L.cjs → chunk-25X5IOB3.cjs} +6 -6
- package/dist/{chunk-LI7IHIOM.cjs → chunk-3DSBDIFJ.cjs} +6 -6
- package/dist/chunk-3PV6NLP5.js +31 -0
- package/dist/{chunk-KPB3CBHE.cjs → chunk-4NO6IM75.cjs} +2 -2
- package/dist/{chunk-5EN2HNFU.js → chunk-5MJPZUTO.js} +7 -19
- package/dist/{chunk-WTVBTZ3P.js → chunk-5PBHBOXI.js} +1 -1
- package/dist/{chunk-TD2KDWNP.js → chunk-5U55UIDY.js} +9 -16
- package/dist/chunk-6L3QPLRR.cjs +33 -0
- package/dist/{chunk-463KEXY6.cjs → chunk-6VVDXGYO.cjs} +16 -19
- package/dist/{chunk-VQMM75HD.cjs → chunk-6YLG3PWU.cjs} +9 -16
- package/dist/{chunk-IFBQNWVG.js → chunk-75T7KAAY.js} +7 -7
- package/dist/{chunk-AO4TMCYJ.js → chunk-CLBOIGDQ.js} +2 -2
- package/dist/{chunk-PB3EGVTV.cjs → chunk-CN3NQLTK.cjs} +5 -5
- package/dist/{chunk-HFHADY43.js → chunk-EU7G37IS.js} +2 -2
- package/dist/{chunk-XGA2F5GG.cjs → chunk-FPK72OV4.cjs} +7 -7
- package/dist/{chunk-LND2W67K.cjs → chunk-FVSO3RHT.cjs} +2 -3
- package/dist/{chunk-4YZSPNLW.cjs → chunk-GR37JJQK.cjs} +3 -3
- package/dist/{chunk-HXC3EALP.js → chunk-HJJPEVIH.js} +3 -3
- package/dist/{chunk-J56UDYA3.js → chunk-IV5F734M.js} +16 -19
- package/dist/{chunk-YXTTED5V.cjs → chunk-P4J2TTH7.cjs} +1 -1
- package/dist/{chunk-RF5YR553.cjs → chunk-Q2IKZZ3U.cjs} +1 -1
- package/dist/{chunk-QRSQCHBO.cjs → chunk-QQ7CBNSR.cjs} +14 -11
- package/dist/{chunk-J264N6AZ.js → chunk-RXYZURP4.js} +1 -1
- package/dist/{chunk-V4POHGAW.cjs → chunk-TMXVL5CV.cjs} +7 -19
- package/dist/{chunk-YHU2OW52.js → chunk-UW6GOD7J.js} +1 -1
- package/dist/{chunk-XPM62WMM.js → chunk-V5OVQTDR.js} +6 -6
- package/dist/{chunk-US32J7DK.js → chunk-VZKTT6CG.js} +2 -3
- package/dist/{chunk-HIWVHD4V.js → chunk-WIOOP3VE.js} +14 -11
- package/dist/{chunk-C5YRMEKV.js → chunk-XDTI4DFM.js} +6 -6
- package/dist/{chunk-VFRIU5CV.cjs → chunk-YWG7TML6.cjs} +1 -1
- package/dist/components/alert-dialog/index.cjs +10 -10
- package/dist/components/alert-dialog/index.d.cts +5 -5
- package/dist/components/alert-dialog/index.d.ts +5 -5
- package/dist/components/alert-dialog/index.js +1 -1
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.d.cts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/button/index.cjs +2 -2
- package/dist/components/button/index.d.cts +2 -2
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/index.cjs +8 -7
- package/dist/components/card/index.js +2 -1
- package/dist/components/dialog/index.cjs +10 -9
- package/dist/components/dialog/index.d.cts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +2 -1
- package/dist/components/form/index.cjs +23 -23
- package/dist/components/form/index.js +16 -16
- package/dist/components/header/index.cjs +2 -2
- package/dist/components/header/index.js +1 -1
- package/dist/components/helper-text/index.cjs +2 -2
- package/dist/components/helper-text/index.d.cts +2 -2
- package/dist/components/helper-text/index.d.ts +2 -2
- package/dist/components/helper-text/index.js +1 -1
- package/dist/components/index.cjs +68 -68
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +16 -16
- package/dist/components/input/index.cjs +2 -2
- package/dist/components/input/index.js +1 -1
- package/dist/components/label/index.cjs +3 -2
- package/dist/components/label/index.js +2 -1
- package/dist/components/select/index.cjs +4 -3
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.js +2 -1
- package/dist/components/separator/index.cjs +2 -2
- package/dist/components/separator/index.js +1 -1
- package/dist/components/sheet/index.cjs +10 -9
- package/dist/components/sheet/index.d.cts +2 -2
- package/dist/components/sheet/index.d.ts +2 -2
- package/dist/components/sheet/index.js +2 -1
- package/dist/components/textarea/index.cjs +2 -2
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/tooltip/index.cjs +3 -3
- package/dist/components/tooltip/index.d.cts +2 -4
- package/dist/components/tooltip/index.d.ts +2 -4
- package/dist/components/tooltip/index.js +1 -1
- package/package.json +15 -14
- package/tailwind/palette.css +131 -113
- package/dist/chunk-N7DXGCBJ.cjs +0 -31
- package/dist/chunk-UZBZFCWX.js +0 -29
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { cn } from './chunk-ZD2QRAOX.js';
|
|
1
2
|
import { Dialog as Dialog$1 } from 'radix-ui';
|
|
2
3
|
import { twMerge } from 'tailwind-merge';
|
|
3
4
|
import { Cross1Icon } from '@radix-ui/react-icons';
|
|
4
5
|
import { cva } from 'class-variance-authority';
|
|
5
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
7
|
|
|
7
|
-
// src/components/dialog/dialog.tsx
|
|
8
8
|
var Dialog = Dialog$1.Root;
|
|
9
9
|
var DialogClose = Dialog$1.Close;
|
|
10
10
|
var dialogContentStyles = cva(
|
|
11
11
|
[
|
|
12
|
-
"bg-foreground fixed left-1/2 top-1/2 z-50 flex w-full -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-
|
|
12
|
+
"bg-app-foreground fixed left-1/2 top-1/2 z-50 flex w-full -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-800 p-4 shadow-lg",
|
|
13
13
|
"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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] duration-200"
|
|
14
14
|
],
|
|
15
15
|
{
|
|
@@ -33,39 +33,36 @@ var dialogContentStyles = cva(
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
);
|
|
36
|
-
function DialogOverlay(props) {
|
|
37
|
-
return /* @__PURE__ */ jsx(
|
|
38
|
-
Dialog$1.Overlay,
|
|
39
|
-
{
|
|
40
|
-
className: "bg-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",
|
|
41
|
-
...props
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
36
|
function DialogContent({ className, children, width = "md", ...props }) {
|
|
46
37
|
return /* @__PURE__ */ jsxs(Dialog$1.Portal, { children: [
|
|
47
|
-
/* @__PURE__ */ jsx(
|
|
48
|
-
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
Dialog$1.Overlay,
|
|
40
|
+
{
|
|
41
|
+
className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",
|
|
42
|
+
...props
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
/* @__PURE__ */ jsxs(Dialog$1.Content, { "aria-modal": "true", className: twMerge(dialogContentStyles({ width }), className), ...props, children: [
|
|
49
46
|
children,
|
|
50
|
-
/* @__PURE__ */ jsxs(Dialog$1.Close, { className: "focus:ring-ring ring-primary-500 ring-offset-foreground data-[state=open]:bg-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", children: [
|
|
47
|
+
/* @__PURE__ */ jsxs(Dialog$1.Close, { className: "focus:ring-ring ring-primary-500 ring-offset-app-foreground data-[state=open]:bg-app-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none", children: [
|
|
51
48
|
/* @__PURE__ */ jsx(Cross1Icon, { className: "size-4" }),
|
|
52
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
49
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close dialog" })
|
|
53
50
|
] })
|
|
54
51
|
] })
|
|
55
52
|
] });
|
|
56
53
|
}
|
|
57
54
|
var DialogTrigger = Dialog$1.Trigger;
|
|
58
55
|
function DialogHeader({ className, ...props }) {
|
|
59
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
56
|
+
return /* @__PURE__ */ jsx("div", { className: cn("mb-4 flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
|
|
60
57
|
}
|
|
61
58
|
function DialogFooter({ className, ...props }) {
|
|
62
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
59
|
+
return /* @__PURE__ */ jsx("div", { className: cn("mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
|
|
63
60
|
}
|
|
64
61
|
function DialogTitle({ className, ...props }) {
|
|
65
|
-
return /* @__PURE__ */ jsx(Dialog$1.Title, { className:
|
|
62
|
+
return /* @__PURE__ */ jsx(Dialog$1.Title, { className: cn("text-heading-6", className), ...props });
|
|
66
63
|
}
|
|
67
64
|
function DialogDescription({ className, ...props }) {
|
|
68
|
-
return /* @__PURE__ */ jsx(Dialog$1.Description, { className:
|
|
65
|
+
return /* @__PURE__ */ jsx(Dialog$1.Description, { className: cn("text-body-2 text-gray-300", className), ...props });
|
|
69
66
|
}
|
|
70
67
|
|
|
71
68
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger };
|
|
@@ -8,7 +8,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
8
8
|
var helperTextCva = classVarianceAuthority.cva("", {
|
|
9
9
|
variants: {
|
|
10
10
|
type: {
|
|
11
|
-
description: "text-body-2 text-gray-
|
|
11
|
+
description: "text-body-2 text-gray-300",
|
|
12
12
|
error: "text-caption text-error-500"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
@@ -12,7 +12,7 @@ function Separator({ className, orientation = "horizontal", decorative = false,
|
|
|
12
12
|
orientation,
|
|
13
13
|
"aria-orientation": orientation,
|
|
14
14
|
className: chunkH2BWO3SI_cjs.cn(
|
|
15
|
-
"shrink-0 bg-gray-
|
|
15
|
+
"shrink-0 bg-gray-800",
|
|
16
16
|
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
17
17
|
className
|
|
18
18
|
),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var chunkH2BWO3SI_cjs = require('./chunk-H2BWO3SI.cjs');
|
|
3
4
|
var radixUi = require('radix-ui');
|
|
4
5
|
var reactIcons = require('@radix-ui/react-icons');
|
|
5
6
|
var classVarianceAuthority = require('class-variance-authority');
|
|
6
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
8
|
|
|
8
|
-
// src/components/select/select.tsx
|
|
9
9
|
var selectCva = classVarianceAuthority.cva(
|
|
10
10
|
[
|
|
11
|
-
"bg-app-foreground text-body-2 inline-flex h-10 w-full
|
|
12
|
-
"placeholder:select-none placeholder:text-gray-
|
|
13
|
-
"invalid:border-error-500 focus:border-primary-
|
|
14
|
-
"disabled:border-gray-
|
|
11
|
+
"bg-app-foreground font-poppins text-body-2 inline-flex h-10 w-full items-center justify-between gap-2 border pl-3 pr-1.5 py-2 outline-0 transition-colors duration-300 ease-in-out [&>span]:line-clamp-1",
|
|
12
|
+
"data-[placeholder]:select-none data-[placeholder]:text-gray-400",
|
|
13
|
+
"invalid:border-error-500 focus:border-primary-500 active:border-primary-500",
|
|
14
|
+
"disabled:border-gray-800 disabled:text-gray-300 disabled:[&>svg]:text-gray-300 disabled:placeholder:text-gray-600 disabled:cursor-not-allowed"
|
|
15
15
|
],
|
|
16
16
|
{
|
|
17
17
|
variants: {
|
|
18
18
|
invalid: {
|
|
19
19
|
true: ["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],
|
|
20
|
-
false: ["border-gray-
|
|
20
|
+
false: ["border-gray-600 hover:border-primary-600 text-gray-100"]
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
defaultVariants: {
|
|
@@ -28,25 +28,28 @@ var selectCva = classVarianceAuthority.cva(
|
|
|
28
28
|
function Select({ children, placeholder, invalid = false, ref, ...props }) {
|
|
29
29
|
const selectStyles = selectCva({ invalid });
|
|
30
30
|
return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.Select.Root, { ...props, children: [
|
|
31
|
-
/* @__PURE__ */ jsxRuntime.jsxs(radixUi.Select.Trigger, { className: selectStyles, ref, children: [
|
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsxs(radixUi.Select.Trigger, { className: selectStyles, ref, "aria-invalid": invalid || void 0, children: [
|
|
32
32
|
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Value, { placeholder }),
|
|
33
|
-
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Icon, {
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Icon, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(reactIcons.CaretSortIcon, { className: "size-5 text-gray-100" }) })
|
|
34
34
|
] }),
|
|
35
35
|
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36
36
|
radixUi.Select.Content,
|
|
37
37
|
{
|
|
38
38
|
sideOffset: 4,
|
|
39
|
-
className: "bg-app-foreground z-50 w-full overflow-hidden border border-gray-
|
|
39
|
+
className: "bg-app-foreground z-50 w-full overflow-hidden border border-gray-800 py-1",
|
|
40
40
|
children: /* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.Viewport, { children })
|
|
41
41
|
}
|
|
42
42
|
) })
|
|
43
43
|
] });
|
|
44
44
|
}
|
|
45
|
-
function SelectItem({ children, ...props }) {
|
|
45
|
+
function SelectItem({ children, className, ...props }) {
|
|
46
46
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
47
47
|
radixUi.Select.Item,
|
|
48
48
|
{
|
|
49
|
-
className:
|
|
49
|
+
className: chunkH2BWO3SI_cjs.cn(
|
|
50
|
+
"text-body-2 data-[state=checked]:bg-primary-500 data-[state=checked]:text-app-foreground flex w-full flex-row items-center justify-between px-3 py-2 text-gray-100 select-none data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-900 data-[highlighted]:outline-none data-[state=checked]:outline-none",
|
|
51
|
+
className
|
|
52
|
+
),
|
|
50
53
|
...props,
|
|
51
54
|
children: [
|
|
52
55
|
/* @__PURE__ */ jsxRuntime.jsx(radixUi.Select.ItemText, { className: "flex-1", children }),
|
|
@@ -10,7 +10,7 @@ function Separator({ className, orientation = "horizontal", decorative = false,
|
|
|
10
10
|
orientation,
|
|
11
11
|
"aria-orientation": orientation,
|
|
12
12
|
className: cn(
|
|
13
|
-
"shrink-0 bg-gray-
|
|
13
|
+
"shrink-0 bg-gray-800",
|
|
14
14
|
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
15
15
|
className
|
|
16
16
|
),
|
|
@@ -7,26 +7,14 @@ var tailwindMerge = require('tailwind-merge');
|
|
|
7
7
|
|
|
8
8
|
var AlertDialog = radixUi.AlertDialog.Root;
|
|
9
9
|
var AlertDialogTrigger = radixUi.AlertDialog.Trigger;
|
|
10
|
-
function AlertDialogOverlay({ className, ...props }) {
|
|
11
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
-
radixUi.AlertDialog.Overlay,
|
|
13
|
-
{
|
|
14
|
-
className: chunkH2BWO3SI_cjs.cn(
|
|
15
|
-
"bg-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs",
|
|
16
|
-
className
|
|
17
|
-
),
|
|
18
|
-
...props
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
10
|
function AlertDialogContent({ className, ...props }) {
|
|
23
11
|
return /* @__PURE__ */ jsxRuntime.jsxs(radixUi.AlertDialog.Portal, { children: [
|
|
24
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
+
/* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Overlay, { className: "bg-app-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 backdrop-blur-xs" }),
|
|
25
13
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26
14
|
radixUi.AlertDialog.Content,
|
|
27
15
|
{
|
|
28
16
|
className: chunkH2BWO3SI_cjs.cn(
|
|
29
|
-
"bg-foreground 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-1/2 left-1/2 z-50 flex w-full max-w-lg -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-
|
|
17
|
+
"bg-app-foreground 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-1/2 left-1/2 z-50 flex w-full max-w-lg -translate-x-1/2 -translate-y-1/2 flex-col rounded border border-gray-800 p-4 shadow-lg duration-200",
|
|
30
18
|
className
|
|
31
19
|
),
|
|
32
20
|
...props
|
|
@@ -34,9 +22,7 @@ function AlertDialogContent({ className, ...props }) {
|
|
|
34
22
|
)
|
|
35
23
|
] });
|
|
36
24
|
}
|
|
37
|
-
|
|
38
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: tailwindMerge.twMerge("mb-4 flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|
|
39
|
-
}
|
|
25
|
+
var AlertDialogAction = radixUi.AlertDialog.Action;
|
|
40
26
|
function AlertDialogFooter({ className, ...props }) {
|
|
41
27
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: tailwindMerge.twMerge("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
|
|
42
28
|
}
|
|
@@ -44,10 +30,12 @@ function AlertDialogTitle({ className, ref, ...props }) {
|
|
|
44
30
|
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Title, { ref, className: chunkH2BWO3SI_cjs.cn("text-heading-6", className), ...props });
|
|
45
31
|
}
|
|
46
32
|
function AlertDialogDescription({ className, ...props }) {
|
|
47
|
-
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Description, { className: chunkH2BWO3SI_cjs.cn("text-body-2 text-gray-
|
|
33
|
+
return /* @__PURE__ */ jsxRuntime.jsx(radixUi.AlertDialog.Description, { className: chunkH2BWO3SI_cjs.cn("text-body-2 text-gray-300", className), ...props });
|
|
48
34
|
}
|
|
49
|
-
var AlertDialogAction = radixUi.AlertDialog.Action;
|
|
50
35
|
var AlertDialogCancel = radixUi.AlertDialog.Cancel;
|
|
36
|
+
function AlertDialogHeader({ className, ...props }) {
|
|
37
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkH2BWO3SI_cjs.cn("mb-4 flex flex-col space-y-2 text-center sm:text-left", className), ...props });
|
|
38
|
+
}
|
|
51
39
|
|
|
52
40
|
exports.AlertDialog = AlertDialog;
|
|
53
41
|
exports.AlertDialogAction = AlertDialogAction;
|
|
@@ -5,7 +5,7 @@ function Header({ children, ...props }) {
|
|
|
5
5
|
return /* @__PURE__ */ jsx(
|
|
6
6
|
"header",
|
|
7
7
|
{
|
|
8
|
-
className: "bg-foreground/95 supports-[backdrop-filter]:bg-foreground/60 sticky top-0 z-50 w-full border-b border-gray-
|
|
8
|
+
className: "bg-app-foreground/95 supports-[backdrop-filter]:bg-app-foreground/60 sticky top-0 z-50 w-full border-b border-gray-800 backdrop-blur",
|
|
9
9
|
...props,
|
|
10
10
|
children: /* @__PURE__ */ jsx("div", { className: "container flex h-16 items-center", children })
|
|
11
11
|
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import { cn } from './chunk-ZD2QRAOX.js';
|
|
1
2
|
import { twMerge } from 'tailwind-merge';
|
|
2
3
|
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
|
-
// src/components/card/card.tsx
|
|
5
5
|
function Card({ className, ...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsx("div", { className: twMerge("bg-app-foreground h-full rounded border border-gray-
|
|
6
|
+
return /* @__PURE__ */ jsx("div", { className: twMerge("bg-app-foreground h-full rounded border border-gray-800", className), ...props });
|
|
7
7
|
}
|
|
8
8
|
function CardHeader({ className, ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
9
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex flex-col p-6", className), ...props });
|
|
10
10
|
}
|
|
11
11
|
function CardTitle({ className, ...props }) {
|
|
12
12
|
return /* @__PURE__ */ jsx("h3", { className: twMerge("text-heading-5", className), ...props });
|
|
13
13
|
}
|
|
14
14
|
function CardDescription({ className, ...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx("p", { className:
|
|
15
|
+
return /* @__PURE__ */ jsx("p", { className: cn("text-body-2 text-gray-300", className), ...props });
|
|
16
16
|
}
|
|
17
17
|
function CardContent({ className, ...props }) {
|
|
18
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
18
|
+
return /* @__PURE__ */ jsx("div", { className: cn("p-6 pt-0", className), ...props });
|
|
19
19
|
}
|
|
20
20
|
function CardFooter({ className, ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
21
|
+
return /* @__PURE__ */ jsx("div", { className: cn("flex items-center p-6 pt-0", className), ...props });
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { cn } from './chunk-ZD2QRAOX.js';
|
|
1
2
|
import { Label as Label$1 } from 'radix-ui';
|
|
2
|
-
import { twMerge } from 'tailwind-merge';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
-
// src/components/label/label.tsx
|
|
6
5
|
function Label({ className, ...props }) {
|
|
7
6
|
return /* @__PURE__ */ jsx(
|
|
8
7
|
Label$1.Root,
|
|
9
8
|
{
|
|
10
|
-
className:
|
|
9
|
+
className: cn("text-subtitle-1 peer-disabled:cursor-not-allowed peer-disabled:opacity-70", className),
|
|
11
10
|
...props
|
|
12
11
|
}
|
|
13
12
|
);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import { cn } from './chunk-ZD2QRAOX.js';
|
|
1
2
|
import { Select as Select$1 } from 'radix-ui';
|
|
2
3
|
import { CaretSortIcon, CheckIcon } from '@radix-ui/react-icons';
|
|
3
4
|
import { cva } from 'class-variance-authority';
|
|
4
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
6
|
|
|
6
|
-
// src/components/select/select.tsx
|
|
7
7
|
var selectCva = cva(
|
|
8
8
|
[
|
|
9
|
-
"bg-app-foreground text-body-2 inline-flex h-10 w-full
|
|
10
|
-
"placeholder:select-none placeholder:text-gray-
|
|
11
|
-
"invalid:border-error-500 focus:border-primary-
|
|
12
|
-
"disabled:border-gray-
|
|
9
|
+
"bg-app-foreground font-poppins text-body-2 inline-flex h-10 w-full items-center justify-between gap-2 border pl-3 pr-1.5 py-2 outline-0 transition-colors duration-300 ease-in-out [&>span]:line-clamp-1",
|
|
10
|
+
"data-[placeholder]:select-none data-[placeholder]:text-gray-400",
|
|
11
|
+
"invalid:border-error-500 focus:border-primary-500 active:border-primary-500",
|
|
12
|
+
"disabled:border-gray-800 disabled:text-gray-300 disabled:[&>svg]:text-gray-300 disabled:placeholder:text-gray-600 disabled:cursor-not-allowed"
|
|
13
13
|
],
|
|
14
14
|
{
|
|
15
15
|
variants: {
|
|
16
16
|
invalid: {
|
|
17
17
|
true: ["text-error-500 border-error-500 hover:border-error-400 focus:text-gray-100"],
|
|
18
|
-
false: ["border-gray-
|
|
18
|
+
false: ["border-gray-600 hover:border-primary-600 text-gray-100"]
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
defaultVariants: {
|
|
@@ -26,25 +26,28 @@ var selectCva = cva(
|
|
|
26
26
|
function Select({ children, placeholder, invalid = false, ref, ...props }) {
|
|
27
27
|
const selectStyles = selectCva({ invalid });
|
|
28
28
|
return /* @__PURE__ */ jsxs(Select$1.Root, { ...props, children: [
|
|
29
|
-
/* @__PURE__ */ jsxs(Select$1.Trigger, { className: selectStyles, ref, children: [
|
|
29
|
+
/* @__PURE__ */ jsxs(Select$1.Trigger, { className: selectStyles, ref, "aria-invalid": invalid || void 0, children: [
|
|
30
30
|
/* @__PURE__ */ jsx(Select$1.Value, { placeholder }),
|
|
31
|
-
/* @__PURE__ */ jsx(Select$1.Icon, {
|
|
31
|
+
/* @__PURE__ */ jsx(Select$1.Icon, { asChild: true, children: /* @__PURE__ */ jsx(CaretSortIcon, { className: "size-5 text-gray-100" }) })
|
|
32
32
|
] }),
|
|
33
33
|
/* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
34
34
|
Select$1.Content,
|
|
35
35
|
{
|
|
36
36
|
sideOffset: 4,
|
|
37
|
-
className: "bg-app-foreground z-50 w-full overflow-hidden border border-gray-
|
|
37
|
+
className: "bg-app-foreground z-50 w-full overflow-hidden border border-gray-800 py-1",
|
|
38
38
|
children: /* @__PURE__ */ jsx(Select$1.Viewport, { children })
|
|
39
39
|
}
|
|
40
40
|
) })
|
|
41
41
|
] });
|
|
42
42
|
}
|
|
43
|
-
function SelectItem({ children, ...props }) {
|
|
43
|
+
function SelectItem({ children, className, ...props }) {
|
|
44
44
|
return /* @__PURE__ */ jsxs(
|
|
45
45
|
Select$1.Item,
|
|
46
46
|
{
|
|
47
|
-
className:
|
|
47
|
+
className: cn(
|
|
48
|
+
"text-body-2 data-[state=checked]:bg-primary-500 data-[state=checked]:text-app-foreground flex w-full flex-row items-center justify-between px-3 py-2 text-gray-100 select-none data-[disabled]:pointer-events-none data-[highlighted]:bg-gray-900 data-[highlighted]:outline-none data-[state=checked]:outline-none",
|
|
49
|
+
className
|
|
50
|
+
),
|
|
48
51
|
...props,
|
|
49
52
|
children: [
|
|
50
53
|
/* @__PURE__ */ jsx(Select$1.ItemText, { className: "flex-1", children }),
|
|
@@ -40,8 +40,8 @@ var buttonCva = cva(
|
|
|
40
40
|
color: "neutral",
|
|
41
41
|
class: [
|
|
42
42
|
"text-gray-100",
|
|
43
|
-
"hover:border-gray-
|
|
44
|
-
"active:border-gray-
|
|
43
|
+
"hover:border-gray-500 hover:bg-gray-500 hover:text-app-foreground",
|
|
44
|
+
"active:border-gray-600 active:bg-gray-600"
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
{
|
|
@@ -84,7 +84,7 @@ var buttonCva = cva(
|
|
|
84
84
|
{
|
|
85
85
|
variant: "outlined",
|
|
86
86
|
color: "neutral",
|
|
87
|
-
class: ["border-gray-
|
|
87
|
+
class: ["border-gray-500 text-gray-100", "hover:bg-gray-500 hover:text-app-foreground", "active:bg-gray-600"]
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
variant: "outlined",
|
|
@@ -127,9 +127,9 @@ var buttonCva = cva(
|
|
|
127
127
|
variant: "contained",
|
|
128
128
|
color: "neutral",
|
|
129
129
|
class: [
|
|
130
|
-
"border-gray-
|
|
131
|
-
"hover:border-gray-
|
|
132
|
-
"active:border-gray-
|
|
130
|
+
"border-gray-500 bg-gray-500 text-gray-100",
|
|
131
|
+
"hover:border-gray-400 hover:bg-gray-400 hover:text-app-foreground",
|
|
132
|
+
"active:border-gray-600 active:bg-gray-600"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
135
|
{
|
|
@@ -7,7 +7,7 @@ function Header({ children, ...props }) {
|
|
|
7
7
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8
8
|
"header",
|
|
9
9
|
{
|
|
10
|
-
className: "bg-foreground/95 supports-[backdrop-filter]:bg-foreground/60 sticky top-0 z-50 w-full border-b border-gray-
|
|
10
|
+
className: "bg-app-foreground/95 supports-[backdrop-filter]:bg-app-foreground/60 sticky top-0 z-50 w-full border-b border-gray-800 backdrop-blur",
|
|
11
11
|
...props,
|
|
12
12
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container flex h-16 items-center", children })
|
|
13
13
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTMXVL5CV_cjs = require('../../chunk-TMXVL5CV.cjs');
|
|
4
4
|
require('../../chunk-H2BWO3SI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AlertDialog", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialog; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AlertDialogAction", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogAction; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "AlertDialogCancel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogCancel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "AlertDialogContent", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogContent; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "AlertDialogDescription", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogDescription; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "AlertDialogFooter", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogFooter; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "AlertDialogHeader", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogHeader; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "AlertDialogTitle", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogTitle; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "AlertDialogTrigger", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkTMXVL5CV_cjs.AlertDialogTrigger; }
|
|
43
43
|
});
|
|
@@ -11,8 +11,8 @@ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog$1.
|
|
|
11
11
|
type AlertDialogContentProps = React.ComponentProps<typeof AlertDialog$1.Content>;
|
|
12
12
|
declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): react_jsx_runtime.JSX.Element;
|
|
13
13
|
|
|
14
|
-
type
|
|
15
|
-
declare
|
|
14
|
+
type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
|
|
15
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
|
|
17
17
|
type AlertDialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
18
18
|
declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
@@ -23,10 +23,10 @@ declare function AlertDialogTitle({ className, ref, ...props }: AlertDialogTitle
|
|
|
23
23
|
type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
|
|
24
24
|
declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
|
|
26
|
-
type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
|
|
27
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
|
|
29
26
|
type AlertDialogCancelProps = AlertDialog$1.AlertDialogCancelProps;
|
|
30
27
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
28
|
|
|
29
|
+
type AlertDialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
30
|
+
declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
32
|
export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps };
|
|
@@ -11,8 +11,8 @@ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialog$1.
|
|
|
11
11
|
type AlertDialogContentProps = React.ComponentProps<typeof AlertDialog$1.Content>;
|
|
12
12
|
declare function AlertDialogContent({ className, ...props }: AlertDialogContentProps): react_jsx_runtime.JSX.Element;
|
|
13
13
|
|
|
14
|
-
type
|
|
15
|
-
declare
|
|
14
|
+
type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
|
|
15
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
|
|
17
17
|
type AlertDialogFooterProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
18
18
|
declare function AlertDialogFooter({ className, ...props }: AlertDialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
@@ -23,10 +23,10 @@ declare function AlertDialogTitle({ className, ref, ...props }: AlertDialogTitle
|
|
|
23
23
|
type AlertDialogDescriptionProps = React.ComponentProps<typeof AlertDialog$1.Description>;
|
|
24
24
|
declare function AlertDialogDescription({ className, ...props }: AlertDialogDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
25
25
|
|
|
26
|
-
type AlertDialogActionProps = AlertDialog$1.AlertDialogActionProps;
|
|
27
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
|
|
29
26
|
type AlertDialogCancelProps = AlertDialog$1.AlertDialogCancelProps;
|
|
30
27
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<AlertDialog$1.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
28
|
|
|
29
|
+
type AlertDialogHeaderProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
30
|
+
declare function AlertDialogHeader({ className, ...props }: AlertDialogHeaderProps): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
32
|
export { AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-
|
|
1
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '../../chunk-5MJPZUTO.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4NO6IM75_cjs = require('../../chunk-4NO6IM75.cjs');
|
|
4
4
|
require('../../chunk-H2BWO3SI.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Avatar", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk4NO6IM75_cjs.Avatar; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk4NO6IM75_cjs.AvatarFallback; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "AvatarImage", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk4NO6IM75_cjs.AvatarImage; }
|
|
19
19
|
});
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Avatar as Avatar$1 } from 'radix-ui';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
|
|
7
7
|
type AvatarProps = Avatar$1.AvatarProps & React.RefAttributes<HTMLSpanElement> & {
|
|
8
8
|
/**
|
|
@@ -14,7 +14,7 @@ declare function Avatar({ className, size, ref, ...props }: AvatarProps): react_
|
|
|
14
14
|
|
|
15
15
|
declare const avatarCva: (props?: ({
|
|
16
16
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
-
} &
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
18
|
|
|
19
19
|
type AvatarCvaProps = VariantProps<typeof avatarCva>;
|
|
20
20
|
type AvatarSizeType = NonNullable<AvatarCvaProps["size"]>;
|
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Avatar as Avatar$1 } from 'radix-ui';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
|
|
7
7
|
type AvatarProps = Avatar$1.AvatarProps & React.RefAttributes<HTMLSpanElement> & {
|
|
8
8
|
/**
|
|
@@ -14,7 +14,7 @@ declare function Avatar({ className, size, ref, ...props }: AvatarProps): react_
|
|
|
14
14
|
|
|
15
15
|
declare const avatarCva: (props?: ({
|
|
16
16
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
17
|
-
} &
|
|
17
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
18
|
|
|
19
19
|
type AvatarCvaProps = VariantProps<typeof avatarCva>;
|
|
20
20
|
type AvatarSizeType = NonNullable<AvatarCvaProps["size"]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-
|
|
1
|
+
export { Avatar, AvatarFallback, AvatarImage } from '../../chunk-EU7G37IS.js';
|
|
2
2
|
import '../../chunk-ZD2QRAOX.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk25X5IOB3_cjs = require('../../chunk-25X5IOB3.cjs');
|
|
4
4
|
require('../../chunk-TSN5DAKH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Button", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk25X5IOB3_cjs.Button; }
|
|
11
11
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
/**
|
|
@@ -54,7 +54,7 @@ declare const buttonCva: (props?: ({
|
|
|
54
54
|
color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
variant?: "text" | "outlined" | "contained" | null | undefined;
|
|
57
|
-
} &
|
|
57
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
58
|
|
|
59
59
|
type ButtonCvaProps = VariantProps<typeof buttonCva>;
|
|
60
60
|
type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
|
|
6
6
|
type Props = {
|
|
7
7
|
/**
|
|
@@ -54,7 +54,7 @@ declare const buttonCva: (props?: ({
|
|
|
54
54
|
color?: "neutral" | "primary" | "success" | "warning" | "error" | null | undefined;
|
|
55
55
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
56
56
|
variant?: "text" | "outlined" | "contained" | null | undefined;
|
|
57
|
-
} &
|
|
57
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
58
58
|
|
|
59
59
|
type ButtonCvaProps = VariantProps<typeof buttonCva>;
|
|
60
60
|
type ButtonSizeType = NonNullable<ButtonCvaProps["size"]>;
|