fina-react-ds 1.0.25 → 1.0.27

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.
@@ -1,9 +1,9 @@
1
- var i = Object.defineProperty;
2
- var e = (t, a) => i(t, "name", { value: a, configurable: !0 });
3
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
1
+ var s = Object.defineProperty;
2
+ var e = (t, a) => s(t, "name", { value: a, configurable: !0 });
3
+ import { jsx as o, jsxs as d } from "react/jsx-runtime";
4
4
  import { AlertDialog as l } from "radix-ui";
5
5
  import { cn as r } from "../lib/utils.js";
6
- import { buttonVariants as c } from "./button.js";
6
+ import { buttonVariants as i } from "./button.js";
7
7
  function A({
8
8
  ...t
9
9
  }) {
@@ -16,13 +16,13 @@ function D({
16
16
  return /* @__PURE__ */ o(l.Trigger, { "data-slot": "alert-dialog-trigger", ...t });
17
17
  }
18
18
  e(D, "AlertDialogTrigger");
19
- function s({
19
+ function c({
20
20
  ...t
21
21
  }) {
22
22
  return /* @__PURE__ */ o(l.Portal, { "data-slot": "alert-dialog-portal", ...t });
23
23
  }
24
- e(s, "AlertDialogPortal");
25
- function d({
24
+ e(c, "AlertDialogPortal");
25
+ function g({
26
26
  className: t,
27
27
  ...a
28
28
  }) {
@@ -31,26 +31,26 @@ function d({
31
31
  {
32
32
  "data-slot": "alert-dialog-overlay",
33
33
  className: r(
34
- "fc:data-[state=open]:animate-in fc:data-[state=closed]:animate-out fc:data-[state=closed]:fade-out-0 fc:data-[state=open]:fade-in-0 fc:fixed fc:inset-0 fc:z-50 fc:bg-black/50",
34
+ "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 bg-black/50",
35
35
  t
36
36
  ),
37
37
  ...a
38
38
  }
39
39
  );
40
40
  }
41
- e(d, "AlertDialogOverlay");
41
+ e(g, "AlertDialogOverlay");
42
42
  function N({
43
43
  className: t,
44
44
  ...a
45
45
  }) {
46
- return /* @__PURE__ */ n(s, { children: [
47
- /* @__PURE__ */ o(d, {}),
46
+ return /* @__PURE__ */ d(c, { children: [
47
+ /* @__PURE__ */ o(g, {}),
48
48
  /* @__PURE__ */ o(
49
49
  l.Content,
50
50
  {
51
51
  "data-slot": "alert-dialog-content",
52
52
  className: r(
53
- "fc:bg-card fc:data-[state=open]:animate-in fc:data-[state=closed]:animate-out fc:data-[state=closed]:fade-out-0 fc:data-[state=open]:fade-in-0 fc:data-[state=closed]:zoom-out-95 fc:data-[state=open]:zoom-in-95 fc:fixed fc:top-[50%] fc:left-[50%] fc:z-50 fc:grid fc:w-full fc:max-w-[calc(100%-2rem)] fc:translate-x-[-50%] fc:translate-y-[-50%] fc:gap-4 fc:rounded-lg fc:border fc:p-6 fc:shadow-lg fc:duration-200 fc:sm:max-w-lg",
53
+ "bg-card 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
54
54
  t
55
55
  ),
56
56
  ...a
@@ -68,7 +68,7 @@ function v({
68
68
  {
69
69
  "data-slot": "alert-dialog-header",
70
70
  className: r(
71
- "fc:flex fc:flex-col fc:gap-2 fc:text-center fc:sm:text-left",
71
+ "flex flex-col gap-2 text-center sm:text-left",
72
72
  t
73
73
  ),
74
74
  ...a
@@ -85,7 +85,7 @@ function b({
85
85
  {
86
86
  "data-slot": "alert-dialog-footer",
87
87
  className: r(
88
- "fc:flex fc:flex-col-reverse fc:gap-2 fc:sm:flex-row fc:sm:justify-end",
88
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
89
89
  t
90
90
  ),
91
91
  ...a
@@ -101,7 +101,7 @@ function y({
101
101
  l.Title,
102
102
  {
103
103
  "data-slot": "alert-dialog-title",
104
- className: r("fc:text-lg fc:font-semibold", t),
104
+ className: r("text-lg font-semibold", t),
105
105
  ...a
106
106
  }
107
107
  );
@@ -115,7 +115,7 @@ function w({
115
115
  l.Description,
116
116
  {
117
117
  "data-slot": "alert-dialog-description",
118
- className: r("fc:text-muted fc:text-sm", t),
118
+ className: r("text-muted text-sm", t),
119
119
  ...a
120
120
  }
121
121
  );
@@ -124,13 +124,13 @@ e(w, "AlertDialogDescription");
124
124
  function h({
125
125
  color: t = "primary",
126
126
  className: a,
127
- ...f
127
+ ...n
128
128
  }) {
129
129
  return /* @__PURE__ */ o(
130
130
  l.Action,
131
131
  {
132
- className: r(c({ color: t }), a),
133
- ...f
132
+ className: r(i({ color: t }), a),
133
+ ...n
134
134
  }
135
135
  );
136
136
  }
@@ -143,7 +143,7 @@ function z({
143
143
  l.Cancel,
144
144
  {
145
145
  className: r(
146
- c({ variant: "ghost", color: "dark" }),
146
+ i({ variant: "ghost", color: "dark" }),
147
147
  t
148
148
  ),
149
149
  ...a
@@ -159,8 +159,8 @@ export {
159
159
  w as AlertDialogDescription,
160
160
  b as AlertDialogFooter,
161
161
  v as AlertDialogHeader,
162
- d as AlertDialogOverlay,
163
- s as AlertDialogPortal,
162
+ g as AlertDialogOverlay,
163
+ c as AlertDialogPortal,
164
164
  y as AlertDialogTitle,
165
165
  D as AlertDialogTrigger
166
166
  };
@@ -1,17 +1,17 @@
1
- var o = Object.defineProperty;
2
- var c = (t, r) => o(t, "name", { value: r, configurable: !0 });
3
- import { jsx as e } from "react/jsx-runtime";
4
- import { cva as s } from "class-variance-authority";
5
- import { cn as f } from "../lib/utils.js";
6
- const g = s(
7
- "fc:relative fc:w-full fc:rounded-lg fc:border fc:px-4 fc:py-3 fc:text-sm fc:grid fc:has-[>svg]:grid-cols-[calc(var(--fc-spacing)*4)_1fr] fc:grid-cols-[0_1fr] fc:has-[>svg]:gap-x-3 fc:gap-y-0.5 fc:items-start fc:[&>svg]:size-4 fc:[&>svg]:translate-y-0.5 fc:[&>svg]:text-current",
1
+ var g = Object.defineProperty;
2
+ var e = (t, r) => g(t, "name", { value: r, configurable: !0 });
3
+ import { jsx as i } from "react/jsx-runtime";
4
+ import { cva as n } from "class-variance-authority";
5
+ import { cn as o } from "../lib/utils.js";
6
+ const a = n(
7
+ "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
8
8
  {
9
9
  variants: {
10
10
  variant: {
11
- info: "fc:bg-info-light fc:*:data-[slot=alert-description]:text-info-light-foreground fc:text-info-light-foreground fc:border-info-light-foreground/20 fc:[&>svg]:text-info-light-foreground",
12
- warning: "fc:bg-warning-light fc:text-warning-light-foreground fc:border-warning-light-foreground/20 fc:[&>svg]:text-warning-light-foreground",
13
- success: "fc:bg-success-light fc:text-success-light-foreground fc:border-success-light-foreground/20 fc:[&>svg]:text-success-light-foreground",
14
- destructive: "fc:bg-destructive-light fc:text-destructive-light-foreground fc:border-destructive-light-foreground/20 fc:[&>svg]:text-destructive-light-foreground"
11
+ info: "bg-info-light *:data-[slot=alert-description]:text-info-light-foreground text-info-light-foreground border-info-light-foreground/20 [&>svg]:text-info-light-foreground",
12
+ warning: "bg-warning-light text-warning-light-foreground border-warning-light-foreground/20 [&>svg]:text-warning-light-foreground",
13
+ success: "bg-success-light text-success-light-foreground border-success-light-foreground/20 [&>svg]:text-success-light-foreground",
14
+ destructive: "bg-destructive-light text-destructive-light-foreground border-destructive-light-foreground/20 [&>svg]:text-destructive-light-foreground"
15
15
  }
16
16
  },
17
17
  defaultVariants: {
@@ -19,55 +19,55 @@ const g = s(
19
19
  }
20
20
  }
21
21
  );
22
- function u({
22
+ function f({
23
23
  variant: t,
24
24
  className: r,
25
- ...i
25
+ ...s
26
26
  }) {
27
- return /* @__PURE__ */ e(
27
+ return /* @__PURE__ */ i(
28
28
  "div",
29
29
  {
30
30
  "data-slot": "alert",
31
31
  role: "alert",
32
- className: f(g({ variant: t }), r),
33
- ...i
32
+ className: o(a({ variant: t }), r),
33
+ ...s
34
34
  }
35
35
  );
36
36
  }
37
- c(u, "Alert");
37
+ e(f, "Alert");
38
38
  function v({ className: t, ...r }) {
39
- return /* @__PURE__ */ e(
39
+ return /* @__PURE__ */ i(
40
40
  "div",
41
41
  {
42
42
  "data-slot": "alert-title",
43
- className: f(
44
- "fc:col-start-2 fc:line-clamp-1 fc:min-h-4 fc:font-medium fc:tracking-tight",
43
+ className: o(
44
+ "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
45
45
  t
46
46
  ),
47
47
  ...r
48
48
  }
49
49
  );
50
50
  }
51
- c(v, "AlertTitle");
51
+ e(v, "AlertTitle");
52
52
  function h({
53
53
  className: t,
54
54
  ...r
55
55
  }) {
56
- return /* @__PURE__ */ e(
56
+ return /* @__PURE__ */ i(
57
57
  "div",
58
58
  {
59
59
  "data-slot": "alert-description",
60
- className: f(
61
- "fc:col-start-2 fc:grid fc:justify-items-start fc:gap-1 fc:text-sm fc:[&_p]:leading-relaxed",
60
+ className: o(
61
+ "col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
62
62
  t
63
63
  ),
64
64
  ...r
65
65
  }
66
66
  );
67
67
  }
68
- c(h, "AlertDescription");
68
+ e(h, "AlertDescription");
69
69
  export {
70
- u as Alert,
70
+ f as Alert,
71
71
  h as AlertDescription,
72
72
  v as AlertTitle
73
73
  };
@@ -1,56 +1,56 @@
1
- var l = Object.defineProperty;
2
- var c = (a, t) => l(a, "name", { value: t, configurable: !0 });
3
- import { jsx as e } from "react/jsx-runtime";
4
- import { Avatar as f } from "radix-ui";
5
- import { cn as r } from "../lib/utils.js";
1
+ var s = Object.defineProperty;
2
+ var e = (a, t) => s(a, "name", { value: t, configurable: !0 });
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import { Avatar as l } from "radix-ui";
5
+ import { cn as o } from "../lib/utils.js";
6
6
  function u({
7
7
  className: a,
8
8
  ...t
9
9
  }) {
10
- return /* @__PURE__ */ e(
11
- f.Root,
10
+ return /* @__PURE__ */ r(
11
+ l.Root,
12
12
  {
13
13
  "data-slot": "avatar",
14
- className: r(
15
- "fc:relative fc:flex fc:size-8 fc:shrink-0 fc:overflow-hidden fc:rounded-full",
14
+ className: o(
15
+ "relative flex size-8 shrink-0 overflow-hidden rounded-full",
16
16
  a
17
17
  ),
18
18
  ...t
19
19
  }
20
20
  );
21
21
  }
22
- c(u, "Avatar");
22
+ e(u, "Avatar");
23
23
  function m({
24
24
  className: a,
25
25
  ...t
26
26
  }) {
27
- return /* @__PURE__ */ e(
28
- f.Image,
27
+ return /* @__PURE__ */ r(
28
+ l.Image,
29
29
  {
30
30
  "data-slot": "avatar-image",
31
- className: r("fc:aspect-square fc:size-full", a),
31
+ className: o("aspect-square size-full", a),
32
32
  ...t
33
33
  }
34
34
  );
35
35
  }
36
- c(m, "AvatarImage");
36
+ e(m, "AvatarImage");
37
37
  function v({
38
38
  className: a,
39
39
  ...t
40
40
  }) {
41
- return /* @__PURE__ */ e(
42
- f.Fallback,
41
+ return /* @__PURE__ */ r(
42
+ l.Fallback,
43
43
  {
44
44
  "data-slot": "avatar-fallback",
45
- className: r(
46
- "fc:bg-accent fc:flex fc:size-full fc:items-center fc:justify-center fc:rounded-full",
45
+ className: o(
46
+ "bg-accent flex size-full items-center justify-center rounded-full",
47
47
  a
48
48
  ),
49
49
  ...t
50
50
  }
51
51
  );
52
52
  }
53
- c(v, "AvatarFallback");
53
+ e(v, "AvatarFallback");
54
54
  export {
55
55
  u as Avatar,
56
56
  v as AvatarFallback,
@@ -1,19 +1,19 @@
1
- var o = Object.defineProperty;
2
- var e = (r, i) => o(r, "name", { value: i, configurable: !0 });
3
- import { jsx as n } from "react/jsx-runtime";
4
- import { Slot as s } from "radix-ui";
5
- import { cva as g } from "class-variance-authority";
6
- import { cn as a } from "../lib/utils.js";
7
- const d = g(
8
- "fc:inline-flex fc:items-center fc:justify-center fc:rounded-md fc:border fc:px-2 fc:py-0.5 fc:text-xs fc:font-medium fc:w-fit fc:whitespace-nowrap fc:shrink-0 fc:[&>svg]:size-3 fc:gap-1 fc:[&>svg]:pointer-events-none fc:focus-visible:border-ring fc:focus-visible:ring-ring/50 fc:focus-visible:ring-[3px] fc:aria-invalid:ring-destructive/20 fc:dark:aria-invalid:ring-destructive/40 fc:aria-invalid:border-destructive fc:transition-[color,box-shadow] fc:overflow-hidden",
1
+ var s = Object.defineProperty;
2
+ var e = (r, i) => s(r, "name", { value: i, configurable: !0 });
3
+ import { jsx as g } from "react/jsx-runtime";
4
+ import { Slot as a } from "radix-ui";
5
+ import { cva as d } from "class-variance-authority";
6
+ import { cn as f } from "../lib/utils.js";
7
+ const l = d(
8
+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
9
9
  {
10
10
  variants: {
11
11
  variant: {
12
- primary: "fc:bg-primary-light fc:text-primary-light-foreground fc:border-primary-light-foreground/20",
13
- info: "fc:bg-info-light fc:text-info-light-foreground fc:border-info-light-foreground/20",
14
- warning: "fc:bg-warning-light fc:text-warning-light-foreground fc:border-warning-light-foreground/20",
15
- success: "fc:bg-success-light fc:text-success-light-foreground fc:border-success-light-foreground/20",
16
- destructive: "fc:bg-destructive-light fc:text-destructive-light-foreground fc:border-destructive-light-foreground/20"
12
+ primary: "bg-primary-light text-primary-light-foreground border-primary-light-foreground/20",
13
+ info: "bg-info-light text-info-light-foreground border-info-light-foreground/20",
14
+ warning: "bg-warning-light text-warning-light-foreground border-warning-light-foreground/20",
15
+ success: "bg-success-light text-success-light-foreground border-success-light-foreground/20",
16
+ destructive: "bg-destructive-light text-destructive-light-foreground border-destructive-light-foreground/20"
17
17
  }
18
18
  },
19
19
  defaultVariants: {
@@ -25,20 +25,20 @@ function m({
25
25
  className: r,
26
26
  variant: i,
27
27
  asChild: t = !1,
28
- ...f
28
+ ...o
29
29
  }) {
30
- const c = t ? s.Root : "span";
31
- return /* @__PURE__ */ n(
32
- c,
30
+ const n = t ? a.Root : "span";
31
+ return /* @__PURE__ */ g(
32
+ n,
33
33
  {
34
34
  "data-slot": "badge",
35
- className: a(d({ variant: i }), r),
36
- ...f
35
+ className: f(l({ variant: i }), r),
36
+ ...o
37
37
  }
38
38
  );
39
39
  }
40
40
  e(m, "Badge");
41
41
  export {
42
42
  m as Badge,
43
- d as badgeVariants
43
+ l as badgeVariants
44
44
  };
@@ -1,124 +1,124 @@
1
- var s = Object.defineProperty;
2
- var e = (r, c) => s(r, "name", { value: c, configurable: !0 });
3
- import { jsx as f } from "react/jsx-runtime";
4
- import { Slot as d } from "radix-ui";
5
- import { cva as v } from "class-variance-authority";
6
- import { cn as g } from "../lib/utils.js";
7
- const u = v(
8
- "fc:cursor-pointer fc:inline-flex fc:items-center fc:justify-center fc:gap-2 fc:whitespace-nowrap fc:rounded-md fc:text-sm fc:font-medium fc:transition-all fc:disabled:pointer-events-none fc:disabled:opacity-50 fc:[&_svg]:pointer-events-none fc:[&_svg:not([class*='size-'])]:size-4 fc:shrink-0 fc:[&_svg]:shrink-0 fc:outline-none fc:focus-visible:ring-[3px] fc:aria-invalid:ring-destructive/20 fc:dark:aria-invalid:ring-destructive/40 fc:aria-invalid:border-destructive",
1
+ var c = Object.defineProperty;
2
+ var o = (r, e) => c(r, "name", { value: e, configurable: !0 });
3
+ import { jsx as d } from "react/jsx-runtime";
4
+ import { Slot as v } from "radix-ui";
5
+ import { cva as g } from "class-variance-authority";
6
+ import { cn as u } from "../lib/utils.js";
7
+ const l = g(
8
+ "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
9
9
  {
10
10
  variants: {
11
11
  color: {
12
- primary: "fc:focus-visible:ring-primary/50",
13
- info: "fc:focus-visible:ring-info/50",
14
- success: "fc:focus-visible:ring-success/50",
15
- warning: "fc:focus-visible:ring-warning/50",
16
- destructive: "fc:focus-visible:ring-destructive/50",
17
- dark: "fc:focus-visible:ring-black/50"
12
+ primary: "focus-visible:ring-primary/50",
13
+ info: "focus-visible:ring-info/50",
14
+ success: "focus-visible:ring-success/50",
15
+ warning: "focus-visible:ring-warning/50",
16
+ destructive: "focus-visible:ring-destructive/50",
17
+ dark: "focus-visible:ring-black/50"
18
18
  },
19
19
  variant: {
20
- contained: "fc:border",
21
- outline: "fc:border fc:bg-transparent",
22
- ghost: "fc:border fc:border-transparent",
23
- link: "fc:text-primary fc:underline-offset-4 fc:hover:underline"
20
+ contained: "border",
21
+ outline: "border bg-transparent",
22
+ ghost: "border border-transparent",
23
+ link: "text-primary underline-offset-4 hover:underline"
24
24
  },
25
25
  size: {
26
- default: "fc:h-9 fc:px-4 fc:py-2 fc:has-[>svg]:px-3",
27
- sm: "fc:h-8 fc:rounded-md fc:gap-1.5 fc:px-3 fc:has-[>svg]:px-2.5",
28
- lg: "fc:h-10 fc:rounded-md fc:px-6 fc:has-[>svg]:px-4",
29
- icon: "fc:size-9"
26
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
27
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
28
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
29
+ icon: "size-9"
30
30
  }
31
31
  },
32
32
  compoundVariants: [
33
33
  {
34
34
  color: "primary",
35
35
  variant: "contained",
36
- className: "fc:bg-primary fc:border-primary fc:text-primary-foreground fc:hover:bg-primary/90"
36
+ className: "bg-primary border-primary text-primary-foreground hover:bg-primary/90"
37
37
  },
38
38
  {
39
39
  color: "info",
40
40
  variant: "contained",
41
- className: "fc:bg-info fc:border-info fc:text-info-foreground fc:hover:bg-info/90"
41
+ className: "bg-info border-info text-info-foreground hover:bg-info/90"
42
42
  },
43
43
  {
44
44
  color: "success",
45
45
  variant: "contained",
46
- className: "fc:bg-success fc:border-success fc:text-success-foreground fc:hover:bg-success/90"
46
+ className: "bg-success border-success text-success-foreground hover:bg-success/90"
47
47
  },
48
48
  {
49
49
  color: "warning",
50
50
  variant: "contained",
51
- className: "fc:bg-warning fc:border-warning fc:text-warning-foreground fc:hover:bg-warning/90"
51
+ className: "bg-warning border-warning text-warning-foreground hover:bg-warning/90"
52
52
  },
53
53
  {
54
54
  color: "destructive",
55
55
  variant: "contained",
56
- className: "fc:bg-destructive fc:border-destructive fc:text-destructive-foreground fc:hover:bg-destructive/90"
56
+ className: "bg-destructive border-destructive text-destructive-foreground hover:bg-destructive/90"
57
57
  },
58
58
  {
59
59
  color: "dark",
60
60
  variant: "contained",
61
- className: "fc:bg-dark fc:border-dark fc:text-dark-foreground fc:hover:bg-dark/90"
61
+ className: "bg-dark border-dark text-dark-foreground hover:bg-dark/90"
62
62
  },
63
63
  {
64
64
  color: "primary",
65
65
  variant: "outline",
66
- className: "fc:border-primary fc:text-primary fc:hover:bg-primary fc:hover:text-primary-foreground"
66
+ className: "border-primary text-primary hover:bg-primary hover:text-primary-foreground"
67
67
  },
68
68
  {
69
69
  color: "info",
70
70
  variant: "outline",
71
- className: "fc:border-info fc:text-info fc:hover:bg-info fc:hover:text-info-foreground"
71
+ className: "border-info text-info hover:bg-info hover:text-info-foreground"
72
72
  },
73
73
  {
74
74
  color: "success",
75
75
  variant: "outline",
76
- className: "fc:border-success fc:text-success fc:hover:bg-success fc:hover:text-success-foreground"
76
+ className: "border-success text-success hover:bg-success hover:text-success-foreground"
77
77
  },
78
78
  {
79
79
  color: "warning",
80
80
  variant: "outline",
81
- className: "fc:border-warning fc:text-warning fc:hover:bg-warning fc:hover:text-warning-foreground"
81
+ className: "border-warning text-warning hover:bg-warning hover:text-warning-foreground"
82
82
  },
83
83
  {
84
84
  color: "destructive",
85
85
  variant: "outline",
86
- className: "fc:border-destructive fc:text-destructive fc:hover:bg-destructive fc:hover:text-destructive-foreground"
86
+ className: "border-destructive text-destructive hover:bg-destructive hover:text-destructive-foreground"
87
87
  },
88
88
  {
89
89
  color: "dark",
90
90
  variant: "outline",
91
- className: "fc:border-dark fc:text-dark fc:hover:bg-dark fc:hover:text-dark-foreground fc:dark:text-dark-foreground"
91
+ className: "border-dark text-dark hover:bg-dark hover:text-dark-foreground dark:text-dark-foreground"
92
92
  },
93
93
  {
94
94
  color: "primary",
95
95
  variant: "ghost",
96
- className: "fc:text-primary fc:hover:bg-primary/10"
96
+ className: "text-primary hover:bg-primary/10"
97
97
  },
98
98
  {
99
99
  color: "info",
100
100
  variant: "ghost",
101
- className: "fc:text-info fc:hover:bg-info/10"
101
+ className: "text-info hover:bg-info/10"
102
102
  },
103
103
  {
104
104
  color: "success",
105
105
  variant: "ghost",
106
- className: "fc:text-success fc:hover:bg-success/10"
106
+ className: "text-success hover:bg-success/10"
107
107
  },
108
108
  {
109
109
  color: "warning",
110
110
  variant: "ghost",
111
- className: "fc:text-warning fc:hover:bg-warning/10"
111
+ className: "text-warning hover:bg-warning/10"
112
112
  },
113
113
  {
114
114
  color: "destructive",
115
115
  variant: "ghost",
116
- className: "fc:text-destructive fc:hover:bg-destructive/10"
116
+ className: "text-destructive hover:bg-destructive/10"
117
117
  },
118
118
  {
119
119
  color: "dark",
120
120
  variant: "ghost",
121
- className: "fc:text-dark fc:dark:text-dark-foreground fc:hover:bg-dark/10 fc:dark:hover:bg-dark"
121
+ className: "text-dark dark:text-dark-foreground hover:bg-dark/10 dark:hover:bg-dark"
122
122
  }
123
123
  ],
124
124
  defaultVariants: {
@@ -130,24 +130,24 @@ const u = v(
130
130
  );
131
131
  function x({
132
132
  className: r,
133
- variant: c,
134
- color: o,
135
- size: t,
136
- asChild: a = !1,
137
- ...i
133
+ variant: e,
134
+ color: t,
135
+ size: a,
136
+ asChild: i = !1,
137
+ ...n
138
138
  }) {
139
- const n = a ? d.Root : "button";
140
- return /* @__PURE__ */ f(
141
- n,
139
+ const s = i ? v.Root : "button";
140
+ return /* @__PURE__ */ d(
141
+ s,
142
142
  {
143
143
  "data-slot": "button",
144
- className: g(u({ variant: c, color: o, size: t, className: r })),
145
- ...i
144
+ className: u(l({ variant: e, color: t, size: a, className: r })),
145
+ ...n
146
146
  }
147
147
  );
148
148
  }
149
- e(x, "Button");
149
+ o(x, "Button");
150
150
  export {
151
151
  x as Button,
152
- u as buttonVariants
152
+ l as buttonVariants
153
153
  };