@hexclave/ui 1.0.40 → 1.0.42
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-1LxYtcF-.d.ts +17 -0
- package/dist/accordion-1LxYtcF-.d.ts.map +1 -0
- package/dist/action-dialog-DjRuope_.d.ts +32 -0
- package/dist/action-dialog-DjRuope_.d.ts.map +1 -0
- package/dist/alert-BQa8jVOm.d.ts +18 -0
- package/dist/alert-BQa8jVOm.d.ts.map +1 -0
- package/dist/aspect-ratio-CwMSZ5Lk.d.ts +7 -0
- package/dist/aspect-ratio-CwMSZ5Lk.d.ts.map +1 -0
- package/dist/avatar-COsl9aaA.d.ts +16 -0
- package/dist/avatar-COsl9aaA.d.ts.map +1 -0
- package/dist/badge-B0KrSxYn.d.ts +16 -0
- package/dist/badge-B0KrSxYn.d.ts.map +1 -0
- package/dist/brand-icons-Bjvj9pgI.d.ts +75 -0
- package/dist/brand-icons-Bjvj9pgI.d.ts.map +1 -0
- package/dist/breadcrumb-xoLPVWeD.d.ts +40 -0
- package/dist/breadcrumb-xoLPVWeD.d.ts.map +1 -0
- package/dist/button-DqvToJ0R.d.ts +31 -0
- package/dist/button-DqvToJ0R.d.ts.map +1 -0
- package/dist/calendar-Cm6dI-sl.d.ts +17 -0
- package/dist/calendar-Cm6dI-sl.d.ts.map +1 -0
- package/dist/card-zNadDkms.d.ts +25 -0
- package/dist/card-zNadDkms.d.ts.map +1 -0
- package/dist/cells-C2kaNfav.d.ts +34 -0
- package/dist/cells-C2kaNfav.d.ts.map +1 -0
- package/dist/checkbox-CZveCMkD.d.ts +10 -0
- package/dist/checkbox-CZveCMkD.d.ts.map +1 -0
- package/dist/collapsible-BGCYUDWQ.d.ts +9 -0
- package/dist/collapsible-BGCYUDWQ.d.ts.map +1 -0
- package/dist/column-header-U53XE9Tp.d.ts +15 -0
- package/dist/column-header-U53XE9Tp.d.ts.map +1 -0
- package/dist/command-Cyfe0FJ4.d.ts +27 -0
- package/dist/command-Cyfe0FJ4.d.ts.map +1 -0
- package/dist/components/action-dialog.d.ts +2 -33
- package/dist/components/action-dialog.js +5 -7
- package/dist/components/action-dialog.js.map +1 -1
- package/dist/components/brand-icons.d.ts +2 -78
- package/dist/components/brand-icons.js +3 -5
- package/dist/components/brand-icons.js.map +1 -1
- package/dist/components/browser-frame/index.d.ts +2 -21
- package/dist/components/browser-frame/index.js +4 -5
- package/dist/components/browser-frame/index.js.map +1 -1
- package/dist/components/copy-button.d.ts +2 -22
- package/dist/components/copy-button.js +5 -8
- package/dist/components/copy-button.js.map +1 -1
- package/dist/components/copy-field.d.ts +2 -18
- package/dist/components/copy-field.js +2 -4
- package/dist/components/copy-field.js.map +1 -1
- package/dist/components/data-table/cells.d.ts +2 -35
- package/dist/components/data-table/cells.js +5 -7
- package/dist/components/data-table/cells.js.map +1 -1
- package/dist/components/data-table/column-header.d.ts +2 -16
- package/dist/components/data-table/column-header.js +2 -4
- package/dist/components/data-table/column-header.js.map +1 -1
- package/dist/components/data-table/data-table.d.ts +2 -59
- package/dist/components/data-table/data-table.js +4 -6
- package/dist/components/data-table/data-table.js.map +1 -1
- package/dist/components/data-table/faceted-filter.d.ts +2 -24
- package/dist/components/data-table/faceted-filter.js +4 -5
- package/dist/components/data-table/faceted-filter.js.map +1 -1
- package/dist/components/data-table/index.d.ts +9 -9
- package/dist/components/data-table/index.js +63 -55
- package/dist/components/data-table/pagination.d.ts +2 -13
- package/dist/components/data-table/pagination.js +2 -4
- package/dist/components/data-table/pagination.js.map +1 -1
- package/dist/components/data-table/toolbar-items.d.ts +2 -13
- package/dist/components/data-table/toolbar-items.js +2 -4
- package/dist/components/data-table/toolbar-items.js.map +1 -1
- package/dist/components/data-table/toolbar.d.ts +2 -23
- package/dist/components/data-table/toolbar.js +2 -5
- package/dist/components/data-table/toolbar.js.map +1 -1
- package/dist/components/data-table/utils.d.ts +2 -6
- package/dist/components/data-table/utils.js +2 -3
- package/dist/components/data-table/utils.js.map +1 -1
- package/dist/components/data-table/view-options.d.ts +2 -19
- package/dist/components/data-table/view-options.js +2 -5
- package/dist/components/data-table/view-options.js.map +1 -1
- package/dist/components/simple-tooltip.d.ts +2 -14
- package/dist/components/simple-tooltip.js +2 -4
- package/dist/components/simple-tooltip.js.map +1 -1
- package/dist/components/ui/accordion.d.ts +2 -17
- package/dist/components/ui/accordion.js +5 -7
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/alert.d.ts +2 -19
- package/dist/components/ui/alert.js +5 -7
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/aspect-ratio.d.ts +2 -8
- package/dist/components/ui/aspect-ratio.js +4 -6
- package/dist/components/ui/aspect-ratio.js.map +1 -1
- package/dist/components/ui/avatar.d.ts +2 -16
- package/dist/components/ui/avatar.js +5 -7
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.d.ts +2 -17
- package/dist/components/ui/badge.js +5 -7
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +2 -41
- package/dist/components/ui/breadcrumb.js +4 -5
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button.d.ts +2 -32
- package/dist/components/ui/button.js +4 -5
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/calendar.d.ts +2 -18
- package/dist/components/ui/calendar.js +4 -6
- package/dist/components/ui/calendar.js.map +1 -1
- package/dist/components/ui/card.d.ts +2 -27
- package/dist/components/ui/card.js +2 -4
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.d.ts +2 -10
- package/dist/components/ui/checkbox.js +5 -7
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/collapsible.d.ts +2 -10
- package/dist/components/ui/collapsible.js +4 -6
- package/dist/components/ui/collapsible.js.map +1 -1
- package/dist/components/ui/command.d.ts +2 -28
- package/dist/components/ui/command.js +4 -6
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +2 -51
- package/dist/components/ui/context-menu.js +5 -7
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +2 -45
- package/dist/components/ui/dialog.js +5 -7
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +2 -54
- package/dist/components/ui/dropdown-menu.js +5 -7
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/form.d.ts +2 -42
- package/dist/components/ui/form.js +5 -7
- package/dist/components/ui/form.js.map +1 -1
- package/dist/components/ui/hover-card.d.ts +2 -12
- package/dist/components/ui/hover-card.js +5 -7
- package/dist/components/ui/hover-card.js.map +1 -1
- package/dist/components/ui/inline-code.d.ts +2 -9
- package/dist/components/ui/inline-code.js +4 -6
- package/dist/components/ui/inline-code.js.map +1 -1
- package/dist/components/ui/input-otp.d.ts +2 -20
- package/dist/components/ui/input-otp.js +4 -6
- package/dist/components/ui/input-otp.js.map +1 -1
- package/dist/components/ui/input.d.ts +2 -24
- package/dist/components/ui/input.js +4 -5
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.d.ts +2 -15
- package/dist/components/ui/label.js +5 -7
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/menubar.d.ts +2 -38
- package/dist/components/ui/menubar.js +5 -7
- package/dist/components/ui/menubar.js.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +2 -29
- package/dist/components/ui/navigation-menu.js +5 -7
- package/dist/components/ui/navigation-menu.js.map +1 -1
- package/dist/components/ui/password-input.d.ts +2 -11
- package/dist/components/ui/password-input.js +2 -5
- package/dist/components/ui/password-input.js.map +1 -1
- package/dist/components/ui/popover.d.ts +2 -13
- package/dist/components/ui/popover.js +5 -7
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.d.ts +2 -10
- package/dist/components/ui/progress.js +5 -7
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/radio-group.d.ts +2 -13
- package/dist/components/ui/radio-group.js +5 -7
- package/dist/components/ui/radio-group.js.map +1 -1
- package/dist/components/ui/resizable.d.ts +2 -36
- package/dist/components/ui/resizable.js +4 -6
- package/dist/components/ui/resizable.js.map +1 -1
- package/dist/components/ui/scroll-area.d.ts +2 -13
- package/dist/components/ui/scroll-area.js +5 -7
- package/dist/components/ui/scroll-area.js.map +1 -1
- package/dist/components/ui/select.d.ts +2 -33
- package/dist/components/ui/select.js +5 -7
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/separator.d.ts +2 -10
- package/dist/components/ui/separator.js +5 -7
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/sheet.d.ts +2 -44
- package/dist/components/ui/sheet.js +5 -7
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/components/ui/skeleton.d.ts +2 -12
- package/dist/components/ui/skeleton.js +4 -6
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/slider.d.ts +2 -10
- package/dist/components/ui/slider.js +5 -7
- package/dist/components/ui/slider.js.map +1 -1
- package/dist/components/ui/spinner.d.ts +2 -11
- package/dist/components/ui/spinner.js +4 -5
- package/dist/components/ui/spinner.js.map +1 -1
- package/dist/components/ui/switch.d.ts +2 -14
- package/dist/components/ui/switch.js +5 -7
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/table.d.ts +2 -30
- package/dist/components/ui/table.js +4 -5
- package/dist/components/ui/table.js.map +1 -1
- package/dist/components/ui/tabs.d.ts +2 -17
- package/dist/components/ui/tabs.js +5 -7
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/textarea.d.ts +2 -10
- package/dist/components/ui/textarea.js +4 -5
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/toast.d.ts +2 -32
- package/dist/components/ui/toast.js +6 -8
- package/dist/components/ui/toast.js.map +1 -1
- package/dist/components/ui/toaster.d.ts +2 -7
- package/dist/components/ui/toaster.js +2 -5
- package/dist/components/ui/toaster.js.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -21
- package/dist/components/ui/toggle-group.js +5 -7
- package/dist/components/ui/toggle-group.js.map +1 -1
- package/dist/components/ui/toggle.d.ts +2 -3
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/toggle.js +5 -7
- package/dist/components/ui/toggle.js.map +1 -1
- package/dist/components/ui/tooltip.d.ts +2 -16
- package/dist/components/ui/tooltip.js +5 -7
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/components/ui/typography.d.ts +2 -14
- package/dist/components/ui/typography.js +5 -7
- package/dist/components/ui/typography.js.map +1 -1
- package/dist/components/ui/use-toast.d.ts +2 -50
- package/dist/components/ui/use-toast.js +4 -6
- package/dist/components/ui/use-toast.js.map +1 -1
- package/dist/context-menu-D5-FvPFJ.d.ts +50 -0
- package/dist/context-menu-D5-FvPFJ.d.ts.map +1 -0
- package/dist/copy-button-ClCNLwvl.d.ts +20 -0
- package/dist/copy-button-ClCNLwvl.d.ts.map +1 -0
- package/dist/copy-field-Cf7eTpio.d.ts +16 -0
- package/dist/copy-field-Cf7eTpio.d.ts.map +1 -0
- package/dist/data-table-xbTf50By.d.ts +58 -0
- package/dist/data-table-xbTf50By.d.ts.map +1 -0
- package/dist/dialog-Dple6cLo.d.ts +44 -0
- package/dist/dialog-Dple6cLo.d.ts.map +1 -0
- package/dist/dropdown-menu-T3VfUZNR.d.ts +53 -0
- package/dist/dropdown-menu-T3VfUZNR.d.ts.map +1 -0
- package/dist/esm/components/action-dialog.d.ts +2 -3
- package/dist/esm/components/action-dialog.d.ts.map +1 -1
- package/dist/esm/components/action-dialog.js +2 -4
- package/dist/esm/components/action-dialog.js.map +1 -1
- package/dist/esm/components/brand-icons.d.ts +13 -15
- package/dist/esm/components/brand-icons.d.ts.map +1 -1
- package/dist/esm/components/brand-icons.js +2 -3
- package/dist/esm/components/brand-icons.js.map +1 -1
- package/dist/esm/components/browser-frame/index.d.ts +1 -2
- package/dist/esm/components/browser-frame/index.d.ts.map +1 -1
- package/dist/esm/components/browser-frame/index.js +2 -3
- package/dist/esm/components/browser-frame/index.js.map +1 -1
- package/dist/esm/components/copy-button.d.ts +3 -5
- package/dist/esm/components/copy-button.d.ts.map +1 -1
- package/dist/esm/components/copy-button.js +2 -4
- package/dist/esm/components/copy-button.js.map +1 -1
- package/dist/esm/components/copy-field.d.ts +1 -3
- package/dist/esm/components/copy-field.d.ts.map +1 -1
- package/dist/esm/components/copy-field.js +1 -2
- package/dist/esm/components/copy-field.js.map +1 -1
- package/dist/esm/components/data-table/cells.d.ts +5 -6
- package/dist/esm/components/data-table/cells.d.ts.map +1 -1
- package/dist/esm/components/data-table/cells.js +2 -4
- package/dist/esm/components/data-table/cells.js.map +1 -1
- package/dist/esm/components/data-table/column-header.d.ts +1 -2
- package/dist/esm/components/data-table/column-header.d.ts.map +1 -1
- package/dist/esm/components/data-table/column-header.js +1 -2
- package/dist/esm/components/data-table/column-header.js.map +1 -1
- package/dist/esm/components/data-table/data-table.d.ts +3 -4
- package/dist/esm/components/data-table/data-table.d.ts.map +1 -1
- package/dist/esm/components/data-table/data-table.js +1 -3
- package/dist/esm/components/data-table/data-table.js.map +1 -1
- package/dist/esm/components/data-table/faceted-filter.d.ts +1 -2
- package/dist/esm/components/data-table/faceted-filter.d.ts.map +1 -1
- package/dist/esm/components/data-table/faceted-filter.js +2 -3
- package/dist/esm/components/data-table/faceted-filter.js.map +1 -1
- package/dist/esm/components/data-table/index.d.ts +9 -9
- package/dist/esm/components/data-table/index.js +10 -19
- package/dist/esm/components/data-table/pagination.d.ts +1 -2
- package/dist/esm/components/data-table/pagination.d.ts.map +1 -1
- package/dist/esm/components/data-table/pagination.js +1 -2
- package/dist/esm/components/data-table/pagination.js.map +1 -1
- package/dist/esm/components/data-table/toolbar-items.d.ts +1 -2
- package/dist/esm/components/data-table/toolbar-items.d.ts.map +1 -1
- package/dist/esm/components/data-table/toolbar-items.js +1 -2
- package/dist/esm/components/data-table/toolbar-items.js.map +1 -1
- package/dist/esm/components/data-table/toolbar.d.ts +1 -2
- package/dist/esm/components/data-table/toolbar.d.ts.map +1 -1
- package/dist/esm/components/data-table/toolbar.js +1 -3
- package/dist/esm/components/data-table/toolbar.js.map +1 -1
- package/dist/esm/components/data-table/utils.js +1 -1
- package/dist/esm/components/data-table/utils.js.map +1 -1
- package/dist/esm/components/data-table/view-options.d.ts +1 -2
- package/dist/esm/components/data-table/view-options.d.ts.map +1 -1
- package/dist/esm/components/data-table/view-options.js +1 -3
- package/dist/esm/components/data-table/view-options.js.map +1 -1
- package/dist/esm/components/simple-tooltip.d.ts +1 -3
- package/dist/esm/components/simple-tooltip.d.ts.map +1 -1
- package/dist/esm/components/simple-tooltip.js +1 -2
- package/dist/esm/components/simple-tooltip.js.map +1 -1
- package/dist/esm/components/ui/accordion.js +2 -4
- package/dist/esm/components/ui/accordion.js.map +1 -1
- package/dist/esm/components/ui/alert.d.ts +1 -2
- package/dist/esm/components/ui/alert.d.ts.map +1 -1
- package/dist/esm/components/ui/alert.js +2 -3
- package/dist/esm/components/ui/alert.js.map +1 -1
- package/dist/esm/components/ui/aspect-ratio.d.ts +1 -2
- package/dist/esm/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/esm/components/ui/aspect-ratio.js +1 -3
- package/dist/esm/components/ui/aspect-ratio.js.map +1 -1
- package/dist/esm/components/ui/avatar.js +2 -4
- package/dist/esm/components/ui/avatar.js.map +1 -1
- package/dist/esm/components/ui/badge.d.ts +2 -3
- package/dist/esm/components/ui/badge.d.ts.map +1 -1
- package/dist/esm/components/ui/badge.js +2 -3
- package/dist/esm/components/ui/badge.js.map +1 -1
- package/dist/esm/components/ui/breadcrumb.d.ts +2 -3
- package/dist/esm/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/esm/components/ui/breadcrumb.js +2 -3
- package/dist/esm/components/ui/breadcrumb.js.map +1 -1
- package/dist/esm/components/ui/button.d.ts +4 -5
- package/dist/esm/components/ui/button.d.ts.map +1 -1
- package/dist/esm/components/ui/button.js +2 -3
- package/dist/esm/components/ui/button.js.map +1 -1
- package/dist/esm/components/ui/calendar.d.ts +1 -2
- package/dist/esm/components/ui/calendar.d.ts.map +1 -1
- package/dist/esm/components/ui/calendar.js +2 -4
- package/dist/esm/components/ui/calendar.js.map +1 -1
- package/dist/esm/components/ui/card.d.ts +14 -16
- package/dist/esm/components/ui/card.d.ts.map +1 -1
- package/dist/esm/components/ui/card.js +1 -2
- package/dist/esm/components/ui/card.js.map +1 -1
- package/dist/esm/components/ui/checkbox.js +2 -4
- package/dist/esm/components/ui/checkbox.js.map +1 -1
- package/dist/esm/components/ui/collapsible.d.ts +3 -4
- package/dist/esm/components/ui/collapsible.d.ts.map +1 -1
- package/dist/esm/components/ui/collapsible.js +1 -3
- package/dist/esm/components/ui/collapsible.js.map +1 -1
- package/dist/esm/components/ui/command.d.ts +2 -3
- package/dist/esm/components/ui/command.d.ts.map +1 -1
- package/dist/esm/components/ui/command.js +2 -4
- package/dist/esm/components/ui/command.js.map +1 -1
- package/dist/esm/components/ui/context-menu.d.ts +1 -2
- package/dist/esm/components/ui/context-menu.d.ts.map +1 -1
- package/dist/esm/components/ui/context-menu.js +2 -4
- package/dist/esm/components/ui/context-menu.js.map +1 -1
- package/dist/esm/components/ui/dialog.d.ts +3 -4
- package/dist/esm/components/ui/dialog.d.ts.map +1 -1
- package/dist/esm/components/ui/dialog.js +2 -4
- package/dist/esm/components/ui/dialog.js.map +1 -1
- package/dist/esm/components/ui/dropdown-menu.d.ts +1 -2
- package/dist/esm/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/esm/components/ui/dropdown-menu.js +1 -3
- package/dist/esm/components/ui/dropdown-menu.js.map +1 -1
- package/dist/esm/components/ui/form.d.ts +4 -7
- package/dist/esm/components/ui/form.d.ts.map +1 -1
- package/dist/esm/components/ui/form.js +2 -4
- package/dist/esm/components/ui/form.js.map +1 -1
- package/dist/esm/components/ui/hover-card.js +2 -4
- package/dist/esm/components/ui/hover-card.js.map +1 -1
- package/dist/esm/components/ui/inline-code.js +2 -4
- package/dist/esm/components/ui/inline-code.js.map +1 -1
- package/dist/esm/components/ui/input-otp.js +1 -3
- package/dist/esm/components/ui/input-otp.js.map +1 -1
- package/dist/esm/components/ui/input.d.ts.map +1 -1
- package/dist/esm/components/ui/input.js +1 -2
- package/dist/esm/components/ui/input.js.map +1 -1
- package/dist/esm/components/ui/label.d.ts +2 -3
- package/dist/esm/components/ui/label.d.ts.map +1 -1
- package/dist/esm/components/ui/label.js +2 -4
- package/dist/esm/components/ui/label.js.map +1 -1
- package/dist/esm/components/ui/menubar.d.ts +1 -2
- package/dist/esm/components/ui/menubar.d.ts.map +1 -1
- package/dist/esm/components/ui/menubar.js +1 -3
- package/dist/esm/components/ui/menubar.js.map +1 -1
- package/dist/esm/components/ui/navigation-menu.d.ts +1 -2
- package/dist/esm/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/esm/components/ui/navigation-menu.js +2 -4
- package/dist/esm/components/ui/navigation-menu.js.map +1 -1
- package/dist/esm/components/ui/password-input.d.ts +3 -5
- package/dist/esm/components/ui/password-input.d.ts.map +1 -1
- package/dist/esm/components/ui/password-input.js +1 -3
- package/dist/esm/components/ui/password-input.js.map +1 -1
- package/dist/esm/components/ui/popover.js +2 -4
- package/dist/esm/components/ui/popover.js.map +1 -1
- package/dist/esm/components/ui/progress.js +2 -4
- package/dist/esm/components/ui/progress.js.map +1 -1
- package/dist/esm/components/ui/radio-group.js +2 -4
- package/dist/esm/components/ui/radio-group.js.map +1 -1
- package/dist/esm/components/ui/resizable.d.ts +5 -7
- package/dist/esm/components/ui/resizable.d.ts.map +1 -1
- package/dist/esm/components/ui/resizable.js +1 -3
- package/dist/esm/components/ui/resizable.js.map +1 -1
- package/dist/esm/components/ui/scroll-area.js +2 -4
- package/dist/esm/components/ui/scroll-area.js.map +1 -1
- package/dist/esm/components/ui/select.js +2 -4
- package/dist/esm/components/ui/select.js.map +1 -1
- package/dist/esm/components/ui/separator.js +2 -4
- package/dist/esm/components/ui/separator.js.map +1 -1
- package/dist/esm/components/ui/sheet.d.ts +3 -5
- package/dist/esm/components/ui/sheet.d.ts.map +1 -1
- package/dist/esm/components/ui/sheet.js +2 -4
- package/dist/esm/components/ui/sheet.js.map +1 -1
- package/dist/esm/components/ui/skeleton.d.ts +1 -2
- package/dist/esm/components/ui/skeleton.d.ts.map +1 -1
- package/dist/esm/components/ui/skeleton.js +2 -4
- package/dist/esm/components/ui/skeleton.js.map +1 -1
- package/dist/esm/components/ui/slider.js +2 -4
- package/dist/esm/components/ui/slider.js.map +1 -1
- package/dist/esm/components/ui/spinner.js +2 -3
- package/dist/esm/components/ui/spinner.js.map +1 -1
- package/dist/esm/components/ui/switch.js +2 -4
- package/dist/esm/components/ui/switch.js.map +1 -1
- package/dist/esm/components/ui/table.js +2 -3
- package/dist/esm/components/ui/table.js.map +1 -1
- package/dist/esm/components/ui/tabs.js +2 -4
- package/dist/esm/components/ui/tabs.js.map +1 -1
- package/dist/esm/components/ui/textarea.d.ts.map +1 -1
- package/dist/esm/components/ui/textarea.js +2 -3
- package/dist/esm/components/ui/textarea.js.map +1 -1
- package/dist/esm/components/ui/toast.d.ts +1 -2
- package/dist/esm/components/ui/toast.d.ts.map +1 -1
- package/dist/esm/components/ui/toast.js +3 -5
- package/dist/esm/components/ui/toast.js.map +1 -1
- package/dist/esm/components/ui/toaster.d.ts +1 -3
- package/dist/esm/components/ui/toaster.d.ts.map +1 -1
- package/dist/esm/components/ui/toaster.js +1 -3
- package/dist/esm/components/ui/toaster.js.map +1 -1
- package/dist/esm/components/ui/toggle-group.d.ts +2 -3
- package/dist/esm/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/esm/components/ui/toggle-group.js +1 -3
- package/dist/esm/components/ui/toggle-group.js.map +1 -1
- package/dist/esm/components/ui/toggle.d.ts +2 -3
- package/dist/esm/components/ui/toggle.d.ts.map +1 -1
- package/dist/esm/components/ui/toggle.js +2 -4
- package/dist/esm/components/ui/toggle.js.map +1 -1
- package/dist/esm/components/ui/tooltip.js +2 -4
- package/dist/esm/components/ui/tooltip.js.map +1 -1
- package/dist/esm/components/ui/typography.d.ts +2 -3
- package/dist/esm/components/ui/typography.d.ts.map +1 -1
- package/dist/esm/components/ui/typography.js +2 -3
- package/dist/esm/components/ui/typography.js.map +1 -1
- package/dist/esm/components/ui/use-toast.d.ts +3 -3
- package/dist/esm/components/ui/use-toast.d.ts.map +1 -1
- package/dist/esm/components/ui/use-toast.js +1 -3
- package/dist/esm/components/ui/use-toast.js.map +1 -1
- package/dist/esm/index.d.ts +53 -53
- package/dist/esm/index.js +52 -104
- package/dist/esm/lib/utils.d.ts.map +1 -1
- package/dist/esm/lib/utils.js +1 -2
- package/dist/esm/lib/utils.js.map +1 -1
- package/dist/faceted-filter-D7lzC-jQ.d.ts +23 -0
- package/dist/faceted-filter-D7lzC-jQ.d.ts.map +1 -0
- package/dist/form-tbb6TTzR.d.ts +39 -0
- package/dist/form-tbb6TTzR.d.ts.map +1 -0
- package/dist/hover-card-Db1Z51JY.d.ts +12 -0
- package/dist/hover-card-Db1Z51JY.d.ts.map +1 -0
- package/dist/index-BVVgDSdq.d.ts +1 -0
- package/dist/index-CExKVq1L.d.ts +20 -0
- package/dist/index-CExKVq1L.d.ts.map +1 -0
- package/dist/index.d.ts +62 -62
- package/dist/index.js +371 -320
- package/dist/inline-code-AXm9EHRp.d.ts +9 -0
- package/dist/inline-code-AXm9EHRp.d.ts.map +1 -0
- package/dist/input-D57fCXWj.d.ts +24 -0
- package/dist/input-D57fCXWj.d.ts.map +1 -0
- package/dist/input-otp-DQyimdZZ.d.ts +20 -0
- package/dist/input-otp-DQyimdZZ.d.ts.map +1 -0
- package/dist/label-D1hxJj6E.d.ts +14 -0
- package/dist/label-D1hxJj6E.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +2 -7
- package/dist/lib/utils.js +2 -4
- package/dist/lib/utils.js.map +1 -1
- package/dist/menubar-C4IR0XyE.d.ts +37 -0
- package/dist/menubar-C4IR0XyE.d.ts.map +1 -0
- package/dist/navigation-menu-B0mRDLJl.d.ts +28 -0
- package/dist/navigation-menu-B0mRDLJl.d.ts.map +1 -0
- package/dist/pagination-CM_S9U09.d.ts +12 -0
- package/dist/pagination-CM_S9U09.d.ts.map +1 -0
- package/dist/password-input-dDKI5XMl.d.ts +9 -0
- package/dist/password-input-dDKI5XMl.d.ts.map +1 -0
- package/dist/popover-f6eyU589.d.ts +13 -0
- package/dist/popover-f6eyU589.d.ts.map +1 -0
- package/dist/progress-CA-6BN6M.d.ts +10 -0
- package/dist/progress-CA-6BN6M.d.ts.map +1 -0
- package/dist/radio-group-DVGseXHe.d.ts +13 -0
- package/dist/radio-group-DVGseXHe.d.ts.map +1 -0
- package/dist/resizable-s9cEwmcP.d.ts +34 -0
- package/dist/resizable-s9cEwmcP.d.ts.map +1 -0
- package/dist/{chunk-BE-pF4vm.js → rolldown-runtime-D6vf50IK.js} +12 -18
- package/dist/scroll-area-4m-KlrLi.d.ts +13 -0
- package/dist/scroll-area-4m-KlrLi.d.ts.map +1 -0
- package/dist/select-CjuKJZCz.d.ts +33 -0
- package/dist/select-CjuKJZCz.d.ts.map +1 -0
- package/dist/separator-Cjk8CDfK.d.ts +10 -0
- package/dist/separator-Cjk8CDfK.d.ts.map +1 -0
- package/dist/sheet-zQxyw3Gk.d.ts +42 -0
- package/dist/sheet-zQxyw3Gk.d.ts.map +1 -0
- package/dist/simple-tooltip-DUT6gJoc.d.ts +12 -0
- package/dist/simple-tooltip-DUT6gJoc.d.ts.map +1 -0
- package/dist/skeleton-Cyj6UxcU.d.ts +11 -0
- package/dist/skeleton-Cyj6UxcU.d.ts.map +1 -0
- package/dist/slider-D8BSwczz.d.ts +10 -0
- package/dist/slider-D8BSwczz.d.ts.map +1 -0
- package/dist/spinner-BV3t_oJC.d.ts +11 -0
- package/dist/spinner-BV3t_oJC.d.ts.map +1 -0
- package/dist/switch-D58EsVj5.d.ts +14 -0
- package/dist/switch-D58EsVj5.d.ts.map +1 -0
- package/dist/table-CN5qY3kG.d.ts +30 -0
- package/dist/table-CN5qY3kG.d.ts.map +1 -0
- package/dist/tabs-DLqjVLtJ.d.ts +17 -0
- package/dist/tabs-DLqjVLtJ.d.ts.map +1 -0
- package/dist/textarea-BbfG-NR-.d.ts +10 -0
- package/dist/textarea-BbfG-NR-.d.ts.map +1 -0
- package/dist/toast-CYNoBddH.d.ts +31 -0
- package/dist/toast-CYNoBddH.d.ts.map +1 -0
- package/dist/toaster-D1hq_EiX.d.ts +5 -0
- package/dist/toaster-D1hq_EiX.d.ts.map +1 -0
- package/dist/toggle-group-DViDiVTV.d.ts +20 -0
- package/dist/toggle-group-DViDiVTV.d.ts.map +1 -0
- package/dist/toolbar-HaHcbLXl.d.ts +22 -0
- package/dist/toolbar-HaHcbLXl.d.ts.map +1 -0
- package/dist/toolbar-items-C7xWp9cs.d.ts +12 -0
- package/dist/toolbar-items-C7xWp9cs.d.ts.map +1 -0
- package/dist/tooltip-Earz1C6g.d.ts +16 -0
- package/dist/tooltip-Earz1C6g.d.ts.map +1 -0
- package/dist/typography-DCVZg-AC.d.ts +13 -0
- package/dist/typography-DCVZg-AC.d.ts.map +1 -0
- package/dist/use-toast-vZWO0yi1.d.ts +50 -0
- package/dist/use-toast-vZWO0yi1.d.ts.map +1 -0
- package/dist/utils-BVWSvBld.d.ts +7 -0
- package/dist/utils-BVWSvBld.d.ts.map +1 -0
- package/dist/utils-f0RNcD81.d.ts +6 -0
- package/dist/utils-f0RNcD81.d.ts.map +1 -0
- package/dist/view-options-drlEs3Xp.d.ts +18 -0
- package/dist/view-options-drlEs3Xp.d.ts.map +1 -0
- package/package.json +2 -5
- package/dist/components/action-dialog.d.ts.map +0 -1
- package/dist/components/brand-icons.d.ts.map +0 -1
- package/dist/components/browser-frame/index.d.ts.map +0 -1
- package/dist/components/copy-button.d.ts.map +0 -1
- package/dist/components/copy-field.d.ts.map +0 -1
- package/dist/components/data-table/cells.d.ts.map +0 -1
- package/dist/components/data-table/column-header.d.ts.map +0 -1
- package/dist/components/data-table/data-table.d.ts.map +0 -1
- package/dist/components/data-table/faceted-filter.d.ts.map +0 -1
- package/dist/components/data-table/pagination.d.ts.map +0 -1
- package/dist/components/data-table/toolbar-items.d.ts.map +0 -1
- package/dist/components/data-table/toolbar.d.ts.map +0 -1
- package/dist/components/data-table/utils.d.ts.map +0 -1
- package/dist/components/data-table/view-options.d.ts.map +0 -1
- package/dist/components/simple-tooltip.d.ts.map +0 -1
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/avatar.d.ts.map +0 -1
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/context-menu.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/form.d.ts.map +0 -1
- package/dist/components/ui/hover-card.d.ts.map +0 -1
- package/dist/components/ui/inline-code.d.ts.map +0 -1
- package/dist/components/ui/input-otp.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/menubar.d.ts.map +0 -1
- package/dist/components/ui/navigation-menu.d.ts.map +0 -1
- package/dist/components/ui/password-input.d.ts.map +0 -1
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/resizable.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/sheet.d.ts.map +0 -1
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/spinner.d.ts.map +0 -1
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/table.d.ts.map +0 -1
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/typography.d.ts.map +0 -1
- package/dist/components/ui/use-toast.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let _radix_ui_react_icons = require("@radix-ui/react-icons");
|
|
10
9
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
11
10
|
let input_otp = require("input-otp");
|
|
12
|
-
|
|
13
11
|
//#region src/components/ui/input-otp.tsx
|
|
14
12
|
const InputOTP = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(input_otp.OTPInput, {
|
|
15
13
|
ref,
|
|
@@ -44,10 +42,10 @@ const InputOTPSeparator = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeed
|
|
|
44
42
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_icons.DashIcon, {})
|
|
45
43
|
}));
|
|
46
44
|
InputOTPSeparator.displayName = "InputOTPSeparator";
|
|
47
|
-
|
|
48
45
|
//#endregion
|
|
49
46
|
exports.InputOTP = InputOTP;
|
|
50
47
|
exports.InputOTPGroup = InputOTPGroup;
|
|
51
48
|
exports.InputOTPSeparator = InputOTPSeparator;
|
|
52
49
|
exports.InputOTPSlot = InputOTPSlot;
|
|
50
|
+
|
|
53
51
|
//# sourceMappingURL=input-otp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-otp.js","names":["OTPInput","React","OTPInputContext","DashIcon"],"sources":["../../../src/components/ui/input-otp.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { DashIcon } from \"@radix-ui/react-icons\";\nimport { OTPInput, OTPInputContext } from \"input-otp\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst InputOTP: React.FC<React.ComponentPropsWithoutRef<typeof OTPInput>> = forwardRefIfNeeded<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n \"stack-scope flex items-center gap-2 has-[:disabled]:opacity-50\",\n containerClassName\n )}\n className={cn(\"disabled:cursor-not-allowed\", className)}\n {...props}\n />\n));\nInputOTP.displayName = \"InputOTP\";\n\nconst InputOTPGroup = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex items-center gap-1\", className)} {...props} />\n));\nInputOTPGroup.displayName = \"InputOTPGroup\";\n\nconst InputOTPSlot = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\"> & { index: number, size?: 'default' | 'lg' }\n>(({ index, className, size = 'default', ...props }, ref) => {\n const inputOTPContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];\n\n return (\n <div\n ref={ref}\n className={cn(\n \"relative flex h-9 w-9 items-center justify-center border border-input text-sm rounded-md\",\n size === 'lg' ? 'h-10 w-10 text-lg font-medium' : '',\n isActive && \"z-10 ring-1 ring-ring\",\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\" />\n </div>\n )}\n </div>\n );\n});\nInputOTPSlot.displayName = \"InputOTPSlot\";\n\nconst InputOTPSeparator = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <DashIcon />\n </div>\n));\nInputOTPSeparator.displayName = \"InputOTPSeparator\";\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-otp.js","names":["OTPInput","React","OTPInputContext","DashIcon"],"sources":["../../../src/components/ui/input-otp.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { DashIcon } from \"@radix-ui/react-icons\";\nimport { OTPInput, OTPInputContext } from \"input-otp\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst InputOTP: React.FC<React.ComponentPropsWithoutRef<typeof OTPInput>> = forwardRefIfNeeded<\n React.ElementRef<typeof OTPInput>,\n React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n <OTPInput\n ref={ref}\n containerClassName={cn(\n \"stack-scope flex items-center gap-2 has-[:disabled]:opacity-50\",\n containerClassName\n )}\n className={cn(\"disabled:cursor-not-allowed\", className)}\n {...props}\n />\n));\nInputOTP.displayName = \"InputOTP\";\n\nconst InputOTPGroup = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"flex items-center gap-1\", className)} {...props} />\n));\nInputOTPGroup.displayName = \"InputOTPGroup\";\n\nconst InputOTPSlot = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\"> & { index: number, size?: 'default' | 'lg' }\n>(({ index, className, size = 'default', ...props }, ref) => {\n const inputOTPContext = React.useContext(OTPInputContext);\n const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];\n\n return (\n <div\n ref={ref}\n className={cn(\n \"relative flex h-9 w-9 items-center justify-center border border-input text-sm rounded-md\",\n size === 'lg' ? 'h-10 w-10 text-lg font-medium' : '',\n isActive && \"z-10 ring-1 ring-ring\",\n className\n )}\n {...props}\n >\n {char}\n {hasFakeCaret && (\n <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n <div className=\"h-4 w-px animate-caret-blink bg-foreground duration-1000\" />\n </div>\n )}\n </div>\n );\n});\nInputOTPSlot.displayName = \"InputOTPSlot\";\n\nconst InputOTPSeparator = forwardRefIfNeeded<\n React.ElementRef<\"div\">,\n React.ComponentPropsWithoutRef<\"div\">\n>(({ ...props }, ref) => (\n <div ref={ref} role=\"separator\" {...props}>\n <DashIcon />\n </div>\n));\nInputOTPSeparator.displayName = \"InputOTPSeparator\";\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };\n"],"mappings":";;;;;;;;;;;AASA,MAAM,YAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,oBAAoB,GAAG,SAAS,QAC9C,iBAAA,GAAA,kBAAA,IAAA,CAACA,UAAAA,UAAD;CACO;CACL,qBAAA,GAAA,mBAAA,GAAA,CACE,kEACA,kBACF;CACA,YAAA,GAAA,mBAAA,GAAA,CAAc,+BAA+B,SAAS;CACtD,GAAI;AACL,CAAA,CACF;AACD,SAAS,cAAc;AAEvB,MAAM,iBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CAAU;CAAK,YAAA,GAAA,mBAAA,GAAA,CAAc,2BAA2B,SAAS;CAAG,GAAI;AAAQ,CAAA,CACjF;AACD,cAAc,cAAc;AAE5B,MAAM,gBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,OAAO,WAAW,OAAO,WAAW,GAAG,SAAS,QAAQ;CAE3D,MAAM,EAAE,MAAM,cAAc,aADJC,MAAAA,QAAM,WAAWC,UAAAA,eACc,CAAC,CAAC,MAAM;CAE/D,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EACO;EACL,YAAA,GAAA,mBAAA,GAAA,CACE,4FACA,SAAS,OAAO,kCAAkC,IAClD,YAAY,yBACZ,SACF;EACA,GAAI;YARN,CAUG,MACA,gBACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;GAAK,WAAU;aACb,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD,EAAK,WAAU,2DAA4D,CAAA;EACxE,CAAA,CAEJ;;AAET,CAAC;AACD,aAAa,cAAc;AAE3B,MAAM,qBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,GAAG,SAAS,QACf,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CAAU;CAAK,MAAK;CAAY,GAAI;WAClC,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,UAAD,CAAW,CAAA;AACR,CAAA,CACN;AACD,kBAAkB,cAAc"}
|
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/components/ui/input.d.ts
|
|
4
|
-
type InputProps = {
|
|
5
|
-
prefixItem?: React.ReactNode;
|
|
6
|
-
} & React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
-
declare const Input: React.FC<{
|
|
8
|
-
prefixItem?: React.ReactNode;
|
|
9
|
-
} & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
10
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
type DelayedInputProps = {
|
|
13
|
-
delay?: number;
|
|
14
|
-
} & InputProps;
|
|
15
|
-
declare const DelayedInput: React.FC<{
|
|
16
|
-
delay?: number;
|
|
17
|
-
} & {
|
|
18
|
-
prefixItem?: React.ReactNode;
|
|
19
|
-
} & React.InputHTMLAttributes<HTMLInputElement> & {
|
|
20
|
-
ref?: React.Ref<HTMLInputElement> | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { DelayedInput, DelayedInputProps, Input, InputProps };
|
|
24
|
-
//# sourceMappingURL=input.d.ts.map
|
|
1
|
+
import { i as InputProps, n as DelayedInputProps, r as Input, t as DelayedInput } from "../../input-D57fCXWj.js";
|
|
2
|
+
export { DelayedInput, DelayedInputProps, Input, InputProps };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
2
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
3
3
|
let react = require("react");
|
|
4
|
-
react =
|
|
4
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
7
7
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
8
|
-
|
|
9
8
|
//#region src/components/ui/input.tsx
|
|
10
9
|
const Input = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, type, prefixItem, ...props }, ref) => {
|
|
11
10
|
const baseClasses = "stack-scope flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50";
|
|
@@ -50,8 +49,8 @@ const DelayedInput = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)((
|
|
|
50
49
|
});
|
|
51
50
|
});
|
|
52
51
|
DelayedInput.displayName = "DelayedInput";
|
|
53
|
-
|
|
54
52
|
//#endregion
|
|
55
53
|
exports.DelayedInput = DelayedInput;
|
|
56
54
|
exports.Input = Input;
|
|
55
|
+
|
|
57
56
|
//# sourceMappingURL=input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","names":["React"],"sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nexport type InputProps = {\n prefixItem?: React.ReactNode,\n} & React.InputHTMLAttributes<HTMLInputElement>\n\nexport const Input = forwardRefIfNeeded<HTMLInputElement, InputProps>(\n ({ className, type, prefixItem, ...props }, ref) => {\n const baseClasses = \"stack-scope flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\";\n\n if (prefixItem) {\n return (\n <div className=\"flex flex-row items-center backdrop-blur-md bg-white/20 dark:bg-black/20 flex-1\">\n <div className={'flex self-stretch justify-center items-center text-muted-foreground pl-3 select-none bg-muted/70 pr-3 border-r border-input rounded-l-md'}>\n {prefixItem}\n </div>\n <input\n type={type}\n className={cn(baseClasses, 'rounded-l-none', className)}\n ref={ref}\n {...props}\n />\n </div>\n );\n } else {\n return (\n <div className=\"flex flex-row items-center backdrop-blur-md bg-white/20 dark:bg-black/20 flex-1\">\n <input\n type={type}\n className={cn(baseClasses, className)}\n ref={ref}\n {...props}\n />\n </div>\n );\n }\n }\n);\nInput.displayName = \"Input\";\n\n\nexport type DelayedInputProps = {\n delay?: number,\n} & InputProps\n\nexport const DelayedInput = forwardRefIfNeeded<HTMLInputElement, DelayedInputProps>(\n ({ delay = 500, defaultValue, ...props }, ref) => {\n const [value, setValue] = React.useState(defaultValue ?? \"\");\n\n const timeout = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n\n const onChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setValue(e.target.value);\n if (timeout.current) {\n clearTimeout(timeout.current);\n }\n timeout.current = setTimeout(() => {\n props.onChange?.(e);\n }, delay);\n };\n\n return <Input ref={ref} {...props} value={value} onChange={onChange} />;\n }\n);\nDelayedInput.displayName = \"DelayedInput\";\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.js","names":["React"],"sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nexport type InputProps = {\n prefixItem?: React.ReactNode,\n} & React.InputHTMLAttributes<HTMLInputElement>\n\nexport const Input = forwardRefIfNeeded<HTMLInputElement, InputProps>(\n ({ className, type, prefixItem, ...props }, ref) => {\n const baseClasses = \"stack-scope flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\";\n\n if (prefixItem) {\n return (\n <div className=\"flex flex-row items-center backdrop-blur-md bg-white/20 dark:bg-black/20 flex-1\">\n <div className={'flex self-stretch justify-center items-center text-muted-foreground pl-3 select-none bg-muted/70 pr-3 border-r border-input rounded-l-md'}>\n {prefixItem}\n </div>\n <input\n type={type}\n className={cn(baseClasses, 'rounded-l-none', className)}\n ref={ref}\n {...props}\n />\n </div>\n );\n } else {\n return (\n <div className=\"flex flex-row items-center backdrop-blur-md bg-white/20 dark:bg-black/20 flex-1\">\n <input\n type={type}\n className={cn(baseClasses, className)}\n ref={ref}\n {...props}\n />\n </div>\n );\n }\n }\n);\nInput.displayName = \"Input\";\n\n\nexport type DelayedInputProps = {\n delay?: number,\n} & InputProps\n\nexport const DelayedInput = forwardRefIfNeeded<HTMLInputElement, DelayedInputProps>(\n ({ delay = 500, defaultValue, ...props }, ref) => {\n const [value, setValue] = React.useState(defaultValue ?? \"\");\n\n const timeout = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n\n const onChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setValue(e.target.value);\n if (timeout.current) {\n clearTimeout(timeout.current);\n }\n timeout.current = setTimeout(() => {\n props.onChange?.(e);\n }, delay);\n };\n\n return <Input ref={ref} {...props} value={value} onChange={onChange} />;\n }\n);\nDelayedInput.displayName = \"DelayedInput\";\n"],"mappings":";;;;;;;;AASA,MAAa,SAAA,GAAA,kCAAA,mBAAA,EACV,EAAE,WAAW,MAAM,YAAY,GAAG,SAAS,QAAQ;CAClD,MAAM,cAAe;CAErB,IAAI,YACF,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;GAAK,WAAW;aACb;EACE,CAAA,GACL,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;GACQ;GACN,YAAA,GAAA,mBAAA,GAAA,CAAc,aAAa,kBAAkB,SAAS;GACjD;GACL,GAAI;EACL,CAAA,CACE;;MAGP,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;GACQ;GACN,YAAA,GAAA,mBAAA,GAAA,CAAc,aAAa,SAAS;GAC/B;GACL,GAAI;EACL,CAAA;CACE,CAAA;AAGX,CACF;AACA,MAAM,cAAc;AAOpB,MAAa,gBAAA,GAAA,kCAAA,mBAAA,EACV,EAAE,QAAQ,KAAK,cAAc,GAAG,SAAS,QAAQ;CAChD,MAAM,CAAC,OAAO,YAAYA,MAAAA,QAAM,SAAS,gBAAgB,EAAE;CAE3D,MAAM,UAAUA,MAAAA,QAAM,OAA6C,IAAI;CAEvE,MAAM,YAAY,MAA2C;EAC3D,SAAS,EAAE,OAAO,KAAK;EACvB,IAAI,QAAQ,SACV,aAAa,QAAQ,OAAO;EAE9B,QAAQ,UAAU,iBAAiB;GACjC,MAAM,WAAW,CAAC;EACpB,GAAG,KAAK;CACV;CAEA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAY;EAAK,GAAI;EAAc;EAAiB;CAAW,CAAA;AACxE,CACF;AACA,aAAa,cAAc"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/label.d.ts
|
|
7
|
-
declare const Label: React.FC<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types0.ClassProp | undefined) => string> & {
|
|
8
|
-
ref?: React.Ref<HTMLLabelElement> | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
declare const SpanLabel: React.FC<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types0.ClassProp | undefined) => string> & {
|
|
11
|
-
ref?: React.Ref<HTMLLabelElement> | undefined;
|
|
12
|
-
}>;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { Label, SpanLabel };
|
|
15
|
-
//# sourceMappingURL=label.d.ts.map
|
|
1
|
+
import { n as SpanLabel, t as Label } from "../../label-D1hxJj6E.js";
|
|
2
|
+
export { Label, SpanLabel };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
9
|
let class_variance_authority = require("class-variance-authority");
|
|
11
10
|
let _radix_ui_react_label = require("@radix-ui/react-label");
|
|
12
|
-
_radix_ui_react_label =
|
|
13
|
-
|
|
11
|
+
_radix_ui_react_label = require_rolldown_runtime.__toESM(_radix_ui_react_label);
|
|
14
12
|
//#region src/components/ui/label.tsx
|
|
15
13
|
const labelVariants = (0, class_variance_authority.cva)("stack-scope text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 dark:text-gray-400");
|
|
16
14
|
const Label = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
@@ -25,8 +23,8 @@ const SpanLabel = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ c
|
|
|
25
23
|
...props
|
|
26
24
|
}));
|
|
27
25
|
SpanLabel.displayName = _radix_ui_react_label.Root.displayName;
|
|
28
|
-
|
|
29
26
|
//#endregion
|
|
30
27
|
exports.Label = Label;
|
|
31
28
|
exports.SpanLabel = SpanLabel;
|
|
29
|
+
|
|
32
30
|
//# sourceMappingURL=label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","names":["LabelPrimitive"],"sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst labelVariants = cva(\n \"stack-scope text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 dark:text-gray-400\",\n);\n\nconst Label = forwardRefIfNeeded<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <label\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nconst SpanLabel = forwardRefIfNeeded<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n));\nSpanLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label, SpanLabel };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"label.js","names":["LabelPrimitive"],"sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as LabelPrimitive from \"@radix-ui/react-label\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst labelVariants = cva(\n \"stack-scope text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-600 dark:text-gray-400\",\n);\n\nconst Label = forwardRefIfNeeded<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <label\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n));\nLabel.displayName = LabelPrimitive.Root.displayName;\n\nconst SpanLabel = forwardRefIfNeeded<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n));\nSpanLabel.displayName = LabelPrimitive.Root.displayName;\n\nexport { Label, SpanLabel };\n"],"mappings":";;;;;;;;;;;;AASA,MAAM,iBAAA,GAAA,yBAAA,IAAA,CACJ,yIACF;AAEA,MAAM,SAAA,GAAA,kCAAA,mBAAA,EAIH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,cAAc,GAAG,SAAS;CACxC,GAAI;AACL,CAAA,CACF;AACD,MAAM,cAAcA,sBAAe,KAAK;AAExC,MAAM,aAAA,GAAA,kCAAA,mBAAA,EAIH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,cAAc,GAAG,SAAS;CACxC,GAAI;AACL,CAAA,CACF;AACD,UAAU,cAAcA,sBAAe,KAAK"}
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/menubar.d.ts
|
|
6
|
-
declare const MenubarMenu: any;
|
|
7
|
-
declare const MenubarGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const MenubarPortal: React.FC<MenubarPrimitive.MenubarPortalProps>;
|
|
9
|
-
declare const MenubarSub: React.FC<MenubarPrimitive.MenubarSubProps>;
|
|
10
|
-
declare const MenubarRadioGroup: React.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const Menubar: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const MenubarTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
declare const MenubarSubTrigger: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
14
|
-
inset?: boolean;
|
|
15
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const MenubarSubContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
declare const MenubarContent: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
declare const MenubarItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
19
|
-
inset?: boolean;
|
|
20
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
declare const MenubarCheckboxItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
declare const MenubarRadioItem: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
declare const MenubarLabel: React.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
24
|
-
inset?: boolean;
|
|
25
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
declare const MenubarSeparator: React.FC<Omit<MenubarPrimitive.MenubarSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
27
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
28
|
-
}>;
|
|
29
|
-
declare const MenubarShortcut: {
|
|
30
|
-
({
|
|
31
|
-
className,
|
|
32
|
-
...props
|
|
33
|
-
}: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime0.JSX.Element;
|
|
34
|
-
displayname: string;
|
|
35
|
-
};
|
|
36
|
-
//#endregion
|
|
37
|
-
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
38
|
-
//# sourceMappingURL=menubar.d.ts.map
|
|
1
|
+
import { a as MenubarItem, c as MenubarPortal, d as MenubarSeparator, f as MenubarShortcut, g as MenubarTrigger, h as MenubarSubTrigger, i as MenubarGroup, l as MenubarRadioGroup, m as MenubarSubContent, n as MenubarCheckboxItem, o as MenubarLabel, p as MenubarSub, r as MenubarContent, s as MenubarMenu, t as Menubar, u as MenubarRadioItem } from "../../menubar-C4IR0XyE.js";
|
|
2
|
+
export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let _radix_ui_react_icons = require("@radix-ui/react-icons");
|
|
10
9
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
11
10
|
let _radix_ui_react_menubar = require("@radix-ui/react-menubar");
|
|
12
|
-
_radix_ui_react_menubar =
|
|
13
|
-
|
|
11
|
+
_radix_ui_react_menubar = require_rolldown_runtime.__toESM(_radix_ui_react_menubar);
|
|
14
12
|
//#region src/components/ui/menubar.tsx
|
|
15
13
|
const MenubarMenu = _radix_ui_react_menubar.Menu;
|
|
16
14
|
const MenubarGroup = _radix_ui_react_menubar.Group;
|
|
@@ -97,7 +95,6 @@ const MenubarShortcut = ({ className, ...props }) => {
|
|
|
97
95
|
});
|
|
98
96
|
};
|
|
99
97
|
MenubarShortcut.displayname = "MenubarShortcut";
|
|
100
|
-
|
|
101
98
|
//#endregion
|
|
102
99
|
exports.Menubar = Menubar;
|
|
103
100
|
exports.MenubarCheckboxItem = MenubarCheckboxItem;
|
|
@@ -115,4 +112,5 @@ exports.MenubarSub = MenubarSub;
|
|
|
115
112
|
exports.MenubarSubContent = MenubarSubContent;
|
|
116
113
|
exports.MenubarSubTrigger = MenubarSubTrigger;
|
|
117
114
|
exports.MenubarTrigger = MenubarTrigger;
|
|
115
|
+
|
|
118
116
|
//# sourceMappingURL=menubar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menubar.js","names":["MenubarPrimitive","React","ChevronRightIcon","CheckIcon","DotFilledIcon"],"sources":["../../../src/components/ui/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport {\n CheckIcon,\n ChevronRightIcon,\n DotFilledIcon,\n} from \"@radix-ui/react-icons\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst MenubarMenu = MenubarPrimitive.Menu as any;\n\nconst MenubarGroup = MenubarPrimitive.Group;\n\nconst MenubarPortal = MenubarPrimitive.Portal;\n\nconst MenubarSub = MenubarPrimitive.Sub;\n\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm\",\n className\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground\",\n className\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean,\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n className={cn(\n \"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n className={cn(\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n )\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean,\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"h-4 w-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"h-4 w-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean,\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = forwardRefIfNeeded<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 my-1 h-px bg-muted\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn(\n \"ml-auto text-xs tracking-widest text-muted-foreground\",\n className\n )}\n {...props}\n />\n );\n};\nMenubarShortcut.displayname = \"MenubarShortcut\";\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"menubar.js","names":["MenubarPrimitive","React","ChevronRightIcon","CheckIcon","DotFilledIcon"],"sources":["../../../src/components/ui/menubar.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport {\n CheckIcon,\n ChevronRightIcon,\n DotFilledIcon,\n} from \"@radix-ui/react-icons\";\nimport * as MenubarPrimitive from \"@radix-ui/react-menubar\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst MenubarMenu = MenubarPrimitive.Menu as any;\n\nconst MenubarGroup = MenubarPrimitive.Group;\n\nconst MenubarPortal = MenubarPrimitive.Portal;\n\nconst MenubarSub = MenubarPrimitive.Sub;\n\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\nconst Menubar = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm\",\n className\n )}\n {...props}\n />\n));\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\nconst MenubarTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Trigger\n ref={ref}\n className={cn(\n \"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground\",\n className\n )}\n {...props}\n />\n));\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\nconst MenubarSubTrigger = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean,\n }\n>(({ className, inset, children, ...props }, ref) => (\n <MenubarPrimitive.SubTrigger\n ref={ref}\n className={cn(\n \"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto h-4 w-4\" />\n </MenubarPrimitive.SubTrigger>\n));\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\nconst MenubarSubContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.SubContent\n ref={ref}\n className={cn(\n \"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n));\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\nconst MenubarContent = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>\n>(\n (\n { className, align = \"start\", alignOffset = -4, sideOffset = 8, ...props },\n ref\n ) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={ref}\n align={align}\n alignOffset={alignOffset}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n )\n);\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\nconst MenubarItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {\n inset?: boolean,\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Item\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n));\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\nconst MenubarCheckboxItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <MenubarPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"h-4 w-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n));\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\nconst MenubarRadioItem = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <MenubarPrimitive.RadioItem\n ref={ref}\n className={cn(\n \"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\",\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"h-4 w-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n));\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\nconst MenubarLabel = React.forwardRef<\n React.ElementRef<typeof MenubarPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {\n inset?: boolean,\n }\n>(({ className, inset, ...props }, ref) => (\n <MenubarPrimitive.Label\n ref={ref}\n className={cn(\n \"px-2 py-1.5 text-sm font-semibold\",\n inset && \"pl-8\",\n className\n )}\n {...props}\n />\n));\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\nconst MenubarSeparator = forwardRefIfNeeded<\n React.ElementRef<typeof MenubarPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <MenubarPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 my-1 h-px bg-muted\", className)}\n {...props}\n />\n));\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\nconst MenubarShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn(\n \"ml-auto text-xs tracking-widest text-muted-foreground\",\n className\n )}\n {...props}\n />\n );\n};\nMenubarShortcut.displayname = \"MenubarShortcut\";\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarPortal,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n};\n"],"mappings":"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"}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/navigation-menu.d.ts
|
|
6
|
-
declare const NavigationMenu: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & {
|
|
7
|
-
ref?: React.Ref<HTMLElement> | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
declare const NavigationMenuList: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & {
|
|
10
|
-
ref?: React.Ref<HTMLUListElement> | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
13
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types0.ClassProp | undefined) => string;
|
|
14
|
-
declare const NavigationMenuTrigger: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
15
|
-
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
16
|
-
}>;
|
|
17
|
-
declare const NavigationMenuContent: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
18
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
21
|
-
declare const NavigationMenuViewport: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
22
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
23
|
-
}>;
|
|
24
|
-
declare const NavigationMenuIndicator: React.FC<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
25
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
29
|
-
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
1
|
+
import { a as NavigationMenuLink, c as NavigationMenuViewport, i as NavigationMenuItem, l as navigationMenuTriggerStyle, n as NavigationMenuContent, o as NavigationMenuList, r as NavigationMenuIndicator, s as NavigationMenuTrigger, t as NavigationMenu } from "../../navigation-menu-B0mRDLJl.js";
|
|
2
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let _radix_ui_react_icons = require("@radix-ui/react-icons");
|
|
10
9
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
11
10
|
let class_variance_authority = require("class-variance-authority");
|
|
12
11
|
let _radix_ui_react_navigation_menu = require("@radix-ui/react-navigation-menu");
|
|
13
|
-
_radix_ui_react_navigation_menu =
|
|
14
|
-
|
|
12
|
+
_radix_ui_react_navigation_menu = require_rolldown_runtime.__toESM(_radix_ui_react_navigation_menu);
|
|
15
13
|
//#region src/components/ui/navigation-menu.tsx
|
|
16
14
|
const NavigationMenu = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_radix_ui_react_navigation_menu.Root, {
|
|
17
15
|
ref,
|
|
@@ -65,7 +63,6 @@ const NavigationMenuIndicator = (0, _hexclave_shared_dist_utils_react.forwardRef
|
|
|
65
63
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
66
64
|
}));
|
|
67
65
|
NavigationMenuIndicator.displayName = _radix_ui_react_navigation_menu.Indicator.displayName;
|
|
68
|
-
|
|
69
66
|
//#endregion
|
|
70
67
|
exports.NavigationMenu = NavigationMenu;
|
|
71
68
|
exports.NavigationMenuContent = NavigationMenuContent;
|
|
@@ -76,4 +73,5 @@ exports.NavigationMenuList = NavigationMenuList;
|
|
|
76
73
|
exports.NavigationMenuTrigger = NavigationMenuTrigger;
|
|
77
74
|
exports.NavigationMenuViewport = NavigationMenuViewport;
|
|
78
75
|
exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle;
|
|
76
|
+
|
|
79
77
|
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","names":["NavigationMenuPrimitive","ChevronDownIcon"],"sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\";\nimport { cva } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst NavigationMenu = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope relative z-10 flex max-w-max flex-1 items-center justify-center\",\n className\n )}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(\n \"stack-scope group flex flex-1 list-none items-center justify-center space-x-1\",\n className\n )}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n \"stack-scope group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50\"\n);\n\nconst NavigationMenuTrigger = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), \"group\", className)}\n {...props}\n >\n {children}{\" \"}\n <ChevronDownIcon\n className=\"relative top-[1px] ml-1 h-3 w-3 duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n \"stack-scope left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out 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 md:absolute md:w-auto \",\n className\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <div className={cn(\"absolute left-0 top-full flex justify-center\")}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n \"stack-scope origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]\",\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName =\n NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n \"stack-scope top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in\",\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName =\n NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","names":["NavigationMenuPrimitive","ChevronDownIcon"],"sources":["../../../src/components/ui/navigation-menu.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { ChevronDownIcon } from \"@radix-ui/react-icons\";\nimport * as NavigationMenuPrimitive from \"@radix-ui/react-navigation-menu\";\nimport { cva } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst NavigationMenu = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope relative z-10 flex max-w-max flex-1 items-center justify-center\",\n className\n )}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n));\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\nconst NavigationMenuList = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.List\n ref={ref}\n className={cn(\n \"stack-scope group flex flex-1 list-none items-center justify-center space-x-1\",\n className\n )}\n {...props}\n />\n));\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\nconst navigationMenuTriggerStyle = cva(\n \"stack-scope group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50\"\n);\n\nconst NavigationMenuTrigger = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <NavigationMenuPrimitive.Trigger\n ref={ref}\n className={cn(navigationMenuTriggerStyle(), \"group\", className)}\n {...props}\n >\n {children}{\" \"}\n <ChevronDownIcon\n className=\"relative top-[1px] ml-1 h-3 w-3 duration-300 group-data-[state=open]:rotate-180\"\n aria-hidden=\"true\"\n />\n </NavigationMenuPrimitive.Trigger>\n));\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\nconst NavigationMenuContent = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Content\n ref={ref}\n className={cn(\n \"stack-scope left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out 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 md:absolute md:w-auto \",\n className\n )}\n {...props}\n />\n));\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\nconst NavigationMenuViewport = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>\n>(({ className, ...props }, ref) => (\n <div className={cn(\"absolute left-0 top-full flex justify-center\")}>\n <NavigationMenuPrimitive.Viewport\n className={cn(\n \"stack-scope origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]\",\n className\n )}\n ref={ref}\n {...props}\n />\n </div>\n));\nNavigationMenuViewport.displayName =\n NavigationMenuPrimitive.Viewport.displayName;\n\nconst NavigationMenuIndicator = forwardRefIfNeeded<\n React.ElementRef<typeof NavigationMenuPrimitive.Indicator>,\n React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>\n>(({ className, ...props }, ref) => (\n <NavigationMenuPrimitive.Indicator\n ref={ref}\n className={cn(\n \"stack-scope top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in\",\n className\n )}\n {...props}\n >\n <div className=\"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\" />\n </NavigationMenuPrimitive.Indicator>\n));\nNavigationMenuIndicator.displayName =\n NavigationMenuPrimitive.Indicator.displayName;\n\nexport {\n navigationMenuTriggerStyle,\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n NavigationMenuIndicator,\n NavigationMenuViewport,\n};\n"],"mappings":";;;;;;;;;;;;;AAUA,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,UAAU,GAAG,SAAS,QACpC,iBAAA,GAAA,kBAAA,KAAA,CAACA,gCAAwB,MAAzB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,+EACA,SACF;CACA,GAAI;WANN,CAQG,UACD,iBAAA,GAAA,kBAAA,IAAA,CAAC,wBAAD,CAAyB,CAAA,CACG;EAC/B;AACD,eAAe,cAAcA,gCAAwB,KAAK;AAE1D,MAAM,sBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,gCAAwB,MAAzB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,iFACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,mBAAmB,cAAcA,gCAAwB,KAAK;AAE9D,MAAM,qBAAqBA,gCAAwB;AAEnD,MAAM,8BAAA,GAAA,yBAAA,IAAA,CACJ,oVACF;AAEA,MAAM,yBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,UAAU,GAAG,SAAS,QACpC,iBAAA,GAAA,kBAAA,KAAA,CAACA,gCAAwB,SAAzB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,2BAA2B,GAAG,SAAS,SAAS;CAC9D,GAAI;WAHN;EAKG;EAAU;EACX,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,iBAAD;GACE,WAAU;GACV,eAAY;EACb,CAAA;CAC8B;EAClC;AACD,sBAAsB,cAAcD,gCAAwB,QAAQ;AAEpE,MAAM,yBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,gCAAwB,SAAzB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,sWACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,sBAAsB,cAAcA,gCAAwB,QAAQ;AAEpE,MAAM,qBAAqBA,gCAAwB;AAEnD,MAAM,0BAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CAAK,YAAA,GAAA,mBAAA,GAAA,CAAc,8CAA8C;WAC/D,iBAAA,GAAA,kBAAA,IAAA,CAACA,gCAAwB,UAAzB;EACE,YAAA,GAAA,mBAAA,GAAA,CACE,kWACA,SACF;EACK;EACL,GAAI;CACL,CAAA;AACE,CAAA,CACN;AACD,uBAAuB,cACrBA,gCAAwB,SAAS;AAEnC,MAAM,2BAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,gCAAwB,WAAzB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,4MACA,SACF;CACA,GAAI;WAEJ,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD,EAAK,WAAU,yEAA0E,CAAA;AACxD,CAAA,CACpC;AACD,wBAAwB,cACtBA,gCAAwB,UAAU"}
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/components/ui/password-input.d.ts
|
|
4
|
-
declare const PasswordInput: react.FC<{
|
|
5
|
-
prefixItem?: React.ReactNode;
|
|
6
|
-
} & react.InputHTMLAttributes<HTMLInputElement> & {
|
|
7
|
-
ref?: react.Ref<HTMLInputElement> | undefined;
|
|
8
|
-
}>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { PasswordInput };
|
|
11
|
-
//# sourceMappingURL=password-input.d.ts.map
|
|
1
|
+
import { t as PasswordInput } from "../../password-input-dDKI5XMl.js";
|
|
2
|
+
export { PasswordInput };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
5
3
|
let lucide_react = require("lucide-react");
|
|
6
4
|
let react = require("react");
|
|
7
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -9,7 +7,6 @@ let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/rea
|
|
|
9
7
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
8
|
let __button_js = require("./button.js");
|
|
11
9
|
let __input_js = require("./input.js");
|
|
12
|
-
|
|
13
10
|
//#region src/components/ui/password-input.tsx
|
|
14
11
|
const PasswordInput = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => {
|
|
15
12
|
const [showPassword, setShowPassword] = (0, react.useState)(false);
|
|
@@ -40,7 +37,7 @@ const PasswordInput = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(
|
|
|
40
37
|
});
|
|
41
38
|
});
|
|
42
39
|
PasswordInput.displayName = "PasswordInput";
|
|
43
|
-
|
|
44
40
|
//#endregion
|
|
45
41
|
exports.PasswordInput = PasswordInput;
|
|
42
|
+
|
|
46
43
|
//# sourceMappingURL=password-input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-input.js","names":["Input","Button","EyeIcon","EyeOffIcon"],"sources":["../../../src/components/ui/password-input.tsx"],"sourcesContent":["\"use client\";\n\nimport { useState } from \"react\";\nimport { EyeIcon, EyeOffIcon } from \"lucide-react\";\nimport { Button } from \"./button\";\nimport { Input, InputProps } from \"./input\";\nimport { cn } from \"../../lib/utils\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\n\nconst PasswordInput = forwardRefIfNeeded<HTMLInputElement, InputProps>(\n\t({ className, ...props }, ref) => {\n\t const [showPassword, setShowPassword] = useState(false);\n\n\t return (\n\t <div className=\"relative\">\n\t <Input\n\t type={showPassword ? \"text\" : \"password\"}\n\t className={cn(\"stack-scope hide-password-toggle pr-10\", className)}\n\t ref={ref}\n\t {...props}\n\t />\n\t <Button\n\t type=\"button\"\n\t variant=\"ghost\"\n\t size=\"sm\"\n\t className=\"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent\"\n\t onClick={() => setShowPassword((prev) => !prev)}\n\t disabled={props.disabled}\n\t aria-label={showPassword ? \"Hide password\" : \"Show password\"}\n\t tabIndex={-1}\n\t >\n\t {showPassword ? (\n\t <EyeIcon\n\t className=\"h-4 w-4\"\n\t aria-hidden=\"true\"\n\t />\n\t ) : (\n\t <EyeOffIcon\n\t className=\"h-4 w-4\"\n\t aria-hidden=\"true\"\n\t />\n\t )}\n\t </Button>\n\t </div>\n\t );\n\t},\n);\nPasswordInput.displayName = \"PasswordInput\";\n\nexport { PasswordInput };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"password-input.js","names":["Input","Button","EyeIcon","EyeOffIcon"],"sources":["../../../src/components/ui/password-input.tsx"],"sourcesContent":["\"use client\";\n\nimport { useState } from \"react\";\nimport { EyeIcon, EyeOffIcon } from \"lucide-react\";\nimport { Button } from \"./button\";\nimport { Input, InputProps } from \"./input\";\nimport { cn } from \"../../lib/utils\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\n\nconst PasswordInput = forwardRefIfNeeded<HTMLInputElement, InputProps>(\n\t({ className, ...props }, ref) => {\n\t const [showPassword, setShowPassword] = useState(false);\n\n\t return (\n\t <div className=\"relative\">\n\t <Input\n\t type={showPassword ? \"text\" : \"password\"}\n\t className={cn(\"stack-scope hide-password-toggle pr-10\", className)}\n\t ref={ref}\n\t {...props}\n\t />\n\t <Button\n\t type=\"button\"\n\t variant=\"ghost\"\n\t size=\"sm\"\n\t className=\"absolute right-0 top-0 h-full px-3 py-2 hover:bg-transparent\"\n\t onClick={() => setShowPassword((prev) => !prev)}\n\t disabled={props.disabled}\n\t aria-label={showPassword ? \"Hide password\" : \"Show password\"}\n\t tabIndex={-1}\n\t >\n\t {showPassword ? (\n\t <EyeIcon\n\t className=\"h-4 w-4\"\n\t aria-hidden=\"true\"\n\t />\n\t ) : (\n\t <EyeOffIcon\n\t className=\"h-4 w-4\"\n\t aria-hidden=\"true\"\n\t />\n\t )}\n\t </Button>\n\t </div>\n\t );\n\t},\n);\nPasswordInput.displayName = \"PasswordInput\";\n\nexport { PasswordInput };\n"],"mappings":";;;;;;;;;;AASA,MAAM,iBAAA,GAAA,kCAAA,mBAAA,EACJ,EAAE,WAAW,GAAG,SAAS,QAAQ;CAChC,MAAM,CAAC,cAAc,oBAAA,GAAA,MAAA,SAAA,CAA4B,KAAK;CAEtD,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;YAAf,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,WAAAA,OAAD;GACE,MAAM,eAAe,SAAS;GAC9B,YAAA,GAAA,mBAAA,GAAA,CAAc,0CAA0C,SAAS;GAC5D;GACL,GAAI;EACL,CAAA,GACD,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,QAAD;GACE,MAAK;GACL,SAAQ;GACR,MAAK;GACL,WAAU;GACV,eAAe,iBAAiB,SAAS,CAAC,IAAI;GAC9C,UAAU,MAAM;GAChB,cAAY,eAAe,kBAAkB;GAC7C,UAAU;aAET,eACC,iBAAA,GAAA,kBAAA,IAAA,CAACC,aAAAA,SAAD;IACE,WAAU;IACV,eAAY;GACb,CAAA,IAED,iBAAA,GAAA,kBAAA,IAAA,CAACC,aAAAA,YAAD;IACE,WAAU;IACV,eAAY;GACb,CAAA;EAEG,CAAA,CACL;;AAET,CACD;AACA,cAAc,cAAc"}
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/popover.d.ts
|
|
5
|
-
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
6
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const PopoverContent: React.FC<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
9
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
10
|
-
}>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
13
|
-
//# sourceMappingURL=popover.d.ts.map
|
|
1
|
+
import { i as PopoverTrigger, n as PopoverAnchor, r as PopoverContent, t as Popover } from "../../popover-f6eyU589.js";
|
|
2
|
+
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
9
|
let _radix_ui_react_popover = require("@radix-ui/react-popover");
|
|
11
|
-
_radix_ui_react_popover =
|
|
12
|
-
|
|
10
|
+
_radix_ui_react_popover = require_rolldown_runtime.__toESM(_radix_ui_react_popover);
|
|
13
11
|
//#region src/components/ui/popover.tsx
|
|
14
12
|
const Popover = _radix_ui_react_popover.Root;
|
|
15
13
|
const PopoverTrigger = _radix_ui_react_popover.Trigger;
|
|
@@ -22,10 +20,10 @@ const PopoverContent = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)
|
|
|
22
20
|
...props
|
|
23
21
|
}) }));
|
|
24
22
|
PopoverContent.displayName = _radix_ui_react_popover.Content.displayName;
|
|
25
|
-
|
|
26
23
|
//#endregion
|
|
27
24
|
exports.Popover = Popover;
|
|
28
25
|
exports.PopoverAnchor = PopoverAnchor;
|
|
29
26
|
exports.PopoverContent = PopoverContent;
|
|
30
27
|
exports.PopoverTrigger = PopoverTrigger;
|
|
28
|
+
|
|
31
29
|
//# sourceMappingURL=popover.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.js","names":["PopoverPrimitive"],"sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = forwardRefIfNeeded<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 pointer-events-auto w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.js","names":["PopoverPrimitive"],"sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Popover = PopoverPrimitive.Root;\n\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\nconst PopoverContent = forwardRefIfNeeded<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n align={align}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 pointer-events-auto w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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\",\n className\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"mappings":";;;;;;;;;;;AAQA,MAAM,UAAUA,wBAAiB;AAEjC,MAAM,iBAAiBA,wBAAiB;AAExC,MAAM,gBAAgBA,wBAAiB;AAEvC,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,QAAQ,UAAU,aAAa,GAAG,GAAG,SAAS,QAC5D,iBAAA,GAAA,kBAAA,IAAA,CAACA,wBAAiB,QAAlB,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,wBAAiB,SAAlB;CACO;CACE;CACK;CACZ,YAAA,GAAA,mBAAA,GAAA,CACE,8cACA,SACF;CACA,GAAI;AACL,CAAA,EACsB,CAAA,CAC1B;AACD,eAAe,cAAcA,wBAAiB,QAAQ"}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/progress.d.ts
|
|
5
|
-
declare const Progress: React.FC<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
6
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Progress };
|
|
10
|
-
//# sourceMappingURL=progress.d.ts.map
|
|
1
|
+
import { t as Progress } from "../../progress-CA-6BN6M.js";
|
|
2
|
+
export { Progress };
|