@vlrc-fe/components 1.0.9 → 1.0.11

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 (120) hide show
  1. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  2. package/dist/index100.js +30 -17
  3. package/dist/index101.cjs +1 -1
  4. package/dist/index102.js +35 -19
  5. package/dist/index103.cjs +1 -1
  6. package/dist/index103.js +29 -19
  7. package/dist/index104.cjs +1 -1
  8. package/dist/index104.js +98 -55
  9. package/dist/index105.cjs +1 -1
  10. package/dist/index105.js +86 -48
  11. package/dist/index106.cjs +1 -1
  12. package/dist/index106.js +12 -6
  13. package/dist/index107.cjs +1 -1
  14. package/dist/index107.js +23 -16
  15. package/dist/index108.cjs +1 -1
  16. package/dist/index108.js +205 -120
  17. package/dist/index109.cjs +1 -1
  18. package/dist/index11.js +105 -53
  19. package/dist/index113.js +12 -6
  20. package/dist/index114.cjs +1 -1
  21. package/dist/index115.js +18 -10
  22. package/dist/index116.cjs +1 -1
  23. package/dist/index116.js +82 -41
  24. package/dist/index117.cjs +1 -1
  25. package/dist/index118.js +42 -21
  26. package/dist/index119.cjs +1 -1
  27. package/dist/index119.js +12 -6
  28. package/dist/index12.cjs +1 -1
  29. package/dist/index120.cjs +1 -1
  30. package/dist/index121.js +18 -12
  31. package/dist/index122.cjs +1 -1
  32. package/dist/index123.js +42 -28
  33. package/dist/index124.cjs +1 -1
  34. package/dist/index126.js +86 -57
  35. package/dist/index127.cjs +1 -1
  36. package/dist/index127.js +30 -17
  37. package/dist/index128.cjs +1 -1
  38. package/dist/index128.js +42 -27
  39. package/dist/index129.cjs +1 -1
  40. package/dist/index129.js +31 -18
  41. package/dist/index130.cjs +1 -1
  42. package/dist/index132.js +50 -23
  43. package/dist/index133.cjs +1 -1
  44. package/dist/index133.js +28 -14
  45. package/dist/index134.cjs +1 -1
  46. package/dist/index135.js +147 -99
  47. package/dist/index136.cjs +1 -1
  48. package/dist/index138.js +242 -170
  49. package/dist/index139.cjs +1 -1
  50. package/dist/index14.js +9 -5
  51. package/dist/index141.js +21 -10
  52. package/dist/index142.cjs +1 -1
  53. package/dist/index15.cjs +1 -1
  54. package/dist/index18.js +32 -16
  55. package/dist/index186.js +57 -44
  56. package/dist/index187.cjs +1 -1
  57. package/dist/index187.js +56 -48
  58. package/dist/index188.cjs +1 -1
  59. package/dist/index188.js +16 -12
  60. package/dist/index189.cjs +1 -1
  61. package/dist/index19.cjs +1 -1
  62. package/dist/index191.js +36 -23
  63. package/dist/index192.cjs +1 -1
  64. package/dist/index197.js +18 -15
  65. package/dist/index198.cjs +1 -1
  66. package/dist/index20.js +79 -41
  67. package/dist/index200.js +49 -33
  68. package/dist/index201.cjs +1 -1
  69. package/dist/index201.js +20 -11
  70. package/dist/index202.cjs +1 -1
  71. package/dist/index21.cjs +1 -1
  72. package/dist/index21.js +30 -23
  73. package/dist/index22.cjs +1 -1
  74. package/dist/index22.js +75 -39
  75. package/dist/index23.cjs +1 -1
  76. package/dist/index26.js +39 -28
  77. package/dist/index27.cjs +1 -1
  78. package/dist/index27.js +20 -12
  79. package/dist/index28.cjs +1 -1
  80. package/dist/index33.js +23 -13
  81. package/dist/index34.cjs +1 -1
  82. package/dist/index34.js +87 -49
  83. package/dist/index35.cjs +1 -1
  84. package/dist/index35.js +86 -45
  85. package/dist/index36.cjs +1 -1
  86. package/dist/index4.js +49 -26
  87. package/dist/index5.cjs +1 -1
  88. package/dist/index5.js +34 -18
  89. package/dist/index6.cjs +1 -1
  90. package/dist/index75.js +142 -77
  91. package/dist/index76.cjs +1 -1
  92. package/dist/index77.js +96 -49
  93. package/dist/index78.cjs +1 -1
  94. package/dist/index78.js +137 -77
  95. package/dist/index79.cjs +1 -1
  96. package/dist/index79.js +13 -7
  97. package/dist/index80.cjs +1 -1
  98. package/dist/index81.js +130 -63
  99. package/dist/index82.cjs +1 -1
  100. package/dist/index82.js +201 -158
  101. package/dist/index83.cjs +1 -1
  102. package/dist/index84.js +97 -59
  103. package/dist/index85.cjs +1 -1
  104. package/dist/index86.js +17 -10
  105. package/dist/index87.cjs +1 -1
  106. package/dist/index87.js +13 -7
  107. package/dist/index88.cjs +1 -1
  108. package/dist/index89.js +54 -28
  109. package/dist/index90.cjs +1 -1
  110. package/dist/index90.js +94 -53
  111. package/dist/index91.cjs +1 -1
  112. package/dist/index92.js +156 -89
  113. package/dist/index93.cjs +1 -1
  114. package/dist/index96.js +89 -47
  115. package/dist/index97.cjs +1 -1
  116. package/dist/index97.js +78 -43
  117. package/dist/index98.cjs +1 -1
  118. package/dist/index98.js +27 -17
  119. package/dist/index99.cjs +1 -1
  120. package/package.json +1 -1
package/dist/index105.js CHANGED
@@ -3,45 +3,63 @@ import { cn as e } from "./index3.js";
3
3
  import { XIcon as t } from "lucide-react";
4
4
  import "react";
5
5
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
- import * as i from "@radix-ui/react-dialog";
6
+ import { c as i } from "react/compiler-runtime";
7
+ import * as a from "@radix-ui/react-dialog";
7
8
  //#region src/ui/sheet.tsx
8
- function a({ ...e }) {
9
- return /* @__PURE__ */ n(i.Root, {
9
+ function o(e) {
10
+ let t = i(4), r;
11
+ t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
12
+ let o;
13
+ return t[2] === r ? o = t[3] : (o = /* @__PURE__ */ n(a.Root, {
10
14
  "data-slot": "sheet",
11
- ...e
12
- });
15
+ ...r
16
+ }), t[2] = r, t[3] = o), o;
13
17
  }
14
- function o({ ...e }) {
15
- return /* @__PURE__ */ n(i.Trigger, {
18
+ function s(e) {
19
+ let t = i(4), r;
20
+ t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
21
+ let o;
22
+ return t[2] === r ? o = t[3] : (o = /* @__PURE__ */ n(a.Trigger, {
16
23
  "data-slot": "sheet-trigger",
17
- ...e
18
- });
24
+ ...r
25
+ }), t[2] = r, t[3] = o), o;
19
26
  }
20
- function s({ ...e }) {
21
- return /* @__PURE__ */ n(i.Close, {
27
+ function c(e) {
28
+ let t = i(4), r;
29
+ t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
30
+ let o;
31
+ return t[2] === r ? o = t[3] : (o = /* @__PURE__ */ n(a.Close, {
22
32
  "data-slot": "sheet-close",
23
- ...e
24
- });
33
+ ...r
34
+ }), t[2] = r, t[3] = o), o;
25
35
  }
26
- function c({ ...e }) {
27
- return /* @__PURE__ */ n(i.Portal, {
36
+ function l(e) {
37
+ let t = i(4), r;
38
+ t[0] === e ? r = t[1] : ({...r} = e, t[0] = e, t[1] = r);
39
+ let o;
40
+ return t[2] === r ? o = t[3] : (o = /* @__PURE__ */ n(a.Portal, {
28
41
  "data-slot": "sheet-portal",
29
- ...e
30
- });
42
+ ...r
43
+ }), t[2] = r, t[3] = o), o;
31
44
  }
32
- function l({ className: t, ...r }) {
33
- return /* @__PURE__ */ n(i.Overlay, {
45
+ function u(t) {
46
+ let r = i(8), o, s;
47
+ r[0] === t ? (o = r[1], s = r[2]) : ({className: o, ...s} = t, r[0] = t, r[1] = o, r[2] = s);
48
+ let c;
49
+ r[3] === o ? c = r[4] : (c = e("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", o), r[3] = o, r[4] = c);
50
+ let l;
51
+ return r[5] !== s || r[6] !== c ? (l = /* @__PURE__ */ n(a.Overlay, {
34
52
  "data-slot": "sheet-overlay",
35
- className: e("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", t),
36
- ...r
37
- });
53
+ className: c,
54
+ ...s
55
+ }), r[5] = s, r[6] = c, r[7] = l) : l = r[7], l;
38
56
  }
39
- function u({ className: a, children: o, side: s = "right", ...u }) {
40
- return /* @__PURE__ */ r(c, { children: [/* @__PURE__ */ n(l, {}), /* @__PURE__ */ r(i.Content, {
57
+ function d({ className: i, children: o, side: s = "right", ...c }) {
58
+ return /* @__PURE__ */ r(l, { children: [/* @__PURE__ */ n(u, {}), /* @__PURE__ */ r(a.Content, {
41
59
  "data-slot": "sheet-content",
42
- className: e("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", s === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", s === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", s === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", s === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", a),
43
- ...u,
44
- children: [o, /* @__PURE__ */ r(i.Close, {
60
+ className: e("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", s === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", s === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", s === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", s === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", i),
61
+ ...c,
62
+ children: [o, /* @__PURE__ */ r(a.Close, {
45
63
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",
46
64
  children: [/* @__PURE__ */ n(t, { className: "size-4" }), /* @__PURE__ */ n("span", {
47
65
  className: "sr-only",
@@ -50,33 +68,53 @@ function u({ className: a, children: o, side: s = "right", ...u }) {
50
68
  })]
51
69
  })] });
52
70
  }
53
- function d({ className: t, ...r }) {
54
- return /* @__PURE__ */ n("div", {
71
+ function f(t) {
72
+ let r = i(8), a, o;
73
+ r[0] === t ? (a = r[1], o = r[2]) : ({className: a, ...o} = t, r[0] = t, r[1] = a, r[2] = o);
74
+ let s;
75
+ r[3] === a ? s = r[4] : (s = e("flex flex-col gap-1.5 p-4", a), r[3] = a, r[4] = s);
76
+ let c;
77
+ return r[5] !== o || r[6] !== s ? (c = /* @__PURE__ */ n("div", {
55
78
  "data-slot": "sheet-header",
56
- className: e("flex flex-col gap-1.5 p-4", t),
57
- ...r
58
- });
79
+ className: s,
80
+ ...o
81
+ }), r[5] = o, r[6] = s, r[7] = c) : c = r[7], c;
59
82
  }
60
- function f({ className: t, ...r }) {
61
- return /* @__PURE__ */ n("div", {
83
+ function p(t) {
84
+ let r = i(8), a, o;
85
+ r[0] === t ? (a = r[1], o = r[2]) : ({className: a, ...o} = t, r[0] = t, r[1] = a, r[2] = o);
86
+ let s;
87
+ r[3] === a ? s = r[4] : (s = e("mt-auto flex flex-col gap-2 p-4", a), r[3] = a, r[4] = s);
88
+ let c;
89
+ return r[5] !== o || r[6] !== s ? (c = /* @__PURE__ */ n("div", {
62
90
  "data-slot": "sheet-footer",
63
- className: e("mt-auto flex flex-col gap-2 p-4", t),
64
- ...r
65
- });
91
+ className: s,
92
+ ...o
93
+ }), r[5] = o, r[6] = s, r[7] = c) : c = r[7], c;
66
94
  }
67
- function p({ className: t, ...r }) {
68
- return /* @__PURE__ */ n(i.Title, {
95
+ function m(t) {
96
+ let r = i(8), o, s;
97
+ r[0] === t ? (o = r[1], s = r[2]) : ({className: o, ...s} = t, r[0] = t, r[1] = o, r[2] = s);
98
+ let c;
99
+ r[3] === o ? c = r[4] : (c = e("text-foreground font-semibold", o), r[3] = o, r[4] = c);
100
+ let l;
101
+ return r[5] !== s || r[6] !== c ? (l = /* @__PURE__ */ n(a.Title, {
69
102
  "data-slot": "sheet-title",
70
- className: e("text-foreground font-semibold", t),
71
- ...r
72
- });
103
+ className: c,
104
+ ...s
105
+ }), r[5] = s, r[6] = c, r[7] = l) : l = r[7], l;
73
106
  }
74
- function m({ className: t, ...r }) {
75
- return /* @__PURE__ */ n(i.Description, {
107
+ function h(t) {
108
+ let r = i(8), o, s;
109
+ r[0] === t ? (o = r[1], s = r[2]) : ({className: o, ...s} = t, r[0] = t, r[1] = o, r[2] = s);
110
+ let c;
111
+ r[3] === o ? c = r[4] : (c = e("text-muted-foreground text-sm", o), r[3] = o, r[4] = c);
112
+ let l;
113
+ return r[5] !== s || r[6] !== c ? (l = /* @__PURE__ */ n(a.Description, {
76
114
  "data-slot": "sheet-description",
77
- className: e("text-muted-foreground text-sm", t),
78
- ...r
79
- });
115
+ className: c,
116
+ ...s
117
+ }), r[5] = s, r[6] = c, r[7] = l) : l = r[7], l;
80
118
  }
81
119
  //#endregion
82
- export { a as Sheet, s as SheetClose, u as SheetContent, m as SheetDescription, f as SheetFooter, d as SheetHeader, p as SheetTitle, o as SheetTrigger };
120
+ export { o as Sheet, c as SheetClose, d as SheetContent, h as SheetDescription, p as SheetFooter, f as SheetHeader, m as SheetTitle, s as SheetTrigger };
package/dist/index106.cjs CHANGED
@@ -1 +1 @@
1
- "use client";const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("lucide-react"),r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("@radix-ui/react-dialog");a=e.__toESM(a,1);function o({...e}){return(0,i.jsx)(a.Root,{"data-slot":`sheet`,...e})}function s({...e}){return(0,i.jsx)(a.Trigger,{"data-slot":`sheet-trigger`,...e})}function c({...e}){return(0,i.jsx)(a.Close,{"data-slot":`sheet-close`,...e})}function l({...e}){return(0,i.jsx)(a.Portal,{"data-slot":`sheet-portal`,...e})}function u({className:e,...n}){return(0,i.jsx)(a.Overlay,{"data-slot":`sheet-overlay`,className:t.cn(`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`,e),...n})}function d({className:e,children:r,side:o=`right`,...s}){return(0,i.jsxs)(l,{children:[(0,i.jsx)(u,{}),(0,i.jsxs)(a.Content,{"data-slot":`sheet-content`,className:t.cn(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500`,o===`right`&&`data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,o===`left`&&`data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,o===`top`&&`data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b`,o===`bottom`&&`data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t`,e),...s,children:[r,(0,i.jsxs)(a.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none`,children:[(0,i.jsx)(n.XIcon,{className:`size-4`}),(0,i.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function f({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`sheet-header`,className:t.cn(`flex flex-col gap-1.5 p-4`,e),...n})}function p({className:e,...n}){return(0,i.jsx)(`div`,{"data-slot":`sheet-footer`,className:t.cn(`mt-auto flex flex-col gap-2 p-4`,e),...n})}function m({className:e,...n}){return(0,i.jsx)(a.Title,{"data-slot":`sheet-title`,className:t.cn(`text-foreground font-semibold`,e),...n})}function h({className:e,...n}){return(0,i.jsx)(a.Description,{"data-slot":`sheet-description`,className:t.cn(`text-muted-foreground text-sm`,e),...n})}exports.Sheet=o,exports.SheetClose=c,exports.SheetContent=d,exports.SheetDescription=h,exports.SheetFooter=p,exports.SheetHeader=f,exports.SheetTitle=m,exports.SheetTrigger=s;
1
+ "use client";const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("lucide-react"),r=require("react");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react/compiler-runtime"),o=require("@radix-ui/react-dialog");o=e.__toESM(o,1);function s(e){let t=(0,a.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,i.jsx)(o.Root,{"data-slot":`sheet`,...n}),t[2]=n,t[3]=r),r}function c(e){let t=(0,a.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,i.jsx)(o.Trigger,{"data-slot":`sheet-trigger`,...n}),t[2]=n,t[3]=r),r}function l(e){let t=(0,a.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,i.jsx)(o.Close,{"data-slot":`sheet-close`,...n}),t[2]=n,t[3]=r),r}function u(e){let t=(0,a.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,i.jsx)(o.Portal,{"data-slot":`sheet-portal`,...n}),t[2]=n,t[3]=r),r}function d(e){let n=(0,a.c)(8),r,s;n[0]===e?(r=n[1],s=n[2]):({className:r,...s}=e,n[0]=e,n[1]=r,n[2]=s);let c;n[3]===r?c=n[4]:(c=t.cn(`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`,r),n[3]=r,n[4]=c);let l;return n[5]!==s||n[6]!==c?(l=(0,i.jsx)(o.Overlay,{"data-slot":`sheet-overlay`,className:c,...s}),n[5]=s,n[6]=c,n[7]=l):l=n[7],l}function f({className:e,children:r,side:a=`right`,...s}){return(0,i.jsxs)(u,{children:[(0,i.jsx)(d,{}),(0,i.jsxs)(o.Content,{"data-slot":`sheet-content`,className:t.cn(`bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500`,a===`right`&&`data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,a===`left`&&`data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,a===`top`&&`data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b`,a===`bottom`&&`data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t`,e),...s,children:[r,(0,i.jsxs)(o.Close,{className:`ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none`,children:[(0,i.jsx)(n.XIcon,{className:`size-4`}),(0,i.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function p(e){let n=(0,a.c)(8),r,o;n[0]===e?(r=n[1],o=n[2]):({className:r,...o}=e,n[0]=e,n[1]=r,n[2]=o);let s;n[3]===r?s=n[4]:(s=t.cn(`flex flex-col gap-1.5 p-4`,r),n[3]=r,n[4]=s);let c;return n[5]!==o||n[6]!==s?(c=(0,i.jsx)(`div`,{"data-slot":`sheet-header`,className:s,...o}),n[5]=o,n[6]=s,n[7]=c):c=n[7],c}function m(e){let n=(0,a.c)(8),r,o;n[0]===e?(r=n[1],o=n[2]):({className:r,...o}=e,n[0]=e,n[1]=r,n[2]=o);let s;n[3]===r?s=n[4]:(s=t.cn(`mt-auto flex flex-col gap-2 p-4`,r),n[3]=r,n[4]=s);let c;return n[5]!==o||n[6]!==s?(c=(0,i.jsx)(`div`,{"data-slot":`sheet-footer`,className:s,...o}),n[5]=o,n[6]=s,n[7]=c):c=n[7],c}function h(e){let n=(0,a.c)(8),r,s;n[0]===e?(r=n[1],s=n[2]):({className:r,...s}=e,n[0]=e,n[1]=r,n[2]=s);let c;n[3]===r?c=n[4]:(c=t.cn(`text-foreground font-semibold`,r),n[3]=r,n[4]=c);let l;return n[5]!==s||n[6]!==c?(l=(0,i.jsx)(o.Title,{"data-slot":`sheet-title`,className:c,...s}),n[5]=s,n[6]=c,n[7]=l):l=n[7],l}function g(e){let n=(0,a.c)(8),r,s;n[0]===e?(r=n[1],s=n[2]):({className:r,...s}=e,n[0]=e,n[1]=r,n[2]=s);let c;n[3]===r?c=n[4]:(c=t.cn(`text-muted-foreground text-sm`,r),n[3]=r,n[4]=c);let l;return n[5]!==s||n[6]!==c?(l=(0,i.jsx)(o.Description,{"data-slot":`sheet-description`,className:c,...s}),n[5]=s,n[6]=c,n[7]=l):l=n[7],l}exports.Sheet=s,exports.SheetClose=l,exports.SheetContent=f,exports.SheetDescription=g,exports.SheetFooter=m,exports.SheetHeader=p,exports.SheetTitle=h,exports.SheetTrigger=c;
package/dist/index106.js CHANGED
@@ -1,12 +1,18 @@
1
1
  import { cn as e } from "./index3.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
+ import { c as n } from "react/compiler-runtime";
3
4
  //#region src/ui/skeleton.tsx
4
- function n({ className: n, ...r }) {
5
- return /* @__PURE__ */ t("div", {
5
+ function r(r) {
6
+ let i = n(8), a, o;
7
+ i[0] === r ? (a = i[1], o = i[2]) : ({className: a, ...o} = r, i[0] = r, i[1] = a, i[2] = o);
8
+ let s;
9
+ i[3] === a ? s = i[4] : (s = e("bg-accent animate-pulse rounded-md", a), i[3] = a, i[4] = s);
10
+ let c;
11
+ return i[5] !== o || i[6] !== s ? (c = /* @__PURE__ */ t("div", {
6
12
  "data-slot": "skeleton",
7
- className: e("bg-accent animate-pulse rounded-md", n),
8
- ...r
9
- });
13
+ className: s,
14
+ ...o
15
+ }), i[5] = o, i[6] = s, i[7] = c) : c = i[7], c;
10
16
  }
11
17
  //#endregion
12
- export { n as Skeleton };
18
+ export { r as Skeleton };
package/dist/index107.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index4.cjs");let t=require("react/jsx-runtime");function n({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`skeleton`,className:e.cn(`bg-accent animate-pulse rounded-md`,n),...r})}exports.Skeleton=n;
1
+ const e=require("./index4.cjs");let t=require("react/jsx-runtime"),n=require("react/compiler-runtime");function r(r){let i=(0,n.c)(8),a,o;i[0]===r?(a=i[1],o=i[2]):({className:a,...o}=r,i[0]=r,i[1]=a,i[2]=o);let s;i[3]===a?s=i[4]:(s=e.cn(`bg-accent animate-pulse rounded-md`,a),i[3]=a,i[4]=s);let c;return i[5]!==o||i[6]!==s?(c=(0,t.jsx)(`div`,{"data-slot":`skeleton`,className:s,...o}),i[5]=o,i[6]=s,i[7]=c):c=i[7],c}exports.Skeleton=r;
package/dist/index107.js CHANGED
@@ -1,35 +1,42 @@
1
1
  import { cn as e } from "./index3.js";
2
2
  import "react";
3
3
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
- import * as r from "@radix-ui/react-tooltip";
4
+ import { c as r } from "react/compiler-runtime";
5
+ import * as i from "@radix-ui/react-tooltip";
5
6
  //#region src/ui/tooltip.tsx
6
- function i({ delayDuration: e = 0, ...n }) {
7
- return /* @__PURE__ */ t(r.Provider, {
7
+ function a({ delayDuration: e = 0, ...n }) {
8
+ return /* @__PURE__ */ t(i.Provider, {
8
9
  "data-slot": "tooltip-provider",
9
10
  delayDuration: e,
10
11
  ...n
11
12
  });
12
13
  }
13
- function a({ ...e }) {
14
- return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(r.Root, {
14
+ function o(e) {
15
+ let n = r(4), o;
16
+ n[0] === e ? o = n[1] : ({...o} = e, n[0] = e, n[1] = o);
17
+ let s;
18
+ return n[2] === o ? s = n[3] : (s = /* @__PURE__ */ t(a, { children: /* @__PURE__ */ t(i.Root, {
15
19
  "data-slot": "tooltip",
16
- ...e
17
- }) });
20
+ ...o
21
+ }) }), n[2] = o, n[3] = s), s;
18
22
  }
19
- function o({ ...e }) {
20
- return /* @__PURE__ */ t(r.Trigger, {
23
+ function s(e) {
24
+ let n = r(4), a;
25
+ n[0] === e ? a = n[1] : ({...a} = e, n[0] = e, n[1] = a);
26
+ let o;
27
+ return n[2] === a ? o = n[3] : (o = /* @__PURE__ */ t(i.Trigger, {
21
28
  "data-slot": "tooltip-trigger",
22
- ...e
23
- });
29
+ ...a
30
+ }), n[2] = a, n[3] = o), o;
24
31
  }
25
- function s({ className: i, sideOffset: a = 0, children: o, ...s }) {
26
- return /* @__PURE__ */ t(r.Portal, { children: /* @__PURE__ */ n(r.Content, {
32
+ function c({ className: r, sideOffset: a = 0, children: o, ...s }) {
33
+ return /* @__PURE__ */ t(i.Portal, { children: /* @__PURE__ */ n(i.Content, {
27
34
  "data-slot": "tooltip-content",
28
35
  sideOffset: a,
29
- className: e("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", i),
36
+ className: e("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance", r),
30
37
  ...s,
31
- children: [o, /* @__PURE__ */ t(r.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
38
+ children: [o, /* @__PURE__ */ t(i.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })]
32
39
  }) });
33
40
  }
34
41
  //#endregion
35
- export { a as Tooltip, s as TooltipContent, i as TooltipProvider, o as TooltipTrigger };
42
+ export { o as Tooltip, c as TooltipContent, a as TooltipProvider, s as TooltipTrigger };
package/dist/index108.cjs CHANGED
@@ -1 +1 @@
1
- const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("@radix-ui/react-tooltip");i=e.__toESM(i,1);function a({delayDuration:e=0,...t}){return(0,r.jsx)(i.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function o({...e}){return(0,r.jsx)(a,{children:(0,r.jsx)(i.Root,{"data-slot":`tooltip`,...e})})}function s({...e}){return(0,r.jsx)(i.Trigger,{"data-slot":`tooltip-trigger`,...e})}function c({className:e,sideOffset:n=0,children:a,...o}){return(0,r.jsx)(i.Portal,{children:(0,r.jsxs)(i.Content,{"data-slot":`tooltip-content`,sideOffset:n,className:t.cn(`bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance`,e),...o,children:[a,(0,r.jsx)(i.Arrow,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}exports.Tooltip=o,exports.TooltipContent=c,exports.TooltipProvider=a,exports.TooltipTrigger=s;
1
+ const e=require("./index2.cjs"),t=require("./index4.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("react/compiler-runtime"),a=require("@radix-ui/react-tooltip");a=e.__toESM(a,1);function o({delayDuration:e=0,...t}){return(0,r.jsx)(a.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...t})}function s(e){let t=(0,i.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let s;return t[2]===n?s=t[3]:(s=(0,r.jsx)(o,{children:(0,r.jsx)(a.Root,{"data-slot":`tooltip`,...n})}),t[2]=n,t[3]=s),s}function c(e){let t=(0,i.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let o;return t[2]===n?o=t[3]:(o=(0,r.jsx)(a.Trigger,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=o),o}function l({className:e,sideOffset:n=0,children:i,...o}){return(0,r.jsx)(a.Portal,{children:(0,r.jsxs)(a.Content,{"data-slot":`tooltip-content`,sideOffset:n,className:t.cn(`bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance`,e),...o,children:[i,(0,r.jsx)(a.Arrow,{className:`bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`})]})})}exports.Tooltip=s,exports.TooltipContent=l,exports.TooltipProvider=o,exports.TooltipTrigger=c;