@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-calendar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/range-calendar/range-calendar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"range-calendar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/range-calendar/range-calendar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/range-calendar/range-calendar.styles.ts
|
|
3
3
|
const rangeCalendarVariants = tv({
|
|
4
4
|
defaultVariants: {},
|
|
5
5
|
slots: {
|
|
6
6
|
/** Root range calendar container */
|
|
7
|
-
base: "range-calendar",
|
|
7
|
+
base: "rp-range-calendar",
|
|
8
8
|
/** Calendar cell (td) */
|
|
9
|
-
cell: "range-calendar__cell",
|
|
9
|
+
cell: "rp-range-calendar__cell",
|
|
10
|
+
/** The pressable box inside the cell, which the range fill paints around */
|
|
11
|
+
cellButton: "rp-range-calendar__cell-button",
|
|
10
12
|
/** Cell indicator (small dot at bottom of cell) */
|
|
11
|
-
cellIndicator: "range-calendar__cell-indicator",
|
|
13
|
+
cellIndicator: "rp-range-calendar__cell-indicator",
|
|
12
14
|
/** Calendar grid (table) */
|
|
13
|
-
grid: "range-calendar__grid",
|
|
15
|
+
grid: "rp-range-calendar__grid",
|
|
14
16
|
/** Grid body (tbody) */
|
|
15
|
-
gridBody: "range-calendar__grid-body",
|
|
17
|
+
gridBody: "rp-range-calendar__grid-body",
|
|
16
18
|
/** Grid header (thead) */
|
|
17
|
-
gridHeader: "range-calendar__grid-header",
|
|
19
|
+
gridHeader: "rp-range-calendar__grid-header",
|
|
18
20
|
/** Grid row (tr) */
|
|
19
|
-
gridRow: "range-calendar__grid-row",
|
|
21
|
+
gridRow: "rp-range-calendar__grid-row",
|
|
20
22
|
/** Calendar header containing heading and navigation */
|
|
21
|
-
header: "range-calendar__header",
|
|
23
|
+
header: "rp-range-calendar__header",
|
|
22
24
|
/** Header cell (th - day names) */
|
|
23
|
-
headerCell: "range-calendar__header-cell",
|
|
25
|
+
headerCell: "rp-range-calendar__header-cell",
|
|
24
26
|
/** Month/year heading text */
|
|
25
|
-
heading: "range-calendar__heading",
|
|
27
|
+
heading: "rp-range-calendar__heading",
|
|
26
28
|
/** Previous/Next navigation button */
|
|
27
|
-
navButton: "range-calendar__nav-button",
|
|
29
|
+
navButton: "rp-range-calendar__nav-button",
|
|
28
30
|
/** Navigation button icon */
|
|
29
|
-
navButtonIcon: "range-calendar__nav-button-icon"
|
|
31
|
+
navButtonIcon: "rp-range-calendar__nav-button-icon"
|
|
30
32
|
},
|
|
31
33
|
variants: {}
|
|
32
34
|
});
|
|
@@ -8,23 +8,23 @@
|
|
|
8
8
|
/* -----------------------------------------------------------------------------
|
|
9
9
|
* Base RangeCalendar Styles
|
|
10
10
|
* -------------------------------------------------------------------------- */
|
|
11
|
-
.range-calendar {
|
|
11
|
+
.rp-range-calendar {
|
|
12
12
|
@apply w-63 max-w-63;
|
|
13
13
|
|
|
14
14
|
container-type: inline-size;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* Week view – visibleDuration={{ weeks: n }} */
|
|
18
|
-
.range-calendar--week-view {
|
|
19
|
-
.range-calendar__cell {
|
|
18
|
+
.rp-range-calendar--week-view {
|
|
19
|
+
.rp-range-calendar__cell {
|
|
20
20
|
/* Keep cells circular on the 7-column grid; only filled cells take space. */
|
|
21
21
|
@apply aspect-square size-auto w-full place-self-center;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* Day view – visibleDuration={{ days: n }} */
|
|
26
|
-
.range-calendar--day-view {
|
|
27
|
-
.range-calendar__cell {
|
|
26
|
+
.rp-range-calendar--day-view {
|
|
27
|
+
.rp-range-calendar__cell {
|
|
28
28
|
@apply aspect-square size-auto w-full place-self-center;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
* Isolate header and body into separate 7-column grids. With display:contents
|
|
33
33
|
* on the root grid, fewer than 7 weekday headers flow into the same row as dates.
|
|
34
34
|
*/
|
|
35
|
-
.range-calendar__grid {
|
|
35
|
+
.rp-range-calendar__grid {
|
|
36
36
|
display: flex;
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.range-calendar__grid-header {
|
|
40
|
+
.rp-range-calendar__grid-header {
|
|
41
41
|
display: grid;
|
|
42
42
|
grid-template-columns: repeat(7, 1fr);
|
|
43
43
|
@apply w-full;
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.range-calendar__grid-body {
|
|
50
|
+
.rp-range-calendar__grid-body {
|
|
51
51
|
display: grid;
|
|
52
52
|
grid-template-columns: repeat(7, 1fr);
|
|
53
53
|
@apply mt-1 w-full;
|
|
@@ -65,21 +65,21 @@
|
|
|
65
65
|
/* -----------------------------------------------------------------------------
|
|
66
66
|
* RangeCalendar Header
|
|
67
67
|
* -------------------------------------------------------------------------- */
|
|
68
|
-
.range-calendar__header {
|
|
68
|
+
.rp-range-calendar__header {
|
|
69
69
|
@apply flex items-center justify-between px-0.5 pb-4;
|
|
70
70
|
|
|
71
|
-
&:has(.calendar-year-picker__trigger[data-open="true"]) {
|
|
72
|
-
.range-calendar__nav-button {
|
|
71
|
+
&:has(.rp-calendar-year-picker__trigger[data-open="true"]) {
|
|
72
|
+
.rp-range-calendar__nav-button {
|
|
73
73
|
@apply pointer-events-none opacity-0;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.range-calendar__heading {
|
|
78
|
+
.rp-range-calendar__heading {
|
|
79
79
|
@apply flex-1 text-sm font-medium;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.range-calendar__nav-button {
|
|
82
|
+
.rp-range-calendar__nav-button {
|
|
83
83
|
@apply flex size-6 items-center justify-center text-accent-soft-foreground;
|
|
84
84
|
|
|
85
85
|
border-radius: min(32px, var(--component-radius));
|
|
@@ -122,27 +122,27 @@
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.range-calendar__nav-button-icon {
|
|
125
|
+
.rp-range-calendar__nav-button-icon {
|
|
126
126
|
@apply size-4 rtl:rotate-180;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
/* -----------------------------------------------------------------------------
|
|
130
130
|
* RangeCalendar Grid
|
|
131
131
|
* -------------------------------------------------------------------------- */
|
|
132
|
-
.range-calendar__grid {
|
|
132
|
+
.rp-range-calendar__grid {
|
|
133
133
|
/* Override table display with CSS Grid for easier customization */
|
|
134
134
|
display: grid;
|
|
135
135
|
grid-template-columns: repeat(7, 1fr);
|
|
136
136
|
@apply w-full;
|
|
137
137
|
|
|
138
138
|
&[aria-readonly="true"] {
|
|
139
|
-
.range-calendar__cell {
|
|
139
|
+
.rp-range-calendar__cell {
|
|
140
140
|
@apply pointer-events-none;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.range-calendar__grid-header {
|
|
145
|
+
.rp-range-calendar__grid-header {
|
|
146
146
|
/* Grid header (thead) styles */
|
|
147
147
|
display: contents;
|
|
148
148
|
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
.range-calendar__grid-body {
|
|
154
|
+
.rp-range-calendar__grid-body {
|
|
155
155
|
/* Grid body (tbody) styles */
|
|
156
156
|
display: contents;
|
|
157
157
|
|
|
@@ -165,13 +165,13 @@
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
.range-calendar__grid-row {
|
|
168
|
+
.rp-range-calendar__grid-row {
|
|
169
169
|
/* Use 'contents' so cells participate directly in grid */
|
|
170
170
|
/* Note: This class can be used for custom row styling if needed */
|
|
171
171
|
display: contents;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.range-calendar__header-cell {
|
|
174
|
+
.rp-range-calendar__header-cell {
|
|
175
175
|
/* Header cell (th - weekday names) styles */
|
|
176
176
|
@apply flex items-center justify-center pb-2 text-xs font-medium text-muted;
|
|
177
177
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
/* -----------------------------------------------------------------------------
|
|
180
180
|
* RangeCalendar Cells
|
|
181
181
|
* -------------------------------------------------------------------------- */
|
|
182
|
-
.range-calendar__cell {
|
|
182
|
+
.rp-range-calendar__cell {
|
|
183
183
|
@apply relative z-1 mx-0 my-[2px] p-0 outline-none;
|
|
184
184
|
|
|
185
185
|
--range-calendar-day-radius: min(32px, var(--component-radius));
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
@apply transform-gpu motion-reduce:transition-none;
|
|
216
216
|
|
|
217
217
|
/* Inner interactive circle/capsule (equivalent to React Aria "button-base") */
|
|
218
|
-
.range-calendar__cell-button {
|
|
218
|
+
.rp-range-calendar__cell-button {
|
|
219
219
|
@apply flex aspect-square w-full items-center justify-center text-sm font-medium text-foreground no-highlight;
|
|
220
220
|
|
|
221
221
|
border-radius: var(--range-calendar-day-radius);
|
|
@@ -230,14 +230,14 @@
|
|
|
230
230
|
&[data-focus-visible="true"] {
|
|
231
231
|
@apply z-2;
|
|
232
232
|
|
|
233
|
-
.range-calendar__cell-button {
|
|
233
|
+
.rp-range-calendar__cell-button {
|
|
234
234
|
@apply status-focused;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* Today indicator */
|
|
239
239
|
&[data-today="true"] {
|
|
240
|
-
.range-calendar__cell-button {
|
|
240
|
+
.rp-range-calendar__cell-button {
|
|
241
241
|
background-color: var(--range-calendar-day-bg-today);
|
|
242
242
|
color: var(--range-calendar-day-fg-today);
|
|
243
243
|
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
@media (hover: hover) {
|
|
252
252
|
&:hover:not([data-selected="true"]),
|
|
253
253
|
&[data-hovered="true"]:not([data-selected="true"]) {
|
|
254
|
-
.range-calendar__cell-button {
|
|
254
|
+
.rp-range-calendar__cell-button {
|
|
255
255
|
background-color: var(--range-calendar-day-bg-today-hover);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
@media (forced-colors: active) {
|
|
271
271
|
background-color: Highlight;
|
|
272
272
|
|
|
273
|
-
.range-calendar__cell-button {
|
|
273
|
+
.rp-range-calendar__cell-button {
|
|
274
274
|
/* Suppresses the `Canvas` backplate behind the day number, which would otherwise cover
|
|
275
275
|
* the track and leave the digits invisible against it. */
|
|
276
276
|
forced-color-adjust: none;
|
|
@@ -305,7 +305,7 @@
|
|
|
305
305
|
&[data-selection-end="true"]:not([data-outside-month="true"]) {
|
|
306
306
|
@apply z-2;
|
|
307
307
|
|
|
308
|
-
.range-calendar__cell-button {
|
|
308
|
+
.rp-range-calendar__cell-button {
|
|
309
309
|
background-color: var(--range-calendar-day-bg-cap);
|
|
310
310
|
color: var(--range-calendar-day-fg-cap);
|
|
311
311
|
|
|
@@ -336,13 +336,13 @@
|
|
|
336
336
|
/* Pressed state */
|
|
337
337
|
&:active,
|
|
338
338
|
&[data-pressed="true"] {
|
|
339
|
-
.range-calendar__cell-button {
|
|
339
|
+
.rp-range-calendar__cell-button {
|
|
340
340
|
scale: 0.9;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
&[data-selection-start="true"],
|
|
344
344
|
&[data-selection-end="true"] {
|
|
345
|
-
.range-calendar__cell-button {
|
|
345
|
+
.rp-range-calendar__cell-button {
|
|
346
346
|
background-color: var(--range-calendar-day-bg-cap-pressed);
|
|
347
347
|
}
|
|
348
348
|
}
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
@media (hover: hover) {
|
|
353
353
|
&:hover:not([data-selected="true"]),
|
|
354
354
|
&[data-hovered="true"]:not([data-selected="true"]) {
|
|
355
|
-
.range-calendar__cell-button {
|
|
355
|
+
.rp-range-calendar__cell-button {
|
|
356
356
|
background-color: var(--range-calendar-day-bg-hover);
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -385,10 +385,10 @@
|
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
/* Outside-month cell followed by selected cell across adjacent table cells */
|
|
388
|
-
.range-calendar__grid-body
|
|
389
|
-
td:has(> .range-calendar__cell[data-outside-month="true"])
|
|
388
|
+
.rp-range-calendar__grid-body
|
|
389
|
+
td:has(> .rp-range-calendar__cell[data-outside-month="true"])
|
|
390
390
|
+ td
|
|
391
|
-
> .range-calendar__cell[data-selected="true"] {
|
|
391
|
+
> .rp-range-calendar__cell[data-selected="true"] {
|
|
392
392
|
border-start-start-radius: var(--range-calendar-wrap-radius);
|
|
393
393
|
border-end-start-radius: var(--range-calendar-wrap-radius);
|
|
394
394
|
|
|
@@ -400,11 +400,11 @@
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
/* Selected cell followed by outside-month cell across adjacent table cells */
|
|
403
|
-
.range-calendar__grid-body
|
|
404
|
-
td:has(> .range-calendar__cell[data-selected="true"]):has(
|
|
405
|
-
+ td > .range-calendar__cell[data-outside-month="true"]
|
|
403
|
+
.rp-range-calendar__grid-body
|
|
404
|
+
td:has(> .rp-range-calendar__cell[data-selected="true"]):has(
|
|
405
|
+
+ td > .rp-range-calendar__cell[data-outside-month="true"]
|
|
406
406
|
)
|
|
407
|
-
> .range-calendar__cell[data-selected="true"] {
|
|
407
|
+
> .rp-range-calendar__cell[data-selected="true"] {
|
|
408
408
|
border-start-end-radius: var(--range-calendar-wrap-radius);
|
|
409
409
|
border-end-end-radius: var(--range-calendar-wrap-radius);
|
|
410
410
|
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
/* Cell indicator - small dot at bottom center of cell */
|
|
419
|
-
.range-calendar__cell-indicator {
|
|
419
|
+
.rp-range-calendar__cell-indicator {
|
|
420
420
|
@apply absolute bottom-1 left-1/2 size-[3px] -translate-x-1/2 rounded-xs;
|
|
421
421
|
|
|
422
422
|
--range-calendar-cell-indicator-bg: var(--muted);
|
|
@@ -1,70 +1,18 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const scrollShadowVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
vertical
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
variant: {
|
|
18
|
-
fade: {
|
|
19
|
-
base: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
base: string;
|
|
24
|
-
}, undefined, {
|
|
25
|
-
hideScrollBar: {
|
|
26
|
-
false: {};
|
|
27
|
-
true: {
|
|
28
|
-
base: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
orientation: {
|
|
32
|
-
horizontal: {
|
|
33
|
-
base: string;
|
|
34
|
-
};
|
|
35
|
-
vertical: {
|
|
36
|
-
base: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
variant: {
|
|
40
|
-
fade: {
|
|
41
|
-
base: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}, {
|
|
45
|
-
base: string;
|
|
46
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
47
|
-
hideScrollBar: {
|
|
48
|
-
false: {};
|
|
49
|
-
true: {
|
|
50
|
-
base: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
orientation: {
|
|
54
|
-
horizontal: {
|
|
55
|
-
base: string;
|
|
56
|
-
};
|
|
57
|
-
vertical: {
|
|
58
|
-
base: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
variant: {
|
|
62
|
-
fade: {
|
|
63
|
-
base: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
}, {
|
|
67
|
-
base: string;
|
|
68
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const scrollShadowVariants: (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
|
+
hideScrollBar?: boolean | undefined;
|
|
6
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
7
|
+
variant?: "fade" | 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
|
+
hideScrollBar?: boolean | undefined;
|
|
13
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
14
|
+
variant?: "fade" | undefined;
|
|
15
|
+
}) | undefined) => string;
|
|
16
|
+
};
|
|
69
17
|
export type ScrollShadowVariants = VariantProps<typeof scrollShadowVariants>;
|
|
70
18
|
//# sourceMappingURL=scroll-shadow.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-shadow.styles.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-shadow/scroll-shadow.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"scroll-shadow.styles.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-shadow/scroll-shadow.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CA8B/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/scroll-shadow/scroll-shadow.styles.ts
|
|
3
3
|
const scrollShadowVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -6,17 +6,17 @@ const scrollShadowVariants = tv({
|
|
|
6
6
|
orientation: "vertical",
|
|
7
7
|
variant: "fade"
|
|
8
8
|
},
|
|
9
|
-
slots: { base: "scroll-shadow" },
|
|
9
|
+
slots: { base: "rp-scroll-shadow" },
|
|
10
10
|
variants: {
|
|
11
11
|
hideScrollBar: {
|
|
12
12
|
false: {},
|
|
13
|
-
true: { base: "scroll-shadow--hide-scrollbar" }
|
|
13
|
+
true: { base: "rp-scroll-shadow--hide-scrollbar" }
|
|
14
14
|
},
|
|
15
15
|
orientation: {
|
|
16
|
-
horizontal: { base: "scroll-shadow--horizontal" },
|
|
17
|
-
vertical: { base: "scroll-shadow--vertical" }
|
|
16
|
+
horizontal: { base: "rp-scroll-shadow--horizontal" },
|
|
17
|
+
vertical: { base: "rp-scroll-shadow--vertical" }
|
|
18
18
|
},
|
|
19
|
-
variant: { fade: { base: "scroll-shadow--fade" } }
|
|
19
|
+
variant: { fade: { base: "rp-scroll-shadow--fade" } }
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* Base scroll-shadow component */
|
|
2
|
-
.scroll-shadow {
|
|
2
|
+
.rp-scroll-shadow {
|
|
3
3
|
@apply relative;
|
|
4
4
|
--scroll-shadow-size: 40px;
|
|
5
5
|
--scroll-shadow-scrollbar-size: 10px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/* Orientation: Vertical */
|
|
9
|
-
.scroll-shadow--vertical {
|
|
9
|
+
.rp-scroll-shadow--vertical {
|
|
10
10
|
@apply scrollbar overflow-y-auto;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/* Orientation: Horizontal */
|
|
14
|
-
.scroll-shadow--horizontal {
|
|
14
|
+
.rp-scroll-shadow--horizontal {
|
|
15
15
|
@apply scrollbar overflow-x-auto;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/* Variant: Fade - Vertical */
|
|
19
|
-
.scroll-shadow--fade.scroll-shadow--vertical {
|
|
19
|
+
.rp-scroll-shadow--fade.rp-scroll-shadow--vertical {
|
|
20
20
|
&:where([data-top-scroll="true"], [data-bottom-scroll="true"], [data-top-bottom-scroll="true"]) {
|
|
21
21
|
mask-image: linear-gradient(var(--scroll-linear-gradient)), linear-gradient(#000, #000);
|
|
22
22
|
mask-position:
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/* Variant: Fade - Horizontal */
|
|
55
|
-
.scroll-shadow--fade.scroll-shadow--horizontal {
|
|
55
|
+
.rp-scroll-shadow--fade.rp-scroll-shadow--horizontal {
|
|
56
56
|
&:where([data-left-scroll="true"], [data-right-scroll="true"], [data-left-right-scroll="true"]) {
|
|
57
57
|
mask-image: linear-gradient(var(--scroll-linear-gradient)), linear-gradient(#000, #000);
|
|
58
58
|
mask-position:
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.scroll-shadow--hide-scrollbar {
|
|
100
|
+
.rp-scroll-shadow--hide-scrollbar {
|
|
101
101
|
@apply scrollbar-none;
|
|
102
102
|
--scroll-shadow-scrollbar-size: 0px;
|
|
103
103
|
}
|
|
@@ -1,97 +1,46 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const searchFieldVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
md: {};
|
|
46
|
-
sm: {
|
|
47
|
-
base: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
variant: {
|
|
51
|
-
primary: {
|
|
52
|
-
base: string;
|
|
53
|
-
};
|
|
54
|
-
secondary: {
|
|
55
|
-
base: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}, {
|
|
59
|
-
base: string;
|
|
60
|
-
clearButton: string;
|
|
61
|
-
group: string;
|
|
62
|
-
input: string;
|
|
63
|
-
searchIcon: string;
|
|
64
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
65
|
-
fullWidth: {
|
|
66
|
-
false: {};
|
|
67
|
-
true: {
|
|
68
|
-
base: string;
|
|
69
|
-
group: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
lg: {
|
|
74
|
-
base: string;
|
|
75
|
-
};
|
|
76
|
-
md: {};
|
|
77
|
-
sm: {
|
|
78
|
-
base: string;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
variant: {
|
|
82
|
-
primary: {
|
|
83
|
-
base: string;
|
|
84
|
-
};
|
|
85
|
-
secondary: {
|
|
86
|
-
base: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}, {
|
|
90
|
-
base: string;
|
|
91
|
-
clearButton: string;
|
|
92
|
-
group: string;
|
|
93
|
-
input: string;
|
|
94
|
-
searchIcon: string;
|
|
95
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const searchFieldVariants: (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
|
+
clearButton: (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
|
+
group: (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
|
+
input: (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
|
+
searchIcon: (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
|
+
};
|
|
96
45
|
export type SearchFieldVariants = VariantProps<typeof searchFieldVariants>;
|
|
97
46
|
//# sourceMappingURL=search-field.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/search-field/search-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"search-field.styles.d.ts","sourceRoot":"","sources":["../../../src/components/search-field/search-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|