@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,7 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/components/ui/toaster.d.ts
|
|
4
|
-
declare function Toaster(): react_jsx_runtime0.JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Toaster };
|
|
7
|
-
//# sourceMappingURL=toaster.d.ts.map
|
|
1
|
+
import { t as Toaster } from "../../toaster-D1hq_EiX.js";
|
|
2
|
+
export { Toaster };
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
5
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
4
|
let __use_toast_js = require("./use-toast.js");
|
|
7
5
|
let __toast_js = require("./toast.js");
|
|
8
|
-
|
|
9
6
|
//#region src/components/ui/toaster.tsx
|
|
10
7
|
function Toaster() {
|
|
11
8
|
const { toasts } = (0, __use_toast_js.useToast)();
|
|
@@ -23,7 +20,7 @@ function Toaster() {
|
|
|
23
20
|
}, id);
|
|
24
21
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__toast_js.ToastViewport, {})] });
|
|
25
22
|
}
|
|
26
|
-
|
|
27
23
|
//#endregion
|
|
28
24
|
exports.Toaster = Toaster;
|
|
25
|
+
|
|
29
26
|
//# sourceMappingURL=toaster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toaster.js","names":["ToastProvider","Toast","ToastTitle","ToastDescription","ToastClose","ToastViewport"],"sources":["../../../src/components/ui/toaster.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n Toast,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport,\n} from \"./toast\";\nimport { useToast } from \"./use-toast\";\n\nexport function Toaster() {\n const { toasts } = useToast();\n\n return (\n <ToastProvider>\n {toasts.map(function ({ id, title, description, action, ...props }) {\n return (\n <Toast key={id} {...props}>\n <div className=\"stack-scope grid gap-1\">\n {title && <ToastTitle>{title}</ToastTitle>}\n {description && (\n <ToastDescription>{description}</ToastDescription>\n )}\n </div>\n {action}\n <ToastClose />\n </Toast>\n );\n })}\n <ToastViewport />\n </ToastProvider>\n );\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toaster.js","names":["ToastProvider","Toast","ToastTitle","ToastDescription","ToastClose","ToastViewport"],"sources":["../../../src/components/ui/toaster.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n Toast,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport,\n} from \"./toast\";\nimport { useToast } from \"./use-toast\";\n\nexport function Toaster() {\n const { toasts } = useToast();\n\n return (\n <ToastProvider>\n {toasts.map(function ({ id, title, description, action, ...props }) {\n return (\n <Toast key={id} {...props}>\n <div className=\"stack-scope grid gap-1\">\n {title && <ToastTitle>{title}</ToastTitle>}\n {description && (\n <ToastDescription>{description}</ToastDescription>\n )}\n </div>\n {action}\n <ToastClose />\n </Toast>\n );\n })}\n <ToastViewport />\n </ToastProvider>\n );\n}\n"],"mappings":";;;;;;AAYA,SAAgB,UAAU;CACxB,MAAM,EAAE,YAAA,GAAA,eAAA,SAAA,CAAoB;CAE5B,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACA,WAAAA,eAAD,EAAA,UAAA,CACG,OAAO,IAAI,SAAU,EAAE,IAAI,OAAO,aAAa,QAAQ,GAAG,SAAS;EAClE,OACE,iBAAA,GAAA,kBAAA,KAAA,CAACC,WAAAA,OAAD;GAAgB,GAAI;aAApB;IACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;KAAK,WAAU;eAAf,CACG,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAACC,WAAAA,YAAD,EAAA,UAAa,MAAkB,CAAA,GACxC,eACC,iBAAA,GAAA,kBAAA,IAAA,CAACC,WAAAA,kBAAD,EAAA,UAAmB,YAA8B,CAAA,CAEhD;;IACJ;IACD,iBAAA,GAAA,kBAAA,IAAA,CAACC,WAAAA,YAAD,CAAa,CAAA;GACR;KATK,EASL;CAEX,CAAC,GACD,iBAAA,GAAA,kBAAA,IAAA,CAACC,WAAAA,eAAD,CAAgB,CAAA,CACH,EAAA,CAAA;AAEnB"}
|
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/toggle-group.d.ts
|
|
7
|
-
declare const ToggleGroup: React.FC<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
8
|
-
variant?: "default" | "outline" | null | undefined;
|
|
9
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string>) & {
|
|
11
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
12
|
-
}>;
|
|
13
|
-
declare const ToggleGroupItem: React.FC<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
14
|
-
variant?: "default" | "outline" | null | undefined;
|
|
15
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
16
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
17
|
-
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
21
|
-
//# sourceMappingURL=toggle-group.d.ts.map
|
|
1
|
+
import { n as ToggleGroupItem, t as ToggleGroup } from "../../toggle-group-DViDiVTV.js";
|
|
2
|
+
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
9
|
let _radix_ui_react_toggle_group = require("@radix-ui/react-toggle-group");
|
|
11
|
-
_radix_ui_react_toggle_group =
|
|
10
|
+
_radix_ui_react_toggle_group = require_rolldown_runtime.__toESM(_radix_ui_react_toggle_group);
|
|
12
11
|
let __toggle_js = require("./toggle.js");
|
|
13
|
-
|
|
14
12
|
//#region src/components/ui/toggle-group.tsx
|
|
15
13
|
const ToggleGroupContext = react.default.createContext({
|
|
16
14
|
size: "default",
|
|
@@ -42,8 +40,8 @@ const ToggleGroupItem = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded
|
|
|
42
40
|
});
|
|
43
41
|
});
|
|
44
42
|
ToggleGroupItem.displayName = _radix_ui_react_toggle_group.Item.displayName;
|
|
45
|
-
|
|
46
43
|
//#endregion
|
|
47
44
|
exports.ToggleGroup = ToggleGroup;
|
|
48
45
|
exports.ToggleGroupItem = ToggleGroupItem;
|
|
46
|
+
|
|
49
47
|
//# sourceMappingURL=toggle-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.js","names":["React","ToggleGroupPrimitive"],"sources":["../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\nimport { toggleVariants } from \"./toggle\";\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({\n size: \"default\",\n variant: \"default\",\n});\n\nconst ToggleGroup = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center justify-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n }),\n className\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-group.js","names":["React","ToggleGroupPrimitive"],"sources":["../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\nimport { toggleVariants } from \"./toggle\";\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({\n size: \"default\",\n variant: \"default\",\n});\n\nconst ToggleGroup = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center justify-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = forwardRefIfNeeded<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n }),\n className\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":";;;;;;;;;;;;AAUA,MAAM,qBAAqBA,MAAAA,QAAM,cAE/B;CACA,MAAM;CACN,SAAS;AACX,CAAC;AAED,MAAM,eAAA,GAAA,kCAAA,mBAAA,EAIH,EAAE,WAAW,SAAS,MAAM,UAAU,GAAG,SAAS,QACnD,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAqB,MAAtB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,0CAA0C,SAAS;CACjE,GAAI;WAEJ,iBAAA,GAAA,kBAAA,IAAA,CAAC,mBAAmB,UAApB;EAA6B,OAAO;GAAE;GAAS;EAAK;EACjD;CAC0B,CAAA;AACJ,CAAA,CAC5B;AAED,YAAY,cAAcA,6BAAqB,KAAK;AAEpD,MAAM,mBAAA,GAAA,kCAAA,mBAAA,EAIH,EAAE,WAAW,UAAU,SAAS,MAAM,GAAG,SAAS,QAAQ;CAC3D,MAAM,UAAUD,MAAAA,QAAM,WAAW,kBAAkB;CAEnD,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAqB,MAAtB;EACO;EACL,YAAA,GAAA,mBAAA,GAAA,EAAA,GAAA,YAAA,eAAA,CACiB;GACb,SAAS,QAAQ,WAAW;GAC5B,MAAM,QAAQ,QAAQ;EACxB,CAAC,GACD,SACF;EACA,GAAI;EAEH;CACwB,CAAA;AAE/B,CAAC;AAED,gBAAgB,cAAcA,6BAAqB,KAAK"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
4
3
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
5
4
|
|
|
@@ -7,11 +6,11 @@ import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
|
7
6
|
declare const toggleVariants: (props?: ({
|
|
8
7
|
variant?: "default" | "outline" | null | undefined;
|
|
9
8
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
10
|
-
} &
|
|
9
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
10
|
declare const Toggle: React.FC<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
12
11
|
variant?: "default" | "outline" | null | undefined;
|
|
13
12
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
14
|
-
} &
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
15
14
|
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
16
15
|
}>;
|
|
17
16
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../../src/components/ui/toggle.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","names":[],"sources":["../../../src/components/ui/toggle.tsx"],"mappings":";;;;;cASM,cAAA,GAAc,KAAA;;;;cAsBd,MAAA,EAAM,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,eAAA,CAAA,WAAA,GAAA,KAAA,CAAA,aAAA,CAAA,iBAAA,YAAA,YAAA,EAAA,KAAA"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
10
9
|
let class_variance_authority = require("class-variance-authority");
|
|
11
10
|
let _radix_ui_react_toggle = require("@radix-ui/react-toggle");
|
|
12
|
-
_radix_ui_react_toggle =
|
|
13
|
-
|
|
11
|
+
_radix_ui_react_toggle = require_rolldown_runtime.__toESM(_radix_ui_react_toggle);
|
|
14
12
|
//#region src/components/ui/toggle.tsx
|
|
15
13
|
const toggleVariants = (0, class_variance_authority.cva)("stack-scope inline-flex items-center justify-center rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground", {
|
|
16
14
|
variants: {
|
|
@@ -39,8 +37,8 @@ const Toggle = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ clas
|
|
|
39
37
|
...props
|
|
40
38
|
}));
|
|
41
39
|
Toggle.displayName = _radix_ui_react_toggle.Root.displayName;
|
|
42
|
-
|
|
43
40
|
//#endregion
|
|
44
41
|
exports.Toggle = Toggle;
|
|
45
42
|
exports.toggleVariants = toggleVariants;
|
|
43
|
+
|
|
46
44
|
//# sourceMappingURL=toggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.js","names":["TogglePrimitive"],"sources":["../../../src/components/ui/toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst toggleVariants = cva(\n \"stack-scope inline-flex items-center justify-center rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-9 px-3\",\n sm: \"h-8 px-2\",\n lg: \"h-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nconst Toggle = forwardRefIfNeeded<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n));\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle, toggleVariants };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle.js","names":["TogglePrimitive"],"sources":["../../../src/components/ui/toggle.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst toggleVariants = cva(\n \"stack-scope inline-flex items-center justify-center rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-9 px-3\",\n sm: \"h-8 px-2\",\n lg: \"h-10 px-3\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n }\n);\n\nconst Toggle = forwardRefIfNeeded<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n));\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle, toggleVariants };\n"],"mappings":";;;;;;;;;;;;AASA,MAAM,kBAAA,GAAA,yBAAA,IAAA,CACJ,2TACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,SACE;EACJ;EACA,MAAM;GACJ,SAAS;GACT,IAAI;GACJ,IAAI;EACN;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF;AAEA,MAAM,UAAA,GAAA,kCAAA,mBAAA,EAIH,EAAE,WAAW,SAAS,MAAM,GAAG,SAAS,QACzC,iBAAA,GAAA,kBAAA,IAAA,CAACA,uBAAgB,MAAjB;CACO;CACL,YAAA,GAAA,mBAAA,GAAA,CAAc,eAAe;EAAE;EAAS;EAAM;CAAU,CAAC,CAAC;CAC1D,GAAI;AACL,CAAA,CACF;AAED,OAAO,cAAcA,uBAAgB,KAAK"}
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/tooltip.d.ts
|
|
5
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps & {
|
|
6
|
-
ref?: React.Ref<void> | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
9
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const TooltipPortal: React.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
11
|
-
declare const TooltipContent: React.FC<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
12
|
-
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger };
|
|
16
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
1
|
+
import { a as TooltipTrigger, i as TooltipProvider, n as TooltipContent, r as TooltipPortal, t as Tooltip } from "../../tooltip-Earz1C6g.js";
|
|
2
|
+
export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger };
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
5
4
|
let react = require("react");
|
|
6
|
-
react =
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
7
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
9
8
|
let _radix_ui_react_tooltip = require("@radix-ui/react-tooltip");
|
|
10
|
-
_radix_ui_react_tooltip =
|
|
9
|
+
_radix_ui_react_tooltip = require_rolldown_runtime.__toESM(_radix_ui_react_tooltip);
|
|
11
10
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
12
|
-
|
|
13
11
|
//#region src/components/ui/tooltip.tsx
|
|
14
12
|
const TooltipProvider = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)((props, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tooltip.Provider, {
|
|
15
13
|
delayDuration: 0,
|
|
@@ -22,15 +20,15 @@ const TooltipPortal = _radix_ui_react_tooltip.Portal;
|
|
|
22
20
|
const TooltipContent = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_tooltip.Content, {
|
|
23
21
|
ref,
|
|
24
22
|
sideOffset,
|
|
25
|
-
className: (0, ______lib_utils_js.cn)("stack-scope z-50 overflow-hidden rounded-md bg-
|
|
23
|
+
className: (0, ______lib_utils_js.cn)("stack-scope z-50 overflow-hidden rounded-md border border-black/[0.08] bg-white px-3 py-1.5 text-xs text-foreground shadow-md ring-1 ring-black/[0.06] dark:border-white/[0.08] dark:bg-primary dark:text-primary-foreground dark:ring-white/[0.08] animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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),
|
|
26
24
|
...props
|
|
27
25
|
}));
|
|
28
26
|
TooltipContent.displayName = _radix_ui_react_tooltip.Content.displayName;
|
|
29
|
-
|
|
30
27
|
//#endregion
|
|
31
28
|
exports.Tooltip = Tooltip;
|
|
32
29
|
exports.TooltipContent = TooltipContent;
|
|
33
30
|
exports.TooltipPortal = TooltipPortal;
|
|
34
31
|
exports.TooltipProvider = TooltipProvider;
|
|
35
32
|
exports.TooltipTrigger = TooltipTrigger;
|
|
33
|
+
|
|
36
34
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","names":["TooltipPrimitive"],"sources":["../../../src/components/ui/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst TooltipProvider = forwardRefIfNeeded<\n void,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>\n>((props, ref) => (\n <TooltipPrimitive.Provider\n delayDuration={0}\n {...props}\n />\n));\nTooltipProvider.displayName = TooltipPrimitive.Provider.displayName;\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipPortal = TooltipPrimitive.Portal;\n\nconst TooltipContent = forwardRefIfNeeded<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 overflow-hidden rounded-md bg-
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":["TooltipPrimitive"],"sources":["../../../src/components/ui/tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport React from \"react\";\nimport { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst TooltipProvider = forwardRefIfNeeded<\n void,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>\n>((props, ref) => (\n <TooltipPrimitive.Provider\n delayDuration={0}\n {...props}\n />\n));\nTooltipProvider.displayName = TooltipPrimitive.Provider.displayName;\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipPortal = TooltipPrimitive.Portal;\n\nconst TooltipContent = forwardRefIfNeeded<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"stack-scope z-50 overflow-hidden rounded-md border border-black/[0.08] bg-white px-3 py-1.5 text-xs text-foreground shadow-md ring-1 ring-black/[0.06] dark:border-white/[0.08] dark:bg-primary dark:text-primary-foreground dark:ring-white/[0.08] animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipPortal, TooltipProvider };\n"],"mappings":";;;;;;;;;;;AAQA,MAAM,mBAAA,GAAA,kCAAA,mBAAA,EAGH,OAAO,QACR,iBAAA,GAAA,kBAAA,IAAA,CAACA,wBAAiB,UAAlB;CACE,eAAe;CACf,GAAI;AACL,CAAA,CACF;AACD,gBAAgB,cAAcA,wBAAiB,SAAS;AAExD,MAAM,UAAUA,wBAAiB;AAEjC,MAAM,iBAAiBA,wBAAiB;AAExC,MAAM,gBAAgBA,wBAAiB;AAEvC,MAAM,kBAAA,GAAA,kCAAA,mBAAA,EAGH,EAAE,WAAW,aAAa,GAAG,GAAG,SAAS,QAC1C,iBAAA,GAAA,kBAAA,IAAA,CAACA,wBAAiB,SAAlB;CACO;CACO;CACZ,YAAA,GAAA,mBAAA,GAAA,CACE,khBACA,SACF;CACA,GAAI;AACL,CAAA,CACF;AACD,eAAe,cAAcA,wBAAiB,QAAQ"}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/typography.d.ts
|
|
6
|
-
declare const Typography: React.FC<React.HTMLAttributes<HTMLHeadingElement> & VariantProps<(props?: ({
|
|
7
|
-
type?: "div" | "h2" | "h3" | "label" | "p" | "h1" | "h4" | "footnote" | null | undefined;
|
|
8
|
-
variant?: "destructive" | "secondary" | "success" | "primary" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
10
|
-
ref?: React.Ref<HTMLHeadingElement> | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { Typography };
|
|
14
|
-
//# sourceMappingURL=typography.d.ts.map
|
|
1
|
+
import { t as Typography } from "../../typography-DCVZg-AC.js";
|
|
2
|
+
export { Typography };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value:
|
|
2
|
-
const
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime-D6vf50IK.js");
|
|
3
3
|
let react = require("react");
|
|
4
|
-
react =
|
|
4
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let _hexclave_shared_dist_utils_react = require("@hexclave/shared/dist/utils/react");
|
|
7
7
|
let ______lib_utils_js = require("../../lib/utils.js");
|
|
8
|
-
let class_variance_authority = require("class-variance-authority");
|
|
9
|
-
|
|
10
8
|
//#region src/components/ui/typography.tsx
|
|
11
|
-
const typographyVariants = (0,
|
|
9
|
+
const typographyVariants = (0, require("class-variance-authority").cva)("stack-scope text-md", {
|
|
12
10
|
variants: {
|
|
13
11
|
type: {
|
|
14
12
|
h1: "text-3xl font-bold",
|
|
@@ -44,7 +42,7 @@ const Typography = (0, _hexclave_shared_dist_utils_react.forwardRefIfNeeded)(({
|
|
|
44
42
|
});
|
|
45
43
|
});
|
|
46
44
|
Typography.displayName = "Typography";
|
|
47
|
-
|
|
48
45
|
//#endregion
|
|
49
46
|
exports.Typography = Typography;
|
|
47
|
+
|
|
50
48
|
//# sourceMappingURL=typography.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","names":[],"sources":["../../../src/components/ui/typography.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\nconst typographyVariants = cva(\"stack-scope text-md\", {\n variants: {\n type: {\n h1: \"text-3xl font-bold\",\n h2: \"text-2xl font-semibold\",\n h3: \"text-xl font-medium\",\n h4: \"text-lg font-medium\",\n p: \"text-md\",\n label: \"text-sm\",\n footnote: \"text-xs\",\n div: \"text-md\",\n },\n variant: {\n primary: \"text-black dark:text-white\",\n secondary: \"text-zinc-600 dark:text-zinc-400\",\n destructive: \"text-destructive\",\n success: \"text-green-500\",\n },\n },\n defaultVariants: {\n type: \"p\",\n variant: \"primary\",\n },\n});\n\ntype TypographyProps = {} & React.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof typographyVariants>\n\nconst Typography = forwardRefIfNeeded<HTMLHeadingElement, TypographyProps>(\n ({ className, type, variant, ...props }, ref) => {\n const Comp = (type === 'footnote' || type === 'label' ? 'p' : type) || 'p';\n return (\n <Comp\n className={cn(typographyVariants({ type, variant, className }))}\n ref={ref}\n {...props}\n />\n );\n },\n);\nTypography.displayName = \"Typography\";\n\nexport { Typography };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"typography.js","names":[],"sources":["../../../src/components/ui/typography.tsx"],"sourcesContent":["import { forwardRefIfNeeded } from \"@hexclave/shared/dist/utils/react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\nconst typographyVariants = cva(\"stack-scope text-md\", {\n variants: {\n type: {\n h1: \"text-3xl font-bold\",\n h2: \"text-2xl font-semibold\",\n h3: \"text-xl font-medium\",\n h4: \"text-lg font-medium\",\n p: \"text-md\",\n label: \"text-sm\",\n footnote: \"text-xs\",\n div: \"text-md\",\n },\n variant: {\n primary: \"text-black dark:text-white\",\n secondary: \"text-zinc-600 dark:text-zinc-400\",\n destructive: \"text-destructive\",\n success: \"text-green-500\",\n },\n },\n defaultVariants: {\n type: \"p\",\n variant: \"primary\",\n },\n});\n\ntype TypographyProps = {} & React.HTMLAttributes<HTMLHeadingElement> & VariantProps<typeof typographyVariants>\n\nconst Typography = forwardRefIfNeeded<HTMLHeadingElement, TypographyProps>(\n ({ className, type, variant, ...props }, ref) => {\n const Comp = (type === 'footnote' || type === 'label' ? 'p' : type) || 'p';\n return (\n <Comp\n className={cn(typographyVariants({ type, variant, className }))}\n ref={ref}\n {...props}\n />\n );\n },\n);\nTypography.displayName = \"Typography\";\n\nexport { Typography };\n"],"mappings":";;;;;;;;AAKA,MAAM,sBAAA,qCAAA,CAAA,CAAA,IAAA,CAAyB,uBAAuB;CACpD,UAAU;EACR,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,GAAG;GACH,OAAO;GACP,UAAU;GACV,KAAK;EACP;EACA,SAAS;GACP,SAAS;GACT,WAAW;GACX,aAAa;GACb,SAAS;EACX;CACF;CACA,iBAAiB;EACf,MAAM;EACN,SAAS;CACX;AACF,CAAC;AAID,MAAM,cAAA,GAAA,kCAAA,mBAAA,EACH,EAAE,WAAW,MAAM,SAAS,GAAG,SAAS,QAAQ;CAE/C,OACE,iBAAA,GAAA,kBAAA,IAAA,EAFY,SAAS,cAAc,SAAS,UAAU,MAAM,SAAS,KAErE;EACE,YAAA,GAAA,mBAAA,GAAA,CAAc,mBAAmB;GAAE;GAAM;GAAS;EAAU,CAAC,CAAC;EACzD;EACL,GAAI;CACL,CAAA;AAEL,CACF;AACA,WAAW,cAAc"}
|
|
@@ -1,50 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/components/ui/use-toast.d.ts
|
|
5
|
-
type ToasterToast = ToastProps & {
|
|
6
|
-
id: string;
|
|
7
|
-
title?: React.ReactNode;
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
action?: ToastActionElement;
|
|
10
|
-
};
|
|
11
|
-
declare const actionTypes: {
|
|
12
|
-
readonly ADD_TOAST: "ADD_TOAST";
|
|
13
|
-
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
14
|
-
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
15
|
-
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
16
|
-
};
|
|
17
|
-
type ActionType = typeof actionTypes;
|
|
18
|
-
type Action = {
|
|
19
|
-
type: ActionType["ADD_TOAST"];
|
|
20
|
-
toast: ToasterToast;
|
|
21
|
-
} | {
|
|
22
|
-
type: ActionType["UPDATE_TOAST"];
|
|
23
|
-
toast: Partial<ToasterToast>;
|
|
24
|
-
} | {
|
|
25
|
-
type: ActionType["DISMISS_TOAST"];
|
|
26
|
-
toastId?: ToasterToast["id"];
|
|
27
|
-
} | {
|
|
28
|
-
type: ActionType["REMOVE_TOAST"];
|
|
29
|
-
toastId?: ToasterToast["id"];
|
|
30
|
-
};
|
|
31
|
-
type State = {
|
|
32
|
-
toasts: ToasterToast[];
|
|
33
|
-
};
|
|
34
|
-
declare const reducer: (state: State, action: Action) => State;
|
|
35
|
-
type Toast = Omit<ToasterToast, "id">;
|
|
36
|
-
declare function toast({
|
|
37
|
-
...props
|
|
38
|
-
}: Toast): {
|
|
39
|
-
id: string;
|
|
40
|
-
dismiss: () => void;
|
|
41
|
-
update: (props: ToasterToast) => void;
|
|
42
|
-
};
|
|
43
|
-
declare function useToast(): {
|
|
44
|
-
toast: typeof toast;
|
|
45
|
-
dismiss: (toastId?: string) => void;
|
|
46
|
-
toasts: ToasterToast[];
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { reducer, toast, useToast };
|
|
50
|
-
//# sourceMappingURL=use-toast.d.ts.map
|
|
1
|
+
import { n as toast, r as useToast, t as reducer } from "../../use-toast-vZWO0yi1.js";
|
|
2
|
+
export { reducer, toast, useToast };
|
|
@@ -1,10 +1,8 @@
|
|
|
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 =
|
|
7
|
-
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
8
6
|
//#region src/components/ui/use-toast.tsx
|
|
9
7
|
const TOAST_LIMIT = 1;
|
|
10
8
|
const TOAST_REMOVE_DELAY = 1e6;
|
|
@@ -119,9 +117,9 @@ function useToast() {
|
|
|
119
117
|
})
|
|
120
118
|
};
|
|
121
119
|
}
|
|
122
|
-
|
|
123
120
|
//#endregion
|
|
124
121
|
exports.reducer = reducer;
|
|
125
122
|
exports.toast = toast;
|
|
126
123
|
exports.useToast = useToast;
|
|
124
|
+
|
|
127
125
|
//# sourceMappingURL=use-toast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-toast.js","names":["React"],"sources":["../../../src/components/ui/use-toast.tsx"],"sourcesContent":["\"use client\";\n\n// Inspired by react-hot-toast library\nimport React from \"react\";\n\nimport type {\n ToastActionElement,\n ToastProps,\n} from \"./toast\";\n\nconst TOAST_LIMIT = 1;\nconst TOAST_REMOVE_DELAY = 1000000;\n\ntype ToasterToast = ToastProps & {\n id: string,\n title?: React.ReactNode,\n description?: React.ReactNode,\n action?: ToastActionElement,\n}\n\nconst actionTypes = {\n ADD_TOAST: \"ADD_TOAST\",\n UPDATE_TOAST: \"UPDATE_TOAST\",\n DISMISS_TOAST: \"DISMISS_TOAST\",\n REMOVE_TOAST: \"REMOVE_TOAST\",\n} as const;\n\nlet count = 0;\n\nfunction genId() {\n count = (count + 1) % Number.MAX_SAFE_INTEGER;\n return count.toString();\n}\n\ntype ActionType = typeof actionTypes\n\ntype Action =\n | {\n type: ActionType[\"ADD_TOAST\"],\n toast: ToasterToast,\n }\n | {\n type: ActionType[\"UPDATE_TOAST\"],\n toast: Partial<ToasterToast>,\n }\n | {\n type: ActionType[\"DISMISS_TOAST\"],\n toastId?: ToasterToast[\"id\"],\n }\n | {\n type: ActionType[\"REMOVE_TOAST\"],\n toastId?: ToasterToast[\"id\"],\n }\n\ntype State = {\n toasts: ToasterToast[],\n}\n\nconst toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>();\n\nconst addToRemoveQueue = (toastId: string) => {\n if (toastTimeouts.has(toastId)) {\n return;\n }\n\n const timeout = setTimeout(() => {\n toastTimeouts.delete(toastId);\n dispatch({\n type: \"REMOVE_TOAST\",\n toastId: toastId,\n });\n }, TOAST_REMOVE_DELAY);\n\n toastTimeouts.set(toastId, timeout);\n};\n\nexport const reducer = (state: State, action: Action): State => {\n switch (action.type) {\n case \"ADD_TOAST\": {\n return {\n ...state,\n toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),\n };\n }\n case \"UPDATE_TOAST\": {\n return {\n ...state,\n toasts: state.toasts.map((t) =>\n t.id === action.toast.id ? { ...t, ...action.toast } : t\n ),\n };\n }\n case \"DISMISS_TOAST\": {\n const { toastId } = action;\n\n // ! Side effects ! - This could be extracted into a dismissToast() action,\n // but I'll keep it here for simplicity\n if (toastId) {\n addToRemoveQueue(toastId);\n } else {\n state.toasts.forEach((toast) => {\n addToRemoveQueue(toast.id);\n });\n }\n\n return {\n ...state,\n toasts: state.toasts.map((t) =>\n t.id === toastId || toastId === undefined\n ? {\n ...t,\n open: false,\n }\n : t\n ),\n };\n }\n case \"REMOVE_TOAST\": {\n if (action.toastId === undefined) {\n return {\n ...state,\n toasts: [],\n };\n }\n return {\n ...state,\n toasts: state.toasts.filter((t) => t.id !== action.toastId),\n };\n }\n }\n};\n\nconst listeners: Array<(state: State) => void> = [];\n\nlet memoryState: State = { toasts: [] };\n\nfunction dispatch(action: Action) {\n memoryState = reducer(memoryState, action);\n listeners.forEach((listener) => {\n listener(memoryState);\n });\n}\n\ntype Toast = Omit<ToasterToast, \"id\">\n\nfunction toast({ ...props }: Toast) {\n const id = genId();\n\n const update = (props: ToasterToast) =>\n dispatch({\n type: \"UPDATE_TOAST\",\n toast: { ...props, id },\n });\n const dismiss = () => dispatch({ type: \"DISMISS_TOAST\", toastId: id });\n\n dispatch({\n type: \"ADD_TOAST\",\n toast: {\n ...props,\n id,\n open: true,\n onOpenChange: (open) => {\n if (!open) dismiss();\n },\n },\n });\n\n return {\n id: id,\n dismiss,\n update,\n };\n}\n\nfunction useToast() {\n const [state, setState] = React.useState<State>(memoryState);\n\n React.useEffect(() => {\n listeners.push(setState);\n return () => {\n const index = listeners.indexOf(setState);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n };\n }, [state]);\n\n return {\n ...state,\n toast,\n dismiss: (toastId?: string) => dispatch({ type: \"DISMISS_TOAST\", toastId }),\n };\n}\n\nexport { useToast, toast };\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-toast.js","names":["React"],"sources":["../../../src/components/ui/use-toast.tsx"],"sourcesContent":["\"use client\";\n\n// Inspired by react-hot-toast library\nimport React from \"react\";\n\nimport type {\n ToastActionElement,\n ToastProps,\n} from \"./toast\";\n\nconst TOAST_LIMIT = 1;\nconst TOAST_REMOVE_DELAY = 1000000;\n\ntype ToasterToast = ToastProps & {\n id: string,\n title?: React.ReactNode,\n description?: React.ReactNode,\n action?: ToastActionElement,\n}\n\nconst actionTypes = {\n ADD_TOAST: \"ADD_TOAST\",\n UPDATE_TOAST: \"UPDATE_TOAST\",\n DISMISS_TOAST: \"DISMISS_TOAST\",\n REMOVE_TOAST: \"REMOVE_TOAST\",\n} as const;\n\nlet count = 0;\n\nfunction genId() {\n count = (count + 1) % Number.MAX_SAFE_INTEGER;\n return count.toString();\n}\n\ntype ActionType = typeof actionTypes\n\ntype Action =\n | {\n type: ActionType[\"ADD_TOAST\"],\n toast: ToasterToast,\n }\n | {\n type: ActionType[\"UPDATE_TOAST\"],\n toast: Partial<ToasterToast>,\n }\n | {\n type: ActionType[\"DISMISS_TOAST\"],\n toastId?: ToasterToast[\"id\"],\n }\n | {\n type: ActionType[\"REMOVE_TOAST\"],\n toastId?: ToasterToast[\"id\"],\n }\n\ntype State = {\n toasts: ToasterToast[],\n}\n\nconst toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>();\n\nconst addToRemoveQueue = (toastId: string) => {\n if (toastTimeouts.has(toastId)) {\n return;\n }\n\n const timeout = setTimeout(() => {\n toastTimeouts.delete(toastId);\n dispatch({\n type: \"REMOVE_TOAST\",\n toastId: toastId,\n });\n }, TOAST_REMOVE_DELAY);\n\n toastTimeouts.set(toastId, timeout);\n};\n\nexport const reducer = (state: State, action: Action): State => {\n switch (action.type) {\n case \"ADD_TOAST\": {\n return {\n ...state,\n toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),\n };\n }\n case \"UPDATE_TOAST\": {\n return {\n ...state,\n toasts: state.toasts.map((t) =>\n t.id === action.toast.id ? { ...t, ...action.toast } : t\n ),\n };\n }\n case \"DISMISS_TOAST\": {\n const { toastId } = action;\n\n // ! Side effects ! - This could be extracted into a dismissToast() action,\n // but I'll keep it here for simplicity\n if (toastId) {\n addToRemoveQueue(toastId);\n } else {\n state.toasts.forEach((toast) => {\n addToRemoveQueue(toast.id);\n });\n }\n\n return {\n ...state,\n toasts: state.toasts.map((t) =>\n t.id === toastId || toastId === undefined\n ? {\n ...t,\n open: false,\n }\n : t\n ),\n };\n }\n case \"REMOVE_TOAST\": {\n if (action.toastId === undefined) {\n return {\n ...state,\n toasts: [],\n };\n }\n return {\n ...state,\n toasts: state.toasts.filter((t) => t.id !== action.toastId),\n };\n }\n }\n};\n\nconst listeners: Array<(state: State) => void> = [];\n\nlet memoryState: State = { toasts: [] };\n\nfunction dispatch(action: Action) {\n memoryState = reducer(memoryState, action);\n listeners.forEach((listener) => {\n listener(memoryState);\n });\n}\n\ntype Toast = Omit<ToasterToast, \"id\">\n\nfunction toast({ ...props }: Toast) {\n const id = genId();\n\n const update = (props: ToasterToast) =>\n dispatch({\n type: \"UPDATE_TOAST\",\n toast: { ...props, id },\n });\n const dismiss = () => dispatch({ type: \"DISMISS_TOAST\", toastId: id });\n\n dispatch({\n type: \"ADD_TOAST\",\n toast: {\n ...props,\n id,\n open: true,\n onOpenChange: (open) => {\n if (!open) dismiss();\n },\n },\n });\n\n return {\n id: id,\n dismiss,\n update,\n };\n}\n\nfunction useToast() {\n const [state, setState] = React.useState<State>(memoryState);\n\n React.useEffect(() => {\n listeners.push(setState);\n return () => {\n const index = listeners.indexOf(setState);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n };\n }, [state]);\n\n return {\n ...state,\n toast,\n dismiss: (toastId?: string) => dispatch({ type: \"DISMISS_TOAST\", toastId }),\n };\n}\n\nexport { useToast, toast };\n"],"mappings":";;;;;;AAUA,MAAM,cAAc;AACpB,MAAM,qBAAqB;AAgB3B,IAAI,QAAQ;AAEZ,SAAS,QAAQ;CACf,SAAS,QAAQ,KAAK,OAAO;CAC7B,OAAO,MAAM,SAAS;AACxB;AA0BA,MAAM,gCAAgB,IAAI,IAA2C;AAErE,MAAM,oBAAoB,YAAoB;CAC5C,IAAI,cAAc,IAAI,OAAO,GAC3B;CAGF,MAAM,UAAU,iBAAiB;EAC/B,cAAc,OAAO,OAAO;EAC5B,SAAS;GACP,MAAM;GACG;EACX,CAAC;CACH,GAAG,kBAAkB;CAErB,cAAc,IAAI,SAAS,OAAO;AACpC;AAEA,MAAa,WAAW,OAAc,WAA0B;CAC9D,QAAQ,OAAO,MAAf;EACE,KAAK,aACH,OAAO;GACL,GAAG;GACH,QAAQ,CAAC,OAAO,OAAO,GAAG,MAAM,MAAM,CAAC,CAAC,MAAM,GAAG,WAAW;EAC9D;EAEF,KAAK,gBACH,OAAO;GACL,GAAG;GACH,QAAQ,MAAM,OAAO,KAAK,MACxB,EAAE,OAAO,OAAO,MAAM,KAAK;IAAE,GAAG;IAAG,GAAG,OAAO;GAAM,IAAI,CACzD;EACF;EAEF,KAAK,iBAAiB;GACpB,MAAM,EAAE,YAAY;GAIpB,IAAI,SACF,iBAAiB,OAAO;QAExB,MAAM,OAAO,SAAS,UAAU;IAC9B,iBAAiB,MAAM,EAAE;GAC3B,CAAC;GAGH,OAAO;IACL,GAAG;IACH,QAAQ,MAAM,OAAO,KAAK,MACxB,EAAE,OAAO,WAAW,YAAY,KAAA,IAC5B;KACA,GAAG;KACH,MAAM;IACR,IACE,CACN;GACF;EACF;EACA,KAAK;GACH,IAAI,OAAO,YAAY,KAAA,GACrB,OAAO;IACL,GAAG;IACH,QAAQ,CAAC;GACX;GAEF,OAAO;IACL,GAAG;IACH,QAAQ,MAAM,OAAO,QAAQ,MAAM,EAAE,OAAO,OAAO,OAAO;GAC5D;CAEJ;AACF;AAEA,MAAM,YAA2C,CAAC;AAElD,IAAI,cAAqB,EAAE,QAAQ,CAAC,EAAE;AAEtC,SAAS,SAAS,QAAgB;CAChC,cAAc,QAAQ,aAAa,MAAM;CACzC,UAAU,SAAS,aAAa;EAC9B,SAAS,WAAW;CACtB,CAAC;AACH;AAIA,SAAS,MAAM,EAAE,GAAG,SAAgB;CAClC,MAAM,KAAK,MAAM;CAEjB,MAAM,UAAU,UACd,SAAS;EACP,MAAM;EACN,OAAO;GAAE,GAAG;GAAO;EAAG;CACxB,CAAC;CACH,MAAM,gBAAgB,SAAS;EAAE,MAAM;EAAiB,SAAS;CAAG,CAAC;CAErE,SAAS;EACP,MAAM;EACN,OAAO;GACL,GAAG;GACH;GACA,MAAM;GACN,eAAe,SAAS;IACtB,IAAI,CAAC,MAAM,QAAQ;GACrB;EACF;CACF,CAAC;CAED,OAAO;EACD;EACJ;EACA;CACF;AACF;AAEA,SAAS,WAAW;CAClB,MAAM,CAAC,OAAO,YAAYA,MAAAA,QAAM,SAAgB,WAAW;CAE3D,MAAA,QAAM,gBAAgB;EACpB,UAAU,KAAK,QAAQ;EACvB,aAAa;GACX,MAAM,QAAQ,UAAU,QAAQ,QAAQ;GACxC,IAAI,QAAQ,IACV,UAAU,OAAO,OAAO,CAAC;EAE7B;CACF,GAAG,CAAC,KAAK,CAAC;CAEV,OAAO;EACL,GAAG;EACH;EACA,UAAU,YAAqB,SAAS;GAAE,MAAM;GAAiB;EAAQ,CAAC;CAC5E;AACF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/context-menu.d.ts
|
|
5
|
+
declare const ContextMenu: React.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
6
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
+
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
9
|
+
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
10
|
+
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const ContextMenuSubTrigger: React.FC<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
12
|
+
inset?: boolean;
|
|
13
|
+
} & {
|
|
14
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
declare const ContextMenuSubContent: React.FC<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
declare const ContextMenuContent: React.FC<Omit<ContextMenuPrimitive.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
declare const ContextMenuItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
23
|
+
inset?: boolean;
|
|
24
|
+
} & {
|
|
25
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
declare const ContextMenuCheckboxItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
28
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
declare const ContextMenuRadioItem: React.FC<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
31
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
declare const ContextMenuLabel: React.FC<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
34
|
+
inset?: boolean;
|
|
35
|
+
} & {
|
|
36
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
37
|
+
}>;
|
|
38
|
+
declare const ContextMenuSeparator: React.FC<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
39
|
+
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
declare const ContextMenuShortcut: {
|
|
42
|
+
({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { ContextMenuItem as a, ContextMenuRadioGroup as c, ContextMenuShortcut as d, ContextMenuSub as f, ContextMenuTrigger as h, ContextMenuGroup as i, ContextMenuRadioItem as l, ContextMenuSubTrigger as m, ContextMenuCheckboxItem as n, ContextMenuLabel as o, ContextMenuSubContent as p, ContextMenuContent as r, ContextMenuPortal as s, ContextMenu as t, ContextMenuSeparator as u };
|
|
50
|
+
//# sourceMappingURL=context-menu-D5-FvPFJ.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-menu-D5-FvPFJ.d.ts","names":[],"sources":["../src/components/ui/context-menu.tsx"],"mappings":";;;;cAaM,WAAA,EAAW,KAAA,CAAA,EAAA,CAAA,oBAAA,CAAA,gBAAA;AAAA,cAEX,kBAAA,EAAkB,KAAA,CAAA,yBAAA,CAAA,oBAAA,CAAA,uBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,eAAA;AAAA,cAElB,gBAAA,EAAgB,KAAA,CAAA,yBAAA,CAAA,oBAAA,CAAA,qBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;AAAA,cAEhB,iBAAA,EAAiB,KAAA,CAAA,EAAA,CAAA,oBAAA,CAAA,sBAAA;AAAA,cAEjB,cAAA,EAAc,KAAA,CAAA,EAAA,CAAA,oBAAA,CAAA,mBAAA;AAAA,cAEd,qBAAA,EAAqB,KAAA,CAAA,yBAAA,CAAA,oBAAA,CAAA,0BAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;AAAA,cAErB,qBAAA,EAAqB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,0BAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;;;cAqBrB,qBAAA,EAAqB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,0BAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;cAerB,kBAAA,EAAkB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,uBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;cAiBlB,eAAA,EAAe,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,oBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;;;cAkBf,uBAAA,EAAuB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,4BAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;cAwBvB,oBAAA,EAAoB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,yBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;cAsBpB,gBAAA,EAAgB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,qBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;;;cAkBhB,oBAAA,EAAoB,KAAA,CAAA,EAAA,CAAA,IAAA,CAAA,oBAAA,CAAA,yBAAA,GAAA,KAAA,CAAA,aAAA,CAAA,cAAA;;;cAYpB,mBAAA;EAAA;;;KAGH,KAAA,CAAM,cAAA,CAAe,eAAA,gCAAgB,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/copy-button.d.ts
|
|
4
|
+
declare const CopyButton: React.FC<{
|
|
5
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void | Promise<void>;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
loadingStyle?: "spinner" | "disabled";
|
|
8
|
+
} & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & import("class-variance-authority").VariantProps<(props?: ({
|
|
11
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "plain" | null | undefined;
|
|
12
|
+
size?: "default" | "plain" | "sm" | "lg" | "icon" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
14
|
+
content: string;
|
|
15
|
+
} & {
|
|
16
|
+
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { CopyButton as t };
|
|
20
|
+
//# sourceMappingURL=copy-button-ClCNLwvl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-button-ClCNLwvl.d.ts","names":[],"sources":["../src/components/copy-button.tsx"],"mappings":";;;cAOM,UAAA,EAAU,KAAA,CAAA,EAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region src/components/copy-field.d.ts
|
|
2
|
+
declare function CopyField(props: {
|
|
3
|
+
value: string;
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
helper?: React.ReactNode;
|
|
6
|
+
monospace?: boolean;
|
|
7
|
+
fixedSize?: boolean;
|
|
8
|
+
} & ({
|
|
9
|
+
type: "textarea";
|
|
10
|
+
height?: number;
|
|
11
|
+
} | {
|
|
12
|
+
type: "input";
|
|
13
|
+
})): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { CopyField as t };
|
|
16
|
+
//# sourceMappingURL=copy-field-Cf7eTpio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-field-Cf7eTpio.d.ts","names":[],"sources":["../src/components/copy-field.tsx"],"mappings":";iBAGgB,SAAA,CAAU,KAAA;EACxB,KAAA;EACA,KAAA,GAAQ,KAAA,CAAM,SAAA;EACd,MAAA,GAAS,KAAA,CAAM,SAAS;EACxB,SAAA;EACA,SAAA;AAAA;EAEA,IAAA;EACA,MAAA;AAAA;EAEA,IAAA;AAAA,iCACA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColumnDef, ColumnFiltersState, SortingState, Table, VisibilityState } from "@tanstack/react-table";
|
|
3
|
+
|
|
4
|
+
//#region src/components/data-table/data-table.d.ts
|
|
5
|
+
declare function TableView<TData, TValue>(props: {
|
|
6
|
+
table: Table<TData>;
|
|
7
|
+
columns: ColumnDef<TData, TValue>[];
|
|
8
|
+
toolbarRender?: (table: Table<TData>) => React.ReactNode;
|
|
9
|
+
showDefaultToolbar?: boolean;
|
|
10
|
+
defaultColumnFilters: ColumnFiltersState;
|
|
11
|
+
defaultSorting: SortingState;
|
|
12
|
+
onRowClick?: (row: TData) => void;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
type DataTableProps<TData, TValue> = {
|
|
15
|
+
columns: ColumnDef<TData, TValue>[];
|
|
16
|
+
data: TData[];
|
|
17
|
+
toolbarRender?: (table: Table<TData>) => React.ReactNode;
|
|
18
|
+
defaultVisibility?: VisibilityState;
|
|
19
|
+
defaultColumnFilters: ColumnFiltersState;
|
|
20
|
+
defaultSorting: SortingState;
|
|
21
|
+
showDefaultToolbar?: boolean;
|
|
22
|
+
onRowClick?: (row: TData) => void;
|
|
23
|
+
};
|
|
24
|
+
declare function DataTable<TData, TValue>({
|
|
25
|
+
columns,
|
|
26
|
+
data,
|
|
27
|
+
toolbarRender,
|
|
28
|
+
defaultVisibility,
|
|
29
|
+
defaultColumnFilters,
|
|
30
|
+
defaultSorting,
|
|
31
|
+
showDefaultToolbar,
|
|
32
|
+
onRowClick
|
|
33
|
+
}: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
type DataTableManualPaginationProps<TData, TValue> = DataTableProps<TData, TValue> & {
|
|
35
|
+
onUpdate: (options: {
|
|
36
|
+
cursor: string;
|
|
37
|
+
limit: number;
|
|
38
|
+
sorting: SortingState;
|
|
39
|
+
columnFilters: ColumnFiltersState;
|
|
40
|
+
globalFilters: any;
|
|
41
|
+
}) => Promise<{
|
|
42
|
+
nextCursor: string | null;
|
|
43
|
+
}>;
|
|
44
|
+
};
|
|
45
|
+
declare function DataTableManualPagination<TData, TValue>({
|
|
46
|
+
columns,
|
|
47
|
+
data,
|
|
48
|
+
toolbarRender,
|
|
49
|
+
defaultVisibility,
|
|
50
|
+
defaultColumnFilters,
|
|
51
|
+
defaultSorting,
|
|
52
|
+
onRowClick,
|
|
53
|
+
onUpdate,
|
|
54
|
+
showDefaultToolbar
|
|
55
|
+
}: DataTableManualPaginationProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
//#endregion
|
|
57
|
+
export { DataTableManualPagination as n, TableView as r, DataTable as t };
|
|
58
|
+
//# sourceMappingURL=data-table-xbTf50By.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table-xbTf50By.d.ts","names":[],"sources":["../src/components/data-table/data-table.tsx"],"mappings":";;;;iBAiCgB,SAAA,gBAAyB,KAAA;EACvC,KAAA,EAAO,KAAA,CAAU,KAAA;EACjB,OAAA,EAAS,SAAA,CAAU,KAAA,EAAO,MAAA;EAC1B,aAAA,IAAiB,KAAA,EAAO,KAAA,CAAU,KAAA,MAAW,KAAA,CAAM,SAAA;EACnD,kBAAA;EACA,oBAAA,EAAsB,kBAAA;EACtB,cAAA,EAAgB,YAAA;EAChB,UAAA,IAAc,GAAA,EAAK,KAAA;AAAA,gCACpB,GAAA,CAAA,OAAA;AAAA,KAuEI,cAAA;EACH,OAAA,EAAS,SAAA,CAAU,KAAA,EAAO,MAAA;EAC1B,IAAA,EAAM,KAAA;EACN,aAAA,IAAiB,KAAA,EAAO,KAAA,CAAU,KAAA,MAAW,KAAA,CAAM,SAAA;EACnD,iBAAA,GAAoB,eAAA;EACpB,oBAAA,EAAsB,kBAAA;EACtB,cAAA,EAAgB,YAAA;EAChB,kBAAA;EACA,UAAA,IAAc,GAAA,EAAK,KAAA;AAAA;AAAA,iBAGL,SAAA;EACd,OAAA;EACA,IAAA;EACA,aAAA;EACA,iBAAA;EACA,oBAAA;EACA,cAAA;EACA,kBAAA;EACA;AAAA,GACC,cAAA,CAAe,KAAA,EAAO,MAAA,gCAAO,GAAA,CAAA,OAAA;AAAA,KA+B3B,8BAAA,kBAAgD,cAAA,CAAe,KAAA,EAAO,MAAA;EACzE,QAAA,GAAW,OAAA;IACT,MAAA;IACA,KAAA;IACA,OAAA,EAAS,YAAA;IACT,aAAA,EAAe,kBAAA;IACf,aAAA;EAAA,MACI,OAAA;IAAU,UAAA;EAAA;AAAA;AAAA,iBAGF,yBAAA;EACd,OAAA;EACA,IAAA;EACA,aAAA;EACA,iBAAA;EACA,oBAAA;EACA,cAAA;EACA,UAAA;EACA,QAAA;EACA;AAAA,GACC,8BAAA,CAA+B,KAAA,EAAO,MAAA,gCAAO,GAAA,CAAA,OAAA"}
|