@turingpaper/ui 0.0.1-test.3 → 0.0.1-test.5

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 (47) hide show
  1. package/dist/accordion.mjs +18 -18
  2. package/dist/alert-dialog.mjs +4 -4
  3. package/dist/avatar.mjs +13 -13
  4. package/dist/checkbox.mjs +1 -1
  5. package/dist/collapsible.mjs +4 -4
  6. package/dist/components/accordion.d.ts +5 -4
  7. package/dist/components/alert-dialog.d.ts +10 -10
  8. package/dist/components/avatar.d.ts +4 -3
  9. package/dist/components/chart.d.ts +12 -25
  10. package/dist/components/checkbox.d.ts +2 -1
  11. package/dist/components/collapsible.d.ts +4 -3
  12. package/dist/components/command.d.ts +2 -1
  13. package/dist/components/dialog.d.ts +9 -9
  14. package/dist/components/dropdown-menu.d.ts +20 -16
  15. package/dist/components/hover-card.d.ts +4 -3
  16. package/dist/components/label.d.ts +3 -1
  17. package/dist/components/popover.d.ts +4 -3
  18. package/dist/components/progress.d.ts +2 -1
  19. package/dist/components/radio-group.d.ts +3 -2
  20. package/dist/components/scroll-area.d.ts +3 -2
  21. package/dist/components/select.d.ts +11 -10
  22. package/dist/components/separator.d.ts +2 -1
  23. package/dist/components/sheet.d.ts +10 -10
  24. package/dist/components/slider.d.ts +2 -1
  25. package/dist/components/switch.d.ts +2 -1
  26. package/dist/components/tabs.d.ts +5 -4
  27. package/dist/components/toggle-group.d.ts +10 -2
  28. package/dist/components/toggle.d.ts +6 -1
  29. package/dist/components/tooltip.d.ts +5 -4
  30. package/dist/dialog.mjs +31 -31
  31. package/dist/dropdown-menu.mjs +8 -8
  32. package/dist/hover-card.mjs +4 -4
  33. package/dist/label.mjs +9 -9
  34. package/dist/popover.mjs +6 -6
  35. package/dist/progress.mjs +10 -10
  36. package/dist/radio-group.mjs +13 -13
  37. package/dist/scroll-area.mjs +11 -11
  38. package/dist/select.mjs +5 -5
  39. package/dist/separator.mjs +14 -14
  40. package/dist/sheet.mjs +11 -11
  41. package/dist/slider.mjs +7 -7
  42. package/dist/switch.mjs +6 -6
  43. package/dist/tabs.mjs +20 -20
  44. package/dist/toggle-group.mjs +18 -18
  45. package/dist/toggle.mjs +9 -9
  46. package/dist/tooltip.mjs +5 -5
  47. package/package.json +2 -2
package/dist/dialog.mjs CHANGED
@@ -1,34 +1,34 @@
1
1
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import * as l from "react";
3
- import * as e from "radix-ui";
2
+ import * as i from "react";
3
+ import { Dialog as a } from "radix-ui";
4
4
  import { X as c } from "lucide-react";
5
- import { cn as i } from "./utils.mjs";
6
- const b = e.Root, w = e.Trigger, m = e.Portal, h = e.Close, d = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
7
- e.Overlay,
5
+ import { cn as l } from "./utils.mjs";
6
+ const h = a.Root, w = a.Trigger, m = a.Portal, v = a.Close, d = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
7
+ a.Overlay,
8
8
  {
9
9
  ref: s,
10
- className: i(
10
+ className: l(
11
11
  "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
12
- a
12
+ e
13
13
  ),
14
14
  ...t
15
15
  }
16
16
  ));
17
- d.displayName = e.Overlay.displayName;
18
- const f = l.forwardRef(({ className: a, children: t, ...s }, r) => /* @__PURE__ */ n(m, { children: [
17
+ d.displayName = a.Overlay.displayName;
18
+ const f = i.forwardRef(({ className: e, children: t, ...s }, r) => /* @__PURE__ */ n(m, { children: [
19
19
  /* @__PURE__ */ o(d, {}),
20
20
  /* @__PURE__ */ n(
21
- e.Content,
21
+ a.Content,
22
22
  {
23
23
  ref: r,
24
- className: i(
24
+ className: l(
25
25
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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%] sm:rounded-lg",
26
- a
26
+ e
27
27
  ),
28
28
  ...s,
29
29
  children: [
30
30
  t,
31
- /* @__PURE__ */ n(e.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
31
+ /* @__PURE__ */ n(a.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
32
32
  /* @__PURE__ */ o(c, { className: "h-4 w-4" }),
33
33
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
34
34
  ] })
@@ -36,59 +36,59 @@ const f = l.forwardRef(({ className: a, children: t, ...s }, r) => /* @__PURE__
36
36
  }
37
37
  )
38
38
  ] }));
39
- f.displayName = e.Content.displayName;
39
+ f.displayName = a.Content.displayName;
40
40
  const p = ({
41
- className: a,
41
+ className: e,
42
42
  ...t
43
43
  }) => /* @__PURE__ */ o(
44
44
  "div",
45
45
  {
46
- className: i(
46
+ className: l(
47
47
  "flex flex-col space-y-1.5 text-center sm:text-left",
48
- a
48
+ e
49
49
  ),
50
50
  ...t
51
51
  }
52
52
  );
53
53
  p.displayName = "DialogHeader";
54
54
  const g = ({
55
- className: a,
55
+ className: e,
56
56
  ...t
57
57
  }) => /* @__PURE__ */ o(
58
58
  "div",
59
59
  {
60
- className: i(
60
+ className: l(
61
61
  "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
62
- a
62
+ e
63
63
  ),
64
64
  ...t
65
65
  }
66
66
  );
67
67
  g.displayName = "DialogFooter";
68
- const u = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
69
- e.Title,
68
+ const u = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
69
+ a.Title,
70
70
  {
71
71
  ref: s,
72
- className: i(
72
+ className: l(
73
73
  "text-lg font-semibold leading-none tracking-tight",
74
- a
74
+ e
75
75
  ),
76
76
  ...t
77
77
  }
78
78
  ));
79
- u.displayName = e.Title.displayName;
80
- const y = l.forwardRef(({ className: a, ...t }, s) => /* @__PURE__ */ o(
81
- e.Description,
79
+ u.displayName = a.Title.displayName;
80
+ const y = i.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ o(
81
+ a.Description,
82
82
  {
83
83
  ref: s,
84
- className: i("text-sm text-muted-foreground", a),
84
+ className: l("text-sm text-muted-foreground", e),
85
85
  ...t
86
86
  }
87
87
  ));
88
- y.displayName = e.Description.displayName;
88
+ y.displayName = a.Description.displayName;
89
89
  export {
90
- b as Dialog,
91
- h as DialogClose,
90
+ h as Dialog,
91
+ v as DialogClose,
92
92
  f as DialogContent,
93
93
  y as DialogDescription,
94
94
  g as DialogFooter,
@@ -1,9 +1,9 @@
1
1
  import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import * as e from "radix-ui";
3
+ import { DropdownMenu as e } from "radix-ui";
4
4
  import { ChevronRight as m, Check as c, Circle as p } from "lucide-react";
5
5
  import { cn as s } from "./utils.mjs";
6
- const R = e.Root, I = e.Trigger, S = e.Group, C = e.Portal, z = e.Sub, k = e.RadioGroup, u = d.forwardRef(({ className: o, inset: t, children: a, ...r }, i) => /* @__PURE__ */ l(
6
+ const I = e.Root, S = e.Trigger, C = e.Group, z = e.Portal, k = e.Sub, _ = e.RadioGroup, u = d.forwardRef(({ className: o, inset: t, children: a, ...r }, i) => /* @__PURE__ */ l(
7
7
  e.SubTrigger,
8
8
  {
9
9
  ref: i,
@@ -125,19 +125,19 @@ const y = ({
125
125
  );
126
126
  y.displayName = "DropdownMenuShortcut";
127
127
  export {
128
- R as DropdownMenu,
128
+ I as DropdownMenu,
129
129
  b as DropdownMenuCheckboxItem,
130
130
  g as DropdownMenuContent,
131
- S as DropdownMenuGroup,
131
+ C as DropdownMenuGroup,
132
132
  w as DropdownMenuItem,
133
133
  x as DropdownMenuLabel,
134
- C as DropdownMenuPortal,
135
- k as DropdownMenuRadioGroup,
134
+ z as DropdownMenuPortal,
135
+ _ as DropdownMenuRadioGroup,
136
136
  h as DropdownMenuRadioItem,
137
137
  N as DropdownMenuSeparator,
138
138
  y as DropdownMenuShortcut,
139
- z as DropdownMenuSub,
139
+ k as DropdownMenuSub,
140
140
  f as DropdownMenuSubContent,
141
141
  u as DropdownMenuSubTrigger,
142
- I as DropdownMenuTrigger
142
+ S as DropdownMenuTrigger
143
143
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import * as o from "radix-ui";
3
+ import { HoverCard as o } from "radix-ui";
4
4
  import { cn as s } from "./utils.mjs";
5
- const l = o.Root, c = o.Trigger, m = n.forwardRef(({ className: t, align: e = "center", sideOffset: a = 4, ...r }, d) => /* @__PURE__ */ i(
5
+ const c = o.Root, g = o.Trigger, m = n.forwardRef(({ className: t, align: e = "center", sideOffset: a = 4, ...r }, d) => /* @__PURE__ */ i(
6
6
  o.Content,
7
7
  {
8
8
  ref: d,
@@ -17,7 +17,7 @@ const l = o.Root, c = o.Trigger, m = n.forwardRef(({ className: t, align: e = "c
17
17
  ));
18
18
  m.displayName = o.Content.displayName;
19
19
  export {
20
- l as HoverCard,
20
+ c as HoverCard,
21
21
  m as HoverCardContent,
22
- c as HoverCardTrigger
22
+ g as HoverCardTrigger
23
23
  };
package/dist/label.mjs CHANGED
@@ -1,19 +1,19 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import * as m from "react";
3
- import * as o from "radix-ui";
4
- import { cva as i } from "class-variance-authority";
5
- import { cn as s } from "./utils.mjs";
6
- const p = i(
3
+ import { Label as o } from "radix-ui";
4
+ import { cva as s } from "class-variance-authority";
5
+ import { cn as i } from "./utils.mjs";
6
+ const l = s(
7
7
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
8
- ), d = m.forwardRef(({ className: e, ...a }, r) => /* @__PURE__ */ t(
8
+ ), p = m.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ t(
9
9
  o.Root,
10
10
  {
11
11
  ref: r,
12
- className: s(p(), e),
13
- ...a
12
+ className: i(l(), a),
13
+ ...e
14
14
  }
15
15
  ));
16
- d.displayName = o.Root.displayName;
16
+ p.displayName = o.Root.displayName;
17
17
  export {
18
- d as Label
18
+ p as Label
19
19
  };
package/dist/popover.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
- import * as o from "radix-ui";
3
+ import { Popover as o } from "radix-ui";
4
4
  import { cn as s } from "./utils.mjs";
5
- const l = o.Root, c = o.Trigger, m = n.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...i }, d) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
5
+ const c = o.Root, g = o.Trigger, m = n.forwardRef(({ className: e, align: a = "center", sideOffset: r = 4, ...d }, i) => /* @__PURE__ */ t(o.Portal, { children: /* @__PURE__ */ t(
6
6
  o.Content,
7
7
  {
8
- ref: d,
8
+ ref: i,
9
9
  align: a,
10
10
  sideOffset: r,
11
11
  className: s(
12
12
  "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
13
13
  e
14
14
  ),
15
- ...i
15
+ ...d
16
16
  }
17
17
  ) }));
18
18
  m.displayName = o.Content.displayName;
19
19
  export {
20
- l as Popover,
20
+ c as Popover,
21
21
  m as PopoverContent,
22
- c as PopoverTrigger
22
+ g as PopoverTrigger
23
23
  };
package/dist/progress.mjs CHANGED
@@ -1,26 +1,26 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import * as s from "react";
3
- import * as r from "radix-ui";
4
- import { cn as i } from "./utils.mjs";
5
- const m = s.forwardRef(({ className: a, value: e, ...l }, t) => /* @__PURE__ */ o(
2
+ import * as t from "react";
3
+ import { Progress as r } from "radix-ui";
4
+ import { cn as m } from "./utils.mjs";
5
+ const f = t.forwardRef(({ className: a, value: s, ...e }, l) => /* @__PURE__ */ o(
6
6
  r.Root,
7
7
  {
8
- ref: t,
9
- className: i(
8
+ ref: l,
9
+ className: m(
10
10
  "relative h-4 w-full overflow-hidden rounded-full bg-secondary",
11
11
  a
12
12
  ),
13
- ...l,
13
+ ...e,
14
14
  children: /* @__PURE__ */ o(
15
15
  r.Indicator,
16
16
  {
17
17
  className: "h-full w-full flex-1 bg-primary transition-all",
18
- style: { transform: `translateX(-${100 - (e || 0)}%)` }
18
+ style: { transform: `translateX(-${100 - (s || 0)}%)` }
19
19
  }
20
20
  )
21
21
  }
22
22
  ));
23
- m.displayName = r.Root.displayName;
23
+ f.displayName = r.Root.displayName;
24
24
  export {
25
- m as Progress
25
+ f as Progress
26
26
  };
@@ -1,31 +1,31 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import * as t from "react";
3
- import * as r from "radix-ui";
4
- import { Circle as m } from "lucide-react";
5
- import { cn as s } from "./utils.mjs";
6
- const n = t.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
2
+ import * as s from "react";
3
+ import { RadioGroup as r } from "radix-ui";
4
+ import { Circle as c } from "lucide-react";
5
+ import { cn as t } from "./utils.mjs";
6
+ const d = s.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
7
7
  r.Root,
8
8
  {
9
- className: s("grid gap-2", o),
9
+ className: t("grid gap-2", o),
10
10
  ...i,
11
11
  ref: a
12
12
  }
13
13
  ));
14
- n.displayName = r.Root.displayName;
15
- const c = t.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
14
+ d.displayName = r.Root.displayName;
15
+ const l = s.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ e(
16
16
  r.Item,
17
17
  {
18
18
  ref: a,
19
- className: s(
19
+ className: t(
20
20
  "aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
21
21
  o
22
22
  ),
23
23
  ...i,
24
- children: /* @__PURE__ */ e(r.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e(m, { className: "h-2.5 w-2.5 fill-current text-current" }) })
24
+ children: /* @__PURE__ */ e(r.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ e(c, { className: "h-2.5 w-2.5 fill-current text-current" }) })
25
25
  }
26
26
  ));
27
- c.displayName = r.Item.displayName;
27
+ l.displayName = r.Item.displayName;
28
28
  export {
29
- n as RadioGroup,
30
- c as RadioGroupItem
29
+ d as RadioGroup,
30
+ l as RadioGroupItem
31
31
  };
@@ -1,12 +1,12 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import * as t from "react";
3
- import * as r from "radix-ui";
4
- import { cn as c } from "./utils.mjs";
5
- const n = t.forwardRef(({ className: o, children: l, ...a }, s) => /* @__PURE__ */ i(
2
+ import * as s from "react";
3
+ import { ScrollArea as r } from "radix-ui";
4
+ import { cn as t } from "./utils.mjs";
5
+ const m = s.forwardRef(({ className: o, children: l, ...a }, c) => /* @__PURE__ */ i(
6
6
  r.Root,
7
7
  {
8
- ref: s,
9
- className: c("relative overflow-hidden", o),
8
+ ref: c,
9
+ className: t("relative overflow-hidden", o),
10
10
  ...a,
11
11
  children: [
12
12
  /* @__PURE__ */ e(r.Viewport, { className: "h-full w-full rounded-[inherit]", children: l }),
@@ -15,13 +15,13 @@ const n = t.forwardRef(({ className: o, children: l, ...a }, s) => /* @__PURE__
15
15
  ]
16
16
  }
17
17
  ));
18
- n.displayName = r.Root.displayName;
19
- const d = t.forwardRef(({ className: o, orientation: l = "vertical", ...a }, s) => /* @__PURE__ */ e(
18
+ m.displayName = r.Root.displayName;
19
+ const d = s.forwardRef(({ className: o, orientation: l = "vertical", ...a }, c) => /* @__PURE__ */ e(
20
20
  r.ScrollAreaScrollbar,
21
21
  {
22
- ref: s,
22
+ ref: c,
23
23
  orientation: l,
24
- className: c(
24
+ className: t(
25
25
  "flex touch-none select-none transition-colors",
26
26
  l === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
27
27
  l === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
@@ -33,6 +33,6 @@ const d = t.forwardRef(({ className: o, orientation: l = "vertical", ...a }, s)
33
33
  ));
34
34
  d.displayName = r.ScrollAreaScrollbar.displayName;
35
35
  export {
36
- n as ScrollArea,
36
+ m as ScrollArea,
37
37
  d as ScrollBar
38
38
  };
package/dist/select.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import * as e from "radix-ui";
3
+ import { Select as e } from "radix-ui";
4
4
  import { ChevronDown as i, ChevronUp as f, Check as u } from "lucide-react";
5
5
  import { cn as l } from "./utils.mjs";
6
- const v = e.Root, R = e.Group, C = e.Value, h = s.forwardRef(({ className: o, children: r, ...a }, d) => /* @__PURE__ */ n(
6
+ const R = e.Root, C = e.Group, I = e.Value, h = s.forwardRef(({ className: o, children: r, ...a }, d) => /* @__PURE__ */ n(
7
7
  e.Trigger,
8
8
  {
9
9
  ref: d,
@@ -108,14 +108,14 @@ const N = s.forwardRef(({ className: o, ...r }, a) => /* @__PURE__ */ t(
108
108
  ));
109
109
  N.displayName = e.Separator.displayName;
110
110
  export {
111
- v as Select,
111
+ R as Select,
112
112
  g as SelectContent,
113
- R as SelectGroup,
113
+ C as SelectGroup,
114
114
  w as SelectItem,
115
115
  y as SelectLabel,
116
116
  m as SelectScrollDownButton,
117
117
  c as SelectScrollUpButton,
118
118
  N as SelectSeparator,
119
119
  h as SelectTrigger,
120
- C as SelectValue
120
+ I as SelectValue
121
121
  };
@@ -1,24 +1,24 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import * as i from "react";
3
- import * as r from "radix-ui";
4
- import { cn as l } from "./utils.mjs";
5
- const s = i.forwardRef(
6
- ({ className: a, orientation: o = "horizontal", decorative: m = !0, ...t }, p) => /* @__PURE__ */ e(
7
- r.Root,
2
+ import * as l from "react";
3
+ import { Separator as o } from "radix-ui";
4
+ import { cn as s } from "./utils.mjs";
5
+ const f = l.forwardRef(
6
+ ({ className: a, orientation: r = "horizontal", decorative: t = !0, ...p }, m) => /* @__PURE__ */ e(
7
+ o.Root,
8
8
  {
9
- ref: p,
10
- decorative: m,
11
- orientation: o,
12
- className: l(
9
+ ref: m,
10
+ decorative: t,
11
+ orientation: r,
12
+ className: s(
13
13
  "shrink-0 bg-border",
14
- o === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
14
+ r === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
15
15
  a
16
16
  ),
17
- ...t
17
+ ...p
18
18
  }
19
19
  )
20
20
  );
21
- s.displayName = r.Root.displayName;
21
+ f.displayName = o.Root.displayName;
22
22
  export {
23
- s as Separator
23
+ f as Separator
24
24
  };
package/dist/sheet.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
- import * as e from "radix-ui";
3
+ import { Dialog as e } from "radix-ui";
4
4
  import { cva as c } from "class-variance-authority";
5
5
  import { X as f } from "lucide-react";
6
6
  import { cn as i } from "./utils.mjs";
7
- const C = e.Root, R = e.Trigger, T = e.Close, p = e.Portal, d = r.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ o(
7
+ const R = e.Root, T = e.Trigger, D = e.Close, p = e.Portal, d = r.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ o(
8
8
  e.Overlay,
9
9
  {
10
10
  className: i(
@@ -31,7 +31,7 @@ const h = c(
31
31
  side: "right"
32
32
  }
33
33
  }
34
- ), u = r.forwardRef(({ side: t = "right", className: a, children: s, ...l }, m) => /* @__PURE__ */ n(p, { children: [
34
+ ), g = r.forwardRef(({ side: t = "right", className: a, children: s, ...l }, m) => /* @__PURE__ */ n(p, { children: [
35
35
  /* @__PURE__ */ o(d, {}),
36
36
  /* @__PURE__ */ n(
37
37
  e.Content,
@@ -49,8 +49,8 @@ const h = c(
49
49
  }
50
50
  )
51
51
  ] }));
52
- u.displayName = e.Content.displayName;
53
- const g = ({
52
+ g.displayName = e.Content.displayName;
53
+ const u = ({
54
54
  className: t,
55
55
  ...a
56
56
  }) => /* @__PURE__ */ o(
@@ -63,7 +63,7 @@ const g = ({
63
63
  ...a
64
64
  }
65
65
  );
66
- g.displayName = "SheetHeader";
66
+ u.displayName = "SheetHeader";
67
67
  const y = ({
68
68
  className: t,
69
69
  ...a
@@ -97,14 +97,14 @@ const N = r.forwardRef(({ className: t, ...a }, s) => /* @__PURE__ */ o(
97
97
  ));
98
98
  N.displayName = e.Description.displayName;
99
99
  export {
100
- C as Sheet,
101
- T as SheetClose,
102
- u as SheetContent,
100
+ R as Sheet,
101
+ D as SheetClose,
102
+ g as SheetContent,
103
103
  N as SheetDescription,
104
104
  y as SheetFooter,
105
- g as SheetHeader,
105
+ u as SheetHeader,
106
106
  d as SheetOverlay,
107
107
  p as SheetPortal,
108
108
  x as SheetTitle,
109
- R as SheetTrigger
109
+ T as SheetTrigger
110
110
  };
package/dist/slider.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import * as e from "radix-ui";
4
- import { cn as a } from "./utils.mjs";
5
- const t = n.forwardRef(({ className: r, ...i }, s) => /* @__PURE__ */ l(
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import * as a from "react";
3
+ import { Slider as e } from "radix-ui";
4
+ import { cn as n } from "./utils.mjs";
5
+ const t = a.forwardRef(({ className: r, ...i }, l) => /* @__PURE__ */ s(
6
6
  e.Root,
7
7
  {
8
- ref: s,
9
- className: a(
8
+ ref: l,
9
+ className: n(
10
10
  "relative flex w-full touch-none select-none items-center",
11
11
  r
12
12
  ),
package/dist/switch.mjs CHANGED
@@ -1,20 +1,20 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import * as e from "radix-ui";
4
- import { cn as o } from "./utils.mjs";
5
- const n = s.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ r(
3
+ import { Switch as e } from "radix-ui";
4
+ import { cn as t } from "./utils.mjs";
5
+ const n = s.forwardRef(({ className: o, ...i }, a) => /* @__PURE__ */ r(
6
6
  e.Root,
7
7
  {
8
- className: o(
8
+ className: t(
9
9
  "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
10
- t
10
+ o
11
11
  ),
12
12
  ...i,
13
13
  ref: a,
14
14
  children: /* @__PURE__ */ r(
15
15
  e.Thumb,
16
16
  {
17
- className: o(
17
+ className: t(
18
18
  "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
19
19
  )
20
20
  }
package/dist/tabs.mjs CHANGED
@@ -1,45 +1,45 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import * as e from "radix-ui";
4
- import { cn as a } from "./utils.mjs";
5
- const l = e.Root, r = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import * as o from "react";
3
+ import { Tabs as e } from "radix-ui";
4
+ import { cn as n } from "./utils.mjs";
5
+ const g = e.Root, r = o.forwardRef(({ className: s, ...i }, t) => /* @__PURE__ */ a(
6
6
  e.List,
7
7
  {
8
- ref: s,
9
- className: a(
8
+ ref: t,
9
+ className: n(
10
10
  "inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",
11
- i
11
+ s
12
12
  ),
13
- ...t
13
+ ...i
14
14
  }
15
15
  ));
16
16
  r.displayName = e.List.displayName;
17
- const f = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
17
+ const f = o.forwardRef(({ className: s, ...i }, t) => /* @__PURE__ */ a(
18
18
  e.Trigger,
19
19
  {
20
- ref: s,
21
- className: a(
20
+ ref: t,
21
+ className: n(
22
22
  "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",
23
- i
23
+ s
24
24
  ),
25
- ...t
25
+ ...i
26
26
  }
27
27
  ));
28
28
  f.displayName = e.Trigger.displayName;
29
- const d = n.forwardRef(({ className: i, ...t }, s) => /* @__PURE__ */ o(
29
+ const d = o.forwardRef(({ className: s, ...i }, t) => /* @__PURE__ */ a(
30
30
  e.Content,
31
31
  {
32
- ref: s,
33
- className: a(
32
+ ref: t,
33
+ className: n(
34
34
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
35
- i
35
+ s
36
36
  ),
37
- ...t
37
+ ...i
38
38
  }
39
39
  ));
40
40
  d.displayName = e.Content.displayName;
41
41
  export {
42
- l as Tabs,
42
+ g as Tabs,
43
43
  d as TabsContent,
44
44
  r as TabsList,
45
45
  f as TabsTrigger