@appica/ui-react 1.0.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/LICENSE +21 -0
- package/README.md +91 -0
- package/dist/components/accordion/accordion.d.ts +29 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +210 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/alert/alert.d.ts +32 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/alert.js +203 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts +28 -0
- package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.js +127 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +48 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete.js +299 -0
- package/dist/components/autocomplete/autocomplete.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +29 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +115 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/background-pattern/background-pattern-interactive.d.ts +10 -0
- package/dist/components/background-pattern/background-pattern-interactive.d.ts.map +1 -0
- package/dist/components/background-pattern/background-pattern-interactive.js +72 -0
- package/dist/components/background-pattern/background-pattern-interactive.js.map +1 -0
- package/dist/components/background-pattern/background-pattern-shared.d.ts +12 -0
- package/dist/components/background-pattern/background-pattern-shared.d.ts.map +1 -0
- package/dist/components/background-pattern/background-pattern-shared.js +73 -0
- package/dist/components/background-pattern/background-pattern-shared.js.map +1 -0
- package/dist/components/background-pattern/background-pattern.d.ts +23 -0
- package/dist/components/background-pattern/background-pattern.d.ts.map +1 -0
- package/dist/components/background-pattern/background-pattern.js +49 -0
- package/dist/components/background-pattern/background-pattern.js.map +1 -0
- package/dist/components/background-pattern/index.d.ts +4 -0
- package/dist/components/background-pattern/index.d.ts.map +1 -0
- package/dist/components/background-pattern/index.js +3 -0
- package/dist/components/background-pattern/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +17 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.js +134 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +24 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +106 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/button/button-variants.d.ts +6 -0
- package/dist/components/button/button-variants.d.ts.map +1 -0
- package/dist/components/button/button-variants.js +69 -0
- package/dist/components/button/button-variants.js.map +1 -0
- package/dist/components/button/button.d.ts +10 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +26 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/index.d.ts +3 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +3 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group-context.d.ts +13 -0
- package/dist/components/button-group/button-group-context.d.ts.map +1 -0
- package/dist/components/button-group/button-group-context.js +7 -0
- package/dist/components/button-group/button-group-context.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +12 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/button-group.js +45 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/calendar/calendar.d.ts +14 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/calendar.js +228 -0
- package/dist/components/calendar/calendar.js.map +1 -0
- package/dist/components/carousel/carousel.d.ts +128 -0
- package/dist/components/carousel/carousel.d.ts.map +1 -0
- package/dist/components/carousel/carousel.js +795 -0
- package/dist/components/carousel/carousel.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +7 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +128 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +9 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.js +18 -0
- package/dist/components/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/chip/chip.d.ts +36 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/chip.js +159 -0
- package/dist/components/chip/chip.js.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +11 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.js +41 -0
- package/dist/components/collapsible/collapsible.js.map +1 -0
- package/dist/components/combobox/combobox.d.ts +57 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/combobox.js +456 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/context-menu/context-menu.d.ts +43 -0
- package/dist/components/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu/context-menu.js +243 -0
- package/dist/components/context-menu/context-menu.js.map +1 -0
- package/dist/components/copy-button/copy-button.d.ts +15 -0
- package/dist/components/copy-button/copy-button.d.ts.map +1 -0
- package/dist/components/copy-button/copy-button.js +126 -0
- package/dist/components/copy-button/copy-button.js.map +1 -0
- package/dist/components/countdown/countdown.d.ts +26 -0
- package/dist/components/countdown/countdown.d.ts.map +1 -0
- package/dist/components/countdown/countdown.js +111 -0
- package/dist/components/countdown/countdown.js.map +1 -0
- package/dist/components/date-field/date-field.d.ts +25 -0
- package/dist/components/date-field/date-field.d.ts.map +1 -0
- package/dist/components/date-field/date-field.js +403 -0
- package/dist/components/date-field/date-field.js.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +58 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.js +449 -0
- package/dist/components/date-picker/date-picker.js.map +1 -0
- package/dist/components/dialog/dialog.d.ts +30 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.js +138 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/drawer/drawer.d.ts +39 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/drawer.js +270 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +43 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +235 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/field/field.d.ts +15 -0
- package/dist/components/field/field.d.ts.map +1 -0
- package/dist/components/field/field.js +62 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/fieldset/fieldset.d.ts +9 -0
- package/dist/components/fieldset/fieldset.d.ts.map +1 -0
- package/dist/components/fieldset/fieldset.js +20 -0
- package/dist/components/fieldset/fieldset.js.map +1 -0
- package/dist/components/form/form.d.ts +7 -0
- package/dist/components/form/form.d.ts.map +1 -0
- package/dist/components/form/form.js +9 -0
- package/dist/components/form/form.js.map +1 -0
- package/dist/components/gradient-glow/gradient-glow.d.ts +21 -0
- package/dist/components/gradient-glow/gradient-glow.d.ts.map +1 -0
- package/dist/components/gradient-glow/gradient-glow.js +99 -0
- package/dist/components/gradient-glow/gradient-glow.js.map +1 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/index.js +3 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input/input-variants.d.ts +7 -0
- package/dist/components/input/input-variants.d.ts.map +1 -0
- package/dist/components/input/input-variants.js +52 -0
- package/dist/components/input/input-variants.js.map +1 -0
- package/dist/components/input/input.d.ts +19 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +96 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +13 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/kbd/kbd.js +34 -0
- package/dist/components/kbd/kbd.js.map +1 -0
- package/dist/components/loader/loader.d.ts +10 -0
- package/dist/components/loader/loader.d.ts.map +1 -0
- package/dist/components/loader/loader.js +137 -0
- package/dist/components/loader/loader.js.map +1 -0
- package/dist/components/menubar/menubar.d.ts +44 -0
- package/dist/components/menubar/menubar.d.ts.map +1 -0
- package/dist/components/menubar/menubar.js +114 -0
- package/dist/components/menubar/menubar.js.map +1 -0
- package/dist/components/meter/meter.d.ts +24 -0
- package/dist/components/meter/meter.d.ts.map +1 -0
- package/dist/components/meter/meter.js +105 -0
- package/dist/components/meter/meter.js.map +1 -0
- package/dist/components/navigation/index.d.ts +4 -0
- package/dist/components/navigation/index.d.ts.map +1 -0
- package/dist/components/navigation/index.js +4 -0
- package/dist/components/navigation/index.js.map +1 -0
- package/dist/components/navigation/navigation-context.d.ts +16 -0
- package/dist/components/navigation/navigation-context.d.ts.map +1 -0
- package/dist/components/navigation/navigation-context.js +10 -0
- package/dist/components/navigation/navigation-context.js.map +1 -0
- package/dist/components/navigation/navigation-link-variants.d.ts +9 -0
- package/dist/components/navigation/navigation-link-variants.d.ts.map +1 -0
- package/dist/components/navigation/navigation-link-variants.js +189 -0
- package/dist/components/navigation/navigation-link-variants.js.map +1 -0
- package/dist/components/navigation/navigation-link.d.ts +20 -0
- package/dist/components/navigation/navigation-link.d.ts.map +1 -0
- package/dist/components/navigation/navigation-link.js +54 -0
- package/dist/components/navigation/navigation-link.js.map +1 -0
- package/dist/components/navigation/navigation.d.ts +21 -0
- package/dist/components/navigation/navigation.d.ts.map +1 -0
- package/dist/components/navigation/navigation.js +41 -0
- package/dist/components/navigation/navigation.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +41 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.js +329 -0
- package/dist/components/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/number-field/number-field.d.ts +17 -0
- package/dist/components/number-field/number-field.d.ts.map +1 -0
- package/dist/components/number-field/number-field.js +270 -0
- package/dist/components/number-field/number-field.js.map +1 -0
- package/dist/components/otp-field/otp-field.d.ts +19 -0
- package/dist/components/otp-field/otp-field.d.ts.map +1 -0
- package/dist/components/otp-field/otp-field.js +66 -0
- package/dist/components/otp-field/otp-field.js.map +1 -0
- package/dist/components/pagination/pagination.d.ts +29 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/pagination.js +92 -0
- package/dist/components/pagination/pagination.js.map +1 -0
- package/dist/components/popover/popover.d.ts +22 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.js +108 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/preview-card/preview-card.d.ts +16 -0
- package/dist/components/preview-card/preview-card.d.ts.map +1 -0
- package/dist/components/preview-card/preview-card.js +92 -0
- package/dist/components/preview-card/preview-card.js.map +1 -0
- package/dist/components/progress/progress.d.ts +18 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/progress/progress.js +134 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/radio/radio.d.ts +7 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/radio/radio.js +73 -0
- package/dist/components/radio/radio.js.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +9 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.js +19 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +14 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/scroll-area/scroll-area.js +87 -0
- package/dist/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/select/select.d.ts +36 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +345 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/separator.d.ts +10 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/separator/separator.js +81 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +9 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.js +27 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/slider/slider.d.ts +11 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.js +187 -0
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +39 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.js +356 -0
- package/dist/components/sparkline/sparkline.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +10 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +179 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/switch/switch.d.ts +33 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.js +137 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/table/table.d.ts +34 -0
- package/dist/components/table/table.d.ts.map +1 -0
- package/dist/components/table/table.js +108 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/tabs/tabs.d.ts +35 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tabs/tabs.js +192 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/text-animate/text-animate.d.ts +31 -0
- package/dist/components/text-animate/text-animate.d.ts.map +1 -0
- package/dist/components/text-animate/text-animate.js +230 -0
- package/dist/components/text-animate/text-animate.js.map +1 -0
- package/dist/components/textarea/textarea.d.ts +17 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea.js +117 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/thumbnail/thumbnail.d.ts +26 -0
- package/dist/components/thumbnail/thumbnail.d.ts.map +1 -0
- package/dist/components/thumbnail/thumbnail.js +116 -0
- package/dist/components/thumbnail/thumbnail.js.map +1 -0
- package/dist/components/time-field/time-field.d.ts +25 -0
- package/dist/components/time-field/time-field.d.ts.map +1 -0
- package/dist/components/time-field/time-field.js +488 -0
- package/dist/components/time-field/time-field.js.map +1 -0
- package/dist/components/toast/toast.d.ts +59 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +239 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toc/toc.d.ts +21 -0
- package/dist/components/toc/toc.d.ts.map +1 -0
- package/dist/components/toc/toc.js +185 -0
- package/dist/components/toc/toc.js.map +1 -0
- package/dist/components/toggle/toggle.d.ts +7 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle/toggle.js +9 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/toggle-group/toggle-group.d.ts +7 -0
- package/dist/components/toggle-group/toggle-group.d.ts.map +1 -0
- package/dist/components/toggle-group/toggle-group.js +21 -0
- package/dist/components/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/toolbar/toolbar.d.ts +23 -0
- package/dist/components/toolbar/toolbar.d.ts.map +1 -0
- package/dist/components/toolbar/toolbar.js +56 -0
- package/dist/components/toolbar/toolbar.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +16 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +64 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/floating.d.ts +47 -0
- package/dist/floating.d.ts.map +1 -0
- package/dist/floating.js +35 -0
- package/dist/floating.js.map +1 -0
- package/dist/hooks/use-direction.d.ts +2 -0
- package/dist/hooks/use-direction.d.ts.map +1 -0
- package/dist/hooks/use-direction.js +3 -0
- package/dist/hooks/use-direction.js.map +1 -0
- package/dist/hooks/use-dismissible.d.ts +16 -0
- package/dist/hooks/use-dismissible.d.ts.map +1 -0
- package/dist/hooks/use-dismissible.js +17 -0
- package/dist/hooks/use-dismissible.js.map +1 -0
- package/dist/hooks/use-local-storage.d.ts +24 -0
- package/dist/hooks/use-local-storage.d.ts.map +1 -0
- package/dist/hooks/use-local-storage.js +127 -0
- package/dist/hooks/use-local-storage.js.map +1 -0
- package/dist/hooks/use-media-query.d.ts +20 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -0
- package/dist/hooks/use-media-query.js +19 -0
- package/dist/hooks/use-media-query.js.map +1 -0
- package/dist/hooks/use-reduced-motion.d.ts +7 -0
- package/dist/hooks/use-reduced-motion.d.ts.map +1 -0
- package/dist/hooks/use-reduced-motion.js +13 -0
- package/dist/hooks/use-reduced-motion.js.map +1 -0
- package/dist/hooks/use-theme.d.ts +11 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/hooks/use-theme.js +9 -0
- package/dist/hooks/use-theme.js.map +1 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +80 -0
- package/dist/index.js.map +1 -0
- package/dist/modal.d.ts +42 -0
- package/dist/modal.d.ts.map +1 -0
- package/dist/modal.js +18 -0
- package/dist/modal.js.map +1 -0
- package/dist/providers/direction-provider.d.ts +21 -0
- package/dist/providers/direction-provider.d.ts.map +1 -0
- package/dist/providers/direction-provider.js +9 -0
- package/dist/providers/direction-provider.js.map +1 -0
- package/dist/providers/reduced-motion-provider.d.ts +30 -0
- package/dist/providers/reduced-motion-provider.d.ts.map +1 -0
- package/dist/providers/reduced-motion-provider.js +27 -0
- package/dist/providers/reduced-motion-provider.js.map +1 -0
- package/dist/providers/theme-provider/index.d.ts +5 -0
- package/dist/providers/theme-provider/index.d.ts.map +1 -0
- package/dist/providers/theme-provider/index.js +3 -0
- package/dist/providers/theme-provider/index.js.map +1 -0
- package/dist/providers/theme-provider/theme-provider.d.ts +39 -0
- package/dist/providers/theme-provider/theme-provider.d.ts.map +1 -0
- package/dist/providers/theme-provider/theme-provider.js +118 -0
- package/dist/providers/theme-provider/theme-provider.js.map +1 -0
- package/dist/providers/theme-provider/theme-script.d.ts +28 -0
- package/dist/providers/theme-provider/theme-script.d.ts.map +1 -0
- package/dist/providers/theme-provider/theme-script.js +59 -0
- package/dist/providers/theme-provider/theme-script.js.map +1 -0
- package/dist/utils.d.ts +17 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +51 -0
- package/dist/utils.js.map +1 -0
- package/package.json +479 -0
- package/src/components/accordion/accordion.test.tsx +220 -0
- package/src/components/accordion/accordion.tsx +269 -0
- package/src/components/alert/alert.test.tsx +188 -0
- package/src/components/alert/alert.tsx +243 -0
- package/src/components/alert-dialog/alert-dialog.test.tsx +141 -0
- package/src/components/alert-dialog/alert-dialog.tsx +179 -0
- package/src/components/autocomplete/autocomplete.test.tsx +384 -0
- package/src/components/autocomplete/autocomplete.tsx +442 -0
- package/src/components/avatar/avatar.test.tsx +368 -0
- package/src/components/avatar/avatar.tsx +142 -0
- package/src/components/background-pattern/background-pattern-interactive.tsx +93 -0
- package/src/components/background-pattern/background-pattern-shared.tsx +96 -0
- package/src/components/background-pattern/background-pattern.test.tsx +97 -0
- package/src/components/background-pattern/background-pattern.tsx +67 -0
- package/src/components/background-pattern/index.ts +3 -0
- package/src/components/badge/badge.test.tsx +58 -0
- package/src/components/badge/badge.tsx +149 -0
- package/src/components/breadcrumb/breadcrumb.test.tsx +174 -0
- package/src/components/breadcrumb/breadcrumb.tsx +146 -0
- package/src/components/button/button-variants.ts +69 -0
- package/src/components/button/button.test.tsx +79 -0
- package/src/components/button/button.tsx +28 -0
- package/src/components/button/index.ts +2 -0
- package/src/components/button-group/button-group-context.ts +18 -0
- package/src/components/button-group/button-group.test.tsx +223 -0
- package/src/components/button-group/button-group.tsx +59 -0
- package/src/components/calendar/calendar.test.tsx +69 -0
- package/src/components/calendar/calendar.tsx +295 -0
- package/src/components/carousel/carousel.test.tsx +493 -0
- package/src/components/carousel/carousel.tsx +1003 -0
- package/src/components/checkbox/checkbox.test.tsx +100 -0
- package/src/components/checkbox/checkbox.tsx +154 -0
- package/src/components/checkbox-group/checkbox-group.test.tsx +86 -0
- package/src/components/checkbox-group/checkbox-group.tsx +21 -0
- package/src/components/chip/chip.test.tsx +242 -0
- package/src/components/chip/chip.tsx +234 -0
- package/src/components/collapsible/collapsible.test.tsx +126 -0
- package/src/components/collapsible/collapsible.tsx +47 -0
- package/src/components/combobox/combobox.test.tsx +410 -0
- package/src/components/combobox/combobox.tsx +598 -0
- package/src/components/context-menu/context-menu.test.tsx +226 -0
- package/src/components/context-menu/context-menu.tsx +345 -0
- package/src/components/copy-button/copy-button.test.tsx +147 -0
- package/src/components/copy-button/copy-button.tsx +141 -0
- package/src/components/countdown/countdown.test.tsx +130 -0
- package/src/components/countdown/countdown.tsx +170 -0
- package/src/components/date-field/date-field.test.tsx +373 -0
- package/src/components/date-field/date-field.tsx +512 -0
- package/src/components/date-picker/date-picker.test.tsx +291 -0
- package/src/components/date-picker/date-picker.tsx +572 -0
- package/src/components/dialog/dialog.test.tsx +173 -0
- package/src/components/dialog/dialog.tsx +190 -0
- package/src/components/drawer/drawer.test.tsx +191 -0
- package/src/components/drawer/drawer.tsx +365 -0
- package/src/components/dropdown-menu/dropdown-menu.test.tsx +227 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +341 -0
- package/src/components/field/field.test.tsx +84 -0
- package/src/components/field/field.tsx +71 -0
- package/src/components/fieldset/fieldset.test.tsx +62 -0
- package/src/components/fieldset/fieldset.tsx +24 -0
- package/src/components/form/form.test.tsx +61 -0
- package/src/components/form/form.tsx +11 -0
- package/src/components/gradient-glow/gradient-glow.test.tsx +110 -0
- package/src/components/gradient-glow/gradient-glow.tsx +132 -0
- package/src/components/input/index.ts +2 -0
- package/src/components/input/input-variants.ts +52 -0
- package/src/components/input/input.test.tsx +118 -0
- package/src/components/input/input.tsx +120 -0
- package/src/components/kbd/kbd.test.tsx +119 -0
- package/src/components/kbd/kbd.tsx +48 -0
- package/src/components/loader/loader.test.tsx +57 -0
- package/src/components/loader/loader.tsx +163 -0
- package/src/components/menubar/menubar.test.tsx +162 -0
- package/src/components/menubar/menubar.tsx +226 -0
- package/src/components/meter/meter.test.tsx +172 -0
- package/src/components/meter/meter.tsx +144 -0
- package/src/components/navigation/index.ts +3 -0
- package/src/components/navigation/navigation-context.ts +24 -0
- package/src/components/navigation/navigation-link-variants.ts +197 -0
- package/src/components/navigation/navigation-link.tsx +90 -0
- package/src/components/navigation/navigation.test.tsx +253 -0
- package/src/components/navigation/navigation.tsx +74 -0
- package/src/components/navigation-menu/navigation-menu.test.tsx +258 -0
- package/src/components/navigation-menu/navigation-menu.tsx +410 -0
- package/src/components/number-field/number-field.test.tsx +224 -0
- package/src/components/number-field/number-field.tsx +310 -0
- package/src/components/otp-field/otp-field.test.tsx +113 -0
- package/src/components/otp-field/otp-field.tsx +105 -0
- package/src/components/pagination/pagination.test.tsx +147 -0
- package/src/components/pagination/pagination.tsx +139 -0
- package/src/components/popover/popover.test.tsx +135 -0
- package/src/components/popover/popover.tsx +134 -0
- package/src/components/preview-card/preview-card.test.tsx +99 -0
- package/src/components/preview-card/preview-card.tsx +103 -0
- package/src/components/progress/progress.test.tsx +109 -0
- package/src/components/progress/progress.tsx +151 -0
- package/src/components/radio/radio.test.tsx +141 -0
- package/src/components/radio/radio.tsx +94 -0
- package/src/components/radio-group/radio-group.test.tsx +80 -0
- package/src/components/radio-group/radio-group.tsx +22 -0
- package/src/components/scroll-area/scroll-area.test.tsx +133 -0
- package/src/components/scroll-area/scroll-area.tsx +101 -0
- package/src/components/select/select.test.tsx +251 -0
- package/src/components/select/select.tsx +446 -0
- package/src/components/separator/separator.test.tsx +46 -0
- package/src/components/separator/separator.tsx +95 -0
- package/src/components/skeleton/skeleton.test.tsx +55 -0
- package/src/components/skeleton/skeleton.tsx +33 -0
- package/src/components/slider/slider.test.tsx +123 -0
- package/src/components/slider/slider.tsx +262 -0
- package/src/components/sparkline/sparkline.test.tsx +249 -0
- package/src/components/sparkline/sparkline.tsx +446 -0
- package/src/components/spinner/spinner.test.tsx +57 -0
- package/src/components/spinner/spinner.tsx +219 -0
- package/src/components/switch/switch.test.tsx +100 -0
- package/src/components/switch/switch.tsx +166 -0
- package/src/components/table/table.test.tsx +175 -0
- package/src/components/table/table.tsx +157 -0
- package/src/components/tabs/tabs.test.tsx +165 -0
- package/src/components/tabs/tabs.tsx +246 -0
- package/src/components/text-animate/text-animate.test.tsx +125 -0
- package/src/components/text-animate/text-animate.tsx +354 -0
- package/src/components/textarea/textarea.test.tsx +188 -0
- package/src/components/textarea/textarea.tsx +144 -0
- package/src/components/thumbnail/thumbnail.test.tsx +217 -0
- package/src/components/thumbnail/thumbnail.tsx +139 -0
- package/src/components/time-field/time-field.test.tsx +376 -0
- package/src/components/time-field/time-field.tsx +625 -0
- package/src/components/toast/toast.test.tsx +277 -0
- package/src/components/toast/toast.tsx +377 -0
- package/src/components/toc/toc.test.tsx +197 -0
- package/src/components/toc/toc.tsx +233 -0
- package/src/components/toggle/toggle.test.tsx +109 -0
- package/src/components/toggle/toggle.tsx +10 -0
- package/src/components/toggle-group/toggle-group.test.tsx +95 -0
- package/src/components/toggle-group/toggle-group.tsx +21 -0
- package/src/components/toolbar/toolbar.test.tsx +78 -0
- package/src/components/toolbar/toolbar.tsx +77 -0
- package/src/components/tooltip/tooltip.test.tsx +100 -0
- package/src/components/tooltip/tooltip.tsx +78 -0
- package/src/floating.test.ts +40 -0
- package/src/floating.ts +103 -0
- package/src/globals.d.ts +34 -0
- package/src/hooks/use-direction.ts +3 -0
- package/src/hooks/use-dismissible.ts +33 -0
- package/src/hooks/use-local-storage.test.tsx +63 -0
- package/src/hooks/use-local-storage.ts +190 -0
- package/src/hooks/use-media-query.test.tsx +65 -0
- package/src/hooks/use-media-query.ts +38 -0
- package/src/hooks/use-reduced-motion.ts +17 -0
- package/src/hooks/use-theme.ts +16 -0
- package/src/index.ts +76 -0
- package/src/modal.test.ts +34 -0
- package/src/modal.ts +80 -0
- package/src/providers/direction-provider.test.tsx +20 -0
- package/src/providers/direction-provider.tsx +26 -0
- package/src/providers/reduced-motion-provider.test.tsx +42 -0
- package/src/providers/reduced-motion-provider.tsx +58 -0
- package/src/providers/theme-provider/index.ts +4 -0
- package/src/providers/theme-provider/theme-provider.test.tsx +97 -0
- package/src/providers/theme-provider/theme-provider.tsx +169 -0
- package/src/providers/theme-provider/theme-script.tsx +108 -0
- package/src/test/setup.ts +27 -0
- package/src/test/vitest-axe.d.ts +7 -0
- package/src/utils.test.tsx +63 -0
- package/src/utils.ts +57 -0
- package/styles.css +523 -0
package/styles.css
ADDED
|
@@ -0,0 +1,523 @@
|
|
|
1
|
+
/* Appica UI React design tokens
|
|
2
|
+
* Consumer import: @import '@appica/ui-react/styles.css';
|
|
3
|
+
*
|
|
4
|
+
* Override any token in your own CSS after this import:
|
|
5
|
+
* :root { --color-primary: oklch(60% 0.25 150); }
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@import 'tailwindcss';
|
|
9
|
+
|
|
10
|
+
@custom-variant dark (&:is(.dark *));
|
|
11
|
+
|
|
12
|
+
@custom-variant motion-reduce {
|
|
13
|
+
@media (prefers-reduced-motion: reduce) {
|
|
14
|
+
@slot;
|
|
15
|
+
}
|
|
16
|
+
&:is([data-disable-animations] *) {
|
|
17
|
+
@slot;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@custom-variant motion-safe {
|
|
22
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
23
|
+
&:not([data-disable-animations] *) {
|
|
24
|
+
@slot;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@custom-variant hover-none (@media (hover: none));
|
|
30
|
+
|
|
31
|
+
@theme inline {
|
|
32
|
+
--color-foreground: var(--foreground);
|
|
33
|
+
--color-foreground-subtle: var(--foreground-subtle);
|
|
34
|
+
--color-foreground-muted: var(--foreground-muted);
|
|
35
|
+
--color-foreground-strong: var(--foreground-strong);
|
|
36
|
+
--color-foreground-emphasis: var(--foreground-emphasis);
|
|
37
|
+
--color-foreground-intense: var(--foreground-intense);
|
|
38
|
+
--color-foreground-inverse: var(--foreground-inverse);
|
|
39
|
+
|
|
40
|
+
--color-background: var(--background);
|
|
41
|
+
--color-background-subtle: var(--background-subtle);
|
|
42
|
+
--color-background-muted: var(--background-muted);
|
|
43
|
+
--color-background-strong: var(--background-strong);
|
|
44
|
+
--color-background-inverse: var(--background-inverse);
|
|
45
|
+
|
|
46
|
+
--color-border: var(--border);
|
|
47
|
+
--color-border-muted: var(--border-muted);
|
|
48
|
+
--color-border-strong: var(--border-strong);
|
|
49
|
+
--color-border-emphasis: var(--border-emphasis);
|
|
50
|
+
--color-border-intense: var(--border-intense);
|
|
51
|
+
--color-border-inverse: var(--border-inverse);
|
|
52
|
+
--color-border-overlay: var(--border-overlay);
|
|
53
|
+
|
|
54
|
+
--color-primary: var(--primary);
|
|
55
|
+
--color-primary-subtle: var(--primary-subtle);
|
|
56
|
+
--color-primary-soft: var(--primary-soft);
|
|
57
|
+
--color-primary-muted: var(--primary-muted);
|
|
58
|
+
--color-primary-strong: var(--primary-strong);
|
|
59
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
60
|
+
|
|
61
|
+
--color-secondary: var(--secondary);
|
|
62
|
+
--color-secondary-subtle: var(--secondary-subtle);
|
|
63
|
+
--color-secondary-soft: var(--secondary-soft);
|
|
64
|
+
--color-secondary-muted: var(--secondary-muted);
|
|
65
|
+
--color-secondary-strong: var(--secondary-strong);
|
|
66
|
+
--color-secondary-emphasis: var(--secondary-emphasis);
|
|
67
|
+
--color-secondary-intense: var(--secondary-intense);
|
|
68
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
69
|
+
|
|
70
|
+
--color-error: var(--error);
|
|
71
|
+
--color-error-subtle: var(--error-subtle);
|
|
72
|
+
--color-error-soft: var(--error-soft);
|
|
73
|
+
--color-error-muted: var(--error-muted);
|
|
74
|
+
--color-error-strong: var(--error-strong);
|
|
75
|
+
--color-error-emphasis: var(--error-emphasis);
|
|
76
|
+
--color-error-intense: var(--error-intense);
|
|
77
|
+
--color-error-foreground: var(--error-foreground);
|
|
78
|
+
|
|
79
|
+
--color-success: var(--success);
|
|
80
|
+
--color-success-subtle: var(--success-subtle);
|
|
81
|
+
--color-success-soft: var(--success-soft);
|
|
82
|
+
--color-success-muted: var(--success-muted);
|
|
83
|
+
--color-success-strong: var(--success-strong);
|
|
84
|
+
--color-success-emphasis: var(--success-emphasis);
|
|
85
|
+
--color-success-intense: var(--success-intense);
|
|
86
|
+
--color-success-foreground: var(--success-foreground);
|
|
87
|
+
|
|
88
|
+
--color-warning: var(--warning);
|
|
89
|
+
--color-warning-subtle: var(--warning-subtle);
|
|
90
|
+
--color-warning-soft: var(--warning-soft);
|
|
91
|
+
--color-warning-muted: var(--warning-muted);
|
|
92
|
+
--color-warning-strong: var(--warning-strong);
|
|
93
|
+
--color-warning-emphasis: var(--warning-emphasis);
|
|
94
|
+
--color-warning-intense: var(--warning-intense);
|
|
95
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
96
|
+
|
|
97
|
+
--color-info: var(--info);
|
|
98
|
+
--color-info-subtle: var(--info-subtle);
|
|
99
|
+
--color-info-soft: var(--info-soft);
|
|
100
|
+
--color-info-muted: var(--info-muted);
|
|
101
|
+
--color-info-strong: var(--info-strong);
|
|
102
|
+
--color-info-emphasis: var(--info-emphasis);
|
|
103
|
+
--color-info-intense: var(--info-intense);
|
|
104
|
+
--color-info-foreground: var(--info-foreground);
|
|
105
|
+
|
|
106
|
+
--color-ring: var(--focus-ring);
|
|
107
|
+
--color-ring-input: var(--focus-ring-input);
|
|
108
|
+
--color-ring-primary: var(--focus-ring-primary);
|
|
109
|
+
--color-ring-secondary: var(--focus-ring-secondary);
|
|
110
|
+
--color-ring-error: var(--focus-ring-error);
|
|
111
|
+
--color-ring-success: var(--focus-ring-success);
|
|
112
|
+
--color-ring-warning: var(--focus-ring-warning);
|
|
113
|
+
--color-ring-info: var(--focus-ring-info);
|
|
114
|
+
--color-ring-light: var(--focus-ring-light);
|
|
115
|
+
|
|
116
|
+
--font-sans: var(--font-sans);
|
|
117
|
+
--font-mono: var(--font-mono);
|
|
118
|
+
|
|
119
|
+
--text-xs: 0.75rem;
|
|
120
|
+
--text-xs--line-height: 1rem;
|
|
121
|
+
--text-sm: 0.875rem;
|
|
122
|
+
--text-sm--line-height: 1.25rem;
|
|
123
|
+
--text-base: 1rem;
|
|
124
|
+
--text-base--line-height: 1.5rem;
|
|
125
|
+
--text-lg: 1.125rem;
|
|
126
|
+
--text-lg--line-height: 1.625rem;
|
|
127
|
+
--text-xl: 1.25rem;
|
|
128
|
+
--text-xl--line-height: 1.75rem;
|
|
129
|
+
--text-2xl: 1.5rem;
|
|
130
|
+
--text-2xl--line-height: 1.875rem;
|
|
131
|
+
--text-3xl: 1.75rem;
|
|
132
|
+
--text-3xl--line-height: 2.125rem;
|
|
133
|
+
--text-4xl: 2rem;
|
|
134
|
+
--text-4xl--line-height: 2.375rem;
|
|
135
|
+
--text-5xl: 2.5rem;
|
|
136
|
+
--text-5xl--line-height: 2.875rem;
|
|
137
|
+
--text-6xl: 3rem;
|
|
138
|
+
--text-6xl--line-height: 3.375rem;
|
|
139
|
+
--text-7xl: 3.75rem;
|
|
140
|
+
--text-7xl--line-height: 4.125rem;
|
|
141
|
+
--text-8xl: 4.5rem;
|
|
142
|
+
--text-8xl--line-height: 4.875rem;
|
|
143
|
+
--text-9xl: 6rem;
|
|
144
|
+
--text-9xl--line-height: 6.25rem;
|
|
145
|
+
--text-10xl: 8rem;
|
|
146
|
+
--text-10xl--line-height: 8rem;
|
|
147
|
+
|
|
148
|
+
--default-border-width: var(--border-width);
|
|
149
|
+
|
|
150
|
+
--radius: var(--radius);
|
|
151
|
+
--radius-4xs: var(--radius-4xs);
|
|
152
|
+
--radius-3xs: var(--radius-3xs);
|
|
153
|
+
--radius-2xs: var(--radius-2xs);
|
|
154
|
+
--radius-xs: var(--radius-xs);
|
|
155
|
+
--radius-sm: var(--radius-sm);
|
|
156
|
+
--radius-md: var(--radius-md);
|
|
157
|
+
--radius-lg: var(--radius-lg);
|
|
158
|
+
--radius-xl: var(--radius-xl);
|
|
159
|
+
--radius-2xl: var(--radius-2xl);
|
|
160
|
+
--radius-3xl: var(--radius-3xl);
|
|
161
|
+
--radius-4xl: var(--radius-4xl);
|
|
162
|
+
|
|
163
|
+
--shadow-2xs: 0 1px var(--shadow-color);
|
|
164
|
+
--shadow-xs: 0 1px 4px 0 var(--shadow-color);
|
|
165
|
+
--shadow-sm: 0 2px 8px -2px var(--shadow-color);
|
|
166
|
+
--shadow-md: 0 4px 8px -2px var(--shadow-color);
|
|
167
|
+
--shadow-lg: 0 8px 16px -4px var(--shadow-color);
|
|
168
|
+
--shadow-xl: 0 12px 28px -6px var(--shadow-color);
|
|
169
|
+
--shadow-2xl: 0 24px 32px -12px var(--shadow-color);
|
|
170
|
+
--shadow: var(--shadow-md);
|
|
171
|
+
--inset-shadow-2xs: inset 0 1px var(--shadow-color);
|
|
172
|
+
--inset-shadow-xs: inset 0 1px 2px var(--shadow-color);
|
|
173
|
+
--inset-shadow-sm: inset 0 2px 8px var(--shadow-color);
|
|
174
|
+
--shadow-inner: var(--inset-shadow-sm);
|
|
175
|
+
|
|
176
|
+
--opacity-disabled: var(--opacity-disabled);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:root,
|
|
180
|
+
.light {
|
|
181
|
+
--foreground: oklch(0.446 0.03 256.802);
|
|
182
|
+
--foreground-subtle: oklch(0.707 0.022 261.325);
|
|
183
|
+
--foreground-muted: oklch(0.551 0.027 264.364);
|
|
184
|
+
--foreground-strong: oklch(0.373 0.034 259.733);
|
|
185
|
+
--foreground-emphasis: oklch(0.278 0.033 256.848);
|
|
186
|
+
--foreground-intense: oklch(0.21 0.034 264.665);
|
|
187
|
+
--foreground-inverse: oklch(1 0 0);
|
|
188
|
+
|
|
189
|
+
--background: oklch(1 0 0);
|
|
190
|
+
--background-subtle: oklch(0.985 0.002 247.839);
|
|
191
|
+
--background-muted: oklch(0.967 0.003 264.542);
|
|
192
|
+
--background-strong: oklch(0.928 0.006 264.531);
|
|
193
|
+
--background-inverse: oklch(0.13 0.028 261.692);
|
|
194
|
+
|
|
195
|
+
--border: oklch(0.928 0.006 264.531);
|
|
196
|
+
--border-muted: oklch(0.967 0.003 264.542);
|
|
197
|
+
--border-strong: oklch(0.872 0.01 258.338);
|
|
198
|
+
--border-emphasis: oklch(0.707 0.022 261.325);
|
|
199
|
+
--border-intense: oklch(0.551 0.027 264.364);
|
|
200
|
+
--border-inverse: oklch(0.278 0.033 256.848);
|
|
201
|
+
--border-overlay: oklch(0.967 0.003 264.542);
|
|
202
|
+
|
|
203
|
+
--primary: oklch(0.21 0.034 264.665);
|
|
204
|
+
--primary-subtle: oklch(0.967 0.003 264.542);
|
|
205
|
+
--primary-soft: oklch(0.928 0.006 264.531);
|
|
206
|
+
--primary-muted: oklch(0.373 0.034 259.733);
|
|
207
|
+
--primary-strong: oklch(0.13 0.028 261.692);
|
|
208
|
+
--primary-foreground: oklch(1 0 0);
|
|
209
|
+
|
|
210
|
+
--secondary: oklch(0.809 0.105 251.813);
|
|
211
|
+
--secondary-subtle: oklch(0.623 0.214 259.815 / 10%);
|
|
212
|
+
--secondary-soft: oklch(0.623 0.214 259.815 / 20%);
|
|
213
|
+
--secondary-muted: oklch(0.882 0.059 254.128);
|
|
214
|
+
--secondary-strong: oklch(0.707 0.165 254.624);
|
|
215
|
+
--secondary-emphasis: oklch(0.623 0.214 259.815);
|
|
216
|
+
--secondary-intense: oklch(0.546 0.245 262.881);
|
|
217
|
+
--secondary-foreground: oklch(0.13 0.028 261.692);
|
|
218
|
+
|
|
219
|
+
--error: oklch(0.808 0.114 19.571);
|
|
220
|
+
--error-subtle: oklch(0.637 0.237 25.331 / 10%);
|
|
221
|
+
--error-soft: oklch(0.637 0.237 25.331 / 20%);
|
|
222
|
+
--error-muted: oklch(0.885 0.062 18.334);
|
|
223
|
+
--error-strong: oklch(0.704 0.191 22.216);
|
|
224
|
+
--error-emphasis: oklch(0.637 0.237 25.331);
|
|
225
|
+
--error-intense: oklch(0.577 0.245 27.325);
|
|
226
|
+
--error-foreground: oklch(0.13 0.028 261.692);
|
|
227
|
+
|
|
228
|
+
--success: oklch(0.845 0.143 164.978);
|
|
229
|
+
--success-subtle: oklch(0.696 0.17 162.48 / 10%);
|
|
230
|
+
--success-soft: oklch(0.696 0.17 162.48 / 20%);
|
|
231
|
+
--success-muted: oklch(0.905 0.093 164.15);
|
|
232
|
+
--success-strong: oklch(0.765 0.177 163.223);
|
|
233
|
+
--success-emphasis: oklch(0.696 0.17 162.48);
|
|
234
|
+
--success-intense: oklch(0.596 0.145 163.225);
|
|
235
|
+
--success-foreground: oklch(0.13 0.028 261.692);
|
|
236
|
+
|
|
237
|
+
--warning: oklch(0.837 0.128 66.29);
|
|
238
|
+
--warning-subtle: oklch(0.705 0.213 47.604 / 10%);
|
|
239
|
+
--warning-soft: oklch(0.705 0.213 47.604 / 20%);
|
|
240
|
+
--warning-muted: oklch(0.901 0.076 70.697);
|
|
241
|
+
--warning-strong: oklch(0.75 0.183 55.934);
|
|
242
|
+
--warning-emphasis: oklch(0.705 0.213 47.604);
|
|
243
|
+
--warning-intense: oklch(0.646 0.222 41.116);
|
|
244
|
+
--warning-foreground: oklch(0.13 0.028 261.692);
|
|
245
|
+
|
|
246
|
+
--info: oklch(0.828 0.111 230.318);
|
|
247
|
+
--info-subtle: oklch(0.685 0.169 237.323 / 10%);
|
|
248
|
+
--info-soft: oklch(0.685 0.169 237.323 / 20%);
|
|
249
|
+
--info-muted: oklch(0.901 0.058 230.902);
|
|
250
|
+
--info-strong: oklch(0.746 0.16 232.661);
|
|
251
|
+
--info-emphasis: oklch(0.685 0.169 237.323);
|
|
252
|
+
--info-intense: oklch(0.588 0.158 241.966);
|
|
253
|
+
--info-foreground: oklch(0.13 0.028 261.692);
|
|
254
|
+
|
|
255
|
+
--font-sans:
|
|
256
|
+
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
257
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
258
|
+
|
|
259
|
+
--focus-ring: oklch(0.872 0.01 258.338);
|
|
260
|
+
--focus-ring-input: oklch(0.928 0.006 264.531);
|
|
261
|
+
--focus-ring-primary: oklch(0.872 0.01 258.338);
|
|
262
|
+
--focus-ring-secondary: oklch(0.623 0.214 259.815 / 30%);
|
|
263
|
+
--focus-ring-error: oklch(0.637 0.237 25.331 / 30%);
|
|
264
|
+
--focus-ring-success: oklch(0.696 0.17 162.48 / 30%);
|
|
265
|
+
--focus-ring-warning: oklch(0.705 0.213 47.604 / 30%);
|
|
266
|
+
--focus-ring-info: oklch(0.685 0.169 237.323 / 30%);
|
|
267
|
+
--focus-ring-light: oklch(1 0 0 / 25%);
|
|
268
|
+
|
|
269
|
+
--border-width: 1px;
|
|
270
|
+
|
|
271
|
+
--radius: 0.875rem;
|
|
272
|
+
--radius-4xs: calc(var(--radius) * 2 / 7);
|
|
273
|
+
--radius-3xs: calc(var(--radius) * 3 / 7);
|
|
274
|
+
--radius-2xs: calc(var(--radius) * 4 / 7);
|
|
275
|
+
--radius-xs: calc(var(--radius) * 5 / 7);
|
|
276
|
+
--radius-sm: calc(var(--radius) * 6 / 7);
|
|
277
|
+
--radius-md: var(--radius);
|
|
278
|
+
--radius-lg: calc(var(--radius) * 8 / 7);
|
|
279
|
+
--radius-xl: calc(var(--radius) * 9 / 7);
|
|
280
|
+
--radius-2xl: calc(var(--radius) * 12 / 7);
|
|
281
|
+
--radius-3xl: calc(var(--radius) * 16 / 7);
|
|
282
|
+
--radius-4xl: calc(var(--radius) * 20 / 7);
|
|
283
|
+
|
|
284
|
+
--shadow-color: oklch(0.551 0.027 264.364 / 18%);
|
|
285
|
+
--selection-color: oklch(0.13 0.028 261.692 / 10%);
|
|
286
|
+
|
|
287
|
+
--opacity-disabled: 0.65;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.dark {
|
|
291
|
+
--foreground: oklch(0.872 0.01 258.338);
|
|
292
|
+
--foreground-subtle: oklch(0.551 0.027 264.364);
|
|
293
|
+
--foreground-muted: oklch(0.707 0.022 261.325);
|
|
294
|
+
--foreground-strong: oklch(0.928 0.006 264.531);
|
|
295
|
+
--foreground-emphasis: oklch(0.967 0.003 264.542);
|
|
296
|
+
--foreground-intense: oklch(1 0 0);
|
|
297
|
+
--foreground-inverse: oklch(0.21 0.034 264.665);
|
|
298
|
+
|
|
299
|
+
--background: oklch(0.13 0.028 261.692);
|
|
300
|
+
--background-subtle: oklch(0.551 0.027 264.364 / 8%);
|
|
301
|
+
--background-muted: oklch(0.21 0.034 264.665);
|
|
302
|
+
--background-strong: oklch(0.278 0.033 256.848);
|
|
303
|
+
--background-inverse: oklch(1 0 0);
|
|
304
|
+
|
|
305
|
+
--border: oklch(0.278 0.033 256.848);
|
|
306
|
+
--border-muted: oklch(0.21 0.034 264.665);
|
|
307
|
+
--border-strong: oklch(0.373 0.034 259.733);
|
|
308
|
+
--border-emphasis: oklch(0.446 0.03 256.802);
|
|
309
|
+
--border-intense: oklch(0.551 0.027 264.364);
|
|
310
|
+
--border-inverse: oklch(0.928 0.006 264.531);
|
|
311
|
+
--border-overlay: oklch(0.278 0.033 256.848);
|
|
312
|
+
|
|
313
|
+
--primary: oklch(1 0 0);
|
|
314
|
+
--primary-subtle: oklch(0.21 0.034 264.665);
|
|
315
|
+
--primary-soft: oklch(0.278 0.033 256.848);
|
|
316
|
+
--primary-muted: oklch(0.928 0.006 264.531);
|
|
317
|
+
--primary-strong: oklch(1 0 0);
|
|
318
|
+
--primary-foreground: oklch(0.21 0.034 264.665);
|
|
319
|
+
|
|
320
|
+
--secondary: oklch(0.707 0.165 254.624);
|
|
321
|
+
--secondary-subtle: oklch(0.623 0.214 259.815 / 10%);
|
|
322
|
+
--secondary-soft: oklch(0.623 0.214 259.815 / 20%);
|
|
323
|
+
--secondary-muted: oklch(0.809 0.105 251.813);
|
|
324
|
+
--secondary-strong: oklch(0.707 0.165 254.624);
|
|
325
|
+
--secondary-emphasis: oklch(0.623 0.214 259.815);
|
|
326
|
+
--secondary-intense: oklch(0.546 0.245 262.881);
|
|
327
|
+
--secondary-foreground: oklch(0.13 0.028 261.692);
|
|
328
|
+
|
|
329
|
+
--error: oklch(0.704 0.191 22.216);
|
|
330
|
+
--error-subtle: oklch(0.637 0.237 25.331 / 10%);
|
|
331
|
+
--error-soft: oklch(0.637 0.237 25.331 / 20%);
|
|
332
|
+
--error-muted: oklch(0.808 0.114 19.571);
|
|
333
|
+
--error-strong: oklch(0.704 0.191 22.216);
|
|
334
|
+
--error-emphasis: oklch(0.637 0.237 25.331);
|
|
335
|
+
--error-intense: oklch(0.577 0.245 27.325);
|
|
336
|
+
--error-foreground: oklch(0.13 0.028 261.692);
|
|
337
|
+
|
|
338
|
+
--success: oklch(0.765 0.177 163.223);
|
|
339
|
+
--success-subtle: oklch(0.696 0.17 162.48 / 10%);
|
|
340
|
+
--success-soft: oklch(0.696 0.17 162.48 / 20%);
|
|
341
|
+
--success-muted: oklch(0.845 0.143 164.978);
|
|
342
|
+
--success-strong: oklch(0.765 0.177 163.223);
|
|
343
|
+
--success-emphasis: oklch(0.696 0.17 162.48);
|
|
344
|
+
--success-intense: oklch(0.596 0.145 163.225);
|
|
345
|
+
--success-foreground: oklch(0.13 0.028 261.692);
|
|
346
|
+
|
|
347
|
+
--warning: oklch(0.75 0.183 55.934);
|
|
348
|
+
--warning-subtle: oklch(0.705 0.213 47.604 / 10%);
|
|
349
|
+
--warning-soft: oklch(0.705 0.213 47.604 / 20%);
|
|
350
|
+
--warning-muted: oklch(0.837 0.128 66.29);
|
|
351
|
+
--warning-strong: oklch(0.75 0.183 55.934);
|
|
352
|
+
--warning-emphasis: oklch(0.705 0.213 47.604);
|
|
353
|
+
--warning-intense: oklch(0.646 0.222 41.116);
|
|
354
|
+
--warning-foreground: oklch(0.13 0.028 261.692);
|
|
355
|
+
|
|
356
|
+
--info: oklch(0.746 0.16 232.661);
|
|
357
|
+
--info-subtle: oklch(0.685 0.169 237.323 / 10%);
|
|
358
|
+
--info-soft: oklch(0.685 0.169 237.323 / 20%);
|
|
359
|
+
--info-muted: oklch(0.828 0.111 230.318);
|
|
360
|
+
--info-strong: oklch(0.746 0.16 232.661);
|
|
361
|
+
--info-emphasis: oklch(0.685 0.169 237.323);
|
|
362
|
+
--info-intense: oklch(0.588 0.158 241.966);
|
|
363
|
+
--info-foreground: oklch(0.13 0.028 261.692);
|
|
364
|
+
|
|
365
|
+
--focus-ring: oklch(0.373 0.034 259.733);
|
|
366
|
+
--focus-ring-input: oklch(0.278 0.033 256.848);
|
|
367
|
+
--focus-ring-primary: oklch(0.373 0.034 259.733);
|
|
368
|
+
--focus-ring-secondary: oklch(0.623 0.214 259.815 / 50%);
|
|
369
|
+
--focus-ring-error: oklch(0.637 0.237 25.331 / 50%);
|
|
370
|
+
--focus-ring-success: oklch(0.696 0.17 162.48 / 50%);
|
|
371
|
+
--focus-ring-warning: oklch(0.705 0.213 47.604 / 50%);
|
|
372
|
+
--focus-ring-info: oklch(0.685 0.169 237.323 / 50%);
|
|
373
|
+
--focus-ring-light: oklch(1 0 0 / 25%);
|
|
374
|
+
|
|
375
|
+
--shadow-color: oklch(0 0 0 / 30%);
|
|
376
|
+
--selection-color: oklch(1 0 0 / 15%);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
@layer base {
|
|
380
|
+
* {
|
|
381
|
+
@apply border-border focus-visible:outline-3;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
::selection {
|
|
385
|
+
background-color: var(--selection-color);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
body {
|
|
389
|
+
@apply bg-background text-foreground relative min-h-dvh antialiased;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
@utility animate-ping-paced {
|
|
394
|
+
animation: ping-paced 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
@keyframes ping-paced {
|
|
398
|
+
25%,
|
|
399
|
+
100% {
|
|
400
|
+
transform: scale(2.2);
|
|
401
|
+
opacity: 0;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
@utility skeleton-shimmer {
|
|
406
|
+
position: relative;
|
|
407
|
+
overflow: hidden;
|
|
408
|
+
&::after {
|
|
409
|
+
content: '';
|
|
410
|
+
position: absolute;
|
|
411
|
+
inset: 0;
|
|
412
|
+
transform: translateX(-100%);
|
|
413
|
+
background: linear-gradient(
|
|
414
|
+
90deg,
|
|
415
|
+
transparent,
|
|
416
|
+
var(--skeleton-highlight, color-mix(in oklab, currentColor 12%, transparent)),
|
|
417
|
+
transparent
|
|
418
|
+
);
|
|
419
|
+
animation: skeleton-shimmer 1.6s ease-in-out infinite;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
@media (prefers-reduced-motion: reduce) {
|
|
424
|
+
.skeleton-shimmer::after {
|
|
425
|
+
animation: none;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
[data-disable-animations] .skeleton-shimmer::after {
|
|
430
|
+
animation: none;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
[dir='rtl'] .skeleton-shimmer::after {
|
|
434
|
+
animation-direction: reverse;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
@keyframes skeleton-shimmer {
|
|
438
|
+
100% {
|
|
439
|
+
transform: translateX(100%);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
[data-disable-animations] [data-slot='toast-progress-indicator'] {
|
|
444
|
+
animation: none;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
@keyframes toast-progress {
|
|
448
|
+
from {
|
|
449
|
+
transform: scaleX(1);
|
|
450
|
+
}
|
|
451
|
+
to {
|
|
452
|
+
transform: scaleX(0);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
@utility animate-shake {
|
|
457
|
+
animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
|
|
458
|
+
transform: translate3d(0, 0, 0);
|
|
459
|
+
backface-visibility: hidden;
|
|
460
|
+
perspective: 1000px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
@keyframes shake {
|
|
464
|
+
10%,
|
|
465
|
+
90% {
|
|
466
|
+
transform: translate3d(-1px, 0, 0);
|
|
467
|
+
}
|
|
468
|
+
20%,
|
|
469
|
+
80% {
|
|
470
|
+
transform: translate3d(2px, 0, 0);
|
|
471
|
+
}
|
|
472
|
+
30%,
|
|
473
|
+
50%,
|
|
474
|
+
70% {
|
|
475
|
+
transform: translate3d(-4px, 0, 0);
|
|
476
|
+
}
|
|
477
|
+
40%,
|
|
478
|
+
60% {
|
|
479
|
+
transform: translate3d(4px, 0, 0);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
@utility animate-text-caret {
|
|
484
|
+
animation: text-caret 1s steps(1, end) infinite;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
@keyframes text-caret {
|
|
488
|
+
50% {
|
|
489
|
+
opacity: 0;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
@property --gradient-glow-rotation {
|
|
494
|
+
syntax: '<angle>';
|
|
495
|
+
inherits: false;
|
|
496
|
+
initial-value: 0deg;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
@utility animate-gradient-glow {
|
|
500
|
+
animation: gradient-glow var(--gradient-glow-duration, 4s) linear infinite;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
@utility animate-gradient-glow-aura {
|
|
504
|
+
animation:
|
|
505
|
+
gradient-glow var(--gradient-glow-duration, 4s) linear infinite,
|
|
506
|
+
gradient-glow-pulse var(--gradient-glow-duration, 4s) ease-in-out infinite;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
@keyframes gradient-glow {
|
|
510
|
+
to {
|
|
511
|
+
--gradient-glow-rotation: 360deg;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
@keyframes gradient-glow-pulse {
|
|
516
|
+
0%,
|
|
517
|
+
100% {
|
|
518
|
+
transform: scale(0.94);
|
|
519
|
+
}
|
|
520
|
+
50% {
|
|
521
|
+
transform: scale(1.03);
|
|
522
|
+
}
|
|
523
|
+
}
|