@arobo/styles 1.0.1 → 1.1.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/README.md +1 -1
- package/dist/aroboui.min.css +1 -1
- package/dist/components/accordion/accordion.styles.d.ts +54 -0
- package/dist/components/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/accordion/accordion.styles.js +24 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/accordion.css +149 -0
- package/dist/components/alert/alert.styles.d.ts +76 -0
- package/dist/components/alert/alert.styles.d.ts.map +1 -0
- package/dist/components/alert/alert.styles.js +35 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts +175 -0
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.styles.js +70 -0
- package/dist/components/alert-dialog/index.d.ts +2 -0
- package/dist/components/alert-dialog/index.d.ts.map +1 -0
- package/dist/components/alert-dialog/index.js +1 -0
- package/dist/components/alert-dialog.css +311 -0
- package/dist/components/alert.css +68 -0
- package/dist/components/avatar/avatar.styles.d.ts +121 -0
- package/dist/components/avatar/avatar.styles.d.ts.map +1 -0
- package/dist/components/avatar/avatar.styles.js +51 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/avatar.css +78 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +46 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +12 -0
- package/dist/components/breadcrumbs/index.d.ts +2 -0
- package/dist/components/breadcrumbs/index.d.ts.map +1 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/breadcrumbs.css +23 -0
- package/dist/components/chip/chip.styles.d.ts +61 -0
- package/dist/components/chip/chip.styles.d.ts.map +1 -0
- package/dist/components/chip/chip.styles.js +31 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/chip/index.js +1 -0
- package/dist/components/chip.css +103 -0
- package/dist/components/combobox.css +3 -5
- package/dist/components/container/container.styles.d.ts +25 -0
- package/dist/components/container/container.styles.d.ts.map +1 -0
- package/dist/components/container/container.styles.js +18 -0
- package/dist/components/container/index.d.ts +2 -0
- package/dist/components/container/index.d.ts.map +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/container.css +24 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +46 -0
- package/dist/components/dropdown/dropdown.styles.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.styles.js +12 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/index.d.ts.map +1 -0
- package/dist/components/dropdown/index.js +1 -0
- package/dist/components/dropdown.css +122 -0
- package/dist/components/empty/empty.styles.d.ts +58 -0
- package/dist/components/empty/empty.styles.d.ts.map +1 -0
- package/dist/components/empty/empty.styles.js +30 -0
- package/dist/components/empty/index.d.ts +2 -0
- package/dist/components/empty/index.d.ts.map +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/empty-state/empty-state.styles.d.ts +4 -0
- package/dist/components/empty-state/empty-state.styles.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.styles.js +7 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/empty-state/index.js +1 -0
- package/dist/components/empty-state.css +4 -0
- package/dist/components/empty.css +79 -0
- package/dist/components/fieldset/fieldset.styles.d.ts +52 -0
- package/dist/components/fieldset/fieldset.styles.d.ts.map +1 -0
- package/dist/components/fieldset/fieldset.styles.js +13 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/fieldset/index.d.ts.map +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/fieldset.css +18 -0
- package/dist/components/header/header.styles.d.ts +2 -0
- package/dist/components/header/header.styles.d.ts.map +1 -0
- package/dist/components/header/header.styles.js +7 -0
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.js +1 -0
- package/dist/components/header.css +7 -0
- package/dist/components/heading/heading.styles.d.ts +28 -0
- package/dist/components/heading/heading.styles.d.ts.map +1 -0
- package/dist/components/heading/heading.styles.js +19 -0
- package/dist/components/heading/index.d.ts +2 -0
- package/dist/components/heading/index.d.ts.map +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/heading.css +27 -0
- package/dist/components/index.css +44 -3
- package/dist/components/index.d.ts +45 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input-group/index.d.ts +2 -0
- package/dist/components/input-group/index.d.ts.map +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/input-group/input-group.styles.d.ts +64 -0
- package/dist/components/input-group/input-group.styles.d.ts.map +1 -0
- package/dist/components/input-group/input-group.styles.js +32 -0
- package/dist/components/input-group.css +172 -0
- package/dist/components/input-otp/index.d.ts +2 -0
- package/dist/components/input-otp/index.d.ts.map +1 -0
- package/dist/components/input-otp/index.js +1 -0
- package/dist/components/input-otp/input-otp.styles.d.ts +55 -0
- package/dist/components/input-otp/input-otp.styles.d.ts.map +1 -0
- package/dist/components/input-otp/input-otp.styles.js +28 -0
- package/dist/components/input-otp.css +121 -0
- package/dist/components/input.css +1 -4
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/kbd.styles.d.ts +31 -0
- package/dist/components/kbd/kbd.styles.d.ts.map +1 -0
- package/dist/components/kbd/kbd.styles.js +18 -0
- package/dist/components/kbd.css +27 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +1 -0
- package/dist/components/link/link.styles.d.ts +36 -0
- package/dist/components/link/link.styles.d.ts.map +1 -0
- package/dist/components/link/link.styles.js +10 -0
- package/dist/components/link.css +61 -0
- package/dist/components/listbox/index.d.ts +2 -0
- package/dist/components/listbox/index.d.ts.map +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/listbox/listbox.styles.d.ts +19 -0
- package/dist/components/listbox/listbox.styles.d.ts.map +1 -0
- package/dist/components/listbox/listbox.styles.js +16 -0
- package/dist/components/listbox-item/index.d.ts +2 -0
- package/dist/components/listbox-item/index.d.ts.map +1 -0
- package/dist/components/listbox-item/index.js +1 -0
- package/dist/components/listbox-item/listbox-item.styles.d.ts +40 -0
- package/dist/components/listbox-item/listbox-item.styles.d.ts.map +1 -0
- package/dist/components/listbox-item/listbox-item.styles.js +23 -0
- package/dist/components/listbox-item.css +118 -0
- package/dist/components/listbox-section/index.d.ts +2 -0
- package/dist/components/listbox-section/index.d.ts.map +1 -0
- package/dist/components/listbox-section/index.js +1 -0
- package/dist/components/listbox-section/listbox-section.styles.d.ts +4 -0
- package/dist/components/listbox-section/listbox-section.styles.d.ts.map +1 -0
- package/dist/components/listbox-section/listbox-section.styles.js +7 -0
- package/dist/components/listbox-section.css +7 -0
- package/dist/components/listbox.css +12 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/index.d.ts.map +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/menu.styles.d.ts +4 -0
- package/dist/components/menu/menu.styles.d.ts.map +1 -0
- package/dist/components/menu/menu.styles.js +7 -0
- package/dist/components/menu-item/index.d.ts +2 -0
- package/dist/components/menu-item/index.d.ts.map +1 -0
- package/dist/components/menu-item/index.js +1 -0
- package/dist/components/menu-item/menu-item.styles.d.ts +43 -0
- package/dist/components/menu-item/menu-item.styles.d.ts.map +1 -0
- package/dist/components/menu-item/menu-item.styles.js +24 -0
- package/dist/components/menu-item.css +163 -0
- package/dist/components/menu-section/index.d.ts +2 -0
- package/dist/components/menu-section/index.d.ts.map +1 -0
- package/dist/components/menu-section/index.js +1 -0
- package/dist/components/menu-section/menu-section.styles.d.ts +4 -0
- package/dist/components/menu-section/menu-section.styles.d.ts.map +1 -0
- package/dist/components/menu-section/menu-section.styles.js +7 -0
- package/dist/components/menu-section.css +7 -0
- package/dist/components/menu.css +12 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/index.js +1 -0
- package/dist/components/modal/modal.styles.d.ts +169 -0
- package/dist/components/modal/modal.styles.d.ts.map +1 -0
- package/dist/components/modal/modal.styles.js +68 -0
- package/dist/components/modal.css +334 -0
- package/dist/components/number-field/index.d.ts +2 -0
- package/dist/components/number-field/index.d.ts.map +1 -0
- package/dist/components/number-field/index.js +1 -0
- package/dist/components/number-field/number-field.styles.d.ts +70 -0
- package/dist/components/number-field/number-field.styles.d.ts.map +1 -0
- package/dist/components/number-field/number-field.styles.js +34 -0
- package/dist/components/number-field.css +182 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/pagination.styles.d.ts +64 -0
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -0
- package/dist/components/pagination/pagination.styles.js +33 -0
- package/dist/components/pagination.css +158 -0
- package/dist/components/popover/popover.styles.d.ts +3 -3
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/index.js +1 -0
- package/dist/components/radio/radio.styles.d.ts +46 -0
- package/dist/components/radio/radio.styles.d.ts.map +1 -0
- package/dist/components/radio/radio.styles.js +12 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/radio-group/radio-group.styles.d.ts +19 -0
- package/dist/components/radio-group/radio-group.styles.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.styles.js +16 -0
- package/dist/components/radio-group.css +47 -0
- package/dist/components/radio.css +157 -0
- package/dist/components/scroll-shadow/index.d.ts +2 -0
- package/dist/components/scroll-shadow/index.d.ts.map +1 -0
- package/dist/components/scroll-shadow/index.js +1 -0
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts +70 -0
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -0
- package/dist/components/scroll-shadow/scroll-shadow.styles.js +35 -0
- package/dist/components/scroll-shadow.css +77 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/select.styles.d.ts +70 -0
- package/dist/components/select/select.styles.d.ts.map +1 -0
- package/dist/components/select/select.styles.js +34 -0
- package/dist/components/select.css +217 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/separator.styles.d.ts +20 -0
- package/dist/components/separator/separator.styles.d.ts.map +1 -0
- package/dist/components/separator/separator.styles.js +16 -0
- package/dist/components/separator.css +46 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/slider.styles.d.ts +58 -0
- package/dist/components/slider/slider.styles.d.ts.map +1 -0
- package/dist/components/slider/slider.styles.js +14 -0
- package/dist/components/slider.css +180 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/spinner.styles.d.ts +46 -0
- package/dist/components/spinner/spinner.styles.d.ts.map +1 -0
- package/dist/components/spinner/spinner.styles.js +26 -0
- package/dist/components/spinner.css +42 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/switch.styles.d.ts +55 -0
- package/dist/components/switch/switch.styles.d.ts.map +1 -0
- package/dist/components/switch/switch.styles.js +28 -0
- package/dist/components/switch.css +189 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/tabs.styles.d.ts +48 -0
- package/dist/components/tabs/tabs.styles.d.ts.map +1 -0
- package/dist/components/tabs/tabs.styles.js +25 -0
- package/dist/components/tabs.css +248 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/tag.styles.d.ts +73 -0
- package/dist/components/tag/tag.styles.d.ts.map +1 -0
- package/dist/components/tag/tag.styles.js +35 -0
- package/dist/components/tag-group/index.d.ts +2 -0
- package/dist/components/tag-group/index.d.ts.map +1 -0
- package/dist/components/tag-group/index.js +1 -0
- package/dist/components/tag-group/tag-group.styles.d.ts +34 -0
- package/dist/components/tag-group/tag-group.styles.d.ts.map +1 -0
- package/dist/components/tag-group/tag-group.styles.js +10 -0
- package/dist/components/tag-group.css +15 -0
- package/dist/components/tag.css +98 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/textarea.styles.d.ts +31 -0
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -0
- package/dist/components/textarea/textarea.styles.js +21 -0
- package/dist/components/textarea.css +92 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/toast.styles.d.ts +163 -0
- package/dist/components/toast/toast.styles.d.ts.map +1 -0
- package/dist/components/toast/toast.styles.js +65 -0
- package/dist/components/toast.css +214 -0
- package/dist/components/toggle-button/index.d.ts +2 -0
- package/dist/components/toggle-button/index.d.ts.map +1 -0
- package/dist/components/toggle-button/index.js +1 -0
- package/dist/components/toggle-button/toggle-button.styles.d.ts +70 -0
- package/dist/components/toggle-button/toggle-button.styles.d.ts.map +1 -0
- package/dist/components/toggle-button/toggle-button.styles.js +36 -0
- package/dist/components/toggle-button-group/index.d.ts +2 -0
- package/dist/components/toggle-button-group/index.d.ts.map +1 -0
- package/dist/components/toggle-button-group/index.js +1 -0
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts +70 -0
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -0
- package/dist/components/toggle-button-group/toggle-button-group.styles.js +36 -0
- package/dist/components/toggle-button-group.css +73 -0
- package/dist/components/toggle-button.css +122 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/tooltip.styles.d.ts +34 -0
- package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.styles.js +10 -0
- package/dist/components/tooltip.css +73 -0
- package/dist/index.js +44 -3
- package/dist/themes/default/variables.css +44 -2
- package/dist/themes/shared/theme.css +22 -0
- package/package.json +1 -1
- package/src/components/accordion/accordion.styles.ts +32 -0
- package/src/components/accordion/index.ts +1 -0
- package/src/components/alert/alert.styles.ts +37 -0
- package/src/components/alert/index.ts +1 -0
- package/src/components/alert-dialog/alert-dialog.styles.ts +72 -0
- package/src/components/alert-dialog/index.ts +1 -0
- package/src/components/avatar/avatar.styles.ts +53 -0
- package/src/components/avatar/index.ts +1 -0
- package/src/components/breadcrumbs/breadcrumbs.styles.ts +14 -0
- package/src/components/breadcrumbs/index.ts +1 -0
- package/src/components/chip/chip.styles.ts +33 -0
- package/src/components/chip/index.ts +1 -0
- package/src/components/container/container.styles.ts +20 -0
- package/src/components/container/index.ts +1 -0
- package/src/components/dropdown/dropdown.styles.ts +14 -0
- package/src/components/dropdown/index.ts +1 -0
- package/src/components/empty/empty.styles.ts +32 -0
- package/src/components/empty/index.ts +1 -0
- package/src/components/empty-state/empty-state.styles.ts +9 -0
- package/src/components/empty-state/index.ts +1 -0
- package/src/components/fieldset/fieldset.styles.ts +15 -0
- package/src/components/fieldset/index.ts +1 -0
- package/src/components/header/header.styles.ts +5 -0
- package/src/components/header/index.ts +1 -0
- package/src/components/heading/heading.styles.ts +21 -0
- package/src/components/heading/index.ts +1 -0
- package/src/components/index.ts +47 -2
- package/src/components/input-group/index.ts +1 -0
- package/src/components/input-group/input-group.styles.ts +34 -0
- package/src/components/input-otp/index.ts +1 -0
- package/src/components/input-otp/input-otp.styles.ts +30 -0
- package/src/components/kbd/index.ts +1 -0
- package/src/components/kbd/kbd.styles.ts +20 -0
- package/src/components/link/index.ts +1 -0
- package/src/components/link/link.styles.ts +21 -0
- package/src/components/listbox/index.ts +1 -0
- package/src/components/listbox/listbox.styles.ts +18 -0
- package/src/components/listbox-item/index.ts +1 -0
- package/src/components/listbox-item/listbox-item.styles.ts +25 -0
- package/src/components/listbox-section/index.ts +1 -0
- package/src/components/listbox-section/listbox-section.styles.ts +9 -0
- package/src/components/menu/index.ts +1 -0
- package/src/components/menu/menu.styles.ts +9 -0
- package/src/components/menu-item/index.ts +1 -0
- package/src/components/menu-item/menu-item.styles.ts +26 -0
- package/src/components/menu-section/index.ts +1 -0
- package/src/components/menu-section/menu-section.styles.ts +9 -0
- package/src/components/modal/index.ts +1 -0
- package/src/components/modal/modal.styles.ts +70 -0
- package/src/components/number-field/index.ts +1 -0
- package/src/components/number-field/number-field.styles.ts +36 -0
- package/src/components/pagination/index.ts +1 -0
- package/src/components/pagination/pagination.styles.ts +35 -0
- package/src/components/radio/index.ts +1 -0
- package/src/components/radio/radio.styles.ts +14 -0
- package/src/components/radio-group/index.ts +1 -0
- package/src/components/radio-group/radio-group.styles.ts +18 -0
- package/src/components/scroll-shadow/index.ts +1 -0
- package/src/components/scroll-shadow/scroll-shadow.styles.ts +37 -0
- package/src/components/select/index.ts +1 -0
- package/src/components/select/select.styles.ts +36 -0
- package/src/components/separator/index.ts +1 -0
- package/src/components/separator/separator.styles.ts +19 -0
- package/src/components/slider/index.ts +1 -0
- package/src/components/slider/slider.styles.ts +16 -0
- package/src/components/spinner/index.ts +1 -0
- package/src/components/spinner/spinner.styles.ts +28 -0
- package/src/components/switch/index.ts +1 -0
- package/src/components/switch/switch.styles.ts +30 -0
- package/src/components/tabs/index.ts +1 -0
- package/src/components/tabs/tabs.styles.ts +30 -0
- package/src/components/tag/index.ts +1 -0
- package/src/components/tag/tag.styles.ts +37 -0
- package/src/components/tag-group/index.ts +1 -0
- package/src/components/tag-group/tag-group.styles.ts +12 -0
- package/src/components/textarea/index.ts +1 -0
- package/src/components/textarea/textarea.styles.ts +23 -0
- package/src/components/toast/index.ts +1 -0
- package/src/components/toast/toast.styles.ts +67 -0
- package/src/components/toggle-button/index.ts +1 -0
- package/src/components/toggle-button/toggle-button.styles.ts +38 -0
- package/src/components/toggle-button-group/index.ts +1 -0
- package/src/components/toggle-button-group/toggle-button-group.styles.ts +38 -0
- package/src/components/tooltip/index.ts +1 -0
- package/src/components/tooltip/tooltip.styles.ts +12 -0
- package/dist/components/field-group/field-group.styles.d.ts +0 -69
- package/dist/components/field-group/field-group.styles.d.ts.map +0 -1
- package/dist/components/field-group/field-group.styles.js +0 -25
- package/dist/components/field-group/index.d.ts +0 -2
- package/dist/components/field-group/index.d.ts.map +0 -1
- package/dist/components/field-group/index.js +0 -1
- package/dist/components/field-group.css +0 -7
- package/src/components/field-group/field-group.styles.ts +0 -29
- package/src/components/field-group/index.ts +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const spinnerVariants = tv({
|
|
6
|
+
base: "spinner",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
color: "accent",
|
|
9
|
+
size: "md",
|
|
10
|
+
},
|
|
11
|
+
variants: {
|
|
12
|
+
color: {
|
|
13
|
+
accent: "spinner--accent",
|
|
14
|
+
current: "spinner--current",
|
|
15
|
+
danger: "spinner--danger",
|
|
16
|
+
success: "spinner--success",
|
|
17
|
+
warning: "spinner--warning",
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
lg: "spinner--lg",
|
|
21
|
+
md: "spinner--md",
|
|
22
|
+
sm: "spinner--sm",
|
|
23
|
+
xl: "spinner--xl",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export type SpinnerVariants = VariantProps<typeof spinnerVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./switch.styles";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const switchVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
size: "md",
|
|
8
|
+
},
|
|
9
|
+
slots: {
|
|
10
|
+
base: "switch",
|
|
11
|
+
control: "switch__control",
|
|
12
|
+
icon: "switch__icon",
|
|
13
|
+
thumb: "switch__thumb",
|
|
14
|
+
},
|
|
15
|
+
variants: {
|
|
16
|
+
size: {
|
|
17
|
+
lg: {
|
|
18
|
+
base: "switch--lg",
|
|
19
|
+
},
|
|
20
|
+
md: {
|
|
21
|
+
base: "switch--md",
|
|
22
|
+
},
|
|
23
|
+
sm: {
|
|
24
|
+
base: "switch--sm",
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export type SwitchVariants = VariantProps<typeof switchVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tabs.styles";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const tabsVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
variant: "primary",
|
|
8
|
+
},
|
|
9
|
+
slots: {
|
|
10
|
+
base: "tabs",
|
|
11
|
+
tab: "tabs__tab",
|
|
12
|
+
tabIndicator: "tabs__indicator",
|
|
13
|
+
tabList: "tabs__list",
|
|
14
|
+
tabListContainer: "tabs__list-container",
|
|
15
|
+
tabPanel: "tabs__panel",
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
variant: {
|
|
19
|
+
primary: {},
|
|
20
|
+
secondary: {
|
|
21
|
+
base: "tabs--secondary",
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
// Render props that should be excluded from TabsVariants (framework-specific)
|
|
28
|
+
type TabsRenderPropsKeys = "selectedKey";
|
|
29
|
+
|
|
30
|
+
export type TabsVariants = Omit<VariantProps<typeof tabsVariants>, TabsRenderPropsKeys>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tag.styles";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const tagVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
size: "md",
|
|
8
|
+
variant: "default",
|
|
9
|
+
},
|
|
10
|
+
slots: {
|
|
11
|
+
base: "tag",
|
|
12
|
+
removeButton: "tag__remove-button",
|
|
13
|
+
},
|
|
14
|
+
variants: {
|
|
15
|
+
size: {
|
|
16
|
+
lg: {
|
|
17
|
+
base: "tag--lg",
|
|
18
|
+
},
|
|
19
|
+
md: {
|
|
20
|
+
base: "tag--md",
|
|
21
|
+
},
|
|
22
|
+
sm: {
|
|
23
|
+
base: "tag--sm",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
variant: {
|
|
27
|
+
default: {
|
|
28
|
+
base: "tag--default",
|
|
29
|
+
},
|
|
30
|
+
surface: {
|
|
31
|
+
base: "tag--surface",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export type TagVariants = VariantProps<typeof tagVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tag-group.styles";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const tagGroupVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "tag-group",
|
|
8
|
+
list: "tag-group__list",
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export type TagGroupVariants = VariantProps<typeof tagGroupVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./textarea.styles";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const textAreaVariants = tv({
|
|
6
|
+
base: "textarea",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
fullWidth: false,
|
|
9
|
+
variant: "primary",
|
|
10
|
+
},
|
|
11
|
+
variants: {
|
|
12
|
+
fullWidth: {
|
|
13
|
+
false: "",
|
|
14
|
+
true: "textarea--full-width",
|
|
15
|
+
},
|
|
16
|
+
variant: {
|
|
17
|
+
primary: "textarea--primary",
|
|
18
|
+
secondary: "textarea--secondary",
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export type TextAreaVariants = VariantProps<typeof textAreaVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toast.styles";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const toastVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
placement: "bottom",
|
|
8
|
+
variant: "default",
|
|
9
|
+
},
|
|
10
|
+
slots: {
|
|
11
|
+
action: "toast__action",
|
|
12
|
+
close: "toast__close-button",
|
|
13
|
+
content: "toast__content",
|
|
14
|
+
description: "toast__description",
|
|
15
|
+
indicator: "toast__indicator",
|
|
16
|
+
region: "toast-region",
|
|
17
|
+
title: "toast__title",
|
|
18
|
+
toast: "toast",
|
|
19
|
+
},
|
|
20
|
+
variants: {
|
|
21
|
+
placement: {
|
|
22
|
+
bottom: {
|
|
23
|
+
region: "toast-region--bottom",
|
|
24
|
+
toast: "toast--bottom",
|
|
25
|
+
},
|
|
26
|
+
"bottom end": {
|
|
27
|
+
region: "toast-region--bottom-end",
|
|
28
|
+
toast: "toast--bottom-end",
|
|
29
|
+
},
|
|
30
|
+
"bottom start": {
|
|
31
|
+
region: "toast-region--bottom-start",
|
|
32
|
+
toast: "toast--bottom-start",
|
|
33
|
+
},
|
|
34
|
+
top: {
|
|
35
|
+
region: "toast-region--top",
|
|
36
|
+
toast: "toast--top",
|
|
37
|
+
},
|
|
38
|
+
"top end": {
|
|
39
|
+
region: "toast-region--top-end",
|
|
40
|
+
toast: "toast--top-end",
|
|
41
|
+
},
|
|
42
|
+
"top start": {
|
|
43
|
+
region: "toast-region--top-start",
|
|
44
|
+
toast: "toast--top-start",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
variant: {
|
|
48
|
+
accent: {
|
|
49
|
+
toast: "toast--accent",
|
|
50
|
+
},
|
|
51
|
+
danger: {
|
|
52
|
+
toast: "toast--danger",
|
|
53
|
+
},
|
|
54
|
+
default: {
|
|
55
|
+
toast: "toast--default",
|
|
56
|
+
},
|
|
57
|
+
success: {
|
|
58
|
+
toast: "toast--success",
|
|
59
|
+
},
|
|
60
|
+
warning: {
|
|
61
|
+
toast: "toast--warning",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export type ToastVariants = VariantProps<typeof toastVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toggle-button.styles';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const toggleButtonVariants = tv({
|
|
6
|
+
base: "toggle-button",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
fullWidth: false,
|
|
9
|
+
isIconOnly: false,
|
|
10
|
+
size: "md",
|
|
11
|
+
variant: "primary",
|
|
12
|
+
},
|
|
13
|
+
variants: {
|
|
14
|
+
fullWidth: {
|
|
15
|
+
false: "",
|
|
16
|
+
true: "toggle-button--full-width",
|
|
17
|
+
},
|
|
18
|
+
isIconOnly: {
|
|
19
|
+
true: "toggle-button--icon-only",
|
|
20
|
+
},
|
|
21
|
+
size: {
|
|
22
|
+
lg: "toggle-button--lg",
|
|
23
|
+
md: "toggle-button--md",
|
|
24
|
+
sm: "toggle-button--sm",
|
|
25
|
+
},
|
|
26
|
+
variant: {
|
|
27
|
+
danger: "toggle-button--danger",
|
|
28
|
+
"danger-soft": "toggle-button--danger-soft",
|
|
29
|
+
ghost: "toggle-button--ghost",
|
|
30
|
+
outline: "toggle-button--outline",
|
|
31
|
+
primary: "toggle-button--primary",
|
|
32
|
+
secondary: "toggle-button--secondary",
|
|
33
|
+
tertiary: "toggle-button--tertiary",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export type ToggleButtonVariants = VariantProps<typeof toggleButtonVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toggle-button-group.styles';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const toggleButtonGroupVariants = tv({
|
|
6
|
+
base: "toggle-button-group",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
fullWidth: false,
|
|
9
|
+
isIconOnly: false,
|
|
10
|
+
size: "md",
|
|
11
|
+
variant: "primary",
|
|
12
|
+
},
|
|
13
|
+
variants: {
|
|
14
|
+
fullWidth: {
|
|
15
|
+
false: "",
|
|
16
|
+
true: "toggle-button-group--full-width",
|
|
17
|
+
},
|
|
18
|
+
isIconOnly: {
|
|
19
|
+
true: "toggle-button-group--icon-only",
|
|
20
|
+
},
|
|
21
|
+
size: {
|
|
22
|
+
lg: "toggle-button-group--lg",
|
|
23
|
+
md: "toggle-button-group--md",
|
|
24
|
+
sm: "toggle-button-group--sm",
|
|
25
|
+
},
|
|
26
|
+
variant: {
|
|
27
|
+
danger: "toggle-button-group--danger",
|
|
28
|
+
"danger-soft": "toggle-button-group--danger-soft",
|
|
29
|
+
ghost: "toggle-button-group--ghost",
|
|
30
|
+
outline: "toggle-button-group--outline",
|
|
31
|
+
primary: "toggle-button-group--primary",
|
|
32
|
+
secondary: "toggle-button-group--secondary",
|
|
33
|
+
tertiary: "toggle-button-group--tertiary",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export type ToggleButtonGroupVariants = VariantProps<typeof toggleButtonGroupVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./tooltip.styles";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const tooltipVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "tooltip",
|
|
8
|
+
trigger: "tooltip__trigger",
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export type TooltipVariants = VariantProps<typeof tooltipVariants>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type { VariantProps } from "tailwind-variants";
|
|
2
|
-
export declare const fieldBorderStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
-
isFocusWithin: {
|
|
4
|
-
false: string;
|
|
5
|
-
true: string;
|
|
6
|
-
};
|
|
7
|
-
isInvalid: {
|
|
8
|
-
true: string;
|
|
9
|
-
};
|
|
10
|
-
isDisabled: {
|
|
11
|
-
true: string;
|
|
12
|
-
};
|
|
13
|
-
}, undefined, "transition", {
|
|
14
|
-
isFocusWithin: {
|
|
15
|
-
false: string;
|
|
16
|
-
true: string;
|
|
17
|
-
};
|
|
18
|
-
isInvalid: {
|
|
19
|
-
true: string;
|
|
20
|
-
};
|
|
21
|
-
isDisabled: {
|
|
22
|
-
true: string;
|
|
23
|
-
};
|
|
24
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
25
|
-
isFocusWithin: {
|
|
26
|
-
false: string;
|
|
27
|
-
true: string;
|
|
28
|
-
};
|
|
29
|
-
isInvalid: {
|
|
30
|
-
true: string;
|
|
31
|
-
};
|
|
32
|
-
isDisabled: {
|
|
33
|
-
true: string;
|
|
34
|
-
};
|
|
35
|
-
}, undefined, "transition", unknown, unknown, undefined>>;
|
|
36
|
-
export declare const fieldGroupVariants: import("tailwind-variants").TVReturnType<{
|
|
37
|
-
isFocusWithin: {
|
|
38
|
-
false: string;
|
|
39
|
-
true: string;
|
|
40
|
-
};
|
|
41
|
-
isInvalid: {
|
|
42
|
-
true: string;
|
|
43
|
-
};
|
|
44
|
-
isDisabled: {
|
|
45
|
-
true: string;
|
|
46
|
-
};
|
|
47
|
-
}, undefined, "field-group", {
|
|
48
|
-
isFocusVisible: {
|
|
49
|
-
false: string;
|
|
50
|
-
true: string;
|
|
51
|
-
};
|
|
52
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
53
|
-
isFocusVisible: {
|
|
54
|
-
false: string;
|
|
55
|
-
true: string;
|
|
56
|
-
};
|
|
57
|
-
}, undefined, "focus-ring", {
|
|
58
|
-
isFocusVisible: {
|
|
59
|
-
false: string;
|
|
60
|
-
true: string;
|
|
61
|
-
};
|
|
62
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
63
|
-
isFocusVisible: {
|
|
64
|
-
false: string;
|
|
65
|
-
true: string;
|
|
66
|
-
};
|
|
67
|
-
}, undefined, "focus-ring", unknown, unknown, undefined>>>;
|
|
68
|
-
export type FieldGroupVariants = VariantProps<typeof fieldGroupVariants>;
|
|
69
|
-
//# sourceMappingURL=field-group.styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field-group.styles.d.ts","sourceRoot":"","sources":["../../../src/components/field-group/field-group.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAe5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAI7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { focusRing } from '../../utils/state.js';
|
|
2
|
-
import { tv } from 'tailwind-variants';
|
|
3
|
-
|
|
4
|
-
const fieldBorderStyles = tv({
|
|
5
|
-
base: "transition",
|
|
6
|
-
variants: {
|
|
7
|
-
isFocusWithin: {
|
|
8
|
-
false: "border-neutral-300 hover:border-neutral-400 dark:border-neutral-600 dark:hover:border-neutral-500 forced-colors:border-[ButtonBorder]",
|
|
9
|
-
true: "border-neutral-600 dark:border-neutral-300 forced-colors:border-[Highlight]",
|
|
10
|
-
},
|
|
11
|
-
isInvalid: {
|
|
12
|
-
true: "border-red-600 dark:border-red-600 forced-colors:border-[Mark]",
|
|
13
|
-
},
|
|
14
|
-
isDisabled: {
|
|
15
|
-
true: "border-neutral-200 dark:border-neutral-700 forced-colors:border-[GrayText]",
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
const fieldGroupVariants = tv({
|
|
20
|
-
extend: focusRing,
|
|
21
|
-
base: "field-group",
|
|
22
|
-
variants: fieldBorderStyles.variants,
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export { fieldBorderStyles, fieldGroupVariants };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/field-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { fieldBorderStyles, fieldGroupVariants } from './field-group.styles.js';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { focusRing } from "../../utils";
|
|
2
|
-
import type { VariantProps } from "tailwind-variants";
|
|
3
|
-
|
|
4
|
-
import { tv } from "tailwind-variants";
|
|
5
|
-
|
|
6
|
-
export const fieldBorderStyles = tv({
|
|
7
|
-
base: "transition",
|
|
8
|
-
variants: {
|
|
9
|
-
isFocusWithin: {
|
|
10
|
-
false:
|
|
11
|
-
"border-neutral-300 hover:border-neutral-400 dark:border-neutral-600 dark:hover:border-neutral-500 forced-colors:border-[ButtonBorder]",
|
|
12
|
-
true: "border-neutral-600 dark:border-neutral-300 forced-colors:border-[Highlight]",
|
|
13
|
-
},
|
|
14
|
-
isInvalid: {
|
|
15
|
-
true: "border-red-600 dark:border-red-600 forced-colors:border-[Mark]",
|
|
16
|
-
},
|
|
17
|
-
isDisabled: {
|
|
18
|
-
true: "border-neutral-200 dark:border-neutral-700 forced-colors:border-[GrayText]",
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export const fieldGroupVariants = tv({
|
|
24
|
-
extend: focusRing,
|
|
25
|
-
base: "field-group",
|
|
26
|
-
variants: fieldBorderStyles.variants,
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
export type FieldGroupVariants = VariantProps<typeof fieldGroupVariants>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./field-group.styles";
|