@ropav/styles 0.5.0 → 0.7.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 +111 -15
- package/dist/components/accordion/accordion.styles.d.ts +47 -50
- package/dist/components/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/accordion/accordion.styles.js +10 -10
- package/dist/components/accordion.css +16 -24
- package/dist/components/alert/alert.styles.d.ts +32 -74
- package/dist/components/alert/alert.styles.d.ts.map +1 -1
- package/dist/components/alert/alert.styles.js +11 -11
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts +79 -173
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.styles.js +24 -24
- package/dist/components/alert-dialog.css +27 -39
- package/dist/components/alert.css +15 -15
- package/dist/components/autocomplete/autocomplete.styles.d.ts +58 -107
- package/dist/components/autocomplete/autocomplete.styles.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.styles.js +16 -16
- package/dist/components/autocomplete.css +43 -53
- package/dist/components/avatar/avatar.styles.d.ts +30 -119
- package/dist/components/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/avatar/avatar.styles.js +13 -13
- package/dist/components/avatar.css +18 -18
- package/dist/components/badge/badge.styles.d.ts +34 -176
- package/dist/components/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/badge/badge.styles.js +19 -19
- package/dist/components/badge.css +28 -28
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +17 -44
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +5 -5
- package/dist/components/breadcrumbs.css +13 -6
- package/dist/components/button/button.styles.d.ts +9 -68
- package/dist/components/button/button.styles.d.ts.map +1 -1
- package/dist/components/button/button.styles.js +14 -14
- package/dist/components/button-group/button-group.styles.d.ts +20 -56
- package/dist/components/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/button-group/button-group.styles.js +6 -6
- package/dist/components/button-group.css +24 -28
- package/dist/components/button.css +19 -23
- package/dist/components/calendar/calendar.styles.d.ts +41 -77
- package/dist/components/calendar/calendar.styles.d.ts.map +1 -1
- package/dist/components/calendar/calendar.styles.js +13 -13
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts +20 -50
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts.map +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.js +6 -6
- package/dist/components/calendar-year-picker.css +36 -23
- package/dist/components/calendar.css +68 -43
- package/dist/components/card/card.styles.d.ts +37 -68
- package/dist/components/card/card.styles.d.ts.map +1 -1
- package/dist/components/card/card.styles.js +11 -11
- package/dist/components/card.css +10 -10
- package/dist/components/checkbox/checkbox.styles.d.ts +27 -44
- package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.styles.js +7 -7
- package/dist/components/checkbox-group/checkbox-group.styles.d.ts +6 -17
- package/dist/components/checkbox-group/checkbox-group.styles.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.styles.js +4 -4
- package/dist/components/checkbox-group.css +1 -1
- package/dist/components/checkbox.css +87 -88
- package/dist/components/chip/chip.styles.d.ts +23 -140
- package/dist/components/chip/chip.styles.d.ts.map +1 -1
- package/dist/components/chip/chip.styles.js +15 -15
- package/dist/components/chip.css +26 -24
- package/dist/components/close-button/close-button.styles.d.ts +6 -14
- package/dist/components/close-button/close-button.styles.d.ts.map +1 -1
- package/dist/components/close-button/close-button.styles.js +3 -3
- package/dist/components/close-button.css +9 -8
- package/dist/components/color-area/color-area.styles.d.ts +17 -32
- package/dist/components/color-area/color-area.styles.d.ts.map +1 -1
- package/dist/components/color-area/color-area.styles.js +4 -4
- package/dist/components/color-area.css +9 -9
- package/dist/components/color-field/color-field.styles.d.ts +6 -17
- package/dist/components/color-field/color-field.styles.d.ts.map +1 -1
- package/dist/components/color-field/color-field.styles.js +3 -3
- package/dist/components/color-field.css +2 -2
- package/dist/components/color-input-group/color-input-group.styles.d.ts +37 -89
- package/dist/components/color-input-group/color-input-group.styles.d.ts.map +1 -1
- package/dist/components/color-input-group/color-input-group.styles.js +10 -10
- package/dist/components/color-input-group.css +23 -40
- package/dist/components/color-picker/color-picker.styles.d.ts +14 -38
- package/dist/components/color-picker/color-picker.styles.d.ts.map +1 -1
- package/dist/components/color-picker/color-picker.styles.js +4 -4
- package/dist/components/color-picker.css +4 -8
- package/dist/components/color-slider/color-slider.styles.d.ts +17 -44
- package/dist/components/color-slider/color-slider.styles.d.ts.map +1 -1
- package/dist/components/color-slider/color-slider.styles.js +5 -5
- package/dist/components/color-slider.css +30 -28
- package/dist/components/color-swatch/color-swatch.styles.d.ts +7 -38
- package/dist/components/color-swatch/color-swatch.styles.d.ts.map +1 -1
- package/dist/components/color-swatch/color-swatch.styles.js +9 -9
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts +37 -119
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.js +14 -14
- package/dist/components/color-swatch-picker.css +21 -104
- package/dist/components/color-swatch.css +13 -13
- package/dist/components/combo-box/combo-box.styles.d.ts +38 -71
- package/dist/components/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/combo-box/combo-box.styles.js +10 -10
- package/dist/components/combo-box.css +23 -13
- package/dist/components/date-field/date-field.styles.d.ts +6 -17
- package/dist/components/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/date-field/date-field.styles.js +3 -3
- package/dist/components/date-field.css +2 -2
- package/dist/components/date-input-group/date-input-group.styles.d.ts +51 -95
- package/dist/components/date-input-group/date-input-group.styles.d.ts.map +1 -1
- package/dist/components/date-input-group/date-input-group.styles.js +12 -12
- package/dist/components/date-input-group.css +50 -48
- package/dist/components/date-picker/date-picker.styles.d.ts +17 -44
- package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.styles.js +5 -5
- package/dist/components/date-picker.css +9 -13
- package/dist/components/date-range-picker/date-range-picker.styles.d.ts +20 -50
- package/dist/components/date-range-picker/date-range-picker.styles.d.ts.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.styles.js +6 -6
- package/dist/components/date-range-picker.css +10 -14
- package/dist/components/description/description.styles.d.ts +4 -2
- package/dist/components/description/description.styles.d.ts.map +1 -1
- package/dist/components/description/description.styles.js +2 -2
- package/dist/components/description.css +1 -1
- package/dist/components/disclosure/disclosure.styles.d.ts +26 -26
- package/dist/components/disclosure/disclosure.styles.d.ts.map +1 -1
- package/dist/components/disclosure/disclosure.styles.js +8 -8
- package/dist/components/disclosure-group/disclosure-group.styles.d.ts +8 -8
- package/dist/components/disclosure-group/disclosure-group.styles.d.ts.map +1 -1
- package/dist/components/disclosure-group/disclosure-group.styles.js +2 -2
- package/dist/components/disclosure-group.css +1 -1
- package/dist/components/disclosure.css +6 -10
- package/dist/components/drawer/drawer.styles.d.ts +68 -125
- package/dist/components/drawer/drawer.styles.d.ts.map +1 -1
- package/dist/components/drawer/drawer.styles.js +22 -22
- package/dist/components/drawer.css +41 -45
- package/dist/components/drop-zone/drop-zone.styles.d.ts +13 -0
- package/dist/components/drop-zone/drop-zone.styles.d.ts.map +1 -0
- package/dist/components/drop-zone/drop-zone.styles.js +8 -0
- package/dist/components/drop-zone/index.d.ts +2 -0
- package/dist/components/drop-zone/index.d.ts.map +1 -0
- package/dist/components/drop-zone/index.js +2 -0
- package/dist/components/drop-zone.css +78 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +17 -44
- package/dist/components/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/dropdown/dropdown.styles.js +5 -5
- package/dist/components/dropdown.css +13 -15
- package/dist/components/empty-state/empty-state.styles.d.ts +4 -2
- package/dist/components/empty-state/empty-state.styles.d.ts.map +1 -1
- package/dist/components/empty-state/empty-state.styles.js +2 -2
- package/dist/components/empty-state.css +1 -1
- package/dist/components/error-message/error-message.styles.d.ts +4 -2
- package/dist/components/error-message/error-message.styles.d.ts.map +1 -1
- package/dist/components/error-message/error-message.styles.js +2 -2
- package/dist/components/error-message.css +1 -5
- package/dist/components/field-error/field-error.styles.d.ts +4 -2
- package/dist/components/field-error/field-error.styles.d.ts.map +1 -1
- package/dist/components/field-error/field-error.styles.js +2 -2
- package/dist/components/field-error.css +7 -11
- package/dist/components/fieldset/fieldset.styles.d.ts +20 -50
- package/dist/components/fieldset/fieldset.styles.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.styles.js +6 -6
- package/dist/components/fieldset.css +4 -4
- package/dist/components/header/header.styles.d.ts +3 -1
- package/dist/components/header/header.styles.d.ts.map +1 -1
- package/dist/components/header/header.styles.js +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/index.css +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/input.styles.d.ts +8 -44
- package/dist/components/input/input.styles.d.ts.map +1 -1
- package/dist/components/input/input.styles.js +7 -7
- package/dist/components/input-group/input-group.styles.d.ts +37 -89
- package/dist/components/input-group/input-group.styles.d.ts.map +1 -1
- package/dist/components/input-group/input-group.styles.js +10 -10
- package/dist/components/input-group.css +29 -54
- package/dist/components/input-otp/input-otp.styles.d.ts +42 -53
- package/dist/components/input-otp/input-otp.styles.d.ts.map +1 -1
- package/dist/components/input-otp/input-otp.styles.js +10 -10
- package/dist/components/input-otp.css +24 -36
- package/dist/components/input.css +17 -38
- package/dist/components/kbd/kbd.styles.d.ts +22 -29
- package/dist/components/kbd/kbd.styles.d.ts.map +1 -1
- package/dist/components/kbd/kbd.styles.js +6 -6
- package/dist/components/kbd.css +7 -5
- package/dist/components/label/label.styles.d.ts +8 -32
- package/dist/components/label/label.styles.d.ts.map +1 -1
- package/dist/components/label/label.styles.js +5 -5
- package/dist/components/label.css +16 -11
- package/dist/components/link/link.styles.d.ts +11 -32
- package/dist/components/link/link.styles.d.ts.map +1 -1
- package/dist/components/link/link.styles.js +3 -3
- package/dist/components/link.css +20 -18
- package/dist/components/list-box/list-box.styles.d.ts +7 -32
- package/dist/components/list-box/list-box.styles.d.ts.map +1 -1
- package/dist/components/list-box/list-box.styles.js +6 -6
- package/dist/components/list-box-item/list-box-item.styles.d.ts +17 -38
- package/dist/components/list-box-item/list-box-item.styles.d.ts.map +1 -1
- package/dist/components/list-box-item/list-box-item.styles.js +5 -5
- package/dist/components/list-box-item.css +13 -19
- package/dist/components/list-box-section/list-box-section.styles.d.ts +4 -2
- package/dist/components/list-box-section/list-box-section.styles.d.ts.map +1 -1
- package/dist/components/list-box-section/list-box-section.styles.js +2 -2
- package/dist/components/list-box-section.css +1 -1
- package/dist/components/list-box.css +53 -3
- package/dist/components/menu/menu.styles.d.ts +6 -20
- package/dist/components/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/menu/menu.styles.js +4 -4
- package/dist/components/menu-item/menu-item.styles.d.ts +22 -41
- package/dist/components/menu-item/menu-item.styles.d.ts.map +1 -1
- package/dist/components/menu-item/menu-item.styles.js +6 -6
- package/dist/components/menu-item.css +15 -21
- package/dist/components/menu-section/menu-section.styles.d.ts +4 -2
- package/dist/components/menu-section/menu-section.styles.d.ts.map +1 -1
- package/dist/components/menu-section/menu-section.styles.js +2 -2
- package/dist/components/menu-section.css +1 -1
- package/dist/components/menu.css +4 -4
- package/dist/components/meter/meter.styles.d.ts +32 -104
- package/dist/components/meter/meter.styles.d.ts.map +1 -1
- package/dist/components/meter/meter.styles.js +13 -13
- package/dist/components/meter.css +22 -30
- package/dist/components/modal/modal.styles.d.ts +79 -167
- package/dist/components/modal/modal.styles.d.ts.map +1 -1
- package/dist/components/modal/modal.styles.js +26 -26
- package/dist/components/modal.css +30 -42
- package/dist/components/number-field/number-field.styles.d.ts +44 -95
- package/dist/components/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/number-field/number-field.styles.js +12 -12
- package/dist/components/number-field.css +47 -59
- package/dist/components/pagination/pagination.styles.d.ts +44 -59
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/pagination/pagination.styles.js +19 -12
- package/dist/components/pagination.css +18 -22
- package/dist/components/popover/popover.styles.d.ts +17 -44
- package/dist/components/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/popover/popover.styles.js +5 -5
- package/dist/components/popover.css +4 -8
- package/dist/components/progress-bar/progress-bar.styles.d.ts +42 -104
- package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/progress-bar/progress-bar.styles.js +23 -13
- package/dist/components/progress-bar.css +97 -31
- package/dist/components/progress-circle/progress-circle.styles.d.ts +32 -104
- package/dist/components/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/progress-circle/progress-circle.styles.js +13 -13
- package/dist/components/progress-circle.css +17 -21
- package/dist/components/radio/radio.styles.d.ts +17 -44
- package/dist/components/radio/radio.styles.d.ts.map +1 -1
- package/dist/components/radio/radio.styles.js +5 -5
- package/dist/components/radio-group/radio-group.styles.d.ts +6 -17
- package/dist/components/radio-group/radio-group.styles.d.ts.map +1 -1
- package/dist/components/radio-group/radio-group.styles.js +4 -4
- package/dist/components/radio-group.css +8 -8
- package/dist/components/radio.css +46 -48
- package/dist/components/range-calendar/range-calendar.styles.d.ts +44 -77
- package/dist/components/range-calendar/range-calendar.styles.d.ts.map +1 -1
- package/dist/components/range-calendar/range-calendar.styles.js +15 -13
- package/dist/components/range-calendar.css +111 -69
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts +16 -68
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -1
- package/dist/components/scroll-shadow/scroll-shadow.styles.js +6 -6
- package/dist/components/scroll-shadow.css +6 -6
- package/dist/components/search-field/search-field.styles.d.ts +44 -95
- package/dist/components/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/search-field/search-field.styles.js +12 -12
- package/dist/components/search-field.css +29 -46
- package/dist/components/segmented-control/segmented-control.styles.d.ts +32 -71
- package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.styles.js +9 -9
- package/dist/components/segmented-control.css +26 -31
- package/dist/components/select/select.styles.d.ts +44 -101
- package/dist/components/select/select.styles.d.ts.map +1 -1
- package/dist/components/select/select.styles.js +14 -14
- package/dist/components/select.css +33 -47
- package/dist/components/separator/separator.styles.d.ts +7 -32
- package/dist/components/separator/separator.styles.d.ts.map +1 -1
- package/dist/components/separator/separator.styles.js +7 -7
- package/dist/components/separator.css +13 -13
- package/dist/components/sidebar/sidebar.styles.d.ts +222 -188
- package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.styles.js +45 -32
- package/dist/components/sidebar.css +180 -80
- package/dist/components/skeleton/skeleton.styles.d.ts +12 -26
- package/dist/components/skeleton/skeleton.styles.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.styles.js +5 -5
- package/dist/components/skeleton.css +6 -6
- package/dist/components/slider/slider.styles.d.ts +23 -56
- package/dist/components/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/slider/slider.styles.js +7 -7
- package/dist/components/slider.css +24 -25
- package/dist/components/spinner/spinner.styles.d.ts +7 -44
- package/dist/components/spinner/spinner.styles.d.ts.map +1 -1
- package/dist/components/spinner/spinner.styles.js +11 -11
- package/dist/components/spinner.css +10 -10
- package/dist/components/splitter/splitter.styles.d.ts +32 -59
- package/dist/components/splitter/splitter.styles.d.ts.map +1 -1
- package/dist/components/splitter/splitter.styles.js +12 -12
- package/dist/components/splitter.css +64 -56
- package/dist/components/surface/surface.styles.d.ts +6 -23
- package/dist/components/surface/surface.styles.d.ts.map +1 -1
- package/dist/components/surface/surface.styles.js +6 -6
- package/dist/components/surface.css +5 -5
- package/dist/components/switch/switch.styles.d.ts +32 -56
- package/dist/components/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/switch/switch.styles.js +9 -9
- package/dist/components/switch-group/switch-group.styles.d.ts +17 -38
- package/dist/components/switch-group/switch-group.styles.d.ts.map +1 -1
- package/dist/components/switch-group/switch-group.styles.js +5 -5
- package/dist/components/switch-group.css +4 -4
- package/dist/components/switch.css +68 -67
- package/dist/components/table/table.styles.d.ts +87 -77
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/components/table/table.styles.js +20 -18
- package/dist/components/table.css +177 -86
- package/dist/components/tabs/tabs.styles.d.ts +57 -56
- package/dist/components/tabs/tabs.styles.d.ts.map +1 -1
- package/dist/components/tabs/tabs.styles.js +12 -12
- package/dist/components/tabs.css +41 -52
- package/dist/components/tag/tag.styles.d.ts +20 -71
- package/dist/components/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/tag/tag.styles.js +8 -8
- package/dist/components/tag-group/tag-group.styles.d.ts +11 -32
- package/dist/components/tag-group/tag-group.styles.d.ts.map +1 -1
- package/dist/components/tag-group/tag-group.styles.js +3 -3
- package/dist/components/tag-group.css +6 -6
- package/dist/components/tag.css +43 -35
- package/dist/components/textarea/textarea.styles.d.ts +8 -44
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
- package/dist/components/textarea/textarea.styles.js +7 -7
- package/dist/components/textarea.css +17 -38
- package/dist/components/textfield/textfield.styles.d.ts +6 -17
- package/dist/components/textfield/textfield.styles.d.ts.map +1 -1
- package/dist/components/textfield/textfield.styles.js +3 -3
- package/dist/components/textfield.css +2 -2
- package/dist/components/time-field/time-field.styles.d.ts +6 -17
- package/dist/components/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/time-field/time-field.styles.js +3 -3
- package/dist/components/time-field.css +2 -2
- package/dist/components/toast/toast.styles.d.ts +56 -161
- package/dist/components/toast/toast.styles.d.ts.map +1 -1
- package/dist/components/toast/toast.styles.js +26 -26
- package/dist/components/toast.css +58 -56
- package/dist/components/toggle-button/toggle-button.styles.d.ts +8 -41
- package/dist/components/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.styles.js +8 -8
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts +23 -74
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/toggle-button-group/toggle-button-group.styles.js +7 -7
- package/dist/components/toggle-button-group.css +22 -26
- package/dist/components/toggle-button.css +11 -15
- package/dist/components/toolbar/toolbar.styles.d.ts +7 -26
- package/dist/components/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.styles.js +5 -5
- package/dist/components/toolbar.css +7 -7
- package/dist/components/tooltip/tooltip.styles.d.ts +11 -32
- package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.styles.js +3 -3
- package/dist/components/tooltip.css +2 -6
- package/dist/components/typography/typography.styles.d.ts +29 -107
- package/dist/components/typography/typography.styles.d.ts.map +1 -1
- package/dist/components/typography/typography.styles.js +24 -24
- package/dist/components/typography.css +53 -45
- package/dist/components/virtualizer/virtualizer.styles.d.ts +13 -37
- package/dist/components/virtualizer/virtualizer.styles.d.ts.map +1 -1
- package/dist/components/virtualizer/virtualizer.styles.js +4 -4
- package/dist/components/virtualizer.css +14 -6
- package/dist/core.css +26 -0
- package/dist/index.css +8 -24
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/no-preflight.css +8 -0
- package/dist/ropav.min.css +1 -1
- package/dist/themes/airbnb.css +6 -4
- package/dist/themes/coinbase.css +6 -4
- package/dist/themes/default.css +24 -4
- package/dist/themes/discord.css +6 -4
- package/dist/themes/hero.css +24 -4
- package/dist/themes/lavender.css +6 -4
- package/dist/themes/mint.css +6 -4
- package/dist/themes/netflix.css +6 -4
- package/dist/themes/rabbit.css +6 -4
- package/dist/themes/shared/theme.css +1 -0
- package/dist/themes/sky.css +6 -4
- package/dist/themes/spotify.css +6 -4
- package/dist/themes/uber.css +6 -4
- package/dist/themes.d.ts +12 -0
- package/dist/themes.d.ts.map +1 -0
- package/dist/themes.js +39 -0
- package/dist/tv.d.ts +34 -0
- package/dist/tv.d.ts.map +1 -0
- package/dist/tv.js +21 -0
- package/package.json +5 -3
- package/src/components/accordion/accordion.styles.ts +11 -11
- package/src/components/alert/alert.styles.ts +12 -12
- package/src/components/alert-dialog/alert-dialog.styles.ts +25 -25
- package/src/components/autocomplete/autocomplete.styles.ts +17 -17
- package/src/components/avatar/avatar.styles.ts +14 -14
- package/src/components/badge/badge.styles.ts +20 -20
- package/src/components/breadcrumbs/breadcrumbs.styles.ts +6 -6
- package/src/components/button/button.styles.ts +15 -15
- package/src/components/button-group/button-group.styles.ts +7 -7
- package/src/components/calendar/calendar.styles.ts +14 -14
- package/src/components/calendar-year-picker/calendar-year-picker.styles.ts +7 -7
- package/src/components/card/card.styles.ts +12 -12
- package/src/components/checkbox/checkbox.styles.ts +8 -8
- package/src/components/checkbox-group/checkbox-group.styles.ts +5 -5
- package/src/components/chip/chip.styles.ts +16 -16
- package/src/components/close-button/close-button.styles.ts +4 -4
- package/src/components/color-area/color-area.styles.ts +5 -5
- package/src/components/color-field/color-field.styles.ts +4 -4
- package/src/components/color-input-group/color-input-group.styles.ts +11 -11
- package/src/components/color-picker/color-picker.styles.ts +5 -5
- package/src/components/color-slider/color-slider.styles.ts +6 -6
- package/src/components/color-swatch/color-swatch.styles.ts +10 -10
- package/src/components/color-swatch-picker/color-swatch-picker.styles.ts +15 -15
- package/src/components/combo-box/combo-box.styles.ts +11 -11
- package/src/components/date-field/date-field.styles.ts +4 -4
- package/src/components/date-input-group/date-input-group.styles.ts +13 -13
- package/src/components/date-picker/date-picker.styles.ts +6 -6
- package/src/components/date-range-picker/date-range-picker.styles.ts +7 -7
- package/src/components/description/description.styles.ts +3 -3
- package/src/components/disclosure/disclosure.styles.ts +9 -9
- package/src/components/disclosure-group/disclosure-group.styles.ts +3 -3
- package/src/components/drawer/drawer.styles.ts +23 -23
- package/src/components/drop-zone/drop-zone.styles.ts +12 -0
- package/src/components/drop-zone/index.ts +1 -0
- package/src/components/dropdown/dropdown.styles.ts +6 -6
- package/src/components/empty-state/empty-state.styles.ts +3 -3
- package/src/components/error-message/error-message.styles.ts +3 -3
- package/src/components/field-error/field-error.styles.ts +3 -3
- package/src/components/fieldset/fieldset.styles.ts +7 -7
- package/src/components/header/header.styles.ts +2 -2
- package/src/components/index.ts +1 -0
- package/src/components/input/input.styles.ts +8 -8
- package/src/components/input-group/input-group.styles.ts +11 -11
- package/src/components/input-otp/input-otp.styles.ts +11 -11
- package/src/components/kbd/kbd.styles.ts +7 -7
- package/src/components/label/label.styles.ts +6 -6
- package/src/components/link/link.styles.ts +4 -4
- package/src/components/list-box/list-box.styles.ts +7 -7
- package/src/components/list-box-item/list-box-item.styles.ts +6 -6
- package/src/components/list-box-section/list-box-section.styles.ts +3 -3
- package/src/components/menu/menu.styles.ts +5 -5
- package/src/components/menu-item/menu-item.styles.ts +7 -7
- package/src/components/menu-section/menu-section.styles.ts +3 -3
- package/src/components/meter/meter.styles.ts +14 -14
- package/src/components/modal/modal.styles.ts +27 -27
- package/src/components/number-field/number-field.styles.ts +13 -13
- package/src/components/pagination/pagination.styles.ts +18 -11
- package/src/components/popover/popover.styles.ts +6 -6
- package/src/components/progress-bar/progress-bar.styles.ts +28 -14
- package/src/components/progress-circle/progress-circle.styles.ts +14 -14
- package/src/components/radio/radio.styles.ts +6 -6
- package/src/components/radio-group/radio-group.styles.ts +5 -5
- package/src/components/range-calendar/range-calendar.styles.ts +16 -14
- package/src/components/scroll-shadow/scroll-shadow.styles.ts +7 -7
- package/src/components/search-field/search-field.styles.ts +13 -13
- package/src/components/segmented-control/segmented-control.styles.ts +10 -10
- package/src/components/select/select.styles.ts +15 -15
- package/src/components/separator/separator.styles.ts +8 -8
- package/src/components/sidebar/sidebar.styles.ts +55 -32
- package/src/components/skeleton/skeleton.styles.ts +6 -6
- package/src/components/slider/slider.styles.ts +8 -8
- package/src/components/spinner/spinner.styles.ts +12 -12
- package/src/components/splitter/splitter.styles.ts +13 -13
- package/src/components/surface/surface.styles.ts +7 -7
- package/src/components/switch/switch.styles.ts +10 -10
- package/src/components/switch-group/switch-group.styles.ts +6 -6
- package/src/components/table/table.styles.ts +21 -19
- package/src/components/tabs/tabs.styles.ts +13 -13
- package/src/components/tag/tag.styles.ts +9 -9
- package/src/components/tag-group/tag-group.styles.ts +4 -4
- package/src/components/textarea/textarea.styles.ts +8 -8
- package/src/components/textfield/textfield.styles.ts +4 -4
- package/src/components/time-field/time-field.styles.ts +4 -4
- package/src/components/toast/toast.styles.ts +27 -27
- package/src/components/toggle-button/toggle-button.styles.ts +9 -9
- package/src/components/toggle-button-group/toggle-button-group.styles.ts +8 -8
- package/src/components/toolbar/toolbar.styles.ts +6 -6
- package/src/components/tooltip/tooltip.styles.ts +4 -4
- package/src/components/typography/typography.styles.ts +25 -25
- package/src/components/virtualizer/virtualizer.styles.ts +4 -4
- package/src/index.ts +5 -2
- package/src/themes.ts +40 -0
- package/src/tv.ts +82 -0
|
@@ -1,58 +1,25 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const sliderVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} |
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} | {}, {
|
|
25
|
-
base: string;
|
|
26
|
-
fill: string;
|
|
27
|
-
marks: string;
|
|
28
|
-
output: string;
|
|
29
|
-
thumb: string;
|
|
30
|
-
track: string;
|
|
31
|
-
}, undefined, {
|
|
32
|
-
[key: string]: {
|
|
33
|
-
[key: string]: {
|
|
34
|
-
base?: import("tailwind-variants").ClassValue;
|
|
35
|
-
fill?: import("tailwind-variants").ClassValue;
|
|
36
|
-
marks?: import("tailwind-variants").ClassValue;
|
|
37
|
-
output?: import("tailwind-variants").ClassValue;
|
|
38
|
-
thumb?: import("tailwind-variants").ClassValue;
|
|
39
|
-
track?: import("tailwind-variants").ClassValue;
|
|
40
|
-
} | import("tailwind-variants").ClassValue;
|
|
41
|
-
};
|
|
42
|
-
} | {}, {
|
|
43
|
-
base: string;
|
|
44
|
-
fill: string;
|
|
45
|
-
marks: string;
|
|
46
|
-
output: string;
|
|
47
|
-
thumb: string;
|
|
48
|
-
track: string;
|
|
49
|
-
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
50
|
-
base: string;
|
|
51
|
-
fill: string;
|
|
52
|
-
marks: string;
|
|
53
|
-
output: string;
|
|
54
|
-
thumb: string;
|
|
55
|
-
track: string;
|
|
56
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const sliderVariants: (props?: ({
|
|
3
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
4
|
+
} & object) | undefined) => {
|
|
5
|
+
base: (props?: ({
|
|
6
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
7
|
+
} & object) | undefined) => string;
|
|
8
|
+
fill: (props?: ({
|
|
9
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
10
|
+
} & object) | undefined) => string;
|
|
11
|
+
marks: (props?: ({
|
|
12
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
13
|
+
} & object) | undefined) => string;
|
|
14
|
+
output: (props?: ({
|
|
15
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
16
|
+
} & object) | undefined) => string;
|
|
17
|
+
thumb: (props?: ({
|
|
18
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
19
|
+
} & object) | undefined) => string;
|
|
20
|
+
track: (props?: ({
|
|
21
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
22
|
+
} & object) | undefined) => string;
|
|
23
|
+
};
|
|
57
24
|
export type SliderVariants = VariantProps<typeof sliderVariants>;
|
|
58
25
|
//# sourceMappingURL=slider.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CASzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/slider/slider.styles.ts
|
|
3
3
|
const sliderVariants = tv({ slots: {
|
|
4
|
-
base: "slider",
|
|
5
|
-
fill: "slider__fill",
|
|
6
|
-
marks: "slider__marks",
|
|
7
|
-
output: "slider__output",
|
|
8
|
-
thumb: "slider__thumb",
|
|
9
|
-
track: "slider__track"
|
|
4
|
+
base: "rp-slider",
|
|
5
|
+
fill: "rp-slider__fill",
|
|
6
|
+
marks: "rp-slider__marks",
|
|
7
|
+
output: "rp-slider__output",
|
|
8
|
+
thumb: "rp-slider__thumb",
|
|
9
|
+
track: "rp-slider__track"
|
|
10
10
|
} });
|
|
11
11
|
//#endregion
|
|
12
12
|
export { sliderVariants };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Slider styles */
|
|
2
2
|
|
|
3
|
-
.slider {
|
|
3
|
+
.rp-slider {
|
|
4
4
|
@apply grid w-full gap-1;
|
|
5
5
|
|
|
6
6
|
grid-template-areas:
|
|
@@ -14,14 +14,16 @@
|
|
|
14
14
|
grid-area: label;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.slider__output {
|
|
17
|
+
.rp-slider__output {
|
|
18
18
|
@apply text-sm font-medium tabular-nums;
|
|
19
19
|
|
|
20
20
|
grid-area: output;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.slider__track {
|
|
24
|
-
@apply relative
|
|
23
|
+
.rp-slider__track {
|
|
24
|
+
@apply relative bg-default;
|
|
25
|
+
|
|
26
|
+
border-radius: min(32px, var(--component-radius));
|
|
25
27
|
|
|
26
28
|
grid-area: track;
|
|
27
29
|
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
39
|
|
|
38
|
-
.slider__fill {
|
|
40
|
+
.rp-slider__fill {
|
|
39
41
|
@apply pointer-events-none absolute bg-accent;
|
|
40
42
|
|
|
41
43
|
/* The only thing showing how far along the value is */
|
|
@@ -44,9 +46,11 @@
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
.slider__thumb {
|
|
49
|
+
.rp-slider__thumb {
|
|
48
50
|
/* Flex container for centering pseudo-elements */
|
|
49
|
-
@apply absolute flex cursor-grab items-center justify-center
|
|
51
|
+
@apply absolute flex cursor-grab items-center justify-center bg-accent no-highlight;
|
|
52
|
+
|
|
53
|
+
border-radius: min(32px, var(--component-radius));
|
|
50
54
|
|
|
51
55
|
/* The wrapper is the fill colour in ordinary use, which hides it against the fill. Flattened
|
|
52
56
|
* to `Canvas` it would punch a hole through the fill instead, so it steps back and lets
|
|
@@ -55,10 +59,6 @@
|
|
|
55
59
|
background-color: transparent;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
|
-
/**
|
|
59
|
-
* Transitions
|
|
60
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
61
|
-
*/
|
|
62
62
|
transition:
|
|
63
63
|
background-color 250ms var(--ease-smooth),
|
|
64
64
|
transform 250ms var(--ease-out),
|
|
@@ -67,9 +67,11 @@
|
|
|
67
67
|
|
|
68
68
|
/* after: Visible thumb element */
|
|
69
69
|
&::after {
|
|
70
|
-
@apply relative z-10
|
|
70
|
+
@apply relative z-10 bg-accent-foreground text-black shadow-field;
|
|
71
71
|
content: "";
|
|
72
72
|
|
|
73
|
+
border-radius: min(32px, var(--component-radius));
|
|
74
|
+
|
|
73
75
|
/* Both the knob's fill and the shadow that separates it from the track are gone under
|
|
74
76
|
* forced colors. `Canvas` inside a `CanvasText` ring reads against the bare track on one
|
|
75
77
|
* side and the `Highlight` fill on the other, which no single flat colour manages. */
|
|
@@ -79,10 +81,7 @@
|
|
|
79
81
|
outline-offset: -2px;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
|
|
83
|
-
* Transitions
|
|
84
|
-
*/
|
|
85
|
-
@apply origin-center transition-all motion-reduce:transition-none;
|
|
84
|
+
@apply origin-center transition-all;
|
|
86
85
|
}
|
|
87
86
|
|
|
88
87
|
/* Dragging state - cursor changes and thumb scales down */
|
|
@@ -120,7 +119,7 @@
|
|
|
120
119
|
&[data-orientation="horizontal"] {
|
|
121
120
|
flex-direction: column;
|
|
122
121
|
|
|
123
|
-
.slider__track {
|
|
122
|
+
.rp-slider__track {
|
|
124
123
|
@apply h-5 w-full;
|
|
125
124
|
/* Add transparent borders to provide space for thumb at edges */
|
|
126
125
|
/* Thumb width is 1.5rem (24px), so half is 0.75rem (12px) */
|
|
@@ -152,12 +151,12 @@
|
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
153
|
|
|
155
|
-
.slider__fill,
|
|
156
|
-
.slider__thumb {
|
|
154
|
+
.rp-slider__fill,
|
|
155
|
+
.rp-slider__thumb {
|
|
157
156
|
@apply h-full;
|
|
158
157
|
}
|
|
159
158
|
|
|
160
|
-
.slider__thumb {
|
|
159
|
+
.rp-slider__thumb {
|
|
161
160
|
@apply top-1/2;
|
|
162
161
|
|
|
163
162
|
/* Thumb width + border width */
|
|
@@ -182,7 +181,7 @@
|
|
|
182
181
|
grid-template-rows: auto 1fr auto;
|
|
183
182
|
grid-template-columns: 1fr;
|
|
184
183
|
|
|
185
|
-
.slider__output {
|
|
184
|
+
.rp-slider__output {
|
|
186
185
|
text-align: center;
|
|
187
186
|
}
|
|
188
187
|
|
|
@@ -190,7 +189,7 @@
|
|
|
190
189
|
text-align: center;
|
|
191
190
|
}
|
|
192
191
|
|
|
193
|
-
.slider__track {
|
|
192
|
+
.rp-slider__track {
|
|
194
193
|
@apply h-full w-5;
|
|
195
194
|
/* Add transparent borders to provide space for thumb at edges */
|
|
196
195
|
/* Thumb height is 1.5rem (24px), so half is 0.75rem (12px) */
|
|
@@ -220,12 +219,12 @@
|
|
|
220
219
|
}
|
|
221
220
|
}
|
|
222
221
|
|
|
223
|
-
.slider__fill,
|
|
224
|
-
.slider__thumb {
|
|
222
|
+
.rp-slider__fill,
|
|
223
|
+
.rp-slider__thumb {
|
|
225
224
|
@apply w-full;
|
|
226
225
|
}
|
|
227
226
|
|
|
228
|
-
.slider__thumb {
|
|
227
|
+
.rp-slider__thumb {
|
|
229
228
|
/* Cross-axis centering; React Aria applies a physical translateX(-50%), so keep left-1/2 for RTL correctness */
|
|
230
229
|
@apply left-1/2;
|
|
231
230
|
|
|
@@ -1,46 +1,9 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const spinnerVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
warning: "spinner--warning";
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
lg: "spinner--lg";
|
|
12
|
-
md: "spinner--md";
|
|
13
|
-
sm: "spinner--sm";
|
|
14
|
-
xl: "spinner--xl";
|
|
15
|
-
};
|
|
16
|
-
}, undefined, "spinner", {
|
|
17
|
-
color: {
|
|
18
|
-
accent: "spinner--accent";
|
|
19
|
-
current: "spinner--current";
|
|
20
|
-
danger: "spinner--danger";
|
|
21
|
-
success: "spinner--success";
|
|
22
|
-
warning: "spinner--warning";
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
lg: "spinner--lg";
|
|
26
|
-
md: "spinner--md";
|
|
27
|
-
sm: "spinner--sm";
|
|
28
|
-
xl: "spinner--xl";
|
|
29
|
-
};
|
|
30
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
31
|
-
color: {
|
|
32
|
-
accent: "spinner--accent";
|
|
33
|
-
current: "spinner--current";
|
|
34
|
-
danger: "spinner--danger";
|
|
35
|
-
success: "spinner--success";
|
|
36
|
-
warning: "spinner--warning";
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
lg: "spinner--lg";
|
|
40
|
-
md: "spinner--md";
|
|
41
|
-
sm: "spinner--sm";
|
|
42
|
-
xl: "spinner--xl";
|
|
43
|
-
};
|
|
44
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const spinnerVariants: (props?: ({
|
|
3
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
color?: "accent" | "current" | "danger" | "success" | "warning" | undefined;
|
|
6
|
+
size?: "lg" | "md" | "sm" | "xl" | undefined;
|
|
7
|
+
}) | undefined) => string;
|
|
45
8
|
export type SpinnerVariants = VariantProps<typeof spinnerVariants>;
|
|
46
9
|
//# sourceMappingURL=spinner.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.styles.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"spinner.styles.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/spinner.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,eAAe;;;;;yBAqB1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/spinner/spinner.styles.ts
|
|
3
3
|
const spinnerVariants = tv({
|
|
4
|
-
base: "spinner",
|
|
4
|
+
base: "rp-spinner",
|
|
5
5
|
defaultVariants: {
|
|
6
6
|
color: "accent",
|
|
7
7
|
size: "md"
|
|
8
8
|
},
|
|
9
9
|
variants: {
|
|
10
10
|
color: {
|
|
11
|
-
accent: "spinner--accent",
|
|
12
|
-
current: "spinner--current",
|
|
13
|
-
danger: "spinner--danger",
|
|
14
|
-
success: "spinner--success",
|
|
15
|
-
warning: "spinner--warning"
|
|
11
|
+
accent: "rp-spinner--accent",
|
|
12
|
+
current: "rp-spinner--current",
|
|
13
|
+
danger: "rp-spinner--danger",
|
|
14
|
+
success: "rp-spinner--success",
|
|
15
|
+
warning: "rp-spinner--warning"
|
|
16
16
|
},
|
|
17
17
|
size: {
|
|
18
|
-
lg: "spinner--lg",
|
|
19
|
-
md: "spinner--md",
|
|
20
|
-
sm: "spinner--sm",
|
|
21
|
-
xl: "spinner--xl"
|
|
18
|
+
lg: "rp-spinner--lg",
|
|
19
|
+
md: "rp-spinner--md",
|
|
20
|
+
sm: "rp-spinner--sm",
|
|
21
|
+
xl: "rp-spinner--xl"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
});
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
/* Base spinner styles */
|
|
2
|
-
.spinner {
|
|
2
|
+
.rp-spinner {
|
|
3
3
|
@apply pointer-events-none inline-flex size-6 shrink-0 animate-spin-fast motion-reduce:animate-none;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
/* Size variants */
|
|
7
|
-
.spinner--sm {
|
|
7
|
+
.rp-spinner--sm {
|
|
8
8
|
@apply size-4;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.spinner--md {
|
|
11
|
+
.rp-spinner--md {
|
|
12
12
|
/* No styles as this is the default size */
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.spinner--lg {
|
|
15
|
+
.rp-spinner--lg {
|
|
16
16
|
@apply size-8;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.spinner--xl {
|
|
19
|
+
.rp-spinner--xl {
|
|
20
20
|
@apply size-10;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* Color variants */
|
|
24
|
-
.spinner--current {
|
|
24
|
+
.rp-spinner--current {
|
|
25
25
|
color: inherit;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.spinner--accent {
|
|
28
|
+
.rp-spinner--accent {
|
|
29
29
|
color: var(--accent);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.spinner--danger {
|
|
32
|
+
.rp-spinner--danger {
|
|
33
33
|
color: var(--danger);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.spinner--success {
|
|
36
|
+
.rp-spinner--success {
|
|
37
37
|
color: var(--success);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.spinner--warning {
|
|
40
|
+
.rp-spinner--warning {
|
|
41
41
|
color: var(--warning);
|
|
42
42
|
}
|
|
@@ -1,61 +1,34 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const splitterVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
}, {
|
|
35
|
-
base: string;
|
|
36
|
-
handle: string;
|
|
37
|
-
handleGrip: string;
|
|
38
|
-
handleTarget: string;
|
|
39
|
-
panel: string;
|
|
40
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
41
|
-
orientation: {
|
|
42
|
-
horizontal: {
|
|
43
|
-
base: string;
|
|
44
|
-
handle: string;
|
|
45
|
-
handleGrip: string;
|
|
46
|
-
};
|
|
47
|
-
vertical: {
|
|
48
|
-
base: string;
|
|
49
|
-
handle: string;
|
|
50
|
-
handleGrip: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
}, {
|
|
54
|
-
base: string;
|
|
55
|
-
handle: string;
|
|
56
|
-
handleGrip: string;
|
|
57
|
-
handleTarget: string;
|
|
58
|
-
panel: string;
|
|
59
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const splitterVariants: (props?: ({
|
|
3
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
6
|
+
}) | undefined) => {
|
|
7
|
+
base: (props?: ({
|
|
8
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
11
|
+
}) | undefined) => string;
|
|
12
|
+
handle: (props?: ({
|
|
13
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
16
|
+
}) | undefined) => string;
|
|
17
|
+
handleGrip: (props?: ({
|
|
18
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
21
|
+
}) | undefined) => string;
|
|
22
|
+
handleTarget: (props?: ({
|
|
23
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
26
|
+
}) | undefined) => string;
|
|
27
|
+
panel: (props?: ({
|
|
28
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
29
|
+
} & {
|
|
30
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
31
|
+
}) | undefined) => string;
|
|
32
|
+
};
|
|
60
33
|
export type SplitterVariants = VariantProps<typeof splitterVariants>;
|
|
61
34
|
//# sourceMappingURL=splitter.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitter.styles.d.ts","sourceRoot":"","sources":["../../../src/components/splitter/splitter.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"splitter.styles.d.ts","sourceRoot":"","sources":["../../../src/components/splitter/splitter.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAgB7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/splitter/splitter.styles.ts
|
|
3
3
|
const splitterVariants = tv({
|
|
4
4
|
defaultVariants: { orientation: "horizontal" },
|
|
5
5
|
slots: {
|
|
6
|
-
base: "splitter",
|
|
7
|
-
handle: "splitter__handle",
|
|
8
|
-
handleGrip: "splitter__handle-grip",
|
|
9
|
-
handleTarget: "splitter__handle-target",
|
|
10
|
-
panel: "splitter__panel"
|
|
6
|
+
base: "rp-splitter",
|
|
7
|
+
handle: "rp-splitter__handle",
|
|
8
|
+
handleGrip: "rp-splitter__handle-grip",
|
|
9
|
+
handleTarget: "rp-splitter__handle-target",
|
|
10
|
+
panel: "rp-splitter__panel"
|
|
11
11
|
},
|
|
12
12
|
variants: { orientation: {
|
|
13
13
|
horizontal: {
|
|
14
|
-
base: "splitter--horizontal",
|
|
15
|
-
handle: "splitter__handle--horizontal",
|
|
16
|
-
handleGrip: "splitter__handle-grip--horizontal"
|
|
14
|
+
base: "rp-splitter--horizontal",
|
|
15
|
+
handle: "rp-splitter__handle--horizontal",
|
|
16
|
+
handleGrip: "rp-splitter__handle-grip--horizontal"
|
|
17
17
|
},
|
|
18
18
|
vertical: {
|
|
19
|
-
base: "splitter--vertical",
|
|
20
|
-
handle: "splitter__handle--vertical",
|
|
21
|
-
handleGrip: "splitter__handle-grip--vertical"
|
|
19
|
+
base: "rp-splitter--vertical",
|
|
20
|
+
handle: "rp-splitter__handle--vertical",
|
|
21
|
+
handleGrip: "rp-splitter__handle-grip--vertical"
|
|
22
22
|
}
|
|
23
23
|
} }
|
|
24
24
|
});
|