@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
package/dist/pagination.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"),n=require("./button.cjs");let r=require("lucide-react"),i=require("react");i=e.r(i);let a=require("react/jsx-runtime");function o({className:e,...n}){return(0,a.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.t(`mx-auto flex w-full justify-center`,e),...n})}function s({className:e,...n}){return(0,a.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.t(`flex items-center gap-0.5`,e),...n})}function c({...e}){return(0,a.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function l({className:e,isActive:r,size:i=`icon`,children:o,...s}){return(0,a.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:i,className:t.t(e),children:(0,a.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,...s,children:o})})}function u({className:e,text:n=`Previous`,...i}){return(0,a.jsxs)(l,{"aria-label":`Go to previous page`,size:`default`,className:t.t(`ps-1.5!`,e),...i,children:[(0,a.jsx)(r.ChevronLeftIcon,{"data-icon":`inline-start`,className:`rtl:rotate-180`}),(0,a.jsx)(`span`,{className:`hidden sm:block`,children:n})]})}function d({className:e,text:n=`Next`,...i}){return(0,a.jsxs)(l,{"aria-label":`Go to next page`,size:`default`,className:t.t(`pe-1.5!`,e),...i,children:[(0,a.jsx)(`span`,{className:`hidden sm:block`,children:n}),(0,a.jsx)(r.ChevronRightIcon,{"data-icon":`inline-end`,className:`rtl:rotate-180`})]})}function f({className:e,...n}){return(0,a.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.t(`flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4`,e),...n,children:[(0,a.jsx)(r.MoreHorizontalIcon,{}),(0,a.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=o,exports.PaginationContent=s,exports.PaginationEllipsis=f,exports.PaginationItem=c,exports.PaginationLink=l,exports.PaginationNext=d,exports.PaginationPrevious=u;
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./dist-
|
|
2
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
3
3
|
import { Button as t } from "./button.mjs";
|
|
4
4
|
import { ChevronLeftIcon as n, ChevronRightIcon as r, MoreHorizontalIcon as i } from "lucide-react";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/pagination.tsx
|
|
8
8
|
function s({ className: t, ...n }) {
|
|
9
9
|
return /* @__PURE__ */ a("nav", {
|
|
10
10
|
role: "navigation",
|
|
@@ -84,5 +84,4 @@ function p({ className: t, ...n }) {
|
|
|
84
84
|
})]
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
//#endregion
|
|
88
87
|
export { s as Pagination, c as PaginationContent, p as PaginationEllipsis, l as PaginationItem, u as PaginationLink, f as PaginationNext, d as PaginationPrevious };
|
|
@@ -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-R_G5UQRm.js"),o=require("./es2015-Dggv0vx3.js"),s=require("./dist-DmY7elIQ.js"),c=require("./dist-RXrZgzkO.js"),l=require("./dist-CIgGRTmJ.js"),u=require("./dist-CDcZ8WMF.js"),d=require("./dist-Blgp9lfa.js"),f=require("./dist-CBlqVBTk.js"),p=require("./dist-zmnQp5Xf.js");let m=require("react"),h=e.r(m,1);m=e.r(m);let g=require("react/jsx-runtime");var _=Object.defineProperty,v=(e,t)=>_(e,`name`,{value:t,configurable:!0}),y=`Popover`,[b,x]=i.t(y,[l.a]),S=l.a(),[C,w]=b(y),T=v(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=S(t),u=h.useRef(null),[d,f]=h.useState(!1),[m,_]=h.useState(0),[v,b]=h.useState(0),[x,w]=p.t({prop:r,defaultProp:i??!1,onChange:a,caller:y});return(0,g.jsx)(l.t,{...s,children:(0,g.jsx)(C,{scope:t,contentId:c.t(),titleId:c.t(),descriptionId:c.t(),titlePresent:m>0,descriptionPresent:v>0,setTitleCount:_,setDescriptionCount:b,triggerRef:u,open:x,onOpenChange:w,onOpenToggle:h.useCallback(()=>w(e=>!e),[w]),hasCustomAnchor:d,onCustomAnchorAdd:h.useCallback(()=>f(!0),[]),onCustomAnchorRemove:h.useCallback(()=>f(!1),[]),modal:o,children:n})})},`Popover`),E=`PopoverAnchor`,D=h.forwardRef(v(function(e,t){let{__scopePopover:n,...r}=e,i=w(E,n),a=S(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return h.useEffect(()=>(o(),()=>s()),[o,s]),(0,g.jsx)(l.n,{...a,...r,ref:t})},`PopoverAnchor`)),O=`PopoverTrigger`,k=h.forwardRef(v(function(e,t){let{__scopePopover:i,...a}=e,o=w(O,i),s=S(i),c=r.a(t,o.triggerRef),u=(0,g.jsx)(f.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":B(o.open),...a,ref:c,onClick:n.t(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,g.jsx)(l.n,{asChild:!0,...s,children:u})},`PopoverTrigger`)),A=`PopoverPortal`,[j,M]=b(A,{forceMount:void 0}),N=v(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=w(A,t);return(0,g.jsx)(j,{scope:t,forceMount:n,children:(0,g.jsx)(d.t,{present:n||a.open,children:(0,g.jsx)(u.t,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),P=`PopoverContent`,F=h.forwardRef(v(function(e,t){let n=M(P,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=w(P,e.__scopePopover);return(0,g.jsx)(d.t,{present:r||a.open,children:a.modal?(0,g.jsx)(L,{...i,ref:t}):(0,g.jsx)(R,{...i,ref:t})})},`PopoverContent`)),I=r.n(`PopoverContent.RemoveScroll`),L=h.forwardRef(v(function(e,t){let i=w(P,e.__scopePopover),a=h.useRef(null),c=r.a(t,a),l=h.useRef(!1),{nodes:u,registry:d}=s.i();return h.useEffect(()=>{let e=a.current;if(e)return o.t(e)},[]),(0,g.jsx)(o.n,{as:I,allowPinchZoom:!0,shards:h.useMemo(()=>[a,...u.map(e=>({current:e}))],[a,u]),children:(0,g.jsx)(z,{...e,ref:c,branchNodes:u,branchRegistry:d,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:n.t(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||i.triggerRef.current?.focus()}),onPointerDownOutside:n.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;l.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:n.t(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),R=h.forwardRef(v(function(e,t){let n=w(P,e.__scopePopover),r=h.useRef(!1),i=h.useRef(!1);return(0,g.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`PopoverContentNonModal`)),z=h.forwardRef(v(function(e,t){let{__scopePopover:n,trapFocus:i,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:d,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:_,"aria-describedby":v,branchNodes:y,branchRegistry:b,...x}=e,C=w(P,n),T=S(n),[E,D]=h.useState(null),O=r.a(t,D);return s.r(E),o.r(),(0,g.jsx)(s.n,{registry:b,children:(0,g.jsx)(s.t,{asChild:!0,loop:!0,trapped:i,branches:y,onMountAutoFocus:c,onUnmountAutoFocus:u,children:(0,g.jsx)(a.t,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:_,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onDismiss:()=>C.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,g.jsx)(l.i,{"data-state":B(C.open),role:`dialog`,id:C.contentId,"aria-labelledby":C.titlePresent?C.titleId:void 0,"aria-describedby":C.descriptionPresent?V(v,C.descriptionId):v,...T,...x,ref:O,style:{...x.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})})},`PopoverContentImpl`));function B(e){return e?`open`:`closed`}v(B,`getState`);function V(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}v(V,`concatAriaDescribedby`);function H({...e}){return(0,g.jsx)(T,{"data-slot":`popover`,...e})}function U({...e}){return(0,g.jsx)(k,{"data-slot":`popover-trigger`,...e})}function W({className:e,align:n=`center`,sideOffset:r=4,...i}){return(0,g.jsx)(N,{children:(0,g.jsx)(F,{"data-slot":`popover-content`,align:n,sideOffset:r,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 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100`,e),...i})})}function G({...e}){return(0,g.jsx)(D,{"data-slot":`popover-anchor`,...e})}function K({className:e,...n}){return(0,g.jsx)(`div`,{"data-slot":`popover-header`,className:t.t(`flex flex-col gap-0.5 text-sm`,e),...n})}function q({className:e,...n}){return(0,g.jsx)(`div`,{"data-slot":`popover-title`,className:t.t(`font-medium`,e),...n})}function J({className:e,...n}){return(0,g.jsx)(`p`,{"data-slot":`popover-description`,className:t.t(`text-muted-foreground`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return H}});
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./dist-
|
|
5
|
-
import { t as a } from "./dist-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
2
|
+
import { t } from "./dist-B76UOZbx.mjs";
|
|
3
|
+
import { a as n, n as r } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as i } from "./dist-COqM3IM6.mjs";
|
|
5
|
+
import { t as a } from "./dist-CbWpCWog.mjs";
|
|
6
|
+
import { n as o, r as s, t as c } from "./es2015-BooeZGhO.mjs";
|
|
7
|
+
import { i as l, n as u, r as d, t as f } from "./dist-CDksSmTD.mjs";
|
|
8
|
+
import { t as p } from "./dist-Cu0GG-3j.mjs";
|
|
9
|
+
import { a as m, i as h, n as g, t as _ } from "./dist-Cn4F8XlY.mjs";
|
|
10
|
+
import { t as v } from "./dist-CcGLWbPa.mjs";
|
|
11
|
+
import { t as y } from "./dist-BnlI08Je.mjs";
|
|
12
|
+
import { t as b } from "./dist-B7Ph9-T6.mjs";
|
|
13
|
+
import { t as x } from "./dist-DKI-XYwI.mjs";
|
|
14
14
|
import * as S from "react";
|
|
15
15
|
import { jsx as C } from "react/jsx-runtime";
|
|
16
|
-
|
|
16
|
+
// ../../node_modules/.bun/@radix-ui+react-popover@1.3.1+2b23df507bdda662/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
17
17
|
var w = Object.defineProperty, T = (e, t) => w(e, "name", {
|
|
18
18
|
value: t,
|
|
19
19
|
configurable: !0
|
|
20
|
-
}), E = "Popover", [D, O] = i(E, [
|
|
21
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal:
|
|
20
|
+
}), E = "Popover", [D, O] = i(E, [m]), k = m(), [A, j] = D(E), M = /* @__PURE__ */ T((e) => {
|
|
21
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = k(t), c = S.useRef(null), [l, u] = S.useState(!1), [d, f] = S.useState(0), [m, h] = S.useState(0), [g, v] = x({
|
|
22
22
|
prop: r,
|
|
23
23
|
defaultProp: i ?? !1,
|
|
24
24
|
onChange: a,
|
|
25
25
|
caller: E
|
|
26
26
|
});
|
|
27
|
-
return /* @__PURE__ */ C(
|
|
28
|
-
...
|
|
27
|
+
return /* @__PURE__ */ C(_, {
|
|
28
|
+
...s,
|
|
29
29
|
children: /* @__PURE__ */ C(A, {
|
|
30
30
|
scope: t,
|
|
31
|
-
contentId:
|
|
32
|
-
titleId:
|
|
33
|
-
descriptionId:
|
|
34
|
-
titlePresent:
|
|
35
|
-
descriptionPresent:
|
|
36
|
-
setTitleCount:
|
|
37
|
-
setDescriptionCount:
|
|
38
|
-
triggerRef:
|
|
39
|
-
open:
|
|
31
|
+
contentId: p(),
|
|
32
|
+
titleId: p(),
|
|
33
|
+
descriptionId: p(),
|
|
34
|
+
titlePresent: d > 0,
|
|
35
|
+
descriptionPresent: m > 0,
|
|
36
|
+
setTitleCount: f,
|
|
37
|
+
setDescriptionCount: h,
|
|
38
|
+
triggerRef: c,
|
|
39
|
+
open: g,
|
|
40
40
|
onOpenChange: v,
|
|
41
41
|
onOpenToggle: S.useCallback(() => v((e) => !e), [v]),
|
|
42
|
-
hasCustomAnchor:
|
|
43
|
-
onCustomAnchorAdd: S.useCallback(() =>
|
|
44
|
-
onCustomAnchorRemove: S.useCallback(() =>
|
|
45
|
-
modal:
|
|
42
|
+
hasCustomAnchor: l,
|
|
43
|
+
onCustomAnchorAdd: S.useCallback(() => u(!0), []),
|
|
44
|
+
onCustomAnchorRemove: S.useCallback(() => u(!1), []),
|
|
45
|
+
modal: o,
|
|
46
46
|
children: n
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
}, "Popover"), N = "PopoverAnchor", P = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
50
50
|
let { __scopePopover: n, ...r } = e, i = j(N, n), a = k(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
51
|
-
return S.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ C(
|
|
51
|
+
return S.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ C(g, {
|
|
52
52
|
...a,
|
|
53
53
|
...r,
|
|
54
54
|
ref: t
|
|
55
55
|
});
|
|
56
|
-
}, "PopoverAnchor")), F = "PopoverTrigger", I = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e,
|
|
57
|
-
let { __scopePopover: i, ...
|
|
56
|
+
}, "PopoverAnchor")), F = "PopoverTrigger", I = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, r) {
|
|
57
|
+
let { __scopePopover: i, ...a } = e, o = j(F, i), s = k(i), c = n(r, o.triggerRef), l = /* @__PURE__ */ C(b.button, {
|
|
58
58
|
type: "button",
|
|
59
59
|
"aria-haspopup": "dialog",
|
|
60
|
-
"aria-expanded":
|
|
61
|
-
"aria-controls":
|
|
62
|
-
"data-state": q(
|
|
63
|
-
...
|
|
64
|
-
ref:
|
|
65
|
-
onClick:
|
|
66
|
-
});
|
|
67
|
-
return
|
|
60
|
+
"aria-expanded": o.open,
|
|
61
|
+
"aria-controls": o.open ? o.contentId : void 0,
|
|
62
|
+
"data-state": q(o.open),
|
|
63
|
+
...a,
|
|
64
|
+
ref: c,
|
|
65
|
+
onClick: t(e.onClick, o.onOpenToggle)
|
|
66
|
+
});
|
|
67
|
+
return o.hasCustomAnchor ? l : /* @__PURE__ */ C(g, {
|
|
68
68
|
asChild: !0,
|
|
69
|
-
...
|
|
70
|
-
children:
|
|
69
|
+
...s,
|
|
70
|
+
children: l
|
|
71
71
|
});
|
|
72
72
|
}, "PopoverTrigger")), L = "PopoverPortal", [R, z] = D(L, { forceMount: void 0 }), B = /* @__PURE__ */ T((e) => {
|
|
73
73
|
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = j(L, t);
|
|
74
74
|
return /* @__PURE__ */ C(R, {
|
|
75
75
|
scope: t,
|
|
76
76
|
forceMount: n,
|
|
77
|
-
children: /* @__PURE__ */ C(
|
|
77
|
+
children: /* @__PURE__ */ C(y, {
|
|
78
78
|
present: n || a.open,
|
|
79
|
-
children: /* @__PURE__ */ C(
|
|
79
|
+
children: /* @__PURE__ */ C(v, {
|
|
80
80
|
asChild: !0,
|
|
81
81
|
container: i,
|
|
82
82
|
children: r
|
|
@@ -85,7 +85,7 @@ var w = Object.defineProperty, T = (e, t) => w(e, "name", {
|
|
|
85
85
|
});
|
|
86
86
|
}, "PopoverPortal"), V = "PopoverContent", H = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
87
87
|
let n = z(V, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = j(V, e.__scopePopover);
|
|
88
|
-
return /* @__PURE__ */ C(
|
|
88
|
+
return /* @__PURE__ */ C(y, {
|
|
89
89
|
present: r || a.open,
|
|
90
90
|
children: a.modal ? /* @__PURE__ */ C(W, {
|
|
91
91
|
...i,
|
|
@@ -95,30 +95,30 @@ var w = Object.defineProperty, T = (e, t) => w(e, "name", {
|
|
|
95
95
|
ref: t
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
|
-
}, "PopoverContent")), U =
|
|
99
|
-
let
|
|
98
|
+
}, "PopoverContent")), U = r("PopoverContent.RemoveScroll"), W = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, r) {
|
|
99
|
+
let i = j(V, e.__scopePopover), a = S.useRef(null), s = n(r, a), u = S.useRef(!1), { nodes: d, registry: f } = l();
|
|
100
100
|
return S.useEffect(() => {
|
|
101
|
-
let e =
|
|
102
|
-
if (e) return
|
|
103
|
-
}, []), /* @__PURE__ */ C(
|
|
101
|
+
let e = a.current;
|
|
102
|
+
if (e) return c(e);
|
|
103
|
+
}, []), /* @__PURE__ */ C(o, {
|
|
104
104
|
as: U,
|
|
105
105
|
allowPinchZoom: !0,
|
|
106
|
-
shards: S.useMemo(() => [
|
|
106
|
+
shards: S.useMemo(() => [a, ...d.map((e) => ({ current: e }))], [a, d]),
|
|
107
107
|
children: /* @__PURE__ */ C(K, {
|
|
108
108
|
...e,
|
|
109
|
-
ref:
|
|
110
|
-
branchNodes:
|
|
111
|
-
branchRegistry:
|
|
112
|
-
trapFocus:
|
|
109
|
+
ref: s,
|
|
110
|
+
branchNodes: d,
|
|
111
|
+
branchRegistry: f,
|
|
112
|
+
trapFocus: i.open,
|
|
113
113
|
disableOutsidePointerEvents: !0,
|
|
114
|
-
onCloseAutoFocus:
|
|
115
|
-
e.preventDefault(),
|
|
114
|
+
onCloseAutoFocus: t(e.onCloseAutoFocus, (e) => {
|
|
115
|
+
e.preventDefault(), u.current || i.triggerRef.current?.focus();
|
|
116
116
|
}),
|
|
117
|
-
onPointerDownOutside:
|
|
118
|
-
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
119
|
-
|
|
117
|
+
onPointerDownOutside: t(e.onPointerDownOutside, (e) => {
|
|
118
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
119
|
+
u.current = r;
|
|
120
120
|
}, { checkForDefaultPrevented: !1 }),
|
|
121
|
-
onFocusOutside:
|
|
121
|
+
onFocusOutside: t(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}, "PopoverContentModal")), G = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
@@ -137,32 +137,32 @@ var w = Object.defineProperty, T = (e, t) => w(e, "name", {
|
|
|
137
137
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
|
-
}, "PopoverContentNonModal")), K = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e,
|
|
141
|
-
let { __scopePopover: r, trapFocus: i, onOpenAutoFocus:
|
|
142
|
-
return
|
|
140
|
+
}, "PopoverContentNonModal")), K = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
141
|
+
let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEscapeKeyDown: p, onPointerDownOutside: m, onFocusOutside: g, onInteractOutside: _, "aria-describedby": v, branchNodes: y, branchRegistry: b, ...x } = e, w = j(V, r), T = k(r), [E, D] = S.useState(null), O = n(t, D);
|
|
142
|
+
return d(E), s(), /* @__PURE__ */ C(u, {
|
|
143
143
|
registry: b,
|
|
144
|
-
children: /* @__PURE__ */ C(
|
|
144
|
+
children: /* @__PURE__ */ C(f, {
|
|
145
145
|
asChild: !0,
|
|
146
146
|
loop: !0,
|
|
147
147
|
trapped: i,
|
|
148
|
-
branches:
|
|
149
|
-
onMountAutoFocus:
|
|
150
|
-
onUnmountAutoFocus:
|
|
151
|
-
children: /* @__PURE__ */ C(
|
|
148
|
+
branches: y,
|
|
149
|
+
onMountAutoFocus: o,
|
|
150
|
+
onUnmountAutoFocus: c,
|
|
151
|
+
children: /* @__PURE__ */ C(a, {
|
|
152
152
|
asChild: !0,
|
|
153
|
-
disableOutsidePointerEvents:
|
|
154
|
-
onInteractOutside:
|
|
155
|
-
onEscapeKeyDown:
|
|
156
|
-
onPointerDownOutside:
|
|
157
|
-
onFocusOutside:
|
|
153
|
+
disableOutsidePointerEvents: l,
|
|
154
|
+
onInteractOutside: _,
|
|
155
|
+
onEscapeKeyDown: p,
|
|
156
|
+
onPointerDownOutside: m,
|
|
157
|
+
onFocusOutside: g,
|
|
158
158
|
onDismiss: () => w.onOpenChange(!1),
|
|
159
159
|
deferPointerDownOutside: !0,
|
|
160
|
-
children: /* @__PURE__ */ C(
|
|
160
|
+
children: /* @__PURE__ */ C(h, {
|
|
161
161
|
"data-state": q(w.open),
|
|
162
162
|
role: "dialog",
|
|
163
163
|
id: w.contentId,
|
|
164
164
|
"aria-labelledby": w.titlePresent ? w.titleId : void 0,
|
|
165
|
-
"aria-describedby": w.descriptionPresent ? J(
|
|
165
|
+
"aria-describedby": w.descriptionPresent ? J(v, w.descriptionId) : v,
|
|
166
166
|
...T,
|
|
167
167
|
...x,
|
|
168
168
|
ref: O,
|
|
@@ -189,8 +189,7 @@ function J(...e) {
|
|
|
189
189
|
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
190
190
|
}
|
|
191
191
|
T(J, "concatAriaDescribedby");
|
|
192
|
-
|
|
193
|
-
//#region src/popover.tsx
|
|
192
|
+
// src/popover.tsx
|
|
194
193
|
function Y({ ...e }) {
|
|
195
194
|
return /* @__PURE__ */ C(M, {
|
|
196
195
|
"data-slot": "popover",
|
|
@@ -239,5 +238,4 @@ function te({ className: t, ...n }) {
|
|
|
239
238
|
...n
|
|
240
239
|
});
|
|
241
240
|
}
|
|
242
|
-
//#endregion
|
|
243
241
|
export { $ as a, te as i, Q as n, ee as o, Z as r, X as s, Y as t };
|
package/dist/popover.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./popover-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./popover-Cq5cTNtC.js");exports.Popover=e.t,exports.PopoverAnchor=e.n,exports.PopoverContent=e.r,exports.PopoverDescription=e.i,exports.PopoverHeader=e.a,exports.PopoverTitle=e.o,exports.PopoverTrigger=e.s;
|
package/dist/popover.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
export { o as Popover, n as PopoverAnchor, i as PopoverContent, t as PopoverDescription, e as PopoverHeader, r as PopoverTitle, a as PopoverTrigger };
|
|
2
|
+
export { t as Popover, n as PopoverAnchor, r as PopoverContent, i as PopoverDescription, a as PopoverHeader, o as PopoverTitle, s as PopoverTrigger } from "./popover-T6Ra737i.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import { t as n } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
2
|
+
import { t } from "./dist-COqM3IM6.mjs";
|
|
3
|
+
import { t as n } from "./dist-B7Ph9-T6.mjs";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// ../../node_modules/.bun/@radix-ui+react-progress@1.2.1+2b23df507bdda662/node_modules/@radix-ui/react-progress/dist/index.mjs
|
|
7
7
|
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
8
8
|
value: t,
|
|
9
9
|
configurable: !0
|
|
10
|
-
}), s = "Progress", c = 100, [l, u] =
|
|
10
|
+
}), s = "Progress", c = 100, [l, u] = t(s), [d, f] = l(s), p = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, t) {
|
|
11
11
|
let { __scopeProgress: r, value: a = null, max: o, getValueLabel: s = g, ...l } = e;
|
|
12
12
|
(o || o === 0) && !y(o) && console.error(x(`${o}`, "Progress"));
|
|
13
13
|
let u = y(o) ? o : c;
|
|
@@ -17,7 +17,7 @@ var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
|
17
17
|
scope: r,
|
|
18
18
|
value: f,
|
|
19
19
|
max: u,
|
|
20
|
-
children: /* @__PURE__ */ i(
|
|
20
|
+
children: /* @__PURE__ */ i(n.div, {
|
|
21
21
|
"aria-valuemax": u,
|
|
22
22
|
"aria-valuemin": 0,
|
|
23
23
|
"aria-valuenow": v(f) ? f : void 0,
|
|
@@ -27,17 +27,17 @@ var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
|
27
27
|
"data-value": f ?? void 0,
|
|
28
28
|
"data-max": u,
|
|
29
29
|
...l,
|
|
30
|
-
ref:
|
|
30
|
+
ref: t
|
|
31
31
|
})
|
|
32
32
|
});
|
|
33
|
-
}, "Progress")), m = "ProgressIndicator", h = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e,
|
|
33
|
+
}, "Progress")), m = "ProgressIndicator", h = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, t) {
|
|
34
34
|
let { __scopeProgress: r, ...a } = e, o = f(m, r);
|
|
35
|
-
return /* @__PURE__ */ i(
|
|
35
|
+
return /* @__PURE__ */ i(n.div, {
|
|
36
36
|
"data-state": _(o.value, o.max),
|
|
37
37
|
"data-value": o.value ?? void 0,
|
|
38
38
|
"data-max": o.max,
|
|
39
39
|
...a,
|
|
40
|
-
ref:
|
|
40
|
+
ref: t
|
|
41
41
|
});
|
|
42
42
|
}, "ProgressIndicator"));
|
|
43
43
|
function g(e, t) {
|
|
@@ -73,8 +73,7 @@ function S(e, t) {
|
|
|
73
73
|
Defaulting to \`null\`.`;
|
|
74
74
|
}
|
|
75
75
|
o(S, "getInvalidValueError");
|
|
76
|
-
|
|
77
|
-
//#region src/progress.tsx
|
|
76
|
+
// src/progress.tsx
|
|
78
77
|
function C({ className: t, value: n, ...r }) {
|
|
79
78
|
return /* @__PURE__ */ i(p, {
|
|
80
79
|
"data-slot": "progress",
|
|
@@ -88,5 +87,4 @@ function C({ className: t, value: n, ...r }) {
|
|
|
88
87
|
})
|
|
89
88
|
});
|
|
90
89
|
}
|
|
91
|
-
//#endregion
|
|
92
90
|
export { C as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./dist-DW2ltK5-.js"),r=require("./dist-CBlqVBTk.js");let i=require("react"),a=e.r(i,1);i=e.r(i);let o=require("react/jsx-runtime");var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0}),l=`Progress`,u=100,[d,f]=n.t(l),[p,m]=d(l),h=a.forwardRef(c(function(e,t){let{__scopeProgress:n,value:i=null,max:a,getValueLabel:s=v,...c}=e;(a||a===0)&&!x(a)&&console.error(C(`${a}`,`Progress`));let l=x(a)?a:u;i!==null&&!S(i,l)&&console.error(w(`${i}`,`Progress`));let d=S(i,l)?i:null,f=b(d)?s(d,l):void 0;return(0,o.jsx)(p,{scope:n,value:d,max:l,children:(0,o.jsx)(r.t.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":b(d)?d:void 0,"aria-valuetext":f,role:`progressbar`,"data-state":y(d,l),"data-value":d??void 0,"data-max":l,...c,ref:t})})},`Progress`)),g=`ProgressIndicator`,_=a.forwardRef(c(function(e,t){let{__scopeProgress:n,...i}=e,a=m(g,n);return(0,o.jsx)(r.t.div,{"data-state":y(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...i,ref:t})},`ProgressIndicator`));function v(e,t){return`${Math.round(e/t*100)}%`}c(v,`defaultGetValueLabel`);function y(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}c(y,`getProgressState`);function b(e){return typeof e==`number`}c(b,`isNumber`);function x(e){return b(e)&&!isNaN(e)&&e>0}c(x,`isValidMaxNumber`);function S(e,t){return b(e)&&!isNaN(e)&&e<=t&&e>=0}c(S,`isValidValueNumber`);function C(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${u}\`.`}c(C,`getInvalidMaxError`);function w(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
2
|
+
- a positive number
|
|
3
|
+
- less than the value passed to \`max\` (or ${u} if no \`max\` prop is set)
|
|
4
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
5
|
+
|
|
6
|
+
Defaulting to \`null\`.`}c(w,`getInvalidValueError`);function T({className:e,value:n,...r}){return(0,o.jsx)(h,{"data-slot":`progress`,value:n,className:t.t(`bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full`,e),...r,children:(0,o.jsx)(_,{"data-slot":`progress-indicator`,className:`bg-primary size-full flex-1 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|
package/dist/progress.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./progress-
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./progress-iUSEI7J9.js");exports.Progress=e.t;
|
package/dist/progress.mjs
CHANGED