@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 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAIpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAK1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* Tooltip component styles */
|
|
2
|
+
|
|
3
|
+
/* Base tooltip styles */
|
|
4
|
+
.tooltip {
|
|
5
|
+
@apply origin-(--trigger-anchor-point) rounded-xl bg-overlay px-2 py-1 text-xs will-change-[opacity,transform];
|
|
6
|
+
box-shadow: var(--shadow-overlay);
|
|
7
|
+
|
|
8
|
+
/* Entering animations */
|
|
9
|
+
&[data-entering="true"] {
|
|
10
|
+
@apply animate-in duration-150 ease-smooth fade-in-0 zoom-in-90;
|
|
11
|
+
|
|
12
|
+
/* Placement-specific translations */
|
|
13
|
+
&[data-placement="top"] {
|
|
14
|
+
@apply slide-in-from-bottom-1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&[data-placement="bottom"] {
|
|
18
|
+
@apply slide-in-from-top-1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&[data-placement="left"] {
|
|
22
|
+
@apply slide-in-from-right-1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-placement="right"] {
|
|
26
|
+
@apply slide-in-from-left-1;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Exiting animations */
|
|
31
|
+
&[data-exiting="true"] {
|
|
32
|
+
@apply animate-out duration-100 ease-smooth zoom-out-95 fade-out;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Arrow styling */
|
|
36
|
+
& [data-slot="overlay-arrow"] {
|
|
37
|
+
@apply stroke-border/40;
|
|
38
|
+
fill: var(--overlay);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Arrow rotation based on placement */
|
|
42
|
+
&[data-placement="bottom"] [data-slot="overlay-arrow"] {
|
|
43
|
+
rotate: 180deg;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-placement="left"] [data-slot="overlay-arrow"] {
|
|
47
|
+
rotate: -90deg;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&[data-placement="right"] [data-slot="overlay-arrow"] {
|
|
51
|
+
rotate: 90deg;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Tooltip trigger */
|
|
56
|
+
.tooltip__trigger {
|
|
57
|
+
/**
|
|
58
|
+
* Transitions
|
|
59
|
+
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
60
|
+
*/
|
|
61
|
+
transition:
|
|
62
|
+
color 150ms var(--ease-smooth),
|
|
63
|
+
background-color 150ms var(--ease-smooth),
|
|
64
|
+
box-shadow 150ms var(--ease-out);
|
|
65
|
+
@apply motion-reduce:transition-none;
|
|
66
|
+
|
|
67
|
+
cursor: var(--cursor-interactive);
|
|
68
|
+
|
|
69
|
+
&:focus-visible:not(:focus),
|
|
70
|
+
&[data-focus-visible="true"] {
|
|
71
|
+
@apply status-focused;
|
|
72
|
+
}
|
|
73
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
export { cn, tv } from 'tailwind-variants';
|
|
2
2
|
export { buttonVariants } from './components/button/button.styles.js';
|
|
3
3
|
export { buttonGroupVariants } from './components/button-group/button-group.styles.js';
|
|
4
|
+
export { accordionVariants } from './components/accordion/accordion.styles.js';
|
|
5
|
+
export { containerVariants } from './components/container/container.styles.js';
|
|
6
|
+
export { fieldsetVariants } from './components/fieldset/fieldset.styles.js';
|
|
7
|
+
export { headingVariants } from './components/heading/heading.styles.js';
|
|
8
|
+
export { inputGroupVariants } from './components/input-group/input-group.styles.js';
|
|
9
|
+
export { inputOTPVariants } from './components/input-otp/input-otp.styles.js';
|
|
10
|
+
export { numberFieldVariants } from './components/number-field/number-field.styles.js';
|
|
11
|
+
export { surfaceVariants } from './components/surface/surface.styles.js';
|
|
12
|
+
export { alertVariants } from './components/alert/alert.styles.js';
|
|
13
|
+
export { closeButtonVariants } from './components/close-button/close-button.styles.js';
|
|
14
|
+
export { spinnerVariants } from './components/spinner/spinner.styles.js';
|
|
15
|
+
export { alertDialogVariants } from './components/alert-dialog/alert-dialog.styles.js';
|
|
16
|
+
export { avatarVariants } from './components/avatar/avatar.styles.js';
|
|
17
|
+
export { chipVariants } from './components/chip/chip.styles.js';
|
|
18
|
+
export { breadcrumbsVariants } from './components/breadcrumbs/breadcrumbs.styles.js';
|
|
19
|
+
export { linkVariants } from './components/link/link.styles.js';
|
|
20
|
+
export { dropdownVariants } from './components/dropdown/dropdown.styles.js';
|
|
21
|
+
export { emptyVariants } from './components/empty/empty.styles.js';
|
|
22
|
+
export { menuSectionVariants } from './components/menu-section/menu-section.styles.js';
|
|
23
|
+
export { menuVariants } from './components/menu/menu.styles.js';
|
|
24
|
+
export { menuItemVariants } from './components/menu-item/menu-item.styles.js';
|
|
25
|
+
export { headerVariants } from './components/header/header.styles.js';
|
|
26
|
+
export { kbdVariants } from './components/kbd/kbd.styles.js';
|
|
4
27
|
export { calendarVariants } from './components/calendar/calendar.styles.js';
|
|
5
28
|
export { cardVariants } from './components/card/card.styles.js';
|
|
6
29
|
export { checkboxVariants } from './components/checkbox/checkbox.styles.js';
|
|
7
30
|
export { checkboxGroupVariants } from './components/checkbox-group/checkbox-group.styles.js';
|
|
8
|
-
export { closeButtonVariants } from './components/close-button/close-button.styles.js';
|
|
9
31
|
export { comboboxVariants } from './components/combobox/combobox.styles.js';
|
|
10
32
|
export { dateFieldVariants } from './components/date-field/date-field.styles.js';
|
|
11
33
|
export { dateInputGroupVariants } from './components/date-input-group/date-input-group.styles.js';
|
|
@@ -14,11 +36,30 @@ export { dateRangePickerVariants } from './components/date-range-picker/date-ran
|
|
|
14
36
|
export { descriptionVariants } from './components/description/description.styles.js';
|
|
15
37
|
export { errorMessageVariants } from './components/error-message/error-message.styles.js';
|
|
16
38
|
export { fieldErrorVariants } from './components/field-error/field-error.styles.js';
|
|
17
|
-
export { fieldBorderStyles, fieldGroupVariants } from './components/field-group/field-group.styles.js';
|
|
18
39
|
export { inputVariants } from './components/input/input.styles.js';
|
|
19
40
|
export { labelVariants } from './components/label/label.styles.js';
|
|
41
|
+
export { paginationVariants } from './components/pagination/pagination.styles.js';
|
|
20
42
|
export { popoverVariants } from './components/popover/popover.styles.js';
|
|
21
43
|
export { rangeCalendarVariants } from './components/range-calendar/range-calendar.styles.js';
|
|
22
|
-
export {
|
|
44
|
+
export { radioVariants } from './components/radio/radio.styles.js';
|
|
45
|
+
export { radioGroupVariants } from './components/radio-group/radio-group.styles.js';
|
|
46
|
+
export { modalVariants } from './components/modal/modal.styles.js';
|
|
47
|
+
export { listboxVariants } from './components/listbox/listbox.styles.js';
|
|
48
|
+
export { listboxItemVariants } from './components/listbox-item/listbox-item.styles.js';
|
|
49
|
+
export { listboxSectionVariants } from './components/listbox-section/listbox-section.styles.js';
|
|
50
|
+
export { sliderVariants } from './components/slider/slider.styles.js';
|
|
51
|
+
export { switchVariants } from './components/switch/switch.styles.js';
|
|
52
|
+
export { tabsVariants } from './components/tabs/tabs.styles.js';
|
|
53
|
+
export { textAreaVariants } from './components/textarea/textarea.styles.js';
|
|
54
|
+
export { toggleButtonVariants } from './components/toggle-button/toggle-button.styles.js';
|
|
55
|
+
export { toggleButtonGroupVariants } from './components/toggle-button-group/toggle-button-group.styles.js';
|
|
56
|
+
export { selectVariants } from './components/select/select.styles.js';
|
|
57
|
+
export { tooltipVariants } from './components/tooltip/tooltip.styles.js';
|
|
58
|
+
export { tagVariants } from './components/tag/tag.styles.js';
|
|
59
|
+
export { tagGroupVariants } from './components/tag-group/tag-group.styles.js';
|
|
60
|
+
export { emptyStateVariants } from './components/empty-state/empty-state.styles.js';
|
|
61
|
+
export { toastVariants } from './components/toast/toast.styles.js';
|
|
62
|
+
export { separatorVariants } from './components/separator/separator.styles.js';
|
|
63
|
+
export { scrollShadowVariants } from './components/scroll-shadow/scroll-shadow.styles.js';
|
|
23
64
|
export { textFieldVariants } from './components/text-field/text-field.styles.js';
|
|
24
65
|
export { focusRing } from './utils/state.js';
|
|
@@ -15,9 +15,14 @@
|
|
|
15
15
|
/* Spacing scale */
|
|
16
16
|
--spacing: 0.25rem;
|
|
17
17
|
|
|
18
|
+
/* Motion */
|
|
19
|
+
--duration-fast: 120ms;
|
|
20
|
+
--duration-base: 150ms;
|
|
21
|
+
--duration-slow: 200ms;
|
|
22
|
+
|
|
18
23
|
/* Border */
|
|
19
24
|
--border-width: 1px;
|
|
20
|
-
--field-border-width:
|
|
25
|
+
--field-border-width: 1px;
|
|
21
26
|
--disabled-opacity: 0.5;
|
|
22
27
|
|
|
23
28
|
/* Ring offset - Used for focus ring */
|
|
@@ -52,6 +57,7 @@
|
|
|
52
57
|
--scrollbar: oklch(87.1% 0.006 286.286);
|
|
53
58
|
|
|
54
59
|
--default: oklch(94% 0.001 286.375);
|
|
60
|
+
--default-color-switch: oklch(85.44% 0.129 47.18);
|
|
55
61
|
--default-foreground: var(--eclipse);
|
|
56
62
|
|
|
57
63
|
--accent: oklch(0.6633 0.1901 44.6);
|
|
@@ -136,7 +142,7 @@
|
|
|
136
142
|
/* Misc Colors */
|
|
137
143
|
--border: oklch(90% 0.004 286.32);
|
|
138
144
|
--separator: oklch(92% 0.004 286.32);
|
|
139
|
-
--focus: var(--accent);
|
|
145
|
+
--focus: color-mix(in oklab, var(--accent) 50%, var(--white) 50%);
|
|
140
146
|
--link: var(--foreground);
|
|
141
147
|
|
|
142
148
|
/* Shadows */
|
|
@@ -153,5 +159,41 @@
|
|
|
153
159
|
0 0 1px 0 rgba(0, 0, 0, 0.06);
|
|
154
160
|
/* Skeleton Default Global Animation */
|
|
155
161
|
--skeleton-animation: shimmer; /* shimmer, pulse, none */
|
|
162
|
+
|
|
163
|
+
/* Containers */
|
|
164
|
+
--container-small: 63rem;
|
|
165
|
+
--container-medium: 71.25rem;
|
|
166
|
+
--container-large: 90rem;
|
|
167
|
+
|
|
168
|
+
/* Heading */
|
|
169
|
+
/* 40px = 160% of 25px */
|
|
170
|
+
--heading-display: 2.5rem;
|
|
171
|
+
--heading-display--line-height: 1.4;
|
|
172
|
+
--heading-display--font-weight: 500;
|
|
173
|
+
|
|
174
|
+
/* 32px */
|
|
175
|
+
--heading-title-lg: 2rem;
|
|
176
|
+
--heading-title-lg--line-height: 1.5;
|
|
177
|
+
--heading-title-lg--font-weight: 600;
|
|
178
|
+
|
|
179
|
+
/* 20px */
|
|
180
|
+
--heading-title-md: 1.25rem;
|
|
181
|
+
--heading-title-md--line-height: 1.6;
|
|
182
|
+
--heading-title-md--font-weight: 600;
|
|
183
|
+
|
|
184
|
+
/* 16 */
|
|
185
|
+
--heading-title-sm: 1rem;
|
|
186
|
+
--heading-title-sm--line-height: 1.5;
|
|
187
|
+
--heading-title-sm--font-weight: 600;
|
|
188
|
+
|
|
189
|
+
/* */
|
|
190
|
+
--heading-subtitle: 1.25rem;
|
|
191
|
+
--heading-subtitle--line-height: 1.6;
|
|
192
|
+
--heading-subtitle--font-weight: 400;
|
|
193
|
+
|
|
194
|
+
/* Body text sizes */
|
|
195
|
+
--text-body-sm: 0.75rem;
|
|
196
|
+
--text-body-md: 0.875rem;
|
|
197
|
+
--text-body-lg: 1rem;
|
|
156
198
|
}
|
|
157
199
|
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
--color-link: var(--link);
|
|
28
28
|
|
|
29
29
|
--color-default: var(--default);
|
|
30
|
+
--color-default-switch: var(--default-color-switch);
|
|
30
31
|
--color-default-foreground: var(--fgColor-default);
|
|
31
32
|
|
|
32
33
|
--color-success: var(--success);
|
|
@@ -318,6 +319,27 @@
|
|
|
318
319
|
|
|
319
320
|
--blur-surface-liquid: var(--surface-liquid-blur, 10px);
|
|
320
321
|
|
|
322
|
+
/* Heading */
|
|
323
|
+
--text-display: var(--heading-display);
|
|
324
|
+
--text-display--line-height: var(--heading-display--line-height);
|
|
325
|
+
--text-display--font-weight: var(--heading-display--font-weight);
|
|
326
|
+
|
|
327
|
+
--text-title-lg: var(--heading-title-lg);
|
|
328
|
+
--text-title-lg--line-height: var(--heading-title-lg--line-height);
|
|
329
|
+
--text-title-lg--font-weight: var(--heading-title-lg--font-weight);
|
|
330
|
+
|
|
331
|
+
--text-title-md: var(--heading-title-md);
|
|
332
|
+
--text-title-md--line-height: var(--heading-title-md--line-height);
|
|
333
|
+
--text-title-md--font-weight: var(--heading-title-md--font-weight);
|
|
334
|
+
|
|
335
|
+
--text-title-sm: var(--heading-title-sm);
|
|
336
|
+
--text-title-sm--line-height: var(--heading-title-sm--line-height);
|
|
337
|
+
--text-title-sm--font-weight: var(--heading-title-sm--font-weight);
|
|
338
|
+
|
|
339
|
+
--text-subtitle: var(--heading-subtitle);
|
|
340
|
+
--text-subtitle--line-height: var(--heading-subtitle--line-height);
|
|
341
|
+
--text-subtitle--font-weight: var(--heading-subtitle--font-weight);
|
|
342
|
+
|
|
321
343
|
@keyframes skeleton {
|
|
322
344
|
100% {
|
|
323
345
|
transform: translateX(200%);
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const accordionVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "accordion",
|
|
8
|
+
body: "accordion__body",
|
|
9
|
+
bodyInner: "accordion__body-inner",
|
|
10
|
+
heading: "accordion__heading",
|
|
11
|
+
indicator: "accordion__indicator",
|
|
12
|
+
item: "accordion__item",
|
|
13
|
+
panel: "accordion__panel",
|
|
14
|
+
trigger: "accordion__trigger",
|
|
15
|
+
},
|
|
16
|
+
variants: {
|
|
17
|
+
variant: {
|
|
18
|
+
default: {},
|
|
19
|
+
surface: {
|
|
20
|
+
base: "accordion--surface",
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// Render props that should be excluded from AccordionVariants (framework-specific)
|
|
27
|
+
type DisclosureRenderPropsKeys = "isExpanded" | "isDisabled" | "state";
|
|
28
|
+
|
|
29
|
+
export type AccordionVariants = Omit<
|
|
30
|
+
VariantProps<typeof accordionVariants>,
|
|
31
|
+
DisclosureRenderPropsKeys
|
|
32
|
+
>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./accordion.styles";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const alertVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
status: "default",
|
|
8
|
+
},
|
|
9
|
+
slots: {
|
|
10
|
+
base: "alert",
|
|
11
|
+
content: "alert__content",
|
|
12
|
+
description: "alert__description",
|
|
13
|
+
indicator: "alert__indicator",
|
|
14
|
+
title: "alert__title",
|
|
15
|
+
},
|
|
16
|
+
variants: {
|
|
17
|
+
status: {
|
|
18
|
+
accent: {
|
|
19
|
+
base: "alert--accent",
|
|
20
|
+
},
|
|
21
|
+
danger: {
|
|
22
|
+
base: "alert--danger",
|
|
23
|
+
},
|
|
24
|
+
default: {
|
|
25
|
+
base: "alert--default",
|
|
26
|
+
},
|
|
27
|
+
success: {
|
|
28
|
+
base: "alert--success",
|
|
29
|
+
},
|
|
30
|
+
warning: {
|
|
31
|
+
base: "alert--warning",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './alert.styles';
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const alertDialogVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
size: "md",
|
|
8
|
+
status: "danger",
|
|
9
|
+
variant: "opaque",
|
|
10
|
+
},
|
|
11
|
+
slots: {
|
|
12
|
+
backdrop: "alert-dialog__backdrop",
|
|
13
|
+
body: "alert-dialog__body",
|
|
14
|
+
closeTrigger: "alert-dialog__close-trigger",
|
|
15
|
+
container: "alert-dialog__container",
|
|
16
|
+
dialog: "alert-dialog__dialog",
|
|
17
|
+
footer: "alert-dialog__footer",
|
|
18
|
+
header: "alert-dialog__header",
|
|
19
|
+
heading: "alert-dialog__heading",
|
|
20
|
+
icon: "alert-dialog__icon",
|
|
21
|
+
trigger: "alert-dialog__trigger",
|
|
22
|
+
},
|
|
23
|
+
variants: {
|
|
24
|
+
size: {
|
|
25
|
+
cover: {
|
|
26
|
+
dialog: "alert-dialog__dialog--cover",
|
|
27
|
+
},
|
|
28
|
+
lg: {
|
|
29
|
+
dialog: "alert-dialog__dialog--lg",
|
|
30
|
+
},
|
|
31
|
+
md: {
|
|
32
|
+
dialog: "alert-dialog__dialog--md",
|
|
33
|
+
},
|
|
34
|
+
sm: {
|
|
35
|
+
dialog: "alert-dialog__dialog--sm",
|
|
36
|
+
},
|
|
37
|
+
xs: {
|
|
38
|
+
dialog: "alert-dialog__dialog--xs",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
status: {
|
|
42
|
+
accent: {
|
|
43
|
+
icon: "alert-dialog__icon--accent",
|
|
44
|
+
},
|
|
45
|
+
danger: {
|
|
46
|
+
icon: "alert-dialog__icon--danger",
|
|
47
|
+
},
|
|
48
|
+
default: {
|
|
49
|
+
icon: "alert-dialog__icon--default",
|
|
50
|
+
},
|
|
51
|
+
success: {
|
|
52
|
+
icon: "alert-dialog__icon--success",
|
|
53
|
+
},
|
|
54
|
+
warning: {
|
|
55
|
+
icon: "alert-dialog__icon--warning",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
variant: {
|
|
59
|
+
blur: {
|
|
60
|
+
backdrop: "alert-dialog__backdrop--blur",
|
|
61
|
+
},
|
|
62
|
+
opaque: {
|
|
63
|
+
backdrop: "alert-dialog__backdrop--opaque",
|
|
64
|
+
},
|
|
65
|
+
transparent: {
|
|
66
|
+
backdrop: "alert-dialog__backdrop--transparent",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export type AlertDialogVariants = VariantProps<typeof alertDialogVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./alert-dialog.styles";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const avatarVariants = tv({
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
color: "default",
|
|
8
|
+
size: "md",
|
|
9
|
+
},
|
|
10
|
+
slots: {
|
|
11
|
+
base: "avatar",
|
|
12
|
+
fallback: "avatar__fallback",
|
|
13
|
+
image: "avatar__image",
|
|
14
|
+
},
|
|
15
|
+
variants: {
|
|
16
|
+
color: {
|
|
17
|
+
accent: {
|
|
18
|
+
fallback: "avatar__fallback--accent",
|
|
19
|
+
},
|
|
20
|
+
danger: {
|
|
21
|
+
fallback: "avatar__fallback--danger",
|
|
22
|
+
},
|
|
23
|
+
default: {
|
|
24
|
+
fallback: "avatar__fallback--default",
|
|
25
|
+
},
|
|
26
|
+
success: {
|
|
27
|
+
fallback: "avatar__fallback--success",
|
|
28
|
+
},
|
|
29
|
+
warning: {
|
|
30
|
+
fallback: "avatar__fallback--warning",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
size: {
|
|
34
|
+
lg: {
|
|
35
|
+
base: "avatar--lg",
|
|
36
|
+
},
|
|
37
|
+
md: {
|
|
38
|
+
base: "avatar--md",
|
|
39
|
+
},
|
|
40
|
+
sm: {
|
|
41
|
+
base: "avatar--sm",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
variant: {
|
|
45
|
+
default: {},
|
|
46
|
+
soft: {
|
|
47
|
+
base: "avatar--soft",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./avatar.styles";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const breadcrumbsVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "breadcrumbs",
|
|
8
|
+
item: "breadcrumbs__item",
|
|
9
|
+
link: "breadcrumbs__link",
|
|
10
|
+
separator: "breadcrumbs__separator",
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export type BreadcrumbsVariants = VariantProps<typeof breadcrumbsVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./breadcrumbs.styles";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const chipVariants = tv({
|
|
6
|
+
base: "chip",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
color: "default",
|
|
9
|
+
variant: "secondary",
|
|
10
|
+
},
|
|
11
|
+
variants: {
|
|
12
|
+
color: {
|
|
13
|
+
accent: "chip--accent",
|
|
14
|
+
danger: "chip--danger",
|
|
15
|
+
default: "chip--default",
|
|
16
|
+
success: "chip--success",
|
|
17
|
+
warning: "chip--warning",
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
lg: "chip--lg",
|
|
21
|
+
md: "chip--md",
|
|
22
|
+
sm: "chip--sm",
|
|
23
|
+
},
|
|
24
|
+
variant: {
|
|
25
|
+
primary: "chip--primary",
|
|
26
|
+
secondary: "chip--secondary",
|
|
27
|
+
soft: "chip--soft",
|
|
28
|
+
tertiary: "chip--tertiary",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export type ChipVariants = VariantProps<typeof chipVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './chip.styles';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const containerVariants = tv({
|
|
6
|
+
base: "container__base",
|
|
7
|
+
defaultVariants: {
|
|
8
|
+
size: "md",
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
sm: "container__base--sm",
|
|
13
|
+
md: "container__base--md",
|
|
14
|
+
lg: "container__base--lg",
|
|
15
|
+
fluid: "container__base--fluid",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export type ContainerVariants = VariantProps<typeof containerVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./container.styles";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type {VariantProps} from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import {tv} from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const dropdownVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
menu: "dropdown__menu",
|
|
8
|
+
popover: "dropdown__popover",
|
|
9
|
+
root: "dropdown",
|
|
10
|
+
trigger: "dropdown__trigger",
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export type DropdownVariants = VariantProps<typeof dropdownVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dropdown.styles";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const emptyVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
base: "empty",
|
|
8
|
+
header: "empty__header",
|
|
9
|
+
media: "empty__media",
|
|
10
|
+
title: "empty__title",
|
|
11
|
+
description: "empty__description",
|
|
12
|
+
content: "empty__content",
|
|
13
|
+
actions: "empty__actions",
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
size: "md",
|
|
17
|
+
variant: "ghost",
|
|
18
|
+
},
|
|
19
|
+
variants: {
|
|
20
|
+
size: {
|
|
21
|
+
sm: "empty--sm",
|
|
22
|
+
md: "empty--md",
|
|
23
|
+
lg: "empty--lg",
|
|
24
|
+
},
|
|
25
|
+
variant: {
|
|
26
|
+
ghost: "empty--ghost",
|
|
27
|
+
soft: "empty--soft",
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export type EmptyVariants = VariantProps<typeof emptyVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./empty.styles";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./empty-state.styles";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
import { tv } from "tailwind-variants";
|
|
4
|
+
|
|
5
|
+
export const fieldsetVariants = tv({
|
|
6
|
+
slots: {
|
|
7
|
+
actions: "fieldset__actions",
|
|
8
|
+
base: "fieldset",
|
|
9
|
+
description: "fieldset__description",
|
|
10
|
+
fieldGroup: "fieldset__field_group",
|
|
11
|
+
legend: "fieldset__legend",
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export type FieldsetVariants = VariantProps<typeof fieldsetVariants>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fieldset.styles";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./header.styles";
|