@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,40 +1,16 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorPickerVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} |
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
trigger?: import("tailwind-variants").ClassValue;
|
|
16
|
-
} | import("tailwind-variants").ClassValue;
|
|
17
|
-
};
|
|
18
|
-
} | {}, {
|
|
19
|
-
base: string;
|
|
20
|
-
popover: string;
|
|
21
|
-
trigger: string;
|
|
22
|
-
}, undefined, {
|
|
23
|
-
[key: string]: {
|
|
24
|
-
[key: string]: {
|
|
25
|
-
base?: import("tailwind-variants").ClassValue;
|
|
26
|
-
popover?: import("tailwind-variants").ClassValue;
|
|
27
|
-
trigger?: import("tailwind-variants").ClassValue;
|
|
28
|
-
} | import("tailwind-variants").ClassValue;
|
|
29
|
-
};
|
|
30
|
-
} | {}, {
|
|
31
|
-
base: string;
|
|
32
|
-
popover: string;
|
|
33
|
-
trigger: string;
|
|
34
|
-
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
35
|
-
base: string;
|
|
36
|
-
popover: string;
|
|
37
|
-
trigger: string;
|
|
38
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorPickerVariants: (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
|
+
popover: (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
|
+
trigger: (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
|
+
};
|
|
39
15
|
export type ColorPickerVariants = VariantProps<typeof colorPickerVariants>;
|
|
40
16
|
//# sourceMappingURL=color-picker.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-picker/color-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-picker/color-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;CAM9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-picker/color-picker.styles.ts
|
|
3
3
|
const colorPickerVariants = tv({ slots: {
|
|
4
|
-
base: "color-picker",
|
|
5
|
-
popover: "color-picker__popover",
|
|
6
|
-
trigger: "color-picker__trigger"
|
|
4
|
+
base: "rp-color-picker",
|
|
5
|
+
popover: "rp-color-picker__popover",
|
|
6
|
+
trigger: "rp-color-picker__trigger"
|
|
7
7
|
} });
|
|
8
8
|
//#endregion
|
|
9
9
|
export { colorPickerVariants };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base color-picker styles */
|
|
6
|
-
.color-picker {
|
|
6
|
+
.rp-color-picker {
|
|
7
7
|
@apply inline-flex;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -11,16 +11,12 @@
|
|
|
11
11
|
Trigger
|
|
12
12
|
========================================================================== */
|
|
13
13
|
|
|
14
|
-
.color-picker__trigger {
|
|
14
|
+
.rp-color-picker__trigger {
|
|
15
15
|
@apply inline-flex items-center gap-3 rounded-sm text-sm no-highlight;
|
|
16
16
|
|
|
17
17
|
/* Cursor */
|
|
18
18
|
cursor: var(--cursor-interactive);
|
|
19
19
|
|
|
20
|
-
/**
|
|
21
|
-
* Transitions
|
|
22
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
23
|
-
*/
|
|
24
20
|
transition:
|
|
25
21
|
background-color 150ms var(--ease-smooth),
|
|
26
22
|
box-shadow 150ms var(--ease-out);
|
|
@@ -48,10 +44,10 @@
|
|
|
48
44
|
Popover
|
|
49
45
|
========================================================================== */
|
|
50
46
|
|
|
51
|
-
.color-picker__popover {
|
|
47
|
+
.rp-color-picker__popover {
|
|
52
48
|
@apply min-w-62 origin-(--trigger-anchor-point) scrollbar-none overflow-x-hidden overflow-y-auto overscroll-contain bg-overlay px-2 pt-2 pb-3;
|
|
53
49
|
box-shadow: var(--shadow-overlay);
|
|
54
|
-
border-radius: min(32px,
|
|
50
|
+
border-radius: min(32px, var(--component-radius));
|
|
55
51
|
/* Content layout */
|
|
56
52
|
@apply flex flex-col gap-3;
|
|
57
53
|
|
|
@@ -1,46 +1,19 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorSliderVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} | import("tailwind-variants").ClassValue;
|
|
19
|
-
};
|
|
20
|
-
} | {}, {
|
|
21
|
-
base: string;
|
|
22
|
-
output: string;
|
|
23
|
-
thumb: string;
|
|
24
|
-
track: string;
|
|
25
|
-
}, undefined, {
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: {
|
|
28
|
-
base?: import("tailwind-variants").ClassValue;
|
|
29
|
-
output?: import("tailwind-variants").ClassValue;
|
|
30
|
-
thumb?: import("tailwind-variants").ClassValue;
|
|
31
|
-
track?: import("tailwind-variants").ClassValue;
|
|
32
|
-
} | import("tailwind-variants").ClassValue;
|
|
33
|
-
};
|
|
34
|
-
} | {}, {
|
|
35
|
-
base: string;
|
|
36
|
-
output: string;
|
|
37
|
-
thumb: string;
|
|
38
|
-
track: string;
|
|
39
|
-
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
40
|
-
base: string;
|
|
41
|
-
output: string;
|
|
42
|
-
thumb: string;
|
|
43
|
-
track: string;
|
|
44
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorSliderVariants: (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
|
+
output: (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
|
+
thumb: (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
|
+
track: (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
|
+
};
|
|
45
18
|
export type ColorSliderVariants = VariantProps<typeof colorSliderVariants>;
|
|
46
19
|
//# sourceMappingURL=color-slider.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-slider/color-slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-slider.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-slider/color-slider.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;CAO9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-slider/color-slider.styles.ts
|
|
3
3
|
const colorSliderVariants = tv({ slots: {
|
|
4
|
-
base: "color-slider",
|
|
5
|
-
output: "color-slider__output",
|
|
6
|
-
thumb: "color-slider__thumb",
|
|
7
|
-
track: "color-slider__track"
|
|
4
|
+
base: "rp-color-slider",
|
|
5
|
+
output: "rp-color-slider__output",
|
|
6
|
+
thumb: "rp-color-slider__thumb",
|
|
7
|
+
track: "rp-color-slider__track"
|
|
8
8
|
} });
|
|
9
9
|
//#endregion
|
|
10
10
|
export { colorSliderVariants };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.color-slider {
|
|
6
|
+
.rp-color-slider {
|
|
7
7
|
@apply grid w-full gap-1;
|
|
8
8
|
|
|
9
9
|
grid-template-areas:
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
grid-template-rows: auto auto;
|
|
14
14
|
|
|
15
15
|
/* When neither label nor output exist, collapse to single row */
|
|
16
|
-
&:not(:has([data-slot="label"])):not(:has(.color-slider__output)) {
|
|
16
|
+
&:not(:has([data-slot="label"])):not(:has(.rp-color-slider__output)) {
|
|
17
17
|
grid-template-areas: "track";
|
|
18
18
|
grid-template-columns: 1fr;
|
|
19
19
|
grid-template-rows: auto;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* When only label exists (no output) */
|
|
24
|
-
&:has([data-slot="label"]):not(:has(.color-slider__output)) {
|
|
24
|
+
&:has([data-slot="label"]):not(:has(.rp-color-slider__output)) {
|
|
25
25
|
grid-template-areas:
|
|
26
26
|
"label"
|
|
27
27
|
"track";
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/* When only output exists (no label) */
|
|
32
|
-
&:not(:has([data-slot="label"])):has(.color-slider__output) {
|
|
32
|
+
&:not(:has([data-slot="label"])):has(.rp-color-slider__output) {
|
|
33
33
|
grid-template-areas:
|
|
34
34
|
"output"
|
|
35
35
|
"track";
|
|
36
36
|
grid-template-columns: 1fr;
|
|
37
37
|
|
|
38
|
-
.color-slider__output {
|
|
38
|
+
.rp-color-slider__output {
|
|
39
39
|
justify-self: end;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -46,14 +46,16 @@
|
|
|
46
46
|
grid-area: label;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.color-slider__output {
|
|
49
|
+
.rp-color-slider__output {
|
|
50
50
|
@apply text-sm font-medium tabular-nums;
|
|
51
51
|
|
|
52
52
|
grid-area: output;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.color-slider__track {
|
|
56
|
-
@apply relative
|
|
55
|
+
.rp-color-slider__track {
|
|
56
|
+
@apply relative;
|
|
57
|
+
|
|
58
|
+
border-radius: min(32px, var(--component-radius));
|
|
57
59
|
|
|
58
60
|
grid-area: track;
|
|
59
61
|
/* Edge cap pseudo-elements */
|
|
@@ -66,9 +68,11 @@
|
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
.color-slider__thumb {
|
|
71
|
+
.rp-color-slider__thumb {
|
|
70
72
|
/* Flex container for centering */
|
|
71
|
-
@apply absolute flex cursor-grab items-center justify-center
|
|
73
|
+
@apply absolute flex cursor-grab items-center justify-center no-highlight;
|
|
74
|
+
|
|
75
|
+
border-radius: min(32px, var(--component-radius));
|
|
72
76
|
|
|
73
77
|
/* Border to create white ring around the thumb */
|
|
74
78
|
@apply border-3 border-white shadow-overlay;
|
|
@@ -76,10 +80,6 @@
|
|
|
76
80
|
/* Ensure thumb is above edge caps */
|
|
77
81
|
z-index: 1;
|
|
78
82
|
|
|
79
|
-
/**
|
|
80
|
-
* Transitions
|
|
81
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
82
|
-
*/
|
|
83
83
|
transition:
|
|
84
84
|
transform 250ms var(--ease-out),
|
|
85
85
|
box-shadow 150ms var(--ease-out);
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
&[data-orientation="horizontal"] {
|
|
117
117
|
flex-direction: column;
|
|
118
118
|
|
|
119
|
-
.color-slider__track {
|
|
119
|
+
.rp-color-slider__track {
|
|
120
120
|
@apply h-5 justify-self-center rounded-none;
|
|
121
121
|
width: calc(100% - 1.25rem);
|
|
122
122
|
|
|
@@ -133,7 +133,8 @@
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&::before {
|
|
136
|
-
|
|
136
|
+
border-start-start-radius: min(32px, var(--component-radius));
|
|
137
|
+
border-end-start-radius: min(32px, var(--component-radius));
|
|
137
138
|
inset-inline-start: -0.625rem;
|
|
138
139
|
box-shadow:
|
|
139
140
|
inset 1px 0 0 0 rgba(0, 0, 0, 0.1),
|
|
@@ -145,7 +146,8 @@
|
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
&::after {
|
|
148
|
-
|
|
149
|
+
border-start-end-radius: min(32px, var(--component-radius));
|
|
150
|
+
border-end-end-radius: min(32px, var(--component-radius));
|
|
149
151
|
inset-inline-end: -0.625rem;
|
|
150
152
|
box-shadow:
|
|
151
153
|
inset -1px 0 0 0 rgba(0, 0, 0, 0.1),
|
|
@@ -155,7 +157,7 @@
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
.color-slider__thumb {
|
|
160
|
+
.rp-color-slider__thumb {
|
|
159
161
|
@apply top-1/2 size-4;
|
|
160
162
|
}
|
|
161
163
|
}
|
|
@@ -175,14 +177,14 @@
|
|
|
175
177
|
justify-items: center;
|
|
176
178
|
|
|
177
179
|
/* When neither label nor output exist in vertical, just show track */
|
|
178
|
-
&:not(:has([data-slot="label"])):not(:has(.color-slider__output)) {
|
|
180
|
+
&:not(:has([data-slot="label"])):not(:has(.rp-color-slider__output)) {
|
|
179
181
|
grid-template-areas: "track";
|
|
180
182
|
grid-template-rows: 1fr;
|
|
181
183
|
gap: 0;
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
/* When only label exists in vertical (no output) */
|
|
185
|
-
&:has([data-slot="label"]):not(:has(.color-slider__output)) {
|
|
187
|
+
&:has([data-slot="label"]):not(:has(.rp-color-slider__output)) {
|
|
186
188
|
grid-template-areas:
|
|
187
189
|
"track"
|
|
188
190
|
"label";
|
|
@@ -190,14 +192,14 @@
|
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
/* When only output exists in vertical (no label) */
|
|
193
|
-
&:not(:has([data-slot="label"])):has(.color-slider__output) {
|
|
195
|
+
&:not(:has([data-slot="label"])):has(.rp-color-slider__output) {
|
|
194
196
|
grid-template-areas:
|
|
195
197
|
"output"
|
|
196
198
|
"track";
|
|
197
199
|
grid-template-rows: auto 1fr;
|
|
198
200
|
}
|
|
199
201
|
|
|
200
|
-
.color-slider__output {
|
|
202
|
+
.rp-color-slider__output {
|
|
201
203
|
text-align: center;
|
|
202
204
|
}
|
|
203
205
|
|
|
@@ -205,7 +207,7 @@
|
|
|
205
207
|
text-align: center;
|
|
206
208
|
}
|
|
207
209
|
|
|
208
|
-
.color-slider__track {
|
|
210
|
+
.rp-color-slider__track {
|
|
209
211
|
@apply w-5 justify-self-center rounded-none;
|
|
210
212
|
height: calc(100% - 1.25rem);
|
|
211
213
|
|
|
@@ -223,8 +225,8 @@
|
|
|
223
225
|
|
|
224
226
|
&::before {
|
|
225
227
|
bottom: -0.625rem;
|
|
226
|
-
border-end-start-radius:
|
|
227
|
-
border-end-end-radius:
|
|
228
|
+
border-end-start-radius: min(32px, var(--component-radius));
|
|
229
|
+
border-end-end-radius: min(32px, var(--component-radius));
|
|
228
230
|
/* Left, right, and bottom borders for bottom cap */
|
|
229
231
|
box-shadow:
|
|
230
232
|
inset 1px 0 0 0 rgba(0, 0, 0, 0.1),
|
|
@@ -237,8 +239,8 @@
|
|
|
237
239
|
|
|
238
240
|
&::after {
|
|
239
241
|
top: -0.625rem;
|
|
240
|
-
border-start-start-radius:
|
|
241
|
-
border-start-end-radius:
|
|
242
|
+
border-start-start-radius: min(32px, var(--component-radius));
|
|
243
|
+
border-start-end-radius: min(32px, var(--component-radius));
|
|
242
244
|
/* Left, right, and top borders for top cap */
|
|
243
245
|
box-shadow:
|
|
244
246
|
inset 1px 0 0 0 rgba(0, 0, 0, 0.1),
|
|
@@ -248,7 +250,7 @@
|
|
|
248
250
|
}
|
|
249
251
|
}
|
|
250
252
|
|
|
251
|
-
.color-slider__thumb {
|
|
253
|
+
.rp-color-slider__thumb {
|
|
252
254
|
/* Cross-axis centering; React Aria applies a physical translateX(-50%), so keep left-1/2 for RTL correctness */
|
|
253
255
|
@apply left-1/2 size-4;
|
|
254
256
|
}
|
|
@@ -1,40 +1,9 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorSwatchVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
lg: "color-swatch--lg";
|
|
9
|
-
md: "color-swatch--md";
|
|
10
|
-
sm: "color-swatch--sm";
|
|
11
|
-
xl: "color-swatch--xl";
|
|
12
|
-
xs: "color-swatch--xs";
|
|
13
|
-
};
|
|
14
|
-
}, undefined, "color-swatch", {
|
|
15
|
-
shape: {
|
|
16
|
-
circle: "color-swatch--circle";
|
|
17
|
-
square: "color-swatch--square";
|
|
18
|
-
};
|
|
19
|
-
size: {
|
|
20
|
-
lg: "color-swatch--lg";
|
|
21
|
-
md: "color-swatch--md";
|
|
22
|
-
sm: "color-swatch--sm";
|
|
23
|
-
xl: "color-swatch--xl";
|
|
24
|
-
xs: "color-swatch--xs";
|
|
25
|
-
};
|
|
26
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
27
|
-
shape: {
|
|
28
|
-
circle: "color-swatch--circle";
|
|
29
|
-
square: "color-swatch--square";
|
|
30
|
-
};
|
|
31
|
-
size: {
|
|
32
|
-
lg: "color-swatch--lg";
|
|
33
|
-
md: "color-swatch--md";
|
|
34
|
-
sm: "color-swatch--sm";
|
|
35
|
-
xl: "color-swatch--xl";
|
|
36
|
-
xs: "color-swatch--xs";
|
|
37
|
-
};
|
|
38
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorSwatchVariants: (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
|
+
shape?: "circle" | "square" | undefined;
|
|
6
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
7
|
+
}) | undefined) => string;
|
|
39
8
|
export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
|
|
40
9
|
//# sourceMappingURL=color-swatch.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-swatch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-swatch/color-swatch.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-swatch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-swatch/color-swatch.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;;yBAmB9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-swatch/color-swatch.styles.ts
|
|
3
3
|
const colorSwatchVariants = tv({
|
|
4
|
-
base: "color-swatch",
|
|
4
|
+
base: "rp-color-swatch",
|
|
5
5
|
defaultVariants: {
|
|
6
6
|
shape: "circle",
|
|
7
7
|
size: "md"
|
|
8
8
|
},
|
|
9
9
|
variants: {
|
|
10
10
|
shape: {
|
|
11
|
-
circle: "color-swatch--circle",
|
|
12
|
-
square: "color-swatch--square"
|
|
11
|
+
circle: "rp-color-swatch--circle",
|
|
12
|
+
square: "rp-color-swatch--square"
|
|
13
13
|
},
|
|
14
14
|
size: {
|
|
15
|
-
lg: "color-swatch--lg",
|
|
16
|
-
md: "color-swatch--md",
|
|
17
|
-
sm: "color-swatch--sm",
|
|
18
|
-
xl: "color-swatch--xl",
|
|
19
|
-
xs: "color-swatch--xs"
|
|
15
|
+
lg: "rp-color-swatch--lg",
|
|
16
|
+
md: "rp-color-swatch--md",
|
|
17
|
+
sm: "rp-color-swatch--sm",
|
|
18
|
+
xl: "rp-color-swatch--xl",
|
|
19
|
+
xs: "rp-color-swatch--xs"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -1,121 +1,39 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorSwatchPickerVariants:
|
|
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
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
indicator: string;
|
|
39
|
-
item: string;
|
|
40
|
-
swatch: string;
|
|
41
|
-
}, undefined, {
|
|
42
|
-
layout: {
|
|
43
|
-
grid: {
|
|
44
|
-
base: string;
|
|
45
|
-
};
|
|
46
|
-
stack: {
|
|
47
|
-
base: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
lg: {
|
|
52
|
-
base: string;
|
|
53
|
-
};
|
|
54
|
-
md: {
|
|
55
|
-
base: string;
|
|
56
|
-
};
|
|
57
|
-
sm: {
|
|
58
|
-
base: string;
|
|
59
|
-
};
|
|
60
|
-
xl: {
|
|
61
|
-
base: string;
|
|
62
|
-
};
|
|
63
|
-
xs: {
|
|
64
|
-
base: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
variant: {
|
|
68
|
-
circle: {
|
|
69
|
-
base: string;
|
|
70
|
-
};
|
|
71
|
-
square: {
|
|
72
|
-
base: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
76
|
-
base: string;
|
|
77
|
-
indicator: string;
|
|
78
|
-
item: string;
|
|
79
|
-
swatch: string;
|
|
80
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
81
|
-
layout: {
|
|
82
|
-
grid: {
|
|
83
|
-
base: string;
|
|
84
|
-
};
|
|
85
|
-
stack: {
|
|
86
|
-
base: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
size: {
|
|
90
|
-
lg: {
|
|
91
|
-
base: string;
|
|
92
|
-
};
|
|
93
|
-
md: {
|
|
94
|
-
base: string;
|
|
95
|
-
};
|
|
96
|
-
sm: {
|
|
97
|
-
base: string;
|
|
98
|
-
};
|
|
99
|
-
xl: {
|
|
100
|
-
base: string;
|
|
101
|
-
};
|
|
102
|
-
xs: {
|
|
103
|
-
base: string;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
variant: {
|
|
107
|
-
circle: {
|
|
108
|
-
base: string;
|
|
109
|
-
};
|
|
110
|
-
square: {
|
|
111
|
-
base: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
}, {
|
|
115
|
-
base: string;
|
|
116
|
-
indicator: string;
|
|
117
|
-
item: string;
|
|
118
|
-
swatch: string;
|
|
119
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorSwatchPickerVariants: (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
|
+
layout?: "grid" | "stack" | undefined;
|
|
6
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
7
|
+
variant?: "circle" | "square" | undefined;
|
|
8
|
+
}) | undefined) => {
|
|
9
|
+
base: (props?: ({
|
|
10
|
+
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;
|
|
11
|
+
} & {
|
|
12
|
+
layout?: "grid" | "stack" | undefined;
|
|
13
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
14
|
+
variant?: "circle" | "square" | undefined;
|
|
15
|
+
}) | undefined) => string;
|
|
16
|
+
indicator: (props?: ({
|
|
17
|
+
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;
|
|
18
|
+
} & {
|
|
19
|
+
layout?: "grid" | "stack" | undefined;
|
|
20
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
21
|
+
variant?: "circle" | "square" | undefined;
|
|
22
|
+
}) | undefined) => string;
|
|
23
|
+
item: (props?: ({
|
|
24
|
+
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;
|
|
25
|
+
} & {
|
|
26
|
+
layout?: "grid" | "stack" | undefined;
|
|
27
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
28
|
+
variant?: "circle" | "square" | undefined;
|
|
29
|
+
}) | undefined) => string;
|
|
30
|
+
swatch: (props?: ({
|
|
31
|
+
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;
|
|
32
|
+
} & {
|
|
33
|
+
layout?: "grid" | "stack" | undefined;
|
|
34
|
+
size?: "lg" | "md" | "sm" | "xl" | "xs" | undefined;
|
|
35
|
+
variant?: "circle" | "square" | undefined;
|
|
36
|
+
}) | undefined) => string;
|
|
37
|
+
};
|
|
120
38
|
export type ColorSwatchPickerVariants = VariantProps<typeof colorSwatchPickerVariants>;
|
|
121
39
|
//# sourceMappingURL=color-swatch-picker.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-swatch-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-swatch-picker/color-swatch-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-swatch-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-swatch-picker/color-swatch-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CpC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|