@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
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { i as e, n as t, t as n } from "./jsx-runtime-CW53Uo-e.mjs";
|
|
2
|
+
import { t as r } from "./utils-yc5uc46c.mjs";
|
|
3
|
+
import { t as i } from "./dist-BmjFh8i_.mjs";
|
|
4
|
+
import { t as a } from "./dist-ALQAoSGx.mjs";
|
|
5
|
+
import { t as o } from "./dist-DqvQ5UFr.mjs";
|
|
6
|
+
import { t as s } from "./dist-C2pRTcV_.mjs";
|
|
7
|
+
import * as c from "react";
|
|
8
|
+
//#region ../../node_modules/.bun/use-sync-external-store@1.6.0+d86b59289c1a13ae/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
|
|
9
|
+
var l = /* @__PURE__ */ t(((t) => {
|
|
10
|
+
var n = e("react");
|
|
11
|
+
function r(e, t) {
|
|
12
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
13
|
+
}
|
|
14
|
+
var i = typeof Object.is == "function" ? Object.is : r, a = n.useState, o = n.useEffect, s = n.useLayoutEffect, c = n.useDebugValue;
|
|
15
|
+
function l(e, t) {
|
|
16
|
+
var n = t(), r = a({ inst: {
|
|
17
|
+
value: n,
|
|
18
|
+
getSnapshot: t
|
|
19
|
+
} }), i = r[0].inst, l = r[1];
|
|
20
|
+
return s(function() {
|
|
21
|
+
i.value = n, i.getSnapshot = t, u(i) && l({ inst: i });
|
|
22
|
+
}, [
|
|
23
|
+
e,
|
|
24
|
+
n,
|
|
25
|
+
t
|
|
26
|
+
]), o(function() {
|
|
27
|
+
return u(i) && l({ inst: i }), e(function() {
|
|
28
|
+
u(i) && l({ inst: i });
|
|
29
|
+
});
|
|
30
|
+
}, [e]), c(n), n;
|
|
31
|
+
}
|
|
32
|
+
function u(e) {
|
|
33
|
+
var t = e.getSnapshot;
|
|
34
|
+
e = e.value;
|
|
35
|
+
try {
|
|
36
|
+
var n = t();
|
|
37
|
+
return !i(e, n);
|
|
38
|
+
} catch {
|
|
39
|
+
return !0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function d(e, t) {
|
|
43
|
+
return t();
|
|
44
|
+
}
|
|
45
|
+
var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? d : l;
|
|
46
|
+
t.useSyncExternalStore = n.useSyncExternalStore === void 0 ? f : n.useSyncExternalStore;
|
|
47
|
+
})), u = /* @__PURE__ */ t(((t) => {
|
|
48
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
49
|
+
function n(e, t) {
|
|
50
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
51
|
+
}
|
|
52
|
+
function r(e, t) {
|
|
53
|
+
f || o.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
54
|
+
var n = t();
|
|
55
|
+
if (!p) {
|
|
56
|
+
var r = t();
|
|
57
|
+
s(n, r) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
|
|
58
|
+
}
|
|
59
|
+
r = c({ inst: {
|
|
60
|
+
value: n,
|
|
61
|
+
getSnapshot: t
|
|
62
|
+
} });
|
|
63
|
+
var a = r[0].inst, m = r[1];
|
|
64
|
+
return u(function() {
|
|
65
|
+
a.value = n, a.getSnapshot = t, i(a) && m({ inst: a });
|
|
66
|
+
}, [
|
|
67
|
+
e,
|
|
68
|
+
n,
|
|
69
|
+
t
|
|
70
|
+
]), l(function() {
|
|
71
|
+
return i(a) && m({ inst: a }), e(function() {
|
|
72
|
+
i(a) && m({ inst: a });
|
|
73
|
+
});
|
|
74
|
+
}, [e]), d(n), n;
|
|
75
|
+
}
|
|
76
|
+
function i(e) {
|
|
77
|
+
var t = e.getSnapshot;
|
|
78
|
+
e = e.value;
|
|
79
|
+
try {
|
|
80
|
+
var n = t();
|
|
81
|
+
return !s(e, n);
|
|
82
|
+
} catch {
|
|
83
|
+
return !0;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function a(e, t) {
|
|
87
|
+
return t();
|
|
88
|
+
}
|
|
89
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
90
|
+
var o = e("react"), s = typeof Object.is == "function" ? Object.is : n, c = o.useState, l = o.useEffect, u = o.useLayoutEffect, d = o.useDebugValue, f = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? a : r;
|
|
91
|
+
t.useSyncExternalStore = o.useSyncExternalStore === void 0 ? m : o.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
92
|
+
})();
|
|
93
|
+
})), d = (/* @__PURE__ */ t(((e, t) => {
|
|
94
|
+
process.env.NODE_ENV === "production" ? t.exports = l() : t.exports = u();
|
|
95
|
+
})))();
|
|
96
|
+
function f() {
|
|
97
|
+
return (0, d.useSyncExternalStore)(p, () => !0, () => !1);
|
|
98
|
+
}
|
|
99
|
+
function p() {
|
|
100
|
+
return () => {};
|
|
101
|
+
}
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region ../../node_modules/.bun/@radix-ui+react-avatar@1.1.11+2d3f272c3a65784a/node_modules/@radix-ui/react-avatar/dist/index.mjs
|
|
104
|
+
var m = n(), h = "Avatar", [g, _] = s(h), [v, y] = g(h), b = c.forwardRef((e, t) => {
|
|
105
|
+
let { __scopeAvatar: n, ...r } = e, [i, a] = c.useState("idle");
|
|
106
|
+
return /* @__PURE__ */ (0, m.jsx)(v, {
|
|
107
|
+
scope: n,
|
|
108
|
+
imageLoadingStatus: i,
|
|
109
|
+
onImageLoadingStatusChange: a,
|
|
110
|
+
children: /* @__PURE__ */ (0, m.jsx)(o.span, {
|
|
111
|
+
...r,
|
|
112
|
+
ref: t
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
b.displayName = h;
|
|
117
|
+
var x = "AvatarImage", S = c.forwardRef((e, t) => {
|
|
118
|
+
let { __scopeAvatar: n, src: r, onLoadingStatusChange: s = () => {}, ...c } = e, l = y(x, n), u = E(r, c), d = a((e) => {
|
|
119
|
+
s(e), l.onImageLoadingStatusChange(e);
|
|
120
|
+
});
|
|
121
|
+
return i(() => {
|
|
122
|
+
u !== "idle" && d(u);
|
|
123
|
+
}, [u, d]), u === "loaded" ? /* @__PURE__ */ (0, m.jsx)(o.img, {
|
|
124
|
+
...c,
|
|
125
|
+
ref: t,
|
|
126
|
+
src: r
|
|
127
|
+
}) : null;
|
|
128
|
+
});
|
|
129
|
+
S.displayName = x;
|
|
130
|
+
var C = "AvatarFallback", w = c.forwardRef((e, t) => {
|
|
131
|
+
let { __scopeAvatar: n, delayMs: r, ...i } = e, a = y(C, n), [s, l] = c.useState(r === void 0);
|
|
132
|
+
return c.useEffect(() => {
|
|
133
|
+
if (r !== void 0) {
|
|
134
|
+
let e = window.setTimeout(() => l(!0), r);
|
|
135
|
+
return () => window.clearTimeout(e);
|
|
136
|
+
}
|
|
137
|
+
}, [r]), s && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ (0, m.jsx)(o.span, {
|
|
138
|
+
...i,
|
|
139
|
+
ref: t
|
|
140
|
+
}) : null;
|
|
141
|
+
});
|
|
142
|
+
w.displayName = C;
|
|
143
|
+
function T(e, t) {
|
|
144
|
+
return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
145
|
+
}
|
|
146
|
+
function E(e, { referrerPolicy: t, crossOrigin: n }) {
|
|
147
|
+
let r = f(), a = c.useRef(null), o = r ? (a.current ||= new window.Image(), a.current) : null, [s, l] = c.useState(() => T(o, e));
|
|
148
|
+
return i(() => {
|
|
149
|
+
l(T(o, e));
|
|
150
|
+
}, [o, e]), i(() => {
|
|
151
|
+
let e = (e) => () => {
|
|
152
|
+
l(e);
|
|
153
|
+
};
|
|
154
|
+
if (!o) return;
|
|
155
|
+
let r = e("loaded"), i = e("error");
|
|
156
|
+
return o.addEventListener("load", r), o.addEventListener("error", i), t && (o.referrerPolicy = t), typeof n == "string" && (o.crossOrigin = n), () => {
|
|
157
|
+
o.removeEventListener("load", r), o.removeEventListener("error", i);
|
|
158
|
+
};
|
|
159
|
+
}, [
|
|
160
|
+
o,
|
|
161
|
+
n,
|
|
162
|
+
t
|
|
163
|
+
]), s;
|
|
164
|
+
}
|
|
165
|
+
var D = b, O = S, k = w, A = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, m.jsx)(D, {
|
|
166
|
+
ref: n,
|
|
167
|
+
className: r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
168
|
+
...t
|
|
169
|
+
}));
|
|
170
|
+
A.displayName = D?.displayName || "Avatar";
|
|
171
|
+
var j = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, m.jsx)(O, {
|
|
172
|
+
ref: n,
|
|
173
|
+
className: r("aspect-square h-full w-full", e),
|
|
174
|
+
...t
|
|
175
|
+
}));
|
|
176
|
+
j.displayName = O?.displayName || "AvatarImage";
|
|
177
|
+
var M = c.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ (0, m.jsx)(k, {
|
|
178
|
+
ref: n,
|
|
179
|
+
className: r("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
|
|
180
|
+
...t
|
|
181
|
+
}));
|
|
182
|
+
M.displayName = k?.displayName || "AvatarFallback";
|
|
183
|
+
//#endregion
|
|
184
|
+
export { M as n, j as r, A as t };
|
package/dist/avatar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./avatar-klFl8Sqa.js`);exports.Avatar=e.t,exports.AvatarFallback=e.n,exports.AvatarImage=e.r;
|
package/dist/avatar.mjs
CHANGED
|
@@ -1,206 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { c as B } from "./index-3j-XAIXT.mjs";
|
|
6
|
-
import { u as K } from "./index-0ioNhtNM.mjs";
|
|
7
|
-
import { u as O } from "./index-CCKe-Mpx.mjs";
|
|
8
|
-
import { P as x } from "./index-DaILh3TV.mjs";
|
|
9
|
-
import { c as w } from "./utils-DY6fhrgS.mjs";
|
|
10
|
-
var y = { exports: {} }, L = {};
|
|
11
|
-
var I;
|
|
12
|
-
function $() {
|
|
13
|
-
if (I) return L;
|
|
14
|
-
I = 1;
|
|
15
|
-
var e = b;
|
|
16
|
-
function t(o, d) {
|
|
17
|
-
return o === d && (o !== 0 || 1 / o === 1 / d) || o !== o && d !== d;
|
|
18
|
-
}
|
|
19
|
-
var a = typeof Object.is == "function" ? Object.is : t, c = e.useState, u = e.useEffect, r = e.useLayoutEffect, v = e.useDebugValue;
|
|
20
|
-
function l(o, d) {
|
|
21
|
-
var n = d(), s = c({ inst: { value: n, getSnapshot: d } }), i = s[0].inst, m = s[1];
|
|
22
|
-
return r(
|
|
23
|
-
function() {
|
|
24
|
-
i.value = n, i.getSnapshot = d, f(i) && m({ inst: i });
|
|
25
|
-
},
|
|
26
|
-
[o, n, d]
|
|
27
|
-
), u(
|
|
28
|
-
function() {
|
|
29
|
-
return f(i) && m({ inst: i }), o(function() {
|
|
30
|
-
f(i) && m({ inst: i });
|
|
31
|
-
});
|
|
32
|
-
},
|
|
33
|
-
[o]
|
|
34
|
-
), v(n), n;
|
|
35
|
-
}
|
|
36
|
-
function f(o) {
|
|
37
|
-
var d = o.getSnapshot;
|
|
38
|
-
o = o.value;
|
|
39
|
-
try {
|
|
40
|
-
var n = d();
|
|
41
|
-
return !a(o, n);
|
|
42
|
-
} catch {
|
|
43
|
-
return !0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
function p(o, d) {
|
|
47
|
-
return d();
|
|
48
|
-
}
|
|
49
|
-
var E = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? p : l;
|
|
50
|
-
return L.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : E, L;
|
|
51
|
-
}
|
|
52
|
-
var A = {};
|
|
53
|
-
var N;
|
|
54
|
-
function F() {
|
|
55
|
-
return N || (N = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
56
|
-
function e(n, s) {
|
|
57
|
-
return n === s && (n !== 0 || 1 / n === 1 / s) || n !== n && s !== s;
|
|
58
|
-
}
|
|
59
|
-
function t(n, s) {
|
|
60
|
-
E || u.startTransition === void 0 || (E = !0, console.error(
|
|
61
|
-
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
62
|
-
));
|
|
63
|
-
var i = s();
|
|
64
|
-
if (!o) {
|
|
65
|
-
var m = s();
|
|
66
|
-
r(i, m) || (console.error(
|
|
67
|
-
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
68
|
-
), o = !0);
|
|
69
|
-
}
|
|
70
|
-
m = v({
|
|
71
|
-
inst: { value: i, getSnapshot: s }
|
|
72
|
-
});
|
|
73
|
-
var _ = m[0].inst, g = m[1];
|
|
74
|
-
return f(
|
|
75
|
-
function() {
|
|
76
|
-
_.value = i, _.getSnapshot = s, a(_) && g({ inst: _ });
|
|
77
|
-
},
|
|
78
|
-
[n, i, s]
|
|
79
|
-
), l(
|
|
80
|
-
function() {
|
|
81
|
-
return a(_) && g({ inst: _ }), n(function() {
|
|
82
|
-
a(_) && g({ inst: _ });
|
|
83
|
-
});
|
|
84
|
-
},
|
|
85
|
-
[n]
|
|
86
|
-
), p(i), i;
|
|
87
|
-
}
|
|
88
|
-
function a(n) {
|
|
89
|
-
var s = n.getSnapshot;
|
|
90
|
-
n = n.value;
|
|
91
|
-
try {
|
|
92
|
-
var i = s();
|
|
93
|
-
return !r(n, i);
|
|
94
|
-
} catch {
|
|
95
|
-
return !0;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
function c(n, s) {
|
|
99
|
-
return s();
|
|
100
|
-
}
|
|
101
|
-
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
102
|
-
var u = b, r = typeof Object.is == "function" ? Object.is : e, v = u.useState, l = u.useEffect, f = u.useLayoutEffect, p = u.useDebugValue, E = !1, o = !1, d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? c : t;
|
|
103
|
-
A.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : d, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
104
|
-
})()), A;
|
|
105
|
-
}
|
|
106
|
-
var C;
|
|
107
|
-
function P() {
|
|
108
|
-
return C || (C = 1, process.env.NODE_ENV === "production" ? y.exports = $() : y.exports = F()), y.exports;
|
|
109
|
-
}
|
|
110
|
-
var W = P();
|
|
111
|
-
function Y() {
|
|
112
|
-
return W.useSyncExternalStore(
|
|
113
|
-
z,
|
|
114
|
-
() => !0,
|
|
115
|
-
() => !1
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
function z() {
|
|
119
|
-
return () => {
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
var R = "Avatar", [J] = B(R), [Q, j] = J(R), D = S.forwardRef(
|
|
123
|
-
(e, t) => {
|
|
124
|
-
const { __scopeAvatar: a, ...c } = e, [u, r] = S.useState("idle");
|
|
125
|
-
return /* @__PURE__ */ h.jsx(
|
|
126
|
-
Q,
|
|
127
|
-
{
|
|
128
|
-
scope: a,
|
|
129
|
-
imageLoadingStatus: u,
|
|
130
|
-
onImageLoadingStatusChange: r,
|
|
131
|
-
children: /* @__PURE__ */ h.jsx(x.span, { ...c, ref: t })
|
|
132
|
-
}
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
);
|
|
136
|
-
D.displayName = R;
|
|
137
|
-
var k = "AvatarImage", G = S.forwardRef(
|
|
138
|
-
(e, t) => {
|
|
139
|
-
const { __scopeAvatar: a, src: c, onLoadingStatusChange: u = () => {
|
|
140
|
-
}, ...r } = e, v = j(k, a), l = X(c, r), f = K((p) => {
|
|
141
|
-
u(p), v.onImageLoadingStatusChange(p);
|
|
142
|
-
});
|
|
143
|
-
return O(() => {
|
|
144
|
-
l !== "idle" && f(l);
|
|
145
|
-
}, [l, f]), l === "loaded" ? /* @__PURE__ */ h.jsx(x.img, { ...r, ref: t, src: c }) : null;
|
|
146
|
-
}
|
|
147
|
-
);
|
|
148
|
-
G.displayName = k;
|
|
149
|
-
var V = "AvatarFallback", M = S.forwardRef(
|
|
150
|
-
(e, t) => {
|
|
151
|
-
const { __scopeAvatar: a, delayMs: c, ...u } = e, r = j(V, a), [v, l] = S.useState(c === void 0);
|
|
152
|
-
return S.useEffect(() => {
|
|
153
|
-
if (c !== void 0) {
|
|
154
|
-
const f = window.setTimeout(() => l(!0), c);
|
|
155
|
-
return () => window.clearTimeout(f);
|
|
156
|
-
}
|
|
157
|
-
}, [c]), v && r.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ h.jsx(x.span, { ...u, ref: t }) : null;
|
|
158
|
-
}
|
|
159
|
-
);
|
|
160
|
-
M.displayName = V;
|
|
161
|
-
function T(e, t) {
|
|
162
|
-
return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
163
|
-
}
|
|
164
|
-
function X(e, { referrerPolicy: t, crossOrigin: a }) {
|
|
165
|
-
const c = Y(), u = S.useRef(null), r = c ? (u.current || (u.current = new window.Image()), u.current) : null, [v, l] = S.useState(
|
|
166
|
-
() => T(r, e)
|
|
167
|
-
);
|
|
168
|
-
return O(() => {
|
|
169
|
-
l(T(r, e));
|
|
170
|
-
}, [r, e]), O(() => {
|
|
171
|
-
const f = (o) => () => {
|
|
172
|
-
l(o);
|
|
173
|
-
};
|
|
174
|
-
if (!r) return;
|
|
175
|
-
const p = f("loaded"), E = f("error");
|
|
176
|
-
return r.addEventListener("load", p), r.addEventListener("error", E), t && (r.referrerPolicy = t), typeof a == "string" && (r.crossOrigin = a), () => {
|
|
177
|
-
r.removeEventListener("load", p), r.removeEventListener("error", E);
|
|
178
|
-
};
|
|
179
|
-
}, [r, a, t]), v;
|
|
180
|
-
}
|
|
181
|
-
var H = D, U = G, q = M;
|
|
182
|
-
const Z = S.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ h.jsx(
|
|
183
|
-
H,
|
|
184
|
-
{
|
|
185
|
-
ref: a,
|
|
186
|
-
className: w("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", e),
|
|
187
|
-
...t
|
|
188
|
-
}
|
|
189
|
-
));
|
|
190
|
-
Z.displayName = H?.displayName || "Avatar";
|
|
191
|
-
const ee = S.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ h.jsx(U, { ref: a, className: w("aspect-square h-full w-full", e), ...t }));
|
|
192
|
-
ee.displayName = U?.displayName || "AvatarImage";
|
|
193
|
-
const te = S.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ h.jsx(
|
|
194
|
-
q,
|
|
195
|
-
{
|
|
196
|
-
ref: a,
|
|
197
|
-
className: w("bg-muted flex h-full w-full items-center justify-center rounded-full", e),
|
|
198
|
-
...t
|
|
199
|
-
}
|
|
200
|
-
));
|
|
201
|
-
te.displayName = q?.displayName || "AvatarFallback";
|
|
202
|
-
export {
|
|
203
|
-
Z as Avatar,
|
|
204
|
-
te as AvatarFallback,
|
|
205
|
-
ee as AvatarImage
|
|
206
|
-
};
|
|
2
|
+
"use client";
|
|
3
|
+
import { n as e, r as t, t as n } from "./avatar-vGm9JN1a.mjs";
|
|
4
|
+
export { n as Avatar, e as AvatarFallback, t as AvatarImage };
|
package/dist/badge.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./jsx-runtime-CN3qjQQx.js`),t=require(`./utils-BxDanjP7.js`);let n=require(`react`);n=e.i(n);let r=require(`class-variance-authority`);var i=e.t(),a=(0,r.cva)(`inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80`,secondary:`border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80`,destructive:`border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80`,outline:`text-foreground`}},defaultVariants:{variant:`default`}});function o({className:e,variant:n,...r}){return(0,i.jsx)(`div`,{className:t.t(a({variant:n}),e),...r})}exports.Badge=o,exports.badgeVariants=a;
|
package/dist/badge.mjs
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
"use client";
|
|
3
|
+
import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
|
|
4
|
+
import { t } from "./utils-yc5uc46c.mjs";
|
|
5
|
+
import "react";
|
|
3
6
|
import { cva as n } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
function c({ className: r, variant: e, ...t }) {
|
|
22
|
-
return /* @__PURE__ */ o.jsx("div", { className: a(s({ variant: e }), r), ...t });
|
|
7
|
+
//#region src/badge.tsx
|
|
8
|
+
var r = e(), i = n("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
9
|
+
variants: { variant: {
|
|
10
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
11
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
12
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
13
|
+
outline: "text-foreground"
|
|
14
|
+
} },
|
|
15
|
+
defaultVariants: { variant: "default" }
|
|
16
|
+
});
|
|
17
|
+
function a({ className: e, variant: n, ...a }) {
|
|
18
|
+
return /* @__PURE__ */ (0, r.jsx)("div", {
|
|
19
|
+
className: t(i({ variant: n }), e),
|
|
20
|
+
...a
|
|
21
|
+
});
|
|
23
22
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
s as badgeVariants
|
|
27
|
-
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { a as Badge, i as badgeVariants };
|
package/dist/breadcrumb.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./jsx-runtime-CN3qjQQx.js`),t=require(`./utils-BxDanjP7.js`),n=require(`./dist-CmBtqW5f.js`);let r=require(`react`);r=e.i(r);let i=require(`lucide-react`);var a=e.t(),o=r.forwardRef(({...e},t)=>(0,a.jsx)(`nav`,{ref:t,"aria-label":`breadcrumb`,...e}));o.displayName=`Breadcrumb`;var s=r.forwardRef(({className:e,...n},r)=>(0,a.jsx)(`ol`,{ref:r,className:t.t(`text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5`,e),...n}));s.displayName=`BreadcrumbList`;var c=r.forwardRef(({className:e,...n},r)=>(0,a.jsx)(`li`,{ref:r,className:t.t(`inline-flex items-center gap-1.5`,e),...n}));c.displayName=`BreadcrumbItem`;var l=r.forwardRef(({asChild:e,className:r,...i},o)=>(0,a.jsx)(e?n.t:`a`,{ref:o,className:t.t(`hover:text-foreground transition-colors`,r),...i}));l.displayName=`BreadcrumbLink`;var u=r.forwardRef(({className:e,...n},r)=>(0,a.jsx)(`span`,{ref:r,role:`link`,"aria-disabled":`true`,"aria-current":`page`,className:t.t(`text-foreground font-normal`,e),...n}));u.displayName=`BreadcrumbPage`;var d=({children:e,className:n,...r})=>(0,a.jsx)(`li`,{role:`presentation`,"aria-hidden":`true`,className:t.t(`[&>svg]:h-3.5 [&>svg]:w-3.5`,n),...r,children:e??(0,a.jsx)(i.ChevronRight,{})});d.displayName=`BreadcrumbSeparator`;var f=({className:e,...n})=>(0,a.jsxs)(`span`,{role:`presentation`,"aria-hidden":`true`,className:t.t(`flex h-9 w-9 items-center justify-center`,e),...n,children:[(0,a.jsx)(i.MoreHorizontal,{className:`h-4 w-4`}),(0,a.jsx)(`span`,{className:`sr-only`,children:`More`})]});f.displayName=`BreadcrumbElipssis`,exports.Breadcrumb=o,exports.BreadcrumbEllipsis=f,exports.BreadcrumbItem=c,exports.BreadcrumbLink=l,exports.BreadcrumbList=s,exports.BreadcrumbPage=u,exports.BreadcrumbSeparator=d;
|
package/dist/breadcrumb.mjs
CHANGED
|
@@ -1,70 +1,62 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
));
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
2
|
+
"use client";
|
|
3
|
+
import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
|
|
4
|
+
import { t } from "./utils-yc5uc46c.mjs";
|
|
5
|
+
import { t as n } from "./dist-D2f83VMO.mjs";
|
|
6
|
+
import * as r from "react";
|
|
7
|
+
import { ChevronRight as i, MoreHorizontal as a } from "lucide-react";
|
|
8
|
+
//#region src/breadcrumb.tsx
|
|
9
|
+
var o = e(), s = r.forwardRef(({ ...e }, t) => /* @__PURE__ */ (0, o.jsx)("nav", {
|
|
10
|
+
ref: t,
|
|
11
|
+
"aria-label": "breadcrumb",
|
|
12
|
+
...e
|
|
13
|
+
}));
|
|
14
|
+
s.displayName = "Breadcrumb";
|
|
15
|
+
var c = r.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ (0, o.jsx)("ol", {
|
|
16
|
+
ref: r,
|
|
17
|
+
className: t("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5", e),
|
|
18
|
+
...n
|
|
19
|
+
}));
|
|
20
|
+
c.displayName = "BreadcrumbList";
|
|
21
|
+
var l = r.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ (0, o.jsx)("li", {
|
|
22
|
+
ref: r,
|
|
23
|
+
className: t("inline-flex items-center gap-1.5", e),
|
|
24
|
+
...n
|
|
25
|
+
}));
|
|
26
|
+
l.displayName = "BreadcrumbItem";
|
|
27
|
+
var u = r.forwardRef(({ asChild: e, className: r, ...i }, a) => /* @__PURE__ */ (0, o.jsx)(e ? n : "a", {
|
|
28
|
+
ref: a,
|
|
29
|
+
className: t("hover:text-foreground transition-colors", r),
|
|
30
|
+
...i
|
|
31
|
+
}));
|
|
32
|
+
u.displayName = "BreadcrumbLink";
|
|
33
|
+
var d = r.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ (0, o.jsx)("span", {
|
|
34
|
+
ref: r,
|
|
35
|
+
role: "link",
|
|
36
|
+
"aria-disabled": "true",
|
|
37
|
+
"aria-current": "page",
|
|
38
|
+
className: t("text-foreground font-normal", e),
|
|
39
|
+
...n
|
|
40
|
+
}));
|
|
41
|
+
d.displayName = "BreadcrumbPage";
|
|
42
|
+
var f = ({ children: e, className: n, ...r }) => /* @__PURE__ */ (0, o.jsx)("li", {
|
|
43
|
+
role: "presentation",
|
|
44
|
+
"aria-hidden": "true",
|
|
45
|
+
className: t("[&>svg]:h-3.5 [&>svg]:w-3.5", n),
|
|
46
|
+
...r,
|
|
47
|
+
children: e ?? /* @__PURE__ */ (0, o.jsx)(i, {})
|
|
48
|
+
});
|
|
49
|
+
f.displayName = "BreadcrumbSeparator";
|
|
50
|
+
var p = ({ className: e, ...n }) => /* @__PURE__ */ (0, o.jsxs)("span", {
|
|
51
|
+
role: "presentation",
|
|
52
|
+
"aria-hidden": "true",
|
|
53
|
+
className: t("flex h-9 w-9 items-center justify-center", e),
|
|
54
|
+
...n,
|
|
55
|
+
children: [/* @__PURE__ */ (0, o.jsx)(a, { className: "h-4 w-4" }), /* @__PURE__ */ (0, o.jsx)("span", {
|
|
56
|
+
className: "sr-only",
|
|
57
|
+
children: "More"
|
|
58
|
+
})]
|
|
28
59
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
{
|
|
33
|
-
ref: s,
|
|
34
|
-
role: "link",
|
|
35
|
-
"aria-disabled": "true",
|
|
36
|
-
"aria-current": "page",
|
|
37
|
-
className: t("text-foreground font-normal", r),
|
|
38
|
-
...e
|
|
39
|
-
}
|
|
40
|
-
));
|
|
41
|
-
x.displayName = "BreadcrumbPage";
|
|
42
|
-
const b = ({
|
|
43
|
-
children: r,
|
|
44
|
-
className: e,
|
|
45
|
-
...s
|
|
46
|
-
}) => /* @__PURE__ */ a.jsx("li", { role: "presentation", "aria-hidden": "true", className: t("[&>svg]:h-3.5 [&>svg]:w-3.5", e), ...s, children: r ?? /* @__PURE__ */ a.jsx(l, {}) });
|
|
47
|
-
b.displayName = "BreadcrumbSeparator";
|
|
48
|
-
const N = ({ className: r, ...e }) => /* @__PURE__ */ a.jsxs(
|
|
49
|
-
"span",
|
|
50
|
-
{
|
|
51
|
-
role: "presentation",
|
|
52
|
-
"aria-hidden": "true",
|
|
53
|
-
className: t("flex h-9 w-9 items-center justify-center", r),
|
|
54
|
-
...e,
|
|
55
|
-
children: [
|
|
56
|
-
/* @__PURE__ */ a.jsx(c, { className: "h-4 w-4" }),
|
|
57
|
-
/* @__PURE__ */ a.jsx("span", { className: "sr-only", children: "More" })
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
N.displayName = "BreadcrumbElipssis";
|
|
62
|
-
export {
|
|
63
|
-
d as Breadcrumb,
|
|
64
|
-
N as BreadcrumbEllipsis,
|
|
65
|
-
u as BreadcrumbItem,
|
|
66
|
-
f as BreadcrumbLink,
|
|
67
|
-
p as BreadcrumbList,
|
|
68
|
-
x as BreadcrumbPage,
|
|
69
|
-
b as BreadcrumbSeparator
|
|
70
|
-
};
|
|
60
|
+
p.displayName = "BreadcrumbElipssis";
|
|
61
|
+
//#endregion
|
|
62
|
+
export { s as Breadcrumb, p as BreadcrumbEllipsis, l as BreadcrumbItem, u as BreadcrumbLink, c as BreadcrumbList, d as BreadcrumbPage, f as BreadcrumbSeparator };
|
package/dist/button.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./jsx-runtime-CN3qjQQx.js`),t=require(`./utils-BxDanjP7.js`),n=require(`./dist-CmBtqW5f.js`);let r=require(`react`);r=e.i(r);let i=require(`class-variance-authority`);var a=e.t(),o=(0,i.cva)(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90`,outline:`border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2`,sm:`h-8 rounded-md px-3 text-xs`,lg:`h-10 rounded-md px-8`,icon:`h-9 w-9`}},defaultVariants:{variant:`default`,size:`default`}}),s=r.forwardRef(({className:e,variant:r,size:i,asChild:s=!1,...c},l)=>(0,a.jsx)(s?n.t:`button`,{className:t.t(o({variant:r,size:i,className:e})),ref:l,...c}));s.displayName=`Button`,exports.Button=s,exports.buttonVariants=o;
|