@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.color-swatch-picker {
|
|
6
|
+
.rp-color-swatch-picker {
|
|
7
7
|
@apply flex flex-wrap items-center gap-2;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
Item - Individual swatch picker item
|
|
12
12
|
========================================================================== */
|
|
13
13
|
|
|
14
|
-
.color-swatch-picker__item {
|
|
14
|
+
.rp-color-swatch-picker__item {
|
|
15
15
|
@apply relative flex size-8 items-center justify-center rounded-2xl border-2 border-transparent outline-none no-highlight;
|
|
16
16
|
|
|
17
17
|
/* The unselected border is transparent purely to hold the ring's width, and forced colors turns
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
border-color: Highlight;
|
|
50
50
|
}
|
|
51
51
|
/* Shrink the swatch to reveal the white gap */
|
|
52
|
-
.color-swatch-picker__swatch {
|
|
52
|
+
.rp-color-swatch-picker__swatch {
|
|
53
53
|
transform: scale(0.77);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
Swatch - The color swatch visual
|
|
60
60
|
========================================================================== */
|
|
61
61
|
|
|
62
|
-
.color-swatch-picker__swatch {
|
|
62
|
+
.rp-color-swatch-picker__swatch {
|
|
63
63
|
@apply block size-full;
|
|
64
64
|
|
|
65
65
|
/* Inherit border-radius from item */
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
Indicator - Checkmark indicator for selected state
|
|
79
79
|
========================================================================== */
|
|
80
80
|
|
|
81
|
-
.color-swatch-picker__indicator {
|
|
81
|
+
.rp-color-swatch-picker__indicator {
|
|
82
82
|
@apply pointer-events-none absolute inset-0 z-10 flex items-center justify-center;
|
|
83
83
|
|
|
84
84
|
/* Checkmark SVG styles - default to white for dark backgrounds */
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* Scale up when parent item is selected */
|
|
104
|
-
.color-swatch-picker__item[data-selected="true"] & > * {
|
|
104
|
+
.rp-color-swatch-picker__item[data-selected="true"] & > * {
|
|
105
105
|
transform: scale(1) translateZ(0);
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -110,11 +110,11 @@
|
|
|
110
110
|
Layout variants
|
|
111
111
|
========================================================================== */
|
|
112
112
|
|
|
113
|
-
.color-swatch-picker--grid {
|
|
113
|
+
.rp-color-swatch-picker--grid {
|
|
114
114
|
/* Default is already grid (flex-wrap) - no additional styles needed */
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.color-swatch-picker--stack {
|
|
117
|
+
.rp-color-swatch-picker--stack {
|
|
118
118
|
@apply flex-col;
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -122,32 +122,32 @@
|
|
|
122
122
|
Size variants
|
|
123
123
|
========================================================================== */
|
|
124
124
|
|
|
125
|
-
.color-swatch-picker--xs {
|
|
126
|
-
.color-swatch-picker__item {
|
|
125
|
+
.rp-color-swatch-picker--xs {
|
|
126
|
+
.rp-color-swatch-picker__item {
|
|
127
127
|
@apply size-4 rounded-lg border;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.color-swatch-picker--sm {
|
|
132
|
-
.color-swatch-picker__item {
|
|
131
|
+
.rp-color-swatch-picker--sm {
|
|
132
|
+
.rp-color-swatch-picker__item {
|
|
133
133
|
@apply size-6 rounded-xl border-2;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.color-swatch-picker--md {
|
|
138
|
-
.color-swatch-picker__item {
|
|
137
|
+
.rp-color-swatch-picker--md {
|
|
138
|
+
.rp-color-swatch-picker__item {
|
|
139
139
|
/* No styles as this is the default size */
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
.color-swatch-picker--lg {
|
|
144
|
-
.color-swatch-picker__item {
|
|
143
|
+
.rp-color-swatch-picker--lg {
|
|
144
|
+
.rp-color-swatch-picker__item {
|
|
145
145
|
@apply size-9 rounded-3xl border-3;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
.color-swatch-picker--xl {
|
|
150
|
-
.color-swatch-picker__item {
|
|
149
|
+
.rp-color-swatch-picker--xl {
|
|
150
|
+
.rp-color-swatch-picker__item {
|
|
151
151
|
@apply size-10 rounded-3xl border-3;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -157,11 +157,11 @@
|
|
|
157
157
|
========================================================================== */
|
|
158
158
|
|
|
159
159
|
/* Circle variant (default) - no additional styles needed */
|
|
160
|
-
.color-swatch-picker--circle .color-swatch-picker__item {
|
|
160
|
+
.rp-color-swatch-picker--circle .rp-color-swatch-picker__item {
|
|
161
161
|
/* Default is already circle - radius set per size */
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
/* Square variant */
|
|
165
|
-
.color-swatch-picker--square .color-swatch-picker__item {
|
|
165
|
+
.rp-color-swatch-picker--square .rp-color-swatch-picker__item {
|
|
166
166
|
border-radius: min(32px, var(--component-radius));
|
|
167
167
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Base color-swatch styles */
|
|
2
|
-
.color-swatch {
|
|
2
|
+
.rp-color-swatch {
|
|
3
3
|
@apply relative box-border size-8 shrink-0;
|
|
4
4
|
|
|
5
5
|
/* Checkered background pattern for transparency */
|
|
@@ -12,47 +12,47 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* Shape variants */
|
|
15
|
-
.color-swatch--circle {
|
|
15
|
+
.rp-color-swatch--circle {
|
|
16
16
|
@apply rounded-2xl;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.color-swatch--square {
|
|
19
|
+
.rp-color-swatch--square {
|
|
20
20
|
border-radius: min(32px, var(--component-radius));
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* Size variants */
|
|
24
|
-
.color-swatch--xs {
|
|
24
|
+
.rp-color-swatch--xs {
|
|
25
25
|
@apply size-4;
|
|
26
26
|
|
|
27
|
-
&.color-swatch--circle {
|
|
27
|
+
&.rp-color-swatch--circle {
|
|
28
28
|
@apply rounded-lg;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.color-swatch--sm {
|
|
32
|
+
.rp-color-swatch--sm {
|
|
33
33
|
@apply size-6;
|
|
34
34
|
|
|
35
|
-
&.color-swatch--circle {
|
|
35
|
+
&.rp-color-swatch--circle {
|
|
36
36
|
@apply rounded-xl;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.color-swatch--md {
|
|
40
|
+
.rp-color-swatch--md {
|
|
41
41
|
/* No additional styles — default size (32px) uses circle's base rounded-2xl */
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.color-swatch--lg {
|
|
44
|
+
.rp-color-swatch--lg {
|
|
45
45
|
@apply size-9;
|
|
46
46
|
|
|
47
|
-
&.color-swatch--circle {
|
|
47
|
+
&.rp-color-swatch--circle {
|
|
48
48
|
@apply rounded-3xl;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.color-swatch--xl {
|
|
52
|
+
.rp-color-swatch--xl {
|
|
53
53
|
@apply size-10;
|
|
54
54
|
|
|
55
|
-
&.color-swatch--circle {
|
|
55
|
+
&.rp-color-swatch--circle {
|
|
56
56
|
@apply rounded-3xl;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,73 +1,40 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const comboBoxVariants:
|
|
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
|
-
false
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
popover: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
base: string;
|
|
44
|
-
inputGroup: string;
|
|
45
|
-
popover: string;
|
|
46
|
-
trigger: string;
|
|
47
|
-
value: string;
|
|
48
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
49
|
-
fullWidth: {
|
|
50
|
-
false: {};
|
|
51
|
-
true: {
|
|
52
|
-
base: string;
|
|
53
|
-
inputGroup: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
size: {
|
|
57
|
-
lg: {
|
|
58
|
-
popover: string;
|
|
59
|
-
};
|
|
60
|
-
md: {};
|
|
61
|
-
sm: {
|
|
62
|
-
popover: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
|
-
base: string;
|
|
67
|
-
inputGroup: string;
|
|
68
|
-
popover: string;
|
|
69
|
-
trigger: string;
|
|
70
|
-
value: string;
|
|
71
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const comboBoxVariants: (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
|
+
}) | undefined) => {
|
|
8
|
+
base: (props?: ({
|
|
9
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
10
|
+
} & {
|
|
11
|
+
fullWidth?: boolean | undefined;
|
|
12
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
13
|
+
}) | undefined) => string;
|
|
14
|
+
inputGroup: (props?: ({
|
|
15
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
fullWidth?: boolean | undefined;
|
|
18
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
19
|
+
}) | undefined) => string;
|
|
20
|
+
popover: (props?: ({
|
|
21
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
fullWidth?: boolean | undefined;
|
|
24
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
25
|
+
}) | undefined) => string;
|
|
26
|
+
trigger: (props?: ({
|
|
27
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
fullWidth?: boolean | undefined;
|
|
30
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
31
|
+
}) | undefined) => string;
|
|
32
|
+
value: (props?: ({
|
|
33
|
+
class?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
34
|
+
} & {
|
|
35
|
+
fullWidth?: boolean | undefined;
|
|
36
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
37
|
+
}) | undefined) => string;
|
|
38
|
+
};
|
|
72
39
|
export type ComboBoxVariants = VariantProps<typeof comboBoxVariants>;
|
|
73
40
|
//# sourceMappingURL=combo-box.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo-box.styles.d.ts","sourceRoot":"","sources":["../../../src/components/combo-box/combo-box.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"combo-box.styles.d.ts","sourceRoot":"","sources":["../../../src/components/combo-box/combo-box.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/combo-box/combo-box.styles.ts
|
|
3
3
|
const comboBoxVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -6,24 +6,24 @@ const comboBoxVariants = tv({
|
|
|
6
6
|
size: "md"
|
|
7
7
|
},
|
|
8
8
|
slots: {
|
|
9
|
-
base: "combo-box",
|
|
10
|
-
inputGroup: "combo-box__input-group",
|
|
11
|
-
popover: "combo-box__popover",
|
|
12
|
-
trigger: "combo-box__trigger",
|
|
13
|
-
value: "combo-box__value"
|
|
9
|
+
base: "rp-combo-box",
|
|
10
|
+
inputGroup: "rp-combo-box__input-group",
|
|
11
|
+
popover: "rp-combo-box__popover",
|
|
12
|
+
trigger: "rp-combo-box__trigger",
|
|
13
|
+
value: "rp-combo-box__value"
|
|
14
14
|
},
|
|
15
15
|
variants: {
|
|
16
16
|
fullWidth: {
|
|
17
17
|
false: {},
|
|
18
18
|
true: {
|
|
19
|
-
base: "combo-box--full-width",
|
|
20
|
-
inputGroup: "combo-box__input-group--full-width"
|
|
19
|
+
base: "rp-combo-box--full-width",
|
|
20
|
+
inputGroup: "rp-combo-box__input-group--full-width"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
size: {
|
|
24
|
-
lg: { popover: "combo-box__popover--lg" },
|
|
24
|
+
lg: { popover: "rp-combo-box__popover--lg" },
|
|
25
25
|
md: {},
|
|
26
|
-
sm: { popover: "combo-box__popover--sm" }
|
|
26
|
+
sm: { popover: "rp-combo-box__popover--sm" }
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* ComboBox styles */
|
|
2
|
-
.combo-box {
|
|
2
|
+
.rp-combo-box {
|
|
3
3
|
@apply flex flex-col gap-1;
|
|
4
4
|
|
|
5
5
|
&[data-invalid="true"],
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@apply min-w-0 flex-1;
|
|
18
18
|
|
|
19
19
|
/* Add inline-end padding when trigger is present */
|
|
20
|
-
&:has(+ .combo-box__trigger) {
|
|
20
|
+
&:has(+ .rp-combo-box__trigger) {
|
|
21
21
|
@apply pe-7;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.combo-box__input-group {
|
|
41
|
+
.rp-combo-box__input-group {
|
|
42
42
|
@apply relative isolate inline-flex items-center;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.combo-box__value {
|
|
45
|
+
.rp-combo-box__value {
|
|
46
46
|
@apply text-sm wrap-break-word empty:hidden;
|
|
47
47
|
|
|
48
48
|
--combo-box-value-fg: var(--field-foreground, var(--foreground));
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.combo-box__trigger {
|
|
63
|
+
.rp-combo-box__trigger {
|
|
64
64
|
@apply absolute end-0 top-1/2 flex h-full shrink-0 -translate-y-1/2 cursor-pointer items-center justify-center pe-2 text-field-placeholder transition duration-150 no-highlight;
|
|
65
65
|
|
|
66
66
|
/* Remove default button styles */
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/* Similar to popover content styles */
|
|
111
|
-
.combo-box__popover {
|
|
111
|
+
.rp-combo-box__popover {
|
|
112
112
|
@apply min-w-(--trigger-width) origin-(--trigger-anchor-point) scroll-py-1 scrollbar overflow-y-auto overscroll-contain bg-overlay p-0 text-sm;
|
|
113
113
|
border-radius: min(32px, var(--component-radius));
|
|
114
114
|
box-shadow: var(--shadow-overlay);
|
|
@@ -190,13 +190,13 @@
|
|
|
190
190
|
|
|
191
191
|
/* The input inside sizes itself from the context the root provides, so only the option rows are
|
|
192
192
|
* left - reached from the popover's own class, since it is teleported out of this tree. */
|
|
193
|
-
.combo-box__popover--sm {
|
|
193
|
+
.rp-combo-box__popover--sm {
|
|
194
194
|
[data-slot="list-box-item"] {
|
|
195
195
|
@apply min-h-8 py-1;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.combo-box__popover--lg {
|
|
199
|
+
.rp-combo-box__popover--lg {
|
|
200
200
|
@apply text-base;
|
|
201
201
|
|
|
202
202
|
[data-slot="list-box-item"] {
|
|
@@ -205,10 +205,10 @@
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
/* Full width modifier */
|
|
208
|
-
.combo-box--full-width {
|
|
208
|
+
.rp-combo-box--full-width {
|
|
209
209
|
@apply w-full;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.combo-box__input-group--full-width {
|
|
212
|
+
.rp-combo-box__input-group--full-width {
|
|
213
213
|
@apply w-full;
|
|
214
214
|
}
|
|
@@ -1,19 +1,8 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const dateFieldVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, undefined, "date-field", {
|
|
8
|
-
fullWidth: {
|
|
9
|
-
false: "";
|
|
10
|
-
true: "date-field--full-width";
|
|
11
|
-
};
|
|
12
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
|
-
fullWidth: {
|
|
14
|
-
false: "";
|
|
15
|
-
true: "date-field--full-width";
|
|
16
|
-
};
|
|
17
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const dateFieldVariants: (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 DateFieldVariants = VariantProps<typeof dateFieldVariants>;
|
|
19
8
|
//# sourceMappingURL=date-field.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/date-field/date-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"date-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/date-field/date-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,iBAAiB;;;;yBAW5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/date-field/date-field.styles.ts
|
|
3
3
|
const dateFieldVariants = tv({
|
|
4
|
-
base: "date-field",
|
|
4
|
+
base: "rp-date-field",
|
|
5
5
|
defaultVariants: { fullWidth: false },
|
|
6
6
|
variants: { fullWidth: {
|
|
7
7
|
false: "",
|
|
8
|
-
true: "date-field--full-width"
|
|
8
|
+
true: "rp-date-field--full-width"
|
|
9
9
|
} }
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* Date field styles */
|
|
2
|
-
.date-field {
|
|
2
|
+
.rp-date-field {
|
|
3
3
|
@apply flex flex-col gap-1;
|
|
4
4
|
|
|
5
5
|
&[data-invalid="true"],
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Full width modifier */
|
|
18
|
-
.date-field--full-width {
|
|
18
|
+
.rp-date-field--full-width {
|
|
19
19
|
@apply w-full;
|
|
20
20
|
}
|
|
@@ -1,97 +1,53 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const dateInputGroupVariants:
|
|
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
|
-
prefix:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
lg
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
secondary: {
|
|
54
|
-
base: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
}, {
|
|
58
|
-
base: string;
|
|
59
|
-
input: string;
|
|
60
|
-
inputContainer: string;
|
|
61
|
-
prefix: string;
|
|
62
|
-
segment: string;
|
|
63
|
-
suffix: string;
|
|
64
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
65
|
-
fullWidth: {
|
|
66
|
-
false: {};
|
|
67
|
-
true: {
|
|
68
|
-
base: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
size: {
|
|
72
|
-
lg: {
|
|
73
|
-
base: string;
|
|
74
|
-
};
|
|
75
|
-
md: {};
|
|
76
|
-
sm: {
|
|
77
|
-
base: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
variant: {
|
|
81
|
-
primary: {
|
|
82
|
-
base: string;
|
|
83
|
-
};
|
|
84
|
-
secondary: {
|
|
85
|
-
base: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}, {
|
|
89
|
-
base: string;
|
|
90
|
-
input: string;
|
|
91
|
-
inputContainer: string;
|
|
92
|
-
prefix: string;
|
|
93
|
-
segment: string;
|
|
94
|
-
suffix: string;
|
|
95
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const dateInputGroupVariants: (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
|
+
inputContainer: (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
|
+
prefix: (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
|
+
segment: (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
|
+
fullWidth?: boolean | undefined;
|
|
41
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
42
|
+
variant?: "primary" | "secondary" | undefined;
|
|
43
|
+
}) | undefined) => string;
|
|
44
|
+
suffix: (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
|
+
fullWidth?: boolean | undefined;
|
|
48
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
49
|
+
variant?: "primary" | "secondary" | undefined;
|
|
50
|
+
}) | undefined) => string;
|
|
51
|
+
};
|
|
96
52
|
export type DateInputGroupVariants = VariantProps<typeof dateInputGroupVariants>;
|
|
97
53
|
//# sourceMappingURL=date-input-group.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-input-group.styles.d.ts","sourceRoot":"","sources":["../../../src/components/date-input-group/date-input-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"date-input-group.styles.d.ts","sourceRoot":"","sources":["../../../src/components/date-input-group/date-input-group.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,YAAY,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|