@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,46 +1,10 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const textAreaVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
md: "";
|
|
10
|
-
sm: "textarea--sm";
|
|
11
|
-
};
|
|
12
|
-
variant: {
|
|
13
|
-
primary: "textarea--primary";
|
|
14
|
-
secondary: "textarea--secondary";
|
|
15
|
-
};
|
|
16
|
-
}, undefined, "textarea", {
|
|
17
|
-
fullWidth: {
|
|
18
|
-
false: "";
|
|
19
|
-
true: "textarea--full-width";
|
|
20
|
-
};
|
|
21
|
-
size: {
|
|
22
|
-
lg: "textarea--lg";
|
|
23
|
-
md: "";
|
|
24
|
-
sm: "textarea--sm";
|
|
25
|
-
};
|
|
26
|
-
variant: {
|
|
27
|
-
primary: "textarea--primary";
|
|
28
|
-
secondary: "textarea--secondary";
|
|
29
|
-
};
|
|
30
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
31
|
-
fullWidth: {
|
|
32
|
-
false: "";
|
|
33
|
-
true: "textarea--full-width";
|
|
34
|
-
};
|
|
35
|
-
size: {
|
|
36
|
-
lg: "textarea--lg";
|
|
37
|
-
md: "";
|
|
38
|
-
sm: "textarea--sm";
|
|
39
|
-
};
|
|
40
|
-
variant: {
|
|
41
|
-
primary: "textarea--primary";
|
|
42
|
-
secondary: "textarea--secondary";
|
|
43
|
-
};
|
|
44
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const textAreaVariants: (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
|
+
fullWidth?: boolean | undefined;
|
|
6
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
7
|
+
variant?: "primary" | "secondary" | undefined;
|
|
8
|
+
}) | undefined) => string;
|
|
45
9
|
export type TextAreaVariants = VariantProps<typeof textAreaVariants>;
|
|
46
10
|
//# sourceMappingURL=textarea.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.styles.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/textarea.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textarea.styles.d.ts","sourceRoot":"","sources":["../../../src/components/textarea/textarea.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,gBAAgB;;;;;;yBAsB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/textarea/textarea.styles.ts
|
|
3
3
|
const textAreaVariants = tv({
|
|
4
|
-
base: "textarea",
|
|
4
|
+
base: "rp-textarea",
|
|
5
5
|
defaultVariants: {
|
|
6
6
|
fullWidth: false,
|
|
7
7
|
size: "md",
|
|
@@ -10,16 +10,16 @@ const textAreaVariants = tv({
|
|
|
10
10
|
variants: {
|
|
11
11
|
fullWidth: {
|
|
12
12
|
false: "",
|
|
13
|
-
true: "textarea--full-width"
|
|
13
|
+
true: "rp-textarea--full-width"
|
|
14
14
|
},
|
|
15
15
|
size: {
|
|
16
|
-
lg: "textarea--lg",
|
|
16
|
+
lg: "rp-textarea--lg",
|
|
17
17
|
md: "",
|
|
18
|
-
sm: "textarea--sm"
|
|
18
|
+
sm: "rp-textarea--sm"
|
|
19
19
|
},
|
|
20
20
|
variant: {
|
|
21
|
-
primary: "textarea--primary",
|
|
22
|
-
secondary: "textarea--secondary"
|
|
21
|
+
primary: "rp-textarea--primary",
|
|
22
|
+
secondary: "rp-textarea--secondary"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/* use textarea instead of text-area to avoid conflict with Tailwind `text-` prefix */
|
|
2
|
-
.textarea {
|
|
3
|
-
@apply rounded-field border
|
|
2
|
+
.rp-textarea {
|
|
3
|
+
@apply rounded-field border px-3 field-line-md text-field-foreground shadow-field outline-none placeholder:text-field-placeholder;
|
|
4
|
+
|
|
5
|
+
/* The fill, per state. The `--secondary` variant re-points these and declares nothing else. */
|
|
6
|
+
--textarea-bg: var(--field-background, var(--default));
|
|
7
|
+
--textarea-bg-hover: var(--field-hover);
|
|
8
|
+
--textarea-bg-focus: var(--field-focus);
|
|
9
|
+
|
|
10
|
+
background-color: var(--textarea-bg);
|
|
4
11
|
|
|
5
12
|
min-height: 38px;
|
|
6
13
|
|
|
@@ -17,10 +24,6 @@
|
|
|
17
24
|
outline-offset: -1px;
|
|
18
25
|
}
|
|
19
26
|
|
|
20
|
-
/**
|
|
21
|
-
* Transitions
|
|
22
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
23
|
-
*/
|
|
24
27
|
transition:
|
|
25
28
|
background-color 150ms var(--ease-smooth),
|
|
26
29
|
border-color 150ms var(--ease-smooth),
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
@media (hover: hover) {
|
|
31
34
|
&:hover:not(:focus):not(:focus-visible),
|
|
32
35
|
&[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
|
|
33
|
-
|
|
36
|
+
background-color: var(--textarea-bg-hover);
|
|
34
37
|
border-color: var(--field-border-hover);
|
|
35
38
|
}
|
|
36
39
|
}
|
|
@@ -40,7 +43,7 @@
|
|
|
40
43
|
&[data-focused="true"] {
|
|
41
44
|
@apply status-focused-field;
|
|
42
45
|
border-color: var(--field-border-focus);
|
|
43
|
-
background-color: var(--
|
|
46
|
+
background-color: var(--textarea-bg-focus);
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
/* Focus visible state */
|
|
@@ -50,7 +53,7 @@
|
|
|
50
53
|
|
|
51
54
|
&[data-invalid="true"] {
|
|
52
55
|
@apply status-invalid-field;
|
|
53
|
-
background-color: var(--
|
|
56
|
+
background-color: var(--textarea-bg-focus);
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
/* Disabled state */
|
|
@@ -62,44 +65,20 @@
|
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
/* Variant property definitions */
|
|
65
|
-
.textarea--primary {
|
|
68
|
+
.rp-textarea--primary {
|
|
66
69
|
/* Default styles */
|
|
67
70
|
}
|
|
68
71
|
|
|
69
|
-
.textarea--secondary {
|
|
72
|
+
.rp-textarea--secondary {
|
|
70
73
|
@apply shadow-none;
|
|
71
|
-
background-color: var(--textarea-bg);
|
|
72
74
|
|
|
73
75
|
--textarea-bg: var(--default);
|
|
74
76
|
--textarea-bg-hover: var(--default-hover);
|
|
75
77
|
--textarea-bg-focus: var(--default);
|
|
76
|
-
|
|
77
|
-
@media (hover: hover) {
|
|
78
|
-
&:hover:not(:focus):not(:focus-visible),
|
|
79
|
-
&[data-hovered="true"]:not([data-focused="true"]):not([data-focus-visible="true"]) {
|
|
80
|
-
background-color: var(--textarea-bg-hover);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:focus,
|
|
85
|
-
&[data-focused="true"] {
|
|
86
|
-
background-color: var(--textarea-bg-focus);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Focus visible state */
|
|
90
|
-
&:focus-visible:not(:focus),
|
|
91
|
-
&[data-focus-visible="true"] {
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* Invalid state */
|
|
95
|
-
&[data-invalid="true"] {
|
|
96
|
-
@apply status-invalid-field;
|
|
97
|
-
background-color: var(--textarea-bg-focus);
|
|
98
|
-
}
|
|
99
78
|
}
|
|
100
79
|
|
|
101
80
|
/* Full width modifier */
|
|
102
|
-
.textarea--full-width {
|
|
81
|
+
.rp-textarea--full-width {
|
|
103
82
|
@apply w-full;
|
|
104
83
|
}
|
|
105
84
|
|
|
@@ -107,10 +86,10 @@
|
|
|
107
86
|
Size variants
|
|
108
87
|
========================================================================== */
|
|
109
88
|
|
|
110
|
-
.textarea--sm {
|
|
89
|
+
.rp-textarea--sm {
|
|
111
90
|
@apply field-line-sm;
|
|
112
91
|
}
|
|
113
92
|
|
|
114
|
-
.textarea--lg {
|
|
93
|
+
.rp-textarea--lg {
|
|
115
94
|
@apply field-line-lg;
|
|
116
95
|
}
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const textFieldVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, undefined, "textfield", {
|
|
8
|
-
fullWidth: {
|
|
9
|
-
false: "";
|
|
10
|
-
true: "textfield--full-width";
|
|
11
|
-
};
|
|
12
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
|
-
fullWidth: {
|
|
14
|
-
false: "";
|
|
15
|
-
true: "textfield--full-width";
|
|
16
|
-
};
|
|
17
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const textFieldVariants: (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
|
+
fullWidth?: boolean | undefined;
|
|
6
|
+
}) | undefined) => string;
|
|
18
7
|
export type TextFieldVariants = VariantProps<typeof textFieldVariants>;
|
|
19
8
|
//# sourceMappingURL=textfield.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textfield.styles.d.ts","sourceRoot":"","sources":["../../../src/components/textfield/textfield.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textfield.styles.d.ts","sourceRoot":"","sources":["../../../src/components/textfield/textfield.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,iBAAiB;;;;yBAW5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/textfield/textfield.styles.ts
|
|
3
3
|
const textFieldVariants = tv({
|
|
4
|
-
base: "textfield",
|
|
4
|
+
base: "rp-textfield",
|
|
5
5
|
defaultVariants: { fullWidth: false },
|
|
6
6
|
variants: { fullWidth: {
|
|
7
7
|
false: "",
|
|
8
|
-
true: "textfield--full-width"
|
|
8
|
+
true: "rp-textfield--full-width"
|
|
9
9
|
} }
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* Text field styles */
|
|
2
2
|
/* use textfield instead of text-field to avoid conflict with Tailwind `text-` prefix */
|
|
3
|
-
.textfield {
|
|
3
|
+
.rp-textfield {
|
|
4
4
|
@apply flex flex-col gap-1;
|
|
5
5
|
|
|
6
6
|
&[data-invalid="true"],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Full width modifier */
|
|
15
|
-
.textfield--full-width {
|
|
15
|
+
.rp-textfield--full-width {
|
|
16
16
|
@apply w-full;
|
|
17
17
|
|
|
18
18
|
/* Automatically make Input full width when TextField is full width */
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const timeFieldVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, undefined, "time-field", {
|
|
8
|
-
fullWidth: {
|
|
9
|
-
false: "";
|
|
10
|
-
true: "time-field--full-width";
|
|
11
|
-
};
|
|
12
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
|
-
fullWidth: {
|
|
14
|
-
false: "";
|
|
15
|
-
true: "time-field--full-width";
|
|
16
|
-
};
|
|
17
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const timeFieldVariants: (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
|
+
fullWidth?: boolean | undefined;
|
|
6
|
+
}) | undefined) => string;
|
|
18
7
|
export type TimeFieldVariants = VariantProps<typeof timeFieldVariants>;
|
|
19
8
|
//# sourceMappingURL=time-field.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/time-field/time-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"time-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/time-field/time-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,iBAAiB;;;;yBAW5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/time-field/time-field.styles.ts
|
|
3
3
|
const timeFieldVariants = tv({
|
|
4
|
-
base: "time-field",
|
|
4
|
+
base: "rp-time-field",
|
|
5
5
|
defaultVariants: { fullWidth: false },
|
|
6
6
|
variants: { fullWidth: {
|
|
7
7
|
false: "",
|
|
8
|
-
true: "time-field--full-width"
|
|
8
|
+
true: "rp-time-field--full-width"
|
|
9
9
|
} }
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Time field styles */
|
|
2
|
-
.time-field {
|
|
2
|
+
.rp-time-field {
|
|
3
3
|
@apply flex flex-col gap-1;
|
|
4
4
|
|
|
5
5
|
&[data-invalid="true"],
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Full width modifier */
|
|
18
|
-
.time-field--full-width {
|
|
18
|
+
.rp-time-field--full-width {
|
|
19
19
|
@apply w-full;
|
|
20
20
|
}
|
|
@@ -1,163 +1,58 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const toastVariants:
|
|
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
|
-
accent
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
default
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
warning
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
bottom: {
|
|
58
|
-
region: string;
|
|
59
|
-
toast: string;
|
|
60
|
-
};
|
|
61
|
-
"bottom end": {
|
|
62
|
-
region: string;
|
|
63
|
-
toast: string;
|
|
64
|
-
};
|
|
65
|
-
"bottom start": {
|
|
66
|
-
region: string;
|
|
67
|
-
toast: string;
|
|
68
|
-
};
|
|
69
|
-
top: {
|
|
70
|
-
region: string;
|
|
71
|
-
toast: string;
|
|
72
|
-
};
|
|
73
|
-
"top end": {
|
|
74
|
-
region: string;
|
|
75
|
-
toast: string;
|
|
76
|
-
};
|
|
77
|
-
"top start": {
|
|
78
|
-
region: string;
|
|
79
|
-
toast: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
variant: {
|
|
83
|
-
accent: {
|
|
84
|
-
toast: string;
|
|
85
|
-
};
|
|
86
|
-
danger: {
|
|
87
|
-
toast: string;
|
|
88
|
-
};
|
|
89
|
-
default: {
|
|
90
|
-
toast: string;
|
|
91
|
-
};
|
|
92
|
-
success: {
|
|
93
|
-
toast: string;
|
|
94
|
-
};
|
|
95
|
-
warning: {
|
|
96
|
-
toast: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
}, {
|
|
100
|
-
action: string;
|
|
101
|
-
close: string;
|
|
102
|
-
content: string;
|
|
103
|
-
description: string;
|
|
104
|
-
indicator: string;
|
|
105
|
-
region: string;
|
|
106
|
-
title: string;
|
|
107
|
-
toast: string;
|
|
108
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
109
|
-
placement: {
|
|
110
|
-
bottom: {
|
|
111
|
-
region: string;
|
|
112
|
-
toast: string;
|
|
113
|
-
};
|
|
114
|
-
"bottom end": {
|
|
115
|
-
region: string;
|
|
116
|
-
toast: string;
|
|
117
|
-
};
|
|
118
|
-
"bottom start": {
|
|
119
|
-
region: string;
|
|
120
|
-
toast: string;
|
|
121
|
-
};
|
|
122
|
-
top: {
|
|
123
|
-
region: string;
|
|
124
|
-
toast: string;
|
|
125
|
-
};
|
|
126
|
-
"top end": {
|
|
127
|
-
region: string;
|
|
128
|
-
toast: string;
|
|
129
|
-
};
|
|
130
|
-
"top start": {
|
|
131
|
-
region: string;
|
|
132
|
-
toast: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
variant: {
|
|
136
|
-
accent: {
|
|
137
|
-
toast: string;
|
|
138
|
-
};
|
|
139
|
-
danger: {
|
|
140
|
-
toast: string;
|
|
141
|
-
};
|
|
142
|
-
default: {
|
|
143
|
-
toast: string;
|
|
144
|
-
};
|
|
145
|
-
success: {
|
|
146
|
-
toast: string;
|
|
147
|
-
};
|
|
148
|
-
warning: {
|
|
149
|
-
toast: string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
}, {
|
|
153
|
-
action: string;
|
|
154
|
-
close: string;
|
|
155
|
-
content: string;
|
|
156
|
-
description: string;
|
|
157
|
-
indicator: string;
|
|
158
|
-
region: string;
|
|
159
|
-
title: string;
|
|
160
|
-
toast: string;
|
|
161
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const toastVariants: (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
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
6
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
7
|
+
}) | undefined) => {
|
|
8
|
+
action: (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
|
+
} & {
|
|
11
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
12
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
13
|
+
}) | undefined) => string;
|
|
14
|
+
close: (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
|
+
} & {
|
|
17
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
18
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
19
|
+
}) | undefined) => string;
|
|
20
|
+
content: (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
|
+
} & {
|
|
23
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
24
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
25
|
+
}) | undefined) => string;
|
|
26
|
+
description: (props?: ({
|
|
27
|
+
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;
|
|
28
|
+
} & {
|
|
29
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
30
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
31
|
+
}) | undefined) => string;
|
|
32
|
+
indicator: (props?: ({
|
|
33
|
+
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;
|
|
34
|
+
} & {
|
|
35
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
36
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
37
|
+
}) | undefined) => string;
|
|
38
|
+
region: (props?: ({
|
|
39
|
+
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;
|
|
40
|
+
} & {
|
|
41
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
42
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
43
|
+
}) | undefined) => string;
|
|
44
|
+
title: (props?: ({
|
|
45
|
+
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;
|
|
46
|
+
} & {
|
|
47
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
48
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
49
|
+
}) | undefined) => string;
|
|
50
|
+
toast: (props?: ({
|
|
51
|
+
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;
|
|
52
|
+
} & {
|
|
53
|
+
placement?: "bottom" | "bottom end" | "bottom start" | "top" | "top end" | "top start" | undefined;
|
|
54
|
+
variant?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
55
|
+
}) | undefined) => string;
|
|
56
|
+
};
|
|
162
57
|
export type ToastVariants = VariantProps<typeof toastVariants>;
|
|
163
58
|
//# sourceMappingURL=toast.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.styles.d.ts","sourceRoot":"","sources":["../../../src/components/toast/toast.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toast.styles.d.ts","sourceRoot":"","sources":["../../../src/components/toast/toast.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/toast/toast.styles.ts
|
|
3
3
|
const toastVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -6,48 +6,48 @@ const toastVariants = tv({
|
|
|
6
6
|
variant: "default"
|
|
7
7
|
},
|
|
8
8
|
slots: {
|
|
9
|
-
action: "toast__action",
|
|
10
|
-
close: "toast__close-button",
|
|
11
|
-
content: "toast__content",
|
|
12
|
-
description: "toast__description",
|
|
13
|
-
indicator: "toast__indicator",
|
|
14
|
-
region: "toast-region",
|
|
15
|
-
title: "toast__title",
|
|
16
|
-
toast: "toast"
|
|
9
|
+
action: "rp-toast__action",
|
|
10
|
+
close: "rp-toast__close-button",
|
|
11
|
+
content: "rp-toast__content",
|
|
12
|
+
description: "rp-toast__description",
|
|
13
|
+
indicator: "rp-toast__indicator",
|
|
14
|
+
region: "rp-toast-region",
|
|
15
|
+
title: "rp-toast__title",
|
|
16
|
+
toast: "rp-toast"
|
|
17
17
|
},
|
|
18
18
|
variants: {
|
|
19
19
|
placement: {
|
|
20
20
|
bottom: {
|
|
21
|
-
region: "toast-region--bottom",
|
|
22
|
-
toast: "toast--bottom"
|
|
21
|
+
region: "rp-toast-region--bottom",
|
|
22
|
+
toast: "rp-toast--bottom"
|
|
23
23
|
},
|
|
24
24
|
"bottom end": {
|
|
25
|
-
region: "toast-region--bottom-end",
|
|
26
|
-
toast: "toast--bottom-end"
|
|
25
|
+
region: "rp-toast-region--bottom-end",
|
|
26
|
+
toast: "rp-toast--bottom-end"
|
|
27
27
|
},
|
|
28
28
|
"bottom start": {
|
|
29
|
-
region: "toast-region--bottom-start",
|
|
30
|
-
toast: "toast--bottom-start"
|
|
29
|
+
region: "rp-toast-region--bottom-start",
|
|
30
|
+
toast: "rp-toast--bottom-start"
|
|
31
31
|
},
|
|
32
32
|
top: {
|
|
33
|
-
region: "toast-region--top",
|
|
34
|
-
toast: "toast--top"
|
|
33
|
+
region: "rp-toast-region--top",
|
|
34
|
+
toast: "rp-toast--top"
|
|
35
35
|
},
|
|
36
36
|
"top end": {
|
|
37
|
-
region: "toast-region--top-end",
|
|
38
|
-
toast: "toast--top-end"
|
|
37
|
+
region: "rp-toast-region--top-end",
|
|
38
|
+
toast: "rp-toast--top-end"
|
|
39
39
|
},
|
|
40
40
|
"top start": {
|
|
41
|
-
region: "toast-region--top-start",
|
|
42
|
-
toast: "toast--top-start"
|
|
41
|
+
region: "rp-toast-region--top-start",
|
|
42
|
+
toast: "rp-toast--top-start"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
variant: {
|
|
46
|
-
accent: { toast: "toast--accent" },
|
|
47
|
-
danger: { toast: "toast--danger" },
|
|
48
|
-
default: { toast: "toast--default" },
|
|
49
|
-
success: { toast: "toast--success" },
|
|
50
|
-
warning: { toast: "toast--warning" }
|
|
46
|
+
accent: { toast: "rp-toast--accent" },
|
|
47
|
+
danger: { toast: "rp-toast--danger" },
|
|
48
|
+
default: { toast: "rp-toast--default" },
|
|
49
|
+
success: { toast: "rp-toast--success" },
|
|
50
|
+
warning: { toast: "rp-toast--warning" }
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
});
|