@codefast/ui 0.5.0-canary.9 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/README.md +24 -16
- package/dist/components/accordion.d.ts.map +1 -1
- package/dist/components/accordion.js +1 -3
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +1 -3
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +1 -3
- package/dist/components/alert.js.map +1 -1
- package/dist/components/aspect-ratio.d.ts.map +1 -1
- package/dist/components/aspect-ratio.js +1 -3
- package/dist/components/aspect-ratio.js.map +1 -1
- package/dist/components/attachment.d.ts.map +1 -1
- package/dist/components/attachment.js +1 -3
- package/dist/components/attachment.js.map +1 -1
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +1 -3
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +1 -3
- package/dist/components/badge.js.map +1 -1
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb.js +1 -3
- package/dist/components/breadcrumb.js.map +1 -1
- package/dist/components/bubble.d.ts.map +1 -1
- package/dist/components/bubble.js +1 -3
- package/dist/components/bubble.js.map +1 -1
- package/dist/components/button-group.d.ts.map +1 -1
- package/dist/components/button-group.js +1 -3
- package/dist/components/button-group.js.map +1 -1
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +1 -3
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.d.ts.map +1 -1
- package/dist/components/calendar.js +4 -12
- package/dist/components/calendar.js.map +1 -1
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +1 -3
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts.map +1 -1
- package/dist/components/carousel.js +5 -15
- package/dist/components/carousel.js.map +1 -1
- package/dist/components/chart.d.ts.map +1 -1
- package/dist/components/chart.js +5 -15
- package/dist/components/chart.js.map +1 -1
- package/dist/components/checkbox-cards.d.ts.map +1 -1
- package/dist/components/checkbox-cards.js +1 -3
- package/dist/components/checkbox-cards.js.map +1 -1
- package/dist/components/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group.js +1 -3
- package/dist/components/checkbox-group.js.map +1 -1
- package/dist/components/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox.js +1 -3
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts.map +1 -1
- package/dist/components/collapsible.js +1 -3
- package/dist/components/collapsible.js.map +1 -1
- package/dist/components/command.d.ts.map +1 -1
- package/dist/components/command.js +1 -3
- package/dist/components/command.js.map +1 -1
- package/dist/components/context-menu.d.ts.map +1 -1
- package/dist/components/context-menu.js +1 -3
- package/dist/components/context-menu.js.map +1 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +1 -3
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/direction.d.ts.map +1 -1
- package/dist/components/direction.js +1 -3
- package/dist/components/direction.js.map +1 -1
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +1 -3
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu.js +1 -3
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.d.ts.map +1 -1
- package/dist/components/empty.js +1 -3
- package/dist/components/empty.js.map +1 -1
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +1 -3
- package/dist/components/field.js.map +1 -1
- package/dist/components/form.d.ts.map +1 -1
- package/dist/components/form.js +5 -15
- package/dist/components/form.js.map +1 -1
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +1 -3
- package/dist/components/hover-card.js.map +1 -1
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +1 -3
- package/dist/components/input-group.js.map +1 -1
- package/dist/components/input-number.d.ts.map +1 -1
- package/dist/components/input-number.js +1 -3
- package/dist/components/input-number.js.map +1 -1
- package/dist/components/input-otp.d.ts.map +1 -1
- package/dist/components/input-otp.js +1 -3
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input-password.d.ts.map +1 -1
- package/dist/components/input-password.js +1 -3
- package/dist/components/input-password.js.map +1 -1
- package/dist/components/input-search.d.ts.map +1 -1
- package/dist/components/input-search.js +1 -3
- package/dist/components/input-search.js.map +1 -1
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +1 -3
- package/dist/components/input.js.map +1 -1
- package/dist/components/item.d.ts.map +1 -1
- package/dist/components/item.js +1 -3
- package/dist/components/item.js.map +1 -1
- package/dist/components/kbd.d.ts.map +1 -1
- package/dist/components/kbd.js +1 -3
- package/dist/components/kbd.js.map +1 -1
- package/dist/components/label.d.ts.map +1 -1
- package/dist/components/label.js +1 -3
- package/dist/components/label.js.map +1 -1
- package/dist/components/marker.d.ts.map +1 -1
- package/dist/components/marker.js +1 -3
- package/dist/components/marker.js.map +1 -1
- package/dist/components/menubar.d.ts.map +1 -1
- package/dist/components/menubar.js +1 -3
- package/dist/components/menubar.js.map +1 -1
- package/dist/components/message-scroller.d.ts.map +1 -1
- package/dist/components/message-scroller.js +1 -3
- package/dist/components/message-scroller.js.map +1 -1
- package/dist/components/message.d.ts.map +1 -1
- package/dist/components/message.js +1 -3
- package/dist/components/message.js.map +1 -1
- package/dist/components/native-select.d.ts.map +1 -1
- package/dist/components/native-select.js +1 -3
- package/dist/components/native-select.js.map +1 -1
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +1 -3
- package/dist/components/navigation-menu.js.map +1 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +1 -3
- package/dist/components/pagination.js.map +1 -1
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +1 -3
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress-circle.d.ts.map +1 -1
- package/dist/components/progress-circle.js +3 -7
- package/dist/components/progress-circle.js.map +1 -1
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +1 -3
- package/dist/components/progress.js.map +1 -1
- package/dist/components/radio-cards.d.ts.map +1 -1
- package/dist/components/radio-cards.js +1 -3
- package/dist/components/radio-cards.js.map +1 -1
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +1 -3
- package/dist/components/radio-group.js.map +1 -1
- package/dist/components/radio.d.ts.map +1 -1
- package/dist/components/radio.js +1 -3
- package/dist/components/radio.js.map +1 -1
- package/dist/components/resizable.d.ts.map +1 -1
- package/dist/components/resizable.js +1 -3
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/scroll-area.d.ts.map +1 -1
- package/dist/components/scroll-area.js +2 -6
- package/dist/components/scroll-area.js.map +1 -1
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +1 -3
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts.map +1 -1
- package/dist/components/separator.js +1 -3
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +1 -3
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sidebar.d.ts +3 -0
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +9 -20
- package/dist/components/sidebar.js.map +1 -1
- package/dist/components/skeleton.d.ts.map +1 -1
- package/dist/components/skeleton.js +1 -3
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +1 -3
- package/dist/components/slider.js.map +1 -1
- package/dist/components/sonner.d.ts.map +1 -1
- package/dist/components/sonner.js +1 -3
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/spinner.js +2 -6
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/switch.js +1 -3
- package/dist/components/switch.js.map +1 -1
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +1 -3
- package/dist/components/table.js.map +1 -1
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +1 -3
- package/dist/components/tabs.js.map +1 -1
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +1 -3
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group.js +3 -9
- package/dist/components/toggle-group.js.map +1 -1
- package/dist/components/toggle.d.ts.map +1 -1
- package/dist/components/toggle.js +1 -3
- package/dist/components/toggle.js.map +1 -1
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +1 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/hooks/use-animated-value.d.ts +1 -1
- package/dist/hooks/use-animated-value.js +1 -1
- package/dist/hooks/use-copy-to-clipboard.d.ts +1 -1
- package/dist/hooks/use-copy-to-clipboard.js +1 -1
- package/dist/hooks/use-is-mobile.d.ts +1 -1
- package/dist/hooks/use-is-mobile.js +1 -1
- package/dist/hooks/use-media-query.js +1 -1
- package/dist/hooks/use-message-scroller-commands.d.ts +4 -0
- package/dist/hooks/use-message-scroller-commands.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-commands.js +4 -3
- package/dist/hooks/use-message-scroller-commands.js.map +1 -1
- package/dist/hooks/use-message-scroller-controller.d.ts +4 -0
- package/dist/hooks/use-message-scroller-controller.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-controller.js +4 -3
- package/dist/hooks/use-message-scroller-controller.js.map +1 -1
- package/dist/hooks/use-message-scroller-refs.d.ts +7 -0
- package/dist/hooks/use-message-scroller-refs.d.ts.map +1 -1
- package/dist/hooks/use-message-scroller-refs.js +3 -2
- package/dist/hooks/use-message-scroller-refs.js.map +1 -1
- package/dist/hooks/use-pagination.d.ts +1 -1
- package/dist/hooks/use-pagination.js +1 -1
- package/dist/lib/message-scroller/types.d.ts +66 -0
- package/dist/lib/message-scroller/types.d.ts.map +1 -1
- package/dist/lib/message-scroller/types.js +23 -14
- package/dist/lib/message-scroller/types.js.map +1 -1
- package/dist/lib/use-render.d.ts +1 -1
- package/dist/lib/use-render.js +1 -1
- package/dist/primitives/checkbox-group.d.ts.map +1 -1
- package/dist/primitives/checkbox-group.js +3 -9
- package/dist/primitives/checkbox-group.js.map +1 -1
- package/dist/primitives/input-number.d.ts.map +1 -1
- package/dist/primitives/input-number.js +5 -15
- package/dist/primitives/input-number.js.map +1 -1
- package/dist/primitives/input.d.ts.map +1 -1
- package/dist/primitives/input.js +3 -9
- package/dist/primitives/input.js.map +1 -1
- package/dist/primitives/progress-circle.d.ts.map +1 -1
- package/dist/primitives/progress-circle.js +7 -21
- package/dist/primitives/progress-circle.js.map +1 -1
- package/dist/variants/alert.d.ts.map +1 -1
- package/dist/variants/alert.js +2 -6
- package/dist/variants/alert.js.map +1 -1
- package/dist/variants/attachment.d.ts.map +1 -1
- package/dist/variants/attachment.js +3 -9
- package/dist/variants/attachment.js.map +1 -1
- package/dist/variants/badge.d.ts.map +1 -1
- package/dist/variants/badge.js +2 -6
- package/dist/variants/badge.js.map +1 -1
- package/dist/variants/bubble.d.ts.map +1 -1
- package/dist/variants/bubble.js +3 -9
- package/dist/variants/bubble.js.map +1 -1
- package/dist/variants/button-group.d.ts.map +1 -1
- package/dist/variants/button-group.js +2 -6
- package/dist/variants/button-group.js.map +1 -1
- package/dist/variants/button.d.ts.map +1 -1
- package/dist/variants/button.js +2 -6
- package/dist/variants/button.js.map +1 -1
- package/dist/variants/empty.d.ts.map +1 -1
- package/dist/variants/empty.js +2 -6
- package/dist/variants/empty.js.map +1 -1
- package/dist/variants/field.d.ts.map +1 -1
- package/dist/variants/field.js +2 -6
- package/dist/variants/field.js.map +1 -1
- package/dist/variants/input-group.d.ts.map +1 -1
- package/dist/variants/input-group.js +4 -12
- package/dist/variants/input-group.js.map +1 -1
- package/dist/variants/item.d.ts.map +1 -1
- package/dist/variants/item.js +3 -9
- package/dist/variants/item.js.map +1 -1
- package/dist/variants/marker.d.ts.map +1 -1
- package/dist/variants/marker.js +2 -6
- package/dist/variants/marker.js.map +1 -1
- package/dist/variants/navigation-menu.d.ts.map +1 -1
- package/dist/variants/navigation-menu.js +2 -6
- package/dist/variants/navigation-menu.js.map +1 -1
- package/dist/variants/progress-circle.d.ts.map +1 -1
- package/dist/variants/progress-circle.js +2 -6
- package/dist/variants/progress-circle.js.map +1 -1
- package/dist/variants/scroll-area.d.ts.map +1 -1
- package/dist/variants/scroll-area.js +2 -6
- package/dist/variants/scroll-area.js.map +1 -1
- package/dist/variants/separator.d.ts.map +1 -1
- package/dist/variants/separator.js +2 -6
- package/dist/variants/separator.js.map +1 -1
- package/dist/variants/sheet.d.ts.map +1 -1
- package/dist/variants/sheet.js +2 -6
- package/dist/variants/sheet.js.map +1 -1
- package/dist/variants/sidebar.d.ts.map +1 -1
- package/dist/variants/sidebar.js +2 -6
- package/dist/variants/sidebar.js.map +1 -1
- package/dist/variants/tabs.d.ts.map +1 -1
- package/dist/variants/tabs.js +2 -6
- package/dist/variants/tabs.js.map +1 -1
- package/dist/variants/toggle.d.ts.map +1 -1
- package/dist/variants/toggle.js +2 -6
- package/dist/variants/toggle.js.map +1 -1
- package/package.json +11 -10
- package/src/components/accordion.tsx +5 -15
- package/src/components/alert-dialog.tsx +12 -36
- package/src/components/alert.tsx +5 -15
- package/src/components/aspect-ratio.tsx +2 -6
- package/src/components/attachment.tsx +10 -30
- package/src/components/avatar.tsx +7 -21
- package/src/components/badge.tsx +2 -6
- package/src/components/breadcrumb.tsx +8 -24
- package/src/components/bubble.tsx +5 -15
- package/src/components/button-group.tsx +4 -12
- package/src/components/button.tsx +2 -6
- package/src/components/calendar.tsx +6 -18
- package/src/components/card.tsx +8 -24
- package/src/components/carousel.tsx +7 -21
- package/src/components/chart.tsx +11 -33
- package/src/components/checkbox-cards.tsx +3 -9
- package/src/components/checkbox-group.tsx +3 -9
- package/src/components/checkbox.tsx +2 -6
- package/src/components/collapsible.tsx +4 -12
- package/src/components/command.tsx +11 -33
- package/src/components/context-menu.tsx +16 -48
- package/src/components/dialog.tsx +10 -30
- package/src/components/direction.tsx +2 -6
- package/src/components/drawer.tsx +9 -27
- package/src/components/dropdown-menu.tsx +16 -48
- package/src/components/empty.tsx +7 -21
- package/src/components/field.tsx +11 -33
- package/src/components/form.tsx +10 -30
- package/src/components/hover-card.tsx +5 -15
- package/src/components/input-group.tsx +7 -21
- package/src/components/input-number.tsx +6 -18
- package/src/components/input-otp.tsx +5 -15
- package/src/components/input-password.tsx +2 -6
- package/src/components/input-search.tsx +2 -6
- package/src/components/input.tsx +2 -6
- package/src/components/item.tsx +11 -33
- package/src/components/kbd.tsx +2 -6
- package/src/components/label.tsx +2 -6
- package/src/components/marker.tsx +4 -12
- package/src/components/menubar.tsx +17 -51
- package/src/components/message-scroller.tsx +7 -21
- package/src/components/message.tsx +7 -21
- package/src/components/native-select.tsx +4 -12
- package/src/components/navigation-menu.tsx +9 -27
- package/src/components/pagination.tsx +8 -24
- package/src/components/popover.tsx +9 -27
- package/src/components/progress-circle.tsx +4 -10
- package/src/components/progress.tsx +2 -6
- package/src/components/radio-cards.tsx +3 -9
- package/src/components/radio-group.tsx +3 -9
- package/src/components/radio.tsx +2 -6
- package/src/components/resizable.tsx +4 -12
- package/src/components/scroll-area.tsx +4 -12
- package/src/components/select.tsx +11 -33
- package/src/components/separator.tsx +3 -9
- package/src/components/sheet.tsx +10 -30
- package/src/components/sidebar.tsx +28 -77
- package/src/components/skeleton.tsx +2 -6
- package/src/components/slider.tsx +2 -6
- package/src/components/sonner.tsx +2 -6
- package/src/components/spinner.tsx +2 -6
- package/src/components/switch.tsx +2 -6
- package/src/components/table.tsx +9 -27
- package/src/components/tabs.tsx +5 -15
- package/src/components/textarea.tsx +2 -6
- package/src/components/toggle-group.tsx +4 -12
- package/src/components/toggle.tsx +2 -6
- package/src/components/tooltip.tsx +6 -18
- package/src/css/foundation/base.css +3 -9
- package/src/css/foundation/motion.css +2 -6
- package/src/css/foundation/tokens.css +6 -18
- package/src/css/foundation/variants.css +3 -9
- package/src/css/themes/amber.css +4 -12
- package/src/css/themes/blue.css +4 -12
- package/src/css/themes/cyan.css +4 -12
- package/src/css/themes/emerald.css +4 -12
- package/src/css/themes/fuchsia.css +4 -12
- package/src/css/themes/gray.css +4 -12
- package/src/css/themes/green.css +4 -12
- package/src/css/themes/indigo.css +4 -12
- package/src/css/themes/lime.css +4 -12
- package/src/css/themes/neutral.css +4 -12
- package/src/css/themes/orange.css +4 -12
- package/src/css/themes/pink.css +4 -12
- package/src/css/themes/purple.css +4 -12
- package/src/css/themes/red.css +4 -12
- package/src/css/themes/rose.css +4 -12
- package/src/css/themes/sky.css +4 -12
- package/src/css/themes/slate.css +4 -12
- package/src/css/themes/stone.css +4 -12
- package/src/css/themes/teal.css +4 -12
- package/src/css/themes/violet.css +4 -12
- package/src/css/themes/yellow.css +4 -12
- package/src/css/themes/zinc.css +4 -12
- package/src/hooks/use-animated-value.ts +1 -1
- package/src/hooks/use-copy-to-clipboard.ts +1 -1
- package/src/hooks/use-is-mobile.ts +1 -1
- package/src/hooks/use-media-query.ts +1 -1
- package/src/hooks/use-message-scroller-commands.ts +4 -3
- package/src/hooks/use-message-scroller-controller.ts +4 -3
- package/src/hooks/use-message-scroller-refs.ts +7 -5
- package/src/hooks/use-pagination.ts +1 -1
- package/src/lib/message-scroller/types.ts +66 -39
- package/src/lib/use-render.ts +1 -1
- package/src/primitives/checkbox-group.tsx +5 -15
- package/src/primitives/input-number.tsx +8 -24
- package/src/primitives/input.tsx +3 -9
- package/src/primitives/progress-circle.tsx +9 -27
- package/src/variants/alert.ts +2 -6
- package/src/variants/attachment.ts +3 -9
- package/src/variants/badge.ts +2 -6
- package/src/variants/bubble.ts +3 -9
- package/src/variants/button-group.ts +2 -6
- package/src/variants/button.ts +2 -6
- package/src/variants/empty.ts +2 -6
- package/src/variants/field.ts +2 -6
- package/src/variants/input-group.ts +4 -12
- package/src/variants/item.ts +3 -9
- package/src/variants/marker.ts +2 -6
- package/src/variants/navigation-menu.ts +2 -6
- package/src/variants/progress-circle.ts +2 -6
- package/src/variants/scroll-area.ts +2 -6
- package/src/variants/separator.ts +2 -6
- package/src/variants/sheet.ts +2 -6
- package/src/variants/sidebar.ts +2 -6
- package/src/variants/tabs.ts +2 -6
- package/src/variants/toggle.ts +2 -6
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Context } from "radix-ui/internal";
|
|
3
3
|
import { useId, useMemo } from "react";
|
|
4
|
-
|
|
5
|
-
* Context: ProgressCircleProvider
|
|
6
|
-
* --------------------------------------------------------------------------- */
|
|
4
|
+
// ── Context: ProgressCircleProvider ──────────────────────────────────────────────────────────────────────────────────
|
|
7
5
|
const PROGRESS_CIRCLE_PROVIDER_NAME = "ProgressCircleProvider";
|
|
8
6
|
const [createProgressCircleContext, createProgressCircleScope] = Context.createContextScope(PROGRESS_CIRCLE_PROVIDER_NAME);
|
|
9
7
|
const [ProgressCircleContextProvider, useProgressCircleContext] = createProgressCircleContext(PROGRESS_CIRCLE_PROVIDER_NAME);
|
|
@@ -87,9 +85,7 @@ function ProgressCircleProvider({ __scopeProgressCircle, children, formatValue,
|
|
|
87
85
|
function ProgressCircle({ __scopeProgressCircle, ...props }) {
|
|
88
86
|
return _jsx("div", { ...props });
|
|
89
87
|
}
|
|
90
|
-
|
|
91
|
-
* Component: ProgressCircleSVG
|
|
92
|
-
* --------------------------------------------------------------------------- */
|
|
88
|
+
// ── Component: ProgressCircleSVG ─────────────────────────────────────────────────────────────────────────────────────
|
|
93
89
|
const PROGRESS_CIRCLE_SVG_NAME = "ProgressCircleSVG";
|
|
94
90
|
/**
|
|
95
91
|
* SVG container for the progress circle
|
|
@@ -102,9 +98,7 @@ function ProgressCircleSVG({ __scopeProgressCircle, ...props }) {
|
|
|
102
98
|
const { clampedValue, id, max, min, size, valueText } = useProgressCircleContext(PROGRESS_CIRCLE_SVG_NAME, __scopeProgressCircle);
|
|
103
99
|
return (_jsx("svg", { "aria-label": "Progress", "aria-valuemax": max, "aria-valuemin": min, "aria-valuenow": clampedValue, "aria-valuetext": clampedValue === undefined ? undefined : valueText, height: size, id: id, role: "progressbar", viewBox: `0 0 ${size.toString()} ${size.toString()}`, width: size, ...props }));
|
|
104
100
|
}
|
|
105
|
-
|
|
106
|
-
* Component: ProgressCircleTrack
|
|
107
|
-
* --------------------------------------------------------------------------- */
|
|
101
|
+
// ── Component: ProgressCircleTrack ───────────────────────────────────────────────────────────────────────────────────
|
|
108
102
|
const PROGRESS_CIRCLE_TRACK_NAME = "ProgressCircleTrack";
|
|
109
103
|
/**
|
|
110
104
|
* Background circle for the progress indicator
|
|
@@ -117,9 +111,7 @@ function ProgressCircleTrack({ __scopeProgressCircle, ...props }) {
|
|
|
117
111
|
const { center, radius, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_TRACK_NAME, __scopeProgressCircle);
|
|
118
112
|
return (_jsx("circle", { cx: center, cy: center, fill: "transparent", r: radius, stroke: threshold?.background ?? "currentColor", strokeWidth: strokeWidth, ...props }));
|
|
119
113
|
}
|
|
120
|
-
|
|
121
|
-
* Component: ProgressCircleIndicator
|
|
122
|
-
* --------------------------------------------------------------------------- */
|
|
114
|
+
// ── Component: ProgressCircleIndicator ───────────────────────────────────────────────────────────────────────────────
|
|
123
115
|
const PROGRESS_CIRCLE_INDICATOR_NAME = "ProgressCircleIndicator";
|
|
124
116
|
/**
|
|
125
117
|
* Foreground circle showing progress
|
|
@@ -132,9 +124,7 @@ function ProgressCircleIndicator({ __scopeProgressCircle, ...props }) {
|
|
|
132
124
|
const { center, circumference, radius, rotationTransform, strokeDashoffset, strokeWidth, threshold } = useProgressCircleContext(PROGRESS_CIRCLE_INDICATOR_NAME, __scopeProgressCircle);
|
|
133
125
|
return (_jsx("circle", { cx: center, cy: center, fill: "transparent", r: radius, stroke: threshold?.color ?? "currentColor", strokeDasharray: circumference, strokeDashoffset: strokeDashoffset, strokeLinecap: "round", strokeWidth: strokeWidth, transform: rotationTransform, ...props }));
|
|
134
126
|
}
|
|
135
|
-
|
|
136
|
-
* Component: ProgressCircleValue
|
|
137
|
-
* --------------------------------------------------------------------------- */
|
|
127
|
+
// ── Component: ProgressCircleValue ───────────────────────────────────────────────────────────────────────────────────
|
|
138
128
|
const PROGRESS_CIRCLE_VALUE_NAME = "ProgressCircleValue";
|
|
139
129
|
/**
|
|
140
130
|
* Displays the current progress value
|
|
@@ -150,9 +140,7 @@ function ProgressCircleValue({ __scopeProgressCircle, children, ...props }) {
|
|
|
150
140
|
}
|
|
151
141
|
return _jsx("div", { ...props, children: children ?? valueText });
|
|
152
142
|
}
|
|
153
|
-
|
|
154
|
-
* Helpers
|
|
155
|
-
* -------------------------------------------------------------------------- */
|
|
143
|
+
// ── Helpers ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
156
144
|
/**
|
|
157
145
|
* Clamps a value within a specified min/max range
|
|
158
146
|
*
|
|
@@ -164,8 +152,6 @@ function ProgressCircleValue({ __scopeProgressCircle, children, ...props }) {
|
|
|
164
152
|
function clamp(min, max, value) {
|
|
165
153
|
return Math.min(max, Math.max(min, value));
|
|
166
154
|
}
|
|
167
|
-
|
|
168
|
-
* Exports
|
|
169
|
-
* -------------------------------------------------------------------------- */
|
|
155
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
170
156
|
export { createProgressCircleScope, ProgressCircleIndicator as Indicator, ProgressCircle, ProgressCircleIndicator, ProgressCircleProvider, ProgressCircleSVG, ProgressCircleTrack, ProgressCircleValue, ProgressCircleProvider as Provider, ProgressCircle as Root, ProgressCircleSVG as SVG, ProgressCircleTrack as Track, ProgressCircleValue as Value, };
|
|
171
157
|
//# sourceMappingURL=progress-circle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.js","sourceRoot":"","sources":["../../src/primitives/progress-circle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC
|
|
1
|
+
{"version":3,"file":"progress-circle.js","sourceRoot":"","sources":["../../src/primitives/progress-circle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,wHAAwH;AAExH,MAAM,6BAA6B,GAAG,wBAAwB,CAAC;AAmG/D,MAAM,CAAC,2BAA2B,EAAE,yBAAyB,CAAC,GAC5D,OAAO,CAAC,kBAAkB,CAAC,6BAA6B,CAAC,CAAC;AAE5D,MAAM,CAAC,6BAA6B,EAAE,wBAAwB,CAAC,GAC7D,2BAA2B,CAA6B,6BAA6B,CAAC,CAAC;AA2DzF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAS,sBAAsB,CAAC,EAC9B,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,EAAE,EAAE,UAAU,EACd,GAAG,GAAG,GAAG,EACT,GAAG,GAAG,CAAC,EACP,IAAI,GAAG,EAAE,EACT,UAAU,GAAG,CAAC,EAAE,EAChB,WAAW,GAAG,CAAC,EACf,UAAU,EACV,KAAK,GACoC;IACzC,MAAM,QAAQ,GAAG,KAAK,EAAE,CAAC;IACzB,MAAM,EAAE,GAAG,UAAU,IAAI,QAAQ,CAAC;IAElC,gDAAgD;IAChD,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACpC,MAAM,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC;IAClD,MAAM,eAAe,GAAG,UAAU,GAAG,GAAG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D,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;AAC7C,CAAC;AAED,wHAAwH;AAExH,OAAO,EACL,yBAAyB,EACzB,uBAAuB,IAAI,SAAS,EACpC,cAAc,EACd,uBAAuB,EACvB,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,IAAI,QAAQ,EAClC,cAAc,IAAI,IAAI,EACtB,iBAAiB,IAAI,GAAG,EACxB,mBAAmB,IAAI,KAAK,EAC5B,mBAAmB,IAAI,KAAK,GAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/variants/alert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/variants/alert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,aAAa;;QAOb,OAAO;QACP,WAAW;;yBAGf,CAAC;AAEH;;GAEG;AACH,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAIxD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/variants/alert.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Alert
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Alert ───────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -17,8 +15,6 @@ const alertVariants = tv({
|
|
|
17
15
|
},
|
|
18
16
|
},
|
|
19
17
|
});
|
|
20
|
-
|
|
21
|
-
* Exports
|
|
22
|
-
* -------------------------------------------------------------------------- */
|
|
18
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
23
19
|
export { alertVariants };
|
|
24
20
|
//# sourceMappingURL=alert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../src/variants/alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../src/variants/alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,EAAE,4TAA4T;IAClU,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,8BAA8B;YACvC,WAAW,EAAE,mGAAmG;SACjH;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../src/variants/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../src/variants/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;;;;GAKG;AACH,QAAA,MAAM,kBAAkB;;QAQlB,OAAO;QAEP,EAAE;QACF,EAAE;;;QAGF,UAAU;QACV,QAAQ;;yBAGZ,CAAC;AAEH;;GAEG;AACH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAIlE;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB;;QAOvB,IAAI;QACJ,KAAK;;yBAIT,CAAC;AAEH;;GAEG;AACH,KAAK,uBAAuB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,CAAC;AACvD,YAAY,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Attachment
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Attachment ──────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* File/media attachment card. Size drives padding for the media and content
|
|
7
5
|
* slots; orientation switches between a horizontal row and a vertical tile.
|
|
@@ -26,9 +24,7 @@ const attachmentVariants = tv({
|
|
|
26
24
|
},
|
|
27
25
|
},
|
|
28
26
|
});
|
|
29
|
-
|
|
30
|
-
* Variant: AttachmentMedia
|
|
31
|
-
* -------------------------------------------------------------------------- */
|
|
27
|
+
// ── Variant: AttachmentMedia ─────────────────────────────────────────────────────────────────────────────────────────
|
|
32
28
|
/**
|
|
33
29
|
* Media thumbnail — an icon tile or a cover image that reacts to attachment
|
|
34
30
|
* size, orientation, and upload state via the parent `group/attachment`.
|
|
@@ -47,8 +43,6 @@ const attachmentMediaVariants = tv({
|
|
|
47
43
|
},
|
|
48
44
|
},
|
|
49
45
|
});
|
|
50
|
-
|
|
51
|
-
* Exports
|
|
52
|
-
* -------------------------------------------------------------------------- */
|
|
46
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
53
47
|
export { attachmentMediaVariants, attachmentVariants };
|
|
54
48
|
//# sourceMappingURL=attachment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../src/variants/attachment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../src/variants/attachment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;;;;GAKG;AACH,MAAM,kBAAkB,GAAG,EAAE,CAAC;IAC5B,IAAI,EAAE,uSAAuS;IAC7S,eAAe,EAAE;QACf,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,SAAS;KAChB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EACL,sIAAsI;YACxI,EAAE,EAAE,0IAA0I;YAC9I,EAAE,EAAE,mJAAmJ;SACxJ;QACD,WAAW,EAAE;YACX,UAAU,EAAE,uBAAuB;YACnC,QAAQ,EAAE,uDAAuD;SAClE;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH;;;;;GAKG;AACH,MAAM,uBAAuB,GAAG,EAAE,CAAC;IACjC,IAAI,EAAE,krBAAkrB;IACxrB,eAAe,EAAE;QACf,OAAO,EAAE,MAAM;KAChB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EACH,oKAAoK;SACvK;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/variants/badge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../src/variants/badge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,aAAa;;QAOb,OAAO;QACP,WAAW;QAEX,KAAK;QACL,IAAI;QACJ,OAAO;QACP,SAAS;;yBAGb,CAAC;AAEH;;GAEG;AACH,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAIxD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/variants/badge.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Badge
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Badge ───────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -21,8 +19,6 @@ const badgeVariants = tv({
|
|
|
21
19
|
},
|
|
22
20
|
},
|
|
23
21
|
});
|
|
24
|
-
|
|
25
|
-
* Exports
|
|
26
|
-
* -------------------------------------------------------------------------- */
|
|
22
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
27
23
|
export { badgeVariants };
|
|
28
24
|
//# sourceMappingURL=badge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/variants/badge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"badge.js","sourceRoot":"","sources":["../../src/variants/badge.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,EAAE,weAAwe;IAC9e,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,4DAA4D;YACrE,WAAW,EACT,gKAAgK;YAClK,KAAK,EAAE,mEAAmE;YAC1E,IAAI,EAAE,iDAAiD;YACvD,OAAO,EAAE,kFAAkF;YAC3F,SAAS,EAAE,kEAAkE;SAC9E;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubble.d.ts","sourceRoot":"","sources":["../../src/variants/bubble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"bubble.d.ts","sourceRoot":"","sources":["../../src/variants/bubble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;;;;GAKG;AACH,QAAA,MAAM,cAAc;;QAOd,OAAO;QAEP,SAAS;QAET,KAAK;QAEL,MAAM;QAEN,OAAO;QAEP,KAAK;QAEL,WAAW;;yBAIf,CAAC;AAEH;;GAEG;AACH,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAI1D;;;;GAIG;AACH,QAAA,MAAM,uBAAuB;;QAQvB,GAAG;QACH,MAAM;;;QAGN,KAAK;QACL,GAAG;;yBAGP,CAAC;AAEH;;GAEG;AACH,KAAK,uBAAuB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAI5E,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,CAAC;AACnD,YAAY,EAAE,uBAAuB,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/variants/bubble.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Bubble
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Bubble ──────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* Chat bubble surface. Variants paint the nested `bubble-content`, so the color
|
|
7
5
|
* follows the message author regardless of alignment.
|
|
@@ -25,9 +23,7 @@ const bubbleVariants = tv({
|
|
|
25
23
|
},
|
|
26
24
|
},
|
|
27
25
|
});
|
|
28
|
-
|
|
29
|
-
* Variant: BubbleReactions
|
|
30
|
-
* -------------------------------------------------------------------------- */
|
|
26
|
+
// ── Variant: BubbleReactions ─────────────────────────────────────────────────────────────────────────────────────────
|
|
31
27
|
/**
|
|
32
28
|
* Reaction pill anchored to a bubble corner.
|
|
33
29
|
*
|
|
@@ -50,8 +46,6 @@ const bubbleReactionsVariants = tv({
|
|
|
50
46
|
},
|
|
51
47
|
},
|
|
52
48
|
});
|
|
53
|
-
|
|
54
|
-
* Exports
|
|
55
|
-
* -------------------------------------------------------------------------- */
|
|
49
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
56
50
|
export { bubbleReactionsVariants, bubbleVariants };
|
|
57
51
|
//# sourceMappingURL=bubble.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubble.js","sourceRoot":"","sources":["../../src/variants/bubble.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"bubble.js","sourceRoot":"","sources":["../../src/variants/bubble.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;;;;GAKG;AACH,MAAM,cAAc,GAAG,EAAE,CAAC;IACxB,IAAI,EAAE,uKAAuK;IAC7K,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EACL,8JAA8J;YAChK,SAAS,EACP,mNAAmN;YACrN,KAAK,EACH,oJAAoJ;YACtJ,MAAM,EACJ,iaAAia;YACna,OAAO,EACL,uRAAuR;YACzR,KAAK,EACH,oUAAoU;YACtU,WAAW,EACT,+RAA+R;SAClS;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,EAAE,CAAC;IACjC,IAAI,EAAE,mJAAmJ;IACzJ,eAAe,EAAE;QACf,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,QAAQ;KACf;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,GAAG,EAAE,wBAAwB;YAC7B,MAAM,EAAE,0BAA0B;SACnC;QACD,KAAK,EAAE;YACL,KAAK,EAAE,SAAS;YAChB,GAAG,EAAE,OAAO;SACb;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,uBAAuB,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../src/variants/button-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"button-group.d.ts","sourceRoot":"","sources":["../../src/variants/button-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,mBAAmB;;QAOnB,UAAU;QAEV,QAAQ;;yBAIZ,CAAC;AAEH;;GAEG;AACH,KAAK,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAIpE,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAC/B,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: ButtonGroup
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: ButtonGroup ─────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -17,8 +15,6 @@ const buttonGroupVariants = tv({
|
|
|
17
15
|
},
|
|
18
16
|
},
|
|
19
17
|
});
|
|
20
|
-
|
|
21
|
-
* Exports
|
|
22
|
-
* -------------------------------------------------------------------------- */
|
|
18
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
23
19
|
export { buttonGroupVariants };
|
|
24
20
|
//# sourceMappingURL=button-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../src/variants/button-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../src/variants/button-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,mBAAmB,GAAG,EAAE,CAAC;IAC7B,IAAI,EAAE,6SAA6S;IACnT,eAAe,EAAE;QACf,WAAW,EAAE,YAAY;KAC1B;IACD,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,UAAU,EACR,uKAAuK;YACzK,QAAQ,EACN,gLAAgL;SACnL;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/variants/button.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/variants/button.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,cAAc;;QAQd,OAAO;QACP,EAAE;QACF,EAAE;QACF,EAAE;QAEF,IAAI;QACJ,SAAS;QAET,SAAS;QACT,SAAS;;;QAGT,OAAO;QACP,WAAW;QAEX,KAAK;QAEL,IAAI;QACJ,OAAO;QAEP,SAAS;;yBAIb,CAAC;AAEH;;GAEG;AACH,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAI1D,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/variants/button.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Button
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Button ──────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -32,8 +30,6 @@ const buttonVariants = tv({
|
|
|
32
30
|
},
|
|
33
31
|
},
|
|
34
32
|
});
|
|
35
|
-
|
|
36
|
-
* Exports
|
|
37
|
-
* -------------------------------------------------------------------------- */
|
|
33
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
38
34
|
export { buttonVariants };
|
|
39
35
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/variants/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/variants/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,cAAc,GAAG,EAAE,CAAC;IACxB,IAAI,EAAE,4lBAA4lB;IAClmB,eAAe,EAAE;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE,sFAAsF,EAAE,OAAO;YACxG,EAAE,EAAE,+MAA+M,EAAE,OAAO;YAC5N,EAAE,EAAE,yNAAyN,EAAE,OAAO;YACtO,EAAE,EAAE,sFAAsF,EAAE,OAAO;YAEnG,IAAI,EAAE,QAAQ,EAAE,OAAO;YACvB,SAAS,EACP,yHAAyH,EAAE,OAAO;YACpI,SAAS,EAAE,oFAAoF,EAAE,OAAO;YACxG,SAAS,EAAE,QAAQ,EAAE,OAAO;SAC7B;QACD,OAAO,EAAE;YACP,OAAO,EAAE,wDAAwD;YACjE,WAAW,EACT,6NAA6N;YAC/N,KAAK,EACH,kHAAkH;YACpH,IAAI,EAAE,iDAAiD;YACvD,OAAO,EACL,2LAA2L;YAC7L,SAAS,EACP,gLAAgL;SACnL;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../src/variants/empty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"empty.d.ts","sourceRoot":"","sources":["../../src/variants/empty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,kBAAkB;;QAOlB,OAAO;QACP,IAAI;;yBAGR,CAAC;AAEH;;GAEG;AACH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAIlE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
package/dist/variants/empty.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: EmptyMedia
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: EmptyMedia ──────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -17,8 +15,6 @@ const emptyMediaVariants = tv({
|
|
|
17
15
|
},
|
|
18
16
|
},
|
|
19
17
|
});
|
|
20
|
-
|
|
21
|
-
* Exports
|
|
22
|
-
* -------------------------------------------------------------------------- */
|
|
18
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
23
19
|
export { emptyMediaVariants };
|
|
24
20
|
//# sourceMappingURL=empty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../src/variants/empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"empty.js","sourceRoot":"","sources":["../../src/variants/empty.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,kBAAkB,GAAG,EAAE,CAAC;IAC5B,IAAI,EAAE,6FAA6F;IACnG,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,2HAA2H;SAClI;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/variants/field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../src/variants/field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,aAAa;;QAOb,UAAU;QAEV,UAAU;QAEV,QAAQ;;yBAGZ,CAAC;AAEH;;GAEG;AACH,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAIxD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/variants/field.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Field
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Field ───────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -18,8 +16,6 @@ const fieldVariants = tv({
|
|
|
18
16
|
},
|
|
19
17
|
},
|
|
20
18
|
});
|
|
21
|
-
|
|
22
|
-
* Exports
|
|
23
|
-
* -------------------------------------------------------------------------- */
|
|
19
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
24
20
|
export { fieldVariants };
|
|
25
21
|
//# sourceMappingURL=field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../src/variants/field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../src/variants/field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,aAAa,GAAG,EAAE,CAAC;IACvB,IAAI,EAAE,oEAAoE;IAC1E,eAAe,EAAE;QACf,WAAW,EAAE,UAAU;KACxB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE;YACX,UAAU,EACR,iLAAiL;YACnL,UAAU,EACR,gUAAgU;YAClU,QAAQ,EAAE,uCAAuC;SAClD;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../src/variants/input-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../src/variants/input-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,kBAAkB,oGAEtB,CAAC;AAIH;;GAEG;AACH,QAAA,MAAM,uBAAuB;;QAOvB,WAAW;QACX,aAAa;QAEb,YAAY;QACZ,cAAc;;yBAGlB,CAAC;AAIH;;GAEG;AACH,QAAA,MAAM,wBAAwB;;QAOxB,SAAS;QACT,SAAS;QACT,EAAE;QACF,EAAE;;yBAGN,CAAC;AAEH;;GAEG;AACH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAElE;;GAEG;AACH,KAAK,uBAAuB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE5E;;GAEG;AACH,KAAK,wBAAwB,GAAG,YAAY,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAI9E,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,CAAC;AACjF,YAAY,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: InputGroup
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: InputGroup ──────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
8
6
|
const inputGroupVariants = tv({
|
|
9
7
|
base: "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input shadow-xs transition-[color,box-shadow] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5",
|
|
10
8
|
});
|
|
11
|
-
|
|
12
|
-
* Variant: InputGroupAddon
|
|
13
|
-
* -------------------------------------------------------------------------- */
|
|
9
|
+
// ── Variant: InputGroupAddon ─────────────────────────────────────────────────────────────────────────────────────────
|
|
14
10
|
/**
|
|
15
11
|
* @since 0.3.16-canary.0
|
|
16
12
|
*/
|
|
@@ -28,9 +24,7 @@ const inputGroupAddonVariants = tv({
|
|
|
28
24
|
},
|
|
29
25
|
},
|
|
30
26
|
});
|
|
31
|
-
|
|
32
|
-
* Variant: InputGroupButton
|
|
33
|
-
* -------------------------------------------------------------------------- */
|
|
27
|
+
// ── Variant: InputGroupButton ────────────────────────────────────────────────────────────────────────────────────────
|
|
34
28
|
/**
|
|
35
29
|
* @since 0.3.16-canary.0
|
|
36
30
|
*/
|
|
@@ -48,8 +42,6 @@ const inputGroupButtonVariants = tv({
|
|
|
48
42
|
},
|
|
49
43
|
},
|
|
50
44
|
});
|
|
51
|
-
|
|
52
|
-
* Exports
|
|
53
|
-
* -------------------------------------------------------------------------- */
|
|
45
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
54
46
|
export { inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants };
|
|
55
47
|
//# sourceMappingURL=input-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../src/variants/input-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../src/variants/input-group.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,kBAAkB,GAAG,EAAE,CAAC;IAC5B,IAAI,EAAE,qlCAAqlC;CAC5lC,CAAC,CAAC;AAEH,wHAAwH;AAExH;;GAEG;AACH,MAAM,uBAAuB,GAAG,EAAE,CAAC;IACjC,IAAI,EAAE,kPAAkP;IACxP,eAAe,EAAE;QACf,KAAK,EAAE,cAAc;KACtB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,kGAAkG;YAC/G,aAAa,EACX,mGAAmG;YACrG,YAAY,EAAE,qEAAqE;YACnF,cAAc,EAAE,sEAAsE;SACvF;KACF;CACF,CAAC,CAAC;AAEH,wHAAwH;AAExH;;GAEG;AACH,MAAM,wBAAwB,GAAG,EAAE,CAAC;IAClC,IAAI,EAAE,6CAA6C;IACnD,eAAe,EAAE;QACf,IAAI,EAAE,IAAI;KACX;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,SAAS,EAAE,6DAA6D;YACxE,SAAS,EAAE,2BAA2B;YACtC,EAAE,EAAE,EAAE;YACN,EAAE,EAAE,2FAA2F;SAChG;KACF;CACF,CAAC,CAAC;AAiBH,wHAAwH;AAExH,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/variants/item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../src/variants/item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,YAAY;;QAQZ,OAAO;QACP,EAAE;QACF,EAAE;;;QAGF,OAAO;QACP,KAAK;QACL,OAAO;;yBAGX,CAAC;AAIH;;GAEG;AACH,QAAA,MAAM,iBAAiB;;QAOjB,OAAO;QACP,IAAI;QACJ,KAAK;;yBAIT,CAAC;AAEH;;GAEG;AACH,KAAK,YAAY,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAEtD;;GAEG;AACH,KAAK,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAIhE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC;AAC3C,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
package/dist/variants/item.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Item
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Item ────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -24,9 +22,7 @@ const itemVariants = tv({
|
|
|
24
22
|
},
|
|
25
23
|
},
|
|
26
24
|
});
|
|
27
|
-
|
|
28
|
-
* Variant: ItemMedia
|
|
29
|
-
* -------------------------------------------------------------------------- */
|
|
25
|
+
// ── Variant: ItemMedia ───────────────────────────────────────────────────────────────────────────────────────────────
|
|
30
26
|
/**
|
|
31
27
|
* @since 0.3.16-canary.0
|
|
32
28
|
*/
|
|
@@ -43,8 +39,6 @@ const itemMediaVariants = tv({
|
|
|
43
39
|
},
|
|
44
40
|
},
|
|
45
41
|
});
|
|
46
|
-
|
|
47
|
-
* Exports
|
|
48
|
-
* -------------------------------------------------------------------------- */
|
|
42
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
49
43
|
export { itemMediaVariants, itemVariants };
|
|
50
44
|
//# sourceMappingURL=item.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/variants/item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../src/variants/item.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,YAAY,GAAG,EAAE,CAAC;IACtB,IAAI,EAAE,wOAAwO;IAC9O,eAAe,EAAE;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE,qBAAqB;YAC9B,EAAE,EAAE,qBAAqB;YACzB,EAAE,EAAE,4DAA4D;SACjE;QACD,OAAO,EAAE;YACP,OAAO,EAAE,oBAAoB;YAC7B,KAAK,EAAE,gCAAgC;YACvC,OAAO,EAAE,eAAe;SACzB;KACF;CACF,CAAC,CAAC;AAEH,wHAAwH;AAExH;;GAEG;AACH,MAAM,iBAAiB,GAAG,EAAE,CAAC;IAC3B,IAAI,EAAE,gMAAgM;IACtM,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,gBAAgB;YACzB,IAAI,EAAE,sCAAsC;YAC5C,KAAK,EACH,6IAA6I;SAChJ;KACF;CACF,CAAC,CAAC;AAYH,wHAAwH;AAExH,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker.d.ts","sourceRoot":"","sources":["../../src/variants/marker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"marker.d.ts","sourceRoot":"","sources":["../../src/variants/marker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;;;GAIG;AACH,QAAA,MAAM,cAAc;;QAOd,OAAO;QACP,SAAS;QAET,MAAM;;yBAGV,CAAC;AAEH;;GAEG;AACH,KAAK,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAI1D,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/variants/marker.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: Marker
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: Marker ──────────────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* Inline chat divider — plain label, centered separator rule, or bottom border.
|
|
7
5
|
*
|
|
@@ -20,8 +18,6 @@ const markerVariants = tv({
|
|
|
20
18
|
},
|
|
21
19
|
},
|
|
22
20
|
});
|
|
23
|
-
|
|
24
|
-
* Exports
|
|
25
|
-
* -------------------------------------------------------------------------- */
|
|
21
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
26
22
|
export { markerVariants };
|
|
27
23
|
//# sourceMappingURL=marker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marker.js","sourceRoot":"","sources":["../../src/variants/marker.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"marker.js","sourceRoot":"","sources":["../../src/variants/marker.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;;;GAIG;AACH,MAAM,cAAc,GAAG,EAAE,CAAC;IACxB,IAAI,EAAE,2MAA2M;IACjN,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,EAAE;YACX,SAAS,EACP,wIAAwI;YAC1I,MAAM,EAAE,6BAA6B;SACtC;KACF;CACF,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../src/variants/navigation-menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../src/variants/navigation-menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,6BAA6B,oGAEjC,CAAC;AAEH;;GAEG;AACH,KAAK,6BAA6B,GAAG,YAAY,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAIxF,OAAO,EAAE,6BAA6B,EAAE,CAAC;AACzC,YAAY,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Style: NavigationMenuTrigger
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Style: NavigationMenuTrigger ─────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
8
6
|
const navigationMenuTriggerVariants = tv({
|
|
9
7
|
base: "group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted",
|
|
10
8
|
});
|
|
11
|
-
|
|
12
|
-
* Exports
|
|
13
|
-
* -------------------------------------------------------------------------- */
|
|
9
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
14
10
|
export { navigationMenuTriggerVariants };
|
|
15
11
|
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.js","sourceRoot":"","sources":["../../src/variants/navigation-menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sourceRoot":"","sources":["../../src/variants/navigation-menu.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,wHAAwH;AAExH;;GAEG;AACH,MAAM,6BAA6B,GAAG,EAAE,CAAC;IACvC,IAAI,EAAE,obAAob;CAC3b,CAAC,CAAC;AAOH,wHAAwH;AAExH,OAAO,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress-circle.d.ts","sourceRoot":"","sources":["../../src/variants/progress-circle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"progress-circle.d.ts","sourceRoot":"","sources":["../../src/variants/progress-circle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;GAEG;AACH,QAAA,MAAM,sBAAsB;;QAWtB,EAAE;YAAI,KAAK;;QACX,EAAE;YAAI,KAAK;;QACX,EAAE;YAAI,KAAK;;QACX,EAAE;YAAI,KAAK;;QACX,KAAK;YAAI,KAAK;;;;QAEH,OAAO;QAAM,KAAK;QAAM,IAAI;;;QAEvC,OAAO;YAAI,SAAS;YAAkB,KAAK;;QAC3C,WAAW;YAAI,SAAS;YAAsB,KAAK;;;;;;;;;EAGvD,CAAC;AAEH;;GAEG;AACH,KAAK,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAI1E,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { tv } from "#/lib/utils";
|
|
2
|
-
|
|
3
|
-
* Variant: ProgressCircle
|
|
4
|
-
* -------------------------------------------------------------------------- */
|
|
2
|
+
// ── Variant: ProgressCircle ──────────────────────────────────────────────────────────────────────────────────────────
|
|
5
3
|
/**
|
|
6
4
|
* @since 0.3.16-canary.0
|
|
7
5
|
*/
|
|
@@ -29,8 +27,6 @@ const progressCircleVariants = tv({
|
|
|
29
27
|
},
|
|
30
28
|
},
|
|
31
29
|
});
|
|
32
|
-
|
|
33
|
-
* Exports
|
|
34
|
-
* -------------------------------------------------------------------------- */
|
|
30
|
+
// ── Exports ──────────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
35
31
|
export { progressCircleVariants };
|
|
36
32
|
//# sourceMappingURL=progress-circle.js.map
|