@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,175 +1,81 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const alertDialogVariants:
|
|
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
|
-
default
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
cover
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
};
|
|
81
|
-
danger: {
|
|
82
|
-
icon: string;
|
|
83
|
-
};
|
|
84
|
-
default: {
|
|
85
|
-
icon: string;
|
|
86
|
-
};
|
|
87
|
-
success: {
|
|
88
|
-
icon: string;
|
|
89
|
-
};
|
|
90
|
-
warning: {
|
|
91
|
-
icon: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
variant: {
|
|
95
|
-
blur: {
|
|
96
|
-
backdrop: string;
|
|
97
|
-
};
|
|
98
|
-
opaque: {
|
|
99
|
-
backdrop: string;
|
|
100
|
-
};
|
|
101
|
-
transparent: {
|
|
102
|
-
backdrop: string;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}, {
|
|
106
|
-
backdrop: string;
|
|
107
|
-
body: string;
|
|
108
|
-
closeTrigger: string;
|
|
109
|
-
container: string;
|
|
110
|
-
dialog: string;
|
|
111
|
-
footer: string;
|
|
112
|
-
header: string;
|
|
113
|
-
heading: string;
|
|
114
|
-
icon: string;
|
|
115
|
-
trigger: string;
|
|
116
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
117
|
-
size: {
|
|
118
|
-
cover: {
|
|
119
|
-
dialog: string;
|
|
120
|
-
};
|
|
121
|
-
lg: {
|
|
122
|
-
dialog: string;
|
|
123
|
-
};
|
|
124
|
-
md: {
|
|
125
|
-
dialog: string;
|
|
126
|
-
};
|
|
127
|
-
sm: {
|
|
128
|
-
dialog: string;
|
|
129
|
-
};
|
|
130
|
-
xs: {
|
|
131
|
-
dialog: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
status: {
|
|
135
|
-
accent: {
|
|
136
|
-
icon: string;
|
|
137
|
-
};
|
|
138
|
-
danger: {
|
|
139
|
-
icon: string;
|
|
140
|
-
};
|
|
141
|
-
default: {
|
|
142
|
-
icon: string;
|
|
143
|
-
};
|
|
144
|
-
success: {
|
|
145
|
-
icon: string;
|
|
146
|
-
};
|
|
147
|
-
warning: {
|
|
148
|
-
icon: string;
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
variant: {
|
|
152
|
-
blur: {
|
|
153
|
-
backdrop: string;
|
|
154
|
-
};
|
|
155
|
-
opaque: {
|
|
156
|
-
backdrop: string;
|
|
157
|
-
};
|
|
158
|
-
transparent: {
|
|
159
|
-
backdrop: string;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
}, {
|
|
163
|
-
backdrop: string;
|
|
164
|
-
body: string;
|
|
165
|
-
closeTrigger: string;
|
|
166
|
-
container: string;
|
|
167
|
-
dialog: string;
|
|
168
|
-
footer: string;
|
|
169
|
-
header: string;
|
|
170
|
-
heading: string;
|
|
171
|
-
icon: string;
|
|
172
|
-
trigger: string;
|
|
173
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const alertDialogVariants: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
6
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
7
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
8
|
+
}) | undefined) => {
|
|
9
|
+
backdrop: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
13
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
14
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
15
|
+
}) | undefined) => string;
|
|
16
|
+
body: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
20
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
21
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
22
|
+
}) | undefined) => string;
|
|
23
|
+
closeTrigger: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
27
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
28
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
29
|
+
}) | undefined) => string;
|
|
30
|
+
container: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
34
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
35
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
36
|
+
}) | undefined) => string;
|
|
37
|
+
dialog: (props?: ({
|
|
38
|
+
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;
|
|
39
|
+
} & {
|
|
40
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
41
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
42
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
43
|
+
}) | undefined) => string;
|
|
44
|
+
footer: (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
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
48
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
49
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
50
|
+
}) | undefined) => string;
|
|
51
|
+
header: (props?: ({
|
|
52
|
+
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;
|
|
53
|
+
} & {
|
|
54
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
55
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
56
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
57
|
+
}) | undefined) => string;
|
|
58
|
+
heading: (props?: ({
|
|
59
|
+
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;
|
|
60
|
+
} & {
|
|
61
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
62
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
63
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
64
|
+
}) | undefined) => string;
|
|
65
|
+
icon: (props?: ({
|
|
66
|
+
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;
|
|
67
|
+
} & {
|
|
68
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
69
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
70
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
71
|
+
}) | undefined) => string;
|
|
72
|
+
trigger: (props?: ({
|
|
73
|
+
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;
|
|
74
|
+
} & {
|
|
75
|
+
size?: "cover" | "lg" | "md" | "sm" | "xs" | undefined;
|
|
76
|
+
status?: "accent" | "danger" | "default" | "success" | "warning" | undefined;
|
|
77
|
+
variant?: "blur" | "opaque" | "transparent" | undefined;
|
|
78
|
+
}) | undefined) => string;
|
|
79
|
+
};
|
|
174
80
|
export type AlertDialogVariants = VariantProps<typeof alertDialogVariants>;
|
|
175
81
|
//# sourceMappingURL=alert-dialog.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/components/alert-dialog/alert-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"alert-dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/components/alert-dialog/alert-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/alert-dialog/alert-dialog.styles.ts
|
|
3
3
|
const alertDialogVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -7,36 +7,36 @@ const alertDialogVariants = tv({
|
|
|
7
7
|
variant: "opaque"
|
|
8
8
|
},
|
|
9
9
|
slots: {
|
|
10
|
-
backdrop: "alert-dialog__backdrop",
|
|
11
|
-
body: "alert-dialog__body",
|
|
12
|
-
closeTrigger: "alert-dialog__close-trigger",
|
|
13
|
-
container: "alert-dialog__container",
|
|
14
|
-
dialog: "alert-dialog__dialog",
|
|
15
|
-
footer: "alert-dialog__footer",
|
|
16
|
-
header: "alert-dialog__header",
|
|
17
|
-
heading: "alert-dialog__heading",
|
|
18
|
-
icon: "alert-dialog__icon",
|
|
19
|
-
trigger: "alert-dialog__trigger"
|
|
10
|
+
backdrop: "rp-alert-dialog__backdrop",
|
|
11
|
+
body: "rp-alert-dialog__body",
|
|
12
|
+
closeTrigger: "rp-alert-dialog__close-trigger",
|
|
13
|
+
container: "rp-alert-dialog__container",
|
|
14
|
+
dialog: "rp-alert-dialog__dialog",
|
|
15
|
+
footer: "rp-alert-dialog__footer",
|
|
16
|
+
header: "rp-alert-dialog__header",
|
|
17
|
+
heading: "rp-alert-dialog__heading",
|
|
18
|
+
icon: "rp-alert-dialog__icon",
|
|
19
|
+
trigger: "rp-alert-dialog__trigger"
|
|
20
20
|
},
|
|
21
21
|
variants: {
|
|
22
22
|
size: {
|
|
23
|
-
cover: { dialog: "alert-dialog__dialog--cover" },
|
|
24
|
-
lg: { dialog: "alert-dialog__dialog--lg" },
|
|
25
|
-
md: { dialog: "alert-dialog__dialog--md" },
|
|
26
|
-
sm: { dialog: "alert-dialog__dialog--sm" },
|
|
27
|
-
xs: { dialog: "alert-dialog__dialog--xs" }
|
|
23
|
+
cover: { dialog: "rp-alert-dialog__dialog--cover" },
|
|
24
|
+
lg: { dialog: "rp-alert-dialog__dialog--lg" },
|
|
25
|
+
md: { dialog: "rp-alert-dialog__dialog--md" },
|
|
26
|
+
sm: { dialog: "rp-alert-dialog__dialog--sm" },
|
|
27
|
+
xs: { dialog: "rp-alert-dialog__dialog--xs" }
|
|
28
28
|
},
|
|
29
29
|
status: {
|
|
30
|
-
accent: { icon: "alert-dialog__icon--accent" },
|
|
31
|
-
danger: { icon: "alert-dialog__icon--danger" },
|
|
32
|
-
default: { icon: "alert-dialog__icon--default" },
|
|
33
|
-
success: { icon: "alert-dialog__icon--success" },
|
|
34
|
-
warning: { icon: "alert-dialog__icon--warning" }
|
|
30
|
+
accent: { icon: "rp-alert-dialog__icon--accent" },
|
|
31
|
+
danger: { icon: "rp-alert-dialog__icon--danger" },
|
|
32
|
+
default: { icon: "rp-alert-dialog__icon--default" },
|
|
33
|
+
success: { icon: "rp-alert-dialog__icon--success" },
|
|
34
|
+
warning: { icon: "rp-alert-dialog__icon--warning" }
|
|
35
35
|
},
|
|
36
36
|
variant: {
|
|
37
|
-
blur: { backdrop: "alert-dialog__backdrop--blur" },
|
|
38
|
-
opaque: { backdrop: "alert-dialog__backdrop--opaque" },
|
|
39
|
-
transparent: { backdrop: "alert-dialog__backdrop--transparent" }
|
|
37
|
+
blur: { backdrop: "rp-alert-dialog__backdrop--blur" },
|
|
38
|
+
opaque: { backdrop: "rp-alert-dialog__backdrop--opaque" },
|
|
39
|
+
transparent: { backdrop: "rp-alert-dialog__backdrop--transparent" }
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -6,14 +6,10 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* Element: trigger - the element that opens the modal
|
|
8
8
|
*/
|
|
9
|
-
.alert-dialog__trigger {
|
|
9
|
+
.rp-alert-dialog__trigger {
|
|
10
10
|
@apply inline-block;
|
|
11
11
|
@apply cursor-(--cursor-interactive);
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* Transitions
|
|
15
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
16
|
-
*/
|
|
17
13
|
transition:
|
|
18
14
|
transform 250ms var(--ease-out-quart),
|
|
19
15
|
background-color 150ms var(--ease-smooth),
|
|
@@ -42,7 +38,7 @@
|
|
|
42
38
|
/**
|
|
43
39
|
* Element: backdrop - the overlay behind the dialog
|
|
44
40
|
*/
|
|
45
|
-
.alert-dialog__backdrop {
|
|
41
|
+
.rp-alert-dialog__backdrop {
|
|
46
42
|
@apply fixed inset-0 z-50;
|
|
47
43
|
@apply flex flex-row items-center justify-center;
|
|
48
44
|
@apply h-(--visual-viewport-height) w-full;
|
|
@@ -57,10 +53,6 @@
|
|
|
57
53
|
@apply animate-out duration-100 ease-out fade-out-0;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
|
-
/**
|
|
61
|
-
* Reduce Animation
|
|
62
|
-
* CRITICAL: motion-reduce must be AFTER animate for correct override specificity
|
|
63
|
-
*/
|
|
64
56
|
&[data-exiting="true"],
|
|
65
57
|
&[data-entering="true"] {
|
|
66
58
|
@apply will-change-[opacity];
|
|
@@ -71,28 +63,28 @@
|
|
|
71
63
|
/**
|
|
72
64
|
* Modifier: backdrop--transparent
|
|
73
65
|
*/
|
|
74
|
-
.alert-dialog__backdrop--transparent {
|
|
66
|
+
.rp-alert-dialog__backdrop--transparent {
|
|
75
67
|
@apply bg-transparent;
|
|
76
68
|
}
|
|
77
69
|
|
|
78
70
|
/**
|
|
79
71
|
* Modifier: backdrop--opaque
|
|
80
72
|
*/
|
|
81
|
-
.alert-dialog__backdrop--opaque {
|
|
73
|
+
.rp-alert-dialog__backdrop--opaque {
|
|
82
74
|
@apply bg-backdrop;
|
|
83
75
|
}
|
|
84
76
|
|
|
85
77
|
/**
|
|
86
78
|
* Modifier: backdrop--blur
|
|
87
79
|
*/
|
|
88
|
-
.alert-dialog__backdrop--blur {
|
|
80
|
+
.rp-alert-dialog__backdrop--blur {
|
|
89
81
|
@apply bg-backdrop backdrop-blur-md;
|
|
90
82
|
}
|
|
91
83
|
|
|
92
84
|
/**
|
|
93
85
|
* Element: container - the positioning wrapper for the modal
|
|
94
86
|
*/
|
|
95
|
-
.alert-dialog__container {
|
|
87
|
+
.rp-alert-dialog__container {
|
|
96
88
|
@apply flex flex-col items-center;
|
|
97
89
|
@apply h-(--visual-viewport-height) w-full min-w-0 flex-1;
|
|
98
90
|
@apply p-4;
|
|
@@ -126,10 +118,6 @@
|
|
|
126
118
|
@apply animate-out duration-100 ease-out-quad fade-out-0 zoom-out-95;
|
|
127
119
|
}
|
|
128
120
|
|
|
129
|
-
/**
|
|
130
|
-
* Reduce Animation
|
|
131
|
-
* CRITICAL: motion-reduce must be AFTER animate for correct override specificity
|
|
132
|
-
*/
|
|
133
121
|
&[data-exiting="true"],
|
|
134
122
|
&[data-entering="true"] {
|
|
135
123
|
@apply will-change-[opacity,transform];
|
|
@@ -140,7 +128,7 @@
|
|
|
140
128
|
/**
|
|
141
129
|
* Element: dialog - the content container for the modal
|
|
142
130
|
*/
|
|
143
|
-
.alert-dialog__dialog {
|
|
131
|
+
.rp-alert-dialog__dialog {
|
|
144
132
|
@apply relative;
|
|
145
133
|
@apply flex min-h-0 w-full flex-col;
|
|
146
134
|
@apply max-h-full;
|
|
@@ -171,47 +159,47 @@
|
|
|
171
159
|
/**
|
|
172
160
|
* Modifier: dialog--xs
|
|
173
161
|
*/
|
|
174
|
-
.alert-dialog__dialog--xs {
|
|
162
|
+
.rp-alert-dialog__dialog--xs {
|
|
175
163
|
@apply max-w-xs;
|
|
176
164
|
}
|
|
177
165
|
|
|
178
166
|
/**
|
|
179
167
|
* Modifier: dialog--sm
|
|
180
168
|
*/
|
|
181
|
-
.alert-dialog__dialog--sm {
|
|
169
|
+
.rp-alert-dialog__dialog--sm {
|
|
182
170
|
@apply max-w-sm;
|
|
183
171
|
}
|
|
184
172
|
|
|
185
173
|
/**
|
|
186
174
|
* Modifier: dialog--md
|
|
187
175
|
*/
|
|
188
|
-
.alert-dialog__dialog--md {
|
|
176
|
+
.rp-alert-dialog__dialog--md {
|
|
189
177
|
@apply max-w-md;
|
|
190
178
|
}
|
|
191
179
|
|
|
192
180
|
/**
|
|
193
181
|
* Modifier: dialog--lg
|
|
194
182
|
*/
|
|
195
|
-
.alert-dialog__dialog--lg {
|
|
183
|
+
.rp-alert-dialog__dialog--lg {
|
|
196
184
|
@apply max-w-lg;
|
|
197
185
|
}
|
|
198
186
|
|
|
199
187
|
/**
|
|
200
188
|
* Modifier: dialog--cover
|
|
201
189
|
*/
|
|
202
|
-
.alert-dialog__dialog--cover {
|
|
190
|
+
.rp-alert-dialog__dialog--cover {
|
|
203
191
|
@apply h-full min-h-full w-full;
|
|
204
192
|
}
|
|
205
193
|
|
|
206
194
|
/**
|
|
207
195
|
* Element: header - the top section with the title
|
|
208
196
|
*/
|
|
209
|
-
.alert-dialog__header {
|
|
197
|
+
.rp-alert-dialog__header {
|
|
210
198
|
@apply flex flex-col gap-3;
|
|
211
199
|
@apply mb-0;
|
|
212
200
|
|
|
213
201
|
/* When header contains icon, use flex-col layout with gap */
|
|
214
|
-
& > .modal__icon {
|
|
202
|
+
& > .rp-modal__icon {
|
|
215
203
|
@apply mb-0;
|
|
216
204
|
}
|
|
217
205
|
}
|
|
@@ -219,7 +207,7 @@
|
|
|
219
207
|
/**
|
|
220
208
|
* Element: heading - the main title text
|
|
221
209
|
*/
|
|
222
|
-
.alert-dialog__heading {
|
|
210
|
+
.rp-alert-dialog__heading {
|
|
223
211
|
@apply align-middle;
|
|
224
212
|
@apply text-base font-medium text-foreground;
|
|
225
213
|
}
|
|
@@ -227,7 +215,7 @@
|
|
|
227
215
|
/**
|
|
228
216
|
* Element: icon - the optional icon indicator
|
|
229
217
|
*/
|
|
230
|
-
.alert-dialog__icon {
|
|
218
|
+
.rp-alert-dialog__icon {
|
|
231
219
|
@apply flex items-center justify-center;
|
|
232
220
|
@apply size-10 shrink-0;
|
|
233
221
|
@apply rounded-3xl select-none;
|
|
@@ -240,42 +228,42 @@
|
|
|
240
228
|
/**
|
|
241
229
|
* Modifier: icon--default
|
|
242
230
|
*/
|
|
243
|
-
.alert-dialog__icon--default {
|
|
231
|
+
.rp-alert-dialog__icon--default {
|
|
244
232
|
@apply bg-default text-foreground;
|
|
245
233
|
}
|
|
246
234
|
|
|
247
235
|
/**
|
|
248
236
|
* Modifier: icon--accent
|
|
249
237
|
*/
|
|
250
|
-
.alert-dialog__icon--accent {
|
|
238
|
+
.rp-alert-dialog__icon--accent {
|
|
251
239
|
@apply bg-accent-soft text-accent-soft-foreground;
|
|
252
240
|
}
|
|
253
241
|
|
|
254
242
|
/**
|
|
255
243
|
* Modifier: icon--success
|
|
256
244
|
*/
|
|
257
|
-
.alert-dialog__icon--success {
|
|
245
|
+
.rp-alert-dialog__icon--success {
|
|
258
246
|
@apply bg-success-soft text-success-soft-foreground;
|
|
259
247
|
}
|
|
260
248
|
|
|
261
249
|
/**
|
|
262
250
|
* Modifier: icon--warning
|
|
263
251
|
*/
|
|
264
|
-
.alert-dialog__icon--warning {
|
|
252
|
+
.rp-alert-dialog__icon--warning {
|
|
265
253
|
@apply bg-warning-soft text-warning-soft-foreground;
|
|
266
254
|
}
|
|
267
255
|
|
|
268
256
|
/**
|
|
269
257
|
* Modifier: icon--danger
|
|
270
258
|
*/
|
|
271
|
-
.alert-dialog__icon--danger {
|
|
259
|
+
.rp-alert-dialog__icon--danger {
|
|
272
260
|
@apply bg-danger-soft text-danger-soft-foreground;
|
|
273
261
|
}
|
|
274
262
|
|
|
275
263
|
/**
|
|
276
264
|
* Element: body - the main content area
|
|
277
265
|
*/
|
|
278
|
-
.alert-dialog__body {
|
|
266
|
+
.rp-alert-dialog__body {
|
|
279
267
|
@apply min-h-0 flex-1 scrollbar;
|
|
280
268
|
@apply text-sm leading-[1.43] text-muted;
|
|
281
269
|
@apply -m-[3px] my-0 p-[3px];
|
|
@@ -286,7 +274,7 @@
|
|
|
286
274
|
/**
|
|
287
275
|
* Element: footer - the bottom action section
|
|
288
276
|
*/
|
|
289
|
-
.alert-dialog__footer {
|
|
277
|
+
.rp-alert-dialog__footer {
|
|
290
278
|
@apply flex flex-row items-center justify-end gap-2;
|
|
291
279
|
@apply mt-0;
|
|
292
280
|
}
|
|
@@ -294,21 +282,21 @@
|
|
|
294
282
|
/**
|
|
295
283
|
* Element: close-trigger - the optional x icon button to close the modal
|
|
296
284
|
*/
|
|
297
|
-
.alert-dialog__close-trigger {
|
|
285
|
+
.rp-alert-dialog__close-trigger {
|
|
298
286
|
@apply absolute end-4 top-4;
|
|
299
287
|
}
|
|
300
288
|
|
|
301
289
|
/**
|
|
302
290
|
* Elements Spacing
|
|
303
291
|
*/
|
|
304
|
-
.alert-dialog__header + .alert-dialog__body {
|
|
292
|
+
.rp-alert-dialog__header + .rp-alert-dialog__body {
|
|
305
293
|
@apply mt-2;
|
|
306
294
|
}
|
|
307
295
|
|
|
308
|
-
.alert-dialog__header + .alert-dialog__footer {
|
|
296
|
+
.rp-alert-dialog__header + .rp-alert-dialog__footer {
|
|
309
297
|
@apply mt-5;
|
|
310
298
|
}
|
|
311
299
|
|
|
312
|
-
.alert-dialog__body + .alert-dialog__footer {
|
|
300
|
+
.rp-alert-dialog__body + .rp-alert-dialog__footer {
|
|
313
301
|
@apply mt-5;
|
|
314
302
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Alert component styles */
|
|
2
2
|
|
|
3
3
|
/* Base alert styles */
|
|
4
|
-
.alert {
|
|
4
|
+
.rp-alert {
|
|
5
5
|
@apply flex w-full flex-row items-start justify-start gap-4 bg-surface px-4 py-3 shadow-surface;
|
|
6
6
|
|
|
7
7
|
/* Forced Colors Mode flattens the fill onto the page and strips the shadow, so the container
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Alert elements */
|
|
18
|
-
.alert__content {
|
|
18
|
+
.rp-alert__content {
|
|
19
19
|
@apply flex h-full grow flex-col items-start;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.alert__indicator {
|
|
22
|
+
.rp-alert__indicator {
|
|
23
23
|
@apply flex items-center justify-center p-1 select-none;
|
|
24
24
|
|
|
25
25
|
[data-slot="alert-default-icon"] {
|
|
@@ -27,51 +27,51 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.alert__title {
|
|
30
|
+
.rp-alert__title {
|
|
31
31
|
@apply text-sm leading-6 font-medium;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.alert__description {
|
|
34
|
+
.rp-alert__description {
|
|
35
35
|
@apply text-sm text-muted;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Variant modifiers */
|
|
39
|
-
.alert--default .alert__indicator {
|
|
39
|
+
.rp-alert--default .rp-alert__indicator {
|
|
40
40
|
@apply text-foreground;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.alert--default .alert__title {
|
|
43
|
+
.rp-alert--default .rp-alert__title {
|
|
44
44
|
@apply text-foreground;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.alert--accent .alert__indicator {
|
|
47
|
+
.rp-alert--accent .rp-alert__indicator {
|
|
48
48
|
@apply text-accent-soft-foreground;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.alert--accent .alert__title {
|
|
51
|
+
.rp-alert--accent .rp-alert__title {
|
|
52
52
|
@apply text-accent-soft-foreground;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.alert--success .alert__indicator {
|
|
55
|
+
.rp-alert--success .rp-alert__indicator {
|
|
56
56
|
@apply text-success-soft-foreground;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.alert--success .alert__title {
|
|
59
|
+
.rp-alert--success .rp-alert__title {
|
|
60
60
|
@apply text-success-soft-foreground;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.alert--warning .alert__indicator {
|
|
63
|
+
.rp-alert--warning .rp-alert__indicator {
|
|
64
64
|
@apply text-warning-soft-foreground;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.alert--warning .alert__title {
|
|
67
|
+
.rp-alert--warning .rp-alert__title {
|
|
68
68
|
@apply text-warning-soft-foreground;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.alert--danger .alert__indicator {
|
|
71
|
+
.rp-alert--danger .rp-alert__indicator {
|
|
72
72
|
@apply text-danger-soft-foreground;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.alert--danger .alert__title {
|
|
75
|
+
.rp-alert--danger .rp-alert__title {
|
|
76
76
|
@apply text-danger-soft-foreground;
|
|
77
77
|
}
|