fina-react-ds 1.0.21 → 1.0.23

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.
Files changed (110) hide show
  1. package/dist/components/alert-dialog.d.ts +1 -1
  2. package/dist/components/alert-dialog.js +65 -59
  3. package/dist/components/avatar.d.ts +1 -1
  4. package/dist/components/avatar.js +19 -19
  5. package/dist/components/badge.js +12 -11
  6. package/dist/components/button.js +12 -11
  7. package/dist/components/checkbox.d.ts +1 -1
  8. package/dist/components/checkbox.js +17 -17
  9. package/dist/components/dialog.d.ts +1 -1
  10. package/dist/components/dialog.js +60 -60
  11. package/dist/components/dropdown-menu.d.ts +1 -1
  12. package/dist/components/dropdown-menu.js +93 -93
  13. package/dist/components/form.d.ts +2 -3
  14. package/dist/components/form.js +2 -2
  15. package/dist/components/hover-card.d.ts +1 -1
  16. package/dist/components/hover-card.js +23 -23
  17. package/dist/components/label.d.ts +1 -1
  18. package/dist/components/label.js +12 -12
  19. package/dist/components/popover.d.ts +1 -1
  20. package/dist/components/popover.js +28 -28
  21. package/dist/components/separator.d.ts +1 -1
  22. package/dist/components/separator.js +10 -10
  23. package/dist/components/sheet.d.ts +1 -1
  24. package/dist/components/sheet.js +73 -73
  25. package/dist/components/sidebar.js +73 -69
  26. package/dist/components/switch.d.ts +1 -1
  27. package/dist/components/switch.js +13 -13
  28. package/dist/components/tabs.d.ts +1 -1
  29. package/dist/components/tabs.js +22 -22
  30. package/dist/components/tooltip.d.ts +1 -1
  31. package/dist/components/tooltip.js +27 -27
  32. package/dist/index.d.ts +6 -3
  33. package/dist/index.js +190 -172
  34. package/dist/lib/http.d.ts +13 -0
  35. package/dist/lib/http.js +59 -0
  36. package/dist/lib/utils.d.ts +15 -1
  37. package/dist/lib/utils.js +29 -9
  38. package/dist/lib/yup.d.ts +2 -0
  39. package/dist/lib/yup.js +88 -0
  40. package/package.json +6 -3
  41. package/dist/_virtual/index.js +0 -5
  42. package/dist/_virtual/index2.js +0 -4
  43. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -4
  44. package/dist/_virtual/use-sync-external-store-shim.production.js +0 -4
  45. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -534
  46. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -430
  47. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -215
  48. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -159
  49. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -149
  50. package/dist/node_modules/@radix-ui/primitive/dist/index.js +0 -12
  51. package/dist/node_modules/@radix-ui/react-alert-dialog/dist/index.js +0 -130
  52. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +0 -24
  53. package/dist/node_modules/@radix-ui/react-avatar/dist/index.js +0 -80
  54. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -258
  55. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +0 -51
  56. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -34
  57. package/dist/node_modules/@radix-ui/react-context/dist/index.js +0 -76
  58. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +0 -265
  59. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
  60. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -133
  61. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -230
  62. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -21
  63. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -149
  64. package/dist/node_modules/@radix-ui/react-hover-card/dist/index.js +0 -192
  65. package/dist/node_modules/@radix-ui/react-id/dist/index.js +0 -16
  66. package/dist/node_modules/@radix-ui/react-label/dist/index.js +0 -22
  67. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +0 -663
  68. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +0 -247
  69. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +0 -224
  70. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +0 -16
  71. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +0 -77
  72. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +0 -39
  73. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -189
  74. package/dist/node_modules/@radix-ui/react-separator/dist/index.js +0 -27
  75. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -67
  76. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +0 -136
  77. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +0 -168
  78. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -348
  79. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -16
  80. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -59
  81. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -17
  82. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +0 -19
  83. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -6
  84. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -11
  85. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +0 -30
  86. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -32
  87. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -54
  88. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -9
  89. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  90. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -116
  91. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -33
  92. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -18
  93. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -70
  94. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -5
  95. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -7
  96. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -73
  97. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -7
  98. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -27
  99. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -13
  100. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -17
  101. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -35
  102. package/dist/node_modules/tslib/tslib.es6.js +0 -31
  103. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -9
  104. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -29
  105. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -28
  106. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -21
  107. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -72
  108. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -73
  109. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -62
  110. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -13
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
3
3
  declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
@@ -1,36 +1,36 @@
1
- var f = Object.defineProperty;
2
- var e = (t, a) => f(t, "name", { value: a, configurable: !0 });
1
+ var i = Object.defineProperty;
2
+ var e = (t, a) => i(t, "name", { value: a, configurable: !0 });
3
3
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
4
- import { Root as i, Portal as s, Overlay as d, Trigger as g, Content as m, Title as u, Description as p, Action as x, Cancel as D } from "../node_modules/@radix-ui/react-alert-dialog/dist/index.js";
5
- import { cn as l } from "../lib/utils.js";
6
- import { buttonVariants as r } from "./button.js";
7
- function C({
4
+ import { AlertDialog as l } from "radix-ui";
5
+ import { cn as r } from "../lib/utils.js";
6
+ import { buttonVariants as c } from "./button.js";
7
+ function A({
8
8
  ...t
9
9
  }) {
10
- return /* @__PURE__ */ o(i, { "data-slot": "alert-dialog", ...t });
10
+ return /* @__PURE__ */ o(l.Root, { "data-slot": "alert-dialog", ...t });
11
11
  }
12
- e(C, "AlertDialog");
13
- function h({
12
+ e(A, "AlertDialog");
13
+ function D({
14
14
  ...t
15
15
  }) {
16
- return /* @__PURE__ */ o(g, { "data-slot": "alert-dialog-trigger", ...t });
16
+ return /* @__PURE__ */ o(l.Trigger, { "data-slot": "alert-dialog-trigger", ...t });
17
17
  }
18
- e(h, "AlertDialogTrigger");
19
- function A({
18
+ e(D, "AlertDialogTrigger");
19
+ function s({
20
20
  ...t
21
21
  }) {
22
- return /* @__PURE__ */ o(s, { "data-slot": "alert-dialog-portal", ...t });
22
+ return /* @__PURE__ */ o(l.Portal, { "data-slot": "alert-dialog-portal", ...t });
23
23
  }
24
- e(A, "AlertDialogPortal");
25
- function v({
24
+ e(s, "AlertDialogPortal");
25
+ function d({
26
26
  className: t,
27
27
  ...a
28
28
  }) {
29
29
  return /* @__PURE__ */ o(
30
- d,
30
+ l.Overlay,
31
31
  {
32
32
  "data-slot": "alert-dialog-overlay",
33
- className: l(
33
+ className: r(
34
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",
35
35
  t
36
36
  ),
@@ -38,18 +38,18 @@ function v({
38
38
  }
39
39
  );
40
40
  }
41
- e(v, "AlertDialogOverlay");
42
- function z({
41
+ e(d, "AlertDialogOverlay");
42
+ function N({
43
43
  className: t,
44
44
  ...a
45
45
  }) {
46
- return /* @__PURE__ */ n(A, { children: [
47
- /* @__PURE__ */ o(v, {}),
46
+ return /* @__PURE__ */ n(s, { children: [
47
+ /* @__PURE__ */ o(d, {}),
48
48
  /* @__PURE__ */ o(
49
- m,
49
+ l.Content,
50
50
  {
51
51
  "data-slot": "alert-dialog-content",
52
- className: l(
52
+ className: r(
53
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",
54
54
  t
55
55
  ),
@@ -58,8 +58,8 @@ function z({
58
58
  )
59
59
  ] });
60
60
  }
61
- e(z, "AlertDialogContent");
62
- function j({
61
+ e(N, "AlertDialogContent");
62
+ function v({
63
63
  className: t,
64
64
  ...a
65
65
  }) {
@@ -67,13 +67,16 @@ function j({
67
67
  "div",
68
68
  {
69
69
  "data-slot": "alert-dialog-header",
70
- className: l("fc:flex fc:flex-col fc:gap-2 fc:text-center fc:sm:text-left", t),
70
+ className: r(
71
+ "fc:flex fc:flex-col fc:gap-2 fc:text-center fc:sm:text-left",
72
+ t
73
+ ),
71
74
  ...a
72
75
  }
73
76
  );
74
77
  }
75
- e(j, "AlertDialogHeader");
76
- function O({
78
+ e(v, "AlertDialogHeader");
79
+ function b({
77
80
  className: t,
78
81
  ...a
79
82
  }) {
@@ -81,7 +84,7 @@ function O({
81
84
  "div",
82
85
  {
83
86
  "data-slot": "alert-dialog-footer",
84
- className: l(
87
+ className: r(
85
88
  "fc:flex fc:flex-col-reverse fc:gap-2 fc:sm:flex-row fc:sm:justify-end",
86
89
  t
87
90
  ),
@@ -89,72 +92,75 @@ function O({
89
92
  }
90
93
  );
91
94
  }
92
- e(O, "AlertDialogFooter");
93
- function P({
95
+ e(b, "AlertDialogFooter");
96
+ function y({
94
97
  className: t,
95
98
  ...a
96
99
  }) {
97
100
  return /* @__PURE__ */ o(
98
- u,
101
+ l.Title,
99
102
  {
100
103
  "data-slot": "alert-dialog-title",
101
- className: l("fc:text-lg fc:font-semibold", t),
104
+ className: r("fc:text-lg fc:font-semibold", t),
102
105
  ...a
103
106
  }
104
107
  );
105
108
  }
106
- e(P, "AlertDialogTitle");
107
- function k({
109
+ e(y, "AlertDialogTitle");
110
+ function w({
108
111
  className: t,
109
112
  ...a
110
113
  }) {
111
114
  return /* @__PURE__ */ o(
112
- p,
115
+ l.Description,
113
116
  {
114
117
  "data-slot": "alert-dialog-description",
115
- className: l("fc:text-muted fc:text-sm", t),
118
+ className: r("fc:text-muted fc:text-sm", t),
116
119
  ...a
117
120
  }
118
121
  );
119
122
  }
120
- e(k, "AlertDialogDescription");
121
- function R({
123
+ e(w, "AlertDialogDescription");
124
+ function h({
122
125
  color: t = "primary",
123
126
  className: a,
124
- ...c
127
+ ...f
125
128
  }) {
126
129
  return /* @__PURE__ */ o(
127
- x,
130
+ l.Action,
128
131
  {
129
- className: l(r({ color: t }), a),
130
- ...c
132
+ className: r(c({ color: t }), a),
133
+ ...f
131
134
  }
132
135
  );
133
136
  }
134
- e(R, "AlertDialogAction");
135
- function F({
137
+ e(h, "AlertDialogAction");
138
+ function z({
136
139
  className: t,
137
140
  ...a
138
141
  }) {
139
142
  return /* @__PURE__ */ o(
140
- D,
143
+ l.Cancel,
141
144
  {
142
- className: l(r({ variant: "ghost", color: "dark" }), t),
145
+ className: r(
146
+ c({ variant: "ghost", color: "dark" }),
147
+ t
148
+ ),
143
149
  ...a
144
150
  }
145
151
  );
146
152
  }
147
- e(F, "AlertDialogCancel");
153
+ e(z, "AlertDialogCancel");
148
154
  export {
149
- C as AlertDialog,
150
- R as AlertDialogAction,
151
- F as AlertDialogCancel,
152
- z as AlertDialogContent,
153
- k as AlertDialogDescription,
154
- O as AlertDialogFooter,
155
- j as AlertDialogHeader,
156
- v as AlertDialogOverlay,
157
- A as AlertDialogPortal,
158
- P as AlertDialogTitle,
159
- h as AlertDialogTrigger
155
+ A as AlertDialog,
156
+ h as AlertDialogAction,
157
+ z as AlertDialogCancel,
158
+ N as AlertDialogContent,
159
+ w as AlertDialogDescription,
160
+ b as AlertDialogFooter,
161
+ v as AlertDialogHeader,
162
+ d as AlertDialogOverlay,
163
+ s as AlertDialogPortal,
164
+ y as AlertDialogTitle,
165
+ D as AlertDialogTrigger
160
166
  };
@@ -1,4 +1,4 @@
1
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
1
+ import { Avatar as AvatarPrimitive } from "radix-ui";
2
2
  declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
3
  declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +1,17 @@
1
- var r = Object.defineProperty;
2
- var c = (a, t) => r(a, "name", { value: t, configurable: !0 });
1
+ var l = Object.defineProperty;
2
+ var c = (a, t) => l(a, "name", { value: t, configurable: !0 });
3
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
- function d({
4
+ import { Avatar as f } from "radix-ui";
5
+ import { cn as r } from "../lib/utils.js";
6
+ function u({
7
7
  className: a,
8
8
  ...t
9
9
  }) {
10
10
  return /* @__PURE__ */ e(
11
- l,
11
+ f.Root,
12
12
  {
13
13
  "data-slot": "avatar",
14
- className: f(
14
+ className: r(
15
15
  "fc:relative fc:flex fc:size-8 fc:shrink-0 fc:overflow-hidden fc:rounded-full",
16
16
  a
17
17
  ),
@@ -19,30 +19,30 @@ function d({
19
19
  }
20
20
  );
21
21
  }
22
- c(d, "Avatar");
23
- function v({
22
+ c(u, "Avatar");
23
+ function m({
24
24
  className: a,
25
25
  ...t
26
26
  }) {
27
27
  return /* @__PURE__ */ e(
28
- o,
28
+ f.Image,
29
29
  {
30
30
  "data-slot": "avatar-image",
31
- className: f("fc:aspect-square fc:size-full", a),
31
+ className: r("fc:aspect-square fc:size-full", a),
32
32
  ...t
33
33
  }
34
34
  );
35
35
  }
36
- c(v, "AvatarImage");
37
- function p({
36
+ c(m, "AvatarImage");
37
+ function v({
38
38
  className: a,
39
39
  ...t
40
40
  }) {
41
41
  return /* @__PURE__ */ e(
42
- s,
42
+ f.Fallback,
43
43
  {
44
44
  "data-slot": "avatar-fallback",
45
- className: f(
45
+ className: r(
46
46
  "fc:bg-accent fc:flex fc:size-full fc:items-center fc:justify-center fc:rounded-full",
47
47
  a
48
48
  ),
@@ -50,9 +50,9 @@ function p({
50
50
  }
51
51
  );
52
52
  }
53
- c(p, "AvatarFallback");
53
+ c(v, "AvatarFallback");
54
54
  export {
55
- d as Avatar,
56
- p as AvatarFallback,
57
- v as AvatarImage
55
+ u as Avatar,
56
+ v as AvatarFallback,
57
+ m as AvatarImage
58
58
  };
@@ -1,10 +1,10 @@
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(
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
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: {
@@ -27,11 +27,12 @@ function m({
27
27
  asChild: t = !1,
28
28
  ...f
29
29
  }) {
30
- return /* @__PURE__ */ o(
31
- t ? n : "span",
30
+ const c = t ? s.Root : "span";
31
+ return /* @__PURE__ */ n(
32
+ c,
32
33
  {
33
34
  "data-slot": "badge",
34
- className: g(a({ variant: i }), r),
35
+ className: a(d({ variant: i }), r),
35
36
  ...f
36
37
  }
37
38
  );
@@ -39,5 +40,5 @@ function m({
39
40
  e(m, "Badge");
40
41
  export {
41
42
  m as Badge,
42
- a as badgeVariants
43
+ d as badgeVariants
43
44
  };
@@ -1,10 +1,10 @@
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(
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
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: {
@@ -136,11 +136,12 @@ function x({
136
136
  asChild: a = !1,
137
137
  ...i
138
138
  }) {
139
- return /* @__PURE__ */ s(
140
- a ? f : "button",
139
+ const n = a ? d.Root : "button";
140
+ return /* @__PURE__ */ f(
141
+ n,
141
142
  {
142
143
  "data-slot": "button",
143
- className: v(g({ variant: c, color: o, size: t, className: r })),
144
+ className: g(u({ variant: c, color: o, size: t, className: r })),
144
145
  ...i
145
146
  }
146
147
  );
@@ -148,5 +149,5 @@ function x({
148
149
  e(x, "Button");
149
150
  export {
150
151
  x as Button,
151
- g as buttonVariants
152
+ u as buttonVariants
152
153
  };
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
2
+ import { Checkbox as CheckboxPrimitive } from "radix-ui";
3
3
  declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
4
  export { Checkbox };
@@ -1,34 +1,34 @@
1
- var t = Object.defineProperty;
2
- var i = (c, e) => t(c, "name", { value: e, configurable: !0 });
3
- import { jsx as r } from "react/jsx-runtime";
4
- import { Checkbox as o, CheckboxIndicator as a } from "../node_modules/@radix-ui/react-checkbox/dist/index.js";
5
- import { CheckIcon as f } from "lucide-react";
6
- import { cn as n } from "../lib/utils.js";
7
- function h({
1
+ var o = Object.defineProperty;
2
+ var i = (c, r) => o(c, "name", { value: r, configurable: !0 });
3
+ import { jsx as e } from "react/jsx-runtime";
4
+ import { Checkbox as t } from "radix-ui";
5
+ import { CheckIcon as a } from "lucide-react";
6
+ import { cn as f } from "../lib/utils.js";
7
+ function u({
8
8
  className: c,
9
- ...e
9
+ ...r
10
10
  }) {
11
- return /* @__PURE__ */ r(
12
- o,
11
+ return /* @__PURE__ */ e(
12
+ t.Root,
13
13
  {
14
14
  "data-slot": "checkbox",
15
- className: n(
15
+ className: f(
16
16
  "fc:bg-input fc:peer fc:border-input-border fc:data-[state=checked]:bg-primary fc:data-[state=checked]:text-primary-foreground fc:data-[state=checked]:border-primary fc:focus-visible:border-ring fc:focus-visible:ring-ring/50 fc:aria-invalid:ring-destructive/20 fc:dark:aria-invalid:ring-destructive/40 fc:aria-invalid:border-destructive fc:size-4 fc:shrink-0 fc:rounded-[4px] fc:border fc:shadow-xs fc:transition-shadow fc:outline-none fc:focus-visible:ring-[3px] fc:disabled:cursor-not-allowed fc:disabled:opacity-50",
17
17
  c
18
18
  ),
19
- ...e,
20
- children: /* @__PURE__ */ r(
21
- a,
19
+ ...r,
20
+ children: /* @__PURE__ */ e(
21
+ t.Indicator,
22
22
  {
23
23
  "data-slot": "checkbox-indicator",
24
24
  className: "fc:flex fc:items-center fc:justify-center fc:text-current fc:transition-none",
25
- children: /* @__PURE__ */ r(f, { className: "fc:size-3.5" })
25
+ children: /* @__PURE__ */ e(a, { className: "fc:size-3.5" })
26
26
  }
27
27
  )
28
28
  }
29
29
  );
30
30
  }
31
- i(h, "Checkbox");
31
+ i(u, "Checkbox");
32
32
  export {
33
- h as Checkbox
33
+ u as Checkbox
34
34
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as DialogPrimitive from "@radix-ui/react-dialog";
2
+ import { Dialog as DialogPrimitive } from "radix-ui";
3
3
  declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;