@codefast/ui 0.8.0 → 0.9.1
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/CHANGELOG.md +38 -0
- package/README.md +78 -39
- package/dist/components/accordion.d.ts +1 -2
- package/dist/components/accordion.js +1 -2
- package/dist/components/alert-dialog.d.ts +1 -2
- package/dist/components/alert-dialog.js +1 -2
- package/dist/components/alert.d.ts +1 -2
- package/dist/components/alert.js +1 -2
- package/dist/components/aspect-ratio.d.ts +1 -2
- package/dist/components/aspect-ratio.js +1 -2
- package/dist/components/attachment.d.ts +1 -2
- package/dist/components/attachment.js +1 -2
- package/dist/components/avatar.d.ts +1 -2
- package/dist/components/avatar.js +1 -2
- package/dist/components/badge.d.ts +1 -2
- package/dist/components/badge.js +1 -2
- package/dist/components/breadcrumb.d.ts +1 -2
- package/dist/components/breadcrumb.js +1 -2
- package/dist/components/bubble.d.ts +1 -2
- package/dist/components/bubble.js +1 -2
- package/dist/components/button-group.d.ts +1 -2
- package/dist/components/button-group.js +1 -2
- package/dist/components/button.d.ts +1 -2
- package/dist/components/button.js +1 -2
- package/dist/components/calendar.d.ts +2 -3
- package/dist/components/calendar.js +1 -2
- package/dist/components/card.d.ts +1 -2
- package/dist/components/card.js +1 -2
- package/dist/components/carousel.d.ts +1 -2
- package/dist/components/carousel.js +1 -2
- package/dist/components/chart.d.ts +1 -2
- package/dist/components/chart.js +1 -2
- package/dist/components/checkbox-cards.d.ts +1 -2
- package/dist/components/checkbox-cards.js +1 -2
- package/dist/components/checkbox-group.d.ts +1 -2
- package/dist/components/checkbox-group.js +1 -2
- package/dist/components/checkbox.d.ts +1 -2
- package/dist/components/checkbox.js +1 -2
- package/dist/components/collapsible.d.ts +1 -2
- package/dist/components/collapsible.js +1 -2
- package/dist/components/command.d.ts +1 -2
- package/dist/components/command.js +1 -2
- package/dist/components/context-menu.d.ts +2 -3
- package/dist/components/context-menu.js +3 -4
- package/dist/components/dialog.d.ts +1 -2
- package/dist/components/dialog.js +1 -2
- package/dist/components/direction.d.ts +1 -2
- package/dist/components/direction.js +1 -2
- package/dist/components/drawer.d.ts +1 -2
- package/dist/components/drawer.js +1 -2
- package/dist/components/dropdown-menu.d.ts +2 -3
- package/dist/components/dropdown-menu.js +3 -4
- package/dist/components/empty.d.ts +1 -2
- package/dist/components/empty.js +1 -2
- package/dist/components/field.d.ts +1 -2
- package/dist/components/field.js +1 -2
- package/dist/components/form.d.ts +1 -2
- package/dist/components/form.js +1 -2
- package/dist/components/hover-card.d.ts +1 -2
- package/dist/components/hover-card.js +1 -2
- package/dist/components/input-group.d.ts +1 -2
- package/dist/components/input-group.js +1 -2
- package/dist/components/input-number.d.ts +1 -2
- package/dist/components/input-number.js +1 -2
- package/dist/components/input-otp.d.ts +1 -2
- package/dist/components/input-otp.js +1 -2
- package/dist/components/input-password.d.ts +1 -2
- package/dist/components/input-password.js +1 -2
- package/dist/components/input-search.d.ts +1 -2
- package/dist/components/input-search.js +2 -3
- package/dist/components/input.d.ts +1 -2
- package/dist/components/input.js +1 -2
- package/dist/components/item.d.ts +1 -2
- package/dist/components/item.js +1 -2
- package/dist/components/kbd.d.ts +1 -2
- package/dist/components/kbd.js +1 -2
- package/dist/components/label.d.ts +1 -2
- package/dist/components/label.js +1 -2
- package/dist/components/marker.d.ts +1 -2
- package/dist/components/marker.js +1 -2
- package/dist/components/menubar.d.ts +2 -3
- package/dist/components/menubar.js +3 -4
- package/dist/components/message-scroller.d.ts +1 -2
- package/dist/components/message-scroller.js +1 -2
- package/dist/components/message.d.ts +1 -2
- package/dist/components/message.js +1 -2
- package/dist/components/native-select.d.ts +1 -2
- package/dist/components/native-select.js +1 -2
- package/dist/components/navigation-menu.d.ts +1 -2
- package/dist/components/navigation-menu.js +1 -2
- package/dist/components/pagination.d.ts +1 -2
- package/dist/components/pagination.js +1 -2
- package/dist/components/popover.d.ts +1 -2
- package/dist/components/popover.js +1 -2
- package/dist/components/progress-circle.d.ts +1 -2
- package/dist/components/progress-circle.js +1 -2
- package/dist/components/progress.d.ts +1 -2
- package/dist/components/progress.js +1 -2
- package/dist/components/radio-cards.d.ts +1 -2
- package/dist/components/radio-cards.js +1 -2
- package/dist/components/radio-group.d.ts +1 -2
- package/dist/components/radio-group.js +1 -2
- package/dist/components/radio.d.ts +1 -2
- package/dist/components/radio.js +1 -2
- package/dist/components/resizable.d.ts +1 -2
- package/dist/components/resizable.js +1 -2
- package/dist/components/scroll-area.d.ts +1 -2
- package/dist/components/scroll-area.js +2 -3
- package/dist/components/select.d.ts +1 -2
- package/dist/components/select.js +1 -2
- package/dist/components/separator.d.ts +1 -2
- package/dist/components/separator.js +2 -3
- package/dist/components/sheet.d.ts +1 -2
- package/dist/components/sheet.js +1 -2
- package/dist/components/sidebar.d.ts +1 -2
- package/dist/components/sidebar.js +1 -2
- package/dist/components/skeleton.d.ts +1 -2
- package/dist/components/skeleton.js +1 -2
- package/dist/components/slider.d.ts +1 -2
- package/dist/components/slider.js +2 -3
- package/dist/components/sonner.d.ts +1 -2
- package/dist/components/sonner.js +1 -2
- package/dist/components/spinner.d.ts +1 -2
- package/dist/components/spinner.js +1 -2
- package/dist/components/switch.d.ts +1 -2
- package/dist/components/switch.js +1 -2
- package/dist/components/table.d.ts +1 -2
- package/dist/components/table.js +1 -2
- package/dist/components/tabs.d.ts +1 -2
- package/dist/components/tabs.js +1 -2
- package/dist/components/textarea.d.ts +1 -2
- package/dist/components/textarea.js +1 -2
- package/dist/components/toggle-group.d.ts +1 -2
- package/dist/components/toggle-group.js +1 -2
- package/dist/components/toggle.d.ts +1 -2
- package/dist/components/toggle.js +1 -2
- package/dist/components/tooltip.d.ts +1 -2
- package/dist/components/tooltip.js +1 -2
- package/dist/hooks/use-animated-value.d.ts +1 -2
- package/dist/hooks/use-animated-value.js +1 -2
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -2
- package/dist/hooks/use-copy-to-clipboard.js +1 -2
- package/dist/hooks/use-has-hydrated.d.ts +1 -2
- package/dist/hooks/use-has-hydrated.js +1 -2
- package/dist/hooks/use-is-mobile.d.ts +1 -2
- package/dist/hooks/use-is-mobile.js +1 -2
- package/dist/hooks/use-latest.d.ts +1 -2
- package/dist/hooks/use-latest.js +1 -2
- package/dist/hooks/use-media-query.d.ts +1 -2
- package/dist/hooks/use-media-query.js +1 -2
- package/dist/hooks/use-message-scroller-commands.d.ts +4 -3
- package/dist/hooks/use-message-scroller-commands.js +33 -5
- package/dist/hooks/use-message-scroller-controller.d.ts +1 -2
- package/dist/hooks/use-message-scroller-controller.js +76 -13
- package/dist/hooks/use-message-scroller-refs.d.ts +3 -3
- package/dist/hooks/use-message-scroller-refs.js +5 -2
- package/dist/hooks/use-mutation-observer.d.ts +1 -2
- package/dist/hooks/use-mutation-observer.js +1 -2
- package/dist/hooks/use-pagination.d.ts +1 -2
- package/dist/hooks/use-pagination.js +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/lib/message-scroller/geometry.d.ts +3 -4
- package/dist/lib/message-scroller/geometry.js +1 -2
- package/dist/lib/message-scroller/stores.d.ts +1 -2
- package/dist/lib/message-scroller/stores.js +2 -3
- package/dist/lib/message-scroller/types.d.ts +17 -9
- package/dist/lib/message-scroller/types.js +2 -2
- package/dist/lib/use-render.d.ts +2 -3
- package/dist/lib/use-render.js +1 -2
- package/dist/lib/utils.d.ts +1 -2
- package/dist/lib/utils.js +1 -2
- package/dist/primitives/checkbox-group.d.ts +2 -3
- package/dist/primitives/checkbox-group.js +3 -4
- package/dist/primitives/input-number.d.ts +1 -2
- package/dist/primitives/input-number.js +2 -3
- package/dist/primitives/input.d.ts +1 -2
- package/dist/primitives/input.js +1 -2
- package/dist/primitives/message-scroller.d.ts +1 -2
- package/dist/primitives/message-scroller.js +17 -9
- package/dist/primitives/progress-circle.d.ts +1 -2
- package/dist/primitives/progress-circle.js +1 -2
- package/dist/variants/alert.d.ts +1 -2
- package/dist/variants/alert.js +1 -2
- package/dist/variants/attachment.d.ts +1 -2
- package/dist/variants/attachment.js +1 -2
- package/dist/variants/badge.d.ts +1 -2
- package/dist/variants/badge.js +1 -2
- package/dist/variants/bubble.d.ts +1 -2
- package/dist/variants/bubble.js +1 -2
- package/dist/variants/button-group.d.ts +1 -2
- package/dist/variants/button-group.js +1 -2
- package/dist/variants/button.d.ts +1 -2
- package/dist/variants/button.js +1 -2
- package/dist/variants/empty.d.ts +1 -2
- package/dist/variants/empty.js +1 -2
- package/dist/variants/field.d.ts +1 -2
- package/dist/variants/field.js +1 -2
- package/dist/variants/input-group.d.ts +1 -2
- package/dist/variants/input-group.js +1 -2
- package/dist/variants/item.d.ts +1 -2
- package/dist/variants/item.js +1 -2
- package/dist/variants/marker.d.ts +1 -2
- package/dist/variants/marker.js +1 -2
- package/dist/variants/navigation-menu.d.ts +1 -2
- package/dist/variants/navigation-menu.js +1 -2
- package/dist/variants/progress-circle.d.ts +1 -2
- package/dist/variants/progress-circle.js +1 -2
- package/dist/variants/scroll-area.d.ts +1 -2
- package/dist/variants/scroll-area.js +1 -2
- package/dist/variants/separator.d.ts +1 -2
- package/dist/variants/separator.js +1 -2
- package/dist/variants/sheet.d.ts +1 -2
- package/dist/variants/sheet.js +1 -2
- package/dist/variants/sidebar.d.ts +1 -2
- package/dist/variants/sidebar.js +1 -2
- package/dist/variants/tabs.d.ts +1 -2
- package/dist/variants/tabs.js +1 -2
- package/dist/variants/toggle.d.ts +1 -2
- package/dist/variants/toggle.js +1 -2
- package/package.json +12 -129
- package/dist/components/accordion.d.ts.map +0 -1
- package/dist/components/accordion.js.map +0 -1
- package/dist/components/alert-dialog.d.ts.map +0 -1
- package/dist/components/alert-dialog.js.map +0 -1
- package/dist/components/alert.d.ts.map +0 -1
- package/dist/components/alert.js.map +0 -1
- package/dist/components/aspect-ratio.d.ts.map +0 -1
- package/dist/components/aspect-ratio.js.map +0 -1
- package/dist/components/attachment.d.ts.map +0 -1
- package/dist/components/attachment.js.map +0 -1
- package/dist/components/avatar.d.ts.map +0 -1
- package/dist/components/avatar.js.map +0 -1
- package/dist/components/badge.d.ts.map +0 -1
- package/dist/components/badge.js.map +0 -1
- package/dist/components/breadcrumb.d.ts.map +0 -1
- package/dist/components/breadcrumb.js.map +0 -1
- package/dist/components/bubble.d.ts.map +0 -1
- package/dist/components/bubble.js.map +0 -1
- package/dist/components/button-group.d.ts.map +0 -1
- package/dist/components/button-group.js.map +0 -1
- package/dist/components/button.d.ts.map +0 -1
- package/dist/components/button.js.map +0 -1
- package/dist/components/calendar.d.ts.map +0 -1
- package/dist/components/calendar.js.map +0 -1
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/card.js.map +0 -1
- package/dist/components/carousel.d.ts.map +0 -1
- package/dist/components/carousel.js.map +0 -1
- package/dist/components/chart.d.ts.map +0 -1
- package/dist/components/chart.js.map +0 -1
- package/dist/components/checkbox-cards.d.ts.map +0 -1
- package/dist/components/checkbox-cards.js.map +0 -1
- package/dist/components/checkbox-group.d.ts.map +0 -1
- package/dist/components/checkbox-group.js.map +0 -1
- package/dist/components/checkbox.d.ts.map +0 -1
- package/dist/components/checkbox.js.map +0 -1
- package/dist/components/collapsible.d.ts.map +0 -1
- package/dist/components/collapsible.js.map +0 -1
- package/dist/components/command.d.ts.map +0 -1
- package/dist/components/command.js.map +0 -1
- package/dist/components/context-menu.d.ts.map +0 -1
- package/dist/components/context-menu.js.map +0 -1
- package/dist/components/dialog.d.ts.map +0 -1
- package/dist/components/dialog.js.map +0 -1
- package/dist/components/direction.d.ts.map +0 -1
- package/dist/components/direction.js.map +0 -1
- package/dist/components/drawer.d.ts.map +0 -1
- package/dist/components/drawer.js.map +0 -1
- package/dist/components/dropdown-menu.d.ts.map +0 -1
- package/dist/components/dropdown-menu.js.map +0 -1
- package/dist/components/empty.d.ts.map +0 -1
- package/dist/components/empty.js.map +0 -1
- package/dist/components/field.d.ts.map +0 -1
- package/dist/components/field.js.map +0 -1
- package/dist/components/form.d.ts.map +0 -1
- package/dist/components/form.js.map +0 -1
- package/dist/components/hover-card.d.ts.map +0 -1
- package/dist/components/hover-card.js.map +0 -1
- package/dist/components/input-group.d.ts.map +0 -1
- package/dist/components/input-group.js.map +0 -1
- package/dist/components/input-number.d.ts.map +0 -1
- package/dist/components/input-number.js.map +0 -1
- package/dist/components/input-otp.d.ts.map +0 -1
- package/dist/components/input-otp.js.map +0 -1
- package/dist/components/input-password.d.ts.map +0 -1
- package/dist/components/input-password.js.map +0 -1
- package/dist/components/input-search.d.ts.map +0 -1
- package/dist/components/input-search.js.map +0 -1
- package/dist/components/input.d.ts.map +0 -1
- package/dist/components/input.js.map +0 -1
- package/dist/components/item.d.ts.map +0 -1
- package/dist/components/item.js.map +0 -1
- package/dist/components/kbd.d.ts.map +0 -1
- package/dist/components/kbd.js.map +0 -1
- package/dist/components/label.d.ts.map +0 -1
- package/dist/components/label.js.map +0 -1
- package/dist/components/marker.d.ts.map +0 -1
- package/dist/components/marker.js.map +0 -1
- package/dist/components/menubar.d.ts.map +0 -1
- package/dist/components/menubar.js.map +0 -1
- package/dist/components/message-scroller.d.ts.map +0 -1
- package/dist/components/message-scroller.js.map +0 -1
- package/dist/components/message.d.ts.map +0 -1
- package/dist/components/message.js.map +0 -1
- package/dist/components/native-select.d.ts.map +0 -1
- package/dist/components/native-select.js.map +0 -1
- package/dist/components/navigation-menu.d.ts.map +0 -1
- package/dist/components/navigation-menu.js.map +0 -1
- package/dist/components/pagination.d.ts.map +0 -1
- package/dist/components/pagination.js.map +0 -1
- package/dist/components/popover.d.ts.map +0 -1
- package/dist/components/popover.js.map +0 -1
- package/dist/components/progress-circle.d.ts.map +0 -1
- package/dist/components/progress-circle.js.map +0 -1
- package/dist/components/progress.d.ts.map +0 -1
- package/dist/components/progress.js.map +0 -1
- package/dist/components/radio-cards.d.ts.map +0 -1
- package/dist/components/radio-cards.js.map +0 -1
- package/dist/components/radio-group.d.ts.map +0 -1
- package/dist/components/radio-group.js.map +0 -1
- package/dist/components/radio.d.ts.map +0 -1
- package/dist/components/radio.js.map +0 -1
- package/dist/components/resizable.d.ts.map +0 -1
- package/dist/components/resizable.js.map +0 -1
- package/dist/components/scroll-area.d.ts.map +0 -1
- package/dist/components/scroll-area.js.map +0 -1
- package/dist/components/select.d.ts.map +0 -1
- package/dist/components/select.js.map +0 -1
- package/dist/components/separator.d.ts.map +0 -1
- package/dist/components/separator.js.map +0 -1
- package/dist/components/sheet.d.ts.map +0 -1
- package/dist/components/sheet.js.map +0 -1
- package/dist/components/sidebar.d.ts.map +0 -1
- package/dist/components/sidebar.js.map +0 -1
- package/dist/components/skeleton.d.ts.map +0 -1
- package/dist/components/skeleton.js.map +0 -1
- package/dist/components/slider.d.ts.map +0 -1
- package/dist/components/slider.js.map +0 -1
- package/dist/components/sonner.d.ts.map +0 -1
- package/dist/components/sonner.js.map +0 -1
- package/dist/components/spinner.d.ts.map +0 -1
- package/dist/components/spinner.js.map +0 -1
- package/dist/components/switch.d.ts.map +0 -1
- package/dist/components/switch.js.map +0 -1
- package/dist/components/table.d.ts.map +0 -1
- package/dist/components/table.js.map +0 -1
- package/dist/components/tabs.d.ts.map +0 -1
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/textarea.d.ts.map +0 -1
- package/dist/components/textarea.js.map +0 -1
- package/dist/components/toggle-group.d.ts.map +0 -1
- package/dist/components/toggle-group.js.map +0 -1
- package/dist/components/toggle.d.ts.map +0 -1
- package/dist/components/toggle.js.map +0 -1
- package/dist/components/tooltip.d.ts.map +0 -1
- package/dist/components/tooltip.js.map +0 -1
- package/dist/hooks/use-animated-value.d.ts.map +0 -1
- package/dist/hooks/use-animated-value.js.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts.map +0 -1
- package/dist/hooks/use-copy-to-clipboard.js.map +0 -1
- package/dist/hooks/use-has-hydrated.d.ts.map +0 -1
- package/dist/hooks/use-has-hydrated.js.map +0 -1
- package/dist/hooks/use-is-mobile.d.ts.map +0 -1
- package/dist/hooks/use-is-mobile.js.map +0 -1
- package/dist/hooks/use-latest.d.ts.map +0 -1
- package/dist/hooks/use-latest.js.map +0 -1
- package/dist/hooks/use-media-query.d.ts.map +0 -1
- package/dist/hooks/use-media-query.js.map +0 -1
- package/dist/hooks/use-message-scroller-commands.d.ts.map +0 -1
- package/dist/hooks/use-message-scroller-commands.js.map +0 -1
- package/dist/hooks/use-message-scroller-controller.d.ts.map +0 -1
- package/dist/hooks/use-message-scroller-controller.js.map +0 -1
- package/dist/hooks/use-message-scroller-refs.d.ts.map +0 -1
- package/dist/hooks/use-message-scroller-refs.js.map +0 -1
- package/dist/hooks/use-mutation-observer.d.ts.map +0 -1
- package/dist/hooks/use-mutation-observer.js.map +0 -1
- package/dist/hooks/use-pagination.d.ts.map +0 -1
- package/dist/hooks/use-pagination.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lib/message-scroller/geometry.d.ts.map +0 -1
- package/dist/lib/message-scroller/geometry.js.map +0 -1
- package/dist/lib/message-scroller/stores.d.ts.map +0 -1
- package/dist/lib/message-scroller/stores.js.map +0 -1
- package/dist/lib/message-scroller/types.d.ts.map +0 -1
- package/dist/lib/message-scroller/types.js.map +0 -1
- package/dist/lib/use-render.d.ts.map +0 -1
- package/dist/lib/use-render.js.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js.map +0 -1
- package/dist/primitives/checkbox-group.d.ts.map +0 -1
- package/dist/primitives/checkbox-group.js.map +0 -1
- package/dist/primitives/input-number.d.ts.map +0 -1
- package/dist/primitives/input-number.js.map +0 -1
- package/dist/primitives/input.d.ts.map +0 -1
- package/dist/primitives/input.js.map +0 -1
- package/dist/primitives/message-scroller.d.ts.map +0 -1
- package/dist/primitives/message-scroller.js.map +0 -1
- package/dist/primitives/progress-circle.d.ts.map +0 -1
- package/dist/primitives/progress-circle.js.map +0 -1
- package/dist/variants/alert.d.ts.map +0 -1
- package/dist/variants/alert.js.map +0 -1
- package/dist/variants/attachment.d.ts.map +0 -1
- package/dist/variants/attachment.js.map +0 -1
- package/dist/variants/badge.d.ts.map +0 -1
- package/dist/variants/badge.js.map +0 -1
- package/dist/variants/bubble.d.ts.map +0 -1
- package/dist/variants/bubble.js.map +0 -1
- package/dist/variants/button-group.d.ts.map +0 -1
- package/dist/variants/button-group.js.map +0 -1
- package/dist/variants/button.d.ts.map +0 -1
- package/dist/variants/button.js.map +0 -1
- package/dist/variants/empty.d.ts.map +0 -1
- package/dist/variants/empty.js.map +0 -1
- package/dist/variants/field.d.ts.map +0 -1
- package/dist/variants/field.js.map +0 -1
- package/dist/variants/input-group.d.ts.map +0 -1
- package/dist/variants/input-group.js.map +0 -1
- package/dist/variants/item.d.ts.map +0 -1
- package/dist/variants/item.js.map +0 -1
- package/dist/variants/marker.d.ts.map +0 -1
- package/dist/variants/marker.js.map +0 -1
- package/dist/variants/navigation-menu.d.ts.map +0 -1
- package/dist/variants/navigation-menu.js.map +0 -1
- package/dist/variants/progress-circle.d.ts.map +0 -1
- package/dist/variants/progress-circle.js.map +0 -1
- package/dist/variants/scroll-area.d.ts.map +0 -1
- package/dist/variants/scroll-area.js.map +0 -1
- package/dist/variants/separator.d.ts.map +0 -1
- package/dist/variants/separator.js.map +0 -1
- package/dist/variants/sheet.d.ts.map +0 -1
- package/dist/variants/sheet.js.map +0 -1
- package/dist/variants/sidebar.d.ts.map +0 -1
- package/dist/variants/sidebar.js.map +0 -1
- package/dist/variants/tabs.d.ts.map +0 -1
- package/dist/variants/tabs.js.map +0 -1
- package/dist/variants/toggle.d.ts.map +0 -1
- package/dist/variants/toggle.js.map +0 -1
- package/src/components/accordion.tsx +0 -104
- package/src/components/alert-dialog.tsx +0 -274
- package/src/components/alert.tsx +0 -84
- package/src/components/aspect-ratio.tsx +0 -21
- package/src/components/attachment.tsx +0 -264
- package/src/components/avatar.tsx +0 -157
- package/src/components/badge.tsx +0 -31
- package/src/components/breadcrumb.tsx +0 -170
- package/src/components/bubble.tsx +0 -106
- package/src/components/button-group.tsx +0 -89
- package/src/components/button.tsx +0 -51
- package/src/components/calendar.tsx +0 -210
- package/src/components/card.tsx +0 -153
- package/src/components/carousel.tsx +0 -344
- package/src/components/chart.tsx +0 -514
- package/src/components/checkbox-cards.tsx +0 -67
- package/src/components/checkbox-group.tsx +0 -55
- package/src/components/checkbox.tsx +0 -41
- package/src/components/collapsible.tsx +0 -49
- package/src/components/command.tsx +0 -276
- package/src/components/context-menu.tsx +0 -378
- package/src/components/dialog.tsx +0 -226
- package/src/components/direction.tsx +0 -28
- package/src/components/drawer.tsx +0 -191
- package/src/components/dropdown-menu.tsx +0 -387
- package/src/components/empty.tsx +0 -141
- package/src/components/field.tsx +0 -307
- package/src/components/form.tsx +0 -238
- package/src/components/hover-card.tsx +0 -83
- package/src/components/input-group.tsx +0 -171
- package/src/components/input-number.tsx +0 -191
- package/src/components/input-otp.tsx +0 -122
- package/src/components/input-password.tsx +0 -46
- package/src/components/input-search.tsx +0 -77
- package/src/components/input.tsx +0 -32
- package/src/components/item.tsx +0 -244
- package/src/components/kbd.tsx +0 -43
- package/src/components/label.tsx +0 -32
- package/src/components/marker.tsx +0 -86
- package/src/components/menubar.tsx +0 -406
- package/src/components/message-scroller.tsx +0 -199
- package/src/components/message.tsx +0 -159
- package/src/components/native-select.tsx +0 -79
- package/src/components/navigation-menu.tsx +0 -217
- package/src/components/pagination.tsx +0 -182
- package/src/components/popover.tsx +0 -152
- package/src/components/progress-circle.tsx +0 -179
- package/src/components/progress.tsx +0 -37
- package/src/components/radio-cards.tsx +0 -60
- package/src/components/radio-group.tsx +0 -55
- package/src/components/radio.tsx +0 -36
- package/src/components/resizable.tsx +0 -70
- package/src/components/scroll-area.tsx +0 -87
- package/src/components/select.tsx +0 -274
- package/src/components/separator.tsx +0 -54
- package/src/components/sheet.tsx +0 -221
- package/src/components/sidebar.tsx +0 -891
- package/src/components/skeleton.tsx +0 -31
- package/src/components/slider.tsx +0 -62
- package/src/components/sonner.tsx +0 -53
- package/src/components/spinner.tsx +0 -62
- package/src/components/switch.tsx +0 -40
- package/src/components/table.tsx +0 -165
- package/src/components/tabs.tsx +0 -100
- package/src/components/textarea.tsx +0 -31
- package/src/components/toggle-group.tsx +0 -129
- package/src/components/toggle.tsx +0 -26
- package/src/components/tooltip.tsx +0 -103
- package/src/css/foundation/base.css +0 -68
- package/src/css/foundation/motion.css +0 -65
- package/src/css/foundation/source.css +0 -10
- package/src/css/foundation/tokens.css +0 -83
- package/src/css/foundation/utilities.css +0 -451
- package/src/css/foundation/variants.css +0 -108
- package/src/css/preset.css +0 -14
- package/src/css/style.css +0 -11
- package/src/css/themes/amber.css +0 -105
- package/src/css/themes/blue.css +0 -105
- package/src/css/themes/cyan.css +0 -105
- package/src/css/themes/emerald.css +0 -105
- package/src/css/themes/fuchsia.css +0 -105
- package/src/css/themes/gray.css +0 -105
- package/src/css/themes/green.css +0 -105
- package/src/css/themes/indigo.css +0 -105
- package/src/css/themes/lime.css +0 -105
- package/src/css/themes/neutral.css +0 -105
- package/src/css/themes/orange.css +0 -105
- package/src/css/themes/pink.css +0 -105
- package/src/css/themes/purple.css +0 -105
- package/src/css/themes/red.css +0 -105
- package/src/css/themes/rose.css +0 -105
- package/src/css/themes/sky.css +0 -105
- package/src/css/themes/slate.css +0 -105
- package/src/css/themes/stone.css +0 -105
- package/src/css/themes/teal.css +0 -105
- package/src/css/themes/violet.css +0 -105
- package/src/css/themes/yellow.css +0 -105
- package/src/css/themes/zinc.css +0 -105
- package/src/hooks/use-animated-value.ts +0 -95
- package/src/hooks/use-copy-to-clipboard.ts +0 -58
- package/src/hooks/use-has-hydrated.ts +0 -22
- package/src/hooks/use-is-mobile.ts +0 -25
- package/src/hooks/use-latest.ts +0 -23
- package/src/hooks/use-media-query.ts +0 -69
- package/src/hooks/use-message-scroller-commands.ts +0 -312
- package/src/hooks/use-message-scroller-controller.ts +0 -651
- package/src/hooks/use-message-scroller-refs.ts +0 -158
- package/src/hooks/use-mutation-observer.ts +0 -51
- package/src/hooks/use-pagination.ts +0 -166
- package/src/index.ts +0 -751
- package/src/lib/message-scroller/geometry.ts +0 -401
- package/src/lib/message-scroller/stores.ts +0 -88
- package/src/lib/message-scroller/types.ts +0 -336
- package/src/lib/use-render.ts +0 -201
- package/src/lib/utils.ts +0 -5
- package/src/primitives/checkbox-group.tsx +0 -335
- package/src/primitives/input-number.tsx +0 -1030
- package/src/primitives/input.tsx +0 -221
- package/src/primitives/message-scroller.tsx +0 -404
- package/src/primitives/progress-circle.tsx +0 -489
- package/src/variants/alert.ts +0 -30
- package/src/variants/attachment.ts +0 -67
- package/src/variants/badge.ts +0 -35
- package/src/variants/bubble.ts +0 -75
- package/src/variants/button-group.ts +0 -32
- package/src/variants/button.ts +0 -51
- package/src/variants/empty.ts +0 -30
- package/src/variants/field.ts +0 -33
- package/src/variants/input-group.ts +0 -72
- package/src/variants/item.ts +0 -62
- package/src/variants/marker.ts +0 -34
- package/src/variants/navigation-menu.ts +0 -21
- package/src/variants/progress-circle.ts +0 -42
- package/src/variants/scroll-area.ts +0 -69
- package/src/variants/separator.ts +0 -36
- package/src/variants/sheet.ts +0 -33
- package/src/variants/sidebar.ts +0 -37
- package/src/variants/tabs.ts +0 -30
- package/src/variants/toggle.ts +0 -36
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
+
## 0.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#812](https://github.com/codefastlabs/codefast/pull/812) [`f051471`](https://github.com/codefastlabs/codefast/commit/f051471eeb33b59dcb73f977b679ba27384e3a17) Thanks [@thevuong](https://github.com/thevuong)! - Raise the published dependency floors: `zod` to 4.5.4 (`@codefast/cli`, `@codefast/theme`), `lucide-react` to 1.41.0 and
|
|
8
|
+
`react-hook-form` to 7.87.0 (`@codefast/ui`).
|
|
9
|
+
|
|
10
|
+
- [#791](https://github.com/codefastlabs/codefast/pull/791) [`37a212b`](https://github.com/codefastlabs/codefast/commit/37a212b4d805588413159e11e872b98db82326bf) Thanks [@thevuong](https://github.com/thevuong)! - Point the README's license badge and "License" section at the package's own `LICENSE` file instead of the monorepo root.
|
|
11
|
+
|
|
12
|
+
- [#796](https://github.com/codefastlabs/codefast/pull/796) [`ba04d27`](https://github.com/codefastlabs/codefast/commit/ba04d2703c59a1677f52e6a9fffd0ec202328218) Thanks [@thevuong](https://github.com/thevuong)! - Rewrite the README around one structure — what the package is, installation and requirements, a complete quick start,
|
|
13
|
+
the concepts in learning order, then the documents and the license — with every API claim checked against the current
|
|
14
|
+
code and no figures that go stale.
|
|
15
|
+
|
|
16
|
+
- [#784](https://github.com/codefastlabs/codefast/pull/784) [`ad2f93a`](https://github.com/codefastlabs/codefast/commit/ad2f93a688e99c3ed8be6ceeae9d6cdd6be861bc) Thanks [@thevuong](https://github.com/thevuong)! - Ship the MIT `LICENSE` file in the published package. `files` already listed it, but the file was missing from the
|
|
17
|
+
package directory, so the tarball had none.
|
|
18
|
+
|
|
19
|
+
- [#809](https://github.com/codefastlabs/codefast/pull/809) [`57209a5`](https://github.com/codefastlabs/codefast/commit/57209a52aa8a9132651a9567ad7608e9c13997e4) Thanks [@thevuong](https://github.com/thevuong)! - Enable `exactOptionalPropertyTypes` for the package. Optional context-value and option types that a provider or hook may
|
|
20
|
+
populate with an explicit `undefined` are now typed `?: T | undefined`, and the external Radix/Sonner call sites that
|
|
21
|
+
forwarded a possibly-undefined prop now omit it when undefined instead of passing it through. Types only — no public API
|
|
22
|
+
or runtime change.
|
|
23
|
+
- Updated dependencies [[`37a212b`](https://github.com/codefastlabs/codefast/commit/37a212b4d805588413159e11e872b98db82326bf), [`83cceeb`](https://github.com/codefastlabs/codefast/commit/83cceeb2168e063441125643a83e9555fb2d2048), [`ba04d27`](https://github.com/codefastlabs/codefast/commit/ba04d2703c59a1677f52e6a9fffd0ec202328218), [`ad2f93a`](https://github.com/codefastlabs/codefast/commit/ad2f93a688e99c3ed8be6ceeae9d6cdd6be861bc), [`6cd6a0e`](https://github.com/codefastlabs/codefast/commit/6cd6a0e88f8c004c2e4e646c104d46169f3e86ed)]:
|
|
24
|
+
- @codefast/tailwind-variants@0.7.1
|
|
25
|
+
|
|
26
|
+
## 0.9.0
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- [#755](https://github.com/codefastlabs/codefast/pull/755) [`663ff36`](https://github.com/codefastlabs/codefast/commit/663ff36be723b752c6f5d41f175e1c3bfeaf44c4) Thanks [@thevuong](https://github.com/thevuong)! - Harden MessageScroller follow-output and turn anchoring. Follow-bottom now releases on a reader's real upward scroll —
|
|
31
|
+
surviving the autoscroll suppression window and slow sub-pixel drags — drops whenever `autoScroll` turns off, and
|
|
32
|
+
re-arms cleanly after an anchored turn unmounts. A freshly anchored turn holds at the reading line while the reply
|
|
33
|
+
streams, hands off to follow-bottom in a single scroll command once the reply fills the viewport, and the handoff no
|
|
34
|
+
longer false-fires when the viewport itself shrinks (keyboard, resize). ResizeObserver handling coalesces onto one
|
|
35
|
+
shared frame (fixing the "loop completed with undelivered notifications" error) with a synchronous fast path while
|
|
36
|
+
following, so streaming stays glued to the live edge without a one-frame gap. The scroll snapshot from
|
|
37
|
+
`useMessageScrollerScrollable` gains a `following` field (mirrored as a `data-following` attribute) and `end` now always
|
|
38
|
+
reports true geometry; `MessageScrollerButton` derives its quiescence from `end && !following` instead of a masked
|
|
39
|
+
snapshot.
|
|
40
|
+
|
|
3
41
|
## 0.8.0
|
|
4
42
|
|
|
5
43
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# @codefast/ui
|
|
2
2
|
|
|
3
|
-
70+ accessible React components built on [Radix UI](https://www.radix-ui.com/) primitives and styled with Tailwind CSS
|
|
4
|
-
|
|
3
|
+
70+ accessible React components built on [Radix UI](https://www.radix-ui.com/) primitives and styled with Tailwind CSS
|
|
4
|
+
4, for teams that want a typed, themeable component library they can import one piece at a time.
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/@codefast/ui)
|
|
7
|
-
[](
|
|
7
|
+
[](./LICENSE)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
component.
|
|
9
|
+
## Overview
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
`@codefast/ui` is a library of accessible React components you import one at a time. Each component is built on a Radix
|
|
12
|
+
UI primitive, styled with Tailwind CSS 4, and typed down to its props. You theme the whole set in plain CSS, and switch
|
|
13
|
+
light and dark without JavaScript.
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
primitives.
|
|
16
|
-
- **Fully typed** — every component exports its prop types (`ButtonProps`, `DialogContentProps`, …) for use in wrappers.
|
|
17
|
-
- **Tree-shakeable ESM** — per-component subpath exports mean bundlers only include what you import.
|
|
18
|
-
- **Themeable in plain CSS** — 22 palettes of `oklch` design tokens, dark mode included, no JavaScript required.
|
|
19
|
-
|
|
20
|
-
## Requirements
|
|
15
|
+
You bring the Tailwind pipeline; the package ships the components and their stylesheets as source.
|
|
21
16
|
|
|
22
|
-
-
|
|
23
|
-
|
|
17
|
+
- **Accessible by construction.** Keyboard navigation, focus management, and ARIA semantics come from Radix UI
|
|
18
|
+
primitives.
|
|
19
|
+
- **Fully typed.** Every component exports its prop types — `ButtonProps`, `DialogContentProps`, and so on — for
|
|
20
|
+
wrappers and composition.
|
|
21
|
+
- **Tree-shakeable ESM.** Each component is its own subpath export, so your bundler includes only what you import.
|
|
22
|
+
- **Themeable in plain CSS.** Palettes of `oklch` design tokens with a `.dark` variant, switchable without JavaScript.
|
|
23
|
+
- **Hooks, variants, and utilities included.** The building blocks behind the components are exported too.
|
|
24
24
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
@@ -31,12 +31,20 @@ pnpm add @codefast/ui
|
|
|
31
31
|
Or the equivalent with your package manager: `npm install @codefast/ui`, `yarn add @codefast/ui`, or
|
|
32
32
|
`bun add @codefast/ui`.
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
`@codefast/ui` requires:
|
|
35
|
+
|
|
36
|
+
- Node.js 24 or later.
|
|
37
|
+
- React 19 — `react` and `react-dom` (19 or later) are peer dependencies; `@types/react` and `@types/react-dom` are
|
|
38
|
+
optional peers.
|
|
39
|
+
- Tailwind CSS 4 at build time — the stylesheets are Tailwind source, and rely on your Tailwind pipeline to compile
|
|
40
|
+
them.
|
|
41
|
+
|
|
42
|
+
The package is published on 0.x and versioned on its own track: breaking changes ship as minor versions, so pin the
|
|
43
|
+
minor version when you need stability.
|
|
36
44
|
|
|
37
|
-
## Quick
|
|
45
|
+
## Quick start
|
|
38
46
|
|
|
39
|
-
Import a
|
|
47
|
+
Import Tailwind, a palette, and the preset — in that order — in your global stylesheet:
|
|
40
48
|
|
|
41
49
|
```css
|
|
42
50
|
@import "tailwindcss";
|
|
@@ -54,8 +62,8 @@ export function MyPage() {
|
|
|
54
62
|
}
|
|
55
63
|
```
|
|
56
64
|
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
`@codefast/ui/css/style.css` bundles those three imports into one entry. Use it when the neutral palette is the one you
|
|
66
|
+
want:
|
|
59
67
|
|
|
60
68
|
```css
|
|
61
69
|
@import "@codefast/ui/css/style.css";
|
|
@@ -63,27 +71,53 @@ theme, and the preset in one file:
|
|
|
63
71
|
|
|
64
72
|
## Per-component imports
|
|
65
73
|
|
|
66
|
-
Every component ships as its own subpath export, so
|
|
74
|
+
Every component ships as its own subpath export, named after the component, so your bundle carries only what you use:
|
|
67
75
|
|
|
68
76
|
```tsx
|
|
69
77
|
import { Button } from "@codefast/ui/button";
|
|
70
78
|
import { Dialog, DialogContent, DialogTitle, DialogTrigger } from "@codefast/ui/dialog";
|
|
71
79
|
```
|
|
72
80
|
|
|
73
|
-
|
|
74
|
-
`@codefast/ui`.
|
|
81
|
+
Prop types travel with their component:
|
|
75
82
|
|
|
76
|
-
|
|
83
|
+
```tsx
|
|
84
|
+
import type { ButtonProps } from "@codefast/ui/button";
|
|
85
|
+
|
|
86
|
+
export function SubmitButton(props: ButtonProps) {
|
|
87
|
+
return <Button type="submit" {...props} />;
|
|
88
|
+
}
|
|
89
|
+
```
|
|
77
90
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- `@codefast/ui/
|
|
91
|
+
All components, prop types, hooks, and variants are also re-exported from the root entry, `@codefast/ui`.
|
|
92
|
+
|
|
93
|
+
Beyond the components, the package exposes:
|
|
94
|
+
|
|
95
|
+
- `@codefast/ui/hooks/*` — standalone hooks such as `useMediaQuery` (`@codefast/ui/hooks/use-media-query`),
|
|
96
|
+
`useIsMobile`, `useCopyToClipboard`, `useMutationObserver`, and `usePagination`.
|
|
97
|
+
- `@codefast/ui/variants/*` — the variant functions behind the styled components, such as `buttonVariants` from
|
|
98
|
+
`@codefast/ui/variants/button`, for styling an element that isn't the component itself.
|
|
99
|
+
- `@codefast/ui/primitives/*` — unstyled building blocks the styled components are composed from.
|
|
100
|
+
- `@codefast/ui/lib/utils` — `cn()` for merging class names and `tv()` for declaring variants, plus the `VariantProps`
|
|
101
|
+
type.
|
|
102
|
+
|
|
103
|
+
For example, to style a link like a button:
|
|
104
|
+
|
|
105
|
+
```tsx
|
|
106
|
+
import { buttonVariants } from "@codefast/ui/variants/button";
|
|
107
|
+
import { cn } from "@codefast/ui/lib/utils";
|
|
108
|
+
|
|
109
|
+
export function DocsLink() {
|
|
110
|
+
return (
|
|
111
|
+
<a className={cn(buttonVariants({ variant: "outline", size: "sm" }), "no-underline")} href="/docs">
|
|
112
|
+
Read the docs
|
|
113
|
+
</a>
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
```
|
|
83
117
|
|
|
84
118
|
## Theming
|
|
85
119
|
|
|
86
|
-
Theme tokens live in plain CSS files. Swap `themes/neutral.css` in the
|
|
120
|
+
Theme tokens live in plain CSS files. Swap `themes/neutral.css` in the imports above for any palette under
|
|
87
121
|
`@codefast/ui/css/themes/`:
|
|
88
122
|
|
|
89
123
|
```
|
|
@@ -91,14 +125,15 @@ amber · blue · cyan · emerald · fuchsia · gray · green · indigo · lime
|
|
|
91
125
|
pink · purple · red · rose · sky · slate · stone · teal · violet · yellow · zinc
|
|
92
126
|
```
|
|
93
127
|
|
|
94
|
-
Each palette defines light tokens on `:root` and dark tokens under `.dark`. Toggle dark
|
|
95
|
-
to `<html
|
|
128
|
+
Each palette defines light tokens on `:root` and dark tokens under `.dark`. Toggle the dark color scheme by adding the
|
|
129
|
+
`dark` class to `<html>`, or any ancestor:
|
|
96
130
|
|
|
97
131
|
```ts
|
|
98
132
|
document.documentElement.classList.toggle("dark", isDark);
|
|
99
133
|
```
|
|
100
134
|
|
|
101
|
-
|
|
135
|
+
To customize, override CSS custom properties after the imports. Palette tokens such as `--primary` come from the theme
|
|
136
|
+
file; shape tokens such as `--radius` come from the preset — so declare your overrides after both:
|
|
102
137
|
|
|
103
138
|
```css
|
|
104
139
|
@import "tailwindcss";
|
|
@@ -117,12 +152,16 @@ Customize by overriding CSS custom properties after the imports:
|
|
|
117
152
|
|
|
118
153
|
## Documentation
|
|
119
154
|
|
|
120
|
-
|
|
121
|
-
|
|
155
|
+
- [codefastlabs.com/ui](https://codefastlabs.com/ui) — live previews and copy-ready source for every component:
|
|
156
|
+
[getting started](https://codefastlabs.com/ui/about) and the
|
|
157
|
+
[component gallery](https://codefastlabs.com/ui/components).
|
|
158
|
+
- [`CHANGELOG.md`](./CHANGELOG.md) — release notes for every published version.
|
|
159
|
+
|
|
160
|
+
## Contributing
|
|
122
161
|
|
|
123
|
-
The package is developed in the [codefast monorepo](https://github.com/codefastlabs/codefast);
|
|
124
|
-
[
|
|
162
|
+
The package is developed in the [codefast monorepo](https://github.com/codefastlabs/codefast); the repo-wide
|
|
163
|
+
[contributing guide](../../CONTRIBUTING.md) covers setup, the test taxonomy, and the release flow.
|
|
125
164
|
|
|
126
165
|
## License
|
|
127
166
|
|
|
128
|
-
[MIT](
|
|
167
|
+
Released under the [MIT License](./LICENSE).
|
|
@@ -33,5 +33,4 @@ type AccordionContentProps = ComponentProps<typeof AccordionPrimitive.Content>;
|
|
|
33
33
|
*/
|
|
34
34
|
declare function AccordionContent({ children, className, ...props }: AccordionContentProps): JSX.Element;
|
|
35
35
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
36
|
-
export type { AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps };
|
|
37
|
-
//# sourceMappingURL=accordion.d.ts.map
|
|
36
|
+
export type { AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps };
|
|
@@ -27,5 +27,4 @@ function AccordionContent({ children, className, ...props }) {
|
|
|
27
27
|
return (_jsx(AccordionPrimitive.Content, { className: "overflow-hidden text-sm ease-snappy data-open:animate-accordion-down data-open:animation-duration-expand-in data-closed:animate-accordion-up data-closed:ease-exit data-closed:animation-duration-expand-out", "data-slot": "accordion-content", ...props, children: _jsx("div", { className: cn("h-(--radix-accordion-content-height) pt-0 pb-2.5 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", className), children: children }) }));
|
|
28
28
|
}
|
|
29
29
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
30
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
31
|
-
//# sourceMappingURL=accordion.js.map
|
|
30
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -98,5 +98,4 @@ interface AlertDialogCancelProps extends ComponentProps<typeof AlertDialogPrimit
|
|
|
98
98
|
*/
|
|
99
99
|
declare function AlertDialogCancel({ size, variant, ...props }: AlertDialogCancelProps): JSX.Element;
|
|
100
100
|
export { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, };
|
|
101
|
-
export type { AlertDialogActionProps, AlertDialogBodyProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogMediaProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps, };
|
|
102
|
-
//# sourceMappingURL=alert-dialog.d.ts.map
|
|
101
|
+
export type { AlertDialogActionProps, AlertDialogBodyProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogMediaProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps, };
|
|
@@ -69,5 +69,4 @@ function AlertDialogCancel({ size = "default", variant = "outline", ...props })
|
|
|
69
69
|
return (_jsx(Button, { asChild: true, size: size, variant: variant, children: _jsx(AlertDialogPrimitive.Cancel, { "data-slot": "alert-dialog-cancel", ...props }) }));
|
|
70
70
|
}
|
|
71
71
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
72
|
-
export { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, };
|
|
73
|
-
//# sourceMappingURL=alert-dialog.js.map
|
|
72
|
+
export { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, };
|
|
@@ -34,5 +34,4 @@ type AlertActionProps = ComponentProps<"div">;
|
|
|
34
34
|
*/
|
|
35
35
|
declare function AlertAction({ className, ...props }: AlertActionProps): JSX.Element;
|
|
36
36
|
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
37
|
-
export type { AlertActionProps, AlertDescriptionProps, AlertProps, AlertTitleProps };
|
|
38
|
-
//# sourceMappingURL=alert.d.ts.map
|
|
37
|
+
export type { AlertActionProps, AlertDescriptionProps, AlertProps, AlertTitleProps };
|
package/dist/components/alert.js
CHANGED
|
@@ -26,5 +26,4 @@ function AlertAction({ className, ...props }) {
|
|
|
26
26
|
return _jsx("div", { className: cn("absolute inset-e-2 top-2", className), "data-slot": "alert-action", ...props });
|
|
27
27
|
}
|
|
28
28
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
29
|
-
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
30
|
-
//# sourceMappingURL=alert.js.map
|
|
29
|
+
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
@@ -9,5 +9,4 @@ type AspectRatioProps = ComponentProps<typeof AspectRatioPrimitive.Root>;
|
|
|
9
9
|
*/
|
|
10
10
|
declare function AspectRatio({ ...props }: AspectRatioProps): JSX.Element;
|
|
11
11
|
export { AspectRatio };
|
|
12
|
-
export type { AspectRatioProps };
|
|
13
|
-
//# sourceMappingURL=aspect-ratio.d.ts.map
|
|
12
|
+
export type { AspectRatioProps };
|
|
@@ -7,5 +7,4 @@ function AspectRatio({ ...props }) {
|
|
|
7
7
|
return _jsx(AspectRatioPrimitive.Root, { "data-slot": "aspect-ratio", ...props });
|
|
8
8
|
}
|
|
9
9
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
10
|
-
export { AspectRatio };
|
|
11
|
-
//# sourceMappingURL=aspect-ratio.js.map
|
|
10
|
+
export { AspectRatio };
|
|
@@ -98,5 +98,4 @@ type AttachmentGroupProps = ComponentProps<"div">;
|
|
|
98
98
|
*/
|
|
99
99
|
declare function AttachmentGroup({ className, ...props }: AttachmentGroupProps): JSX.Element;
|
|
100
100
|
export { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, };
|
|
101
|
-
export type { AttachmentActionProps, AttachmentActionsProps, AttachmentContentProps, AttachmentDescriptionProps, AttachmentGroupProps, AttachmentMediaProps, AttachmentProps, AttachmentTitleProps, AttachmentTriggerProps, };
|
|
102
|
-
//# sourceMappingURL=attachment.d.ts.map
|
|
101
|
+
export type { AttachmentActionProps, AttachmentActionsProps, AttachmentContentProps, AttachmentDescriptionProps, AttachmentGroupProps, AttachmentMediaProps, AttachmentProps, AttachmentTitleProps, AttachmentTriggerProps, };
|
|
@@ -59,5 +59,4 @@ function AttachmentGroup({ className, ...props }) {
|
|
|
59
59
|
return (_jsx("div", { className: cn("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 scrollbar-none gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", className), "data-slot": "attachment-group", ...props }));
|
|
60
60
|
}
|
|
61
61
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
62
|
-
export { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, };
|
|
63
|
-
//# sourceMappingURL=attachment.js.map
|
|
62
|
+
export { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, };
|
|
@@ -51,5 +51,4 @@ type AvatarGroupCountProps = ComponentProps<"div">;
|
|
|
51
51
|
*/
|
|
52
52
|
declare function AvatarGroupCount({ className, ...props }: AvatarGroupCountProps): JSX.Element;
|
|
53
53
|
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
54
|
-
export type { AvatarBadgeProps, AvatarFallbackProps, AvatarGroupCountProps, AvatarGroupProps, AvatarImageProps, AvatarProps, };
|
|
55
|
-
//# sourceMappingURL=avatar.d.ts.map
|
|
54
|
+
export type { AvatarBadgeProps, AvatarFallbackProps, AvatarGroupCountProps, AvatarGroupProps, AvatarImageProps, AvatarProps, };
|
|
@@ -38,5 +38,4 @@ function AvatarGroupCount({ className, ...props }) {
|
|
|
38
38
|
return (_jsx("div", { className: cn("relative flex size-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm text-muted-foreground ring-2 ring-background group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3", className), "data-slot": "avatar-group-count", ...props }));
|
|
39
39
|
}
|
|
40
40
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
41
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
42
|
-
//# sourceMappingURL=avatar.js.map
|
|
41
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
@@ -11,5 +11,4 @@ interface BadgeProps extends ComponentProps<"span">, BadgeVariants {
|
|
|
11
11
|
*/
|
|
12
12
|
declare function Badge({ asChild, className, variant, ...props }: BadgeProps): JSX.Element;
|
|
13
13
|
export { Badge };
|
|
14
|
-
export type { BadgeProps };
|
|
15
|
-
//# sourceMappingURL=badge.d.ts.map
|
|
14
|
+
export type { BadgeProps };
|
package/dist/components/badge.js
CHANGED
|
@@ -9,5 +9,4 @@ function Badge({ asChild = false, className, variant = "default", ...props }) {
|
|
|
9
9
|
return (_jsx(Component, { className: badgeVariants({ className, variant }), "data-slot": "badge", "data-variant": variant, ...props }));
|
|
10
10
|
}
|
|
11
11
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
12
|
-
export { Badge };
|
|
13
|
-
//# sourceMappingURL=badge.js.map
|
|
12
|
+
export { Badge };
|
|
@@ -58,5 +58,4 @@ type BreadcrumbEllipsisProps = ComponentProps<"span">;
|
|
|
58
58
|
*/
|
|
59
59
|
declare function BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): JSX.Element;
|
|
60
60
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
|
|
61
|
-
export type { BreadcrumbEllipsisProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorProps, };
|
|
62
|
-
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
61
|
+
export type { BreadcrumbEllipsisProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorProps, };
|
|
@@ -46,5 +46,4 @@ function BreadcrumbEllipsis({ className, ...props }) {
|
|
|
46
46
|
return (_jsxs("span", { "aria-hidden": "true", className: cn("flex size-5 items-center justify-center [&>svg]:size-4", className), "data-slot": "breadcrumb-ellipsis", role: "presentation", ...props, children: [_jsx(MoreHorizontalIcon, {}), _jsx("span", { className: "sr-only", children: "More" })] }));
|
|
47
47
|
}
|
|
48
48
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
49
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
|
|
50
|
-
//# sourceMappingURL=breadcrumb.js.map
|
|
49
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
|
|
@@ -46,5 +46,4 @@ interface BubbleReactionsProps extends ComponentProps<"div">, BubbleReactionsVar
|
|
|
46
46
|
*/
|
|
47
47
|
declare function BubbleReactions({ align, className, side, ...props }: BubbleReactionsProps): JSX.Element;
|
|
48
48
|
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
49
|
-
export type { BubbleContentProps, BubbleGroupProps, BubbleProps, BubbleReactionsProps };
|
|
50
|
-
//# sourceMappingURL=bubble.d.ts.map
|
|
49
|
+
export type { BubbleContentProps, BubbleGroupProps, BubbleProps, BubbleReactionsProps };
|
|
@@ -28,5 +28,4 @@ function BubbleReactions({ align = "end", className, side = "bottom", ...props }
|
|
|
28
28
|
return (_jsx("div", { className: bubbleReactionsVariants({ align, className, side }), "data-align": align, "data-side": side, "data-slot": "bubble-reactions", ...props }));
|
|
29
29
|
}
|
|
30
30
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
31
|
-
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
32
|
-
//# sourceMappingURL=bubble.js.map
|
|
31
|
+
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
@@ -28,5 +28,4 @@ type ButtonGroupSeparatorProps = ComponentProps<typeof Separator>;
|
|
|
28
28
|
*/
|
|
29
29
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): JSX.Element;
|
|
30
30
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
|
|
31
|
-
export type { ButtonGroupProps, ButtonGroupSeparatorProps, ButtonGroupTextProps };
|
|
32
|
-
//# sourceMappingURL=button-group.d.ts.map
|
|
31
|
+
export type { ButtonGroupProps, ButtonGroupSeparatorProps, ButtonGroupTextProps };
|
|
@@ -23,5 +23,4 @@ function ButtonGroupSeparator({ className, orientation = "vertical", ...props })
|
|
|
23
23
|
return (_jsx(Separator, { className: cn("relative self-stretch bg-input data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto", className), "data-slot": "button-group-separator", orientation: orientation, ...props }));
|
|
24
24
|
}
|
|
25
25
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
26
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
|
|
27
|
-
//# sourceMappingURL=button-group.js.map
|
|
26
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
|
|
@@ -12,5 +12,4 @@ type ButtonProps = ComponentProps<"button"> & ButtonVariants & {
|
|
|
12
12
|
*/
|
|
13
13
|
declare function Button({ asChild, className, size, type, variant, ...props }: ButtonProps): JSX.Element;
|
|
14
14
|
export { Button };
|
|
15
|
-
export type { ButtonProps };
|
|
16
|
-
//# sourceMappingURL=button.d.ts.map
|
|
15
|
+
export type { ButtonProps };
|
|
@@ -12,5 +12,4 @@ function Button({ asChild = false, className, size, type = "button", variant, ..
|
|
|
12
12
|
return (_jsx("button", { className: buttonVariants({ className, size, variant }), "data-size": size, "data-slot": "button", "data-variant": variant, type: type, ...props }));
|
|
13
13
|
}
|
|
14
14
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
15
|
-
export { Button };
|
|
16
|
-
//# sourceMappingURL=button.js.map
|
|
15
|
+
export { Button };
|
|
@@ -16,12 +16,11 @@ declare function Calendar({ buttonVariant, captionLayout, className, classNames,
|
|
|
16
16
|
* @since 0.3.16-canary.0
|
|
17
17
|
*/
|
|
18
18
|
type CalendarDayButtonProps = ComponentProps<typeof DayButton> & {
|
|
19
|
-
locale?: Partial<Locale
|
|
19
|
+
locale?: Partial<Locale> | undefined;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* @since 0.3.16-canary.0
|
|
23
23
|
*/
|
|
24
24
|
declare function CalendarDayButton({ className, day, locale, modifiers, ...props }: CalendarDayButtonProps): JSX.Element;
|
|
25
25
|
export { Calendar, CalendarDayButton };
|
|
26
|
-
export type { CalendarDayButtonProps, CalendarProps };
|
|
27
|
-
//# sourceMappingURL=calendar.d.ts.map
|
|
26
|
+
export type { CalendarDayButtonProps, CalendarProps };
|
|
@@ -84,5 +84,4 @@ function CalendarDayButton({ className, day, locale, modifiers, ...props }) {
|
|
|
84
84
|
return (_jsx(Button, { ref: ref, className: cn("relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-focused/day:relative group-data-focused/day:z-10 group-data-focused/day:border-ring group-data-focused/day:ring-3 group-data-focused/day:ring-ring/50 data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-e-(--cell-radius) data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-s-(--cell-radius) data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground dark:hover:text-foreground [&>span]:text-xs [&>span]:opacity-70", defaultClassNames.day, className), "data-day": day.date.toLocaleDateString(locale?.code), "data-range-end": modifiers.range_end, "data-range-middle": modifiers.range_middle, "data-range-start": modifiers.range_start, "data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle, size: "icon", variant: "ghost", ...props }));
|
|
85
85
|
}
|
|
86
86
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
87
|
-
export { Calendar, CalendarDayButton };
|
|
88
|
-
//# sourceMappingURL=calendar.js.map
|
|
87
|
+
export { Calendar, CalendarDayButton };
|
|
@@ -58,5 +58,4 @@ type CardActionProps = ComponentProps<"div">;
|
|
|
58
58
|
*/
|
|
59
59
|
declare function CardAction({ className, ...props }: CardActionProps): JSX.Element;
|
|
60
60
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
61
|
-
export type { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, };
|
|
62
|
-
//# sourceMappingURL=card.d.ts.map
|
|
61
|
+
export type { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, };
|
package/dist/components/card.js
CHANGED
|
@@ -43,5 +43,4 @@ function CardAction({ className, ...props }) {
|
|
|
43
43
|
return (_jsx("div", { className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className), "data-slot": "card-action", ...props }));
|
|
44
44
|
}
|
|
45
45
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
46
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
47
|
-
//# sourceMappingURL=card.js.map
|
|
46
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -81,5 +81,4 @@ type CarouselNextProps = ComponentProps<typeof Button>;
|
|
|
81
81
|
*/
|
|
82
82
|
declare function CarouselNext({ __scopeCarousel, className, size, variant, ...props }: ScopedProps<CarouselNextProps>): JSX.Element;
|
|
83
83
|
export type { CarouselApi, CarouselContentProps, CarouselItemProps, CarouselNextProps, CarouselPreviousProps, CarouselProps, };
|
|
84
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope };
|
|
85
|
-
//# sourceMappingURL=carousel.d.ts.map
|
|
84
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope };
|
|
@@ -123,5 +123,4 @@ function CarouselNext({ __scopeCarousel, className, size = "icon-sm", variant =
|
|
|
123
123
|
? "-inset-e-12 top-1/2 -translate-y-1/2 active:not-aria-[haspopup]:translate-y-[calc(-50%+1px)]"
|
|
124
124
|
: "inset-s-1/2 -bottom-12 -translate-x-1/2 rotate-90 rtl:translate-x-1/2", className), "data-slot": "carousel-next", disabled: !canScrollNext, size: size, variant: variant, onClick: scrollNext, ...props, children: [_jsx(ChevronRightIcon, { className: "rtl:rotate-180" }), _jsx("span", { className: "sr-only", children: "Next slide" })] }));
|
|
125
125
|
}
|
|
126
|
-
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope };
|
|
127
|
-
//# sourceMappingURL=carousel.js.map
|
|
126
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope };
|
|
@@ -97,5 +97,4 @@ type ChartLegendContentProps = ComponentProps<"div"> & ExtractProps<RechartsPrim
|
|
|
97
97
|
*/
|
|
98
98
|
declare function ChartLegendContent({ __scopeChart, className, hideIcon, nameKey, payload, verticalAlign, }: ScopedProps<ChartLegendContentProps>): ReactNode;
|
|
99
99
|
export type { ChartConfig, ChartContainerProps, ChartLegendContentProps, ChartLegendProps, ChartStyleProps, ChartTooltipContentProps, ChartTooltipProps, };
|
|
100
|
-
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope, };
|
|
101
|
-
//# sourceMappingURL=chart.d.ts.map
|
|
100
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope, };
|
package/dist/components/chart.js
CHANGED
|
@@ -203,5 +203,4 @@ function generateChartStyles(id, colorConfig) {
|
|
|
203
203
|
.map(([theme, prefix]) => generateThemeStyles(theme, prefix, id, colorConfig))
|
|
204
204
|
.join("\n\n");
|
|
205
205
|
}
|
|
206
|
-
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope, };
|
|
207
|
-
//# sourceMappingURL=chart.js.map
|
|
206
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope, };
|
|
@@ -19,5 +19,4 @@ interface CheckboxCardsItemProps extends ComponentProps<typeof CheckboxGroupPrim
|
|
|
19
19
|
*/
|
|
20
20
|
declare function CheckboxCardsItem({ checkboxClassName, children, className, ...props }: CheckboxCardsItemProps): JSX.Element;
|
|
21
21
|
export { CheckboxCards, CheckboxCardsItem };
|
|
22
|
-
export type { CheckboxCardsItemProps, CheckboxCardsProps };
|
|
23
|
-
//# sourceMappingURL=checkbox-cards.d.ts.map
|
|
22
|
+
export type { CheckboxCardsItemProps, CheckboxCardsProps };
|
|
@@ -16,5 +16,4 @@ function CheckboxCardsItem({ checkboxClassName, children, className, ...props })
|
|
|
16
16
|
return (_jsxs(Label, { className: cn("flex items-start gap-2.5 rounded-lg border border-input p-2.5 transition has-focus-visible:border-ring has-disabled:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-data-indeterminate:border-primary/30 has-data-indeterminate:bg-primary/5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 dark:has-data-indeterminate:border-primary/20 dark:has-data-indeterminate:bg-primary/10", className), "data-slot": "checkbox-card", children: [_jsx(CheckboxGroupPrimitive.Item, { className: cn("peer relative mt-0.5 flex size-4 shrink-0 items-center justify-center rounded-sm border border-input shadow-xs transition-shadow duration-control ease-snappy outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground dark:data-indeterminate:bg-primary", checkboxClassName), "data-slot": "checkbox-card-item", ...props, children: _jsxs(CheckboxGroupPrimitive.CheckboxGroupIndicator, { className: "group/checkbox-card-indicator grid animate-in place-content-center text-current duration-control-indicator ease-spring zoom-in-50 [&>svg]:size-3.5", "data-slot": "checkbox-card-indicator", children: [_jsx(CheckIcon, { className: "group-data-indeterminate/checkbox-card-indicator:hidden" }), _jsx(MinusIcon, { className: "hidden group-data-indeterminate/checkbox-card-indicator:block" })] }) }), children] }));
|
|
17
17
|
}
|
|
18
18
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
19
|
-
export { CheckboxCards, CheckboxCardsItem };
|
|
20
|
-
//# sourceMappingURL=checkbox-cards.js.map
|
|
19
|
+
export { CheckboxCards, CheckboxCardsItem };
|
|
@@ -17,5 +17,4 @@ type CheckboxGroupItemProps = ComponentProps<typeof CheckboxGroupPrimitive.Item>
|
|
|
17
17
|
*/
|
|
18
18
|
declare function CheckboxGroupItem({ className, ...props }: CheckboxGroupItemProps): JSX.Element;
|
|
19
19
|
export { CheckboxGroup, CheckboxGroupItem };
|
|
20
|
-
export type { CheckboxGroupItemProps, CheckboxGroupProps };
|
|
21
|
-
//# sourceMappingURL=checkbox-group.d.ts.map
|
|
20
|
+
export type { CheckboxGroupItemProps, CheckboxGroupProps };
|
|
@@ -15,5 +15,4 @@ function CheckboxGroupItem({ className, ...props }) {
|
|
|
15
15
|
return (_jsx(CheckboxGroupPrimitive.Item, { className: cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-sm border border-input shadow-xs transition-shadow duration-control ease-snappy outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground dark:data-indeterminate:bg-primary", className), "data-slot": "checkbox-group-item", ...props, children: _jsxs(CheckboxGroupPrimitive.CheckboxGroupIndicator, { className: "group/checkbox-group-indicator grid animate-in place-content-center text-current duration-control-indicator ease-spring zoom-in-50 [&>svg]:size-3.5", "data-slot": "checkbox-group-indicator", children: [_jsx(CheckIcon, { className: "group-data-indeterminate/checkbox-group-indicator:hidden" }), _jsx(MinusIcon, { className: "hidden group-data-indeterminate/checkbox-group-indicator:block" })] }) }));
|
|
16
16
|
}
|
|
17
17
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
18
|
-
export { CheckboxGroup, CheckboxGroupItem };
|
|
19
|
-
//# sourceMappingURL=checkbox-group.js.map
|
|
18
|
+
export { CheckboxGroup, CheckboxGroupItem };
|
|
@@ -9,5 +9,4 @@ type CheckboxProps = ComponentProps<typeof CheckboxPrimitive.Root>;
|
|
|
9
9
|
*/
|
|
10
10
|
declare function Checkbox({ className, ...props }: CheckboxProps): JSX.Element;
|
|
11
11
|
export { Checkbox };
|
|
12
|
-
export type { CheckboxProps };
|
|
13
|
-
//# sourceMappingURL=checkbox.d.ts.map
|
|
12
|
+
export type { CheckboxProps };
|
|
@@ -9,5 +9,4 @@ function Checkbox({ className, ...props }) {
|
|
|
9
9
|
return (_jsx(CheckboxPrimitive.Root, { className: cn("peer relative flex size-4 shrink-0 items-center justify-center rounded-sm border border-input shadow-xs transition-shadow duration-control ease-snappy outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-indeterminate:border-primary data-indeterminate:bg-primary data-indeterminate:text-primary-foreground dark:data-indeterminate:bg-primary", className), "data-slot": "checkbox", ...props, children: _jsxs(CheckboxPrimitive.Indicator, { className: "group/checkbox-indicator grid animate-in place-content-center text-current duration-control-indicator ease-spring zoom-in-50 [&>svg]:size-3.5", "data-slot": "checkbox-indicator", children: [_jsx(CheckIcon, { className: "group-data-indeterminate/checkbox-indicator:hidden" }), _jsx(MinusIcon, { className: "hidden group-data-indeterminate/checkbox-indicator:block" })] }) }));
|
|
10
10
|
}
|
|
11
11
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
12
|
-
export { Checkbox };
|
|
13
|
-
//# sourceMappingURL=checkbox.js.map
|
|
12
|
+
export { Checkbox };
|
|
@@ -25,5 +25,4 @@ type CollapsibleContentProps = ComponentProps<typeof CollapsiblePrimitive.Collap
|
|
|
25
25
|
*/
|
|
26
26
|
declare function CollapsibleContent({ ...props }: CollapsibleContentProps): JSX.Element;
|
|
27
27
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
28
|
-
export type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps };
|
|
29
|
-
//# sourceMappingURL=collapsible.d.ts.map
|
|
28
|
+
export type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps };
|
|
@@ -19,5 +19,4 @@ function CollapsibleContent({ ...props }) {
|
|
|
19
19
|
return _jsx(CollapsiblePrimitive.CollapsibleContent, { "data-slot": "collapsible-content", ...props });
|
|
20
20
|
}
|
|
21
21
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
22
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
23
|
-
//# sourceMappingURL=collapsible.js.map
|
|
22
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -87,5 +87,4 @@ type CommandShortcutProps = ComponentProps<"span">;
|
|
|
87
87
|
*/
|
|
88
88
|
declare function CommandShortcut({ className, ...props }: CommandShortcutProps): JSX.Element;
|
|
89
89
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, };
|
|
90
|
-
export type { CommandDialogProps, CommandEmptyProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandLoadingProps, CommandProps, CommandSeparatorProps, CommandShortcutProps, };
|
|
91
|
-
//# sourceMappingURL=command.d.ts.map
|
|
90
|
+
export type { CommandDialogProps, CommandEmptyProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandLoadingProps, CommandProps, CommandSeparatorProps, CommandShortcutProps, };
|
|
@@ -65,5 +65,4 @@ function CommandShortcut({ className, ...props }) {
|
|
|
65
65
|
return (_jsx("span", { className: cn("ms-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground", className), "data-slot": "command-shortcut", ...props }));
|
|
66
66
|
}
|
|
67
67
|
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
68
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, };
|
|
69
|
-
//# sourceMappingURL=command.js.map
|
|
68
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, };
|