fina-react-ds 0.0.1 → 1.0.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/README.md CHANGED
@@ -1,17 +1,7 @@
1
- # ELSAN REACT PUULSE
1
+ # FINA CONCEPT DS
2
2
 
3
- ### Storybook
3
+ ## Installation
4
4
 
5
-
6
-
7
- ### Installation du package dans un projet:
8
- [Voir instructions](docs/installation-as-dependency.md)
9
-
10
- #### Configuration Tailwind >= 4
11
- [Voir instructions](docs/config-tailwind-4)
12
-
13
- #### Configuration Thème personnalisé
14
- [Voir instructions](docs/config-theme)
15
-
16
- ### Installation pour développement:
17
- [Voir instructions](docs/installation-for-dev.md)
5
+ ```bash
6
+ npm install fina-react-ds
7
+ ```
@@ -1,17 +1,17 @@
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",
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",
8
8
  {
9
9
  variants: {
10
10
  variant: {
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"
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"
15
15
  }
16
16
  },
17
17
  defaultVariants: {
@@ -19,52 +19,55 @@ const a = n(
19
19
  }
20
20
  }
21
21
  );
22
- function f({
22
+ function u({
23
23
  variant: t,
24
24
  className: r,
25
- ...s
25
+ ...i
26
26
  }) {
27
- return /* @__PURE__ */ i(
27
+ return /* @__PURE__ */ e(
28
28
  "div",
29
29
  {
30
30
  "data-slot": "alert",
31
31
  role: "alert",
32
- className: o(a({ variant: t }), r),
33
- ...s
32
+ className: f(g({ variant: t }), r),
33
+ ...i
34
34
  }
35
35
  );
36
36
  }
37
- e(f, "Alert");
37
+ c(u, "Alert");
38
38
  function v({ className: t, ...r }) {
39
- return /* @__PURE__ */ i(
39
+ return /* @__PURE__ */ e(
40
40
  "div",
41
41
  {
42
42
  "data-slot": "alert-title",
43
- className: o(
44
- "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
43
+ className: f(
44
+ "fc:col-start-2 fc:line-clamp-1 fc:min-h-4 fc:font-medium fc:tracking-tight",
45
45
  t
46
46
  ),
47
47
  ...r
48
48
  }
49
49
  );
50
50
  }
51
- e(v, "AlertTitle");
52
- function h({ className: t, ...r }) {
53
- return /* @__PURE__ */ i(
51
+ c(v, "AlertTitle");
52
+ function h({
53
+ className: t,
54
+ ...r
55
+ }) {
56
+ return /* @__PURE__ */ e(
54
57
  "div",
55
58
  {
56
59
  "data-slot": "alert-description",
57
- className: o(
58
- "col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
60
+ className: f(
61
+ "fc:col-start-2 fc:grid fc:justify-items-start fc:gap-1 fc:text-sm fc:[&_p]:leading-relaxed",
59
62
  t
60
63
  ),
61
64
  ...r
62
65
  }
63
66
  );
64
67
  }
65
- e(h, "AlertDescription");
68
+ c(h, "AlertDescription");
66
69
  export {
67
- f as Alert,
70
+ u as Alert,
68
71
  h as AlertDescription,
69
72
  v as AlertTitle
70
73
  };
@@ -1,56 +1,56 @@
1
- var o = Object.defineProperty;
2
- var e = (a, t) => o(a, "name", { value: t, configurable: !0 });
3
- import { jsx as r } from "react/jsx-runtime";
4
- import { Root as s, Image as n, Fallback as f } from "../node_modules/@radix-ui/react-avatar/dist/index.js";
5
- import { cn as l } from "../lib/utils.js";
1
+ var r = Object.defineProperty;
2
+ var c = (a, t) => r(a, "name", { value: t, configurable: !0 });
3
+ import { jsx as e } from "react/jsx-runtime";
4
+ import { Root as l, Image as o, Fallback as s } from "../node_modules/@radix-ui/react-avatar/dist/index.js";
5
+ import { cn as f } from "../lib/utils.js";
6
6
  function d({
7
7
  className: a,
8
8
  ...t
9
9
  }) {
10
- return /* @__PURE__ */ r(
11
- s,
10
+ return /* @__PURE__ */ e(
11
+ l,
12
12
  {
13
13
  "data-slot": "avatar",
14
- className: l(
15
- "relative flex size-8 shrink-0 overflow-hidden rounded-full",
14
+ className: f(
15
+ "fc:relative fc:flex fc:size-8 fc:shrink-0 fc:overflow-hidden fc:rounded-full",
16
16
  a
17
17
  ),
18
18
  ...t
19
19
  }
20
20
  );
21
21
  }
22
- e(d, "Avatar");
22
+ c(d, "Avatar");
23
23
  function v({
24
24
  className: a,
25
25
  ...t
26
26
  }) {
27
- return /* @__PURE__ */ r(
28
- n,
27
+ return /* @__PURE__ */ e(
28
+ o,
29
29
  {
30
30
  "data-slot": "avatar-image",
31
- className: l("aspect-square size-full", a),
31
+ className: f("fc:aspect-square fc:size-full", a),
32
32
  ...t
33
33
  }
34
34
  );
35
35
  }
36
- e(v, "AvatarImage");
36
+ c(v, "AvatarImage");
37
37
  function p({
38
38
  className: a,
39
39
  ...t
40
40
  }) {
41
- return /* @__PURE__ */ r(
42
- f,
41
+ return /* @__PURE__ */ e(
42
+ s,
43
43
  {
44
44
  "data-slot": "avatar-fallback",
45
- className: l(
46
- "bg-muted flex size-full items-center justify-center rounded-full",
45
+ className: f(
46
+ "fc:bg-accent fc:flex fc:size-full fc:items-center fc:justify-center fc:rounded-full",
47
47
  a
48
48
  ),
49
49
  ...t
50
50
  }
51
51
  );
52
52
  }
53
- e(p, "AvatarFallback");
53
+ c(p, "AvatarFallback");
54
54
  export {
55
55
  d as Avatar,
56
56
  p as AvatarFallback,
@@ -1,19 +1,19 @@
1
- var n = Object.defineProperty;
2
- var e = (r, i) => n(r, "name", { value: i, configurable: !0 });
3
- import { jsx as s } from "react/jsx-runtime";
4
- import { Root as g } from "../node_modules/@radix-ui/react-slot/dist/index.js";
5
- import { cva as a } from "class-variance-authority";
6
- import { cn as d } from "../lib/utils.js";
7
- const f = a(
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",
1
+ var c = Object.defineProperty;
2
+ var e = (r, i) => c(r, "name", { value: i, configurable: !0 });
3
+ import { jsx as o } from "react/jsx-runtime";
4
+ import { Root as n } from "../node_modules/@radix-ui/react-slot/dist/index.js";
5
+ import { cva as s } from "class-variance-authority";
6
+ import { cn as g } from "../lib/utils.js";
7
+ const a = s(
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",
9
9
  {
10
10
  variants: {
11
11
  variant: {
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"
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"
17
17
  }
18
18
  },
19
19
  defaultVariants: {
@@ -25,19 +25,19 @@ function m({
25
25
  className: r,
26
26
  variant: i,
27
27
  asChild: t = !1,
28
- ...o
28
+ ...f
29
29
  }) {
30
- return /* @__PURE__ */ s(
31
- t ? g : "span",
30
+ return /* @__PURE__ */ o(
31
+ t ? n : "span",
32
32
  {
33
33
  "data-slot": "badge",
34
- className: d(f({ variant: i }), r),
35
- ...o
34
+ className: g(a({ variant: i }), r),
35
+ ...f
36
36
  }
37
37
  );
38
38
  }
39
39
  e(m, "Badge");
40
40
  export {
41
41
  m as Badge,
42
- f as badgeVariants
42
+ a as badgeVariants
43
43
  };
@@ -1,124 +1,124 @@
1
- var s = Object.defineProperty;
2
- var o = (r, e) => s(r, "name", { value: e, configurable: !0 });
3
- import { jsx as c } from "react/jsx-runtime";
4
- import { Root as d } from "../node_modules/@radix-ui/react-slot/dist/index.js";
5
- import { cva as v } from "class-variance-authority";
6
- import { cn as g } from "../lib/utils.js";
7
- const u = v(
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",
1
+ var n = Object.defineProperty;
2
+ var e = (r, c) => n(r, "name", { value: c, configurable: !0 });
3
+ import { jsx as s } from "react/jsx-runtime";
4
+ import { Root as f } from "../node_modules/@radix-ui/react-slot/dist/index.js";
5
+ import { cva as d } from "class-variance-authority";
6
+ import { cn as v } from "../lib/utils.js";
7
+ const g = d(
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",
9
9
  {
10
10
  variants: {
11
11
  color: {
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"
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"
18
18
  },
19
19
  variant: {
20
- contained: "border",
21
- outline: "border bg-transparent",
22
- ghost: "border border-transparent",
23
- link: "text-primary underline-offset-4 hover:underline"
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"
24
24
  },
25
25
  size: {
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"
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"
30
30
  }
31
31
  },
32
32
  compoundVariants: [
33
33
  {
34
34
  color: "primary",
35
35
  variant: "contained",
36
- className: "bg-primary border-primary text-primary-foreground hover:bg-primary/90"
36
+ className: "fc:bg-primary fc:border-primary fc:text-primary-foreground fc:hover:bg-primary/90"
37
37
  },
38
38
  {
39
39
  color: "info",
40
40
  variant: "contained",
41
- className: "bg-info border-info text-info-foreground hover:bg-info/90"
41
+ className: "fc:bg-info fc:border-info fc:text-info-foreground fc:hover:bg-info/90"
42
42
  },
43
43
  {
44
44
  color: "success",
45
45
  variant: "contained",
46
- className: "bg-success border-success text-success-foreground hover:bg-success/90"
46
+ className: "fc:bg-success fc:border-success fc:text-success-foreground fc:hover:bg-success/90"
47
47
  },
48
48
  {
49
49
  color: "warning",
50
50
  variant: "contained",
51
- className: "bg-warning border-warning text-warning-foreground hover:bg-warning/90"
51
+ className: "fc:bg-warning fc:border-warning fc:text-warning-foreground fc:hover:bg-warning/90"
52
52
  },
53
53
  {
54
54
  color: "destructive",
55
55
  variant: "contained",
56
- className: "bg-destructive border-destructive text-destructive-foreground hover:bg-destructive/90"
56
+ className: "fc:bg-destructive fc:border-destructive fc:text-destructive-foreground fc:hover:bg-destructive/90"
57
57
  },
58
58
  {
59
59
  color: "dark",
60
60
  variant: "contained",
61
- className: "bg-dark border-dark text-dark-foreground hover:bg-dark/90"
61
+ className: "fc:bg-dark fc:border-dark fc:text-dark-foreground fc:hover:bg-dark/90"
62
62
  },
63
63
  {
64
64
  color: "primary",
65
65
  variant: "outline",
66
- className: "border-primary text-primary hover:bg-primary hover:text-primary-foreground"
66
+ className: "fc:border-primary fc:text-primary fc:hover:bg-primary fc:hover:text-primary-foreground"
67
67
  },
68
68
  {
69
69
  color: "info",
70
70
  variant: "outline",
71
- className: "border-info text-info hover:bg-info hover:text-info-foreground"
71
+ className: "fc:border-info fc:text-info fc:hover:bg-info fc:hover:text-info-foreground"
72
72
  },
73
73
  {
74
74
  color: "success",
75
75
  variant: "outline",
76
- className: "border-success text-success hover:bg-success hover:text-success-foreground"
76
+ className: "fc:border-success fc:text-success fc:hover:bg-success fc:hover:text-success-foreground"
77
77
  },
78
78
  {
79
79
  color: "warning",
80
80
  variant: "outline",
81
- className: "border-warning text-warning hover:bg-warning hover:text-warning-foreground"
81
+ className: "fc:border-warning fc:text-warning fc:hover:bg-warning fc:hover:text-warning-foreground"
82
82
  },
83
83
  {
84
84
  color: "destructive",
85
85
  variant: "outline",
86
- className: "border-destructive text-destructive hover:bg-destructive hover:text-destructive-foreground"
86
+ className: "fc:border-destructive fc:text-destructive fc:hover:bg-destructive fc:hover:text-destructive-foreground"
87
87
  },
88
88
  {
89
89
  color: "dark",
90
90
  variant: "outline",
91
- className: "border-dark text-dark hover:bg-dark hover:text-dark-foreground dark:text-dark-foreground"
91
+ className: "fc:border-dark fc:text-dark fc:hover:bg-dark fc:hover:text-dark-foreground fc:dark:text-dark-foreground"
92
92
  },
93
93
  {
94
94
  color: "primary",
95
95
  variant: "ghost",
96
- className: "text-primary hover:bg-primary/10"
96
+ className: "fc:text-primary fc:hover:bg-primary/10"
97
97
  },
98
98
  {
99
99
  color: "info",
100
100
  variant: "ghost",
101
- className: "text-info hover:bg-info/10"
101
+ className: "fc:text-info fc:hover:bg-info/10"
102
102
  },
103
103
  {
104
104
  color: "success",
105
105
  variant: "ghost",
106
- className: "text-success hover:bg-success/10"
106
+ className: "fc:text-success fc:hover:bg-success/10"
107
107
  },
108
108
  {
109
109
  color: "warning",
110
110
  variant: "ghost",
111
- className: "text-warning hover:bg-warning/10"
111
+ className: "fc:text-warning fc:hover:bg-warning/10"
112
112
  },
113
113
  {
114
114
  color: "destructive",
115
115
  variant: "ghost",
116
- className: "text-destructive hover:bg-destructive/10"
116
+ className: "fc:text-destructive fc:hover:bg-destructive/10"
117
117
  },
118
118
  {
119
119
  color: "dark",
120
120
  variant: "ghost",
121
- className: "text-dark dark:text-dark-foreground hover:bg-dark/10 dark:hover:bg-dark"
121
+ className: "fc:text-dark fc:dark:text-dark-foreground fc:hover:bg-dark/10 fc:dark:hover:bg-dark"
122
122
  }
123
123
  ],
124
124
  defaultVariants: {
@@ -130,23 +130,23 @@ const u = v(
130
130
  );
131
131
  function x({
132
132
  className: r,
133
- variant: e,
134
- color: t,
135
- size: a,
136
- asChild: i = !1,
137
- ...n
133
+ variant: c,
134
+ color: o,
135
+ size: t,
136
+ asChild: a = !1,
137
+ ...i
138
138
  }) {
139
- return /* @__PURE__ */ c(
140
- i ? d : "button",
139
+ return /* @__PURE__ */ s(
140
+ a ? f : "button",
141
141
  {
142
142
  "data-slot": "button",
143
- className: g(u({ variant: e, color: t, size: a, className: r })),
144
- ...n
143
+ className: v(g({ variant: c, color: o, size: t, className: r })),
144
+ ...i
145
145
  }
146
146
  );
147
147
  }
148
- o(x, "Button");
148
+ e(x, "Button");
149
149
  export {
150
150
  x as Button,
151
- u as buttonVariants
151
+ g as buttonVariants
152
152
  };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import { DayButton, DayPicker } from "react-day-picker";
3
+ import { Button } from "../components/button";
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: Omit<React.ComponentProps<typeof DayButton>, "color">): import("react/jsx-runtime").JSX.Element;
8
+ export { Calendar, CalendarDayButton };
@@ -1,99 +1,99 @@
1
- var d = Object.defineProperty;
2
- var a = (t, r) => d(t, "name", { value: r, configurable: !0 });
3
- import { jsx as o } from "react/jsx-runtime";
4
- import { cn as e } from "../lib/utils.js";
5
- function i({ className: t, ...r }) {
6
- return /* @__PURE__ */ o(
1
+ var e = Object.defineProperty;
2
+ var a = (t, c) => e(t, "name", { value: c, configurable: !0 });
3
+ import { jsx as r } from "react/jsx-runtime";
4
+ import { cn as o } from "../lib/utils.js";
5
+ function s({ className: t, ...c }) {
6
+ return /* @__PURE__ */ r(
7
7
  "div",
8
8
  {
9
9
  "data-slot": "card",
10
- className: e(
11
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
10
+ className: o(
11
+ "fc:bg-card fc:text-card-foreground fc:flex fc:flex-col fc:gap-6 fc:rounded-xl fc:border fc:py-6 fc:shadow-sm",
12
12
  t
13
13
  ),
14
- ...r
14
+ ...c
15
15
  }
16
16
  );
17
17
  }
18
- a(i, "Card");
19
- function l({ className: t, ...r }) {
20
- return /* @__PURE__ */ o(
18
+ a(s, "Card");
19
+ function i({ className: t, ...c }) {
20
+ return /* @__PURE__ */ r(
21
21
  "div",
22
22
  {
23
23
  "data-slot": "card-header",
24
- className: e(
25
- "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
24
+ className: o(
25
+ "fc:@container/card-header fc:grid fc:auto-rows-min fc:grid-rows-[auto_auto] fc:items-start fc:gap-1.5 fc:px-6 fc:has-data-[slot=card-action]:grid-cols-[1fr_auto] fc:[.border-b]:pb-6",
26
26
  t
27
27
  ),
28
- ...r
28
+ ...c
29
29
  }
30
30
  );
31
31
  }
32
- a(l, "CardHeader");
33
- function u({ className: t, ...r }) {
34
- return /* @__PURE__ */ o(
32
+ a(i, "CardHeader");
33
+ function l({ className: t, ...c }) {
34
+ return /* @__PURE__ */ r(
35
35
  "div",
36
36
  {
37
37
  "data-slot": "card-title",
38
- className: e("leading-none font-semibold", t),
39
- ...r
38
+ className: o("fc:leading-none fc:font-semibold", t),
39
+ ...c
40
40
  }
41
41
  );
42
42
  }
43
- a(u, "CardTitle");
44
- function f({ className: t, ...r }) {
45
- return /* @__PURE__ */ o(
43
+ a(l, "CardTitle");
44
+ function u({ className: t, ...c }) {
45
+ return /* @__PURE__ */ r(
46
46
  "div",
47
47
  {
48
48
  "data-slot": "card-description",
49
- className: e("text-muted-foreground text-sm", t),
50
- ...r
49
+ className: o("fc:text-muted fc:text-sm", t),
50
+ ...c
51
51
  }
52
52
  );
53
53
  }
54
- a(f, "CardDescription");
55
- function m({ className: t, ...r }) {
56
- return /* @__PURE__ */ o(
54
+ a(u, "CardDescription");
55
+ function m({ className: t, ...c }) {
56
+ return /* @__PURE__ */ r(
57
57
  "div",
58
58
  {
59
59
  "data-slot": "card-action",
60
- className: e(
61
- "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
60
+ className: o(
61
+ "fc:col-start-2 fc:row-span-2 fc:row-start-1 fc:self-start fc:justify-self-end",
62
62
  t
63
63
  ),
64
- ...r
64
+ ...c
65
65
  }
66
66
  );
67
67
  }
68
68
  a(m, "CardAction");
69
- function p({ className: t, ...r }) {
70
- return /* @__PURE__ */ o(
69
+ function p({ className: t, ...c }) {
70
+ return /* @__PURE__ */ r(
71
71
  "div",
72
72
  {
73
73
  "data-slot": "card-content",
74
- className: e("px-6", t),
75
- ...r
74
+ className: o("fc:px-6", t),
75
+ ...c
76
76
  }
77
77
  );
78
78
  }
79
79
  a(p, "CardContent");
80
- function x({ className: t, ...r }) {
81
- return /* @__PURE__ */ o(
80
+ function x({ className: t, ...c }) {
81
+ return /* @__PURE__ */ r(
82
82
  "div",
83
83
  {
84
84
  "data-slot": "card-footer",
85
- className: e("flex items-center px-6 [.border-t]:pt-6", t),
86
- ...r
85
+ className: o("fc:flex fc:items-center fc:px-6 fc:[.border-t]:pt-6", t),
86
+ ...c
87
87
  }
88
88
  );
89
89
  }
90
90
  a(x, "CardFooter");
91
91
  export {
92
- i as Card,
92
+ s as Card,
93
93
  m as CardAction,
94
94
  p as CardContent,
95
- f as CardDescription,
95
+ u as CardDescription,
96
96
  x as CardFooter,
97
- l as CardHeader,
98
- u as CardTitle
97
+ i as CardHeader,
98
+ l as CardTitle
99
99
  };