@ropav/styles 0.6.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 +37 -20
- 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 +15 -15
- 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 -27
- 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 +19 -19
- 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 +4 -4
- 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 -24
- package/dist/components/button.css +16 -16
- 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 +18 -17
- package/dist/components/calendar.css +22 -22
- 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 +33 -32
- 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 +23 -23
- 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 +2 -2
- 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 +3 -3
- 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 +13 -13
- 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 +3 -3
- 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 +16 -16
- 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 +20 -20
- package/dist/components/color-swatch.css +12 -12
- 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 +10 -10
- 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 +16 -16
- 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 +8 -8
- 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 +9 -9
- 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 -6
- 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 +37 -37
- package/dist/components/drop-zone/drop-zone.styles.d.ts +11 -32
- package/dist/components/drop-zone/drop-zone.styles.d.ts.map +1 -1
- package/dist/components/drop-zone/drop-zone.styles.js +3 -3
- package/dist/components/drop-zone.css +2 -2
- 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 -11
- 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 -1
- 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 -7
- 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/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 +17 -17
- 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 +10 -10
- package/dist/components/input.css +6 -6
- 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 +4 -4
- 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 +9 -9
- 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 +7 -7
- 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 +9 -9
- 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 +11 -11
- 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 +14 -14
- 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 -30
- 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 +24 -24
- 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 -18
- 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 -4
- package/dist/components/progress-bar/progress-bar.styles.d.ts +42 -140
- package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/progress-bar/progress-bar.styles.js +15 -15
- package/dist/components/progress-bar.css +25 -25
- 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 -17
- 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 +39 -39
- 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 +38 -38
- 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 +18 -18
- 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 +17 -17
- 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 +16 -16
- 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 -224
- package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.styles.js +36 -36
- package/dist/components/sidebar.css +54 -48
- 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 +14 -14
- 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 +23 -23
- 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 +52 -52
- 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 +112 -63
- 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 +33 -33
- 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 +11 -11
- 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 +6 -6
- 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 +55 -55
- 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 -22
- package/dist/components/toggle-button.css +9 -9
- 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 -2
- 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 +41 -41
- 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 +3 -3
- 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 +2 -2
- package/dist/no-preflight.css +8 -0
- package/dist/ropav.min.css +1 -1
- 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 +4 -4
- 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/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 +16 -16
- 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 +37 -37
- 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
package/dist/components/chip.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Base styles */
|
|
2
|
-
.chip {
|
|
2
|
+
.rp-chip {
|
|
3
3
|
@apply inline-flex w-fit shrink-0 items-center gap-0.5 px-2 py-0.5 text-xs leading-5 font-medium;
|
|
4
4
|
|
|
5
5
|
border-radius: min(32px, var(--component-radius));
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
* What cannot come back is the status. The mode has no keyword for success or warning, so
|
|
19
19
|
* every colour collapses onto one appearance and the label is what has to carry the
|
|
20
20
|
* meaning - which is the same reason a chip should not lean on colour alone in the first
|
|
21
|
-
* place. Only the emphasis split survives, on `.chip--primary` below. */
|
|
21
|
+
* place. Only the emphasis split survives, on `.rp-chip--primary` below. */
|
|
22
22
|
@media (forced-colors: active) {
|
|
23
23
|
outline: 1px solid CanvasText;
|
|
24
24
|
outline-offset: -1px;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.chip__label {
|
|
28
|
+
.rp-chip__label {
|
|
29
29
|
@apply px-0.5;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/* Color variants - set foreground color */
|
|
33
|
-
.chip--accent {
|
|
33
|
+
.rp-chip--accent {
|
|
34
34
|
--chip-fg: var(--accent-soft-foreground);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.chip--danger {
|
|
37
|
+
.rp-chip--danger {
|
|
38
38
|
--chip-fg: var(--danger-soft-foreground);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.chip--default {
|
|
41
|
+
.rp-chip--default {
|
|
42
42
|
--chip-fg: var(--default-foreground);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.chip--success {
|
|
45
|
+
.rp-chip--success {
|
|
46
46
|
--chip-fg: var(--success-soft-foreground);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.chip--warning {
|
|
49
|
+
.rp-chip--warning {
|
|
50
50
|
--chip-fg: var(--warning-soft-foreground);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/* Variant styles */
|
|
54
|
-
.chip--primary {
|
|
54
|
+
.rp-chip--primary {
|
|
55
55
|
/* The one distinction worth keeping: solid against outlined. `forced-color-adjust` is what
|
|
56
56
|
* makes it readable - without it Chromium paints a `Canvas` backplate over this fill and the
|
|
57
57
|
* label goes with it. */
|
|
@@ -62,24 +62,24 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.chip--secondary {
|
|
65
|
+
.rp-chip--secondary {
|
|
66
66
|
/* No additional styles for secondary variant */
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.chip--tertiary {
|
|
69
|
+
.rp-chip--tertiary {
|
|
70
70
|
--chip-bg: transparent;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/* Size variants */
|
|
74
|
-
.chip--sm {
|
|
74
|
+
.rp-chip--sm {
|
|
75
75
|
@apply px-1 py-0 text-xs;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.chip--md {
|
|
78
|
+
.rp-chip--md {
|
|
79
79
|
@apply text-xs;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.chip--lg {
|
|
82
|
+
.rp-chip--lg {
|
|
83
83
|
@apply px-3 py-1 text-sm font-medium;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -88,48 +88,48 @@
|
|
|
88
88
|
/* ====================== */
|
|
89
89
|
|
|
90
90
|
/* Primary variants - solid backgrounds */
|
|
91
|
-
.chip--primary.chip--accent {
|
|
91
|
+
.rp-chip--primary.rp-chip--accent {
|
|
92
92
|
--chip-bg: var(--accent);
|
|
93
93
|
--chip-fg: var(--accent-foreground);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.chip--primary.chip--success {
|
|
96
|
+
.rp-chip--primary.rp-chip--success {
|
|
97
97
|
--chip-bg: var(--success);
|
|
98
98
|
--chip-fg: var(--success-foreground);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
.chip--primary.chip--warning {
|
|
101
|
+
.rp-chip--primary.rp-chip--warning {
|
|
102
102
|
--chip-bg: var(--warning);
|
|
103
103
|
--chip-fg: var(--warning-foreground);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.chip--primary.chip--danger {
|
|
106
|
+
.rp-chip--primary.rp-chip--danger {
|
|
107
107
|
--chip-bg: var(--danger);
|
|
108
108
|
--chip-fg: var(--danger-foreground);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
/* Soft variants - muted backgrounds */
|
|
112
|
-
.chip--accent.chip--soft {
|
|
112
|
+
.rp-chip--accent.rp-chip--soft {
|
|
113
113
|
--chip-bg: var(--accent-soft);
|
|
114
114
|
--chip-fg: var(--accent-soft-foreground);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.chip--success.chip--soft {
|
|
117
|
+
.rp-chip--success.rp-chip--soft {
|
|
118
118
|
--chip-bg: var(--success-soft);
|
|
119
119
|
--chip-fg: var(--success-soft-foreground);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.chip--warning.chip--soft {
|
|
122
|
+
.rp-chip--warning.rp-chip--soft {
|
|
123
123
|
--chip-bg: var(--warning-soft);
|
|
124
124
|
--chip-fg: var(--warning-soft-foreground);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.chip--danger.chip--soft {
|
|
127
|
+
.rp-chip--danger.rp-chip--soft {
|
|
128
128
|
--chip-bg: var(--danger-soft);
|
|
129
129
|
--chip-fg: var(--danger-soft-foreground);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.chip--default.chip--soft {
|
|
132
|
+
.rp-chip--default.rp-chip--soft {
|
|
133
133
|
--chip-bg: var(--default-soft);
|
|
134
134
|
--chip-fg: var(--default-soft-foreground);
|
|
135
135
|
}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const closeButtonVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
variant: {
|
|
8
|
-
default: "close-button--default";
|
|
9
|
-
};
|
|
10
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
11
|
-
variant: {
|
|
12
|
-
default: "close-button--default";
|
|
13
|
-
};
|
|
14
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const closeButtonVariants: (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
|
+
variant?: "default" | undefined;
|
|
6
|
+
}) | undefined) => string;
|
|
15
7
|
export type CloseButtonVariants = VariantProps<typeof closeButtonVariants>;
|
|
16
8
|
//# sourceMappingURL=close-button.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close-button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/close-button/close-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"close-button.styles.d.ts","sourceRoot":"","sources":["../../../src/components/close-button/close-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;yBAU9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/close-button/close-button.styles.ts
|
|
3
3
|
const closeButtonVariants = tv({
|
|
4
|
-
base: "close-button",
|
|
4
|
+
base: "rp-close-button",
|
|
5
5
|
defaultVariants: { variant: "default" },
|
|
6
|
-
variants: { variant: { default: "close-button--default" } }
|
|
6
|
+
variants: { variant: { default: "rp-close-button--default" } }
|
|
7
7
|
});
|
|
8
8
|
//#endregion
|
|
9
9
|
export { closeButtonVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Close Button component styles */
|
|
2
2
|
|
|
3
3
|
/* Base close button styles */
|
|
4
|
-
.close-button {
|
|
4
|
+
.rp-close-button {
|
|
5
5
|
@apply relative isolate inline-flex h-6 w-6 shrink-0 origin-center items-center justify-center rounded-xl p-1 select-none no-highlight;
|
|
6
6
|
|
|
7
7
|
/* Cursor */
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/* Variants */
|
|
43
|
-
.close-button--default {
|
|
43
|
+
.rp-close-button--default {
|
|
44
44
|
@apply text-muted;
|
|
45
45
|
|
|
46
46
|
--close-button-bg: var(--default);
|
|
@@ -1,34 +1,19 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorAreaVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
}, {
|
|
20
|
-
base: string;
|
|
21
|
-
thumb: string;
|
|
22
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
23
|
-
showDots: {
|
|
24
|
-
false: {};
|
|
25
|
-
true: {
|
|
26
|
-
base: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}, {
|
|
30
|
-
base: string;
|
|
31
|
-
thumb: string;
|
|
32
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorAreaVariants: (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
|
+
showDots?: boolean | undefined;
|
|
6
|
+
}) | undefined) => {
|
|
7
|
+
base: (props?: ({
|
|
8
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
showDots?: boolean | undefined;
|
|
11
|
+
}) | undefined) => string;
|
|
12
|
+
thumb: (props?: ({
|
|
13
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
showDots?: boolean | undefined;
|
|
16
|
+
}) | undefined) => string;
|
|
17
|
+
};
|
|
33
18
|
export type ColorAreaVariants = VariantProps<typeof colorAreaVariants>;
|
|
34
19
|
//# sourceMappingURL=color-area.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-area.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-area/color-area.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-area.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-area/color-area.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;CAgB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-area/color-area.styles.ts
|
|
3
3
|
const colorAreaVariants = tv({
|
|
4
4
|
defaultVariants: { showDots: false },
|
|
5
5
|
slots: {
|
|
6
|
-
base: "color-area",
|
|
7
|
-
thumb: "color-area__thumb"
|
|
6
|
+
base: "rp-color-area",
|
|
7
|
+
thumb: "rp-color-area__thumb"
|
|
8
8
|
},
|
|
9
9
|
variants: { showDots: {
|
|
10
10
|
false: {},
|
|
11
|
-
true: { base: "color-area--show-dots" }
|
|
11
|
+
true: { base: "rp-color-area--show-dots" }
|
|
12
12
|
} }
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.color-area {
|
|
6
|
+
.rp-color-area {
|
|
7
7
|
@apply relative w-full max-w-56 shrink-0 no-highlight;
|
|
8
8
|
|
|
9
9
|
border-radius: min(32px, var(--component-radius));
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
Dots overlay variant
|
|
28
28
|
========================================================================== */
|
|
29
29
|
|
|
30
|
-
.color-area--show-dots {
|
|
30
|
+
.rp-color-area--show-dots {
|
|
31
31
|
/* Dot pattern overlay using radial gradient */
|
|
32
32
|
&::after {
|
|
33
33
|
content: "";
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
Thumb element
|
|
43
43
|
========================================================================== */
|
|
44
44
|
|
|
45
|
-
.color-area__thumb {
|
|
45
|
+
.rp-color-area__thumb {
|
|
46
46
|
@apply size-4 will-change-[width,height];
|
|
47
47
|
|
|
48
48
|
border-radius: min(32px, var(--component-radius));
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorFieldVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, undefined, "color-field", {
|
|
8
|
-
fullWidth: {
|
|
9
|
-
false: "";
|
|
10
|
-
true: "color-field--full-width";
|
|
11
|
-
};
|
|
12
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
|
-
fullWidth: {
|
|
14
|
-
false: "";
|
|
15
|
-
true: "color-field--full-width";
|
|
16
|
-
};
|
|
17
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorFieldVariants: (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 ColorFieldVariants = VariantProps<typeof colorFieldVariants>;
|
|
19
8
|
//# sourceMappingURL=color-field.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-field/color-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-field/color-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,kBAAkB;;;;yBAW7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-field/color-field.styles.ts
|
|
3
3
|
const colorFieldVariants = tv({
|
|
4
|
-
base: "color-field",
|
|
4
|
+
base: "rp-color-field",
|
|
5
5
|
defaultVariants: { fullWidth: false },
|
|
6
6
|
variants: { fullWidth: {
|
|
7
7
|
false: "",
|
|
8
|
-
true: "color-field--full-width"
|
|
8
|
+
true: "rp-color-field--full-width"
|
|
9
9
|
} }
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.color-field {
|
|
6
|
+
.rp-color-field {
|
|
7
7
|
@apply flex flex-col gap-1;
|
|
8
8
|
|
|
9
9
|
&[data-invalid="true"],
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* Full width modifier */
|
|
22
|
-
.color-field--full-width {
|
|
22
|
+
.rp-color-field--full-width {
|
|
23
23
|
@apply w-full;
|
|
24
24
|
}
|
|
@@ -1,91 +1,39 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const colorInputGroupVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
md
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
suffix:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
size: {
|
|
39
|
-
lg: {
|
|
40
|
-
base: string;
|
|
41
|
-
};
|
|
42
|
-
md: {};
|
|
43
|
-
sm: {
|
|
44
|
-
base: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
variant: {
|
|
48
|
-
primary: {
|
|
49
|
-
base: string;
|
|
50
|
-
};
|
|
51
|
-
secondary: {
|
|
52
|
-
base: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}, {
|
|
56
|
-
base: string;
|
|
57
|
-
input: string;
|
|
58
|
-
prefix: string;
|
|
59
|
-
suffix: string;
|
|
60
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
61
|
-
fullWidth: {
|
|
62
|
-
false: {};
|
|
63
|
-
true: {
|
|
64
|
-
base: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
size: {
|
|
68
|
-
lg: {
|
|
69
|
-
base: string;
|
|
70
|
-
};
|
|
71
|
-
md: {};
|
|
72
|
-
sm: {
|
|
73
|
-
base: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
variant: {
|
|
77
|
-
primary: {
|
|
78
|
-
base: string;
|
|
79
|
-
};
|
|
80
|
-
secondary: {
|
|
81
|
-
base: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
}, {
|
|
85
|
-
base: string;
|
|
86
|
-
input: string;
|
|
87
|
-
prefix: string;
|
|
88
|
-
suffix: string;
|
|
89
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const colorInputGroupVariants: (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) => {
|
|
9
|
+
base: (props?: ({
|
|
10
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
fullWidth?: boolean | undefined;
|
|
13
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
14
|
+
variant?: "primary" | "secondary" | undefined;
|
|
15
|
+
}) | undefined) => string;
|
|
16
|
+
input: (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
|
+
fullWidth?: boolean | undefined;
|
|
20
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
21
|
+
variant?: "primary" | "secondary" | undefined;
|
|
22
|
+
}) | undefined) => string;
|
|
23
|
+
prefix: (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
|
+
fullWidth?: boolean | undefined;
|
|
27
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
28
|
+
variant?: "primary" | "secondary" | undefined;
|
|
29
|
+
}) | undefined) => string;
|
|
30
|
+
suffix: (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
|
+
fullWidth?: boolean | undefined;
|
|
34
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
35
|
+
variant?: "primary" | "secondary" | undefined;
|
|
36
|
+
}) | undefined) => string;
|
|
37
|
+
};
|
|
90
38
|
export type ColorInputGroupVariants = VariantProps<typeof colorInputGroupVariants>;
|
|
91
39
|
//# sourceMappingURL=color-input-group.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-input-group.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-input-group/color-input-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"color-input-group.styles.d.ts","sourceRoot":"","sources":["../../../src/components/color-input-group/color-input-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/color-input-group/color-input-group.styles.ts
|
|
3
3
|
const colorInputGroupVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -7,24 +7,24 @@ const colorInputGroupVariants = tv({
|
|
|
7
7
|
variant: "primary"
|
|
8
8
|
},
|
|
9
9
|
slots: {
|
|
10
|
-
base: "color-input-group",
|
|
11
|
-
input: "color-input-group__input",
|
|
12
|
-
prefix: "color-input-group__prefix",
|
|
13
|
-
suffix: "color-input-group__suffix"
|
|
10
|
+
base: "rp-color-input-group",
|
|
11
|
+
input: "rp-color-input-group__input",
|
|
12
|
+
prefix: "rp-color-input-group__prefix",
|
|
13
|
+
suffix: "rp-color-input-group__suffix"
|
|
14
14
|
},
|
|
15
15
|
variants: {
|
|
16
16
|
fullWidth: {
|
|
17
17
|
false: {},
|
|
18
|
-
true: { base: "color-input-group--full-width" }
|
|
18
|
+
true: { base: "rp-color-input-group--full-width" }
|
|
19
19
|
},
|
|
20
20
|
size: {
|
|
21
|
-
lg: { base: "color-input-group--lg" },
|
|
21
|
+
lg: { base: "rp-color-input-group--lg" },
|
|
22
22
|
md: {},
|
|
23
|
-
sm: { base: "color-input-group--sm" }
|
|
23
|
+
sm: { base: "rp-color-input-group--sm" }
|
|
24
24
|
},
|
|
25
25
|
variant: {
|
|
26
|
-
primary: { base: "color-input-group--primary" },
|
|
27
|
-
secondary: { base: "color-input-group--secondary" }
|
|
26
|
+
primary: { base: "rp-color-input-group--primary" },
|
|
27
|
+
secondary: { base: "rp-color-input-group--secondary" }
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.color-input-group {
|
|
6
|
+
.rp-color-input-group {
|
|
7
7
|
@apply inline-flex h-9 items-center overflow-hidden rounded-field border text-sm text-field-foreground shadow-field outline-none;
|
|
8
8
|
|
|
9
9
|
/* The fill, per state. The `--secondary` variant re-points these and declares nothing else. */
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
Elements
|
|
64
64
|
========================================================================== */
|
|
65
65
|
|
|
66
|
-
.color-input-group__input {
|
|
66
|
+
.rp-color-input-group__input {
|
|
67
67
|
@apply flex h-full flex-1 cursor-text items-center rounded-none border-0 bg-transparent px-3 field-line-md shadow-none outline-none;
|
|
68
68
|
|
|
69
69
|
/* Placeholder styling */
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Remove border radius on left side when prefix is present */
|
|
75
|
-
.color-input-group:has([data-slot="color-input-group-prefix"]) & {
|
|
75
|
+
.rp-color-input-group:has([data-slot="color-input-group-prefix"]) & {
|
|
76
76
|
@apply rounded-s-none ps-2;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* Remove border radius on right side when suffix is present */
|
|
80
|
-
.color-input-group:has([data-slot="color-input-group-suffix"]) & {
|
|
80
|
+
.rp-color-input-group:has([data-slot="color-input-group-suffix"]) & {
|
|
81
81
|
@apply rounded-e-none pe-2;
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -88,12 +88,12 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.color-input-group__prefix {
|
|
91
|
+
.rp-color-input-group__prefix {
|
|
92
92
|
@apply shrink-0 text-field-placeholder;
|
|
93
93
|
@apply ms-3 me-0 flex items-center;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.color-input-group__suffix {
|
|
96
|
+
.rp-color-input-group__suffix {
|
|
97
97
|
@apply shrink-0 text-field-placeholder;
|
|
98
98
|
@apply me-3 flex items-center;
|
|
99
99
|
}
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
Variant modifiers
|
|
103
103
|
========================================================================== */
|
|
104
104
|
|
|
105
|
-
.color-input-group--primary {
|
|
105
|
+
.rp-color-input-group--primary {
|
|
106
106
|
/* Default styles - primary variant uses the base field styling */
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.color-input-group--secondary {
|
|
109
|
+
.rp-color-input-group--secondary {
|
|
110
110
|
@apply shadow-none;
|
|
111
111
|
|
|
112
112
|
--color-input-group-bg: var(--default);
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
Full width modifier
|
|
123
123
|
========================================================================== */
|
|
124
124
|
|
|
125
|
-
.color-input-group--full-width {
|
|
125
|
+
.rp-color-input-group--full-width {
|
|
126
126
|
@apply w-full;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -130,18 +130,18 @@
|
|
|
130
130
|
Size variants
|
|
131
131
|
========================================================================== */
|
|
132
132
|
|
|
133
|
-
.color-input-group--sm {
|
|
133
|
+
.rp-color-input-group--sm {
|
|
134
134
|
@apply h-8;
|
|
135
135
|
|
|
136
|
-
.color-input-group__input {
|
|
136
|
+
.rp-color-input-group__input {
|
|
137
137
|
@apply field-line-sm;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.color-input-group--lg {
|
|
141
|
+
.rp-color-input-group--lg {
|
|
142
142
|
@apply h-10;
|
|
143
143
|
|
|
144
|
-
.color-input-group__input {
|
|
144
|
+
.rp-color-input-group__input {
|
|
145
145
|
@apply field-line-lg;
|
|
146
146
|
}
|
|
147
147
|
}
|