@gv-tech/ui-web 2.28.0 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +44 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-BgbjpZAF.js +1 -0
- package/dist/accordion-Bqt-y-u7.mjs +239 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +4 -4
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog-BkUyJb_F.mjs +182 -0
- package/dist/alert-dialog-DonbkCSD.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +12 -12
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +4 -4
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +2 -2
- package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-C7oBX-p_.mjs} +10 -9
- package/dist/aspect-ratio-X3HWxQz0.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/attachment.cjs +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.mjs +101 -0
- package/dist/attachment.test.d.ts +2 -0
- package/dist/attachment.test.d.ts.map +1 -0
- package/dist/avatar-DTkhTxt7.mjs +133 -0
- package/dist/avatar-DhvZbCtI.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +6 -6
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +25 -25
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +13 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.test.d.ts +2 -0
- package/dist/bubble.test.d.ts.map +1 -0
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +3 -3
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +6 -6
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +6 -6
- package/dist/calendar-Bo8kovKR.js +1 -0
- package/dist/{calendar-Dg6VGycy.mjs → calendar-CkHWa9Uu.mjs} +825 -803
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +2 -2
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +5 -5
- package/dist/carousel-Cv5isLeg.js +1 -0
- package/dist/{carousel-DbDoNdqJ.mjs → carousel-ynaeMNIV.mjs} +53 -53
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +5 -5
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.d.ts +4 -4
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox-BLvAEmRC.mjs +182 -0
- package/dist/checkbox-Dt06B4YW.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
- package/dist/chunk-HBS6WEDP-CzyhzCaP.mjs +63 -0
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +3 -3
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +1 -1
- package/dist/combobox-BB_YzCTY.js +4 -0
- package/dist/combobox-YxjYGUoe.mjs +5748 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +14 -14
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/command-BqO-CfH6.js +1 -0
- package/dist/command-DY6u8V0D.mjs +545 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +9 -9
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-Dad9hs94.js +1 -0
- package/dist/context-menu-tL6CY6a0.mjs +318 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +15 -15
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +10 -10
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +25 -25
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/dist-5r7hQmO0.mjs +187 -0
- package/dist/dist-6c2NeKfz.mjs +536 -0
- package/dist/dist-8fYwoWd4.mjs +111 -0
- package/dist/{dist-N3JLy7yk.mjs → dist-9-j0_8D1.mjs} +9 -4
- package/dist/dist-BIXhHahX.mjs +30 -0
- package/dist/dist-BMl8xXCH.mjs +188 -0
- package/dist/dist-BOKg7rhq.js +1 -0
- package/dist/dist-BPhn-EOy.mjs +15 -0
- package/dist/{dist-Cacc4QIh.mjs → dist-BQhMregZ.mjs} +9 -5
- package/dist/dist-BTN2t9yv.js +1 -0
- package/dist/dist-BUXpRW9O.mjs +100 -0
- package/dist/{dist-xgVOvcNx.mjs → dist-Bivv8B6p.mjs} +8 -3
- package/dist/dist-BoNQb2nd.js +1 -0
- package/dist/dist-ByW6RHeZ.mjs +94 -0
- package/dist/dist-C83rnWRv.js +1 -0
- package/dist/dist-C8Pm6LRc.js +1 -0
- package/dist/dist-CBsYNwXz.mjs +16 -0
- package/dist/dist-CS572Be42.mjs +11 -0
- package/dist/dist-CYrqAnIr.mjs +182 -0
- package/dist/dist-C_iFkwIX.js +1 -0
- package/dist/dist-CdBAkUWT.js +1 -0
- package/dist/dist-Cn7g8jD0.js +1 -0
- package/dist/dist-D7-Fky36.js +1 -0
- package/dist/{dist-C9PlF532.mjs → dist-D7UHN1DJ.mjs} +1 -1
- package/dist/dist-DJqkhIXb2.js +1 -0
- package/dist/dist-DMwCTE2i.mjs +90 -0
- package/dist/dist-DOoZ3vGL.mjs +407 -0
- package/dist/dist-DYUvPCPC.js +1 -0
- package/dist/dist-DZiOPWLp.js +1 -0
- package/dist/dist-DcRkoHAk.js +1 -0
- package/dist/dist-DfvK7DpO.mjs +213 -0
- package/dist/dist-Dg9ASyqI.mjs +96 -0
- package/dist/dist-Dj9s8AIv.js +1 -0
- package/dist/dist-Dm3IQk5b.mjs +685 -0
- package/dist/dist-DyMv0xk8.mjs +41 -0
- package/dist/dist-NEeQKKDZ.js +1 -0
- package/dist/dist-N_70prl1.js +1 -0
- package/dist/dist-YAADIsyo.js +1 -0
- package/dist/dist-dMp9dzmY.mjs +20 -0
- package/dist/dist-mHQuNOH-.js +1 -0
- package/dist/dist-oyFh63Uq.js +1 -0
- package/dist/dist-rx5WaFf5.mjs +20 -0
- package/dist/dist-v-Y6tnMq.js +1 -0
- package/dist/dist-v9094Auw.js +1 -0
- package/dist/dist-yA6iVq_M.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +10 -10
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BWqWoYis.mjs} +117 -151
- package/dist/dropdown-menu-BpZcobmP.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +15 -15
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- package/dist/empty.cjs +1 -1
- package/dist/empty.d.ts +6 -6
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +2 -2
- package/dist/{es2015-BhmbVcui.mjs → es2015-CYxXY2oV.mjs} +242 -216
- package/dist/es2015-t2RPC0Rg.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +11 -11
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +4 -4
- package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
- package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +6 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hover-card-7NjGqlP0.js +1 -0
- package/dist/hover-card-DuRUptxQ.mjs +176 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +3 -3
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +40 -34
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +7 -7
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +4 -4
- package/dist/input-otp-D9MwUsPO.js +20 -0
- package/dist/input-otp-m_BTudNY.mjs +409 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +4 -4
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +11 -11
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +4 -4
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -2
- package/dist/label-CgKiKHKG.js +1 -0
- package/dist/label-DVA-YKpB.mjs +28 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -1
- package/dist/marker.cjs +1 -0
- package/dist/marker.d.ts +12 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.mjs +40 -0
- package/dist/marker.test.d.ts +2 -0
- package/dist/marker.test.d.ts.map +1 -0
- package/dist/{menubar-BcyqIJgy.mjs → menubar-CyKBLHme.mjs} +130 -166
- package/dist/menubar-DlOMZeh1.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +16 -16
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/message-scroller-DqLu0YI6.js +1 -0
- package/dist/message-scroller-FwdKclRM.mjs +824 -0
- package/dist/message-scroller.cjs +1 -0
- package/dist/message-scroller.d.ts +13 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message-scroller.mjs +3 -0
- package/dist/message-scroller.test.d.ts +2 -0
- package/dist/message-scroller.test.d.ts.map +1 -0
- package/dist/message.cjs +1 -0
- package/dist/message.d.ts +11 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.mjs +50 -0
- package/dist/message.test.d.ts +2 -0
- package/dist/message.test.d.ts.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +12 -12
- package/dist/navigation-menu-BzE1J1rs.mjs +608 -0
- package/dist/navigation-menu-CrR01R8Z.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +8 -8
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +7 -7
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +40 -34
- package/dist/popover-CFF_HXSf.mjs +222 -0
- package/dist/popover-D9pVy08c.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +7 -7
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-ClcVCqjl.mjs +93 -0
- package/dist/progress-nfJMuKGj.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/questionnaire-DKWcZeWT.mjs +1159 -0
- package/dist/questionnaire-PWClWvST.js +1 -0
- package/dist/questionnaire.cjs +1 -0
- package/dist/questionnaire.d.ts +22 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/questionnaire.mjs +4 -0
- package/dist/questionnaire.test.d.ts +2 -0
- package/dist/questionnaire.test.d.ts.map +1 -0
- package/dist/radio-group-5VwmCXRK.mjs +265 -0
- package/dist/radio-group-DhXnB0fI.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/resizable-ChIqXiu4.js +1 -0
- package/dist/{resizable-DJSE3e5L.mjs → resizable-CpovHnG-.mjs} +341 -329
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area-CUqjuvqH.js +1 -0
- package/dist/{scroll-area-8QcqkHnC.mjs → scroll-area-DstdIGvS.mjs} +151 -142
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +2 -2
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +11 -11
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +17 -17
- package/dist/select-CnCTQeh7.js +1 -0
- package/dist/select-CnHZdna2.mjs +792 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +10 -10
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/separator-BXaVJadH.js +1 -0
- package/dist/separator-D1a8myFf.mjs +38 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +8 -8
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +23 -23
- package/dist/{sidebar-B-sWccYh.mjs → sidebar-B5q6nH2G.mjs} +64 -64
- package/dist/sidebar-ns_2TNBM.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +24 -24
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/slider-PoIV6N-u.js +1 -0
- package/dist/slider-ZnyQjYsS.mjs +460 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts +2 -4
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +8 -8
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +5 -4
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +22 -22
- package/dist/switch-DLY8PkmL.js +1 -0
- package/dist/switch-DagjjAQu.mjs +170 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +4 -3
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +2 -2
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -8
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs-OQ6rj-3B.mjs +158 -0
- package/dist/tabs-QBWdNfSK.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +4 -4
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/{theme-toggle-clE-HpSS.mjs → theme-toggle-BCcH-QtH.mjs} +20 -20
- package/dist/theme-toggle-Q3UHstP_.js +1 -0
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/theme-toggle.mjs +1 -1
- package/dist/{toast-DVI6jPq5.mjs → toast-BOdziIGg.mjs} +165 -169
- package/dist/toast-D1fjLwO1.js +1 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +1 -1
- package/dist/{toaster-Czhz-ktg.mjs → toaster-CKAJ9cht.mjs} +1 -1
- package/dist/{toaster-DfDb2-aI.js → toaster-DS9iODKU.js} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-CuLxBIWH.mjs +59 -0
- package/dist/toggle-DtpvPox_.js +1 -0
- package/dist/toggle-group-DfkvPKU_.mjs +164 -0
- package/dist/toggle-group-UHY0Tip1.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +2 -2
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -1
- package/dist/tooltip-BbCL1gtU.mjs +384 -0
- package/dist/tooltip-BvpyStn2.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +4 -4
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +3 -1
- package/src/__contracts.ts +163 -0
- package/src/accordion.tsx +3 -4
- package/src/alert-dialog.tsx +5 -5
- package/src/alert.tsx +2 -3
- package/src/attachment.tsx +203 -0
- package/src/breadcrumb.tsx +3 -4
- package/src/bubble.tsx +116 -0
- package/src/button-group.tsx +5 -5
- package/src/button.tsx +5 -6
- package/src/calendar.tsx +6 -5
- package/src/card.tsx +5 -5
- package/src/carousel.tsx +7 -7
- package/src/chart.tsx +1 -4
- package/src/checkbox.tsx +3 -4
- package/src/combobox.tsx +8 -7
- package/src/command.tsx +7 -7
- package/src/context-menu.tsx +9 -10
- package/src/dialog.tsx +5 -5
- package/src/drawer.tsx +2 -3
- package/src/dropdown-menu.tsx +9 -10
- package/src/empty.tsx +2 -3
- package/src/field.tsx +5 -4
- package/src/hover-card.tsx +2 -3
- package/src/index.ts +54 -0
- package/src/input-group.tsx +8 -7
- package/src/input-otp.tsx +3 -3
- package/src/input.tsx +1 -2
- package/src/item.tsx +4 -3
- package/src/kbd.tsx +3 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +62 -0
- package/src/menubar.tsx +10 -11
- package/src/message-scroller.tsx +134 -0
- package/src/message.tsx +86 -0
- package/src/native-select.tsx +2 -2
- package/src/navigation-menu.tsx +7 -8
- package/src/pagination.tsx +6 -6
- package/src/popover.tsx +2 -3
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +334 -0
- package/src/radio-group.tsx +2 -3
- package/src/resizable.tsx +1 -4
- package/src/scroll-area.tsx +2 -3
- package/src/select.tsx +7 -8
- package/src/separator.tsx +3 -4
- package/src/sheet.tsx +5 -5
- package/src/sidebar.tsx +14 -13
- package/src/skeleton.tsx +1 -1
- package/src/slider.tsx +4 -5
- package/src/sonner.tsx +0 -5
- package/src/spinner.tsx +10 -2
- package/src/switch.tsx +3 -4
- package/src/table-of-contents.tsx +7 -2
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +8 -9
- package/src/textarea.tsx +1 -2
- package/src/toggle-group.tsx +4 -4
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +2 -3
- package/dist/accordion-Dd8Hrexd.mjs +0 -244
- package/dist/accordion-DdSOiVyo.js +0 -1
- package/dist/alert-dialog-B7zX3gJX.js +0 -7
- package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
- package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
- package/dist/avatar-C4onD8-4.mjs +0 -127
- package/dist/avatar-ki_M47qG.js +0 -1
- package/dist/calendar-D9sapvfY.js +0 -1
- package/dist/carousel-6oFHLN7R.js +0 -1
- package/dist/checkbox-BLgY82mB.js +0 -1
- package/dist/checkbox-Bts_zfqd.mjs +0 -173
- package/dist/combobox-6qNx9Wbb.js +0 -4
- package/dist/combobox-yDMqxM_J.mjs +0 -5522
- package/dist/command-C6wJ5giF.mjs +0 -576
- package/dist/command-DCrPL1iW.js +0 -1
- package/dist/context-menu-CydUpD4W.mjs +0 -349
- package/dist/context-menu-DQ7XuuG5.js +0 -1
- package/dist/dist-1C8JOpVg.js +0 -1
- package/dist/dist-B1OcuinL.mjs +0 -558
- package/dist/dist-BGZDG175.mjs +0 -199
- package/dist/dist-BPBwSSyk.mjs +0 -8
- package/dist/dist-BPX1UGAz2.js +0 -1
- package/dist/dist-BRsDdVlJ.js +0 -1
- package/dist/dist-BWwCr-xN.mjs +0 -118
- package/dist/dist-BYdcKuDi.mjs +0 -16
- package/dist/dist-BlB11V_z.mjs +0 -27
- package/dist/dist-Bm8Cuttq.mjs +0 -76
- package/dist/dist-Byhx2fDJ.js +0 -1
- package/dist/dist-CCXBcfM3.js +0 -1
- package/dist/dist-CCokLFyA.mjs +0 -10
- package/dist/dist-CDU9vno-.mjs +0 -18
- package/dist/dist-CEJNUZGZ.js +0 -1
- package/dist/dist-CJolxugc.js +0 -1
- package/dist/dist-CQhWBhaI.mjs +0 -91
- package/dist/dist-CRLbUj9C.js +0 -1
- package/dist/dist-CSkpam6a.js +0 -1
- package/dist/dist-CWElW7UD.js +0 -1
- package/dist/dist-CXbzwSnE.js +0 -1
- package/dist/dist-CYj6O95k.mjs +0 -220
- package/dist/dist-C_45sBzc2.js +0 -1
- package/dist/dist-Cb7OVHcJ.js +0 -1
- package/dist/dist-Ccv5O-Vw.js +0 -1
- package/dist/dist-ChuP-5Gb.js +0 -1
- package/dist/dist-CiM892Rg.js +0 -1
- package/dist/dist-CuMQq0hV.js +0 -1
- package/dist/dist-DGzGsPqo2.mjs +0 -6
- package/dist/dist-DMnXk8Uo.js +0 -1
- package/dist/dist-DPBTfUqI.mjs +0 -96
- package/dist/dist-DR0lXVFG.js +0 -1
- package/dist/dist-Da7BU5sd.js +0 -5
- package/dist/dist-Df2ez-DA.mjs +0 -12
- package/dist/dist-DuTFGM_g.mjs +0 -45
- package/dist/dist-DynSBUGq.js +0 -1
- package/dist/dist-Dz3LbuDd.mjs +0 -60
- package/dist/dist-GhACpuJb2.mjs +0 -73
- package/dist/dist-o4zlRoDG.js +0 -1
- package/dist/dist-rGeQfsgN.mjs +0 -66
- package/dist/dist-tvb2Wafb.mjs +0 -153
- package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
- package/dist/es2015-D22cM8Q_.js +0 -41
- package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
- package/dist/hover-card-CJ-ibpbC.mjs +0 -187
- package/dist/hover-card-CK5SjVLL.js +0 -1
- package/dist/input-otp-BH_9dVhh.mjs +0 -391
- package/dist/input-otp-BibboKMt.js +0 -20
- package/dist/label-BXMSoyyu.js +0 -1
- package/dist/label-C8GNfPU0.mjs +0 -25
- package/dist/menubar-DPxokWFI.js +0 -1
- package/dist/navigation-menu-2yE2MUu-.js +0 -1
- package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
- package/dist/popover-D1AO-E8p.js +0 -1
- package/dist/popover-wQACF3ut.mjs +0 -245
- package/dist/progress-DPWSEWa5.mjs +0 -86
- package/dist/progress-ShXZwOfj.js +0 -6
- package/dist/radio-group-CQbZCQmj.mjs +0 -199
- package/dist/radio-group-DAEi5vW_.js +0 -1
- package/dist/resizable-Cv-mKMKP.js +0 -1
- package/dist/scroll-area-Cqqinhxf.js +0 -1
- package/dist/select-DdUveoSA.js +0 -1
- package/dist/select-yoeH35x2.mjs +0 -778
- package/dist/separator-BU1ea5gl.mjs +0 -35
- package/dist/separator-DBjErwHf.js +0 -1
- package/dist/shim-B5sEfNEJ.js +0 -1
- package/dist/shim-DX33EwUw.mjs +0 -91
- package/dist/sidebar-DIW-1cin.js +0 -1
- package/dist/slider-CCPXejUF.mjs +0 -388
- package/dist/slider-w05gD_Ix.js +0 -1
- package/dist/switch-CDBqsWQa.mjs +0 -112
- package/dist/switch-X2WBJsUu.js +0 -1
- package/dist/tabs-DzvgrVzk.js +0 -1
- package/dist/tabs-KDeHjVQU.mjs +0 -160
- package/dist/theme-toggle-C2Y4bIM3.js +0 -1
- package/dist/toast-1keyrzem.js +0 -1
- package/dist/toggle-BGkq5XDM.js +0 -1
- package/dist/toggle-BfIIdlA6.mjs +0 -58
- package/dist/toggle-group-CbqgoPFU.mjs +0 -167
- package/dist/toggle-group-D7hR4BT2.js +0 -1
- package/dist/tooltip-CAIbshMk.js +0 -1
- package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
2
|
+
import { a as t } from "./dist-8fYwoWd4.mjs";
|
|
3
|
+
import { n, t as r } from "./dist-BQhMregZ.mjs";
|
|
4
|
+
import { t as i } from "./dist-BIXhHahX.mjs";
|
|
5
|
+
import { t as a } from "./dist-DMwCTE2i.mjs";
|
|
6
|
+
import { t as o } from "./dist-DOoZ3vGL.mjs";
|
|
7
|
+
import { t as s } from "./dist-DyMv0xk8.mjs";
|
|
8
|
+
import { t as c } from "./dist-D7UHN1DJ.mjs";
|
|
9
|
+
import { t as l } from "./dist-BUXpRW9O.mjs";
|
|
10
|
+
import { t as u } from "./dist-Dg9ASyqI.mjs";
|
|
11
|
+
import { t as d } from "./dist-CBsYNwXz.mjs";
|
|
12
|
+
import { n as f } from "./dist-dMp9dzmY.mjs";
|
|
13
|
+
import { t as p } from "./dist-BPhn-EOy.mjs";
|
|
14
|
+
import { n as m } from "./dist-CYrqAnIr.mjs";
|
|
15
|
+
import { t as h } from "./dist-Bivv8B6p.mjs";
|
|
16
|
+
import { ChevronDownIcon as g } from "lucide-react";
|
|
17
|
+
import * as _ from "react";
|
|
18
|
+
import * as v from "react-dom";
|
|
19
|
+
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
20
|
+
import { cva as S } from "class-variance-authority";
|
|
21
|
+
//#region ../../node_modules/.bun/@radix-ui+react-navigation-menu@1.2.22+2b23df507bdda662/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
|
|
22
|
+
var C = Object.defineProperty, w = (e, t) => C(e, "name", {
|
|
23
|
+
value: t,
|
|
24
|
+
configurable: !0
|
|
25
|
+
}), T = "NavigationMenu", [E, D, O] = o(T), [k, A, j] = o(T), [M, ee] = a(T, [O, j]), [te, N] = M(T), [ne, re] = M(T), ie = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
|
|
26
|
+
let { __scopeNavigationMenu: i, value: a, onValueChange: o, defaultValue: s, delayDuration: c = 200, skipDelayDuration: u = 300, orientation: d = "horizontal", dir: p, ...m } = e, [h, g] = _.useState(null), v = t(n, g), y = f(p), x = _.useRef(0), S = _.useRef(0), C = _.useRef(0), [E, D] = _.useState(!0), [O, k] = l({
|
|
27
|
+
prop: a,
|
|
28
|
+
onChange: /* @__PURE__ */ w((e) => {
|
|
29
|
+
let t = e !== "", n = u > 0;
|
|
30
|
+
t ? (window.clearTimeout(C.current), n && D(!1)) : (window.clearTimeout(C.current), C.current = window.setTimeout(() => D(!0), u)), o?.(e);
|
|
31
|
+
}, "onChange"),
|
|
32
|
+
defaultProp: s ?? "",
|
|
33
|
+
caller: T
|
|
34
|
+
}), A = _.useCallback(() => {
|
|
35
|
+
window.clearTimeout(S.current), S.current = window.setTimeout(() => k(""), 150);
|
|
36
|
+
}, [k]), j = _.useCallback((e) => {
|
|
37
|
+
window.clearTimeout(S.current), k(e);
|
|
38
|
+
}, [k]), M = _.useCallback((e) => {
|
|
39
|
+
O === e ? window.clearTimeout(S.current) : x.current = window.setTimeout(() => {
|
|
40
|
+
window.clearTimeout(S.current), k(e);
|
|
41
|
+
}, c);
|
|
42
|
+
}, [
|
|
43
|
+
O,
|
|
44
|
+
k,
|
|
45
|
+
c
|
|
46
|
+
]);
|
|
47
|
+
return _.useEffect(() => () => {
|
|
48
|
+
window.clearTimeout(x.current), window.clearTimeout(S.current), window.clearTimeout(C.current);
|
|
49
|
+
}, []), /* @__PURE__ */ b(ae, {
|
|
50
|
+
scope: i,
|
|
51
|
+
isRootMenu: !0,
|
|
52
|
+
value: O,
|
|
53
|
+
dir: y,
|
|
54
|
+
orientation: d,
|
|
55
|
+
rootNavigationMenu: h,
|
|
56
|
+
onTriggerEnter: (e) => {
|
|
57
|
+
window.clearTimeout(x.current), E ? M(e) : j(e);
|
|
58
|
+
},
|
|
59
|
+
onTriggerLeave: () => {
|
|
60
|
+
window.clearTimeout(x.current), A();
|
|
61
|
+
},
|
|
62
|
+
onContentEnter: () => window.clearTimeout(S.current),
|
|
63
|
+
onContentLeave: A,
|
|
64
|
+
onItemSelect: (e) => {
|
|
65
|
+
k((t) => t === e ? "" : e);
|
|
66
|
+
},
|
|
67
|
+
onItemDismiss: () => k(""),
|
|
68
|
+
children: /* @__PURE__ */ b(r.nav, {
|
|
69
|
+
"aria-label": "Main",
|
|
70
|
+
"data-orientation": d,
|
|
71
|
+
dir: y,
|
|
72
|
+
...m,
|
|
73
|
+
ref: v
|
|
74
|
+
})
|
|
75
|
+
});
|
|
76
|
+
}, "NavigationMenu")), ae = /* @__PURE__ */ w((e) => {
|
|
77
|
+
let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: a, children: o, value: s, onItemSelect: c, onItemDismiss: l, onTriggerEnter: u, onTriggerLeave: f, onContentEnter: m, onContentLeave: g } = e, [v, y] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [C, w] = _.useState(null);
|
|
78
|
+
return /* @__PURE__ */ b(te, {
|
|
79
|
+
scope: t,
|
|
80
|
+
isRootMenu: n,
|
|
81
|
+
rootNavigationMenu: r,
|
|
82
|
+
value: s,
|
|
83
|
+
previousValue: h(s),
|
|
84
|
+
baseId: d(),
|
|
85
|
+
dir: i,
|
|
86
|
+
orientation: a,
|
|
87
|
+
viewport: v,
|
|
88
|
+
onViewportChange: y,
|
|
89
|
+
indicatorTrack: C,
|
|
90
|
+
onIndicatorTrackChange: w,
|
|
91
|
+
onTriggerEnter: p(u),
|
|
92
|
+
onTriggerLeave: p(f),
|
|
93
|
+
onContentEnter: p(m),
|
|
94
|
+
onContentLeave: p(g),
|
|
95
|
+
onItemSelect: p(c),
|
|
96
|
+
onItemDismiss: p(l),
|
|
97
|
+
onViewportContentChange: _.useCallback((e, t) => {
|
|
98
|
+
S((n) => (n.set(e, t), new Map(n)));
|
|
99
|
+
}, []),
|
|
100
|
+
onViewportContentRemove: _.useCallback((e) => {
|
|
101
|
+
S((t) => t.has(e) ? (t.delete(e), new Map(t)) : t);
|
|
102
|
+
}, []),
|
|
103
|
+
children: /* @__PURE__ */ b(E.Provider, {
|
|
104
|
+
scope: t,
|
|
105
|
+
children: /* @__PURE__ */ b(ne, {
|
|
106
|
+
scope: t,
|
|
107
|
+
items: x,
|
|
108
|
+
children: o
|
|
109
|
+
})
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
}, "NavigationMenuProvider"), oe = "NavigationMenuList", se = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
113
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = N(oe, n), o = /* @__PURE__ */ b(r.ul, {
|
|
114
|
+
"data-orientation": a.orientation,
|
|
115
|
+
...i,
|
|
116
|
+
ref: t
|
|
117
|
+
});
|
|
118
|
+
return /* @__PURE__ */ b(r.div, {
|
|
119
|
+
style: { position: "relative" },
|
|
120
|
+
ref: a.onIndicatorTrackChange,
|
|
121
|
+
children: /* @__PURE__ */ b(E.Slot, {
|
|
122
|
+
scope: n,
|
|
123
|
+
children: a.isRootMenu ? /* @__PURE__ */ b(H, {
|
|
124
|
+
asChild: !0,
|
|
125
|
+
children: o
|
|
126
|
+
}) : o
|
|
127
|
+
})
|
|
128
|
+
});
|
|
129
|
+
}, "NavigationMenuList")), [ce, P] = M("NavigationMenuItem"), le = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
130
|
+
let { __scopeNavigationMenu: n, value: i, ...a } = e, o = d(), s = i || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), l = _.useRef(null), u = _.useRef(null), f = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
|
|
131
|
+
if (c.current) {
|
|
132
|
+
f.current();
|
|
133
|
+
let t = G(c.current);
|
|
134
|
+
t.length && K(e === "start" ? t : t.reverse());
|
|
135
|
+
}
|
|
136
|
+
}, []), h = _.useCallback(() => {
|
|
137
|
+
if (c.current) {
|
|
138
|
+
let e = G(c.current);
|
|
139
|
+
e.length && (f.current = q(e));
|
|
140
|
+
}
|
|
141
|
+
}, []);
|
|
142
|
+
return /* @__PURE__ */ b(ce, {
|
|
143
|
+
scope: n,
|
|
144
|
+
value: s,
|
|
145
|
+
triggerRef: l,
|
|
146
|
+
contentRef: c,
|
|
147
|
+
focusProxyRef: u,
|
|
148
|
+
wasEscapeCloseRef: p,
|
|
149
|
+
onEntryKeyDown: m,
|
|
150
|
+
onFocusProxyEnter: m,
|
|
151
|
+
onRootContentClose: h,
|
|
152
|
+
onContentFocusOutside: h,
|
|
153
|
+
children: /* @__PURE__ */ b(r.li, {
|
|
154
|
+
...a,
|
|
155
|
+
ref: t
|
|
156
|
+
})
|
|
157
|
+
});
|
|
158
|
+
}, "NavigationMenuItem")), F = "NavigationMenuTrigger", ue = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
|
|
159
|
+
let { __scopeNavigationMenu: a, disabled: o, ...c } = e, l = N(F, e.__scopeNavigationMenu), u = P(F, e.__scopeNavigationMenu), d = _.useRef(null), f = t(d, u.triggerRef, n), p = X(l.baseId, u.value), m = Z(l.baseId, u.value), h = _.useRef(!1), g = _.useRef(!1), v = u.value === l.value;
|
|
160
|
+
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(E.ItemSlot, {
|
|
161
|
+
scope: a,
|
|
162
|
+
value: u.value,
|
|
163
|
+
children: /* @__PURE__ */ b(W, {
|
|
164
|
+
asChild: !0,
|
|
165
|
+
children: /* @__PURE__ */ b(r.button, {
|
|
166
|
+
id: p,
|
|
167
|
+
disabled: o,
|
|
168
|
+
"data-disabled": o ? "" : void 0,
|
|
169
|
+
"data-state": Y(v),
|
|
170
|
+
"aria-expanded": v,
|
|
171
|
+
"aria-controls": v ? m : void 0,
|
|
172
|
+
...c,
|
|
173
|
+
ref: f,
|
|
174
|
+
onPointerEnter: s(e.onPointerEnter, () => {
|
|
175
|
+
g.current = !1, u.wasEscapeCloseRef.current = !1;
|
|
176
|
+
}),
|
|
177
|
+
onPointerMove: s(e.onPointerMove, Q(() => {
|
|
178
|
+
o || g.current || u.wasEscapeCloseRef.current || h.current || (l.onTriggerEnter(u.value), h.current = !0);
|
|
179
|
+
})),
|
|
180
|
+
onPointerLeave: s(e.onPointerLeave, Q(() => {
|
|
181
|
+
o || (l.onTriggerLeave(), h.current = !1);
|
|
182
|
+
})),
|
|
183
|
+
onClick: s(e.onClick, () => {
|
|
184
|
+
l.onItemSelect(u.value), g.current = v;
|
|
185
|
+
}),
|
|
186
|
+
onKeyDown: s(e.onKeyDown, (e) => {
|
|
187
|
+
let t = {
|
|
188
|
+
horizontal: "ArrowDown",
|
|
189
|
+
vertical: l.dir === "rtl" ? "ArrowLeft" : "ArrowRight"
|
|
190
|
+
}[l.orientation];
|
|
191
|
+
v && e.key === t && (u.onEntryKeyDown(), e.preventDefault());
|
|
192
|
+
})
|
|
193
|
+
})
|
|
194
|
+
})
|
|
195
|
+
}), v && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(i, {
|
|
196
|
+
"aria-hidden": !0,
|
|
197
|
+
tabIndex: 0,
|
|
198
|
+
ref: u.focusProxyRef,
|
|
199
|
+
onFocus: (e) => {
|
|
200
|
+
let t = u.contentRef.current, n = e.relatedTarget, r = n === d.current, i = t?.contains(n);
|
|
201
|
+
(r || !i) && u.onFocusProxyEnter(r ? "start" : "end");
|
|
202
|
+
}
|
|
203
|
+
}), l.viewport && /* @__PURE__ */ b("span", { "aria-owns": m })] })] });
|
|
204
|
+
}, "NavigationMenuTrigger")), I = "navigationMenu.linkSelect", de = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
205
|
+
let { __scopeNavigationMenu: i, active: a, onSelect: o, ...c } = e;
|
|
206
|
+
return /* @__PURE__ */ b(W, {
|
|
207
|
+
asChild: !0,
|
|
208
|
+
children: /* @__PURE__ */ b(r.a, {
|
|
209
|
+
"data-active": a ? "" : void 0,
|
|
210
|
+
"aria-current": a ? "page" : void 0,
|
|
211
|
+
...c,
|
|
212
|
+
ref: t,
|
|
213
|
+
onClick: s(e.onClick, (e) => {
|
|
214
|
+
let t = e.target, r = new CustomEvent(I, {
|
|
215
|
+
bubbles: !0,
|
|
216
|
+
cancelable: !0
|
|
217
|
+
});
|
|
218
|
+
t.addEventListener(I, (e) => o?.(e), { once: !0 }), n(t, r), !r.defaultPrevented && !e.metaKey && n(t, new CustomEvent(z, {
|
|
219
|
+
bubbles: !0,
|
|
220
|
+
cancelable: !0
|
|
221
|
+
}));
|
|
222
|
+
}, { checkForDefaultPrevented: !1 })
|
|
223
|
+
})
|
|
224
|
+
});
|
|
225
|
+
}, "NavigationMenuLink")), L = "NavigationMenuIndicator", fe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
226
|
+
let { forceMount: n, ...r } = e, i = N(L, e.__scopeNavigationMenu), a = !!i.value;
|
|
227
|
+
return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ b(u, {
|
|
228
|
+
present: n || a,
|
|
229
|
+
children: /* @__PURE__ */ b(pe, {
|
|
230
|
+
...r,
|
|
231
|
+
ref: t
|
|
232
|
+
})
|
|
233
|
+
}), i.indicatorTrack) : null;
|
|
234
|
+
}, "NavigationMenuIndicator")), pe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
235
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = N(L, n), o = D(n), [s, c] = _.useState(null), [l, u] = _.useState(null), d = a.orientation === "horizontal", f = !!a.value;
|
|
236
|
+
_.useEffect(() => {
|
|
237
|
+
let e = o().find((e) => e.value === a.value)?.ref.current;
|
|
238
|
+
e && c(e);
|
|
239
|
+
}, [o, a.value]);
|
|
240
|
+
let p = /* @__PURE__ */ w(() => {
|
|
241
|
+
s && u({
|
|
242
|
+
size: d ? s.offsetWidth : s.offsetHeight,
|
|
243
|
+
offset: d ? s.offsetLeft : s.offsetTop
|
|
244
|
+
});
|
|
245
|
+
}, "handlePositionChange");
|
|
246
|
+
return J(s, p), J(a.indicatorTrack, p), l ? /* @__PURE__ */ b(r.div, {
|
|
247
|
+
"aria-hidden": !0,
|
|
248
|
+
"data-state": f ? "visible" : "hidden",
|
|
249
|
+
"data-orientation": a.orientation,
|
|
250
|
+
...i,
|
|
251
|
+
ref: t,
|
|
252
|
+
style: {
|
|
253
|
+
position: "absolute",
|
|
254
|
+
...d ? {
|
|
255
|
+
left: 0,
|
|
256
|
+
width: l.size + "px",
|
|
257
|
+
transform: `translateX(${l.offset}px)`,
|
|
258
|
+
"--radix-navigation-menu-indicator-translate-x": `${l.offset}px`
|
|
259
|
+
} : {
|
|
260
|
+
top: 0,
|
|
261
|
+
height: l.size + "px",
|
|
262
|
+
transform: `translateY(${l.offset}px)`,
|
|
263
|
+
"--radix-navigation-menu-indicator-translate-y": `${l.offset}px`
|
|
264
|
+
},
|
|
265
|
+
...i.style
|
|
266
|
+
}
|
|
267
|
+
}) : null;
|
|
268
|
+
}, "NavigationMenuIndicatorImpl")), R = "NavigationMenuContent", me = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
|
|
269
|
+
let { forceMount: r, ...i } = e, a = N(R, e.__scopeNavigationMenu), o = P(R, e.__scopeNavigationMenu), c = t(o.contentRef, n), l = o.value === a.value, d = {
|
|
270
|
+
value: o.value,
|
|
271
|
+
triggerRef: o.triggerRef,
|
|
272
|
+
focusProxyRef: o.focusProxyRef,
|
|
273
|
+
wasEscapeCloseRef: o.wasEscapeCloseRef,
|
|
274
|
+
onContentFocusOutside: o.onContentFocusOutside,
|
|
275
|
+
onRootContentClose: o.onRootContentClose,
|
|
276
|
+
...i
|
|
277
|
+
};
|
|
278
|
+
return a.viewport ? /* @__PURE__ */ b(he, {
|
|
279
|
+
forceMount: r,
|
|
280
|
+
...d,
|
|
281
|
+
ref: c
|
|
282
|
+
}) : /* @__PURE__ */ b(u, {
|
|
283
|
+
present: r || l,
|
|
284
|
+
children: /* @__PURE__ */ b(B, {
|
|
285
|
+
"data-state": Y(l),
|
|
286
|
+
...d,
|
|
287
|
+
ref: c,
|
|
288
|
+
onPointerEnter: s(e.onPointerEnter, a.onContentEnter),
|
|
289
|
+
onPointerLeave: s(e.onPointerLeave, Q(a.onContentLeave)),
|
|
290
|
+
style: {
|
|
291
|
+
pointerEvents: !l && a.isRootMenu ? "none" : void 0,
|
|
292
|
+
...d.style
|
|
293
|
+
}
|
|
294
|
+
})
|
|
295
|
+
});
|
|
296
|
+
}, "NavigationMenuContent")), he = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
297
|
+
let { onViewportContentChange: n, onViewportContentRemove: r } = N(R, e.__scopeNavigationMenu);
|
|
298
|
+
return c(() => {
|
|
299
|
+
n(e.value, {
|
|
300
|
+
ref: t,
|
|
301
|
+
...e
|
|
302
|
+
});
|
|
303
|
+
}, [
|
|
304
|
+
e,
|
|
305
|
+
t,
|
|
306
|
+
n
|
|
307
|
+
]), c(() => () => r(e.value), [e.value, r]), null;
|
|
308
|
+
}, "ViewportContentMounter")), z = "navigationMenu.rootContentDismiss", B = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
|
|
309
|
+
let { __scopeNavigationMenu: r, value: i, triggerRef: a, focusProxyRef: o, wasEscapeCloseRef: c, onRootContentClose: l, onContentFocusOutside: u, ...d } = e, f = N(R, r), p = _.useRef(null), h = t(p, n), g = X(f.baseId, i), v = Z(f.baseId, i), y = D(r), x = _.useRef(null), { onItemDismiss: S } = f;
|
|
310
|
+
return _.useEffect(() => {
|
|
311
|
+
let e = p.current;
|
|
312
|
+
if (f.isRootMenu && e) {
|
|
313
|
+
let t = /* @__PURE__ */ w(() => {
|
|
314
|
+
S(), l(), e.contains(document.activeElement) && a.current?.focus();
|
|
315
|
+
}, "handleClose");
|
|
316
|
+
return e.addEventListener(z, t), () => e.removeEventListener(z, t);
|
|
317
|
+
}
|
|
318
|
+
}, [
|
|
319
|
+
f.isRootMenu,
|
|
320
|
+
e.value,
|
|
321
|
+
a,
|
|
322
|
+
S,
|
|
323
|
+
l
|
|
324
|
+
]), /* @__PURE__ */ b(H, {
|
|
325
|
+
asChild: !0,
|
|
326
|
+
children: /* @__PURE__ */ b(m, {
|
|
327
|
+
id: v,
|
|
328
|
+
"aria-labelledby": g,
|
|
329
|
+
"data-motion": _.useMemo(() => {
|
|
330
|
+
let e = y().map((e) => e.value);
|
|
331
|
+
f.dir === "rtl" && e.reverse();
|
|
332
|
+
let t = e.indexOf(f.value), n = e.indexOf(f.previousValue), r = i === f.value, a = n === e.indexOf(i);
|
|
333
|
+
if (!r && !a) return x.current;
|
|
334
|
+
let o = (() => {
|
|
335
|
+
if (t !== n) {
|
|
336
|
+
if (r && n !== -1) return t > n ? "from-end" : "from-start";
|
|
337
|
+
if (a && t !== -1) return t > n ? "to-start" : "to-end";
|
|
338
|
+
}
|
|
339
|
+
return null;
|
|
340
|
+
})();
|
|
341
|
+
return x.current = o, o;
|
|
342
|
+
}, [
|
|
343
|
+
f.previousValue,
|
|
344
|
+
f.value,
|
|
345
|
+
f.dir,
|
|
346
|
+
y,
|
|
347
|
+
i
|
|
348
|
+
]),
|
|
349
|
+
"data-orientation": f.orientation,
|
|
350
|
+
...d,
|
|
351
|
+
ref: h,
|
|
352
|
+
disableOutsidePointerEvents: !1,
|
|
353
|
+
onDismiss: () => {
|
|
354
|
+
let e = new Event(z, {
|
|
355
|
+
bubbles: !0,
|
|
356
|
+
cancelable: !0
|
|
357
|
+
});
|
|
358
|
+
p.current?.dispatchEvent(e);
|
|
359
|
+
},
|
|
360
|
+
onFocusOutside: s(e.onFocusOutside, (e) => {
|
|
361
|
+
u();
|
|
362
|
+
let t = e.target;
|
|
363
|
+
f.rootNavigationMenu?.contains(t) && e.preventDefault();
|
|
364
|
+
}),
|
|
365
|
+
onPointerDownOutside: s(e.onPointerDownOutside, (e) => {
|
|
366
|
+
let t = e.target, n = y().some((e) => e.ref.current?.contains(t)), r = f.isRootMenu && f.viewport?.contains(t);
|
|
367
|
+
(n || r || !f.isRootMenu) && e.preventDefault();
|
|
368
|
+
}),
|
|
369
|
+
onKeyDown: s(e.onKeyDown, (e) => {
|
|
370
|
+
let t = e.altKey || e.ctrlKey || e.metaKey;
|
|
371
|
+
if (e.key === "Tab" && !t) {
|
|
372
|
+
let t = G(e.currentTarget), n = document.activeElement, r = t.findIndex((e) => e === n);
|
|
373
|
+
K(e.shiftKey ? t.slice(0, r).reverse() : t.slice(r + 1, t.length)) ? e.preventDefault() : o.current?.focus();
|
|
374
|
+
}
|
|
375
|
+
}),
|
|
376
|
+
onEscapeKeyDown: s(e.onEscapeKeyDown, (e) => {
|
|
377
|
+
c.current = !0;
|
|
378
|
+
})
|
|
379
|
+
})
|
|
380
|
+
});
|
|
381
|
+
}, "NavigationMenuContentImpl")), V = "NavigationMenuViewport", ge = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
382
|
+
let { forceMount: n, ...r } = e, i = !!N(V, e.__scopeNavigationMenu).value;
|
|
383
|
+
return /* @__PURE__ */ b(u, {
|
|
384
|
+
present: n || i,
|
|
385
|
+
children: /* @__PURE__ */ b(_e, {
|
|
386
|
+
...r,
|
|
387
|
+
ref: t
|
|
388
|
+
})
|
|
389
|
+
});
|
|
390
|
+
}, "NavigationMenuViewport")), _e = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, n) {
|
|
391
|
+
let { __scopeNavigationMenu: i, children: a, ...o } = e, c = N(V, i), l = t(n, c.onViewportChange), d = re(R, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, h] = _.useState(null), g = f ? f?.width + "px" : void 0, v = f ? f?.height + "px" : void 0, y = !!c.value, x = y ? c.value : c.previousValue;
|
|
392
|
+
return J(m, /* @__PURE__ */ w(() => {
|
|
393
|
+
m && p({
|
|
394
|
+
width: m.offsetWidth,
|
|
395
|
+
height: m.offsetHeight
|
|
396
|
+
});
|
|
397
|
+
}, "handleSizeChange")), /* @__PURE__ */ b(r.div, {
|
|
398
|
+
"data-state": Y(y),
|
|
399
|
+
"data-orientation": c.orientation,
|
|
400
|
+
...o,
|
|
401
|
+
ref: l,
|
|
402
|
+
style: {
|
|
403
|
+
pointerEvents: !y && c.isRootMenu ? "none" : void 0,
|
|
404
|
+
"--radix-navigation-menu-viewport-width": g,
|
|
405
|
+
"--radix-navigation-menu-viewport-height": v,
|
|
406
|
+
...o.style
|
|
407
|
+
},
|
|
408
|
+
onPointerEnter: s(e.onPointerEnter, c.onContentEnter),
|
|
409
|
+
onPointerLeave: s(e.onPointerLeave, Q(c.onContentLeave)),
|
|
410
|
+
children: Array.from(d.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
|
|
411
|
+
let i = x === e;
|
|
412
|
+
return /* @__PURE__ */ b(u, {
|
|
413
|
+
present: n || i,
|
|
414
|
+
children: /* @__PURE__ */ b(ve, {
|
|
415
|
+
...r,
|
|
416
|
+
contentRef: t,
|
|
417
|
+
isActive: i,
|
|
418
|
+
onActiveContentChange: h
|
|
419
|
+
})
|
|
420
|
+
}, e);
|
|
421
|
+
})
|
|
422
|
+
});
|
|
423
|
+
}, "NavigationMenuViewportImpl")), ve = /* @__PURE__ */ w(({ contentRef: e, isActive: n, onActiveContentChange: r, ...i }) => {
|
|
424
|
+
let a = t(e, _.useCallback((e) => {
|
|
425
|
+
n && e && r(e);
|
|
426
|
+
}, [n, r]));
|
|
427
|
+
return /* @__PURE__ */ b(B, {
|
|
428
|
+
...i,
|
|
429
|
+
ref: a
|
|
430
|
+
});
|
|
431
|
+
}, "NavigationMenuViewportItem"), ye = "FocusGroup", H = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
432
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = N(ye, n);
|
|
433
|
+
return /* @__PURE__ */ b(k.Provider, {
|
|
434
|
+
scope: n,
|
|
435
|
+
children: /* @__PURE__ */ b(k.Slot, {
|
|
436
|
+
scope: n,
|
|
437
|
+
children: /* @__PURE__ */ b(r.div, {
|
|
438
|
+
dir: a.dir,
|
|
439
|
+
...i,
|
|
440
|
+
ref: t
|
|
441
|
+
})
|
|
442
|
+
})
|
|
443
|
+
});
|
|
444
|
+
}, "FocusGroup")), U = [
|
|
445
|
+
"ArrowRight",
|
|
446
|
+
"ArrowLeft",
|
|
447
|
+
"ArrowUp",
|
|
448
|
+
"ArrowDown"
|
|
449
|
+
], be = "FocusGroupItem", W = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ w(function(e, t) {
|
|
450
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = A(n), o = N(be, n);
|
|
451
|
+
return /* @__PURE__ */ b(k.ItemSlot, {
|
|
452
|
+
scope: n,
|
|
453
|
+
children: /* @__PURE__ */ b(r.button, {
|
|
454
|
+
...i,
|
|
455
|
+
ref: t,
|
|
456
|
+
onKeyDown: s(e.onKeyDown, (e) => {
|
|
457
|
+
if ([
|
|
458
|
+
"Home",
|
|
459
|
+
"End",
|
|
460
|
+
...U
|
|
461
|
+
].includes(e.key)) {
|
|
462
|
+
let t = a().map((e) => e.ref.current);
|
|
463
|
+
if ([
|
|
464
|
+
o.dir === "rtl" ? "ArrowRight" : "ArrowLeft",
|
|
465
|
+
"ArrowUp",
|
|
466
|
+
"End"
|
|
467
|
+
].includes(e.key) && t.reverse(), U.includes(e.key)) {
|
|
468
|
+
let n = t.indexOf(e.currentTarget);
|
|
469
|
+
t = t.slice(n + 1);
|
|
470
|
+
}
|
|
471
|
+
setTimeout(() => K(t)), e.preventDefault();
|
|
472
|
+
}
|
|
473
|
+
})
|
|
474
|
+
})
|
|
475
|
+
});
|
|
476
|
+
}, "FocusGroupItem"));
|
|
477
|
+
function G(e) {
|
|
478
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ w((e) => {
|
|
479
|
+
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
480
|
+
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
481
|
+
}, "acceptNode") });
|
|
482
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
483
|
+
return t;
|
|
484
|
+
}
|
|
485
|
+
w(G, "getTabbableCandidates");
|
|
486
|
+
function K(e) {
|
|
487
|
+
let t = document.activeElement;
|
|
488
|
+
return e.some((e) => e === t ? !0 : (e.focus(), document.activeElement !== t));
|
|
489
|
+
}
|
|
490
|
+
w(K, "focusFirst");
|
|
491
|
+
function q(e) {
|
|
492
|
+
return e.forEach((e) => {
|
|
493
|
+
e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
|
|
494
|
+
}), () => {
|
|
495
|
+
e.forEach((e) => {
|
|
496
|
+
let t = e.dataset.tabindex;
|
|
497
|
+
e.setAttribute("tabindex", t);
|
|
498
|
+
});
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
w(q, "removeFromTabOrder");
|
|
502
|
+
function J(e, t) {
|
|
503
|
+
let n = p(t);
|
|
504
|
+
c(() => {
|
|
505
|
+
let t = 0;
|
|
506
|
+
if (e) {
|
|
507
|
+
let r = new ResizeObserver(() => {
|
|
508
|
+
cancelAnimationFrame(t), t = window.requestAnimationFrame(n);
|
|
509
|
+
});
|
|
510
|
+
return r.observe(e), () => {
|
|
511
|
+
window.cancelAnimationFrame(t), r.unobserve(e);
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
}, [e, n]);
|
|
515
|
+
}
|
|
516
|
+
w(J, "useResizeObserver");
|
|
517
|
+
function Y(e) {
|
|
518
|
+
return e ? "open" : "closed";
|
|
519
|
+
}
|
|
520
|
+
w(Y, "getOpenState");
|
|
521
|
+
function X(e, t) {
|
|
522
|
+
return `${e}-trigger-${t}`;
|
|
523
|
+
}
|
|
524
|
+
w(X, "makeTriggerId");
|
|
525
|
+
function Z(e, t) {
|
|
526
|
+
return `${e}-content-${t}`;
|
|
527
|
+
}
|
|
528
|
+
w(Z, "makeContentId");
|
|
529
|
+
function Q(e) {
|
|
530
|
+
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
531
|
+
}
|
|
532
|
+
w(Q, "whenMouse");
|
|
533
|
+
var xe = ie, Se = se, Ce = le, we = ue, Te = de, Ee = fe, De = me, Oe = ge;
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region src/navigation-menu.tsx
|
|
536
|
+
function ke({ className: t, children: n, viewport: r = !0, ...i }) {
|
|
537
|
+
return /* @__PURE__ */ x(xe, {
|
|
538
|
+
"data-slot": "navigation-menu",
|
|
539
|
+
"data-viewport": r,
|
|
540
|
+
className: e("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", t),
|
|
541
|
+
...i,
|
|
542
|
+
children: [n, r && /* @__PURE__ */ b(Pe, {})]
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
function Ae({ className: t, ...n }) {
|
|
546
|
+
return /* @__PURE__ */ b(Se, {
|
|
547
|
+
"data-slot": "navigation-menu-list",
|
|
548
|
+
className: e("group flex flex-1 list-none items-center justify-center gap-0", t),
|
|
549
|
+
...n
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
function je({ className: t, ...n }) {
|
|
553
|
+
return /* @__PURE__ */ b(Ce, {
|
|
554
|
+
"data-slot": "navigation-menu-item",
|
|
555
|
+
className: e("relative", t),
|
|
556
|
+
...n
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
var $ = S("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted");
|
|
560
|
+
function Me({ className: t, children: n, ...r }) {
|
|
561
|
+
return /* @__PURE__ */ x(we, {
|
|
562
|
+
"data-slot": "navigation-menu-trigger",
|
|
563
|
+
className: e($(), "group", t),
|
|
564
|
+
...r,
|
|
565
|
+
children: [
|
|
566
|
+
n,
|
|
567
|
+
" ",
|
|
568
|
+
/* @__PURE__ */ b(g, {
|
|
569
|
+
className: "relative top-px ms-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180",
|
|
570
|
+
"aria-hidden": "true"
|
|
571
|
+
})
|
|
572
|
+
]
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
function Ne({ className: t, ...n }) {
|
|
576
|
+
return /* @__PURE__ */ b(De, {
|
|
577
|
+
"data-slot": "navigation-menu-content",
|
|
578
|
+
className: e("group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:ring-foreground/10 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 start-0 top-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto", t),
|
|
579
|
+
...n
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
function Pe({ className: t, ...n }) {
|
|
583
|
+
return /* @__PURE__ */ b("div", {
|
|
584
|
+
className: e("absolute start-0 top-full isolate z-50 flex justify-center"),
|
|
585
|
+
children: /* @__PURE__ */ b(Oe, {
|
|
586
|
+
"data-slot": "navigation-menu-viewport",
|
|
587
|
+
className: e("origin-top-center bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-lg shadow ring-1 duration-100 md:w-(--radix-navigation-menu-viewport-width)", t),
|
|
588
|
+
...n
|
|
589
|
+
})
|
|
590
|
+
});
|
|
591
|
+
}
|
|
592
|
+
function Fe({ className: t, ...n }) {
|
|
593
|
+
return /* @__PURE__ */ b(Te, {
|
|
594
|
+
"data-slot": "navigation-menu-link",
|
|
595
|
+
className: e("hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md [&_svg:not([class*='size-'])]:size-4", t),
|
|
596
|
+
...n
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
function Ie({ className: t, ...n }) {
|
|
600
|
+
return /* @__PURE__ */ b(Ee, {
|
|
601
|
+
"data-slot": "navigation-menu-indicator",
|
|
602
|
+
className: e("data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in top-full z-1 flex h-1.5 items-end justify-center overflow-hidden", t),
|
|
603
|
+
...n,
|
|
604
|
+
children: /* @__PURE__ */ b("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-ss-sm shadow-md" })
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
//#endregion
|
|
608
|
+
export { Fe as a, Pe as c, je as i, $ as l, Ne as n, Ae as o, Ie as r, Me as s, ke as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-NEeQKKDZ.js"),r=require("./dist-BoNQb2nd.js"),i=require("./dist-v-Y6tnMq.js"),a=require("./dist-DYUvPCPC.js"),o=require("./dist-v9094Auw.js"),s=require("./dist-DZiOPWLp.js"),c=require("./dist-CGgemr2V.js"),l=require("./dist-YAADIsyo.js"),u=require("./dist-D7-Fky36.js"),d=require("./dist-C8Pm6LRc.js"),f=require("./dist-mHQuNOH-.js"),p=require("./dist-C83rnWRv.js"),m=require("./dist-CdBAkUWT.js"),h=require("./dist-BOKg7rhq.js");let g=require("lucide-react"),_=require("react"),v=e.r(_,1);_=e.r(_);let y=require("react-dom");y=e.r(y,1);let b=require("react/jsx-runtime"),x=require("class-variance-authority");var S=Object.defineProperty,C=(e,t)=>S(e,`name`,{value:t,configurable:!0}),w=`NavigationMenu`,[T,E,D]=o.t(w),[O,k,A]=o.t(w),[j,ee]=a.t(w,[D,A]),[te,M]=j(w),[ne,re]=j(w),ie=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:i,value:a,onValueChange:o,defaultValue:s,delayDuration:c=200,skipDelayDuration:u=300,orientation:d=`horizontal`,dir:p,...m}=e,[h,g]=v.useState(null),_=n.a(t,g),y=f.n(p),x=v.useRef(0),S=v.useRef(0),T=v.useRef(0),[E,D]=v.useState(!0),[O,k]=l.t({prop:a,onChange:C(e=>{let t=e!==``,n=u>0;t?(window.clearTimeout(T.current),n&&D(!1)):(window.clearTimeout(T.current),T.current=window.setTimeout(()=>D(!0),u)),o?.(e)},`onChange`),defaultProp:s??``,caller:w}),A=v.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>k(``),150)},[k]),j=v.useCallback(e=>{window.clearTimeout(S.current),k(e)},[k]),ee=v.useCallback(e=>{O===e?window.clearTimeout(S.current):x.current=window.setTimeout(()=>{window.clearTimeout(S.current),k(e)},c)},[O,k,c]);return v.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(S.current),window.clearTimeout(T.current)},[]),(0,b.jsx)(ae,{scope:i,isRootMenu:!0,value:O,dir:y,orientation:d,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(x.current),E?ee(e):j(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),A()},onContentEnter:()=>window.clearTimeout(S.current),onContentLeave:A,onItemSelect:e=>{k(t=>t===e?``:e)},onItemDismiss:()=>k(``),children:(0,b.jsx)(r.t.nav,{"aria-label":`Main`,"data-orientation":d,dir:y,...m,ref:_})})},`NavigationMenu`)),ae=C(e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:i,orientation:a,children:o,value:s,onItemSelect:c,onItemDismiss:l,onTriggerEnter:u,onTriggerLeave:f,onContentEnter:m,onContentLeave:g}=e,[_,y]=v.useState(null),[x,S]=v.useState(new Map),[C,w]=v.useState(null);return(0,b.jsx)(te,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:h.t(s),baseId:d.t(),dir:i,orientation:a,viewport:_,onViewportChange:y,indicatorTrack:C,onIndicatorTrackChange:w,onTriggerEnter:p.t(u),onTriggerLeave:p.t(f),onContentEnter:p.t(m),onContentLeave:p.t(g),onItemSelect:p.t(c),onItemDismiss:p.t(l),onViewportContentChange:v.useCallback((e,t)=>{S(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:v.useCallback(e=>{S(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,b.jsx)(T.Provider,{scope:t,children:(0,b.jsx)(ne,{scope:t,items:x,children:o})})})},`NavigationMenuProvider`),oe=`NavigationMenuList`,se=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,...i}=e,a=M(oe,n),o=(0,b.jsx)(r.t.ul,{"data-orientation":a.orientation,...i,ref:t});return(0,b.jsx)(r.t.div,{style:{position:`relative`},ref:a.onIndicatorTrackChange,children:(0,b.jsx)(T.Slot,{scope:n,children:a.isRootMenu?(0,b.jsx)(V,{asChild:!0,children:o}):o})})},`NavigationMenuList`)),[ce,N]=j(`NavigationMenuItem`),le=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,value:i,...a}=e,o=d.t(),s=i||o||`LEGACY_REACT_AUTO_VALUE`,c=v.useRef(null),l=v.useRef(null),u=v.useRef(null),f=v.useRef(()=>{}),p=v.useRef(!1),m=v.useCallback((e=`start`)=>{if(c.current){f.current();let t=W(c.current);t.length&&G(e===`start`?t:t.reverse())}},[]),h=v.useCallback(()=>{if(c.current){let e=W(c.current);e.length&&(f.current=K(e))}},[]);return(0,b.jsx)(ce,{scope:n,value:s,triggerRef:l,contentRef:c,focusProxyRef:u,wasEscapeCloseRef:p,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:h,onContentFocusOutside:h,children:(0,b.jsx)(r.t.li,{...a,ref:t})})},`NavigationMenuItem`)),P=`NavigationMenuTrigger`,ue=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:a,disabled:o,...c}=e,l=M(P,e.__scopeNavigationMenu),u=N(P,e.__scopeNavigationMenu),d=v.useRef(null),f=n.a(d,u.triggerRef,t),p=Y(l.baseId,u.value),m=X(l.baseId,u.value),h=v.useRef(!1),g=v.useRef(!1),_=u.value===l.value;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(T.ItemSlot,{scope:a,value:u.value,children:(0,b.jsx)(U,{asChild:!0,children:(0,b.jsx)(r.t.button,{id:p,disabled:o,"data-disabled":o?``:void 0,"data-state":J(_),"aria-expanded":_,"aria-controls":_?m:void 0,...c,ref:f,onPointerEnter:s.t(e.onPointerEnter,()=>{g.current=!1,u.wasEscapeCloseRef.current=!1}),onPointerMove:s.t(e.onPointerMove,Z(()=>{o||g.current||u.wasEscapeCloseRef.current||h.current||(l.onTriggerEnter(u.value),h.current=!0)})),onPointerLeave:s.t(e.onPointerLeave,Z(()=>{o||(l.onTriggerLeave(),h.current=!1)})),onClick:s.t(e.onClick,()=>{l.onItemSelect(u.value),g.current=_}),onKeyDown:s.t(e.onKeyDown,e=>{let t={horizontal:`ArrowDown`,vertical:l.dir===`rtl`?`ArrowLeft`:`ArrowRight`}[l.orientation];_&&e.key===t&&(u.onEntryKeyDown(),e.preventDefault())})})})}),_&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(i.t,{"aria-hidden":!0,tabIndex:0,ref:u.focusProxyRef,onFocus:e=>{let t=u.contentRef.current,n=e.relatedTarget,r=n===d.current,i=t?.contains(n);(r||!i)&&u.onFocusProxyEnter(r?`start`:`end`)}}),l.viewport&&(0,b.jsx)(`span`,{"aria-owns":m})]})]})},`NavigationMenuTrigger`)),F=`navigationMenu.linkSelect`,de=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,active:i,onSelect:a,...o}=e;return(0,b.jsx)(U,{asChild:!0,children:(0,b.jsx)(r.t.a,{"data-active":i?``:void 0,"aria-current":i?`page`:void 0,...o,ref:t,onClick:s.t(e.onClick,e=>{let t=e.target,n=new CustomEvent(F,{bubbles:!0,cancelable:!0});t.addEventListener(F,e=>a?.(e),{once:!0}),r.n(t,n),!n.defaultPrevented&&!e.metaKey&&r.n(t,new CustomEvent(R,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})},`NavigationMenuLink`)),I=`NavigationMenuIndicator`,fe=v.forwardRef(C(function(e,t){let{forceMount:n,...r}=e,i=M(I,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?y.createPortal((0,b.jsx)(u.t,{present:n||a,children:(0,b.jsx)(pe,{...r,ref:t})}),i.indicatorTrack):null},`NavigationMenuIndicator`)),pe=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,...i}=e,a=M(I,n),o=E(n),[s,c]=v.useState(null),[l,u]=v.useState(null),d=a.orientation===`horizontal`,f=!!a.value;v.useEffect(()=>{let e=o().find(e=>e.value===a.value)?.ref.current;e&&c(e)},[o,a.value]);let p=C(()=>{s&&u({size:d?s.offsetWidth:s.offsetHeight,offset:d?s.offsetLeft:s.offsetTop})},`handlePositionChange`);return q(s,p),q(a.indicatorTrack,p),l?(0,b.jsx)(r.t.div,{"aria-hidden":!0,"data-state":f?`visible`:`hidden`,"data-orientation":a.orientation,...i,ref:t,style:{position:`absolute`,...d?{left:0,width:l.size+`px`,transform:`translateX(${l.offset}px)`,"--radix-navigation-menu-indicator-translate-x":`${l.offset}px`}:{top:0,height:l.size+`px`,transform:`translateY(${l.offset}px)`,"--radix-navigation-menu-indicator-translate-y":`${l.offset}px`},...i.style}}):null},`NavigationMenuIndicatorImpl`)),L=`NavigationMenuContent`,me=v.forwardRef(C(function(e,t){let{forceMount:r,...i}=e,a=M(L,e.__scopeNavigationMenu),o=N(L,e.__scopeNavigationMenu),c=n.a(o.contentRef,t),l=o.value===a.value,d={value:o.value,triggerRef:o.triggerRef,focusProxyRef:o.focusProxyRef,wasEscapeCloseRef:o.wasEscapeCloseRef,onContentFocusOutside:o.onContentFocusOutside,onRootContentClose:o.onRootContentClose,...i};return a.viewport?(0,b.jsx)(he,{forceMount:r,...d,ref:c}):(0,b.jsx)(u.t,{present:r||l,children:(0,b.jsx)(z,{"data-state":J(l),...d,ref:c,onPointerEnter:s.t(e.onPointerEnter,a.onContentEnter),onPointerLeave:s.t(e.onPointerLeave,Z(a.onContentLeave)),style:{pointerEvents:!l&&a.isRootMenu?`none`:void 0,...d.style}})})},`NavigationMenuContent`)),he=v.forwardRef(C(function(e,t){let{onViewportContentChange:n,onViewportContentRemove:r}=M(L,e.__scopeNavigationMenu);return c.t(()=>{n(e.value,{ref:t,...e})},[e,t,n]),c.t(()=>()=>r(e.value),[e.value,r]),null},`ViewportContentMounter`)),R=`navigationMenu.rootContentDismiss`,z=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:r,value:i,triggerRef:a,focusProxyRef:o,wasEscapeCloseRef:c,onRootContentClose:l,onContentFocusOutside:u,...d}=e,f=M(L,r),p=v.useRef(null),h=n.a(p,t),g=Y(f.baseId,i),_=X(f.baseId,i),y=E(r),x=v.useRef(null),{onItemDismiss:S}=f;return v.useEffect(()=>{let e=p.current;if(f.isRootMenu&&e){let t=C(()=>{S(),l(),e.contains(document.activeElement)&&a.current?.focus()},`handleClose`);return e.addEventListener(R,t),()=>e.removeEventListener(R,t)}},[f.isRootMenu,e.value,a,S,l]),(0,b.jsx)(V,{asChild:!0,children:(0,b.jsx)(m.n,{id:_,"aria-labelledby":g,"data-motion":v.useMemo(()=>{let e=y().map(e=>e.value);f.dir===`rtl`&&e.reverse();let t=e.indexOf(f.value),n=e.indexOf(f.previousValue),r=i===f.value,a=n===e.indexOf(i);if(!r&&!a)return x.current;let o=(()=>{if(t!==n){if(r&&n!==-1)return t>n?`from-end`:`from-start`;if(a&&t!==-1)return t>n?`to-start`:`to-end`}return null})();return x.current=o,o},[f.previousValue,f.value,f.dir,y,i]),"data-orientation":f.orientation,...d,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(R,{bubbles:!0,cancelable:!0});p.current?.dispatchEvent(e)},onFocusOutside:s.t(e.onFocusOutside,e=>{u();let t=e.target;f.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:s.t(e.onPointerDownOutside,e=>{let t=e.target,n=y().some(e=>e.ref.current?.contains(t)),r=f.isRootMenu&&f.viewport?.contains(t);(n||r||!f.isRootMenu)&&e.preventDefault()}),onKeyDown:s.t(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!t){let t=W(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);G(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():o.current?.focus()}}),onEscapeKeyDown:s.t(e.onEscapeKeyDown,e=>{c.current=!0})})})},`NavigationMenuContentImpl`)),B=`NavigationMenuViewport`,ge=v.forwardRef(C(function(e,t){let{forceMount:n,...r}=e,i=!!M(B,e.__scopeNavigationMenu).value;return(0,b.jsx)(u.t,{present:n||i,children:(0,b.jsx)(_e,{...r,ref:t})})},`NavigationMenuViewport`)),_e=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:i,children:a,...o}=e,c=M(B,i),l=n.a(t,c.onViewportChange),d=re(L,e.__scopeNavigationMenu),[f,p]=v.useState(null),[m,h]=v.useState(null),g=f?f?.width+`px`:void 0,_=f?f?.height+`px`:void 0,y=!!c.value,x=y?c.value:c.previousValue;return q(m,C(()=>{m&&p({width:m.offsetWidth,height:m.offsetHeight})},`handleSizeChange`)),(0,b.jsx)(r.t.div,{"data-state":J(y),"data-orientation":c.orientation,...o,ref:l,style:{pointerEvents:!y&&c.isRootMenu?`none`:void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":_,...o.style},onPointerEnter:s.t(e.onPointerEnter,c.onContentEnter),onPointerLeave:s.t(e.onPointerLeave,Z(c.onContentLeave)),children:Array.from(d.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=x===e;return(0,b.jsx)(u.t,{present:n||i,children:(0,b.jsx)(ve,{...r,contentRef:t,isActive:i,onActiveContentChange:h})},e)})})},`NavigationMenuViewportImpl`)),ve=C(({contentRef:e,isActive:t,onActiveContentChange:r,...i})=>{let a=n.a(e,v.useCallback(e=>{t&&e&&r(e)},[t,r]));return(0,b.jsx)(z,{...i,ref:a})},`NavigationMenuViewportItem`),ye=`FocusGroup`,V=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,...i}=e,a=M(ye,n);return(0,b.jsx)(O.Provider,{scope:n,children:(0,b.jsx)(O.Slot,{scope:n,children:(0,b.jsx)(r.t.div,{dir:a.dir,...i,ref:t})})})},`FocusGroup`)),H=[`ArrowRight`,`ArrowLeft`,`ArrowUp`,`ArrowDown`],be=`FocusGroupItem`,U=v.forwardRef(C(function(e,t){let{__scopeNavigationMenu:n,...i}=e,a=k(n),o=M(be,n);return(0,b.jsx)(O.ItemSlot,{scope:n,children:(0,b.jsx)(r.t.button,{...i,ref:t,onKeyDown:s.t(e.onKeyDown,e=>{if([`Home`,`End`,...H].includes(e.key)){let t=a().map(e=>e.ref.current);if([o.dir===`rtl`?`ArrowRight`:`ArrowLeft`,`ArrowUp`,`End`].includes(e.key)&&t.reverse(),H.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>G(t)),e.preventDefault()}})})})},`FocusGroupItem`));function W(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:C(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}C(W,`getTabbableCandidates`);function G(e){let t=document.activeElement;return e.some(e=>e===t?!0:(e.focus(),document.activeElement!==t))}C(G,`focusFirst`);function K(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute(`tabindex`,t)})}}C(K,`removeFromTabOrder`);function q(e,t){let n=p.t(t);c.t(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}C(q,`useResizeObserver`);function J(e){return e?`open`:`closed`}C(J,`getOpenState`);function Y(e,t){return`${e}-trigger-${t}`}C(Y,`makeTriggerId`);function X(e,t){return`${e}-content-${t}`}C(X,`makeContentId`);function Z(e){return t=>t.pointerType===`mouse`?e(t):void 0}C(Z,`whenMouse`);var xe=ie,Se=se,Ce=le,we=ue,Te=de,Ee=fe,De=me,Oe=ge;function ke({className:e,children:n,viewport:r=!0,...i}){return(0,b.jsxs)(xe,{"data-slot":`navigation-menu`,"data-viewport":r,className:t.t(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,e),...i,children:[n,r&&(0,b.jsx)($,{})]})}function Ae({className:e,...n}){return(0,b.jsx)(Se,{"data-slot":`navigation-menu-list`,className:t.t(`group flex flex-1 list-none items-center justify-center gap-0`,e),...n})}function je({className:e,...n}){return(0,b.jsx)(Ce,{"data-slot":`navigation-menu-item`,className:t.t(`relative`,e),...n})}var Q=(0,x.cva)(`group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted`);function Me({className:e,children:n,...r}){return(0,b.jsxs)(we,{"data-slot":`navigation-menu-trigger`,className:t.t(Q(),`group`,e),...r,children:[n,` `,(0,b.jsx)(g.ChevronDownIcon,{className:`relative top-px ms-1 size-3 transition duration-300 group-data-open/navigation-menu-trigger:rotate-180 group-data-popup-open/navigation-menu-trigger:rotate-180`,"aria-hidden":`true`})]})}function Ne({className:e,...n}){return(0,b.jsx)(De,{"data-slot":`navigation-menu-content`,className:t.t(`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:ring-foreground/10 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 start-0 top-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto`,e),...n})}function $({className:e,...n}){return(0,b.jsx)(`div`,{className:t.t(`absolute start-0 top-full isolate z-50 flex justify-center`),children:(0,b.jsx)(Oe,{"data-slot":`navigation-menu-viewport`,className:t.t(`origin-top-center bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90 relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-lg shadow ring-1 duration-100 md:w-(--radix-navigation-menu-viewport-width)`,e),...n})})}function Pe({className:e,...n}){return(0,b.jsx)(Te,{"data-slot":`navigation-menu-link`,className:t.t(`hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md [&_svg:not([class*='size-'])]:size-4`,e),...n})}function Fe({className:e,...n}){return(0,b.jsx)(Ee,{"data-slot":`navigation-menu-indicator`,className:t.t(`data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in top-full z-1 flex h-1.5 items-end justify-center overflow-hidden`,e),...n,children:(0,b.jsx)(`div`,{className:`bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-ss-sm shadow-md`})})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ke}});
|
package/dist/navigation-menu.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./navigation-menu-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./navigation-menu-CrR01R8Z.js");exports.NavigationMenu=e.t,exports.NavigationMenuContent=e.n,exports.NavigationMenuIndicator=e.r,exports.NavigationMenuItem=e.i,exports.NavigationMenuLink=e.a,exports.NavigationMenuList=e.o,exports.NavigationMenuTrigger=e.s,exports.NavigationMenuViewport=e.c,exports.navigationMenuTriggerStyle=e.l;
|