@ropav/styles 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -15
- package/dist/components/accordion/accordion.styles.d.ts +47 -50
- package/dist/components/accordion/accordion.styles.d.ts.map +1 -1
- package/dist/components/accordion/accordion.styles.js +10 -10
- package/dist/components/accordion.css +16 -24
- package/dist/components/alert/alert.styles.d.ts +32 -74
- package/dist/components/alert/alert.styles.d.ts.map +1 -1
- package/dist/components/alert/alert.styles.js +11 -11
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts +79 -173
- package/dist/components/alert-dialog/alert-dialog.styles.d.ts.map +1 -1
- package/dist/components/alert-dialog/alert-dialog.styles.js +24 -24
- package/dist/components/alert-dialog.css +27 -39
- package/dist/components/alert.css +15 -15
- package/dist/components/autocomplete/autocomplete.styles.d.ts +58 -107
- package/dist/components/autocomplete/autocomplete.styles.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.styles.js +16 -16
- package/dist/components/autocomplete.css +43 -53
- package/dist/components/avatar/avatar.styles.d.ts +30 -119
- package/dist/components/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/avatar/avatar.styles.js +13 -13
- package/dist/components/avatar.css +18 -18
- package/dist/components/badge/badge.styles.d.ts +34 -176
- package/dist/components/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/badge/badge.styles.js +19 -19
- package/dist/components/badge.css +28 -28
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +17 -44
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +5 -5
- package/dist/components/breadcrumbs.css +13 -6
- package/dist/components/button/button.styles.d.ts +9 -68
- package/dist/components/button/button.styles.d.ts.map +1 -1
- package/dist/components/button/button.styles.js +14 -14
- package/dist/components/button-group/button-group.styles.d.ts +20 -56
- package/dist/components/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/button-group/button-group.styles.js +6 -6
- package/dist/components/button-group.css +24 -28
- package/dist/components/button.css +19 -23
- package/dist/components/calendar/calendar.styles.d.ts +41 -77
- package/dist/components/calendar/calendar.styles.d.ts.map +1 -1
- package/dist/components/calendar/calendar.styles.js +13 -13
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts +20 -50
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.d.ts.map +1 -1
- package/dist/components/calendar-year-picker/calendar-year-picker.styles.js +6 -6
- package/dist/components/calendar-year-picker.css +36 -23
- package/dist/components/calendar.css +68 -43
- package/dist/components/card/card.styles.d.ts +37 -68
- package/dist/components/card/card.styles.d.ts.map +1 -1
- package/dist/components/card/card.styles.js +11 -11
- package/dist/components/card.css +10 -10
- package/dist/components/checkbox/checkbox.styles.d.ts +27 -44
- package/dist/components/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.styles.js +7 -7
- package/dist/components/checkbox-group/checkbox-group.styles.d.ts +6 -17
- package/dist/components/checkbox-group/checkbox-group.styles.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.styles.js +4 -4
- package/dist/components/checkbox-group.css +1 -1
- package/dist/components/checkbox.css +87 -88
- package/dist/components/chip/chip.styles.d.ts +23 -140
- package/dist/components/chip/chip.styles.d.ts.map +1 -1
- package/dist/components/chip/chip.styles.js +15 -15
- package/dist/components/chip.css +26 -24
- package/dist/components/close-button/close-button.styles.d.ts +6 -14
- package/dist/components/close-button/close-button.styles.d.ts.map +1 -1
- package/dist/components/close-button/close-button.styles.js +3 -3
- package/dist/components/close-button.css +9 -8
- package/dist/components/color-area/color-area.styles.d.ts +17 -32
- package/dist/components/color-area/color-area.styles.d.ts.map +1 -1
- package/dist/components/color-area/color-area.styles.js +4 -4
- package/dist/components/color-area.css +9 -9
- package/dist/components/color-field/color-field.styles.d.ts +6 -17
- package/dist/components/color-field/color-field.styles.d.ts.map +1 -1
- package/dist/components/color-field/color-field.styles.js +3 -3
- package/dist/components/color-field.css +2 -2
- package/dist/components/color-input-group/color-input-group.styles.d.ts +37 -89
- package/dist/components/color-input-group/color-input-group.styles.d.ts.map +1 -1
- package/dist/components/color-input-group/color-input-group.styles.js +10 -10
- package/dist/components/color-input-group.css +23 -40
- package/dist/components/color-picker/color-picker.styles.d.ts +14 -38
- package/dist/components/color-picker/color-picker.styles.d.ts.map +1 -1
- package/dist/components/color-picker/color-picker.styles.js +4 -4
- package/dist/components/color-picker.css +4 -8
- package/dist/components/color-slider/color-slider.styles.d.ts +17 -44
- package/dist/components/color-slider/color-slider.styles.d.ts.map +1 -1
- package/dist/components/color-slider/color-slider.styles.js +5 -5
- package/dist/components/color-slider.css +30 -28
- package/dist/components/color-swatch/color-swatch.styles.d.ts +7 -38
- package/dist/components/color-swatch/color-swatch.styles.d.ts.map +1 -1
- package/dist/components/color-swatch/color-swatch.styles.js +9 -9
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts +37 -119
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.d.ts.map +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker.styles.js +14 -14
- package/dist/components/color-swatch-picker.css +21 -104
- package/dist/components/color-swatch.css +13 -13
- package/dist/components/combo-box/combo-box.styles.d.ts +38 -71
- package/dist/components/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/combo-box/combo-box.styles.js +10 -10
- package/dist/components/combo-box.css +23 -13
- package/dist/components/date-field/date-field.styles.d.ts +6 -17
- package/dist/components/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/date-field/date-field.styles.js +3 -3
- package/dist/components/date-field.css +2 -2
- package/dist/components/date-input-group/date-input-group.styles.d.ts +51 -95
- package/dist/components/date-input-group/date-input-group.styles.d.ts.map +1 -1
- package/dist/components/date-input-group/date-input-group.styles.js +12 -12
- package/dist/components/date-input-group.css +50 -48
- package/dist/components/date-picker/date-picker.styles.d.ts +17 -44
- package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.styles.js +5 -5
- package/dist/components/date-picker.css +9 -13
- package/dist/components/date-range-picker/date-range-picker.styles.d.ts +20 -50
- package/dist/components/date-range-picker/date-range-picker.styles.d.ts.map +1 -1
- package/dist/components/date-range-picker/date-range-picker.styles.js +6 -6
- package/dist/components/date-range-picker.css +10 -14
- package/dist/components/description/description.styles.d.ts +4 -2
- package/dist/components/description/description.styles.d.ts.map +1 -1
- package/dist/components/description/description.styles.js +2 -2
- package/dist/components/description.css +1 -1
- package/dist/components/disclosure/disclosure.styles.d.ts +26 -26
- package/dist/components/disclosure/disclosure.styles.d.ts.map +1 -1
- package/dist/components/disclosure/disclosure.styles.js +8 -8
- package/dist/components/disclosure-group/disclosure-group.styles.d.ts +8 -8
- package/dist/components/disclosure-group/disclosure-group.styles.d.ts.map +1 -1
- package/dist/components/disclosure-group/disclosure-group.styles.js +2 -2
- package/dist/components/disclosure-group.css +1 -1
- package/dist/components/disclosure.css +6 -10
- package/dist/components/drawer/drawer.styles.d.ts +68 -125
- package/dist/components/drawer/drawer.styles.d.ts.map +1 -1
- package/dist/components/drawer/drawer.styles.js +22 -22
- package/dist/components/drawer.css +41 -45
- package/dist/components/drop-zone/drop-zone.styles.d.ts +13 -0
- package/dist/components/drop-zone/drop-zone.styles.d.ts.map +1 -0
- package/dist/components/drop-zone/drop-zone.styles.js +8 -0
- package/dist/components/drop-zone/index.d.ts +2 -0
- package/dist/components/drop-zone/index.d.ts.map +1 -0
- package/dist/components/drop-zone/index.js +2 -0
- package/dist/components/drop-zone.css +78 -0
- package/dist/components/dropdown/dropdown.styles.d.ts +17 -44
- package/dist/components/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/dropdown/dropdown.styles.js +5 -5
- package/dist/components/dropdown.css +13 -15
- package/dist/components/empty-state/empty-state.styles.d.ts +4 -2
- package/dist/components/empty-state/empty-state.styles.d.ts.map +1 -1
- package/dist/components/empty-state/empty-state.styles.js +2 -2
- package/dist/components/empty-state.css +1 -1
- package/dist/components/error-message/error-message.styles.d.ts +4 -2
- package/dist/components/error-message/error-message.styles.d.ts.map +1 -1
- package/dist/components/error-message/error-message.styles.js +2 -2
- package/dist/components/error-message.css +1 -5
- package/dist/components/field-error/field-error.styles.d.ts +4 -2
- package/dist/components/field-error/field-error.styles.d.ts.map +1 -1
- package/dist/components/field-error/field-error.styles.js +2 -2
- package/dist/components/field-error.css +7 -11
- package/dist/components/fieldset/fieldset.styles.d.ts +20 -50
- package/dist/components/fieldset/fieldset.styles.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.styles.js +6 -6
- package/dist/components/fieldset.css +4 -4
- package/dist/components/header/header.styles.d.ts +3 -1
- package/dist/components/header/header.styles.d.ts.map +1 -1
- package/dist/components/header/header.styles.js +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/index.css +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/input.styles.d.ts +8 -44
- package/dist/components/input/input.styles.d.ts.map +1 -1
- package/dist/components/input/input.styles.js +7 -7
- package/dist/components/input-group/input-group.styles.d.ts +37 -89
- package/dist/components/input-group/input-group.styles.d.ts.map +1 -1
- package/dist/components/input-group/input-group.styles.js +10 -10
- package/dist/components/input-group.css +29 -54
- package/dist/components/input-otp/input-otp.styles.d.ts +42 -53
- package/dist/components/input-otp/input-otp.styles.d.ts.map +1 -1
- package/dist/components/input-otp/input-otp.styles.js +10 -10
- package/dist/components/input-otp.css +24 -36
- package/dist/components/input.css +17 -38
- package/dist/components/kbd/kbd.styles.d.ts +22 -29
- package/dist/components/kbd/kbd.styles.d.ts.map +1 -1
- package/dist/components/kbd/kbd.styles.js +6 -6
- package/dist/components/kbd.css +7 -5
- package/dist/components/label/label.styles.d.ts +8 -32
- package/dist/components/label/label.styles.d.ts.map +1 -1
- package/dist/components/label/label.styles.js +5 -5
- package/dist/components/label.css +16 -11
- package/dist/components/link/link.styles.d.ts +11 -32
- package/dist/components/link/link.styles.d.ts.map +1 -1
- package/dist/components/link/link.styles.js +3 -3
- package/dist/components/link.css +20 -18
- package/dist/components/list-box/list-box.styles.d.ts +7 -32
- package/dist/components/list-box/list-box.styles.d.ts.map +1 -1
- package/dist/components/list-box/list-box.styles.js +6 -6
- package/dist/components/list-box-item/list-box-item.styles.d.ts +17 -38
- package/dist/components/list-box-item/list-box-item.styles.d.ts.map +1 -1
- package/dist/components/list-box-item/list-box-item.styles.js +5 -5
- package/dist/components/list-box-item.css +13 -19
- package/dist/components/list-box-section/list-box-section.styles.d.ts +4 -2
- package/dist/components/list-box-section/list-box-section.styles.d.ts.map +1 -1
- package/dist/components/list-box-section/list-box-section.styles.js +2 -2
- package/dist/components/list-box-section.css +1 -1
- package/dist/components/list-box.css +53 -3
- package/dist/components/menu/menu.styles.d.ts +6 -20
- package/dist/components/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/menu/menu.styles.js +4 -4
- package/dist/components/menu-item/menu-item.styles.d.ts +22 -41
- package/dist/components/menu-item/menu-item.styles.d.ts.map +1 -1
- package/dist/components/menu-item/menu-item.styles.js +6 -6
- package/dist/components/menu-item.css +15 -21
- package/dist/components/menu-section/menu-section.styles.d.ts +4 -2
- package/dist/components/menu-section/menu-section.styles.d.ts.map +1 -1
- package/dist/components/menu-section/menu-section.styles.js +2 -2
- package/dist/components/menu-section.css +1 -1
- package/dist/components/menu.css +4 -4
- package/dist/components/meter/meter.styles.d.ts +32 -104
- package/dist/components/meter/meter.styles.d.ts.map +1 -1
- package/dist/components/meter/meter.styles.js +13 -13
- package/dist/components/meter.css +22 -30
- package/dist/components/modal/modal.styles.d.ts +79 -167
- package/dist/components/modal/modal.styles.d.ts.map +1 -1
- package/dist/components/modal/modal.styles.js +26 -26
- package/dist/components/modal.css +30 -42
- package/dist/components/number-field/number-field.styles.d.ts +44 -95
- package/dist/components/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/number-field/number-field.styles.js +12 -12
- package/dist/components/number-field.css +47 -59
- package/dist/components/pagination/pagination.styles.d.ts +44 -59
- package/dist/components/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/pagination/pagination.styles.js +19 -12
- package/dist/components/pagination.css +18 -22
- package/dist/components/popover/popover.styles.d.ts +17 -44
- package/dist/components/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/popover/popover.styles.js +5 -5
- package/dist/components/popover.css +4 -8
- package/dist/components/progress-bar/progress-bar.styles.d.ts +42 -104
- package/dist/components/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/progress-bar/progress-bar.styles.js +23 -13
- package/dist/components/progress-bar.css +97 -31
- package/dist/components/progress-circle/progress-circle.styles.d.ts +32 -104
- package/dist/components/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/progress-circle/progress-circle.styles.js +13 -13
- package/dist/components/progress-circle.css +17 -21
- package/dist/components/radio/radio.styles.d.ts +17 -44
- package/dist/components/radio/radio.styles.d.ts.map +1 -1
- package/dist/components/radio/radio.styles.js +5 -5
- package/dist/components/radio-group/radio-group.styles.d.ts +6 -17
- package/dist/components/radio-group/radio-group.styles.d.ts.map +1 -1
- package/dist/components/radio-group/radio-group.styles.js +4 -4
- package/dist/components/radio-group.css +8 -8
- package/dist/components/radio.css +46 -48
- package/dist/components/range-calendar/range-calendar.styles.d.ts +44 -77
- package/dist/components/range-calendar/range-calendar.styles.d.ts.map +1 -1
- package/dist/components/range-calendar/range-calendar.styles.js +15 -13
- package/dist/components/range-calendar.css +111 -69
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts +16 -68
- package/dist/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -1
- package/dist/components/scroll-shadow/scroll-shadow.styles.js +6 -6
- package/dist/components/scroll-shadow.css +6 -6
- package/dist/components/search-field/search-field.styles.d.ts +44 -95
- package/dist/components/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/search-field/search-field.styles.js +12 -12
- package/dist/components/search-field.css +29 -46
- package/dist/components/segmented-control/segmented-control.styles.d.ts +32 -71
- package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/segmented-control/segmented-control.styles.js +9 -9
- package/dist/components/segmented-control.css +26 -31
- package/dist/components/select/select.styles.d.ts +44 -101
- package/dist/components/select/select.styles.d.ts.map +1 -1
- package/dist/components/select/select.styles.js +14 -14
- package/dist/components/select.css +33 -47
- package/dist/components/separator/separator.styles.d.ts +7 -32
- package/dist/components/separator/separator.styles.d.ts.map +1 -1
- package/dist/components/separator/separator.styles.js +7 -7
- package/dist/components/separator.css +13 -13
- package/dist/components/sidebar/sidebar.styles.d.ts +222 -188
- package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.styles.js +45 -32
- package/dist/components/sidebar.css +180 -80
- package/dist/components/skeleton/skeleton.styles.d.ts +12 -26
- package/dist/components/skeleton/skeleton.styles.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.styles.js +5 -5
- package/dist/components/skeleton.css +6 -6
- package/dist/components/slider/slider.styles.d.ts +23 -56
- package/dist/components/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/slider/slider.styles.js +7 -7
- package/dist/components/slider.css +24 -25
- package/dist/components/spinner/spinner.styles.d.ts +7 -44
- package/dist/components/spinner/spinner.styles.d.ts.map +1 -1
- package/dist/components/spinner/spinner.styles.js +11 -11
- package/dist/components/spinner.css +10 -10
- package/dist/components/splitter/splitter.styles.d.ts +32 -59
- package/dist/components/splitter/splitter.styles.d.ts.map +1 -1
- package/dist/components/splitter/splitter.styles.js +12 -12
- package/dist/components/splitter.css +64 -56
- package/dist/components/surface/surface.styles.d.ts +6 -23
- package/dist/components/surface/surface.styles.d.ts.map +1 -1
- package/dist/components/surface/surface.styles.js +6 -6
- package/dist/components/surface.css +5 -5
- package/dist/components/switch/switch.styles.d.ts +32 -56
- package/dist/components/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/switch/switch.styles.js +9 -9
- package/dist/components/switch-group/switch-group.styles.d.ts +17 -38
- package/dist/components/switch-group/switch-group.styles.d.ts.map +1 -1
- package/dist/components/switch-group/switch-group.styles.js +5 -5
- package/dist/components/switch-group.css +4 -4
- package/dist/components/switch.css +68 -67
- package/dist/components/table/table.styles.d.ts +87 -77
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/components/table/table.styles.js +20 -18
- package/dist/components/table.css +177 -86
- package/dist/components/tabs/tabs.styles.d.ts +57 -56
- package/dist/components/tabs/tabs.styles.d.ts.map +1 -1
- package/dist/components/tabs/tabs.styles.js +12 -12
- package/dist/components/tabs.css +41 -52
- package/dist/components/tag/tag.styles.d.ts +20 -71
- package/dist/components/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/tag/tag.styles.js +8 -8
- package/dist/components/tag-group/tag-group.styles.d.ts +11 -32
- package/dist/components/tag-group/tag-group.styles.d.ts.map +1 -1
- package/dist/components/tag-group/tag-group.styles.js +3 -3
- package/dist/components/tag-group.css +6 -6
- package/dist/components/tag.css +43 -35
- package/dist/components/textarea/textarea.styles.d.ts +8 -44
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
- package/dist/components/textarea/textarea.styles.js +7 -7
- package/dist/components/textarea.css +17 -38
- package/dist/components/textfield/textfield.styles.d.ts +6 -17
- package/dist/components/textfield/textfield.styles.d.ts.map +1 -1
- package/dist/components/textfield/textfield.styles.js +3 -3
- package/dist/components/textfield.css +2 -2
- package/dist/components/time-field/time-field.styles.d.ts +6 -17
- package/dist/components/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/time-field/time-field.styles.js +3 -3
- package/dist/components/time-field.css +2 -2
- package/dist/components/toast/toast.styles.d.ts +56 -161
- package/dist/components/toast/toast.styles.d.ts.map +1 -1
- package/dist/components/toast/toast.styles.js +26 -26
- package/dist/components/toast.css +58 -56
- package/dist/components/toggle-button/toggle-button.styles.d.ts +8 -41
- package/dist/components/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/toggle-button/toggle-button.styles.js +8 -8
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts +23 -74
- package/dist/components/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/toggle-button-group/toggle-button-group.styles.js +7 -7
- package/dist/components/toggle-button-group.css +22 -26
- package/dist/components/toggle-button.css +11 -15
- package/dist/components/toolbar/toolbar.styles.d.ts +7 -26
- package/dist/components/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.styles.js +5 -5
- package/dist/components/toolbar.css +7 -7
- package/dist/components/tooltip/tooltip.styles.d.ts +11 -32
- package/dist/components/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.styles.js +3 -3
- package/dist/components/tooltip.css +2 -6
- package/dist/components/typography/typography.styles.d.ts +29 -107
- package/dist/components/typography/typography.styles.d.ts.map +1 -1
- package/dist/components/typography/typography.styles.js +24 -24
- package/dist/components/typography.css +53 -45
- package/dist/components/virtualizer/virtualizer.styles.d.ts +13 -37
- package/dist/components/virtualizer/virtualizer.styles.d.ts.map +1 -1
- package/dist/components/virtualizer/virtualizer.styles.js +4 -4
- package/dist/components/virtualizer.css +14 -6
- package/dist/core.css +26 -0
- package/dist/index.css +8 -24
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/no-preflight.css +8 -0
- package/dist/ropav.min.css +1 -1
- package/dist/themes/airbnb.css +6 -4
- package/dist/themes/coinbase.css +6 -4
- package/dist/themes/default.css +24 -4
- package/dist/themes/discord.css +6 -4
- package/dist/themes/hero.css +24 -4
- package/dist/themes/lavender.css +6 -4
- package/dist/themes/mint.css +6 -4
- package/dist/themes/netflix.css +6 -4
- package/dist/themes/rabbit.css +6 -4
- package/dist/themes/shared/theme.css +1 -0
- package/dist/themes/sky.css +6 -4
- package/dist/themes/spotify.css +6 -4
- package/dist/themes/uber.css +6 -4
- package/dist/themes.d.ts +12 -0
- package/dist/themes.d.ts.map +1 -0
- package/dist/themes.js +39 -0
- package/dist/tv.d.ts +34 -0
- package/dist/tv.d.ts.map +1 -0
- package/dist/tv.js +21 -0
- package/package.json +5 -3
- package/src/components/accordion/accordion.styles.ts +11 -11
- package/src/components/alert/alert.styles.ts +12 -12
- package/src/components/alert-dialog/alert-dialog.styles.ts +25 -25
- package/src/components/autocomplete/autocomplete.styles.ts +17 -17
- package/src/components/avatar/avatar.styles.ts +14 -14
- package/src/components/badge/badge.styles.ts +20 -20
- package/src/components/breadcrumbs/breadcrumbs.styles.ts +6 -6
- package/src/components/button/button.styles.ts +15 -15
- package/src/components/button-group/button-group.styles.ts +7 -7
- package/src/components/calendar/calendar.styles.ts +14 -14
- package/src/components/calendar-year-picker/calendar-year-picker.styles.ts +7 -7
- package/src/components/card/card.styles.ts +12 -12
- package/src/components/checkbox/checkbox.styles.ts +8 -8
- package/src/components/checkbox-group/checkbox-group.styles.ts +5 -5
- package/src/components/chip/chip.styles.ts +16 -16
- package/src/components/close-button/close-button.styles.ts +4 -4
- package/src/components/color-area/color-area.styles.ts +5 -5
- package/src/components/color-field/color-field.styles.ts +4 -4
- package/src/components/color-input-group/color-input-group.styles.ts +11 -11
- package/src/components/color-picker/color-picker.styles.ts +5 -5
- package/src/components/color-slider/color-slider.styles.ts +6 -6
- package/src/components/color-swatch/color-swatch.styles.ts +10 -10
- package/src/components/color-swatch-picker/color-swatch-picker.styles.ts +15 -15
- package/src/components/combo-box/combo-box.styles.ts +11 -11
- package/src/components/date-field/date-field.styles.ts +4 -4
- package/src/components/date-input-group/date-input-group.styles.ts +13 -13
- package/src/components/date-picker/date-picker.styles.ts +6 -6
- package/src/components/date-range-picker/date-range-picker.styles.ts +7 -7
- package/src/components/description/description.styles.ts +3 -3
- package/src/components/disclosure/disclosure.styles.ts +9 -9
- package/src/components/disclosure-group/disclosure-group.styles.ts +3 -3
- package/src/components/drawer/drawer.styles.ts +23 -23
- package/src/components/drop-zone/drop-zone.styles.ts +12 -0
- package/src/components/drop-zone/index.ts +1 -0
- package/src/components/dropdown/dropdown.styles.ts +6 -6
- package/src/components/empty-state/empty-state.styles.ts +3 -3
- package/src/components/error-message/error-message.styles.ts +3 -3
- package/src/components/field-error/field-error.styles.ts +3 -3
- package/src/components/fieldset/fieldset.styles.ts +7 -7
- package/src/components/header/header.styles.ts +2 -2
- package/src/components/index.ts +1 -0
- package/src/components/input/input.styles.ts +8 -8
- package/src/components/input-group/input-group.styles.ts +11 -11
- package/src/components/input-otp/input-otp.styles.ts +11 -11
- package/src/components/kbd/kbd.styles.ts +7 -7
- package/src/components/label/label.styles.ts +6 -6
- package/src/components/link/link.styles.ts +4 -4
- package/src/components/list-box/list-box.styles.ts +7 -7
- package/src/components/list-box-item/list-box-item.styles.ts +6 -6
- package/src/components/list-box-section/list-box-section.styles.ts +3 -3
- package/src/components/menu/menu.styles.ts +5 -5
- package/src/components/menu-item/menu-item.styles.ts +7 -7
- package/src/components/menu-section/menu-section.styles.ts +3 -3
- package/src/components/meter/meter.styles.ts +14 -14
- package/src/components/modal/modal.styles.ts +27 -27
- package/src/components/number-field/number-field.styles.ts +13 -13
- package/src/components/pagination/pagination.styles.ts +18 -11
- package/src/components/popover/popover.styles.ts +6 -6
- package/src/components/progress-bar/progress-bar.styles.ts +28 -14
- package/src/components/progress-circle/progress-circle.styles.ts +14 -14
- package/src/components/radio/radio.styles.ts +6 -6
- package/src/components/radio-group/radio-group.styles.ts +5 -5
- package/src/components/range-calendar/range-calendar.styles.ts +16 -14
- package/src/components/scroll-shadow/scroll-shadow.styles.ts +7 -7
- package/src/components/search-field/search-field.styles.ts +13 -13
- package/src/components/segmented-control/segmented-control.styles.ts +10 -10
- package/src/components/select/select.styles.ts +15 -15
- package/src/components/separator/separator.styles.ts +8 -8
- package/src/components/sidebar/sidebar.styles.ts +55 -32
- package/src/components/skeleton/skeleton.styles.ts +6 -6
- package/src/components/slider/slider.styles.ts +8 -8
- package/src/components/spinner/spinner.styles.ts +12 -12
- package/src/components/splitter/splitter.styles.ts +13 -13
- package/src/components/surface/surface.styles.ts +7 -7
- package/src/components/switch/switch.styles.ts +10 -10
- package/src/components/switch-group/switch-group.styles.ts +6 -6
- package/src/components/table/table.styles.ts +21 -19
- package/src/components/tabs/tabs.styles.ts +13 -13
- package/src/components/tag/tag.styles.ts +9 -9
- package/src/components/tag-group/tag-group.styles.ts +4 -4
- package/src/components/textarea/textarea.styles.ts +8 -8
- package/src/components/textfield/textfield.styles.ts +4 -4
- package/src/components/time-field/time-field.styles.ts +4 -4
- package/src/components/toast/toast.styles.ts +27 -27
- package/src/components/toggle-button/toggle-button.styles.ts +9 -9
- package/src/components/toggle-button-group/toggle-button-group.styles.ts +8 -8
- package/src/components/toolbar/toolbar.styles.ts +6 -6
- package/src/components/tooltip/tooltip.styles.ts +4 -4
- package/src/components/typography/typography.styles.ts +25 -25
- package/src/components/virtualizer/virtualizer.styles.ts +4 -4
- package/src/index.ts +5 -2
- package/src/themes.ts +40 -0
- package/src/tv.ts +82 -0
|
@@ -3,13 +3,9 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.toggle-button {
|
|
6
|
+
.rp-toggle-button {
|
|
7
7
|
@apply relative isolate inline-flex h-9 w-fit origin-center items-center justify-center gap-2 rounded-component px-4 text-sm font-medium whitespace-nowrap outline-none select-none no-highlight;
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Transitions
|
|
11
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
12
|
-
*/
|
|
13
9
|
transition:
|
|
14
10
|
transform 250ms var(--ease-smooth),
|
|
15
11
|
background-color 100ms var(--ease-out),
|
|
@@ -99,7 +95,7 @@
|
|
|
99
95
|
Size variants
|
|
100
96
|
========================================================================== */
|
|
101
97
|
|
|
102
|
-
.toggle-button--sm {
|
|
98
|
+
.rp-toggle-button--sm {
|
|
103
99
|
@apply h-8 px-3;
|
|
104
100
|
|
|
105
101
|
&:active,
|
|
@@ -108,11 +104,11 @@
|
|
|
108
104
|
}
|
|
109
105
|
}
|
|
110
106
|
|
|
111
|
-
.toggle-button--md {
|
|
107
|
+
.rp-toggle-button--md {
|
|
112
108
|
/* No styles as this is the default size */
|
|
113
109
|
}
|
|
114
110
|
|
|
115
|
-
.toggle-button--lg {
|
|
111
|
+
.rp-toggle-button--lg {
|
|
116
112
|
@apply h-10 text-base;
|
|
117
113
|
|
|
118
114
|
&:active,
|
|
@@ -125,16 +121,16 @@
|
|
|
125
121
|
Variant styles
|
|
126
122
|
========================================================================== */
|
|
127
123
|
|
|
128
|
-
.toggle-button--default {
|
|
124
|
+
.rp-toggle-button--default {
|
|
129
125
|
--toggle-button-bg: var(--default);
|
|
130
126
|
--toggle-button-bg-hover: var(--default-hover);
|
|
131
127
|
--toggle-button-bg-pressed: var(--default-hover);
|
|
132
128
|
}
|
|
133
129
|
|
|
134
|
-
.toggle-button--ghost {
|
|
130
|
+
.rp-toggle-button--ghost {
|
|
135
131
|
--toggle-button-bg: transparent;
|
|
136
|
-
--toggle-button-bg-hover: var(--
|
|
137
|
-
--toggle-button-bg-pressed: var(--
|
|
132
|
+
--toggle-button-bg-hover: var(--state-layer);
|
|
133
|
+
--toggle-button-bg-pressed: var(--state-layer);
|
|
138
134
|
--toggle-button-fg: var(--default-foreground);
|
|
139
135
|
}
|
|
140
136
|
|
|
@@ -142,14 +138,14 @@
|
|
|
142
138
|
Icon-only modifier
|
|
143
139
|
========================================================================== */
|
|
144
140
|
|
|
145
|
-
.toggle-button--icon-only {
|
|
141
|
+
.rp-toggle-button--icon-only {
|
|
146
142
|
@apply w-9 p-0;
|
|
147
143
|
}
|
|
148
144
|
|
|
149
|
-
.toggle-button--icon-only.toggle-button--sm {
|
|
145
|
+
.rp-toggle-button--icon-only.rp-toggle-button--sm {
|
|
150
146
|
@apply w-8;
|
|
151
147
|
}
|
|
152
148
|
|
|
153
|
-
.toggle-button--icon-only.toggle-button--lg {
|
|
149
|
+
.rp-toggle-button--icon-only.rp-toggle-button--lg {
|
|
154
150
|
@apply w-10;
|
|
155
151
|
}
|
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
declare const toolbarVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
orientation
|
|
7
|
-
|
|
8
|
-
vertical: "toolbar--vertical";
|
|
9
|
-
};
|
|
10
|
-
}, undefined, "toolbar", {
|
|
11
|
-
isAttached: {
|
|
12
|
-
true: "toolbar--attached";
|
|
13
|
-
};
|
|
14
|
-
orientation: {
|
|
15
|
-
horizontal: "toolbar--horizontal";
|
|
16
|
-
vertical: "toolbar--vertical";
|
|
17
|
-
};
|
|
18
|
-
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
19
|
-
isAttached: {
|
|
20
|
-
true: "toolbar--attached";
|
|
21
|
-
};
|
|
22
|
-
orientation: {
|
|
23
|
-
horizontal: "toolbar--horizontal";
|
|
24
|
-
vertical: "toolbar--vertical";
|
|
25
|
-
};
|
|
26
|
-
}, undefined>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
declare const toolbarVariants: (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
|
+
isAttached?: boolean | undefined;
|
|
6
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
7
|
+
}) | undefined) => string;
|
|
27
8
|
export { toolbarVariants };
|
|
28
9
|
export type ToolbarVariants = VariantProps<typeof toolbarVariants>;
|
|
29
10
|
//# sourceMappingURL=toolbar.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toolbar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/toolbar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,QAAA,MAAM,eAAe;;;;;yBAenB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/toolbar/toolbar.styles.ts
|
|
3
3
|
const toolbarVariants = tv({
|
|
4
|
-
base: "toolbar",
|
|
4
|
+
base: "rp-toolbar",
|
|
5
5
|
defaultVariants: {
|
|
6
6
|
isAttached: false,
|
|
7
7
|
orientation: "horizontal"
|
|
8
8
|
},
|
|
9
9
|
variants: {
|
|
10
|
-
isAttached: { true: "toolbar--attached" },
|
|
10
|
+
isAttached: { true: "rp-toolbar--attached" },
|
|
11
11
|
orientation: {
|
|
12
|
-
horizontal: "toolbar--horizontal",
|
|
13
|
-
vertical: "toolbar--vertical"
|
|
12
|
+
horizontal: "rp-toolbar--horizontal",
|
|
13
|
+
vertical: "rp-toolbar--vertical"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -3,31 +3,31 @@
|
|
|
3
3
|
========================================================================== */
|
|
4
4
|
|
|
5
5
|
/* Base styles */
|
|
6
|
-
.toolbar {
|
|
6
|
+
.rp-toolbar {
|
|
7
7
|
@apply grid w-fit grid-flow-col items-center gap-2;
|
|
8
8
|
|
|
9
|
-
.separator--vertical {
|
|
9
|
+
.rp-separator--vertical {
|
|
10
10
|
@apply h-1/2 self-center;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.separator--horizontal {
|
|
13
|
+
.rp-separator--horizontal {
|
|
14
14
|
@apply w-1/2 justify-center justify-self-center;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/* Orientation variants */
|
|
19
|
-
.toolbar--horizontal {
|
|
19
|
+
.rp-toolbar--horizontal {
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.toolbar--vertical {
|
|
22
|
+
.rp-toolbar--vertical {
|
|
23
23
|
@apply grid-flow-row items-start justify-start;
|
|
24
|
-
.button-group {
|
|
24
|
+
.rp-button-group {
|
|
25
25
|
@apply justify-start;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* Attached variant */
|
|
30
|
-
.toolbar--attached {
|
|
30
|
+
.rp-toolbar--attached {
|
|
31
31
|
@apply rounded-component bg-surface p-1 shadow-overlay;
|
|
32
32
|
|
|
33
33
|
/* Forced Colors Mode flattens the fill onto the page and strips the shadow, so the container
|
|
@@ -1,34 +1,13 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const tooltipVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
base?: import("tailwind-variants").ClassValue;
|
|
13
|
-
trigger?: import("tailwind-variants").ClassValue;
|
|
14
|
-
} | import("tailwind-variants").ClassValue;
|
|
15
|
-
};
|
|
16
|
-
} | {}, {
|
|
17
|
-
base: string;
|
|
18
|
-
trigger: string;
|
|
19
|
-
}, undefined, {
|
|
20
|
-
[key: string]: {
|
|
21
|
-
[key: string]: {
|
|
22
|
-
base?: import("tailwind-variants").ClassValue;
|
|
23
|
-
trigger?: import("tailwind-variants").ClassValue;
|
|
24
|
-
} | import("tailwind-variants").ClassValue;
|
|
25
|
-
};
|
|
26
|
-
} | {}, {
|
|
27
|
-
base: string;
|
|
28
|
-
trigger: string;
|
|
29
|
-
}, import("tailwind-variants").TVReturnTypeLike<unknown, {
|
|
30
|
-
base: string;
|
|
31
|
-
trigger: string;
|
|
32
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const tooltipVariants: (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
|
+
} & object) | undefined) => {
|
|
5
|
+
base: (props?: ({
|
|
6
|
+
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;
|
|
7
|
+
} & object) | undefined) => string;
|
|
8
|
+
trigger: (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
|
+
} & object) | undefined) => string;
|
|
11
|
+
};
|
|
33
12
|
export type TooltipVariants = VariantProps<typeof tooltipVariants>;
|
|
34
13
|
//# sourceMappingURL=tooltip.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tooltip.styles.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,eAAe;;;;;;;;;CAK1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/tooltip/tooltip.styles.ts
|
|
3
3
|
const tooltipVariants = tv({ slots: {
|
|
4
|
-
base: "tooltip",
|
|
5
|
-
trigger: "tooltip__trigger"
|
|
4
|
+
base: "rp-tooltip",
|
|
5
|
+
trigger: "rp-tooltip__trigger"
|
|
6
6
|
} });
|
|
7
7
|
//#endregion
|
|
8
8
|
export { tooltipVariants };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Tooltip component styles */
|
|
2
2
|
|
|
3
3
|
/* Base tooltip styles */
|
|
4
|
-
.tooltip {
|
|
4
|
+
.rp-tooltip {
|
|
5
5
|
@apply max-w-xs origin-(--trigger-anchor-point) bg-overlay p-2 text-xs break-all;
|
|
6
6
|
border-radius: min(32px, var(--component-radius));
|
|
7
7
|
box-shadow: var(--shadow-overlay);
|
|
@@ -72,13 +72,9 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Tooltip trigger */
|
|
75
|
-
.tooltip__trigger {
|
|
75
|
+
.rp-tooltip__trigger {
|
|
76
76
|
@apply inline-block;
|
|
77
77
|
|
|
78
|
-
/**
|
|
79
|
-
* Transitions
|
|
80
|
-
* CRITICAL: motion-reduce must be AFTER transition for correct override specificity
|
|
81
|
-
*/
|
|
82
78
|
transition:
|
|
83
79
|
color 150ms var(--ease-smooth),
|
|
84
80
|
background-color 150ms var(--ease-smooth),
|
|
@@ -1,109 +1,31 @@
|
|
|
1
|
-
import type { VariantProps } from "
|
|
2
|
-
export declare const typographyVariants:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
body
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
medium: "typography--weight-medium";
|
|
31
|
-
normal: "typography--weight-normal";
|
|
32
|
-
semibold: "typography--weight-semibold";
|
|
33
|
-
};
|
|
34
|
-
}, {
|
|
35
|
-
base: string;
|
|
36
|
-
prose: string;
|
|
37
|
-
}, undefined, {
|
|
38
|
-
align: {
|
|
39
|
-
center: "typography--align-center";
|
|
40
|
-
end: "typography--align-end";
|
|
41
|
-
justify: "typography--align-justify";
|
|
42
|
-
start: "typography--align-start";
|
|
43
|
-
};
|
|
44
|
-
color: {
|
|
45
|
-
default: "typography--color-default";
|
|
46
|
-
muted: "typography--color-muted";
|
|
47
|
-
};
|
|
48
|
-
truncate: {
|
|
49
|
-
true: "typography--truncate";
|
|
50
|
-
};
|
|
51
|
-
type: {
|
|
52
|
-
body: "typography--body";
|
|
53
|
-
"body-sm": "typography--body-sm";
|
|
54
|
-
"body-xs": "typography--body-xs";
|
|
55
|
-
code: "typography--code";
|
|
56
|
-
h1: "typography--h1";
|
|
57
|
-
h2: "typography--h2";
|
|
58
|
-
h3: "typography--h3";
|
|
59
|
-
h4: "typography--h4";
|
|
60
|
-
h5: "typography--h5";
|
|
61
|
-
h6: "typography--h6";
|
|
62
|
-
};
|
|
63
|
-
weight: {
|
|
64
|
-
bold: "typography--weight-bold";
|
|
65
|
-
medium: "typography--weight-medium";
|
|
66
|
-
normal: "typography--weight-normal";
|
|
67
|
-
semibold: "typography--weight-semibold";
|
|
68
|
-
};
|
|
69
|
-
}, {
|
|
70
|
-
base: string;
|
|
71
|
-
prose: string;
|
|
72
|
-
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
73
|
-
align: {
|
|
74
|
-
center: "typography--align-center";
|
|
75
|
-
end: "typography--align-end";
|
|
76
|
-
justify: "typography--align-justify";
|
|
77
|
-
start: "typography--align-start";
|
|
78
|
-
};
|
|
79
|
-
color: {
|
|
80
|
-
default: "typography--color-default";
|
|
81
|
-
muted: "typography--color-muted";
|
|
82
|
-
};
|
|
83
|
-
truncate: {
|
|
84
|
-
true: "typography--truncate";
|
|
85
|
-
};
|
|
86
|
-
type: {
|
|
87
|
-
body: "typography--body";
|
|
88
|
-
"body-sm": "typography--body-sm";
|
|
89
|
-
"body-xs": "typography--body-xs";
|
|
90
|
-
code: "typography--code";
|
|
91
|
-
h1: "typography--h1";
|
|
92
|
-
h2: "typography--h2";
|
|
93
|
-
h3: "typography--h3";
|
|
94
|
-
h4: "typography--h4";
|
|
95
|
-
h5: "typography--h5";
|
|
96
|
-
h6: "typography--h6";
|
|
97
|
-
};
|
|
98
|
-
weight: {
|
|
99
|
-
bold: "typography--weight-bold";
|
|
100
|
-
medium: "typography--weight-medium";
|
|
101
|
-
normal: "typography--weight-normal";
|
|
102
|
-
semibold: "typography--weight-semibold";
|
|
103
|
-
};
|
|
104
|
-
}, {
|
|
105
|
-
base: string;
|
|
106
|
-
prose: string;
|
|
107
|
-
}>>;
|
|
1
|
+
import type { VariantProps } from "../../tv";
|
|
2
|
+
export declare const typographyVariants: (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
|
+
align?: "center" | "end" | "justify" | "start" | undefined;
|
|
6
|
+
color?: "default" | "muted" | undefined;
|
|
7
|
+
truncate?: boolean | undefined;
|
|
8
|
+
type?: "body" | "body-sm" | "body-xs" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
9
|
+
weight?: "bold" | "medium" | "normal" | "semibold" | undefined;
|
|
10
|
+
}) | undefined) => {
|
|
11
|
+
base: (props?: ({
|
|
12
|
+
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;
|
|
13
|
+
} & {
|
|
14
|
+
align?: "center" | "end" | "justify" | "start" | undefined;
|
|
15
|
+
color?: "default" | "muted" | undefined;
|
|
16
|
+
truncate?: boolean | undefined;
|
|
17
|
+
type?: "body" | "body-sm" | "body-xs" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
18
|
+
weight?: "bold" | "medium" | "normal" | "semibold" | undefined;
|
|
19
|
+
}) | undefined) => string;
|
|
20
|
+
prose: (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
|
+
align?: "center" | "end" | "justify" | "start" | undefined;
|
|
24
|
+
color?: "default" | "muted" | undefined;
|
|
25
|
+
truncate?: boolean | undefined;
|
|
26
|
+
type?: "body" | "body-sm" | "body-xs" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
27
|
+
weight?: "bold" | "medium" | "normal" | "semibold" | undefined;
|
|
28
|
+
}) | undefined) => string;
|
|
29
|
+
};
|
|
108
30
|
export type TypographyVariants = VariantProps<typeof typographyVariants>;
|
|
109
31
|
//# sourceMappingURL=typography.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.styles.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"typography.styles.d.ts","sourceRoot":"","sources":["../../../src/components/typography/typography.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from "
|
|
1
|
+
import { tv } from "../../tv.js";
|
|
2
2
|
//#region src/components/typography/typography.styles.ts
|
|
3
3
|
const typographyVariants = tv({
|
|
4
4
|
defaultVariants: {
|
|
@@ -7,38 +7,38 @@ const typographyVariants = tv({
|
|
|
7
7
|
type: "body"
|
|
8
8
|
},
|
|
9
9
|
slots: {
|
|
10
|
-
base: "typography",
|
|
11
|
-
prose: "typography-prose"
|
|
10
|
+
base: "rp-typography",
|
|
11
|
+
prose: "rp-typography-prose"
|
|
12
12
|
},
|
|
13
13
|
variants: {
|
|
14
14
|
align: {
|
|
15
|
-
center: "typography--align-center",
|
|
16
|
-
end: "typography--align-end",
|
|
17
|
-
justify: "typography--align-justify",
|
|
18
|
-
start: "typography--align-start"
|
|
15
|
+
center: "rp-typography--align-center",
|
|
16
|
+
end: "rp-typography--align-end",
|
|
17
|
+
justify: "rp-typography--align-justify",
|
|
18
|
+
start: "rp-typography--align-start"
|
|
19
19
|
},
|
|
20
20
|
color: {
|
|
21
|
-
default: "typography--color-default",
|
|
22
|
-
muted: "typography--color-muted"
|
|
21
|
+
default: "rp-typography--color-default",
|
|
22
|
+
muted: "rp-typography--color-muted"
|
|
23
23
|
},
|
|
24
|
-
truncate: { true: "typography--truncate" },
|
|
24
|
+
truncate: { true: "rp-typography--truncate" },
|
|
25
25
|
type: {
|
|
26
|
-
body: "typography--body",
|
|
27
|
-
"body-sm": "typography--body-sm",
|
|
28
|
-
"body-xs": "typography--body-xs",
|
|
29
|
-
code: "typography--code",
|
|
30
|
-
h1: "typography--h1",
|
|
31
|
-
h2: "typography--h2",
|
|
32
|
-
h3: "typography--h3",
|
|
33
|
-
h4: "typography--h4",
|
|
34
|
-
h5: "typography--h5",
|
|
35
|
-
h6: "typography--h6"
|
|
26
|
+
body: "rp-typography--body",
|
|
27
|
+
"body-sm": "rp-typography--body-sm",
|
|
28
|
+
"body-xs": "rp-typography--body-xs",
|
|
29
|
+
code: "rp-typography--code",
|
|
30
|
+
h1: "rp-typography--h1",
|
|
31
|
+
h2: "rp-typography--h2",
|
|
32
|
+
h3: "rp-typography--h3",
|
|
33
|
+
h4: "rp-typography--h4",
|
|
34
|
+
h5: "rp-typography--h5",
|
|
35
|
+
h6: "rp-typography--h6"
|
|
36
36
|
},
|
|
37
37
|
weight: {
|
|
38
|
-
bold: "typography--weight-bold",
|
|
39
|
-
medium: "typography--weight-medium",
|
|
40
|
-
normal: "typography--weight-normal",
|
|
41
|
-
semibold: "typography--weight-semibold"
|
|
38
|
+
bold: "rp-typography--weight-bold",
|
|
39
|
+
medium: "rp-typography--weight-medium",
|
|
40
|
+
normal: "rp-typography--weight-normal",
|
|
41
|
+
semibold: "rp-typography--weight-semibold"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
});
|