@gv-tech/ui-web 2.20.0 → 2.21.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/dist/accordion-Be1vGv6M.js +1 -0
- package/dist/accordion-DXnU0LgU.mjs +221 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.mjs +3 -259
- package/dist/alert-dialog-BXRY0Ghq.js +7 -0
- package/dist/alert-dialog-fcZ-sL7h.mjs +164 -0
- package/dist/alert-dialog.cjs +1 -7
- package/dist/alert-dialog.mjs +4 -171
- package/dist/alert.cjs +1 -1
- package/dist/alert.mjs +35 -32
- package/dist/aspect-ratio-BP5HarYZ.js +1 -0
- package/dist/aspect-ratio-Bp8HMg-1.mjs +33 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.mjs +3 -43
- package/dist/avatar-klFl8Sqa.js +1 -0
- package/dist/avatar-vGm9JN1a.mjs +184 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.mjs +3 -205
- package/dist/badge.cjs +1 -1
- package/dist/badge.mjs +21 -24
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.mjs +60 -68
- package/dist/button.cjs +1 -1
- package/dist/button.mjs +40 -40
- package/dist/calendar-aIuSXzs7.js +1 -0
- package/dist/calendar-oitID53a.mjs +3154 -0
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.mjs +4 -2976
- package/dist/card.cjs +1 -1
- package/dist/card.mjs +42 -32
- package/dist/carousel-BjTSkVh9.js +1 -0
- package/dist/carousel-CENzZCXN.mjs +1178 -0
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.mjs +4 -1403
- package/dist/chart.cjs +4 -4
- package/dist/chart.d.ts +3 -35
- package/dist/chart.mjs +123 -182
- package/dist/checkbox-Bwq7mXA2.mjs +170 -0
- package/dist/checkbox-DzEO1q4R.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.mjs +3 -258
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.mjs +6 -7
- package/dist/command-D7hksKY6.js +1 -0
- package/dist/command-Ws_iF1hM.mjs +531 -0
- package/dist/command.cjs +1 -1
- package/dist/command.mjs +3 -396
- package/dist/context-menu-DJbgNJ7N.js +1 -0
- package/dist/context-menu-fu39gePi.mjs +292 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.mjs +3 -328
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.mjs +50 -66
- package/dist/dist-0FXx-pUX.js +1 -0
- package/dist/dist-4A0ut6a8.mjs +10 -0
- package/dist/dist-ALQAoSGx.mjs +10 -0
- package/dist/dist-B4N_7Tps.js +1 -0
- package/dist/dist-B5776DvK.js +5 -0
- package/dist/dist-B57mzJP3.mjs +28 -0
- package/dist/dist-B5VmV2K7.js +1 -0
- package/dist/dist-BBRD-Qfb.js +1 -0
- package/dist/dist-BC_VB6JL.mjs +25 -0
- package/dist/dist-BKFtvTm8.mjs +6 -0
- package/dist/dist-BUS_s_6N.js +1 -0
- package/dist/dist-BVKPqhkg.js +1 -0
- package/dist/dist-Ba7mQG9D.mjs +117 -0
- package/dist/dist-BeFCyPgD.js +1 -0
- package/dist/dist-Bf4P28CV.js +1 -0
- package/dist/dist-BfFVoFJN.js +1 -0
- package/dist/dist-BhtQH_6Z.js +1 -0
- package/dist/dist-BmjFh8i_.mjs +5 -0
- package/dist/dist-BrCTkQXt.mjs +62 -0
- package/dist/dist-BxmpAHsT.mjs +219 -0
- package/dist/dist-C2ArLRnq.js +1 -0
- package/dist/dist-C2pRTcV_.mjs +62 -0
- package/dist/dist-C9wnUiS4.mjs +27 -0
- package/dist/dist-CIRItnqs.js +1 -0
- package/dist/dist-CL1DhkaL.js +1 -0
- package/dist/dist-CRe7xawr.js +1 -0
- package/dist/dist-CUFjt0cI.js +1 -0
- package/dist/dist-CaaGWewc.mjs +557 -0
- package/dist/dist-Ci2whnVp.js +1 -0
- package/dist/dist-CmBtqW5f.js +1 -0
- package/dist/dist-CsEsK2jW.js +1 -0
- package/dist/dist-CscAxhT8.js +1 -0
- package/dist/dist-CvtF5JdF.mjs +95 -0
- package/dist/dist-Cvwtowos.mjs +77 -0
- package/dist/dist-D2f83VMO.mjs +73 -0
- package/dist/dist-Dh_jWJh-.mjs +11 -0
- package/dist/dist-DikyKBU3.mjs +12 -0
- package/dist/dist-DmmUjo_P.js +1 -0
- package/dist/dist-DqvQ5UFr.mjs +38 -0
- package/dist/dist-FGQAMrhH.mjs +29 -0
- package/dist/dist-Jtk3jeb9.mjs +18 -0
- package/dist/dist-Kqk0oQYU.js +1 -0
- package/dist/dist-VI9bl_Wk.mjs +45 -0
- package/dist/dist-Z7lEV5Nx.mjs +1282 -0
- package/dist/dist-_Osar3kp.js +1 -0
- package/dist/dist-bDoR0CBU.mjs +112 -0
- package/dist/dist-cRjbOZRf.js +1 -0
- package/dist/dist-d_pecHgw.mjs +66 -0
- package/dist/dist-r36zVVcK.js +1 -0
- package/dist/dist-sRlXdzvf.mjs +152 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.mjs +48 -54
- package/dist/dropdown-menu-BGkQXJ-r.mjs +288 -0
- package/dist/dropdown-menu-uGMnmGL-.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.mjs +3 -316
- package/dist/es2015-Cx0gpR1a.js +41 -0
- package/dist/es2015-a1b8kENC.mjs +701 -0
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +76 -67
- package/dist/hover-card-DdIYJP-Q.mjs +167 -0
- package/dist/hover-card-Ua-2KlY-.js +1 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.mjs +3 -188
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -35
- package/dist/index.mjs +56 -296
- package/dist/input.cjs +1 -1
- package/dist/input.mjs +14 -19
- package/dist/jsx-runtime-CN3qjQQx.js +6 -0
- package/dist/jsx-runtime-CW53Uo-e.mjs +189 -0
- package/dist/label-8YSUv4kt.js +1 -0
- package/dist/label-Bur66PVg.mjs +22 -0
- package/dist/label.cjs +1 -1
- package/dist/label.mjs +3 -22
- package/dist/menubar-Bq1Sfbf5.js +1 -0
- package/dist/menubar-D2fY6zkQ.mjs +410 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.mjs +3 -473
- package/dist/navigation-menu-BuOakbgA.mjs +602 -0
- package/dist/navigation-menu-so6EvLAY.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.mjs +3 -673
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.mjs +63 -68
- package/dist/popover-BUADXRkO.mjs +201 -0
- package/dist/popover-nBrSPqHk.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.mjs +3 -242
- package/dist/progress-BTApMbqg.js +6 -0
- package/dist/progress-BbN-RNvs.mjs +81 -0
- package/dist/progress.cjs +1 -6
- package/dist/progress.mjs +3 -99
- package/dist/radio-group-C5oprOrt.mjs +193 -0
- package/dist/radio-group-FDXr6VLM.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.mjs +3 -253
- package/dist/resizable-ChdgCzzx.mjs +1534 -0
- package/dist/resizable-ztiFzq_y.js +1 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.mjs +3 -1990
- package/dist/scroll-area-3o0-cc3n.mjs +520 -0
- package/dist/scroll-area-DXZqIKXN.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.mjs +3 -546
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.mjs +71 -84
- package/dist/search.cjs +1 -1
- package/dist/search.mjs +53 -63
- package/dist/select-B2qM503G.mjs +744 -0
- package/dist/select-BHCeW-MD.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.mjs +3 -908
- package/dist/separator-BZJ-SDvg.js +1 -0
- package/dist/separator-DJ_IwKUQ.mjs +31 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.mjs +3 -35
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.mjs +59 -66
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.mjs +13 -7
- package/dist/slider-CJJPQ0fH.mjs +366 -0
- package/dist/slider-DHccqrW2.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.mjs +3 -442
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.mjs +21 -24
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.mjs +81 -117
- package/dist/switch-BbcAUYjl.mjs +103 -0
- package/dist/switch-DZfRzgWs.js +1 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.mjs +3 -149
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.mjs +159 -155
- package/dist/table.cjs +1 -1
- package/dist/table.mjs +58 -57
- package/dist/tabs-BEy0IIV0.js +1 -0
- package/dist/tabs-DqAKyl9T.mjs +136 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.mjs +3 -195
- package/dist/text.cjs +1 -1
- package/dist/text.mjs +41 -42
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.mjs +12 -17
- package/dist/theme-provider.cjs +1 -1
- package/dist/theme-provider.mjs +15 -7
- package/dist/theme-toggle-DKQmD-FO.js +1 -0
- package/dist/theme-toggle-dQbFWNI8.mjs +65 -0
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +3 -8
- package/dist/toast-C84Cpidq.js +1 -0
- package/dist/toast-CQbUslcw.mjs +427 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +3 -494
- package/dist/toaster-BpcpNRz1.js +1 -0
- package/dist/toaster-i6giQYiq.mjs +126 -0
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.mjs +3 -6
- package/dist/toggle-group-B2S7fkhA.mjs +155 -0
- package/dist/toggle-group-BNn6MNiJ.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.mjs +3 -170
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.mjs +19 -14
- package/dist/tooltip-CElrNodA.js +1 -0
- package/dist/tooltip-oKfTBTbv.mjs +364 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.mjs +3 -342
- package/dist/utils-BxDanjP7.js +1 -0
- package/dist/utils-yc5uc46c.mjs +11 -0
- package/package.json +2 -2
- package/src/chart.tsx +7 -7
- package/src/setupTests.ts +5 -4
- package/dist/index-0ioNhtNM.mjs +0 -10
- package/dist/index-3j-XAIXT.mjs +0 -55
- package/dist/index-B2XtpfGY.js +0 -1
- package/dist/index-B39Lzq0v.js +0 -1
- package/dist/index-B7n6fy75.js +0 -1
- package/dist/index-B8dxbSWX.js +0 -41
- package/dist/index-BGIK9FQF.js +0 -1
- package/dist/index-BZPx6jYI.mjs +0 -8
- package/dist/index-BoNjHhm4.js +0 -1
- package/dist/index-BtZvtDmp.js +0 -1
- package/dist/index-Bv7qrYW6.mjs +0 -180
- package/dist/index-ByiPJW53.js +0 -5
- package/dist/index-C0dlIQIi.js +0 -1
- package/dist/index-C1qb0595.mjs +0 -27
- package/dist/index-C7HEunrh.mjs +0 -15
- package/dist/index-C8ni3LLa.js +0 -1
- package/dist/index-CCKe-Mpx.mjs +0 -6
- package/dist/index-CD6_IrA-.mjs +0 -10
- package/dist/index-CRyCZJLa.mjs +0 -677
- package/dist/index-CVx1AgNG.mjs +0 -615
- package/dist/index-Ce5TOFAK.js +0 -1
- package/dist/index-CeSLNJ60.mjs +0 -32
- package/dist/index-CefEQe_4.js +0 -1
- package/dist/index-Cj5hzyBi.js +0 -1
- package/dist/index-Cjj_rUPu.js +0 -1
- package/dist/index-Cl3G0jzM.js +0 -1
- package/dist/index-CwfE56Ep.mjs +0 -1545
- package/dist/index-CwyAfCwY.js +0 -1
- package/dist/index-CzY-WZXL.js +0 -1
- package/dist/index-D2HnlO3y.js +0 -1
- package/dist/index-DFdF7K7v.mjs +0 -50
- package/dist/index-DIsg7zU7.js +0 -1
- package/dist/index-DKN_vhyX.mjs +0 -32
- package/dist/index-DLcqcWxM.mjs +0 -29
- package/dist/index-DSxf1gN6.mjs +0 -118
- package/dist/index-DYxWvftI.js +0 -1
- package/dist/index-DaILh3TV.mjs +0 -32
- package/dist/index-Dfzl8TxY.mjs +0 -136
- package/dist/index-Dko2XdTk.js +0 -1
- package/dist/index-DlY82G31.mjs +0 -245
- package/dist/index-DnFcfnA9.mjs +0 -13
- package/dist/index-IZ2gq03c.mjs +0 -68
- package/dist/index-K9FzbxYw.mjs +0 -93
- package/dist/index-Le8p9oP4.mjs +0 -60
- package/dist/index-MQ0c3ZX_.js +0 -1
- package/dist/index-_XxjJPRD.js +0 -1
- package/dist/index-_wdrnYim.js +0 -1
- package/dist/index-jv3B4mTd.js +0 -1
- package/dist/index-kaM0u2Q1.js +0 -1
- package/dist/index-p6xVFRb4.mjs +0 -52
- package/dist/index-rKs9bXHr.mjs +0 -6
- package/dist/index-vuPgkS0V.mjs +0 -70
- package/dist/jsx-runtime-nZSsnGb7.js +0 -6
- package/dist/jsx-runtime-tc70JA_2.mjs +0 -264
- package/dist/theme-toggle-DXQGNfCe.js +0 -1
- package/dist/theme-toggle-tHXIbr8W.mjs +0 -79
- package/dist/toaster-C_S9hnXa.js +0 -1
- package/dist/toaster-k5DnQSsh.mjs +0 -118
- package/dist/utils-DY6fhrgS.mjs +0 -12
- package/dist/utils-cdbZV8DZ.js +0 -1
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import K from "react";
|
|
2
|
-
var v = { exports: {} }, m = {};
|
|
3
|
-
var I;
|
|
4
|
-
function ee() {
|
|
5
|
-
if (I) return m;
|
|
6
|
-
I = 1;
|
|
7
|
-
var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
-
function c(i, o, s) {
|
|
9
|
-
var f = null;
|
|
10
|
-
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
11
|
-
s = {};
|
|
12
|
-
for (var d in o)
|
|
13
|
-
d !== "key" && (s[d] = o[d]);
|
|
14
|
-
} else s = o;
|
|
15
|
-
return o = s.ref, {
|
|
16
|
-
$$typeof: l,
|
|
17
|
-
type: i,
|
|
18
|
-
key: f,
|
|
19
|
-
ref: o !== void 0 ? o : null,
|
|
20
|
-
props: s
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
|
|
24
|
-
}
|
|
25
|
-
var _ = {};
|
|
26
|
-
var $;
|
|
27
|
-
function re() {
|
|
28
|
-
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
-
function l(e) {
|
|
30
|
-
if (e == null) return null;
|
|
31
|
-
if (typeof e == "function")
|
|
32
|
-
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
33
|
-
if (typeof e == "string") return e;
|
|
34
|
-
switch (e) {
|
|
35
|
-
case p:
|
|
36
|
-
return "Fragment";
|
|
37
|
-
case U:
|
|
38
|
-
return "Profiler";
|
|
39
|
-
case W:
|
|
40
|
-
return "StrictMode";
|
|
41
|
-
case z:
|
|
42
|
-
return "Suspense";
|
|
43
|
-
case G:
|
|
44
|
-
return "SuspenseList";
|
|
45
|
-
case B:
|
|
46
|
-
return "Activity";
|
|
47
|
-
}
|
|
48
|
-
if (typeof e == "object")
|
|
49
|
-
switch (typeof e.tag == "number" && console.error(
|
|
50
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
-
), e.$$typeof) {
|
|
52
|
-
case M:
|
|
53
|
-
return "Portal";
|
|
54
|
-
case V:
|
|
55
|
-
return e.displayName || "Context";
|
|
56
|
-
case J:
|
|
57
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
-
case q:
|
|
59
|
-
var r = e.render;
|
|
60
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
-
case X:
|
|
62
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
63
|
-
case T:
|
|
64
|
-
r = e._payload, e = e._init;
|
|
65
|
-
try {
|
|
66
|
-
return l(e(r));
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
function E(e) {
|
|
73
|
-
return "" + e;
|
|
74
|
-
}
|
|
75
|
-
function c(e) {
|
|
76
|
-
try {
|
|
77
|
-
E(e);
|
|
78
|
-
var r = !1;
|
|
79
|
-
} catch {
|
|
80
|
-
r = !0;
|
|
81
|
-
}
|
|
82
|
-
if (r) {
|
|
83
|
-
r = console;
|
|
84
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
-
return t.call(
|
|
86
|
-
r,
|
|
87
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
-
n
|
|
89
|
-
), E(e);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function i(e) {
|
|
93
|
-
if (e === p) return "<>";
|
|
94
|
-
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
95
|
-
return "<...>";
|
|
96
|
-
try {
|
|
97
|
-
var r = l(e);
|
|
98
|
-
return r ? "<" + r + ">" : "<...>";
|
|
99
|
-
} catch {
|
|
100
|
-
return "<...>";
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
function o() {
|
|
104
|
-
var e = k.A;
|
|
105
|
-
return e === null ? null : e.getOwner();
|
|
106
|
-
}
|
|
107
|
-
function s() {
|
|
108
|
-
return Error("react-stack-top-frame");
|
|
109
|
-
}
|
|
110
|
-
function f(e) {
|
|
111
|
-
if (x.call(e, "key")) {
|
|
112
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
-
if (r && r.isReactWarning) return !1;
|
|
114
|
-
}
|
|
115
|
-
return e.key !== void 0;
|
|
116
|
-
}
|
|
117
|
-
function d(e, r) {
|
|
118
|
-
function t() {
|
|
119
|
-
g || (g = !0, console.error(
|
|
120
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
-
r
|
|
122
|
-
));
|
|
123
|
-
}
|
|
124
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
-
get: t,
|
|
126
|
-
configurable: !0
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function D() {
|
|
130
|
-
var e = l(this.type);
|
|
131
|
-
return h[e] || (h[e] = !0, console.error(
|
|
132
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
-
}
|
|
135
|
-
function L(e, r, t, n, b, A) {
|
|
136
|
-
var a = t.ref;
|
|
137
|
-
return e = {
|
|
138
|
-
$$typeof: j,
|
|
139
|
-
type: e,
|
|
140
|
-
key: r,
|
|
141
|
-
props: t,
|
|
142
|
-
_owner: n
|
|
143
|
-
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
-
enumerable: !1,
|
|
145
|
-
get: D
|
|
146
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
|
-
configurable: !1,
|
|
148
|
-
enumerable: !1,
|
|
149
|
-
writable: !0,
|
|
150
|
-
value: 0
|
|
151
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
152
|
-
configurable: !1,
|
|
153
|
-
enumerable: !1,
|
|
154
|
-
writable: !0,
|
|
155
|
-
value: null
|
|
156
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
157
|
-
configurable: !1,
|
|
158
|
-
enumerable: !1,
|
|
159
|
-
writable: !0,
|
|
160
|
-
value: b
|
|
161
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
-
configurable: !1,
|
|
163
|
-
enumerable: !1,
|
|
164
|
-
writable: !0,
|
|
165
|
-
value: A
|
|
166
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
-
}
|
|
168
|
-
function P(e, r, t, n, b, A) {
|
|
169
|
-
var a = r.children;
|
|
170
|
-
if (a !== void 0)
|
|
171
|
-
if (n)
|
|
172
|
-
if (Z(a)) {
|
|
173
|
-
for (n = 0; n < a.length; n++)
|
|
174
|
-
w(a[n]);
|
|
175
|
-
Object.freeze && Object.freeze(a);
|
|
176
|
-
} else
|
|
177
|
-
console.error(
|
|
178
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
-
);
|
|
180
|
-
else w(a);
|
|
181
|
-
if (x.call(r, "key")) {
|
|
182
|
-
a = l(e);
|
|
183
|
-
var u = Object.keys(r).filter(function(Q) {
|
|
184
|
-
return Q !== "key";
|
|
185
|
-
});
|
|
186
|
-
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
-
let props = %s;
|
|
189
|
-
<%s {...props} />
|
|
190
|
-
React keys must be passed directly to JSX without using spread:
|
|
191
|
-
let props = %s;
|
|
192
|
-
<%s key={someKey} {...props} />`,
|
|
193
|
-
n,
|
|
194
|
-
a,
|
|
195
|
-
u,
|
|
196
|
-
a
|
|
197
|
-
), Y[a + n] = !0);
|
|
198
|
-
}
|
|
199
|
-
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
200
|
-
t = {};
|
|
201
|
-
for (var S in r)
|
|
202
|
-
S !== "key" && (t[S] = r[S]);
|
|
203
|
-
} else t = r;
|
|
204
|
-
return a && d(
|
|
205
|
-
t,
|
|
206
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
-
), L(
|
|
208
|
-
e,
|
|
209
|
-
a,
|
|
210
|
-
t,
|
|
211
|
-
o(),
|
|
212
|
-
b,
|
|
213
|
-
A
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
function w(e) {
|
|
217
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
-
}
|
|
219
|
-
function y(e) {
|
|
220
|
-
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
221
|
-
}
|
|
222
|
-
var R = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
223
|
-
return null;
|
|
224
|
-
};
|
|
225
|
-
R = {
|
|
226
|
-
react_stack_bottom_frame: function(e) {
|
|
227
|
-
return e();
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
var g, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
231
|
-
R,
|
|
232
|
-
s
|
|
233
|
-
)(), C = O(i(s)), Y = {};
|
|
234
|
-
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
235
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
236
|
-
return P(
|
|
237
|
-
e,
|
|
238
|
-
r,
|
|
239
|
-
t,
|
|
240
|
-
!1,
|
|
241
|
-
n ? Error("react-stack-top-frame") : N,
|
|
242
|
-
n ? O(i(e)) : C
|
|
243
|
-
);
|
|
244
|
-
}, _.jsxs = function(e, r, t) {
|
|
245
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
246
|
-
return P(
|
|
247
|
-
e,
|
|
248
|
-
r,
|
|
249
|
-
t,
|
|
250
|
-
!0,
|
|
251
|
-
n ? Error("react-stack-top-frame") : N,
|
|
252
|
-
n ? O(i(e)) : C
|
|
253
|
-
);
|
|
254
|
-
};
|
|
255
|
-
})()), _;
|
|
256
|
-
}
|
|
257
|
-
var F;
|
|
258
|
-
function te() {
|
|
259
|
-
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = ee() : v.exports = re()), v.exports;
|
|
260
|
-
}
|
|
261
|
-
var ae = te();
|
|
262
|
-
export {
|
|
263
|
-
ae as j
|
|
264
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-nZSsnGb7.js"),s=require("lucide-react"),j=require("./button.cjs"),t=require("./dropdown-menu.cjs"),d=require("@gv-tech/design-tokens"),T=require("next-themes"),r=require("./utils-cdbZV8DZ.js");function p(){const o=T.useTheme(),{resolvedTheme:i}=o,n=i==="dark"?d.theme.dark:d.theme.light;return{...o,tokens:n}}function k({variant:o="binary",onThemeChange:i,customTheme:n,className:c}){const{theme:R,setTheme:E,resolvedTheme:g}=p(),m=n??R,l=(n||g)==="dark",a=m==="system",x=h=>{i?i(h):E(h)},u=()=>e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(s.Sun,{className:r.cn("h-[1.2rem] w-[1.2rem] transition-all",!a&&!l?"scale-100 rotate-0":"scale-0 -rotate-90")}),e.jsxRuntimeExports.jsx(s.Moon,{className:r.cn("absolute h-[1.2rem] w-[1.2rem] transition-all",!a&&l?"scale-100 rotate-0":"scale-0 rotate-90")}),e.jsxRuntimeExports.jsx(s.SunMoon,{className:r.cn("absolute h-[1.2rem] w-[1.2rem] transition-all",a?"scale-100 rotate-0":"scale-0 rotate-90")}),e.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Toggle theme"})]});return o==="ternary"?e.jsxRuntimeExports.jsxs(t.DropdownMenu,{children:[e.jsxRuntimeExports.jsx(t.DropdownMenuTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsx(j.Button,{variant:"ghost",size:"icon",className:r.cn("relative h-9 w-9",c),children:e.jsxRuntimeExports.jsx(u,{})})}),e.jsxRuntimeExports.jsxs(t.DropdownMenuContent,{align:"end",children:[e.jsxRuntimeExports.jsxs(t.DropdownMenuItem,{onClick:()=>x("light"),children:[e.jsxRuntimeExports.jsx(s.Sun,{className:"mr-2 h-4 w-4"}),e.jsxRuntimeExports.jsx("span",{children:"Light"})]}),e.jsxRuntimeExports.jsxs(t.DropdownMenuItem,{onClick:()=>x("dark"),children:[e.jsxRuntimeExports.jsx(s.Moon,{className:"mr-2 h-4 w-4"}),e.jsxRuntimeExports.jsx("span",{children:"Dark"})]}),e.jsxRuntimeExports.jsxs(t.DropdownMenuItem,{onClick:()=>x("system"),children:[e.jsxRuntimeExports.jsx(s.SunMoon,{className:"mr-2 h-4 w-4"}),e.jsxRuntimeExports.jsx("span",{children:"System"})]})]})]}):e.jsxRuntimeExports.jsx(j.Button,{variant:"ghost",size:"icon",className:r.cn("relative h-9 w-9",c),onClick:()=>x(m==="dark"?"light":"dark"),"aria-label":"Toggle theme",children:e.jsxRuntimeExports.jsx(u,{})})}exports.ThemeToggle=k;exports.useTheme=p;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
-
import { Sun as x, Moon as j, SunMoon as u } from "lucide-react";
|
|
3
|
-
import { Button as g } from "./button.mjs";
|
|
4
|
-
import { DropdownMenu as w, DropdownMenuTrigger as v, DropdownMenuContent as N, DropdownMenuItem as i } from "./dropdown-menu.mjs";
|
|
5
|
-
import { theme as p } from "@gv-tech/design-tokens";
|
|
6
|
-
import { useTheme as y } from "next-themes";
|
|
7
|
-
import { c as r } from "./utils-DY6fhrgS.mjs";
|
|
8
|
-
function C() {
|
|
9
|
-
const t = y(), { resolvedTheme: n } = t, s = n === "dark" ? p.dark : p.light;
|
|
10
|
-
return {
|
|
11
|
-
...t,
|
|
12
|
-
tokens: s
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function F({ variant: t = "binary", onThemeChange: n, customTheme: s, className: l }) {
|
|
16
|
-
const { theme: T, setTheme: f, resolvedTheme: k } = C(), c = s ?? T, m = (s || k) === "dark", o = c === "system", a = (d) => {
|
|
17
|
-
n ? n(d) : f(d);
|
|
18
|
-
}, h = () => /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
19
|
-
/* @__PURE__ */ e.jsx(
|
|
20
|
-
x,
|
|
21
|
-
{
|
|
22
|
-
className: r(
|
|
23
|
-
"h-[1.2rem] w-[1.2rem] transition-all",
|
|
24
|
-
!o && !m ? "scale-100 rotate-0" : "scale-0 -rotate-90"
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
/* @__PURE__ */ e.jsx(
|
|
29
|
-
j,
|
|
30
|
-
{
|
|
31
|
-
className: r(
|
|
32
|
-
"absolute h-[1.2rem] w-[1.2rem] transition-all",
|
|
33
|
-
!o && m ? "scale-100 rotate-0" : "scale-0 rotate-90"
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
),
|
|
37
|
-
/* @__PURE__ */ e.jsx(
|
|
38
|
-
u,
|
|
39
|
-
{
|
|
40
|
-
className: r(
|
|
41
|
-
"absolute h-[1.2rem] w-[1.2rem] transition-all",
|
|
42
|
-
o ? "scale-100 rotate-0" : "scale-0 rotate-90"
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Toggle theme" })
|
|
47
|
-
] });
|
|
48
|
-
return t === "ternary" ? /* @__PURE__ */ e.jsxs(w, { children: [
|
|
49
|
-
/* @__PURE__ */ e.jsx(v, { asChild: !0, children: /* @__PURE__ */ e.jsx(g, { variant: "ghost", size: "icon", className: r("relative h-9 w-9", l), children: /* @__PURE__ */ e.jsx(h, {}) }) }),
|
|
50
|
-
/* @__PURE__ */ e.jsxs(N, { align: "end", children: [
|
|
51
|
-
/* @__PURE__ */ e.jsxs(i, { onClick: () => a("light"), children: [
|
|
52
|
-
/* @__PURE__ */ e.jsx(x, { className: "mr-2 h-4 w-4" }),
|
|
53
|
-
/* @__PURE__ */ e.jsx("span", { children: "Light" })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ e.jsxs(i, { onClick: () => a("dark"), children: [
|
|
56
|
-
/* @__PURE__ */ e.jsx(j, { className: "mr-2 h-4 w-4" }),
|
|
57
|
-
/* @__PURE__ */ e.jsx("span", { children: "Dark" })
|
|
58
|
-
] }),
|
|
59
|
-
/* @__PURE__ */ e.jsxs(i, { onClick: () => a("system"), children: [
|
|
60
|
-
/* @__PURE__ */ e.jsx(u, { className: "mr-2 h-4 w-4" }),
|
|
61
|
-
/* @__PURE__ */ e.jsx("span", { children: "System" })
|
|
62
|
-
] })
|
|
63
|
-
] })
|
|
64
|
-
] }) : /* @__PURE__ */ e.jsx(
|
|
65
|
-
g,
|
|
66
|
-
{
|
|
67
|
-
variant: "ghost",
|
|
68
|
-
size: "icon",
|
|
69
|
-
className: r("relative h-9 w-9", l),
|
|
70
|
-
onClick: () => a(c === "dark" ? "light" : "dark"),
|
|
71
|
-
"aria-label": "Toggle theme",
|
|
72
|
-
children: /* @__PURE__ */ e.jsx(h, {})
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
export {
|
|
77
|
-
F as T,
|
|
78
|
-
C as u
|
|
79
|
-
};
|
package/dist/toaster-C_S9hnXa.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("./jsx-runtime-nZSsnGb7.js"),m=require("react"),T=require("./toast.cjs");function _(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(s,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}return s.default=t,Object.freeze(s)}const d=_(m),x=1,D=1e6,u={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let S=0;function j(){return S=(S+1)%Number.MAX_SAFE_INTEGER,S.toString()}const p=new Map,O=t=>{if(p.has(t))return;const s=setTimeout(()=>{p.delete(t),i({type:"REMOVE_TOAST",toastId:t})},D);p.set(t,s)},R=(t,s)=>{switch(s.type){case u.ADD_TOAST:return{...t,toasts:[s.toast,...t.toasts].slice(0,x)};case u.UPDATE_TOAST:return{...t,toasts:t.toasts.map(e=>e.id===s.toast.id?{...e,...s.toast}:e)};case u.DISMISS_TOAST:{const{toastId:e}=s;return e?O(e):t.toasts.forEach(o=>{O(o.id)}),{...t,toasts:t.toasts.map(o=>o.id===e||e===void 0?{...o,open:!1}:o)}}case u.REMOVE_TOAST:return s.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(e=>e.id!==s.toastId)}}},a=[];let c={toasts:[]};function i(t){c=R(c,t),a.forEach(s=>{s(c)})}function A({...t}){const s=j(),e=r=>i({type:"UPDATE_TOAST",toast:{...r,id:s}}),o=()=>i({type:"DISMISS_TOAST",toastId:s});return i({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:r=>{r||o()}}}),{id:s,dismiss:o,update:e}}function E(){const[t,s]=d.useState(c);return d.useEffect(()=>(a.push(s),()=>{const e=a.indexOf(s);e>-1&&a.splice(e,1)}),[t]),{...t,toast:A,dismiss:e=>i({type:"DISMISS_TOAST",toastId:e})}}function I({...t}){const{toasts:s}=E();return n.jsxRuntimeExports.jsxs(T.ToastProvider,{...t,children:[s.map(function({id:e,title:o,description:r,action:f,...l}){return n.jsxRuntimeExports.jsxs(T.Toast,{...l,children:[n.jsxRuntimeExports.jsxs("div",{className:"grid gap-1",children:[o&&n.jsxRuntimeExports.jsx(T.ToastTitle,{children:o}),r&&n.jsxRuntimeExports.jsx(T.ToastDescription,{children:r})]}),f,n.jsxRuntimeExports.jsx(T.ToastClose,{})]},e)}),n.jsxRuntimeExports.jsx(T.ToastViewport,{})]})}exports.Toaster=I;exports.toast=A;exports.useToast=E;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { j as T } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
-
import * as A from "react";
|
|
3
|
-
import { ToastProvider as E, Toast as _, ToastTitle as f, ToastDescription as m, ToastClose as D, ToastViewport as l } from "./toast.mjs";
|
|
4
|
-
const I = 1, M = 1e6, a = {
|
|
5
|
-
ADD_TOAST: "ADD_TOAST",
|
|
6
|
-
UPDATE_TOAST: "UPDATE_TOAST",
|
|
7
|
-
DISMISS_TOAST: "DISMISS_TOAST",
|
|
8
|
-
REMOVE_TOAST: "REMOVE_TOAST"
|
|
9
|
-
};
|
|
10
|
-
let c = 0;
|
|
11
|
-
function h() {
|
|
12
|
-
return c = (c + 1) % Number.MAX_SAFE_INTEGER, c.toString();
|
|
13
|
-
}
|
|
14
|
-
const u = /* @__PURE__ */ new Map(), d = (t) => {
|
|
15
|
-
if (u.has(t))
|
|
16
|
-
return;
|
|
17
|
-
const s = setTimeout(() => {
|
|
18
|
-
u.delete(t), r({
|
|
19
|
-
type: "REMOVE_TOAST",
|
|
20
|
-
toastId: t
|
|
21
|
-
});
|
|
22
|
-
}, M);
|
|
23
|
-
u.set(t, s);
|
|
24
|
-
}, x = (t, s) => {
|
|
25
|
-
switch (s.type) {
|
|
26
|
-
case a.ADD_TOAST:
|
|
27
|
-
return {
|
|
28
|
-
...t,
|
|
29
|
-
toasts: [s.toast, ...t.toasts].slice(0, I)
|
|
30
|
-
};
|
|
31
|
-
case a.UPDATE_TOAST:
|
|
32
|
-
return {
|
|
33
|
-
...t,
|
|
34
|
-
toasts: t.toasts.map((e) => e.id === s.toast.id ? { ...e, ...s.toast } : e)
|
|
35
|
-
};
|
|
36
|
-
case a.DISMISS_TOAST: {
|
|
37
|
-
const { toastId: e } = s;
|
|
38
|
-
return e ? d(e) : t.toasts.forEach((o) => {
|
|
39
|
-
d(o.id);
|
|
40
|
-
}), {
|
|
41
|
-
...t,
|
|
42
|
-
toasts: t.toasts.map(
|
|
43
|
-
(o) => o.id === e || e === void 0 ? {
|
|
44
|
-
...o,
|
|
45
|
-
open: !1
|
|
46
|
-
} : o
|
|
47
|
-
)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
case a.REMOVE_TOAST:
|
|
51
|
-
return s.toastId === void 0 ? {
|
|
52
|
-
...t,
|
|
53
|
-
toasts: []
|
|
54
|
-
} : {
|
|
55
|
-
...t,
|
|
56
|
-
toasts: t.toasts.filter((e) => e.id !== s.toastId)
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}, i = [];
|
|
60
|
-
let S = { toasts: [] };
|
|
61
|
-
function r(t) {
|
|
62
|
-
S = x(S, t), i.forEach((s) => {
|
|
63
|
-
s(S);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
function j({ ...t }) {
|
|
67
|
-
const s = h(), e = (n) => r({
|
|
68
|
-
type: "UPDATE_TOAST",
|
|
69
|
-
toast: { ...n, id: s }
|
|
70
|
-
}), o = () => r({ type: "DISMISS_TOAST", toastId: s });
|
|
71
|
-
return r({
|
|
72
|
-
type: "ADD_TOAST",
|
|
73
|
-
toast: {
|
|
74
|
-
...t,
|
|
75
|
-
id: s,
|
|
76
|
-
open: !0,
|
|
77
|
-
onOpenChange: (n) => {
|
|
78
|
-
n || o();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}), {
|
|
82
|
-
id: s,
|
|
83
|
-
dismiss: o,
|
|
84
|
-
update: e
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function R() {
|
|
88
|
-
const [t, s] = A.useState(S);
|
|
89
|
-
return A.useEffect(() => (i.push(s), () => {
|
|
90
|
-
const e = i.indexOf(s);
|
|
91
|
-
e > -1 && i.splice(e, 1);
|
|
92
|
-
}), [t]), {
|
|
93
|
-
...t,
|
|
94
|
-
toast: j,
|
|
95
|
-
dismiss: (e) => r({ type: "DISMISS_TOAST", toastId: e })
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function g({ ...t }) {
|
|
99
|
-
const { toasts: s } = R();
|
|
100
|
-
return /* @__PURE__ */ T.jsxs(E, { ...t, children: [
|
|
101
|
-
s.map(function({ id: e, title: o, description: n, action: O, ...p }) {
|
|
102
|
-
return /* @__PURE__ */ T.jsxs(_, { ...p, children: [
|
|
103
|
-
/* @__PURE__ */ T.jsxs("div", { className: "grid gap-1", children: [
|
|
104
|
-
o && /* @__PURE__ */ T.jsx(f, { children: o }),
|
|
105
|
-
n && /* @__PURE__ */ T.jsx(m, { children: n })
|
|
106
|
-
] }),
|
|
107
|
-
O,
|
|
108
|
-
/* @__PURE__ */ T.jsx(D, {})
|
|
109
|
-
] }, e);
|
|
110
|
-
}),
|
|
111
|
-
/* @__PURE__ */ T.jsx(l, {})
|
|
112
|
-
] });
|
|
113
|
-
}
|
|
114
|
-
export {
|
|
115
|
-
g as T,
|
|
116
|
-
j as t,
|
|
117
|
-
R as u
|
|
118
|
-
};
|
package/dist/utils-DY6fhrgS.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { clsx as e } from "clsx";
|
|
2
|
-
import { twMerge as t } from "tailwind-merge";
|
|
3
|
-
function n(...r) {
|
|
4
|
-
return t(e(r));
|
|
5
|
-
}
|
|
6
|
-
function i(r) {
|
|
7
|
-
return r.toString().toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
n as c,
|
|
11
|
-
i as s
|
|
12
|
-
};
|
package/dist/utils-cdbZV8DZ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("clsx"),t=require("tailwind-merge");function c(...e){return t.twMerge(r.clsx(e))}function n(e){return e.toString().toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-")}exports.cn=c;exports.slugify=n;
|