@gv-tech/ui-web 2.29.1 → 2.29.2
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-Bd0-CZQn.js +1 -0
- package/dist/{accordion-D5QXSsCK.mjs → accordion-Cf6DNbLH.mjs} +47 -51
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.mjs +1 -2
- package/dist/{alert-dialog-B-a0Wa1M.mjs → alert-dialog-BxFH0Lwn.mjs} +43 -45
- package/dist/alert-dialog-C6vNmGBL.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.mjs +1 -2
- package/dist/alert.cjs +1 -1
- package/dist/alert.mjs +2 -3
- package/dist/{aspect-ratio-s7Ji1MSr.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
- package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.mjs +1 -2
- package/dist/attachment.cjs +1 -1
- package/dist/attachment.mjs +3 -4
- package/dist/{avatar-d8Di248f.mjs → avatar-B5PWwGhY.mjs} +50 -52
- package/dist/avatar-CFhYRM52.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.mjs +1 -2
- package/dist/badge.cjs +1 -1
- package/dist/badge.mjs +5 -6
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.mjs +3 -4
- package/dist/bubble.cjs +1 -1
- package/dist/bubble.mjs +3 -4
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.mjs +4 -5
- package/dist/button.cjs +1 -1
- package/dist/button.mjs +3 -4
- package/dist/calendar-D5qgt2o2.js +1 -0
- package/dist/{calendar-UW8h9dfh.mjs → calendar-DIqXNjOR.mjs} +687 -840
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.mjs +1 -2
- package/dist/card.cjs +1 -1
- package/dist/card.mjs +2 -3
- package/dist/carousel-D-xEqRCX.js +1 -0
- package/dist/{carousel-DG9xGJns.mjs → carousel-DPjWmM_A.mjs} +13 -15
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.mjs +1 -2
- package/dist/chart.cjs +2 -2
- package/dist/chart.mjs +14 -15
- package/dist/{checkbox-Dq8VHKDH.mjs → checkbox-DEPm1BBc.mjs} +36 -38
- package/dist/checkbox-DI9Hn_e_.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.mjs +1 -2
- package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
- package/dist/{chunk-HBS6WEDP-aK8IuEX9.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.mjs +2 -3
- package/dist/{combobox-b4OmCNw1.mjs → combobox-C4y8AbZX.mjs} +348 -591
- package/dist/combobox-boXp-mix.js +3 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.mjs +1 -2
- package/dist/command-BnW6UIVk.js +1 -0
- package/dist/{command-5hobOyGG.mjs → command-Cbsp7PBx.mjs} +121 -124
- package/dist/command.cjs +1 -1
- package/dist/command.mjs +1 -2
- package/dist/context-menu-CwsdFpx1.js +1 -0
- package/dist/{context-menu-DzzU-_v8.mjs → context-menu-FNgV55ZV.mjs} +117 -119
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.mjs +1 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.mjs +3 -4
- package/dist/direction.cjs +1 -1
- package/dist/direction.mjs +2 -3
- package/dist/{dist-Bb5W_J2F.mjs → dist-7YyzJonC.mjs} +4 -4
- package/dist/{dist-BPL7gUpg.mjs → dist-AlmToDtO.mjs} +2 -3
- package/dist/{dist-BB78QQyQ.mjs → dist-B76UOZbx.mjs} +1 -2
- package/dist/{dist-BEbV0Hal.mjs → dist-B7Ph9-T6.mjs} +2 -3
- package/dist/dist-B7jnFMko.js +1 -0
- package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
- package/dist/dist-BQkDLAY7.js +1 -0
- package/dist/dist-Bal96K8t.js +1 -0
- package/dist/dist-Blgp9lfa.js +1 -0
- package/dist/{dist-CpKLY_uZ.mjs → dist-BnlI08Je.mjs} +4 -4
- package/dist/{dist-BexAB6yo.mjs → dist-Bu-uFV1C.mjs} +33 -34
- package/dist/{dist-OqDzLHTa.mjs → dist-C2BHd5i1.mjs} +31 -31
- package/dist/{dist-Dq-h6VAy.mjs → dist-C516Vwxy.mjs} +4 -6
- package/dist/dist-CBlqVBTk.js +1 -0
- package/dist/dist-CDcZ8WMF.js +1 -0
- package/dist/{dist-E8ieJTBC.mjs → dist-CDksSmTD.mjs} +5 -6
- package/dist/dist-CF-qVmmV.js +1 -0
- package/dist/dist-CIgGRTmJ.js +1 -0
- package/dist/dist-CJqVmdrU.js +1 -0
- package/dist/{dist-CPAF050o.mjs → dist-COqM3IM6.mjs} +3 -4
- package/dist/{dist-s7ibhASj.mjs → dist-CbWpCWog.mjs} +12 -13
- package/dist/{dist-DI1vapnL.mjs → dist-CcGLWbPa.mjs} +3 -4
- package/dist/{dist-Dt6m-kwU.mjs → dist-Cn4F8XlY.mjs} +50 -51
- package/dist/dist-CoTs6T03.js +1 -0
- package/dist/dist-Co_xSt6d.js +1 -0
- package/dist/{dist-UkWa-Arh.mjs → dist-Cu0GG-3j.mjs} +2 -3
- package/dist/{dist-Bvfb4y_L.mjs → dist-DKI-XYwI.mjs} +3 -5
- package/dist/{dist-DatgTWLz.mjs → dist-DQeXXRYL.mjs} +81 -82
- package/dist/dist-DW2ltK5-.js +1 -0
- package/dist/dist-DWcKY_sJ.js +1 -0
- package/dist/dist-DdAeWIwf.js +1 -0
- package/dist/dist-DhubV_gU.mjs +4 -0
- package/dist/dist-DmY7elIQ.js +1 -0
- package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
- package/dist/dist-DuQlxGyN.js +1 -0
- package/dist/dist-KFF7QKuL.js +1 -0
- package/dist/dist-RXrZgzkO.js +1 -0
- package/dist/dist-R_G5UQRm.js +1 -0
- package/dist/{dist-BbI6NHqR.mjs → dist-dwRwxUPt.mjs} +1 -2
- package/dist/dist-fzmUl3YX.mjs +553 -0
- package/dist/{dist-vu20fMUK.mjs → dist-hBsne-A2.mjs} +22 -23
- package/dist/{dist-B057I8ju.mjs → dist-ljiGYyay.mjs} +2 -3
- package/dist/dist-pqMcQ1Nk.js +1 -0
- package/dist/dist-zmnQp5Xf.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.mjs +2 -3
- package/dist/dropdown-menu-ChuqZeix.js +1 -0
- package/dist/{dropdown-menu-BqAhn64y.mjs → dropdown-menu-DU7KNoXP.mjs} +75 -77
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.mjs +1 -2
- package/dist/empty.cjs +1 -1
- package/dist/empty.mjs +2 -3
- package/dist/{es2015-DbsmTzuc.mjs → es2015-BooeZGhO.mjs} +94 -111
- package/dist/es2015-Dggv0vx3.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.mjs +4 -5
- package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
- package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +19 -20
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card-BeqCs_2R.js +1 -0
- package/dist/{hover-card-DMsxpR9G.mjs → hover-card-w8PmCyw2.mjs} +62 -64
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.mjs +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +66 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.mjs +2 -3
- package/dist/{input-otp-D49Y9VcH.mjs → input-otp-Bn_Uy1mR.mjs} +6 -17
- package/dist/input-otp-CTRB_0Xp.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.mjs +1 -2
- package/dist/input.cjs +1 -1
- package/dist/input.mjs +2 -3
- package/dist/item.cjs +1 -1
- package/dist/item.mjs +4 -5
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.mjs +2 -3
- package/dist/{label-DsSICLPc.mjs → label-Da0kELfR.mjs} +4 -6
- package/dist/label-JMa1tFfC.js +1 -0
- package/dist/label.cjs +1 -1
- package/dist/label.mjs +1 -2
- package/dist/marker.cjs +1 -1
- package/dist/marker.mjs +3 -4
- package/dist/{menubar-DZqEj6S1.mjs → menubar-B7sRxpE4.mjs} +179 -181
- package/dist/menubar-Bd-QKMcw.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.mjs +1 -2
- package/dist/{message-scroller-CS4t7Ypn.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
- package/dist/message-scroller-BJb4Mh_I.js +1 -0
- package/dist/message-scroller.cjs +1 -1
- package/dist/message-scroller.mjs +1 -2
- package/dist/message.cjs +1 -1
- package/dist/message.mjs +2 -3
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.mjs +2 -3
- package/dist/{navigation-menu-RO6thDOF.mjs → navigation-menu-B-RwfscB.mjs} +161 -159
- package/dist/navigation-menu-kPwxYZCR.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.mjs +1 -2
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.mjs +2 -3
- package/dist/popover-Cq5cTNtC.js +1 -0
- package/dist/{popover-DSBkc70V.mjs → popover-T6Ra737i.mjs} +79 -81
- package/dist/popover.cjs +1 -1
- package/dist/popover.mjs +1 -2
- package/dist/{progress-CQ4nQ85t.mjs → progress-e9YzxvRo.mjs} +11 -13
- package/dist/progress-iUSEI7J9.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.mjs +1 -2
- package/dist/{questionnaire-CVED7G7R.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
- package/dist/questionnaire-CcymIPae.js +1 -0
- package/dist/questionnaire.cjs +1 -1
- package/dist/questionnaire.mjs +1 -2
- package/dist/{radio-group-TRiAhMZB.mjs → radio-group-BKpiDcIb.mjs} +58 -60
- package/dist/radio-group-DPEzCmxe.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.mjs +1 -2
- package/dist/resizable-ByF0NmN9.mjs +2153 -0
- package/dist/resizable-oL3v42zT.js +1 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.mjs +1 -2
- package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
- package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
- package/dist/{scroll-area-D6MiNHnJ.mjs → scroll-area-BzNeOQ6C.mjs} +109 -105
- package/dist/scroll-area-s4_ZJK59.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.mjs +1 -2
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.mjs +6 -11
- package/dist/search.cjs +1 -1
- package/dist/search.mjs +12 -13
- package/dist/{select-BFJUmjvX.mjs → select-B_nRxX2Y.mjs} +280 -279
- package/dist/select-j5_dph9S.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.mjs +1 -2
- package/dist/separator-Bn-3XUSJ.js +1 -0
- package/dist/{separator-2kr96SyF.mjs → separator-CCcMNS78.mjs} +4 -6
- package/dist/separator.cjs +1 -1
- package/dist/separator.mjs +1 -2
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.mjs +3 -4
- package/dist/{sidebar-DM9ee9wf.mjs → sidebar-C2ax_A0G.mjs} +47 -49
- package/dist/sidebar-Cnem2n5A.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.mjs +1 -2
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.mjs +2 -3
- package/dist/{slider-CdTCoQu1.mjs → slider-B2PUTc7W.mjs} +103 -104
- package/dist/slider-wZuXwuib.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.mjs +1 -2
- package/dist/sonner.mjs +1 -2
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.mjs +2 -3
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.mjs +21 -22
- package/dist/switch-CD675xU7.js +1 -0
- package/dist/{switch-zUBdj7jK.mjs → switch-ikzIzrme.mjs} +29 -31
- package/dist/switch.cjs +1 -1
- package/dist/switch.mjs +1 -2
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.mjs +5 -6
- package/dist/table.cjs +1 -1
- package/dist/table.mjs +2 -3
- package/dist/{tabs-DaE9pEbo.mjs → tabs-DCm5zOYB.mjs} +45 -47
- package/dist/tabs-fcahDQDp.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.mjs +1 -2
- package/dist/text.cjs +1 -1
- package/dist/text.mjs +14 -12
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.mjs +2 -3
- package/dist/theme-provider.mjs +1 -2
- package/dist/{theme-toggle-DKh8WFLT.js → theme-toggle-BGTJsIA-.js} +1 -1
- package/dist/{theme-toggle-3RStptYf.mjs → theme-toggle-BSMwXb8o.mjs} +13 -15
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +1 -2
- package/dist/toast-C31v9P1K.js +1 -0
- package/dist/{toast-D0Yb-K84.mjs → toast-vU5ISM03.mjs} +181 -181
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +1 -2
- package/dist/toaster-CaJyOCyC.js +1 -0
- package/dist/{toaster-gT2b7mfE.mjs → toaster-D2BV6jez.mjs} +3 -5
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.mjs +1 -2
- package/dist/toggle-CSZdCCwX.js +1 -0
- package/dist/{toggle-BAeKd2N0.mjs → toggle-Cv9YYwLI.mjs} +8 -9
- package/dist/toggle-group-RT8wyBwK.js +1 -0
- package/dist/{toggle-group-CEKhUozD.mjs → toggle-group-qvjasXS-.mjs} +44 -45
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.mjs +1 -2
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.mjs +1 -2
- package/dist/{tooltip-R_nK_Qh5.mjs → tooltip-7ERoN5mV.mjs} +97 -101
- package/dist/tooltip-CC9_spXT.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.mjs +1 -2
- package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
- package/package.json +3 -3
- package/dist/accordion-DjyDOX-h.js +0 -1
- package/dist/alert-dialog-DYQAhGBC.js +0 -1
- package/dist/aspect-ratio-C-KOOyGP.js +0 -1
- package/dist/avatar-4K3XjhP8.js +0 -1
- package/dist/calendar-DFj14O6r.js +0 -1
- package/dist/carousel-CNGpg5df.js +0 -1
- package/dist/checkbox-BCgbTAdU.js +0 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
- package/dist/chunk-mLOUI7ql.js +0 -1
- package/dist/combobox-CpPIGtPJ.js +0 -4
- package/dist/command-Dbqnm9kI.js +0 -1
- package/dist/context-menu-DyTUismw.js +0 -1
- package/dist/dist-1zUKVGvf.js +0 -1
- package/dist/dist-BBvidwzC.js +0 -1
- package/dist/dist-BTUvBzOm.js +0 -1
- package/dist/dist-BU-TFzJf.js +0 -1
- package/dist/dist-BgXIqHHq.js +0 -1
- package/dist/dist-C8Pm6LRc.js +0 -1
- package/dist/dist-CGgemr2V.js +0 -1
- package/dist/dist-CUvxOuXM.mjs +0 -551
- package/dist/dist-C_iFkwIX.js +0 -1
- package/dist/dist-ClYM7l1t.js +0 -1
- package/dist/dist-D1qkELLT.js +0 -1
- package/dist/dist-D7-Fky36.js +0 -1
- package/dist/dist-DEpkkABT.js +0 -1
- package/dist/dist-DKXojpVG.js +0 -1
- package/dist/dist-DYUvPCPC.js +0 -1
- package/dist/dist-DoivLw3t.js +0 -1
- package/dist/dist-GazS1kfR.mjs +0 -5
- package/dist/dist-N97cIp0_.js +0 -1
- package/dist/dist-Qm9hFvM1.js +0 -1
- package/dist/dist-UnTrOmPV.js +0 -1
- package/dist/dist-YAADIsyo.js +0 -1
- package/dist/dist-Zs2sjYhL.js +0 -1
- package/dist/dist-hFLuJoMi.js +0 -1
- package/dist/dropdown-menu-BtKOr--r.js +0 -1
- package/dist/es2015-DbAsWDbs.js +0 -41
- package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
- package/dist/hover-card-DWXusgiI.js +0 -1
- package/dist/input-otp-u3obpt-Q.js +0 -20
- package/dist/label-Dacwh21G.js +0 -1
- package/dist/menubar-BYNeRuzx.js +0 -1
- package/dist/message-scroller-DqLu0YI6.js +0 -1
- package/dist/navigation-menu-B36G3O83.js +0 -1
- package/dist/popover-DUHbvKB8.js +0 -1
- package/dist/progress-B9z08UXf.js +0 -6
- package/dist/questionnaire-PWClWvST.js +0 -1
- package/dist/radio-group-Bd3WbH5I.js +0 -1
- package/dist/resizable-Cq60hEWB.js +0 -1
- package/dist/resizable-Qc8cVUKd.mjs +0 -2857
- package/dist/scroll-area-DFUdJeSZ.js +0 -1
- package/dist/select-iQFoKU1s.js +0 -1
- package/dist/separator-Bo49G2aj.js +0 -1
- package/dist/sidebar-C6O8hLkz.js +0 -1
- package/dist/slider-CagVxozY.js +0 -1
- package/dist/switch-CoeAC1Wk.js +0 -1
- package/dist/tabs-TMhXe20x.js +0 -1
- package/dist/toast-B0S3F09s.js +0 -1
- package/dist/toaster-CX9im8R_.js +0 -1
- package/dist/toggle-B0hXPsi7.js +0 -1
- package/dist/toggle-group-htyug3G7.js +0 -1
- package/dist/tooltip-BZazhXDZ.js +0 -1
- /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import { t as n } from "./dist-
|
|
4
|
-
import { t as r } from "./dist-
|
|
5
|
-
import {
|
|
6
|
-
import { t as a } from "./dist-
|
|
7
|
-
import { t as o } from "./dist-
|
|
8
|
-
import { t as s } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B76UOZbx.mjs";
|
|
2
|
+
import { t } from "./dist-COqM3IM6.mjs";
|
|
3
|
+
import { t as n } from "./dist-DKI-XYwI.mjs";
|
|
4
|
+
import { t as r } from "./dist-DhubV_gU.mjs";
|
|
5
|
+
import { a as i } from "./dist-C516Vwxy.mjs";
|
|
6
|
+
import { t as a } from "./dist-B7Ph9-T6.mjs";
|
|
7
|
+
import { t as o } from "./dist-BnlI08Je.mjs";
|
|
8
|
+
import { t as s } from "./dist-Cu0GG-3j.mjs";
|
|
9
9
|
import * as c from "react";
|
|
10
10
|
import { jsx as l } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// ../../node_modules/.bun/@radix-ui+react-collapsible@1.2.1+2b23df507bdda662/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
12
12
|
var u = Object.defineProperty, d = (e, t) => u(e, "name", {
|
|
13
13
|
value: t,
|
|
14
14
|
configurable: !0
|
|
15
|
-
}), f = "Collapsible", [p, m] =
|
|
16
|
-
let { __scopeCollapsible: r, open: i, defaultOpen: o, disabled: u, onOpenChange: d, ...p } = e, [m, g] =
|
|
15
|
+
}), f = "Collapsible", [p, m] = t(f), [h, g] = p(f), _ = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(e, t) {
|
|
16
|
+
let { __scopeCollapsible: r, open: i, defaultOpen: o, disabled: u, onOpenChange: d, ...p } = e, [m, g] = n({
|
|
17
17
|
prop: i,
|
|
18
18
|
defaultProp: o ?? !1,
|
|
19
19
|
onChange: d,
|
|
@@ -25,25 +25,25 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
|
|
|
25
25
|
contentId: s(),
|
|
26
26
|
open: m,
|
|
27
27
|
onOpenToggle: c.useCallback(() => g((e) => !e), [g]),
|
|
28
|
-
children: /* @__PURE__ */ l(
|
|
28
|
+
children: /* @__PURE__ */ l(a.div, {
|
|
29
29
|
"data-state": C(m),
|
|
30
30
|
"data-disabled": u ? "" : void 0,
|
|
31
31
|
...p,
|
|
32
|
-
ref:
|
|
32
|
+
ref: t
|
|
33
33
|
})
|
|
34
34
|
});
|
|
35
|
-
}, "Collapsible")), v = "CollapsibleTrigger", y = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(
|
|
36
|
-
let { __scopeCollapsible: r, ...
|
|
37
|
-
return /* @__PURE__ */ l(
|
|
35
|
+
}, "Collapsible")), v = "CollapsibleTrigger", y = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(t, n) {
|
|
36
|
+
let { __scopeCollapsible: r, ...i } = t, o = g(v, r);
|
|
37
|
+
return /* @__PURE__ */ l(a.button, {
|
|
38
38
|
type: "button",
|
|
39
39
|
"aria-controls": o.open ? o.contentId : void 0,
|
|
40
40
|
"aria-expanded": o.open || !1,
|
|
41
41
|
"data-state": C(o.open),
|
|
42
42
|
"data-disabled": o.disabled ? "" : void 0,
|
|
43
43
|
disabled: o.disabled,
|
|
44
|
-
...
|
|
44
|
+
...i,
|
|
45
45
|
ref: n,
|
|
46
|
-
onClick:
|
|
46
|
+
onClick: e(t.onClick, o.onOpenToggle)
|
|
47
47
|
});
|
|
48
48
|
}, "CollapsibleTrigger")), b = "CollapsibleContent", x = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(e, t) {
|
|
49
49
|
let { forceMount: n, ...r } = e, i = g(b, e.__scopeCollapsible);
|
|
@@ -55,8 +55,8 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
|
|
|
55
55
|
present: e
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
}, "CollapsibleContent")), S = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(
|
|
59
|
-
let { __scopeCollapsible:
|
|
58
|
+
}, "CollapsibleContent")), S = /* @__PURE__ */ c.forwardRef(/* @__PURE__ */ d(function(e, t) {
|
|
59
|
+
let { __scopeCollapsible: n, present: o, children: s, ...u } = e, d = g(b, n), [f, p] = c.useState(o), m = c.useRef(null), h = i(t, m), _ = c.useRef(0), v = _.current, y = c.useRef(0), x = y.current, S = d.open || f, w = c.useRef(S), T = c.useRef(void 0);
|
|
60
60
|
return c.useEffect(() => {
|
|
61
61
|
let e = requestAnimationFrame(() => w.current = !1);
|
|
62
62
|
return () => cancelAnimationFrame(e);
|
|
@@ -70,7 +70,7 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
|
|
|
70
70
|
let t = e.getBoundingClientRect();
|
|
71
71
|
_.current = t.height, y.current = t.width, w.current || (e.style.transitionDuration = T.current.transitionDuration, e.style.animationName = T.current.animationName), p(o);
|
|
72
72
|
}
|
|
73
|
-
}, [d.open, o]), /* @__PURE__ */ l(
|
|
73
|
+
}, [d.open, o]), /* @__PURE__ */ l(a.div, {
|
|
74
74
|
"data-state": C(d.open),
|
|
75
75
|
"data-disabled": d.disabled ? "" : void 0,
|
|
76
76
|
id: d.contentId,
|
|
@@ -80,7 +80,7 @@ var u = Object.defineProperty, d = (e, t) => u(e, "name", {
|
|
|
80
80
|
style: {
|
|
81
81
|
"--radix-collapsible-content-height": v ? `${v}px` : void 0,
|
|
82
82
|
"--radix-collapsible-content-width": x ? `${x}px` : void 0,
|
|
83
|
-
...
|
|
83
|
+
...e.style
|
|
84
84
|
},
|
|
85
85
|
children: S && s
|
|
86
86
|
});
|
|
@@ -89,5 +89,4 @@ function C(e) {
|
|
|
89
89
|
return e ? "open" : "closed";
|
|
90
90
|
}
|
|
91
91
|
d(C, "getState");
|
|
92
|
-
//#endregion
|
|
93
92
|
export { m as i, x as n, y as r, _ as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B7Ph9-T6.mjs";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// ../../node_modules/.bun/@radix-ui+react-visually-hidden@1.2.13+2b23df507bdda662/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
5
5
|
var r = Object.defineProperty, i = (e, t) => r(e, "name", {
|
|
6
6
|
value: t,
|
|
7
7
|
configurable: !0
|
|
@@ -26,5 +26,4 @@ var r = Object.defineProperty, i = (e, t) => r(e, "name", {
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
}, "VisuallyHidden"));
|
|
29
|
-
//#endregion
|
|
30
29
|
export { o as n, a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0}),o=r.useInsertionEffect;function s(e){let n=r.useRef(e);return typeof o==`function`?o(()=>{n.current=e}):t.t(()=>{n.current=e}),r.useMemo(()=>((...e)=>n.current?.(...e)),[])}a(s,`useCallbackRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0}),o=r.useEffectEvent,s=r.useInsertionEffect;function c(e){if(typeof o==`function`)return o(e);let n=r.useRef(()=>{throw Error(`Cannot call an event handler while rendering.`)});return typeof s==`function`?s(()=>{n.current=e}):t.t(()=>{n.current=e}),r.useMemo(()=>((...e)=>n.current?.(...e)),[])}a(c,`useEffectEvent`);var l=Object.defineProperty,u=(e,t)=>l(e,`name`,{value:t,configurable:!0}),d=r.useInsertionEffect||t.t;function f({prop:e,defaultProp:t,onChange:n=u(()=>{},`onChange`),caller:i}){let[a,o,s]=p({defaultProp:t,onChange:n}),c=e!==void 0;return[c?e:a,r.useCallback(t=>{if(c){let n=m(t)?t(e):t;n!==e&&s.current?.(n)}else o(t)},[c,e,o,s])]}u(f,`useControllableState`);function p({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),a=r.useRef(n),o=r.useRef(t);return d(()=>{o.current=t},[t]),r.useEffect(()=>{a.current!==n&&(o.current?.(n),a.current=n)},[n,a]),[n,i,o]}u(p,`useUncontrolledState`);function m(e){return typeof e==`function`}u(m,`isFunction`);var h=Symbol(`RADIX:SYNC_STATE`);function g(e,t,n,i){let{prop:a,defaultProp:o,onChange:s,caller:l}=t,u=a!==void 0,d=c(s),f=[{...n,state:o}];i&&f.push(i);let[p,m]=r.useReducer((t,n)=>{if(n.type===h)return{...t,state:n.state};let r=e(t,n);return u&&!Object.is(r.state,t.state)&&d(r.state),r},...f),g=p.state,_=r.useRef(g);r.useEffect(()=>{_.current!==g&&(_.current=g,u||d(g))},[g,_,u]);let v=r.useMemo(()=>a===void 0?p:{...p,state:a},[p,a]);return r.useEffect(()=>{u&&!Object.is(a,p.state)&&m({type:h,state:a})},[a,p.state,u]),[v,m]}u(g,`useControllableStateReducer`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
package/dist/drawer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js");let n=require("react");n=e.r(n);let r=require("react/jsx-runtime"),i=require("vaul");function a({...e}){return(0,r.jsx)(i.Drawer.Root,{"data-slot":`drawer`,...e})}function o({...e}){return(0,r.jsx)(i.Drawer.Trigger,{"data-slot":`drawer-trigger`,...e})}function s({...e}){return(0,r.jsx)(i.Drawer.Portal,{"data-slot":`drawer-portal`,...e})}function c({...e}){return(0,r.jsx)(i.Drawer.Close,{"data-slot":`drawer-close`,...e})}function l({className:e,...n}){return(0,r.jsx)(i.Drawer.Overlay,{"data-slot":`drawer-overlay`,className:t.t(`data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 fixed inset-0 z-50 bg-black/10 supports-backdrop-filter:backdrop-blur-xs`,e),...n})}function u({className:e,children:n,...a}){return(0,r.jsxs)(s,{"data-slot":`drawer-portal`,children:[(0,r.jsx)(l,{}),(0,r.jsxs)(i.Drawer.Content,{"data-slot":`drawer-content`,className:t.t(`group/drawer-content bg-popover text-popover-foreground fixed z-50 flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm`,e),...a,children:[(0,r.jsx)(`div`,{className:`bg-muted mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block`}),n]})]})}function d({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`drawer-header`,className:t.t(`flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start`,e),...n})}function f({className:e,...n}){return(0,r.jsx)(`div`,{"data-slot":`drawer-footer`,className:t.t(`mt-auto flex flex-col gap-2 p-4`,e),...n})}function p({className:e,...n}){return(0,r.jsx)(i.Drawer.Title,{"data-slot":`drawer-title`,className:t.t(`text-foreground text-base font-medium`,e),...n})}function m({className:e,...n}){return(0,r.jsx)(i.Drawer.Description,{"data-slot":`drawer-description`,className:t.t(`text-muted-foreground text-sm`,e),...n})}exports.Drawer=a,exports.DrawerClose=c,exports.DrawerContent=u,exports.DrawerDescription=m,exports.DrawerFooter=f,exports.DrawerHeader=d,exports.DrawerOverlay=l,exports.DrawerPortal=s,exports.DrawerTitle=p,exports.DrawerTrigger=o;
|
package/dist/drawer.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./dist-
|
|
2
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
5
5
|
import { Drawer as r } from "vaul";
|
|
6
|
-
|
|
6
|
+
// src/drawer.tsx
|
|
7
7
|
function i({ ...e }) {
|
|
8
8
|
return /* @__PURE__ */ t(r.Root, {
|
|
9
9
|
"data-slot": "drawer",
|
|
@@ -74,5 +74,4 @@ function p({ className: n, ...i }) {
|
|
|
74
74
|
...i
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
//#endregion
|
|
78
77
|
export { i as Drawer, s as DrawerClose, l as DrawerContent, p as DrawerDescription, d as DrawerFooter, u as DrawerHeader, c as DrawerOverlay, o as DrawerPortal, f as DrawerTitle, a as DrawerTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./dist-DZiOPWLp.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-zmnQp5Xf.js"),o=require("./dist-CBlqVBTk.js"),s=require("./dist-CF-qVmmV.js"),c=require("./dist-RXrZgzkO.js");let l=require("lucide-react"),u=require("react"),d=e.r(u,1);u=e.r(u);let f=require("react/jsx-runtime");var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h=`DropdownMenu`,[g,_]=i.t(h,[s.g]),v=s.g(),[y,b]=g(h),x=m(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:l,modal:u=!0}=e,p=v(t),m=d.useRef(null),[g,_]=a.t({prop:i,defaultProp:o??!1,onChange:l,caller:h});return(0,f.jsx)(y,{scope:t,triggerId:c.t(),triggerRef:m,contentId:c.t(),open:g,onOpenChange:_,onOpenToggle:d.useCallback(()=>_(e=>!e),[_]),modal:u,children:(0,f.jsx)(s.t,{...p,open:g,onOpenChange:_,dir:r,modal:u,children:n})})},`DropdownMenu`),S=`DropdownMenuTrigger`,C=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:i,disabled:a=!1,...c}=e,l=b(S,i),u=v(i),d=r.a(t,l.triggerRef);return(0,f.jsx)(s.n,{asChild:!0,...u,children:(0,f.jsx)(o.t.button,{type:`button`,id:l.triggerId,"aria-haspopup":`menu`,"aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?`open`:`closed`,"data-disabled":a?``:void 0,disabled:a,...c,ref:d,onPointerDown:n.t(e.onPointerDown,e=>{!a&&e.button===0&&e.ctrlKey===!1&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:n.t(e.onKeyDown,e=>{a||([`Enter`,` `].includes(e.key)&&l.onOpenToggle(),e.key===`ArrowDown`&&l.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})},`DropdownMenuTrigger`)),w=m(e=>{let{__scopeDropdownMenu:t,...n}=e,r=v(t);return(0,f.jsx)(s.l,{...r,...n})},`DropdownMenuPortal`),T=`DropdownMenuContent`,E=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:r,...i}=e,a=b(T,r),o=v(r),c=d.useRef(!1);return(0,f.jsx)(s.i,{id:a.contentId,"aria-labelledby":a.triggerId,...o,...i,ref:t,onCloseAutoFocus:n.t(e.onCloseAutoFocus,e=>{c.current||a.triggerRef.current?.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:n.t(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!a.modal||r)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuContent`)),D=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.a,{...i,...r,ref:t})},`DropdownMenuGroup`)),O=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.c,{...i,...r,ref:t})},`DropdownMenuLabel`)),k=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.o,{...i,...r,ref:t})},`DropdownMenuItem`)),A=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.r,{...i,...r,ref:t})},`DropdownMenuCheckboxItem`)),j=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.u,{...i,...r,ref:t})},`DropdownMenuRadioGroup`)),M=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.d,{...i,...r,ref:t})},`DropdownMenuRadioItem`)),N=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.s,{...i,...r,ref:t})},`DropdownMenuItemIndicator`)),P=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.f,{...i,...r,ref:t})},`DropdownMenuSeparator`)),F=m(e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:i,defaultOpen:o}=e,c=v(t),[l,u]=a.t({prop:r,defaultProp:o??!1,onChange:i,caller:`DropdownMenuSub`});return(0,f.jsx)(s.p,{...c,open:l,onOpenChange:u,children:n})},`DropdownMenuSub`),I=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.h,{...i,...r,ref:t})},`DropdownMenuSubTrigger`)),L=d.forwardRef(m(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=v(n);return(0,f.jsx)(s.m,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuSubContent`));function R({...e}){return(0,f.jsx)(x,{"data-slot":`dropdown-menu`,...e})}function z({...e}){return(0,f.jsx)(w,{"data-slot":`dropdown-menu-portal`,...e})}function B({...e}){return(0,f.jsx)(C,{"data-slot":`dropdown-menu-trigger`,...e})}function V({className:e,align:n=`start`,sideOffset:r=4,...i}){return(0,f.jsx)(w,{children:(0,f.jsx)(E,{"data-slot":`dropdown-menu-content`,sideOffset:r,align:n,className:t.t(`bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1 duration-100 data-[state=closed]:overflow-hidden`,e),...i})})}function H({...e}){return(0,f.jsx)(D,{"data-slot":`dropdown-menu-group`,...e})}function U({className:e,inset:n,variant:r=`default`,...i}){return(0,f.jsx)(k,{"data-slot":`dropdown-menu-item`,"data-inset":n,"data-variant":r,className:t.t(`group/dropdown-menu-item focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:*:[svg]:text-destructive relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i})}function W({className:e,children:n,checked:r,inset:i,...a}){return(0,f.jsxs)(A,{"data-slot":`dropdown-menu-checkbox-item`,"data-inset":i,className:t.t(`focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:r,...a,children:[(0,f.jsx)(`span`,{className:`pointer-events-none absolute end-2 flex items-center justify-center`,"data-slot":`dropdown-menu-checkbox-item-indicator`,children:(0,f.jsx)(N,{children:(0,f.jsx)(l.CheckIcon,{})})}),n]})}function G({...e}){return(0,f.jsx)(j,{"data-slot":`dropdown-menu-radio-group`,...e})}function K({className:e,children:n,inset:r,...i}){return(0,f.jsxs)(M,{"data-slot":`dropdown-menu-radio-item`,"data-inset":r,className:t.t(`focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[(0,f.jsx)(`span`,{className:`pointer-events-none absolute end-2 flex items-center justify-center`,"data-slot":`dropdown-menu-radio-item-indicator`,children:(0,f.jsx)(N,{children:(0,f.jsx)(l.CheckIcon,{})})}),n]})}function q({className:e,inset:n,...r}){return(0,f.jsx)(O,{"data-slot":`dropdown-menu-label`,"data-inset":n,className:t.t(`text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7`,e),...r})}function J({className:e,...n}){return(0,f.jsx)(P,{"data-slot":`dropdown-menu-separator`,className:t.t(`bg-border -mx-1 my-1 h-px`,e),...n})}function Y({className:e,...n}){return(0,f.jsx)(`span`,{"data-slot":`dropdown-menu-shortcut`,className:t.t(`text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest`,e),...n})}function X({...e}){return(0,f.jsx)(F,{"data-slot":`dropdown-menu-sub`,...e})}function Z({className:e,inset:n,children:r,...i}){return(0,f.jsxs)(I,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":n,className:t.t(`focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[r,(0,f.jsx)(l.ChevronRightIcon,{className:`ms-auto rtl:rotate-180`})]})}function Q({className:e,...n}){return(0,f.jsx)(L,{"data-slot":`dropdown-menu-sub-content`,className:t.t(`bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg p-1 shadow-lg ring-1 duration-100`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return J}});
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./dist-
|
|
5
|
-
import { t as i } from "./dist-
|
|
6
|
-
import { t as a } from "./dist-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
2
|
+
import { t } from "./dist-B76UOZbx.mjs";
|
|
3
|
+
import { a as n } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as r } from "./dist-COqM3IM6.mjs";
|
|
5
|
+
import { t as i } from "./dist-DKI-XYwI.mjs";
|
|
6
|
+
import { t as a } from "./dist-B7Ph9-T6.mjs";
|
|
7
|
+
import { a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x } from "./dist-fzmUl3YX.mjs";
|
|
8
|
+
import { t as S } from "./dist-Cu0GG-3j.mjs";
|
|
9
9
|
import { CheckIcon as C, ChevronRightIcon as ee } from "lucide-react";
|
|
10
10
|
import * as w from "react";
|
|
11
11
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// ../../node_modules/.bun/@radix-ui+react-dropdown-menu@2.2.1+2b23df507bdda662/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
|
|
13
13
|
var D = Object.defineProperty, O = (e, t) => D(e, "name", {
|
|
14
14
|
value: t,
|
|
15
15
|
configurable: !0
|
|
16
|
-
}), k = "DropdownMenu", [A, te] = r(k, [
|
|
17
|
-
let { __scopeDropdownMenu: t, children: n, dir: r, open:
|
|
18
|
-
prop:
|
|
19
|
-
defaultProp:
|
|
20
|
-
onChange:
|
|
16
|
+
}), k = "DropdownMenu", [A, te] = r(k, [u]), j = u(), [M, N] = A(k), P = /* @__PURE__ */ O((e) => {
|
|
17
|
+
let { __scopeDropdownMenu: t, children: n, dir: r, open: a, defaultOpen: o, onOpenChange: s, modal: c = !0 } = e, l = j(t), u = w.useRef(null), [d, f] = i({
|
|
18
|
+
prop: a,
|
|
19
|
+
defaultProp: o ?? !1,
|
|
20
|
+
onChange: s,
|
|
21
21
|
caller: k
|
|
22
22
|
});
|
|
23
23
|
return /* @__PURE__ */ T(M, {
|
|
24
24
|
scope: t,
|
|
25
|
-
triggerId:
|
|
26
|
-
triggerRef:
|
|
27
|
-
contentId:
|
|
28
|
-
open:
|
|
29
|
-
onOpenChange:
|
|
30
|
-
onOpenToggle: w.useCallback(() =>
|
|
31
|
-
modal:
|
|
32
|
-
children: /* @__PURE__ */ T(
|
|
33
|
-
...
|
|
34
|
-
open:
|
|
35
|
-
onOpenChange:
|
|
25
|
+
triggerId: S(),
|
|
26
|
+
triggerRef: u,
|
|
27
|
+
contentId: S(),
|
|
28
|
+
open: d,
|
|
29
|
+
onOpenChange: f,
|
|
30
|
+
onOpenToggle: w.useCallback(() => f((e) => !e), [f]),
|
|
31
|
+
modal: c,
|
|
32
|
+
children: /* @__PURE__ */ T(b, {
|
|
33
|
+
...l,
|
|
34
|
+
open: d,
|
|
35
|
+
onOpenChange: f,
|
|
36
36
|
dir: r,
|
|
37
|
-
modal:
|
|
37
|
+
modal: c,
|
|
38
38
|
children: n
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
}, "DropdownMenu"), F = "DropdownMenuTrigger", I = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, r) {
|
|
42
|
-
let { __scopeDropdownMenu:
|
|
43
|
-
return /* @__PURE__ */ T(
|
|
42
|
+
let { __scopeDropdownMenu: i, disabled: o = !1, ...s } = e, c = N(F, i), l = j(i), u = n(r, c.triggerRef);
|
|
43
|
+
return /* @__PURE__ */ T(h, {
|
|
44
44
|
asChild: !0,
|
|
45
45
|
...l,
|
|
46
|
-
children: /* @__PURE__ */ T(
|
|
46
|
+
children: /* @__PURE__ */ T(a.button, {
|
|
47
47
|
type: "button",
|
|
48
48
|
id: c.triggerId,
|
|
49
49
|
"aria-haspopup": "menu",
|
|
@@ -54,10 +54,10 @@ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
|
|
|
54
54
|
disabled: o,
|
|
55
55
|
...s,
|
|
56
56
|
ref: u,
|
|
57
|
-
onPointerDown:
|
|
57
|
+
onPointerDown: t(e.onPointerDown, (e) => {
|
|
58
58
|
!o && e.button === 0 && e.ctrlKey === !1 && (c.onOpenToggle(), c.open || e.preventDefault());
|
|
59
59
|
}),
|
|
60
|
-
onKeyDown:
|
|
60
|
+
onKeyDown: t(e.onKeyDown, (e) => {
|
|
61
61
|
o || (["Enter", " "].includes(e.key) && c.onOpenToggle(), e.key === "ArrowDown" && c.onOpenChange(!0), [
|
|
62
62
|
"Enter",
|
|
63
63
|
" ",
|
|
@@ -67,23 +67,23 @@ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
|
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
69
|
}, "DropdownMenuTrigger")), L = /* @__PURE__ */ O((e) => {
|
|
70
|
-
let { __scopeDropdownMenu: t, ...n } = e;
|
|
71
|
-
return /* @__PURE__ */ T(
|
|
72
|
-
...
|
|
70
|
+
let { __scopeDropdownMenu: t, ...n } = e, r = j(t);
|
|
71
|
+
return /* @__PURE__ */ T(p, {
|
|
72
|
+
...r,
|
|
73
73
|
...n
|
|
74
74
|
});
|
|
75
|
-
}, "DropdownMenuPortal"), R = "DropdownMenuContent", z = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e,
|
|
76
|
-
let { __scopeDropdownMenu:
|
|
77
|
-
return /* @__PURE__ */ T(
|
|
75
|
+
}, "DropdownMenuPortal"), R = "DropdownMenuContent", z = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, n) {
|
|
76
|
+
let { __scopeDropdownMenu: r, ...i } = e, a = N(R, r), o = j(r), s = w.useRef(!1);
|
|
77
|
+
return /* @__PURE__ */ T(f, {
|
|
78
78
|
id: a.contentId,
|
|
79
79
|
"aria-labelledby": a.triggerId,
|
|
80
80
|
...o,
|
|
81
|
-
...
|
|
82
|
-
ref:
|
|
83
|
-
onCloseAutoFocus:
|
|
81
|
+
...i,
|
|
82
|
+
ref: n,
|
|
83
|
+
onCloseAutoFocus: t(e.onCloseAutoFocus, (e) => {
|
|
84
84
|
s.current || a.triggerRef.current?.focus(), s.current = !1, e.preventDefault();
|
|
85
85
|
}),
|
|
86
|
-
onInteractOutside:
|
|
86
|
+
onInteractOutside: t(e.onInteractOutside, (e) => {
|
|
87
87
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
88
88
|
(!a.modal || r) && (s.current = !0);
|
|
89
89
|
}),
|
|
@@ -97,85 +97,85 @@ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
}, "DropdownMenuContent")), B = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
100
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
101
|
-
return /* @__PURE__ */ T(
|
|
102
|
-
...
|
|
100
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
101
|
+
return /* @__PURE__ */ T(o, {
|
|
102
|
+
...i,
|
|
103
103
|
...r,
|
|
104
104
|
ref: t
|
|
105
105
|
});
|
|
106
106
|
}, "DropdownMenuGroup")), V = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
107
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
108
|
-
return /* @__PURE__ */ T(
|
|
109
|
-
...
|
|
107
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
108
|
+
return /* @__PURE__ */ T(s, {
|
|
109
|
+
...i,
|
|
110
110
|
...r,
|
|
111
111
|
ref: t
|
|
112
112
|
});
|
|
113
113
|
}, "DropdownMenuLabel")), H = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
114
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
115
|
-
return /* @__PURE__ */ T(
|
|
116
|
-
...
|
|
114
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
115
|
+
return /* @__PURE__ */ T(g, {
|
|
116
|
+
...i,
|
|
117
117
|
...r,
|
|
118
118
|
ref: t
|
|
119
119
|
});
|
|
120
120
|
}, "DropdownMenuItem")), ne = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
121
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
122
|
-
return /* @__PURE__ */ T(
|
|
123
|
-
...
|
|
121
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
122
|
+
return /* @__PURE__ */ T(v, {
|
|
123
|
+
...i,
|
|
124
124
|
...r,
|
|
125
125
|
ref: t
|
|
126
126
|
});
|
|
127
127
|
}, "DropdownMenuCheckboxItem")), U = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
128
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
129
|
-
return /* @__PURE__ */ T(
|
|
130
|
-
...
|
|
128
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
129
|
+
return /* @__PURE__ */ T(x, {
|
|
130
|
+
...i,
|
|
131
131
|
...r,
|
|
132
132
|
ref: t
|
|
133
133
|
});
|
|
134
134
|
}, "DropdownMenuRadioGroup")), W = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
135
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
136
|
-
return /* @__PURE__ */ T(
|
|
137
|
-
...
|
|
135
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
136
|
+
return /* @__PURE__ */ T(c, {
|
|
137
|
+
...i,
|
|
138
138
|
...r,
|
|
139
139
|
ref: t
|
|
140
140
|
});
|
|
141
141
|
}, "DropdownMenuRadioItem")), G = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
142
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
143
|
-
return /* @__PURE__ */ T(
|
|
144
|
-
...
|
|
142
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
143
|
+
return /* @__PURE__ */ T(y, {
|
|
144
|
+
...i,
|
|
145
145
|
...r,
|
|
146
146
|
ref: t
|
|
147
147
|
});
|
|
148
148
|
}, "DropdownMenuItemIndicator")), K = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
149
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
150
|
-
return /* @__PURE__ */ T(
|
|
151
|
-
...
|
|
149
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
150
|
+
return /* @__PURE__ */ T(l, {
|
|
151
|
+
...i,
|
|
152
152
|
...r,
|
|
153
153
|
ref: t
|
|
154
154
|
});
|
|
155
155
|
}, "DropdownMenuSeparator")), q = /* @__PURE__ */ O((e) => {
|
|
156
|
-
let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange:
|
|
156
|
+
let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: a, defaultOpen: o } = e, s = j(t), [c, l] = i({
|
|
157
157
|
prop: r,
|
|
158
158
|
defaultProp: o ?? !1,
|
|
159
|
-
onChange:
|
|
159
|
+
onChange: a,
|
|
160
160
|
caller: "DropdownMenuSub"
|
|
161
161
|
});
|
|
162
|
-
return /* @__PURE__ */ T(
|
|
162
|
+
return /* @__PURE__ */ T(_, {
|
|
163
163
|
...s,
|
|
164
164
|
open: c,
|
|
165
165
|
onOpenChange: l,
|
|
166
166
|
children: n
|
|
167
167
|
});
|
|
168
168
|
}, "DropdownMenuSub"), J = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
169
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
170
|
-
return /* @__PURE__ */ T(
|
|
171
|
-
...
|
|
169
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
170
|
+
return /* @__PURE__ */ T(d, {
|
|
171
|
+
...i,
|
|
172
172
|
...r,
|
|
173
173
|
ref: t
|
|
174
174
|
});
|
|
175
175
|
}, "DropdownMenuSubTrigger")), Y = /* @__PURE__ */ w.forwardRef(/* @__PURE__ */ O(function(e, t) {
|
|
176
|
-
let { __scopeDropdownMenu: n, ...r } = e;
|
|
177
|
-
return /* @__PURE__ */ T(
|
|
178
|
-
...
|
|
176
|
+
let { __scopeDropdownMenu: n, ...r } = e, i = j(n);
|
|
177
|
+
return /* @__PURE__ */ T(m, {
|
|
178
|
+
...i,
|
|
179
179
|
...r,
|
|
180
180
|
ref: t,
|
|
181
181
|
style: {
|
|
@@ -188,8 +188,7 @@ var D = Object.defineProperty, O = (e, t) => D(e, "name", {
|
|
|
188
188
|
}
|
|
189
189
|
});
|
|
190
190
|
}, "DropdownMenuSubContent"));
|
|
191
|
-
|
|
192
|
-
//#region src/dropdown-menu.tsx
|
|
191
|
+
// src/dropdown-menu.tsx
|
|
193
192
|
function X({ ...e }) {
|
|
194
193
|
return /* @__PURE__ */ T(P, {
|
|
195
194
|
"data-slot": "dropdown-menu",
|
|
@@ -309,5 +308,4 @@ function pe({ className: t, ...n }) {
|
|
|
309
308
|
...n
|
|
310
309
|
});
|
|
311
310
|
}
|
|
312
|
-
//#endregion
|
|
313
311
|
export { ae as a, $ as c, ue as d, de as f, Q as h, ie as i, se as l, fe as m, oe as n, ce as o, pe as p, re as r, Z as s, X as t, le as u };
|
package/dist/dropdown-menu.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dropdown-menu-
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dropdown-menu-ChuqZeix.js");exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
|
package/dist/dropdown-menu.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
|
|
4
|
-
export { p as DropdownMenu, c as DropdownMenuCheckboxItem, d as DropdownMenuContent, a as DropdownMenuGroup, e as DropdownMenuItem, l as DropdownMenuLabel, f as DropdownMenuPortal, t as DropdownMenuRadioGroup, o as DropdownMenuRadioItem, m as DropdownMenuSeparator, n as DropdownMenuShortcut, r as DropdownMenuSub, u as DropdownMenuSubContent, s as DropdownMenuSubTrigger, i as DropdownMenuTrigger };
|
|
3
|
+
export { t as DropdownMenu, n as DropdownMenuCheckboxItem, r as DropdownMenuContent, i as DropdownMenuGroup, a as DropdownMenuItem, o as DropdownMenuLabel, s as DropdownMenuPortal, c as DropdownMenuRadioGroup, l as DropdownMenuRadioItem, u as DropdownMenuSeparator, d as DropdownMenuShortcut, f as DropdownMenuSub, p as DropdownMenuSubContent, m as DropdownMenuSubTrigger, h as DropdownMenuTrigger } from "./dropdown-menu-DU7KNoXP.mjs";
|
package/dist/empty.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dist-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./dist-CoTs6T03.js");let t=require("react/jsx-runtime"),n=require("class-variance-authority");function r({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty`,className:e.t(`flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance`,n),...r})}function i({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-header`,className:e.t(`flex max-w-sm flex-col items-center gap-2`,n),...r})}var a=(0,n.cva)(`mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4`}},defaultVariants:{variant:`default`}});function o({className:n,variant:r=`default`,...i}){return(0,t.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:e.t(a({variant:r,className:n})),...i})}function s({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-title`,className:e.t(`text-sm font-medium tracking-tight`,n),...r})}function c({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-description`,className:e.t(`text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,n),...r})}function l({className:n,...r}){return(0,t.jsx)(`div`,{"data-slot":`empty-content`,className:e.t(`flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance`,n),...r})}exports.Empty=r,exports.EmptyContent=l,exports.EmptyDescription=c,exports.EmptyHeader=i,exports.EmptyMedia=o,exports.EmptyTitle=s;
|
package/dist/empty.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./dist-
|
|
2
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
import { cva as n } from "class-variance-authority";
|
|
5
|
-
|
|
5
|
+
// src/empty.tsx
|
|
6
6
|
function r({ className: n, ...r }) {
|
|
7
7
|
return /* @__PURE__ */ t("div", {
|
|
8
8
|
"data-slot": "empty",
|
|
@@ -56,5 +56,4 @@ function l({ className: n, ...r }) {
|
|
|
56
56
|
...r
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
//#endregion
|
|
60
59
|
export { r as Empty, l as EmptyContent, c as EmptyDescription, i as EmptyHeader, o as EmptyMedia, s as EmptyTitle };
|