@hexclave/ui 1.0.41 → 1.0.43
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 +5 -7
- 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 +7 -9
- 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 +6 -8
- 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 +7 -9
- 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 +6 -8
- 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 +7 -9
- 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 +6 -8
- 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 +6 -8
- 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 +6 -8
- 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 +6 -8
- 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 +6 -8
- 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 +3 -5
- 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 +4 -6
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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-CnLiOnBh.d.ts +34 -0
- package/dist/resizable-CnLiOnBh.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/src/components/ui/command.tsx +1 -2
- package/src/components/ui/context-menu.tsx +2 -2
- package/src/components/ui/dialog.tsx +1 -2
- package/src/components/ui/dropdown-menu.tsx +2 -2
- package/src/components/ui/hover-card.tsx +1 -1
- package/src/components/ui/menubar.tsx +2 -2
- package/src/components/ui/navigation-menu.tsx +1 -1
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/select.tsx +1 -2
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/tooltip.tsx +1 -1
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.js","names":["Slot","ChevronRightIcon","DotsHorizontalIcon"],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":["import React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { ChevronRightIcon, DotsHorizontalIcon } from \"@radix-ui/react-icons\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Breadcrumb = forwardRefIfNeeded<\n HTMLElement,\n React.ComponentPropsWithoutRef<\"nav\"> & {\n separator?: React.ReactNode,\n }\n>(({ ...props }, ref) => <nav ref={ref} aria-label=\"breadcrumb\" {...props} />);\nBreadcrumb.displayName = \"Breadcrumb\";\n\nconst BreadcrumbList = forwardRefIfNeeded<\n HTMLOListElement,\n React.ComponentPropsWithoutRef<\"ol\">\n>(({ className, ...props }, ref) => (\n <ol\n ref={ref}\n className={cn(\n \"stack-scope flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5\",\n className\n )}\n {...props}\n />\n));\nBreadcrumbList.displayName = \"BreadcrumbList\";\n\nconst BreadcrumbItem = forwardRefIfNeeded<\n HTMLLIElement,\n React.ComponentPropsWithoutRef<\"li\">\n>(({ className, ...props }, ref) => (\n <li\n ref={ref}\n className={cn(\"inline-flex items-center gap-1.5\", className)}\n {...props}\n />\n));\nBreadcrumbItem.displayName = \"BreadcrumbItem\";\n\nconst BreadcrumbLink = forwardRefIfNeeded<\n HTMLAnchorElement,\n React.ComponentPropsWithoutRef<\"a\"> & {\n asChild?: boolean,\n }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n ref={ref}\n className={cn(\"hover:text-foreground\", className)}\n {...props}\n />\n );\n});\nBreadcrumbLink.displayName = \"BreadcrumbLink\";\n\nconst BreadcrumbPage = forwardRefIfNeeded<\n HTMLSpanElement,\n React.ComponentPropsWithoutRef<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn(\"font-normal text-foreground\", className)}\n {...props}\n />\n));\nBreadcrumbPage.displayName = \"BreadcrumbPage\";\n\nconst BreadcrumbSeparator = ({\n children,\n className,\n ...props\n}: React.ComponentProps<\"li\">) => (\n <li\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"[&>svg]:size-3.5\", className)}\n {...props}\n >\n {children ?? <ChevronRightIcon />}\n </li>\n);\nBreadcrumbSeparator.displayName = \"BreadcrumbSeparator\";\n\nconst BreadcrumbEllipsis = ({\n className,\n ...props\n}: React.ComponentProps<\"span\">) => (\n <span\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n {...props}\n >\n <DotsHorizontalIcon className=\"h-4 w-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n);\nBreadcrumbEllipsis.displayName = \"BreadcrumbElipssis\";\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","names":["Slot","ChevronRightIcon","DotsHorizontalIcon"],"sources":["../../../src/components/ui/breadcrumb.tsx"],"sourcesContent":["import React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { ChevronRightIcon, DotsHorizontalIcon } from \"@radix-ui/react-icons\";\nimport { Slot } from \"@radix-ui/react-slot\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Breadcrumb = forwardRefIfNeeded<\n HTMLElement,\n React.ComponentPropsWithoutRef<\"nav\"> & {\n separator?: React.ReactNode,\n }\n>(({ ...props }, ref) => <nav ref={ref} aria-label=\"breadcrumb\" {...props} />);\nBreadcrumb.displayName = \"Breadcrumb\";\n\nconst BreadcrumbList = forwardRefIfNeeded<\n HTMLOListElement,\n React.ComponentPropsWithoutRef<\"ol\">\n>(({ className, ...props }, ref) => (\n <ol\n ref={ref}\n className={cn(\n \"stack-scope flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5\",\n className\n )}\n {...props}\n />\n));\nBreadcrumbList.displayName = \"BreadcrumbList\";\n\nconst BreadcrumbItem = forwardRefIfNeeded<\n HTMLLIElement,\n React.ComponentPropsWithoutRef<\"li\">\n>(({ className, ...props }, ref) => (\n <li\n ref={ref}\n className={cn(\"inline-flex items-center gap-1.5\", className)}\n {...props}\n />\n));\nBreadcrumbItem.displayName = \"BreadcrumbItem\";\n\nconst BreadcrumbLink = forwardRefIfNeeded<\n HTMLAnchorElement,\n React.ComponentPropsWithoutRef<\"a\"> & {\n asChild?: boolean,\n }\n>(({ asChild, className, ...props }, ref) => {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n ref={ref}\n className={cn(\"hover:text-foreground\", className)}\n {...props}\n />\n );\n});\nBreadcrumbLink.displayName = \"BreadcrumbLink\";\n\nconst BreadcrumbPage = forwardRefIfNeeded<\n HTMLSpanElement,\n React.ComponentPropsWithoutRef<\"span\">\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n role=\"link\"\n aria-disabled=\"true\"\n aria-current=\"page\"\n className={cn(\"font-normal text-foreground\", className)}\n {...props}\n />\n));\nBreadcrumbPage.displayName = \"BreadcrumbPage\";\n\nconst BreadcrumbSeparator = ({\n children,\n className,\n ...props\n}: React.ComponentProps<\"li\">) => (\n <li\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"[&>svg]:size-3.5\", className)}\n {...props}\n >\n {children ?? <ChevronRightIcon />}\n </li>\n);\nBreadcrumbSeparator.displayName = \"BreadcrumbSeparator\";\n\nconst BreadcrumbEllipsis = ({\n className,\n ...props\n}: React.ComponentProps<\"span\">) => (\n <span\n role=\"presentation\"\n aria-hidden=\"true\"\n className={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n {...props}\n >\n <DotsHorizontalIcon className=\"h-4 w-4\" />\n <span className=\"sr-only\">More</span>\n </span>\n);\nBreadcrumbEllipsis.displayName = \"BreadcrumbElipssis\";\n\nexport {\n Breadcrumb,\n BreadcrumbList,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbPage,\n BreadcrumbSeparator,\n BreadcrumbEllipsis,\n};\n"],"mappings":";;;;;;;;;;AAOA,MAAM,cAAA,GAAA,kCAAA,mBAAA,EAKH,EAAE,GAAG,SAAS,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CAAU;CAAK,cAAW;CAAa,GAAI;AAAQ,CAAA,CAAC;AAC7E,WAAW,cAAc;AAEzB,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,wGACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,eAAe,cAAc;AAE7B,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,oCAAoC,SAAS;CAC3D,GAAI;AACL,CAAA,CACF;AACD,eAAe,cAAc;AAE7B,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAKH,EAAE,SAAS,WAAW,GAAG,SAAS,QAAQ;CAG3C,OACE,iBAAA,GAAA,kBAAA,IAAA,CAHW,UAAUA,qBAAAA,OAAO,KAG5B;EACO;EACL,YAAA,GAAA,mBAAA,GAAA,CAAc,yBAAyB,SAAS;EAChD,GAAI;CACL,CAAA;AAEL,CAAC;AACD,eAAe,cAAc;AAE7B,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;CACO;CACL,MAAK;CACL,iBAAc;CACd,gBAAa;CACb,YAAA,GAAA,mBAAA,GAAA,CAAc,+BAA+B,SAAS;CACtD,GAAI;AACL,CAAA,CACF;AACD,eAAe,cAAc;AAE7B,MAAM,uBAAuB,EAC3B,UACA,WACA,GAAG,YAEH,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACE,MAAK;CACL,eAAY;CACZ,YAAA,GAAA,mBAAA,GAAA,CAAc,oBAAoB,SAAS;CAC3C,GAAI;WAEH,YAAY,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,kBAAD,CAAmB,CAAA;AAC9B,CAAA;AAEN,oBAAoB,cAAc;AAElC,MAAM,sBAAsB,EAC1B,WACA,GAAG,YAEH,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;CACE,MAAK;CACL,eAAY;CACZ,YAAA,GAAA,mBAAA,GAAA,CAAc,4CAA4C,SAAS;CACnE,GAAI;WAJN,CAME,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,oBAAD,EAAoB,WAAU,UAAW,CAAA,GACzC,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EAAM,WAAU;YAAU;CAAU,CAAA,CAChC;;AAER,mBAAmB,cAAc"}
|
|
@@ -1,32 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/button.d.ts
|
|
6
|
-
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "plain" | null | undefined;
|
|
8
|
-
size?: "default" | "plain" | "sm" | "lg" | "icon" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
|
-
type OriginalButtonProps = {
|
|
11
|
-
asChild?: boolean;
|
|
12
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>;
|
|
13
|
-
type ButtonProps = {
|
|
14
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
loadingStyle?: "spinner" | "disabled";
|
|
17
|
-
} & OriginalButtonProps;
|
|
18
|
-
declare const Button: React.FC<{
|
|
19
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
20
|
-
loading?: boolean;
|
|
21
|
-
loadingStyle?: "spinner" | "disabled";
|
|
22
|
-
} & {
|
|
23
|
-
asChild?: boolean;
|
|
24
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
25
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "plain" | null | undefined;
|
|
26
|
-
size?: "default" | "plain" | "sm" | "lg" | "icon" | null | undefined;
|
|
27
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
28
|
-
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
29
|
-
}>;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { Button, ButtonProps, OriginalButtonProps, buttonVariants };
|
|
32
|
-
//# sourceMappingURL=button.d.ts.map
|
|
1
|
+
import { i as buttonVariants, n as ButtonProps, r as OriginalButtonProps, t as Button } from "../../button-DqvToJ0R.js";
|
|
2
|
+
export { Button, ButtonProps, OriginalButtonProps, buttonVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
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");
|
|
@@ -10,7 +10,6 @@ let class_variance_authority = require("class-variance-authority");
|
|
|
10
10
|
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
11
11
|
let _hexclave_shared_dist_hooks_use_async_callback = require("@hexclave/shared/dist/hooks/use-async-callback");
|
|
12
12
|
let __spinner_js = require("./spinner.js");
|
|
13
|
-
|
|
14
13
|
//#region src/components/ui/button.tsx
|
|
15
14
|
const buttonVariants = (0, class_variance_authority.cva)("stack-scope inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", {
|
|
16
15
|
variants: {
|
|
@@ -64,8 +63,8 @@ const Button = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ onCl
|
|
|
64
63
|
});
|
|
65
64
|
});
|
|
66
65
|
Button.displayName = "Button";
|
|
67
|
-
|
|
68
66
|
//#endregion
|
|
69
67
|
exports.Button = Button;
|
|
70
68
|
exports.buttonVariants = buttonVariants;
|
|
69
|
+
|
|
71
70
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","names":["Slot","Spinner","Slottable"],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":["import { Slot, Slottable } from \"@radix-ui/react-slot\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\n\nimport { useAsyncCallback } from \"@hexclave/shared/dist/hooks/use-async-callback\";\nimport { runAsynchronouslyWithAlert } from \"@hexclave/shared/dist/utils/promises\";\nimport { cn } from \"../../lib/utils\";\nimport { Spinner } from \"./spinner\";\n\nconst buttonVariants = cva(\n \"stack-scope inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n plain: \"\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n icon: \"h-9 w-9\",\n plain: \"\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nexport type OriginalButtonProps = {\n asChild?: boolean,\n} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>\n\nconst OriginalButton = forwardRefIfNeeded<HTMLButtonElement, OriginalButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n );\n }\n);\nOriginalButton.displayName = \"Button\";\n\ntype ButtonProps = {\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>,\n loading?: boolean,\n loadingStyle?: \"spinner\" | \"disabled\",\n} & OriginalButtonProps\n\nconst Button = forwardRefIfNeeded<HTMLButtonElement, ButtonProps>(\n ({ onClick, loading: loadingProp, loadingStyle = \"spinner\", children, size, ...props }, ref) => {\n const [handleClick, isLoading] = useAsyncCallback(async (e: React.MouseEvent<HTMLButtonElement>) => {\n await onClick?.(e);\n }, [onClick]);\n\n const loading = loadingProp || isLoading;\n\n return (\n <OriginalButton\n {...props}\n ref={ref}\n disabled={props.disabled || loading}\n onClick={(e) => runAsynchronouslyWithAlert(handleClick(e))}\n size={size}\n className={cn(\"relative\", loading && \"[&>:not(.stack-button-do-not-hide-when-siblings-are)]:invisible\", props.className)}\n >\n {loadingStyle === \"spinner\" && <Spinner className={cn(\"absolute inset-0 flex items-center justify-center stack-button-do-not-hide-when-siblings-are\", !loading && \"invisible\")} />}\n <Slottable>\n {typeof children === \"string\" ? <span>{children}</span> : children}\n </Slottable>\n </OriginalButton>\n );\n }\n);\nButton.displayName = \"Button\";\n\nexport { Button, ButtonProps, buttonVariants };\n\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.js","names":["Slot","Spinner","Slottable"],"sources":["../../../src/components/ui/button.tsx"],"sourcesContent":["import { Slot, Slottable } from \"@radix-ui/react-slot\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\n\nimport { useAsyncCallback } from \"@hexclave/shared/dist/hooks/use-async-callback\";\nimport { runAsynchronouslyWithAlert } from \"@hexclave/shared/dist/utils/promises\";\nimport { cn } from \"../../lib/utils\";\nimport { Spinner } from \"./spinner\";\n\nconst buttonVariants = cva(\n \"stack-scope inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground hover:bg-primary/90\",\n destructive:\n \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n outline:\n \"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\n ghost: \"hover:bg-accent hover:text-accent-foreground\",\n link: \"text-primary underline-offset-4 hover:underline\",\n plain: \"\",\n },\n size: {\n default: \"h-9 px-4 py-2\",\n sm: \"h-8 rounded-md px-3 text-xs\",\n lg: \"h-10 rounded-md px-8\",\n icon: \"h-9 w-9\",\n plain: \"\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nexport type OriginalButtonProps = {\n asChild?: boolean,\n} & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>\n\nconst OriginalButton = forwardRefIfNeeded<HTMLButtonElement, OriginalButtonProps>(\n ({ className, variant, size, asChild = false, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(buttonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n />\n );\n }\n);\nOriginalButton.displayName = \"Button\";\n\ntype ButtonProps = {\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>,\n loading?: boolean,\n loadingStyle?: \"spinner\" | \"disabled\",\n} & OriginalButtonProps\n\nconst Button = forwardRefIfNeeded<HTMLButtonElement, ButtonProps>(\n ({ onClick, loading: loadingProp, loadingStyle = \"spinner\", children, size, ...props }, ref) => {\n const [handleClick, isLoading] = useAsyncCallback(async (e: React.MouseEvent<HTMLButtonElement>) => {\n await onClick?.(e);\n }, [onClick]);\n\n const loading = loadingProp || isLoading;\n\n return (\n <OriginalButton\n {...props}\n ref={ref}\n disabled={props.disabled || loading}\n onClick={(e) => runAsynchronouslyWithAlert(handleClick(e))}\n size={size}\n className={cn(\"relative\", loading && \"[&>:not(.stack-button-do-not-hide-when-siblings-are)]:invisible\", props.className)}\n >\n {loadingStyle === \"spinner\" && <Spinner className={cn(\"absolute inset-0 flex items-center justify-center stack-button-do-not-hide-when-siblings-are\", !loading && \"invisible\")} />}\n <Slottable>\n {typeof children === \"string\" ? <span>{children}</span> : children}\n </Slottable>\n </OriginalButton>\n );\n }\n);\nButton.displayName = \"Button\";\n\nexport { Button, ButtonProps, buttonVariants };\n\n"],"mappings":";;;;;;;;;;;;;AAUA,MAAM,kBAAA,GAAA,yBAAA,IAAA,CACJ,iOACA;CACE,UAAU;EACR,SAAS;GACP,SACE;GACF,aACE;GACF,SACE;GACF,WACE;GACF,OAAO;GACP,MAAM;GACN,OAAO;EACT;EACA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;GACJ,MAAM;GACN,OAAO;EACT;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF;AAMA,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EACH,EAAE,WAAW,SAAS,MAAM,UAAU,OAAO,GAAG,SAAS,QAAQ;CAEhE,OACE,iBAAA,GAAA,kBAAA,IAAA,CAFW,UAAUA,qBAAAA,OAAO,UAE5B;EACE,YAAA,GAAA,mBAAA,GAAA,CAAc,eAAe;GAAE;GAAS;GAAM;EAAU,CAAC,CAAC;EACrD;EACL,GAAI;CACL,CAAA;AAEL,CACF;AACA,eAAe,cAAc;AAQ7B,MAAM,UAAA,GAAA,kCAAA,mBAAA,EACH,EAAE,SAAS,SAAS,aAAa,eAAe,WAAW,UAAU,MAAM,GAAG,SAAS,QAAQ;CAC9F,MAAM,CAAC,aAAa,cAAA,GAAA,+CAAA,iBAAA,CAA8B,OAAO,MAA2C;EAClG,MAAM,UAAU,CAAC;CACnB,GAAG,CAAC,OAAO,CAAC;CAEZ,MAAM,UAAU,eAAe;CAE/B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,gBAAD;EACE,GAAI;EACC;EACL,UAAU,MAAM,YAAY;EAC5B,UAAU,OAAA,GAAA,qCAAA,2BAAA,CAAiC,YAAY,CAAC,CAAC;EACnD;EACN,YAAA,GAAA,mBAAA,GAAA,CAAc,YAAY,WAAW,mEAAmE,MAAM,SAAS;YANzH,CAQG,iBAAiB,aAAa,iBAAA,GAAA,kBAAA,IAAA,CAACC,aAAAA,SAAD,EAAS,YAAA,GAAA,mBAAA,GAAA,CAAc,gGAAgG,CAAC,WAAW,WAAW,EAAI,CAAA,GACjL,iBAAA,GAAA,kBAAA,IAAA,CAACC,qBAAAA,WAAD,EAAA,UACG,OAAO,aAAa,WAAW,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAO,SAAe,CAAA,IAAI,SACjD,CAAA,CACG;;AAEpB,CACF;AACA,OAAO,cAAc"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { DayPicker } from "react-day-picker";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/calendar.d.ts
|
|
6
|
-
type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
7
|
-
declare function Calendar({
|
|
8
|
-
className,
|
|
9
|
-
classNames,
|
|
10
|
-
showOutsideDays,
|
|
11
|
-
...props
|
|
12
|
-
}: CalendarProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
-
declare namespace Calendar {
|
|
14
|
-
var displayName: string;
|
|
15
|
-
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { Calendar, CalendarProps };
|
|
18
|
-
//# sourceMappingURL=calendar.d.ts.map
|
|
1
|
+
import { n as CalendarProps, t as Calendar } from "../../calendar-Cm6dI-sl.js";
|
|
2
|
+
export { Calendar, CalendarProps };
|
|
@@ -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 _radix_ui_react_icons = require("@radix-ui/react-icons");
|
|
9
8
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
9
|
let react_day_picker = require("react-day-picker");
|
|
11
10
|
let __button_js = require("./button.js");
|
|
12
|
-
|
|
13
11
|
//#region src/components/ui/calendar.tsx
|
|
14
12
|
function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
15
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_day_picker.DayPicker, {
|
|
@@ -46,7 +44,7 @@ function Calendar({ className, classNames, showOutsideDays = true, ...props }) {
|
|
|
46
44
|
});
|
|
47
45
|
}
|
|
48
46
|
Calendar.displayName = "Calendar";
|
|
49
|
-
|
|
50
47
|
//#endregion
|
|
51
48
|
exports.Calendar = Calendar;
|
|
49
|
+
|
|
52
50
|
//# sourceMappingURL=calendar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.js","names":["DayPicker","ChevronLeftIcon","ChevronRightIcon"],"sources":["../../../src/components/ui/calendar.tsx"],"sourcesContent":["\"use client\";\n\nimport { ChevronLeftIcon, ChevronRightIcon } from \"@radix-ui/react-icons\";\nimport React from \"react\";\nimport { DayPicker } from \"react-day-picker\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nexport type CalendarProps = React.ComponentProps<typeof DayPicker>\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n ...props\n}: CalendarProps) {\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\"stack-scope p-3\", className)}\n classNames={{\n months: \"flex flex-col sm:flex-row\",\n month: \"space-y-4\",\n month_caption: \"flex justify-center pt-1 relative items-center\",\n caption_label: \"text-sm font-medium\",\n nav: \"absolute left-0 right-0\",\n button_previous: cn(\n buttonVariants({ variant: \"outline\" }),\n \"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute left-3 z-10\"\n ),\n button_next: cn(\n buttonVariants({ variant: \"outline\" }),\n \"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute right-3 z-10\"\n ),\n month_grid: \"w-full border-collapse space-y-1\",\n weekdays: \"flex\",\n weekday:\n \"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]\",\n week: \"flex w-full mt-2\",\n day: cn(\n \"relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].outside)]:bg-accent/50 [&:has([aria-selected].range_end)]:rounded-r-md\",\n props.mode === \"range\"\n ? \"[&:has(>.range_end)]:rounded-r-md [&:has(>.range_start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md\"\n : \"[&:has([aria-selected])]:rounded-md\"\n ),\n day_button: cn(\n buttonVariants({ variant: \"ghost\" }),\n \"h-8 w-8 p-0 font-normal aria-selected:opacity-100 hover:bg-primary hover:text-primary-foreground\"\n ),\n range_start: \"range_start\",\n range_end: \"range_end\",\n selected:\n \"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground rounded-md\",\n outside:\n \"opacity-50\",\n disabled: \"text-muted-foreground opacity-50\",\n range_middle:\n \"aria-selected:bg-accent aria-selected:text-accent-foreground\",\n hidden: \"invisible\",\n ...classNames,\n }}\n components={{\n Chevron: (props) => {\n if (props.orientation === \"left\") {\n return <ChevronLeftIcon className=\"h-4 w-4\" />;\n }\n return <ChevronRightIcon className=\"h-4 w-4\" />;\n },\n }}\n {...props}\n />\n );\n}\nCalendar.displayName = \"Calendar\";\n\nexport { Calendar };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"calendar.js","names":["DayPicker","ChevronLeftIcon","ChevronRightIcon"],"sources":["../../../src/components/ui/calendar.tsx"],"sourcesContent":["\"use client\";\n\nimport { ChevronLeftIcon, ChevronRightIcon } from \"@radix-ui/react-icons\";\nimport React from \"react\";\nimport { DayPicker } from \"react-day-picker\";\n\nimport { cn } from \"../../lib/utils\";\nimport { buttonVariants } from \"./button\";\n\nexport type CalendarProps = React.ComponentProps<typeof DayPicker>\n\nfunction Calendar({\n className,\n classNames,\n showOutsideDays = true,\n ...props\n}: CalendarProps) {\n return (\n <DayPicker\n showOutsideDays={showOutsideDays}\n className={cn(\"stack-scope p-3\", className)}\n classNames={{\n months: \"flex flex-col sm:flex-row\",\n month: \"space-y-4\",\n month_caption: \"flex justify-center pt-1 relative items-center\",\n caption_label: \"text-sm font-medium\",\n nav: \"absolute left-0 right-0\",\n button_previous: cn(\n buttonVariants({ variant: \"outline\" }),\n \"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute left-3 z-10\"\n ),\n button_next: cn(\n buttonVariants({ variant: \"outline\" }),\n \"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100 absolute right-3 z-10\"\n ),\n month_grid: \"w-full border-collapse space-y-1\",\n weekdays: \"flex\",\n weekday:\n \"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]\",\n week: \"flex w-full mt-2\",\n day: cn(\n \"relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].outside)]:bg-accent/50 [&:has([aria-selected].range_end)]:rounded-r-md\",\n props.mode === \"range\"\n ? \"[&:has(>.range_end)]:rounded-r-md [&:has(>.range_start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md\"\n : \"[&:has([aria-selected])]:rounded-md\"\n ),\n day_button: cn(\n buttonVariants({ variant: \"ghost\" }),\n \"h-8 w-8 p-0 font-normal aria-selected:opacity-100 hover:bg-primary hover:text-primary-foreground\"\n ),\n range_start: \"range_start\",\n range_end: \"range_end\",\n selected:\n \"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground rounded-md\",\n outside:\n \"opacity-50\",\n disabled: \"text-muted-foreground opacity-50\",\n range_middle:\n \"aria-selected:bg-accent aria-selected:text-accent-foreground\",\n hidden: \"invisible\",\n ...classNames,\n }}\n components={{\n Chevron: (props) => {\n if (props.orientation === \"left\") {\n return <ChevronLeftIcon className=\"h-4 w-4\" />;\n }\n return <ChevronRightIcon className=\"h-4 w-4\" />;\n },\n }}\n {...props}\n />\n );\n}\nCalendar.displayName = \"Calendar\";\n\nexport { Calendar };\n"],"mappings":";;;;;;;;;;;AAWA,SAAS,SAAS,EAChB,WACA,YACA,kBAAkB,MAClB,GAAG,SACa;CAChB,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,iBAAAA,WAAD;EACmB;EACjB,YAAA,GAAA,mBAAA,GAAA,CAAc,mBAAmB,SAAS;EAC1C,YAAY;GACV,QAAQ;GACR,OAAO;GACP,eAAe;GACf,eAAe;GACf,KAAK;GACL,kBAAA,GAAA,mBAAA,GAAA,EAAA,GAAA,YAAA,eAAA,CACiB,EAAE,SAAS,UAAU,CAAC,GACrC,8EACF;GACA,cAAA,GAAA,mBAAA,GAAA,EAAA,GAAA,YAAA,eAAA,CACiB,EAAE,SAAS,UAAU,CAAC,GACrC,+EACF;GACA,YAAY;GACZ,UAAU;GACV,SACE;GACF,MAAM;GACN,MAAA,GAAA,mBAAA,GAAA,CACE,6MACA,MAAM,SAAS,UACX,iKACA,qCACN;GACA,aAAA,GAAA,mBAAA,GAAA,EAAA,GAAA,YAAA,eAAA,CACiB,EAAE,SAAS,QAAQ,CAAC,GACnC,kGACF;GACA,aAAa;GACb,WAAW;GACX,UACE;GACF,SACE;GACF,UAAU;GACV,cACE;GACF,QAAQ;GACR,GAAG;EACL;EACA,YAAY,EACV,UAAU,UAAU;GAClB,IAAI,MAAM,gBAAgB,QACxB,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,iBAAD,EAAiB,WAAU,UAAW,CAAA;GAE/C,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,kBAAD,EAAkB,WAAU,UAAW,CAAA;EAChD,EACF;EACA,GAAI;CACL,CAAA;AAEL;AACA,SAAS,cAAc"}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/components/ui/card.d.ts
|
|
4
|
-
declare const Card: react.FC<react.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
6
|
-
}>;
|
|
7
|
-
declare const CardHeader: react.FC<react.HTMLAttributes<HTMLDivElement> & {
|
|
8
|
-
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
declare const CardTitle: react.FC<react.HTMLAttributes<HTMLHeadingElement> & {
|
|
11
|
-
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
12
|
-
}>;
|
|
13
|
-
declare const CardDescription: react.FC<react.HTMLAttributes<HTMLParagraphElement> & {
|
|
14
|
-
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
15
|
-
}>;
|
|
16
|
-
declare const CardContent: react.FC<react.HTMLAttributes<HTMLDivElement> & {
|
|
17
|
-
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
declare const CardSubtitle: react.FC<react.HTMLAttributes<HTMLParagraphElement> & {
|
|
20
|
-
ref?: react.Ref<HTMLParagraphElement> | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
declare const CardFooter: react.FC<react.HTMLAttributes<HTMLDivElement> & {
|
|
23
|
-
ref?: react.Ref<HTMLDivElement> | undefined;
|
|
24
|
-
}>;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardSubtitle, CardTitle };
|
|
27
|
-
//# sourceMappingURL=card.d.ts.map
|
|
1
|
+
import { a as CardHeader, i as CardFooter, n as CardContent, o as CardSubtitle, r as CardDescription, s as CardTitle, t as Card } from "../../card-zNadDkms.js";
|
|
2
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardSubtitle, CardTitle };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
2
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
2
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
3
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
5
4
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
6
|
-
|
|
7
5
|
//#region src/components/ui/card.tsx
|
|
8
6
|
const Card = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9
7
|
ref,
|
|
@@ -46,7 +44,6 @@ const CardFooter = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({
|
|
|
46
44
|
...props
|
|
47
45
|
}));
|
|
48
46
|
CardFooter.displayName = "CardFooter";
|
|
49
|
-
|
|
50
47
|
//#endregion
|
|
51
48
|
exports.Card = Card;
|
|
52
49
|
exports.CardContent = CardContent;
|
|
@@ -55,4 +52,5 @@ exports.CardFooter = CardFooter;
|
|
|
55
52
|
exports.CardHeader = CardHeader;
|
|
56
53
|
exports.CardSubtitle = CardSubtitle;
|
|
57
54
|
exports.CardTitle = CardTitle;
|
|
55
|
+
|
|
58
56
|
//# sourceMappingURL=card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Card = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-xl border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6 pb-0\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\"font-semibold leading-none tracking-tight capitalize\", className)}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardSubtitle = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <h4\n ref={ref}\n className={cn(\"text-sm text-muted-foreground font-bold\", className)}\n {...props}\n />\n));\n\nconst CardFooter = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardSubtitle, CardTitle };\n\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.js","names":[],"sources":["../../../src/components/ui/card.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Card = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n \"rounded-xl border bg-card text-card-foreground shadow-sm\",\n className\n )}\n {...props}\n />\n));\nCard.displayName = \"Card\";\n\nconst CardHeader = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex flex-col space-y-1.5 p-6 pb-0\", className)}\n {...props}\n />\n));\nCardHeader.displayName = \"CardHeader\";\n\nconst CardTitle = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn(\"font-semibold leading-none tracking-tight capitalize\", className)}\n {...props}\n />\n));\nCardTitle.displayName = \"CardTitle\";\n\nconst CardDescription = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n));\nCardDescription.displayName = \"CardDescription\";\n\nconst CardContent = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div ref={ref} className={cn(\"p-6\", className)} {...props} />\n));\nCardContent.displayName = \"CardContent\";\n\nconst CardSubtitle = forwardRefIfNeeded<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <h4\n ref={ref}\n className={cn(\"text-sm text-muted-foreground font-bold\", className)}\n {...props}\n />\n));\n\nconst CardFooter = forwardRefIfNeeded<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\"flex items-center p-6 pt-0\", className)}\n {...props}\n />\n));\nCardFooter.displayName = \"CardFooter\";\n\nexport { Card, CardContent, CardDescription, CardFooter, CardHeader, CardSubtitle, CardTitle };\n\n"],"mappings":";;;;;AAIA,MAAM,QAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,4DACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,KAAK,cAAc;AAEnB,MAAM,cAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,sCAAsC,SAAS;CAC7D,GAAI;AACL,CAAA,CACF;AACD,WAAW,cAAc;AAEzB,MAAM,aAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,wDAAwD,SAAS;CAC/E,GAAI;AACL,CAAA,CACF;AACD,UAAU,cAAc;AAExB,MAAM,mBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,iCAAiC,SAAS;CACxD,GAAI;AACL,CAAA,CACF;AACD,gBAAgB,cAAc;AAE9B,MAAM,eAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CAAU;CAAK,YAAA,GAAA,mBAAA,GAAA,CAAc,OAAO,SAAS;CAAG,GAAI;AAAQ,CAAA,CAC7D;AACD,YAAY,cAAc;AAE1B,MAAM,gBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,2CAA2C,SAAS;CAClE,GAAI;AACL,CAAA,CACF;AAED,MAAM,cAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,8BAA8B,SAAS;CACrD,GAAI;AACL,CAAA,CACF;AACD,WAAW,cAAc"}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/checkbox.d.ts
|
|
5
|
-
declare const Checkbox: React.FC<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
6
|
-
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Checkbox };
|
|
10
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
1
|
+
import { t as Checkbox } from "../../checkbox-CZveCMkD.js";
|
|
2
|
+
export { Checkbox };
|
|
@@ -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_checkbox = require("@radix-ui/react-checkbox");
|
|
12
|
-
_radix_ui_react_checkbox =
|
|
13
|
-
|
|
11
|
+
_radix_ui_react_checkbox = require_rolldown_runtime.__toESM(_radix_ui_react_checkbox);
|
|
14
12
|
//#region src/components/ui/checkbox.tsx
|
|
15
13
|
const Checkbox = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_checkbox.Root, {
|
|
16
14
|
ref,
|
|
@@ -22,7 +20,7 @@ const Checkbox = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ cl
|
|
|
22
20
|
})
|
|
23
21
|
}));
|
|
24
22
|
Checkbox.displayName = _radix_ui_react_checkbox.Root.displayName;
|
|
25
|
-
|
|
26
23
|
//#endregion
|
|
27
24
|
exports.Checkbox = Checkbox;
|
|
25
|
+
|
|
28
26
|
//# sourceMappingURL=checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.js","names":["CheckboxPrimitive","CheckIcon"],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport { CheckIcon } from \"@radix-ui/react-icons\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Checkbox = forwardRefIfNeeded<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn(\"flex items-center justify-center text-current\")}\n >\n <CheckIcon className=\"h-4 w-4\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n));\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"checkbox.js","names":["CheckboxPrimitive","CheckIcon"],"sources":["../../../src/components/ui/checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport { CheckIcon } from \"@radix-ui/react-icons\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Checkbox = forwardRefIfNeeded<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(\n \"stack-scope peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn(\"flex items-center justify-center text-current\")}\n >\n <CheckIcon className=\"h-4 w-4\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n));\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox };\n"],"mappings":";;;;;;;;;;;;AASA,MAAM,YAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,yBAAkB,MAAnB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,kRACA,SACF;CACA,GAAI;WAEJ,iBAAA,GAAA,kBAAA,IAAA,CAACA,yBAAkB,WAAnB;EACE,YAAA,GAAA,mBAAA,GAAA,CAAc,+CAA+C;YAE7D,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,WAAD,EAAW,WAAU,UAAW,CAAA;CACL,CAAA;AACP,CAAA,CACzB;AACD,SAAS,cAAcD,yBAAkB,KAAK"}
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/collapsible.d.ts
|
|
5
|
-
declare const Collapsible: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const CollapsibleContent: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
10
|
-
//# sourceMappingURL=collapsible.d.ts.map
|
|
1
|
+
import { n as CollapsibleContent, r as CollapsibleTrigger, t as Collapsible } from "../../collapsible-BGCYUDWQ.js";
|
|
2
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -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 _radix_ui_react_collapsible = require("@radix-ui/react-collapsible");
|
|
6
|
-
_radix_ui_react_collapsible =
|
|
7
|
-
|
|
5
|
+
_radix_ui_react_collapsible = require_rolldown_runtime.__toESM(_radix_ui_react_collapsible);
|
|
8
6
|
//#region src/components/ui/collapsible.tsx
|
|
9
7
|
const Collapsible = _radix_ui_react_collapsible.Root;
|
|
10
8
|
const CollapsibleTrigger = _radix_ui_react_collapsible.CollapsibleTrigger;
|
|
11
9
|
const CollapsibleContent = _radix_ui_react_collapsible.CollapsibleContent;
|
|
12
|
-
|
|
13
10
|
//#endregion
|
|
14
11
|
exports.Collapsible = Collapsible;
|
|
15
12
|
exports.CollapsibleContent = CollapsibleContent;
|
|
16
13
|
exports.CollapsibleTrigger = CollapsibleTrigger;
|
|
14
|
+
|
|
17
15
|
//# sourceMappingURL=collapsible.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.js","names":["CollapsiblePrimitive"],"sources":["../../../src/components/ui/collapsible.tsx"],"sourcesContent":["\"use client\";\n\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\n\nconst Collapsible = CollapsiblePrimitive.Root;\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"collapsible.js","names":["CollapsiblePrimitive"],"sources":["../../../src/components/ui/collapsible.tsx"],"sourcesContent":["\"use client\";\n\nimport * as CollapsiblePrimitive from \"@radix-ui/react-collapsible\";\n\nconst Collapsible = CollapsiblePrimitive.Root;\n\nconst CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;\n\nconst CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;\n\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent };\n"],"mappings":";;;;;;AAIA,MAAM,cAAcA,4BAAqB;AAEzC,MAAM,qBAAqBA,4BAAqB;AAEhD,MAAM,qBAAqBA,4BAAqB"}
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { DialogProps } from "@radix-ui/react-dialog";
|
|
4
|
-
import { Command as Command$1 } from "cmdk";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/command.d.ts
|
|
7
|
-
declare const Command: React.FC<React.ComponentPropsWithoutRef<typeof Command$1>>;
|
|
8
|
-
type CommandDialogProps = {} & DialogProps;
|
|
9
|
-
declare const CommandDialog: ({
|
|
10
|
-
children,
|
|
11
|
-
...props
|
|
12
|
-
}: CommandDialogProps) => react_jsx_runtime0.JSX.Element;
|
|
13
|
-
declare const CommandInput: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.Input>>;
|
|
14
|
-
declare const CommandList: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.List>>;
|
|
15
|
-
declare const CommandEmpty: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.Empty>>;
|
|
16
|
-
declare const CommandGroup: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.Group>>;
|
|
17
|
-
declare const CommandSeparator: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.Separator>>;
|
|
18
|
-
declare const CommandItem: React.FC<React.ComponentPropsWithoutRef<typeof Command$1.Item>>;
|
|
19
|
-
declare const CommandShortcut: {
|
|
20
|
-
({
|
|
21
|
-
className,
|
|
22
|
-
...props
|
|
23
|
-
}: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime0.JSX.Element;
|
|
24
|
-
displayName: string;
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
28
|
-
//# sourceMappingURL=command.d.ts.map
|
|
1
|
+
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "../../command-Cyfe0FJ4.js";
|
|
2
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -1,20 +1,18 @@
|
|
|
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 cmdk = require("cmdk");
|
|
12
11
|
let __dialog_js = require("./dialog.js");
|
|
13
|
-
|
|
14
12
|
//#region src/components/ui/command.tsx
|
|
15
13
|
const Command = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(cmdk.Command, {
|
|
16
14
|
ref,
|
|
17
|
-
className: (0, ______lib_utils_js.cn)("stack-scope flex h-full w-full flex-col overflow-hidden rounded-md bg-
|
|
15
|
+
className: (0, ______lib_utils_js.cn)("stack-scope flex h-full w-full flex-col overflow-hidden rounded-md bg-white text-popover-foreground dark:bg-popover", className),
|
|
18
16
|
...props
|
|
19
17
|
}));
|
|
20
18
|
Command.displayName = cmdk.Command.displayName;
|
|
@@ -77,7 +75,6 @@ const CommandShortcut = ({ className, ...props }) => {
|
|
|
77
75
|
});
|
|
78
76
|
};
|
|
79
77
|
CommandShortcut.displayName = "CommandShortcut";
|
|
80
|
-
|
|
81
78
|
//#endregion
|
|
82
79
|
exports.Command = Command;
|
|
83
80
|
exports.CommandDialog = CommandDialog;
|
|
@@ -88,4 +85,5 @@ exports.CommandItem = CommandItem;
|
|
|
88
85
|
exports.CommandList = CommandList;
|
|
89
86
|
exports.CommandSeparator = CommandSeparator;
|
|
90
87
|
exports.CommandShortcut = CommandShortcut;
|
|
88
|
+
|
|
91
89
|
//# sourceMappingURL=command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.js","names":["CommandPrimitive","Dialog","DialogContent","DialogBody","MagnifyingGlassIcon"],"sources":["../../../src/components/ui/command.tsx"],"sourcesContent":["\"use client\";\n\nimport { type DialogProps } from \"@radix-ui/react-dialog\";\nimport { MagnifyingGlassIcon } from \"@radix-ui/react-icons\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { Command as CommandPrimitive } from \"cmdk\";\nimport React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { Dialog, DialogBody, DialogContent } from \"./dialog\";\n\nconst Command: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive\n ref={ref}\n className={cn(\n \"stack-scope flex h-full w-full flex-col overflow-hidden rounded-md bg-
|
|
1
|
+
{"version":3,"file":"command.js","names":["CommandPrimitive","Dialog","DialogContent","DialogBody","MagnifyingGlassIcon"],"sources":["../../../src/components/ui/command.tsx"],"sourcesContent":["\"use client\";\n\nimport { type DialogProps } from \"@radix-ui/react-dialog\";\nimport { MagnifyingGlassIcon } from \"@radix-ui/react-icons\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { Command as CommandPrimitive } from \"cmdk\";\nimport React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\nimport { Dialog, DialogBody, DialogContent } from \"./dialog\";\n\nconst Command: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive\n ref={ref}\n className={cn(\n \"stack-scope flex h-full w-full flex-col overflow-hidden rounded-md bg-white text-popover-foreground dark:bg-popover\",\n className\n )}\n {...props}\n />\n));\nCommand.displayName = CommandPrimitive.displayName;\n\ntype CommandDialogProps = {} & DialogProps\n\nconst CommandDialog = ({ children, ...props }: CommandDialogProps) => {\n return (\n <Dialog {...props}>\n <DialogContent className=\"overflow-hidden p-0\">\n <DialogBody>\n <Command className=\"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5\">\n {children}\n </Command>\n </DialogBody>\n </DialogContent>\n </Dialog>\n );\n};\n\nconst CommandInput: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.Input>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>\n>(({ className, ...props }, ref) => (\n <div className=\"flex items-center border-b px-3\" cmdk-input-wrapper=\"\">\n <MagnifyingGlassIcon className=\"mr-2 h-4 w-4 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n ref={ref}\n className={cn(\n \"flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n {...props}\n />\n </div>\n));\n\nCommandInput.displayName = CommandPrimitive.Input.displayName;\n\nconst CommandList: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.List>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.List\n ref={ref}\n className={cn(\"max-h-[300px] overflow-y-auto overflow-x-hidden\", className)}\n {...props}\n />\n));\n\nCommandList.displayName = CommandPrimitive.List.displayName;\n\nconst CommandEmpty: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.Empty>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>\n>((props, ref) => (\n <CommandPrimitive.Empty\n ref={ref}\n className=\"py-6 text-center text-sm\"\n {...props}\n />\n));\n\nCommandEmpty.displayName = CommandPrimitive.Empty.displayName;\n\nconst CommandGroup: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Group\n ref={ref}\n className={cn(\n \"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground\",\n className\n )}\n {...props}\n />\n));\n\nCommandGroup.displayName = CommandPrimitive.Group.displayName;\n\nconst CommandSeparator: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Separator\n ref={ref}\n className={cn(\"-mx-1 h-px bg-border\", className)}\n {...props}\n />\n));\nCommandSeparator.displayName = CommandPrimitive.Separator.displayName;\n\nconst CommandItem: React.FC<React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>> = forwardRefIfNeeded<\n React.ElementRef<typeof CommandPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.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 aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50\",\n className\n )}\n {...props}\n />\n));\n\nCommandItem.displayName = CommandPrimitive.Item.displayName;\n\nconst CommandShortcut = ({\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};\nCommandShortcut.displayName = \"CommandShortcut\";\n\nexport {\n Command,\n CommandDialog,\n CommandEmpty,\n CommandGroup,\n CommandInput,\n CommandItem,\n CommandList,\n CommandSeparator,\n CommandShortcut,\n};\n"],"mappings":";;;;;;;;;;;;AAWA,MAAM,WAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,SAAD;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,uHACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,QAAQ,cAAcA,KAAAA,QAAiB;AAIvC,MAAM,iBAAiB,EAAE,UAAU,GAAG,YAAgC;CACpE,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,QAAD;EAAQ,GAAI;YACV,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,eAAD;GAAe,WAAU;aACvB,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,YAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,SAAD;IAAS,WAAU;IAChB;GACM,CAAA,EACC,CAAA;EACC,CAAA;CACT,CAAA;AAEZ;AAEA,MAAM,gBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;CAAK,WAAU;CAAkC,sBAAmB;WAApE,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,sBAAAA,qBAAD,EAAqB,WAAU,mCAAoC,CAAA,GACnE,iBAAA,GAAA,kBAAA,IAAA,CAACJ,KAAAA,QAAiB,OAAlB;EACO;EACL,YAAA,GAAA,mBAAA,GAAA,CACE,0JACA,SACF;EACA,GAAI;CACL,CAAA,CACE;EACN;AAED,aAAa,cAAcA,KAAAA,QAAiB,MAAM;AAElD,MAAM,eAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAiB,MAAlB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,mDAAmD,SAAS;CAC1E,GAAI;AACL,CAAA,CACF;AAED,YAAY,cAAcA,KAAAA,QAAiB,KAAK;AAEhD,MAAM,gBAAA,GAAA,kCAAA,mBAAA,EAGH,OAAO,QACR,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAiB,OAAlB;CACO;CACL,WAAU;CACV,GAAI;AACL,CAAA,CACF;AAED,aAAa,cAAcA,KAAAA,QAAiB,MAAM;AAElD,MAAM,gBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAiB,OAAlB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,0NACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AAED,aAAa,cAAcA,KAAAA,QAAiB,MAAM;AAElD,MAAM,oBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAiB,WAAlB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,wBAAwB,SAAS;CAC/C,GAAI;AACL,CAAA,CACF;AACD,iBAAiB,cAAcA,KAAAA,QAAiB,UAAU;AAE1D,MAAM,eAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,GAAG,SAAS,QAC1B,iBAAA,GAAA,kBAAA,IAAA,CAACA,KAAAA,QAAiB,MAAlB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CACE,2OACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AAED,YAAY,cAAcA,KAAAA,QAAiB,KAAK;AAEhD,MAAM,mBAAmB,EACvB,WACA,GAAG,YACwC;CAC3C,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACE,YAAA,GAAA,mBAAA,GAAA,CACE,yDACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;AACA,gBAAgB,cAAc"}
|
|
@@ -1,51 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/context-menu.d.ts
|
|
6
|
-
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
7
|
-
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
10
|
-
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
11
|
-
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const ContextMenuSubTrigger: React.FC<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
13
|
-
inset?: boolean;
|
|
14
|
-
} & {
|
|
15
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
16
|
-
}>;
|
|
17
|
-
declare const ContextMenuSubContent: React.FC<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
18
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
declare const ContextMenuContent: React.FC<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
22
|
-
}>;
|
|
23
|
-
declare const ContextMenuItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
24
|
-
inset?: boolean;
|
|
25
|
-
} & {
|
|
26
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
declare const ContextMenuCheckboxItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
29
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
declare const ContextMenuRadioItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
32
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
declare const ContextMenuLabel: React.FC<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
35
|
-
inset?: boolean;
|
|
36
|
-
} & {
|
|
37
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
declare const ContextMenuSeparator: React.FC<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
40
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
declare const ContextMenuShortcut: {
|
|
43
|
-
({
|
|
44
|
-
className,
|
|
45
|
-
...props
|
|
46
|
-
}: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime0.JSX.Element;
|
|
47
|
-
displayName: string;
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
51
|
-
//# sourceMappingURL=context-menu.d.ts.map
|
|
1
|
+
import { a as ContextMenuItem, c as ContextMenuRadioGroup, d as ContextMenuShortcut, f as ContextMenuSub, h as ContextMenuTrigger, i as ContextMenuGroup, l as ContextMenuRadioItem, m as ContextMenuSubTrigger, n as ContextMenuCheckboxItem, o as ContextMenuLabel, p as ContextMenuSubContent, r as ContextMenuContent, s as ContextMenuPortal, t as ContextMenu, u as ContextMenuSeparator } from "../../context-menu-D5-FvPFJ.js";
|
|
2
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
@@ -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_context_menu = require("@radix-ui/react-context-menu");
|
|
12
|
-
_radix_ui_react_context_menu =
|
|
13
|
-
|
|
11
|
+
_radix_ui_react_context_menu = require_rolldown_runtime.__toESM(_radix_ui_react_context_menu);
|
|
14
12
|
//#region src/components/ui/context-menu.tsx
|
|
15
13
|
const ContextMenu = _radix_ui_react_context_menu.Root;
|
|
16
14
|
const ContextMenuTrigger = _radix_ui_react_context_menu.Trigger;
|
|
@@ -27,13 +25,13 @@ const ContextMenuSubTrigger = (0, _hexclave_shared_dist_utils_react.forwardRefIf
|
|
|
27
25
|
ContextMenuSubTrigger.displayName = _radix_ui_react_context_menu.SubTrigger.displayName;
|
|
28
26
|
const ContextMenuSubContent = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.SubContent, {
|
|
29
27
|
ref,
|
|
30
|
-
className: (0, ______lib_utils_js.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-
|
|
28
|
+
className: (0, ______lib_utils_js.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-black/[0.08] bg-white p-1 text-popover-foreground shadow-lg ring-1 ring-black/[0.06] dark:border-white/[0.08] dark:bg-popover dark:ring-white/[0.08] 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", className),
|
|
31
29
|
...props
|
|
32
30
|
}));
|
|
33
31
|
ContextMenuSubContent.displayName = _radix_ui_react_context_menu.SubContent.displayName;
|
|
34
32
|
const ContextMenuContent = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Portal, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_context_menu.Content, {
|
|
35
33
|
ref,
|
|
36
|
-
className: (0, ______lib_utils_js.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-
|
|
34
|
+
className: (0, ______lib_utils_js.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border border-black/[0.08] bg-white p-1 text-popover-foreground shadow-md ring-1 ring-black/[0.06] dark:border-white/[0.08] dark:bg-popover dark:ring-white/[0.08] 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", className),
|
|
37
35
|
...props
|
|
38
36
|
}) }));
|
|
39
37
|
ContextMenuContent.displayName = _radix_ui_react_context_menu.Content.displayName;
|
|
@@ -83,7 +81,6 @@ const ContextMenuShortcut = ({ className, ...props }) => {
|
|
|
83
81
|
});
|
|
84
82
|
};
|
|
85
83
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
86
|
-
|
|
87
84
|
//#endregion
|
|
88
85
|
exports.ContextMenu = ContextMenu;
|
|
89
86
|
exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem;
|
|
@@ -100,4 +97,5 @@ exports.ContextMenuSub = ContextMenuSub;
|
|
|
100
97
|
exports.ContextMenuSubContent = ContextMenuSubContent;
|
|
101
98
|
exports.ContextMenuSubTrigger = ContextMenuSubTrigger;
|
|
102
99
|
exports.ContextMenuTrigger = ContextMenuTrigger;
|
|
100
|
+
|
|
103
101
|
//# sourceMappingURL=context-menu.js.map
|