asheeui 0.5.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/dist/AsheeUIProvider.d.ts +6 -0
- package/dist/AsheeUIProvider.d.ts.map +1 -0
- package/dist/AsheeUIProvider.js +24 -0
- package/dist/components/accordion/Accordion.d.ts +110 -0
- package/dist/components/accordion/Accordion.d.ts.map +1 -0
- package/dist/components/accordion/Accordion.js +174 -0
- package/dist/components/accordion/accordion-config.d.ts +88 -0
- package/dist/components/accordion/accordion-config.d.ts.map +1 -0
- package/dist/components/accordion/accordion-config.js +17 -0
- package/dist/components/accordion/accordion-styles.d.ts +6 -0
- package/dist/components/accordion/accordion-styles.d.ts.map +1 -0
- package/dist/components/accordion/accordion-styles.js +26 -0
- package/dist/components/accordion/index.d.ts +3 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +3 -0
- package/dist/components/autocomplete/Autocomplete.d.ts +96 -0
- package/dist/components/autocomplete/Autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/Autocomplete.js +143 -0
- package/dist/components/autocomplete/autocomplete-config.d.ts +87 -0
- package/dist/components/autocomplete/autocomplete-config.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete-config.js +24 -0
- package/dist/components/autocomplete/index.d.ts +3 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/index.js +2 -0
- package/dist/components/button/Button.d.ts +105 -0
- package/dist/components/button/Button.d.ts.map +1 -0
- package/dist/components/button/Button.js +105 -0
- package/dist/components/button/button-config.d.ts +63 -0
- package/dist/components/button/button-config.d.ts.map +1 -0
- package/dist/components/button/button-config.js +20 -0
- package/dist/components/button/button-styles.d.ts +4 -0
- package/dist/components/button/button-styles.d.ts.map +1 -0
- package/dist/components/button/button-styles.js +14 -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/card/Card.d.ts +141 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/Card.js +212 -0
- package/dist/components/card/card-config.d.ts +96 -0
- package/dist/components/card/card-config.d.ts.map +1 -0
- package/dist/components/card/card-config.js +26 -0
- package/dist/components/card/card-styles.d.ts +7 -0
- package/dist/components/card/card-styles.d.ts.map +1 -0
- package/dist/components/card/card-styles.js +25 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +3 -0
- package/dist/components/carousel/Carousel.d.ts +31 -0
- package/dist/components/carousel/Carousel.d.ts.map +1 -0
- package/dist/components/carousel/Carousel.js +250 -0
- package/dist/components/carousel/carousel-config.d.ts +40 -0
- package/dist/components/carousel/carousel-config.d.ts.map +1 -0
- package/dist/components/carousel/carousel-config.js +27 -0
- package/dist/components/carousel/carousel-styles.d.ts +6 -0
- package/dist/components/carousel/carousel-styles.d.ts.map +1 -0
- package/dist/components/carousel/carousel-styles.js +18 -0
- package/dist/components/carousel/index.d.ts +3 -0
- package/dist/components/carousel/index.d.ts.map +1 -0
- package/dist/components/carousel/index.js +3 -0
- package/dist/components/chip/Chip.d.ts +93 -0
- package/dist/components/chip/Chip.d.ts.map +1 -0
- package/dist/components/chip/Chip.js +193 -0
- package/dist/components/chip/chip-config.d.ts +64 -0
- package/dist/components/chip/chip-config.d.ts.map +1 -0
- package/dist/components/chip/chip-config.js +17 -0
- package/dist/components/chip/chip-styles.d.ts +7 -0
- package/dist/components/chip/chip-styles.d.ts.map +1 -0
- package/dist/components/chip/chip-styles.js +29 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/chip/index.js +3 -0
- package/dist/components/date-picker/DatePicker.d.ts +30 -0
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DatePicker.js +470 -0
- package/dist/components/date-picker/date-picker-config.d.ts +14 -0
- package/dist/components/date-picker/date-picker-config.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker-config.js +23 -0
- package/dist/components/date-picker/date-picker-styles.d.ts +12 -0
- package/dist/components/date-picker/date-picker-styles.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker-styles.js +58 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +3 -0
- package/dist/components/drawer/Drawer.d.ts +16 -0
- package/dist/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/drawer/Drawer.js +132 -0
- package/dist/components/drawer/drawer-config.d.ts +18 -0
- package/dist/components/drawer/drawer-config.d.ts.map +1 -0
- package/dist/components/drawer/drawer-config.js +20 -0
- package/dist/components/drawer/drawer-styles.d.ts +10 -0
- package/dist/components/drawer/drawer-styles.d.ts.map +1 -0
- package/dist/components/drawer/drawer-styles.js +46 -0
- package/dist/components/drawer/index.d.ts +3 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/drawer/index.js +3 -0
- package/dist/components/field/FieldShell.d.ts +17 -0
- package/dist/components/field/FieldShell.d.ts.map +1 -0
- package/dist/components/field/FieldShell.js +59 -0
- package/dist/components/field/field-config.d.ts +23 -0
- package/dist/components/field/field-config.d.ts.map +1 -0
- package/dist/components/field/field-config.js +20 -0
- package/dist/components/field/field-styles.d.ts +8 -0
- package/dist/components/field/field-styles.d.ts.map +1 -0
- package/dist/components/field/index.d.ts +3 -0
- package/dist/components/field/index.d.ts.map +1 -0
- package/dist/components/field/index.js +2 -0
- package/dist/components/image/Image.d.ts +88 -0
- package/dist/components/image/Image.d.ts.map +1 -0
- package/dist/components/image/Image.js +134 -0
- package/dist/components/image/image-config.d.ts +67 -0
- package/dist/components/image/image-config.d.ts.map +1 -0
- package/dist/components/image/image-config.js +20 -0
- package/dist/components/image/image-styles.d.ts +4 -0
- package/dist/components/image/image-styles.d.ts.map +1 -0
- package/dist/components/image/image-styles.js +17 -0
- package/dist/components/image/index.d.ts +3 -0
- package/dist/components/image/index.d.ts.map +1 -0
- package/dist/components/image/index.js +3 -0
- package/dist/components/input/Input.d.ts +22 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/Input.js +146 -0
- package/dist/components/input/PasswordInput.d.ts +9 -0
- package/dist/components/input/PasswordInput.d.ts.map +1 -0
- package/dist/components/input/PasswordInput.js +51 -0
- package/dist/components/input/index.d.ts +4 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/index.js +4 -0
- package/dist/components/input/input-config.d.ts +10 -0
- package/dist/components/input/input-config.d.ts.map +1 -0
- package/dist/components/input/input-config.js +11 -0
- package/dist/components/input/input-styles.d.ts +4 -0
- package/dist/components/input/input-styles.d.ts.map +1 -0
- package/dist/components/input/input-styles.js +15 -0
- package/dist/components/keyboard/OnScreenKeyboard.d.ts +14 -0
- package/dist/components/keyboard/OnScreenKeyboard.d.ts.map +1 -0
- package/dist/components/keyboard/OnScreenKeyboard.js +159 -0
- package/dist/components/keyboard/default-keyboard-config.d.ts +10 -0
- package/dist/components/keyboard/default-keyboard-config.d.ts.map +1 -0
- package/dist/components/keyboard/default-keyboard-config.js +46 -0
- package/dist/components/keyboard/index.d.ts +5 -0
- package/dist/components/keyboard/index.d.ts.map +1 -0
- package/dist/components/keyboard/index.js +4 -0
- package/dist/components/keyboard/keyboard-config.d.ts +18 -0
- package/dist/components/keyboard/keyboard-config.d.ts.map +1 -0
- package/dist/components/keyboard/keyboard-context.d.ts +31 -0
- package/dist/components/keyboard/keyboard-context.d.ts.map +1 -0
- package/dist/components/keyboard/keyboard-context.js +89 -0
- package/dist/components/keyboard/use-keyboard-field.d.ts +8 -0
- package/dist/components/keyboard/use-keyboard-field.d.ts.map +1 -0
- package/dist/components/keyboard/use-keyboard-field.js +23 -0
- package/dist/components/link/Link.d.ts +21 -0
- package/dist/components/link/Link.d.ts.map +1 -0
- package/dist/components/link/Link.js +139 -0
- package/dist/components/link/index.d.ts +3 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +3 -0
- package/dist/components/link/link-config.d.ts +27 -0
- package/dist/components/link/link-config.d.ts.map +1 -0
- package/dist/components/link/link-config.js +18 -0
- package/dist/components/link/link-styles.d.ts +8 -0
- package/dist/components/link/link-styles.d.ts.map +1 -0
- package/dist/components/link/link-styles.js +33 -0
- package/dist/components/marquee/Marquee.d.ts +14 -0
- package/dist/components/marquee/Marquee.d.ts.map +1 -0
- package/dist/components/marquee/Marquee.js +145 -0
- package/dist/components/marquee/index.d.ts +3 -0
- package/dist/components/marquee/index.d.ts.map +1 -0
- package/dist/components/marquee/index.js +3 -0
- package/dist/components/marquee/marquee-config.d.ts +26 -0
- package/dist/components/marquee/marquee-config.d.ts.map +1 -0
- package/dist/components/marquee/marquee-config.js +22 -0
- package/dist/components/marquee/marquee-styles.d.ts +5 -0
- package/dist/components/marquee/marquee-styles.d.ts.map +1 -0
- package/dist/components/marquee/marquee-styles.js +17 -0
- package/dist/components/modal/Modal.d.ts +38 -0
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/modal/Modal.js +152 -0
- package/dist/components/modal/index.d.ts +3 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/index.js +3 -0
- package/dist/components/modal/modal-config.d.ts +19 -0
- package/dist/components/modal/modal-config.d.ts.map +1 -0
- package/dist/components/modal/modal-config.js +21 -0
- package/dist/components/modal/modal-styles.d.ts +5 -0
- package/dist/components/modal/modal-styles.d.ts.map +1 -0
- package/dist/components/modal/modal-styles.js +23 -0
- package/dist/components/multi-select/MultiSelect.d.ts +45 -0
- package/dist/components/multi-select/MultiSelect.d.ts.map +1 -0
- package/dist/components/multi-select/MultiSelect.js +302 -0
- package/dist/components/multi-select/index.d.ts +3 -0
- package/dist/components/multi-select/index.d.ts.map +1 -0
- package/dist/components/multi-select/index.js +3 -0
- package/dist/components/multi-select/multi-select-config.d.ts +31 -0
- package/dist/components/multi-select/multi-select-config.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select-config.js +31 -0
- package/dist/components/multi-select/multi-select-styles.d.ts +6 -0
- package/dist/components/multi-select/multi-select-styles.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select-styles.js +25 -0
- package/dist/components/radio/Radio.d.ts +20 -0
- package/dist/components/radio/Radio.d.ts.map +1 -0
- package/dist/components/radio/Radio.js +156 -0
- package/dist/components/radio/RadioGroup.d.ts +25 -0
- package/dist/components/radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/radio/RadioGroup.js +81 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/index.js +5 -0
- package/dist/components/radio/radio-config.d.ts +27 -0
- package/dist/components/radio/radio-config.d.ts.map +1 -0
- package/dist/components/radio/radio-config.js +19 -0
- package/dist/components/radio/radio-context.d.ts +16 -0
- package/dist/components/radio/radio-context.d.ts.map +1 -0
- package/dist/components/radio/radio-context.js +7 -0
- package/dist/components/radio/radio-styles.d.ts +13 -0
- package/dist/components/radio/radio-styles.d.ts.map +1 -0
- package/dist/components/radio/radio-styles.js +67 -0
- package/dist/components/resizable-screen/ResizableScreen.d.ts +56 -0
- package/dist/components/resizable-screen/ResizableScreen.d.ts.map +1 -0
- package/dist/components/resizable-screen/ResizableScreen.js +165 -0
- package/dist/components/resizable-screen/index.d.ts +3 -0
- package/dist/components/resizable-screen/index.d.ts.map +1 -0
- package/dist/components/resizable-screen/index.js +2 -0
- package/dist/components/resizable-screen/resizable-screen-config.d.ts +17 -0
- package/dist/components/resizable-screen/resizable-screen-config.d.ts.map +1 -0
- package/dist/components/resizable-screen/resizable-screen-config.js +21 -0
- package/dist/components/scrollbar/index.d.ts +2 -0
- package/dist/components/scrollbar/index.d.ts.map +1 -0
- package/dist/components/scrollbar/scrollbar-config.d.ts +35 -0
- package/dist/components/scrollbar/scrollbar-config.d.ts.map +1 -0
- package/dist/components/select/Select.d.ts +40 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/Select.js +216 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +3 -0
- package/dist/components/select/select-config.d.ts +27 -0
- package/dist/components/select/select-config.d.ts.map +1 -0
- package/dist/components/select/select-config.js +25 -0
- package/dist/components/select/select-styles.d.ts +4 -0
- package/dist/components/select/select-styles.d.ts.map +1 -0
- package/dist/components/select/select-styles.js +15 -0
- package/dist/components/select-menu/SelectMenu.d.ts +40 -0
- package/dist/components/select-menu/SelectMenu.d.ts.map +1 -0
- package/dist/components/select-menu/SelectMenu.js +114 -0
- package/dist/components/select-menu/index.d.ts +1 -0
- package/dist/components/select-menu/index.d.ts.map +1 -0
- package/dist/components/select-menu/index.js +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +75 -0
- package/dist/components/sidebar/Sidebar.d.ts.map +1 -0
- package/dist/components/sidebar/Sidebar.js +355 -0
- package/dist/components/sidebar/index.d.ts +3 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +3 -0
- package/dist/components/sidebar/sidebar-config.d.ts +68 -0
- package/dist/components/sidebar/sidebar-config.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar-config.js +38 -0
- package/dist/components/sidebar/sidebar-styles.d.ts +8 -0
- package/dist/components/sidebar/sidebar-styles.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar-styles.js +35 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +3 -0
- package/dist/components/spinner/spinner-config.d.ts +49 -0
- package/dist/components/spinner/spinner-config.d.ts.map +1 -0
- package/dist/components/spinner/spinner-config.js +16 -0
- package/dist/components/spinner/spinner-styles.d.ts +5 -0
- package/dist/components/spinner/spinner-styles.d.ts.map +1 -0
- package/dist/components/spinner/spinner-styles.js +18 -0
- package/dist/components/spinner/spinner.d.ts +51 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +83 -0
- package/dist/components/switch/Switch.d.ts +21 -0
- package/dist/components/switch/Switch.d.ts.map +1 -0
- package/dist/components/switch/Switch.js +161 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +3 -0
- package/dist/components/switch/switch-config.d.ts +17 -0
- package/dist/components/switch/switch-config.d.ts.map +1 -0
- package/dist/components/switch/switch-config.js +20 -0
- package/dist/components/switch/switch-styles.d.ts +6 -0
- package/dist/components/switch/switch-styles.d.ts.map +1 -0
- package/dist/components/switch/switch-styles.js +25 -0
- package/dist/components/table/Table.d.ts +43 -0
- package/dist/components/table/Table.d.ts.map +1 -0
- package/dist/components/table/Table.js +188 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/table/index.js +3 -0
- package/dist/components/table/table-config.d.ts +32 -0
- package/dist/components/table/table-config.d.ts.map +1 -0
- package/dist/components/table/table-config.js +20 -0
- package/dist/components/table/table-styles.d.ts +12 -0
- package/dist/components/table/table-styles.d.ts.map +1 -0
- package/dist/components/table/table-styles.js +61 -0
- package/dist/components/tabs/Tabs.d.ts +64 -0
- package/dist/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/tabs/Tabs.js +209 -0
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +3 -0
- package/dist/components/tabs/tabs-config.d.ts +38 -0
- package/dist/components/tabs/tabs-config.d.ts.map +1 -0
- package/dist/components/tabs/tabs-config.js +20 -0
- package/dist/components/tabs/tabs-styles.d.ts +5 -0
- package/dist/components/tabs/tabs-styles.d.ts.map +1 -0
- package/dist/components/tabs/tabs-styles.js +19 -0
- package/dist/components/textarea/Textarea.d.ts +21 -0
- package/dist/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.js +131 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/index.js +3 -0
- package/dist/components/textarea/textarea-config.d.ts +12 -0
- package/dist/components/textarea/textarea-config.d.ts.map +1 -0
- package/dist/components/textarea/textarea-config.js +23 -0
- package/dist/components/textarea/textarea-styles.d.ts +4 -0
- package/dist/components/textarea/textarea-styles.d.ts.map +1 -0
- package/dist/components/textarea/textarea-styles.js +15 -0
- package/dist/components/toast/ToastItem.d.ts +17 -0
- package/dist/components/toast/ToastItem.d.ts.map +1 -0
- package/dist/components/toast/ToastItem.js +148 -0
- package/dist/components/toast/index.d.ts +4 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +5 -0
- package/dist/components/toast/toast-config.d.ts +42 -0
- package/dist/components/toast/toast-config.d.ts.map +1 -0
- package/dist/components/toast/toast-config.js +24 -0
- package/dist/components/toast/toast-context.d.ts +31 -0
- package/dist/components/toast/toast-context.d.ts.map +1 -0
- package/dist/components/toast/toast-context.js +157 -0
- package/dist/components/toast/toast-styles.d.ts +10 -0
- package/dist/components/toast/toast-styles.d.ts.map +1 -0
- package/dist/components/toast/toast-styles.js +50 -0
- package/dist/components/toast/use-pausable-timeout.d.ts +5 -0
- package/dist/components/toast/use-pausable-timeout.d.ts.map +1 -0
- package/dist/components/toast/use-pausable-timeout.js +15 -0
- package/dist/components/tooltip/Tooltip.d.ts +23 -0
- package/dist/components/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/Tooltip.js +159 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +3 -0
- package/dist/components/tooltip/tooltip-config.d.ts +27 -0
- package/dist/components/tooltip/tooltip-config.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip-config.js +24 -0
- package/dist/components/tooltip/tooltip-styles.d.ts +5 -0
- package/dist/components/tooltip/tooltip-styles.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip-styles.js +19 -0
- package/dist/config/config.d.ts +21 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/default-config.d.ts +3 -0
- package/dist/config/default-config.d.ts.map +1 -0
- package/dist/config/default-config.js +13 -0
- package/dist/config/define-config.d.ts +3 -0
- package/dist/config/define-config.d.ts.map +1 -0
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +3 -0
- package/dist/config/resolve-color.d.ts +3 -0
- package/dist/config/resolve-color.d.ts.map +1 -0
- package/dist/config/resolve-color.js +25 -0
- package/dist/config/resolve-config.d.ts +3 -0
- package/dist/config/resolve-config.d.ts.map +1 -0
- package/dist/config/resolve-config.js +15 -0
- package/dist/icons/ArrowLeftIcon.d.ts +3 -0
- package/dist/icons/ArrowLeftIcon.d.ts.map +1 -0
- package/dist/icons/ArrowLeftIcon.js +21 -0
- package/dist/icons/CalendarIcon.d.ts +3 -0
- package/dist/icons/CalendarIcon.d.ts.map +1 -0
- package/dist/icons/CalendarIcon.js +26 -0
- package/dist/icons/CheckIcon.d.ts +3 -0
- package/dist/icons/CheckIcon.d.ts.map +1 -0
- package/dist/icons/CheckIcon.js +21 -0
- package/dist/icons/ChevronDownIcon.d.ts +3 -0
- package/dist/icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/icons/ChevronDownIcon.js +24 -0
- package/dist/icons/ChevronLeftIcon.d.ts +3 -0
- package/dist/icons/ChevronLeftIcon.d.ts.map +1 -0
- package/dist/icons/ChevronLeftIcon.js +21 -0
- package/dist/icons/ChevronRightIcon.d.ts +3 -0
- package/dist/icons/ChevronRightIcon.d.ts.map +1 -0
- package/dist/icons/ChevronRightIcon.js +21 -0
- package/dist/icons/ClearIcon.d.ts +3 -0
- package/dist/icons/ClearIcon.d.ts.map +1 -0
- package/dist/icons/ClearIcon.js +24 -0
- package/dist/icons/ClockIcon.d.ts +3 -0
- package/dist/icons/ClockIcon.d.ts.map +1 -0
- package/dist/icons/ClockIcon.js +24 -0
- package/dist/icons/CloseIcon.d.ts +3 -0
- package/dist/icons/CloseIcon.d.ts.map +1 -0
- package/dist/icons/CloseIcon.js +24 -0
- package/dist/icons/ErrorIcon.d.ts +3 -0
- package/dist/icons/ErrorIcon.d.ts.map +1 -0
- package/dist/icons/ErrorIcon.js +21 -0
- package/dist/icons/ExternalLinkIcon.d.ts +3 -0
- package/dist/icons/ExternalLinkIcon.d.ts.map +1 -0
- package/dist/icons/ExternalLinkIcon.js +25 -0
- package/dist/icons/EyeIcon.d.ts +3 -0
- package/dist/icons/EyeIcon.d.ts.map +1 -0
- package/dist/icons/EyeIcon.js +24 -0
- package/dist/icons/EyeOffIcon.d.ts +3 -0
- package/dist/icons/EyeOffIcon.d.ts.map +1 -0
- package/dist/icons/EyeOffIcon.js +24 -0
- package/dist/icons/InfoIcon.d.ts +3 -0
- package/dist/icons/InfoIcon.d.ts.map +1 -0
- package/dist/icons/InfoIcon.js +21 -0
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SearchIcon.d.ts.map +1 -0
- package/dist/icons/SearchIcon.js +24 -0
- package/dist/icons/WarningIcon.d.ts +3 -0
- package/dist/icons/WarningIcon.d.ts.map +1 -0
- package/dist/icons/WarningIcon.js +21 -0
- package/dist/icons/index.d.ts +11 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/types.d.ts +5 -0
- package/dist/icons/types.d.ts.map +1 -0
- package/dist/index.css +482 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +157 -0
- package/dist/libs/context.d.ts +4 -0
- package/dist/libs/context.d.ts.map +1 -0
- package/dist/libs/context.js +15 -0
- package/dist/libs/index.js +3 -0
- package/dist/libs/registry.d.ts +14 -0
- package/dist/libs/registry.d.ts.map +1 -0
- package/dist/libs/registry.js +15 -0
- package/dist/libs/use-isomorphic-layout-effect.d.ts +3 -0
- package/dist/libs/use-isomorphic-layout-effect.d.ts.map +1 -0
- package/dist/libs/use-isomorphic-layout-effect.js +6 -0
- package/dist/scripts/AsheeThemeScript.js +77 -0
- package/dist/shared/radius.d.ts +5 -0
- package/dist/shared/radius.d.ts.map +1 -0
- package/dist/shared/radius.js +14 -0
- package/dist/shared/size.d.ts +2 -0
- package/dist/shared/size.d.ts.map +1 -0
- package/dist/shared/variant.d.ts +4 -0
- package/dist/shared/variant.d.ts.map +1 -0
- package/dist/shared/variant.js +56 -0
- package/dist/theme/color.d.ts +34 -0
- package/dist/theme/color.d.ts.map +1 -0
- package/dist/theme/color.js +30 -0
- package/dist/theme/controller.d.ts +50 -0
- package/dist/theme/controller.d.ts.map +1 -0
- package/dist/theme/controller.js +97 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/useTheme.d.ts +9 -0
- package/dist/theme/useTheme.d.ts.map +1 -0
- package/dist/theme/useTheme.js +24 -0
- package/dist/utils/resolve-token.d.ts +5 -0
- package/dist/utils/resolve-token.d.ts.map +1 -0
- package/dist/utils/resolve-token.js +19 -0
- package/package.json +68 -0
package/dist/index.css
ADDED
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
@layer base, utilities;
|
|
2
|
+
|
|
3
|
+
/* Tell Tailwind v4 to scan asheeui components for utility classes */
|
|
4
|
+
@source "./**/*.{ts,tsx}";
|
|
5
|
+
|
|
6
|
+
@theme inline {
|
|
7
|
+
--color-background: var(--ashee-background);
|
|
8
|
+
--color-foreground: var(--ashee-foreground);
|
|
9
|
+
--color-primary: var(--ashee-primary);
|
|
10
|
+
--color-secondary: var(--ashee-secondary);
|
|
11
|
+
--color-border: var(--ashee-border);
|
|
12
|
+
--color-danger: var(--ashee-danger);
|
|
13
|
+
--color-warning: var(--ashee-warning);
|
|
14
|
+
--color-success: var(--ashee-success);
|
|
15
|
+
|
|
16
|
+
--scrollbar-width: var(--ashee-scrollbar-width);
|
|
17
|
+
--scrollbar-radius: var(--ashee-scrollbar-radius);
|
|
18
|
+
--scrollbar-track-radius: var(--ashee-scrollbar-track-radius);
|
|
19
|
+
--scrollbar-thumb-border: var(--ashee-scrollbar-thumb-border);
|
|
20
|
+
--scrollbar-gutter: var(--ashee-scrollbar-gutter);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@layer base {
|
|
24
|
+
html,
|
|
25
|
+
body {
|
|
26
|
+
background-color: var(--ashee-background);
|
|
27
|
+
color: var(--ashee-foreground);
|
|
28
|
+
overflow-x: hidden;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
html,
|
|
32
|
+
body,
|
|
33
|
+
* {
|
|
34
|
+
scrollbar-color: var(--ashee-scrollbar-thumb) var(--ashee-scrollbar-track);
|
|
35
|
+
scrollbar-width: var(--ashee-scrollbar-fallback-width, thin);
|
|
36
|
+
scrollbar-gutter: var(--ashee-scrollbar-gutter, stable);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
::-webkit-scrollbar {
|
|
40
|
+
width: var(--ashee-scrollbar-width);
|
|
41
|
+
height: var(--ashee-scrollbar-width);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
::-webkit-scrollbar-track {
|
|
45
|
+
background: var(--ashee-scrollbar-track);
|
|
46
|
+
border-radius: var(
|
|
47
|
+
--ashee-scrollbar-track-radius,
|
|
48
|
+
var(--ashee-scrollbar-radius)
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
::-webkit-scrollbar-thumb {
|
|
53
|
+
background-color: var(--ashee-scrollbar-thumb);
|
|
54
|
+
border-radius: var(--ashee-scrollbar-radius);
|
|
55
|
+
border: var(--ashee-scrollbar-thumb-border) solid transparent;
|
|
56
|
+
background-clip: padding-box;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
input[type="number"]::-webkit-outer-spin-button,
|
|
60
|
+
input[type="number"]::-webkit-inner-spin-button {
|
|
61
|
+
-webkit-appearance: none;
|
|
62
|
+
margin: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
input:disabled,
|
|
66
|
+
textarea:disabled,
|
|
67
|
+
select:disabled {
|
|
68
|
+
opacity: 0.6;
|
|
69
|
+
cursor: not-allowed;
|
|
70
|
+
background-color: #f5f5f521;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
.scrollbar-hide {
|
|
77
|
+
-ms-overflow-style: none;
|
|
78
|
+
scrollbar-width: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Simple pop animation with opacity and scale */
|
|
82
|
+
|
|
83
|
+
@keyframes modalPopIn {
|
|
84
|
+
from {
|
|
85
|
+
opacity: 0;
|
|
86
|
+
transform: scale(0.95);
|
|
87
|
+
}
|
|
88
|
+
to {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
transform: scale(1);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes modalPopOut {
|
|
95
|
+
from {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
transform: scale(1);
|
|
98
|
+
}
|
|
99
|
+
to {
|
|
100
|
+
opacity: 0;
|
|
101
|
+
transform: scale(0.95);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@keyframes backdropFadeIn {
|
|
106
|
+
from {
|
|
107
|
+
opacity: 0;
|
|
108
|
+
}
|
|
109
|
+
to {
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes backdropFadeOut {
|
|
115
|
+
from {
|
|
116
|
+
opacity: 1;
|
|
117
|
+
}
|
|
118
|
+
to {
|
|
119
|
+
opacity: 0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Animation utility classes */
|
|
124
|
+
.animate-modal-in {
|
|
125
|
+
animation: modalPopIn 200ms ease-out forwards;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.animate-modal-out {
|
|
129
|
+
animation: modalPopOut 150ms ease-in forwards;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.animate-backdrop-in {
|
|
133
|
+
animation: backdropFadeIn 150ms ease-out forwards;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.animate-backdrop-out {
|
|
137
|
+
animation: backdropFadeOut 150ms ease-in forwards;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* Drawer Animations - Slide with opacity */
|
|
141
|
+
|
|
142
|
+
/* Right */
|
|
143
|
+
@keyframes drawerSlideRightOpen {
|
|
144
|
+
from {
|
|
145
|
+
transform: translateX(100%);
|
|
146
|
+
opacity: 0;
|
|
147
|
+
}
|
|
148
|
+
to {
|
|
149
|
+
transform: translateX(0);
|
|
150
|
+
opacity: 1;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes drawerSlideRightClosed {
|
|
155
|
+
from {
|
|
156
|
+
transform: translateX(0);
|
|
157
|
+
opacity: 1;
|
|
158
|
+
}
|
|
159
|
+
to {
|
|
160
|
+
transform: translateX(100%);
|
|
161
|
+
opacity: 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Left */
|
|
166
|
+
@keyframes drawerSlideLeftOpen {
|
|
167
|
+
from {
|
|
168
|
+
transform: translateX(-100%);
|
|
169
|
+
opacity: 0;
|
|
170
|
+
}
|
|
171
|
+
to {
|
|
172
|
+
transform: translateX(0);
|
|
173
|
+
opacity: 1;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@keyframes drawerSlideLeftClosed {
|
|
178
|
+
from {
|
|
179
|
+
transform: translateX(0);
|
|
180
|
+
opacity: 1;
|
|
181
|
+
}
|
|
182
|
+
to {
|
|
183
|
+
transform: translateX(-100%);
|
|
184
|
+
opacity: 0;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Top */
|
|
189
|
+
@keyframes drawerSlideTopOpen {
|
|
190
|
+
from {
|
|
191
|
+
transform: translateY(-100%);
|
|
192
|
+
opacity: 0;
|
|
193
|
+
}
|
|
194
|
+
to {
|
|
195
|
+
transform: translateY(0);
|
|
196
|
+
opacity: 1;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@keyframes drawerSlideTopClosed {
|
|
201
|
+
from {
|
|
202
|
+
transform: translateY(0);
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
to {
|
|
206
|
+
transform: translateY(-100%);
|
|
207
|
+
opacity: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* Bottom */
|
|
212
|
+
@keyframes drawerSlideBottomOpen {
|
|
213
|
+
from {
|
|
214
|
+
transform: translateY(100%);
|
|
215
|
+
opacity: 0;
|
|
216
|
+
}
|
|
217
|
+
to {
|
|
218
|
+
transform: translateY(0);
|
|
219
|
+
opacity: 1;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@keyframes drawerSlideBottomClosed {
|
|
224
|
+
from {
|
|
225
|
+
transform: translateY(0);
|
|
226
|
+
opacity: 1;
|
|
227
|
+
}
|
|
228
|
+
to {
|
|
229
|
+
transform: translateY(100%);
|
|
230
|
+
opacity: 0;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* Backdrop animation */
|
|
235
|
+
@keyframes drawerBackdropIn {
|
|
236
|
+
from {
|
|
237
|
+
opacity: 0;
|
|
238
|
+
}
|
|
239
|
+
to {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@keyframes drawerBackdropOut {
|
|
245
|
+
from {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
to {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Animation classes */
|
|
254
|
+
.drawer-slide-right-open {
|
|
255
|
+
animation: drawerSlideRightOpen 250ms ease-out forwards;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.drawer-slide-right-closed {
|
|
259
|
+
animation: drawerSlideRightClosed 250ms ease-in forwards;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.drawer-slide-left-open {
|
|
263
|
+
animation: drawerSlideLeftOpen 250ms ease-out forwards;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.drawer-slide-left-closed {
|
|
267
|
+
animation: drawerSlideLeftClosed 250ms ease-in forwards;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.drawer-slide-top-open {
|
|
271
|
+
animation: drawerSlideTopOpen 250ms ease-out forwards;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.drawer-slide-top-closed {
|
|
275
|
+
animation: drawerSlideTopClosed 250ms ease-in forwards;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.drawer-slide-bottom-open {
|
|
279
|
+
animation: drawerSlideBottomOpen 250ms ease-out forwards;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.drawer-slide-bottom-closed {
|
|
283
|
+
animation: drawerSlideBottomClosed 250ms ease-in forwards;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.drawer-backdrop-in {
|
|
287
|
+
animation: drawerBackdropIn 250ms ease-out forwards;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.drawer-backdrop-out {
|
|
291
|
+
animation: drawerBackdropOut 250ms ease-in forwards;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/* Toast Animations */
|
|
295
|
+
|
|
296
|
+
/* Top Right */
|
|
297
|
+
@keyframes toastEnterTopRight {
|
|
298
|
+
from {
|
|
299
|
+
transform: translateX(100%) scale(0.95);
|
|
300
|
+
opacity: 0;
|
|
301
|
+
}
|
|
302
|
+
to {
|
|
303
|
+
transform: translateX(0) scale(1);
|
|
304
|
+
opacity: 1;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@keyframes toastExitTopRight {
|
|
309
|
+
from {
|
|
310
|
+
transform: translateX(0) scale(1);
|
|
311
|
+
opacity: 1;
|
|
312
|
+
}
|
|
313
|
+
to {
|
|
314
|
+
transform: translateX(100%) scale(0.95);
|
|
315
|
+
opacity: 0;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* Bottom Right */
|
|
320
|
+
@keyframes toastEnterBottomRight {
|
|
321
|
+
from {
|
|
322
|
+
transform: translateX(100%) scale(0.95);
|
|
323
|
+
opacity: 0;
|
|
324
|
+
}
|
|
325
|
+
to {
|
|
326
|
+
transform: translateX(0) scale(1);
|
|
327
|
+
opacity: 1;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@keyframes toastExitBottomRight {
|
|
332
|
+
from {
|
|
333
|
+
transform: translateX(0) scale(1);
|
|
334
|
+
opacity: 1;
|
|
335
|
+
}
|
|
336
|
+
to {
|
|
337
|
+
transform: translateX(100%) scale(0.95);
|
|
338
|
+
opacity: 0;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Top Left */
|
|
343
|
+
@keyframes toastEnterTopLeft {
|
|
344
|
+
from {
|
|
345
|
+
transform: translateX(-100%) scale(0.95);
|
|
346
|
+
opacity: 0;
|
|
347
|
+
}
|
|
348
|
+
to {
|
|
349
|
+
transform: translateX(0) scale(1);
|
|
350
|
+
opacity: 1;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
@keyframes toastExitTopLeft {
|
|
355
|
+
from {
|
|
356
|
+
transform: translateX(0) scale(1);
|
|
357
|
+
opacity: 1;
|
|
358
|
+
}
|
|
359
|
+
to {
|
|
360
|
+
transform: translateX(-100%) scale(0.95);
|
|
361
|
+
opacity: 0;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* Bottom Left */
|
|
366
|
+
@keyframes toastEnterBottomLeft {
|
|
367
|
+
from {
|
|
368
|
+
transform: translateX(-100%) scale(0.95);
|
|
369
|
+
opacity: 0;
|
|
370
|
+
}
|
|
371
|
+
to {
|
|
372
|
+
transform: translateX(0) scale(1);
|
|
373
|
+
opacity: 1;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
@keyframes toastExitBottomLeft {
|
|
378
|
+
from {
|
|
379
|
+
transform: translateX(0) scale(1);
|
|
380
|
+
opacity: 1;
|
|
381
|
+
}
|
|
382
|
+
to {
|
|
383
|
+
transform: translateX(-100%) scale(0.95);
|
|
384
|
+
opacity: 0;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* Top Center */
|
|
389
|
+
@keyframes toastEnterTopCenter {
|
|
390
|
+
from {
|
|
391
|
+
transform: translateY(-100%) scale(0.95);
|
|
392
|
+
opacity: 0;
|
|
393
|
+
}
|
|
394
|
+
to {
|
|
395
|
+
transform: translateY(0) scale(1);
|
|
396
|
+
opacity: 1;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
@keyframes toastExitTopCenter {
|
|
401
|
+
from {
|
|
402
|
+
transform: translateY(0) scale(1);
|
|
403
|
+
opacity: 1;
|
|
404
|
+
}
|
|
405
|
+
to {
|
|
406
|
+
transform: translateY(-100%) scale(0.95);
|
|
407
|
+
opacity: 0;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* Bottom Center */
|
|
412
|
+
@keyframes toastEnterBottomCenter {
|
|
413
|
+
from {
|
|
414
|
+
transform: translateY(100%) scale(0.95);
|
|
415
|
+
opacity: 0;
|
|
416
|
+
}
|
|
417
|
+
to {
|
|
418
|
+
transform: translateY(0) scale(1);
|
|
419
|
+
opacity: 1;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
@keyframes toastExitBottomCenter {
|
|
424
|
+
from {
|
|
425
|
+
transform: translateY(0) scale(1);
|
|
426
|
+
opacity: 1;
|
|
427
|
+
}
|
|
428
|
+
to {
|
|
429
|
+
transform: translateY(100%) scale(0.95);
|
|
430
|
+
opacity: 0;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/* Animation Classes */
|
|
435
|
+
.toast-enter-top-right {
|
|
436
|
+
animation: toastEnterTopRight 200ms ease-out forwards;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.toast-exit-top-right {
|
|
440
|
+
animation: toastExitTopRight 150ms ease-in forwards;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.toast-enter-bottom-right {
|
|
444
|
+
animation: toastEnterBottomRight 200ms ease-out forwards;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.toast-exit-bottom-right {
|
|
448
|
+
animation: toastExitBottomRight 150ms ease-in forwards;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.toast-enter-top-left {
|
|
452
|
+
animation: toastEnterTopLeft 200ms ease-out forwards;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.toast-exit-top-left {
|
|
456
|
+
animation: toastExitTopLeft 150ms ease-in forwards;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.toast-enter-bottom-left {
|
|
460
|
+
animation: toastEnterBottomLeft 200ms ease-out forwards;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.toast-exit-bottom-left {
|
|
464
|
+
animation: toastExitBottomLeft 150ms ease-in forwards;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.toast-enter-top-center {
|
|
468
|
+
animation: toastEnterTopCenter 200ms ease-out forwards;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.toast-exit-top-center {
|
|
472
|
+
animation: toastExitTopCenter 150ms ease-in forwards;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.toast-enter-bottom-center {
|
|
476
|
+
animation: toastEnterBottomCenter 200ms ease-out forwards;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.toast-exit-bottom-center {
|
|
480
|
+
animation: toastExitBottomCenter 150ms ease-in forwards;
|
|
481
|
+
}
|
|
482
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type { AsheeUIProviderProps } from './AsheeUIProvider';
|
|
2
|
+
export { AsheeUIProvider } from './AsheeUIProvider';
|
|
3
|
+
export * from './components/accordion';
|
|
4
|
+
export * from './components/autocomplete';
|
|
5
|
+
export * from './components/button';
|
|
6
|
+
export * from './components/card';
|
|
7
|
+
export * from './components/carousel';
|
|
8
|
+
export * from './components/chip';
|
|
9
|
+
export * from './components/date-picker';
|
|
10
|
+
export * from './components/drawer';
|
|
11
|
+
export * from './components/field';
|
|
12
|
+
export * from './components/image';
|
|
13
|
+
export * from './components/input';
|
|
14
|
+
export * from './components/keyboard';
|
|
15
|
+
export * from './components/link';
|
|
16
|
+
export * from './components/marquee';
|
|
17
|
+
export * from './components/modal';
|
|
18
|
+
export * from './components/multi-select';
|
|
19
|
+
export * from './components/radio';
|
|
20
|
+
export * from './components/resizable-screen';
|
|
21
|
+
export * from './components/select';
|
|
22
|
+
export * from './components/sidebar';
|
|
23
|
+
export * from './components/spinner';
|
|
24
|
+
export * from './components/switch';
|
|
25
|
+
export * from './components/table';
|
|
26
|
+
export * from './components/tabs';
|
|
27
|
+
export * from './components/textarea';
|
|
28
|
+
export * from './components/toast';
|
|
29
|
+
export * from './components/tooltip';
|
|
30
|
+
export type { Radius } from './shared/radius';
|
|
31
|
+
export type { Size } from './shared/size';
|
|
32
|
+
export type { AsheeColorRegistry, ColorConfig, ColorVariant, DefaultColorConfig, ThemeName, } from './theme/color';
|
|
33
|
+
export { THEME_STORAGE_KEY, themeController, } from './theme/controller';
|
|
34
|
+
export { useTheme } from './theme/useTheme';
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,YAAY,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,YAAY,EACV,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,SAAS,GACV,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iBAAiB,EACjB,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { AsheeUIProvider as r } from "./AsheeUIProvider.js";
|
|
3
|
+
import { THEME_STORAGE_KEY as f, themeController as C } from "./theme/controller.js";
|
|
4
|
+
import { useTheme as A } from "./theme/useTheme.js";
|
|
5
|
+
import { Accordion as x } from "./components/accordion/Accordion.js";
|
|
6
|
+
import { Autocomplete as L } from "./components/autocomplete/Autocomplete.js";
|
|
7
|
+
import { Button as _ } from "./components/button/Button.js";
|
|
8
|
+
import { Card as l } from "./components/card/Card.js";
|
|
9
|
+
import { Carousel as n } from "./components/carousel/Carousel.js";
|
|
10
|
+
import { Chip as I } from "./components/chip/Chip.js";
|
|
11
|
+
import { DatePicker as K } from "./components/date-picker/DatePicker.js";
|
|
12
|
+
import { Drawer as T } from "./components/drawer/Drawer.js";
|
|
13
|
+
import { FALLBACK_ACCORDION_CONFIG as G, defaultAccordionConfig as g } from "./components/accordion/accordion-config.js";
|
|
14
|
+
import { FALLBACK_AUTOCOMPLETE_CONFIG as S, defaultAutocompleteConfig as R } from "./components/autocomplete/autocomplete-config.js";
|
|
15
|
+
import { FALLBACK_BUTTON_CONFIG as c, defaultButtonConfig as b } from "./components/button/button-config.js";
|
|
16
|
+
import { FALLBACK_CARD_CONFIG as M, defaultCardConfig as P } from "./components/card/card-config.js";
|
|
17
|
+
import { FALLBACK_CAROUSEL_CONFIG as U, defaultCarouselConfig as w } from "./components/carousel/carousel-config.js";
|
|
18
|
+
import { FALLBACK_CHIP_CONFIG as k, defaultChipConfig as v } from "./components/chip/chip-config.js";
|
|
19
|
+
import { FALLBACK_DATE_PICKER_CONFIG as q, defaultDatePickerConfig as z } from "./components/date-picker/date-picker-config.js";
|
|
20
|
+
import { FALLBACK_DRAWER_CONFIG as Q, defaultDrawerConfig as X } from "./components/drawer/drawer-config.js";
|
|
21
|
+
import { FALLBACK_FIELD_CONFIG as Z, defaultFieldConfig as j } from "./components/field/field-config.js";
|
|
22
|
+
import { FALLBACK_IMAGE_CONFIG as V, defaultImageConfig as $ } from "./components/image/image-config.js";
|
|
23
|
+
import { FALLBACK_LINK_CONFIG as eo, defaultLinkConfig as ro } from "./components/link/link-config.js";
|
|
24
|
+
import { FALLBACK_MARQUEE_CONFIG as fo, defaultMarqueeConfig as Co } from "./components/marquee/marquee-config.js";
|
|
25
|
+
import { FALLBACK_MODAL_CONFIG as Ao, defaultModalConfig as mo } from "./components/modal/modal-config.js";
|
|
26
|
+
import { FALLBACK_MULTI_SELECT_CONFIG as ao, defaultMultiSelectConfig as Lo } from "./components/multi-select/multi-select-config.js";
|
|
27
|
+
import { FALLBACK_RADIO_CONFIG as _o, defaultRadioConfig as Fo } from "./components/radio/radio-config.js";
|
|
28
|
+
import { FALLBACK_RESIZABLE_SCREEN_CONFIG as no, defaultResizableScreenConfig as uo } from "./components/resizable-screen/resizable-screen-config.js";
|
|
29
|
+
import { FALLBACK_SELECT_CONFIG as Oo, defaultSelectConfig as Ko } from "./components/select/select-config.js";
|
|
30
|
+
import { FALLBACK_SIDEBAR_CONFIG as To, defaultSidebarConfig as No } from "./components/sidebar/sidebar-config.js";
|
|
31
|
+
import { FALLBACK_SPINNER_CONFIG as go, defaultSpinnerConfig as Eo } from "./components/spinner/spinner-config.js";
|
|
32
|
+
import { FALLBACK_SWITCH_CONFIG as Ro, defaultSwitchConfig as so } from "./components/switch/switch-config.js";
|
|
33
|
+
import { FALLBACK_TABLE_CONFIG as bo, defaultTableConfig as Do } from "./components/table/table-config.js";
|
|
34
|
+
import { FALLBACK_TABS_CONFIG as Po, defaultTabsConfig as ho } from "./components/tabs/tabs-config.js";
|
|
35
|
+
import { FALLBACK_TEXTAREA_CONFIG as wo, defaultTextAreaConfig as yo } from "./components/textarea/textarea-config.js";
|
|
36
|
+
import { FALLBACK_TOAST_CONFIG as vo, defaultToastConfig as Ho } from "./components/toast/toast-config.js";
|
|
37
|
+
import { FALLBACK_TOOLTIP_CONFIG as zo, defaultTooltipConfig as Wo } from "./components/tooltip/tooltip-config.js";
|
|
38
|
+
import { FieldShell as Xo } from "./components/field/FieldShell.js";
|
|
39
|
+
import { Image as Zo } from "./components/image/Image.js";
|
|
40
|
+
import { Input as Jo } from "./components/input/Input.js";
|
|
41
|
+
import { KeyboardContext as $o, KeyboardProvider as oe, useKeyboard as ee } from "./components/keyboard/keyboard-context.js";
|
|
42
|
+
import { Link as te } from "./components/link/Link.js";
|
|
43
|
+
import { Marquee as Ce } from "./components/marquee/Marquee.js";
|
|
44
|
+
import { Modal as Ae } from "./components/modal/Modal.js";
|
|
45
|
+
import { MultiSelect as xe } from "./components/multi-select/MultiSelect.js";
|
|
46
|
+
import { OnScreenKeyboard as Le } from "./components/keyboard/OnScreenKeyboard.js";
|
|
47
|
+
import { PasswordInput as _e } from "./components/input/PasswordInput.js";
|
|
48
|
+
import { Radio as le } from "./components/radio/Radio.js";
|
|
49
|
+
import { RadioContext as ne, useRadioGroupContext as ue } from "./components/radio/radio-context.js";
|
|
50
|
+
import { RadioGroup as Oe } from "./components/radio/RadioGroup.js";
|
|
51
|
+
import { ResizableScreen as Be } from "./components/resizable-screen/ResizableScreen.js";
|
|
52
|
+
import { Select as Ne } from "./components/select/Select.js";
|
|
53
|
+
import { Sidebar as ge } from "./components/sidebar/Sidebar.js";
|
|
54
|
+
import { Spinner as Se } from "./components/spinner/spinner.js";
|
|
55
|
+
import { Switch as se } from "./components/switch/Switch.js";
|
|
56
|
+
import { Table as be } from "./components/table/Table.js";
|
|
57
|
+
import { Tabs as Me } from "./components/tabs/Tabs.js";
|
|
58
|
+
import { TextArea as he } from "./components/textarea/Textarea.js";
|
|
59
|
+
import { ToastItem as we } from "./components/toast/ToastItem.js";
|
|
60
|
+
import { ToastProvider as ke, useToast as ve } from "./components/toast/toast-context.js";
|
|
61
|
+
import { Tooltip as qe } from "./components/tooltip/Tooltip.js";
|
|
62
|
+
import { defaultInputConfig as We } from "./components/input/input-config.js";
|
|
63
|
+
import { useKeyboardField as Xe } from "./components/keyboard/use-keyboard-field.js";
|
|
64
|
+
export {
|
|
65
|
+
x as Accordion,
|
|
66
|
+
r as AsheeUIProvider,
|
|
67
|
+
L as Autocomplete,
|
|
68
|
+
_ as Button,
|
|
69
|
+
l as Card,
|
|
70
|
+
n as Carousel,
|
|
71
|
+
I as Chip,
|
|
72
|
+
K as DatePicker,
|
|
73
|
+
T as Drawer,
|
|
74
|
+
G as FALLBACK_ACCORDION_CONFIG,
|
|
75
|
+
S as FALLBACK_AUTOCOMPLETE_CONFIG,
|
|
76
|
+
c as FALLBACK_BUTTON_CONFIG,
|
|
77
|
+
M as FALLBACK_CARD_CONFIG,
|
|
78
|
+
U as FALLBACK_CAROUSEL_CONFIG,
|
|
79
|
+
k as FALLBACK_CHIP_CONFIG,
|
|
80
|
+
q as FALLBACK_DATE_PICKER_CONFIG,
|
|
81
|
+
Q as FALLBACK_DRAWER_CONFIG,
|
|
82
|
+
Z as FALLBACK_FIELD_CONFIG,
|
|
83
|
+
V as FALLBACK_IMAGE_CONFIG,
|
|
84
|
+
eo as FALLBACK_LINK_CONFIG,
|
|
85
|
+
fo as FALLBACK_MARQUEE_CONFIG,
|
|
86
|
+
Ao as FALLBACK_MODAL_CONFIG,
|
|
87
|
+
ao as FALLBACK_MULTI_SELECT_CONFIG,
|
|
88
|
+
_o as FALLBACK_RADIO_CONFIG,
|
|
89
|
+
no as FALLBACK_RESIZABLE_SCREEN_CONFIG,
|
|
90
|
+
Oo as FALLBACK_SELECT_CONFIG,
|
|
91
|
+
To as FALLBACK_SIDEBAR_CONFIG,
|
|
92
|
+
go as FALLBACK_SPINNER_CONFIG,
|
|
93
|
+
Ro as FALLBACK_SWITCH_CONFIG,
|
|
94
|
+
bo as FALLBACK_TABLE_CONFIG,
|
|
95
|
+
Po as FALLBACK_TABS_CONFIG,
|
|
96
|
+
wo as FALLBACK_TEXTAREA_CONFIG,
|
|
97
|
+
vo as FALLBACK_TOAST_CONFIG,
|
|
98
|
+
zo as FALLBACK_TOOLTIP_CONFIG,
|
|
99
|
+
Xo as FieldShell,
|
|
100
|
+
Zo as Image,
|
|
101
|
+
Jo as Input,
|
|
102
|
+
$o as KeyboardContext,
|
|
103
|
+
oe as KeyboardProvider,
|
|
104
|
+
te as Link,
|
|
105
|
+
Ce as Marquee,
|
|
106
|
+
Ae as Modal,
|
|
107
|
+
xe as MultiSelect,
|
|
108
|
+
Le as OnScreenKeyboard,
|
|
109
|
+
_e as PasswordInput,
|
|
110
|
+
le as Radio,
|
|
111
|
+
ne as RadioContext,
|
|
112
|
+
Oe as RadioGroup,
|
|
113
|
+
Be as ResizableScreen,
|
|
114
|
+
Ne as Select,
|
|
115
|
+
ge as Sidebar,
|
|
116
|
+
Se as Spinner,
|
|
117
|
+
se as Switch,
|
|
118
|
+
f as THEME_STORAGE_KEY,
|
|
119
|
+
be as Table,
|
|
120
|
+
Me as Tabs,
|
|
121
|
+
he as TextArea,
|
|
122
|
+
we as ToastItem,
|
|
123
|
+
ke as ToastProvider,
|
|
124
|
+
qe as Tooltip,
|
|
125
|
+
g as defaultAccordionConfig,
|
|
126
|
+
R as defaultAutocompleteConfig,
|
|
127
|
+
b as defaultButtonConfig,
|
|
128
|
+
P as defaultCardConfig,
|
|
129
|
+
w as defaultCarouselConfig,
|
|
130
|
+
v as defaultChipConfig,
|
|
131
|
+
z as defaultDatePickerConfig,
|
|
132
|
+
X as defaultDrawerConfig,
|
|
133
|
+
j as defaultFieldConfig,
|
|
134
|
+
$ as defaultImageConfig,
|
|
135
|
+
We as defaultInputConfig,
|
|
136
|
+
ro as defaultLinkConfig,
|
|
137
|
+
Co as defaultMarqueeConfig,
|
|
138
|
+
mo as defaultModalConfig,
|
|
139
|
+
Lo as defaultMultiSelectConfig,
|
|
140
|
+
Fo as defaultRadioConfig,
|
|
141
|
+
uo as defaultResizableScreenConfig,
|
|
142
|
+
Ko as defaultSelectConfig,
|
|
143
|
+
No as defaultSidebarConfig,
|
|
144
|
+
Eo as defaultSpinnerConfig,
|
|
145
|
+
so as defaultSwitchConfig,
|
|
146
|
+
Do as defaultTableConfig,
|
|
147
|
+
ho as defaultTabsConfig,
|
|
148
|
+
yo as defaultTextAreaConfig,
|
|
149
|
+
Ho as defaultToastConfig,
|
|
150
|
+
Wo as defaultTooltipConfig,
|
|
151
|
+
C as themeController,
|
|
152
|
+
ee as useKeyboard,
|
|
153
|
+
Xe as useKeyboardField,
|
|
154
|
+
ue as useRadioGroupContext,
|
|
155
|
+
A as useTheme,
|
|
156
|
+
ve as useToast
|
|
157
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/libs/context.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,kBAAkB,wCAAqC,CAAC;AAErE,wBAAgB,cAAc,IAAI,MAAM,CAQvC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useContext as o, createContext as t } from "react";
|
|
3
|
+
const n = t(null);
|
|
4
|
+
function i() {
|
|
5
|
+
const e = o(n);
|
|
6
|
+
if (!e)
|
|
7
|
+
throw new Error(
|
|
8
|
+
"useAsheeConfig must be used within an AsheeUIProvider - wrap your app root with <AsheeUIProvider>."
|
|
9
|
+
);
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
n as AsheeConfigContext,
|
|
14
|
+
i as useAsheeConfig
|
|
15
|
+
};
|