@kuzenbo/core 0.0.1 → 0.0.3
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 +4 -3
- package/dist/avatar-image-BQ_NEKH4.js +47 -0
- package/dist/avatar-image-BQ_NEKH4.js.map +1 -0
- package/dist/avatar-image-Ce26D2fb.d.ts +41 -0
- package/dist/avatar-image-Ce26D2fb.d.ts.map +1 -0
- package/dist/button-group-size-context-DW7Gn-3k.js +8 -0
- package/dist/button-group-size-context-DW7Gn-3k.js.map +1 -0
- package/dist/dialog-trigger-BUF3elAP.js +122 -0
- package/dist/dialog-trigger-BUF3elAP.js.map +1 -0
- package/dist/dialog-viewport-Ce1huyAI.d.ts +96 -0
- package/dist/dialog-viewport-Ce1huyAI.d.ts.map +1 -0
- package/dist/dropdown-menu-trigger-BpgtLUvf.d.ts +646 -0
- package/dist/dropdown-menu-trigger-BpgtLUvf.d.ts.map +1 -0
- package/dist/dropdown-menu-trigger-COnFGfDa.js +488 -0
- package/dist/dropdown-menu-trigger-COnFGfDa.js.map +1 -0
- package/dist/input-group-textarea-B-rP98r5.js +120 -0
- package/dist/input-group-textarea-B-rP98r5.js.map +1 -0
- package/dist/merge-base-ui-class-name-HKsgjcXj.js +11 -0
- package/dist/merge-base-ui-class-name-HKsgjcXj.js.map +1 -0
- package/dist/provider.d.ts +4 -0
- package/dist/provider.js +5 -0
- package/dist/scroll-bar-C4qEUKlT.js +26 -0
- package/dist/scroll-bar-C4qEUKlT.js.map +1 -0
- package/dist/sheet-trigger-D7neoTF5.js +121 -0
- package/dist/sheet-trigger-D7neoTF5.js.map +1 -0
- package/dist/size-context-BjRwqlSg.js +25 -0
- package/dist/size-context-BjRwqlSg.js.map +1 -0
- package/dist/size-context-DXfCAlWF.d.ts +16 -0
- package/dist/size-context-DXfCAlWF.d.ts.map +1 -0
- package/dist/size-provider-18EvJgDT.js +128 -0
- package/dist/size-provider-18EvJgDT.js.map +1 -0
- package/dist/size-provider-Bd2C6gKd.d.ts +53 -0
- package/dist/size-provider-Bd2C6gKd.d.ts.map +1 -0
- package/dist/size-system-DTXmtQXw.js +47 -0
- package/dist/size-system-DTXmtQXw.js.map +1 -0
- package/dist/size-system-wzOLSuax.d.ts +6 -0
- package/dist/size-system-wzOLSuax.d.ts.map +1 -0
- package/dist/size.d.ts +4 -0
- package/dist/size.js +5 -0
- package/dist/slider-root-presentation-ChJHPMIV.js +336 -0
- package/dist/slider-root-presentation-ChJHPMIV.js.map +1 -0
- package/dist/slider-value-Db8SCu0c.d.ts +146 -0
- package/dist/slider-value-Db8SCu0c.d.ts.map +1 -0
- package/dist/tooltip-trigger-qXw-_nbh.js +101 -0
- package/dist/tooltip-trigger-qXw-_nbh.js.map +1 -0
- package/dist/tooltip-viewport-csA6luqI.d.ts +103 -0
- package/dist/tooltip-viewport-csA6luqI.d.ts.map +1 -0
- package/dist/ui/accordion.d.ts +83 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/accordion.js +311 -0
- package/dist/ui/accordion.js.map +1 -0
- package/dist/ui/affix.d.ts +50 -0
- package/dist/ui/affix.d.ts.map +1 -0
- package/dist/ui/affix.js +69 -0
- package/dist/ui/affix.js.map +1 -0
- package/dist/ui/alert-dialog.d.ts +190 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert-dialog.js +164 -0
- package/dist/ui/alert-dialog.js.map +1 -0
- package/dist/ui/alert.d.ts +126 -0
- package/dist/ui/alert.d.ts.map +1 -0
- package/dist/ui/alert.js +238 -0
- package/dist/ui/alert.js.map +1 -0
- package/dist/ui/announcement.d.ts +41 -0
- package/dist/ui/announcement.d.ts.map +1 -0
- package/dist/ui/announcement.js +30 -0
- package/dist/ui/announcement.js.map +1 -0
- package/dist/ui/aspect-ratio.d.ts.map +1 -0
- package/dist/ui/aspect-ratio.js +14 -0
- package/dist/ui/aspect-ratio.js.map +1 -0
- package/dist/ui/autocomplete.d.ts +401 -0
- package/dist/ui/autocomplete.d.ts.map +1 -0
- package/dist/ui/autocomplete.js +332 -0
- package/dist/ui/autocomplete.js.map +1 -0
- package/dist/ui/avatar.d.ts +39 -0
- package/dist/ui/avatar.d.ts.map +1 -0
- package/dist/ui/avatar.js +27 -0
- package/dist/ui/avatar.js.map +1 -0
- package/dist/ui/badge.d.ts +69 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/badge.js +55 -0
- package/dist/ui/badge.js.map +1 -0
- package/dist/ui/breadcrumb.d.ts +272 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -0
- package/dist/ui/breadcrumb.js +195 -0
- package/dist/ui/breadcrumb.js.map +1 -0
- package/dist/ui/button-group.d.ts +147 -0
- package/dist/ui/button-group.d.ts.map +1 -0
- package/dist/ui/button-group.js +105 -0
- package/dist/ui/button-group.js.map +1 -0
- package/dist/ui/button.d.ts +78 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/button.js +110 -0
- package/dist/ui/button.js.map +1 -0
- package/dist/ui/card.d.ts +80 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/card.js +77 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/carousel.d.ts +93 -0
- package/dist/ui/carousel.d.ts.map +1 -0
- package/dist/ui/carousel.js +162 -0
- package/dist/ui/carousel.js.map +1 -0
- package/dist/ui/checkbox-group.d.ts.map +1 -0
- package/dist/ui/checkbox-group.js +14 -0
- package/dist/ui/checkbox-group.js.map +1 -0
- package/dist/ui/checkbox.d.ts +89 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/checkbox.js +68 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/code.d.ts.map +1 -0
- package/dist/ui/code.js +22 -0
- package/dist/ui/code.js.map +1 -0
- package/dist/ui/collapsible.d.ts +36 -0
- package/dist/ui/collapsible.d.ts.map +1 -0
- package/dist/ui/collapsible.js +34 -0
- package/dist/ui/collapsible.js.map +1 -0
- package/dist/ui/combobox.d.ts +683 -0
- package/dist/ui/combobox.d.ts.map +1 -0
- package/dist/ui/combobox.js +569 -0
- package/dist/ui/combobox.js.map +1 -0
- package/dist/ui/command.d.ts +325 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/command.js +252 -0
- package/dist/ui/command.js.map +1 -0
- package/dist/ui/container.d.ts.map +1 -0
- package/dist/ui/container.js +13 -0
- package/dist/ui/container.js.map +1 -0
- package/dist/ui/context-menu.d.ts +764 -0
- package/dist/ui/context-menu.d.ts.map +1 -0
- package/dist/ui/context-menu.js +505 -0
- package/dist/ui/context-menu.js.map +1 -0
- package/dist/ui/copy-button.d.ts +40 -0
- package/dist/ui/copy-button.d.ts.map +1 -0
- package/dist/ui/copy-button.js +130 -0
- package/dist/ui/copy-button.js.map +1 -0
- package/dist/ui/dialog.d.ts +66 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dialog.js +27 -0
- package/dist/ui/dialog.js.map +1 -0
- package/dist/ui/drawer.d.ts +535 -0
- package/dist/ui/drawer.d.ts.map +1 -0
- package/dist/ui/drawer.js +293 -0
- package/dist/ui/drawer.js.map +1 -0
- package/dist/ui/dropdown-menu.d.ts +144 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.js +40 -0
- package/dist/ui/dropdown-menu.js.map +1 -0
- package/dist/ui/dropzone.d.ts +274 -0
- package/dist/ui/dropzone.d.ts.map +1 -0
- package/dist/ui/dropzone.js +208 -0
- package/dist/ui/dropzone.js.map +1 -0
- package/dist/ui/emoji-picker.d.ts +397 -0
- package/dist/ui/emoji-picker.d.ts.map +1 -0
- package/dist/ui/emoji-picker.js +346 -0
- package/dist/ui/emoji-picker.js.map +1 -0
- package/dist/ui/empty.d.ts +279 -0
- package/dist/ui/empty.d.ts.map +1 -0
- package/dist/ui/empty.js +211 -0
- package/dist/ui/empty.js.map +1 -0
- package/dist/ui/field.d.ts +120 -0
- package/dist/ui/field.d.ts.map +1 -0
- package/dist/ui/field.js +86 -0
- package/dist/ui/field.js.map +1 -0
- package/dist/ui/fieldset.d.ts +36 -0
- package/dist/ui/fieldset.d.ts.map +1 -0
- package/dist/ui/fieldset.js +28 -0
- package/dist/ui/fieldset.js.map +1 -0
- package/dist/ui/form.d.ts +28 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/form.js +15 -0
- package/dist/ui/form.js.map +1 -0
- package/dist/ui/input-group.d.ts +160 -0
- package/dist/ui/input-group.d.ts.map +1 -0
- package/dist/ui/input-group.js +31 -0
- package/dist/ui/input-group.js.map +1 -0
- package/dist/ui/input-otp.d.ts +206 -0
- package/dist/ui/input-otp.d.ts.map +1 -0
- package/dist/ui/input-otp.js +139 -0
- package/dist/ui/input-otp.js.map +1 -0
- package/dist/ui/input.d.ts +46 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/input.js +37 -0
- package/dist/ui/input.js.map +1 -0
- package/dist/ui/item.d.ts +182 -0
- package/dist/ui/item.d.ts.map +1 -0
- package/dist/ui/item.js +142 -0
- package/dist/ui/item.js.map +1 -0
- package/dist/ui/kbd.d.ts +36 -0
- package/dist/ui/kbd.d.ts.map +1 -0
- package/dist/ui/kbd.js +54 -0
- package/dist/ui/kbd.js.map +1 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/label.js +16 -0
- package/dist/ui/label.js.map +1 -0
- package/dist/ui/marquee.d.ts +58 -0
- package/dist/ui/marquee.d.ts.map +1 -0
- package/dist/ui/marquee.js +42 -0
- package/dist/ui/marquee.js.map +1 -0
- package/dist/ui/menubar.d.ts +769 -0
- package/dist/ui/menubar.d.ts.map +1 -0
- package/dist/ui/menubar.js +475 -0
- package/dist/ui/menubar.js.map +1 -0
- package/dist/ui/meter.d.ts +60 -0
- package/dist/ui/meter.d.ts.map +1 -0
- package/dist/ui/meter.js +51 -0
- package/dist/ui/meter.js.map +1 -0
- package/dist/ui/navigation-list.d.ts +972 -0
- package/dist/ui/navigation-list.d.ts.map +1 -0
- package/dist/ui/navigation-list.js +914 -0
- package/dist/ui/navigation-list.js.map +1 -0
- package/dist/ui/navigation-menu.d.ts +473 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -0
- package/dist/ui/navigation-menu.js +319 -0
- package/dist/ui/navigation-menu.js.map +1 -0
- package/dist/ui/number-field.d.ts +183 -0
- package/dist/ui/number-field.d.ts.map +1 -0
- package/dist/ui/number-field.js +159 -0
- package/dist/ui/number-field.js.map +1 -0
- package/dist/ui/pagination.d.ts +268 -0
- package/dist/ui/pagination.d.ts.map +1 -0
- package/dist/ui/pagination.js +217 -0
- package/dist/ui/pagination.js.map +1 -0
- package/dist/ui/pill.d.ts +122 -0
- package/dist/ui/pill.d.ts.map +1 -0
- package/dist/ui/pill.js +91 -0
- package/dist/ui/pill.js.map +1 -0
- package/dist/ui/popover.d.ts +194 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.js +160 -0
- package/dist/ui/popover.js.map +1 -0
- package/dist/ui/portal.d.ts.map +1 -0
- package/dist/ui/portal.js +53 -0
- package/dist/ui/portal.js.map +1 -0
- package/dist/ui/preview-card.d.ts +113 -0
- package/dist/ui/preview-card.d.ts.map +1 -0
- package/dist/ui/preview-card.js +94 -0
- package/dist/ui/preview-card.js.map +1 -0
- package/dist/ui/progress.d.ts +60 -0
- package/dist/ui/progress.d.ts.map +1 -0
- package/dist/ui/progress.js +54 -0
- package/dist/ui/progress.js.map +1 -0
- package/dist/ui/qr-code.d.ts.map +1 -0
- package/dist/ui/qr-code.js +79 -0
- package/dist/ui/qr-code.js.map +1 -0
- package/dist/ui/radio-group.d.ts +102 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/radio-group.js +76 -0
- package/dist/ui/radio-group.js.map +1 -0
- package/dist/ui/range-slider/range-slider-types.d.ts +5 -0
- package/dist/ui/range-slider/range-slider-types.d.ts.map +1 -0
- package/dist/ui/range-slider/range-slider-types.js +0 -0
- package/dist/ui/range-slider.d.ts +57 -0
- package/dist/ui/range-slider.d.ts.map +1 -0
- package/dist/ui/range-slider.js +338 -0
- package/dist/ui/range-slider.js.map +1 -0
- package/dist/ui/rating.d.ts +149 -0
- package/dist/ui/rating.d.ts.map +1 -0
- package/dist/ui/rating.js +173 -0
- package/dist/ui/rating.js.map +1 -0
- package/dist/ui/resizable.d.ts +39 -0
- package/dist/ui/resizable.d.ts.map +1 -0
- package/dist/ui/resizable.js +34 -0
- package/dist/ui/resizable.js.map +1 -0
- package/dist/ui/scroll-area.d.ts +80 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/scroll-area.js +54 -0
- package/dist/ui/scroll-area.js.map +1 -0
- package/dist/ui/select.d.ts +545 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/select.js +425 -0
- package/dist/ui/select.js.map +1 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/separator.js +15 -0
- package/dist/ui/separator.js.map +1 -0
- package/dist/ui/sheet.d.ts +158 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sheet.js +27 -0
- package/dist/ui/sheet.js.map +1 -0
- package/dist/ui/sidebar.d.ts +521 -0
- package/dist/ui/sidebar.d.ts.map +1 -0
- package/dist/ui/sidebar.js +538 -0
- package/dist/ui/sidebar.js.map +1 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton.js +13 -0
- package/dist/ui/skeleton.js.map +1 -0
- package/dist/ui/slider.d.ts +52 -0
- package/dist/ui/slider.d.ts.map +1 -0
- package/dist/ui/slider.js +215 -0
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/spacer.d.ts.map +1 -0
- package/dist/ui/spacer.js +26 -0
- package/dist/ui/spacer.js.map +1 -0
- package/dist/ui/spinner.d.ts +17 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +23 -0
- package/dist/ui/spinner.js.map +1 -0
- package/dist/ui/switch.d.ts +58 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/switch.js +43 -0
- package/dist/ui/switch.js.map +1 -0
- package/dist/ui/table.d.ts +279 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +210 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/tabs.d.ts +120 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/tabs.js +170 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/textarea.d.ts +37 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/textarea.js +36 -0
- package/dist/ui/textarea.js.map +1 -0
- package/dist/ui/theme-icon.d.ts +78 -0
- package/dist/ui/theme-icon.d.ts.map +1 -0
- package/dist/ui/theme-icon.js +58 -0
- package/dist/ui/theme-icon.js.map +1 -0
- package/dist/ui/timeline.d.ts +171 -0
- package/dist/ui/timeline.d.ts.map +1 -0
- package/dist/ui/timeline.js +472 -0
- package/dist/ui/timeline.js.map +1 -0
- package/dist/ui/toggle-group.d.ts +138 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle-group.js +76 -0
- package/dist/ui/toggle-group.js.map +1 -0
- package/dist/ui/toggle.d.ts +53 -0
- package/dist/ui/toggle.d.ts.map +1 -0
- package/dist/ui/toggle.js +41 -0
- package/dist/ui/toggle.js.map +1 -0
- package/dist/ui/toolbar.d.ts +234 -0
- package/dist/ui/toolbar.d.ts.map +1 -0
- package/dist/ui/toolbar.js +156 -0
- package/dist/ui/toolbar.js.map +1 -0
- package/dist/ui/tooltip.d.ts +55 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui/tooltip.js +31 -0
- package/dist/ui/tooltip.js.map +1 -0
- package/dist/ui/typography.d.ts +411 -0
- package/dist/ui/typography.d.ts.map +1 -0
- package/dist/ui/typography.js +290 -0
- package/dist/ui/typography.js.map +1 -0
- package/dist/use-badge-default-props-8d9wPL0k.js +8 -0
- package/dist/use-badge-default-props-8d9wPL0k.js.map +1 -0
- package/dist/use-input-default-props-B6VgKXGM.js +8 -0
- package/dist/use-input-default-props-B6VgKXGM.js.map +1 -0
- package/dist/use-textarea-default-props-7MlOxkDO.js +8 -0
- package/dist/use-textarea-default-props-7MlOxkDO.js.map +1 -0
- package/package.json +165 -745
- package/dist/accordion-trigger-P3yAXC9X.d.ts +0 -35
- package/dist/accordion-trigger-P3yAXC9X.d.ts.map +0 -1
- package/dist/accordion.d.ts +0 -59
- package/dist/accordion.d.ts.map +0 -1
- package/dist/accordion.js +0 -45
- package/dist/accordion.js.map +0 -1
- package/dist/affix.d.ts +0 -50
- package/dist/affix.d.ts.map +0 -1
- package/dist/affix.js +0 -58
- package/dist/affix.js.map +0 -1
- package/dist/alert-dialog-trigger-Bh4pSvCf.js +0 -142
- package/dist/alert-dialog-trigger-Bh4pSvCf.js.map +0 -1
- package/dist/alert-dialog-viewport-CIjRyI-y.d.ts +0 -120
- package/dist/alert-dialog-viewport-CIjRyI-y.d.ts.map +0 -1
- package/dist/alert-dialog.d.ts +0 -76
- package/dist/alert-dialog.d.ts.map +0 -1
- package/dist/alert-dialog.js +0 -28
- package/dist/alert-dialog.js.map +0 -1
- package/dist/alert-title-B1q_D7US.js +0 -29
- package/dist/alert-title-B1q_D7US.js.map +0 -1
- package/dist/alert-title-BzrwvCBs.d.ts +0 -26
- package/dist/alert-title-BzrwvCBs.d.ts.map +0 -1
- package/dist/alert.d.ts +0 -106
- package/dist/alert.d.ts.map +0 -1
- package/dist/alert.js +0 -215
- package/dist/alert.js.map +0 -1
- package/dist/announcement-title-CZ-xxuBs.js +0 -19
- package/dist/announcement-title-CZ-xxuBs.js.map +0 -1
- package/dist/announcement-title-DQAqY8lM.d.ts +0 -19
- package/dist/announcement-title-DQAqY8lM.d.ts.map +0 -1
- package/dist/announcement.d.ts +0 -28
- package/dist/announcement.d.ts.map +0 -1
- package/dist/announcement.js +0 -17
- package/dist/announcement.js.map +0 -1
- package/dist/aspect-ratio.d.ts.map +0 -1
- package/dist/aspect-ratio.js +0 -14
- package/dist/aspect-ratio.js.map +0 -1
- package/dist/autocomplete-value-CE4htlBI.js +0 -296
- package/dist/autocomplete-value-CE4htlBI.js.map +0 -1
- package/dist/autocomplete-value-DZvfXD_j.d.ts +0 -320
- package/dist/autocomplete-value-DZvfXD_j.d.ts.map +0 -1
- package/dist/autocomplete.d.ts +0 -89
- package/dist/autocomplete.d.ts.map +0 -1
- package/dist/autocomplete.js +0 -42
- package/dist/autocomplete.js.map +0 -1
- package/dist/avatar-image-BpYCNLxP.d.ts +0 -41
- package/dist/avatar-image-BpYCNLxP.d.ts.map +0 -1
- package/dist/avatar-image-QGDvWzq_.js +0 -47
- package/dist/avatar-image-QGDvWzq_.js.map +0 -1
- package/dist/avatar.d.ts +0 -39
- package/dist/avatar.d.ts.map +0 -1
- package/dist/avatar.js +0 -27
- package/dist/avatar.js.map +0 -1
- package/dist/badge.d.ts +0 -69
- package/dist/badge.d.ts.map +0 -1
- package/dist/badge.js +0 -55
- package/dist/badge.js.map +0 -1
- package/dist/breadcrumb-separator-BxPVg1Je.js +0 -172
- package/dist/breadcrumb-separator-BxPVg1Je.js.map +0 -1
- package/dist/breadcrumb-separator-Cn5BAhvD.d.ts +0 -228
- package/dist/breadcrumb-separator-Cn5BAhvD.d.ts.map +0 -1
- package/dist/breadcrumb.d.ts +0 -52
- package/dist/breadcrumb.d.ts.map +0 -1
- package/dist/breadcrumb.js +0 -29
- package/dist/breadcrumb.js.map +0 -1
- package/dist/button-group-size-context-BAqIdusJ.js +0 -8
- package/dist/button-group-size-context-BAqIdusJ.js.map +0 -1
- package/dist/button-group-text-B2_MmlIc.d.ts +0 -85
- package/dist/button-group-text-B2_MmlIc.d.ts.map +0 -1
- package/dist/button-group-text-JA0xMSnb.js +0 -62
- package/dist/button-group-text-JA0xMSnb.js.map +0 -1
- package/dist/button-group.d.ts +0 -72
- package/dist/button-group.d.ts.map +0 -1
- package/dist/button-group.js +0 -50
- package/dist/button-group.js.map +0 -1
- package/dist/button.d.ts +0 -78
- package/dist/button.d.ts.map +0 -1
- package/dist/button.js +0 -110
- package/dist/button.js.map +0 -1
- package/dist/card-title-BaHIF8-E.d.ts +0 -47
- package/dist/card-title-BaHIF8-E.d.ts.map +0 -1
- package/dist/card.d.ts +0 -39
- package/dist/card.d.ts.map +0 -1
- package/dist/card.js +0 -26
- package/dist/card.js.map +0 -1
- package/dist/carousel-previous-OcdvvI1k.js +0 -90
- package/dist/carousel-previous-OcdvvI1k.js.map +0 -1
- package/dist/carousel.d.ts +0 -39
- package/dist/carousel.d.ts.map +0 -1
- package/dist/carousel.js +0 -79
- package/dist/carousel.js.map +0 -1
- package/dist/checkbox-group.d.ts.map +0 -1
- package/dist/checkbox-group.js +0 -14
- package/dist/checkbox-group.js.map +0 -1
- package/dist/checkbox-indicator-D9X12aCq.d.ts +0 -44
- package/dist/checkbox-indicator-D9X12aCq.d.ts.map +0 -1
- package/dist/checkbox-indicator-DMjot9eq.js +0 -31
- package/dist/checkbox-indicator-DMjot9eq.js.map +0 -1
- package/dist/checkbox.d.ts +0 -54
- package/dist/checkbox.d.ts.map +0 -1
- package/dist/checkbox.js +0 -46
- package/dist/checkbox.js.map +0 -1
- package/dist/code.d.ts.map +0 -1
- package/dist/code.js +0 -22
- package/dist/code.js.map +0 -1
- package/dist/collapsible-trigger-CvIq1bXq.d.ts +0 -19
- package/dist/collapsible-trigger-CvIq1bXq.d.ts.map +0 -1
- package/dist/collapsible-trigger-DCw3swj8.js +0 -22
- package/dist/collapsible-trigger-DCw3swj8.js.map +0 -1
- package/dist/collapsible.d.ts +0 -27
- package/dist/collapsible.d.ts.map +0 -1
- package/dist/collapsible.js +0 -20
- package/dist/collapsible.js.map +0 -1
- package/dist/combobox.d.ts +0 -149
- package/dist/combobox.d.ts.map +0 -1
- package/dist/combobox.js +0 -50
- package/dist/combobox.js.map +0 -1
- package/dist/command-shortcut-B42eSLXJ.d.ts +0 -268
- package/dist/command-shortcut-B42eSLXJ.d.ts.map +0 -1
- package/dist/command-shortcut-fALFGGNB.js +0 -226
- package/dist/command-shortcut-fALFGGNB.js.map +0 -1
- package/dist/command.d.ts +0 -65
- package/dist/command.d.ts.map +0 -1
- package/dist/command.js +0 -33
- package/dist/command.js.map +0 -1
- package/dist/container.d.ts.map +0 -1
- package/dist/container.js +0 -13
- package/dist/container.js.map +0 -1
- package/dist/context-menu-trigger-D1yfnhtH.d.ts +0 -632
- package/dist/context-menu-trigger-D1yfnhtH.d.ts.map +0 -1
- package/dist/context-menu-trigger-Db8Hnkac.js +0 -471
- package/dist/context-menu-trigger-Db8Hnkac.js.map +0 -1
- package/dist/context-menu.d.ts +0 -140
- package/dist/context-menu.d.ts.map +0 -1
- package/dist/context-menu.js +0 -40
- package/dist/context-menu.js.map +0 -1
- package/dist/dialog-trigger-Qa2UBwDK.js +0 -122
- package/dist/dialog-trigger-Qa2UBwDK.js.map +0 -1
- package/dist/dialog-viewport-_iN9a_OF.d.ts +0 -96
- package/dist/dialog-viewport-_iN9a_OF.d.ts.map +0 -1
- package/dist/dialog.d.ts +0 -66
- package/dist/dialog.d.ts.map +0 -1
- package/dist/dialog.js +0 -27
- package/dist/dialog.js.map +0 -1
- package/dist/drawer-size-context-TrNk8sne.d.ts +0 -377
- package/dist/drawer-size-context-TrNk8sne.d.ts.map +0 -1
- package/dist/drawer-viewport-CXCkzSjL.js +0 -261
- package/dist/drawer-viewport-CXCkzSjL.js.map +0 -1
- package/dist/drawer.d.ts +0 -164
- package/dist/drawer.d.ts.map +0 -1
- package/dist/drawer.js +0 -38
- package/dist/drawer.js.map +0 -1
- package/dist/dropdown-menu-trigger-BzJ8E29P.d.ts +0 -646
- package/dist/dropdown-menu-trigger-BzJ8E29P.d.ts.map +0 -1
- package/dist/dropdown-menu-trigger-PvBaqoOj.js +0 -488
- package/dist/dropdown-menu-trigger-PvBaqoOj.js.map +0 -1
- package/dist/dropdown-menu.d.ts +0 -144
- package/dist/dropdown-menu.d.ts.map +0 -1
- package/dist/dropdown-menu.js +0 -40
- package/dist/dropdown-menu.js.map +0 -1
- package/dist/dropzone-context-PCTXy62j.d.ts +0 -46
- package/dist/dropzone-context-PCTXy62j.d.ts.map +0 -1
- package/dist/dropzone-status-BziqO77U.js +0 -34
- package/dist/dropzone-status-BziqO77U.js.map +0 -1
- package/dist/dropzone.d.ts +0 -234
- package/dist/dropzone.d.ts.map +0 -1
- package/dist/dropzone.js +0 -181
- package/dist/dropzone.js.map +0 -1
- package/dist/emoji-picker-size-context-gu6mLjuf.d.ts +0 -315
- package/dist/emoji-picker-size-context-gu6mLjuf.d.ts.map +0 -1
- package/dist/emoji-picker-skin-tone-selector-DAJcO_Ue.js +0 -308
- package/dist/emoji-picker-skin-tone-selector-DAJcO_Ue.js.map +0 -1
- package/dist/emoji-picker.d.ts +0 -92
- package/dist/emoji-picker.d.ts.map +0 -1
- package/dist/emoji-picker.js +0 -45
- package/dist/emoji-picker.js.map +0 -1
- package/dist/empty-title-C9hHuBz8.d.ts +0 -211
- package/dist/empty-title-C9hHuBz8.d.ts.map +0 -1
- package/dist/empty-title-DjJj4k34.js +0 -178
- package/dist/empty-title-DjJj4k34.js.map +0 -1
- package/dist/empty.d.ts +0 -77
- package/dist/empty.d.ts.map +0 -1
- package/dist/empty.js +0 -39
- package/dist/empty.js.map +0 -1
- package/dist/fieldset-BvbNkZWm.d.ts +0 -151
- package/dist/fieldset-BvbNkZWm.d.ts.map +0 -1
- package/dist/fieldset-fXftcr4b.js +0 -109
- package/dist/fieldset-fXftcr4b.js.map +0 -1
- package/dist/form-field.d.ts +0 -155
- package/dist/form-field.d.ts.map +0 -1
- package/dist/form-field.js +0 -136
- package/dist/form-field.js.map +0 -1
- package/dist/index.d.ts +0 -1247
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -1495
- package/dist/index.js.map +0 -1
- package/dist/input-group-textarea-C6-pPujg.d.ts +0 -121
- package/dist/input-group-textarea-C6-pPujg.d.ts.map +0 -1
- package/dist/input-group-textarea-C6ixncHC.js +0 -120
- package/dist/input-group-textarea-C6ixncHC.js.map +0 -1
- package/dist/input-group.d.ts +0 -46
- package/dist/input-group.d.ts.map +0 -1
- package/dist/input-group.js +0 -31
- package/dist/input-group.js.map +0 -1
- package/dist/input-otp-slot-BA8DE3oz.js +0 -116
- package/dist/input-otp-slot-BA8DE3oz.js.map +0 -1
- package/dist/input-otp-slot-BxEhjqR5.d.ts +0 -173
- package/dist/input-otp-slot-BxEhjqR5.d.ts.map +0 -1
- package/dist/input-otp.d.ts +0 -40
- package/dist/input-otp.d.ts.map +0 -1
- package/dist/input-otp.js +0 -30
- package/dist/input-otp.js.map +0 -1
- package/dist/input.d.ts +0 -46
- package/dist/input.d.ts.map +0 -1
- package/dist/input.js +0 -37
- package/dist/input.js.map +0 -1
- package/dist/item-title-BEt0xgK_.d.ts +0 -91
- package/dist/item-title-BEt0xgK_.d.ts.map +0 -1
- package/dist/item-title-DL4BlZUJ.js +0 -90
- package/dist/item-title-DL4BlZUJ.js.map +0 -1
- package/dist/item.d.ts +0 -98
- package/dist/item.d.ts.map +0 -1
- package/dist/item.js +0 -57
- package/dist/item.js.map +0 -1
- package/dist/kbd-group-3GbsGHQf.d.ts +0 -19
- package/dist/kbd-group-3GbsGHQf.d.ts.map +0 -1
- package/dist/kbd-group-BmHYZhQr.js +0 -30
- package/dist/kbd-group-BmHYZhQr.js.map +0 -1
- package/dist/kbd.d.ts +0 -23
- package/dist/kbd.d.ts.map +0 -1
- package/dist/kbd.js +0 -30
- package/dist/kbd.js.map +0 -1
- package/dist/label.d.ts.map +0 -1
- package/dist/label.js +0 -16
- package/dist/label.js.map +0 -1
- package/dist/marquee-item-B0TLvHgC.js +0 -30
- package/dist/marquee-item-B0TLvHgC.js.map +0 -1
- package/dist/marquee-item-CF7L5m2C.d.ts +0 -33
- package/dist/marquee-item-CF7L5m2C.d.ts.map +0 -1
- package/dist/marquee.d.ts +0 -31
- package/dist/marquee.d.ts.map +0 -1
- package/dist/marquee.js +0 -18
- package/dist/marquee.js.map +0 -1
- package/dist/menubar-trigger-BSEAK4Hv.js +0 -427
- package/dist/menubar-trigger-BSEAK4Hv.js.map +0 -1
- package/dist/menubar-trigger-Cg8h_R-F.d.ts +0 -633
- package/dist/menubar-trigger-Cg8h_R-F.d.ts.map +0 -1
- package/dist/menubar.d.ts +0 -145
- package/dist/menubar.d.ts.map +0 -1
- package/dist/menubar.js +0 -54
- package/dist/menubar.js.map +0 -1
- package/dist/merge-base-ui-class-name-u6eS5MaQ.js +0 -11
- package/dist/merge-base-ui-class-name-u6eS5MaQ.js.map +0 -1
- package/dist/meter-value-BBRupvEw.d.ts +0 -34
- package/dist/meter-value-BBRupvEw.d.ts.map +0 -1
- package/dist/meter-value-DTvav35V.js +0 -38
- package/dist/meter-value-DTvav35V.js.map +0 -1
- package/dist/meter.d.ts +0 -33
- package/dist/meter.d.ts.map +0 -1
- package/dist/meter.js +0 -20
- package/dist/meter.js.map +0 -1
- package/dist/navigation-menu-viewport-B1zGz9H_.d.ts +0 -401
- package/dist/navigation-menu-viewport-B1zGz9H_.d.ts.map +0 -1
- package/dist/navigation-menu-viewport-MCTpmOhX.js +0 -284
- package/dist/navigation-menu-viewport-MCTpmOhX.js.map +0 -1
- package/dist/navigation-menu.d.ts +0 -79
- package/dist/navigation-menu.d.ts.map +0 -1
- package/dist/navigation-menu.js +0 -42
- package/dist/navigation-menu.js.map +0 -1
- package/dist/number-field-scrub-area-cursor-DJPffFNk.d.ts +0 -137
- package/dist/number-field-scrub-area-cursor-DJPffFNk.d.ts.map +0 -1
- package/dist/number-field-scrub-area-cursor-h-iB-JHz.js +0 -136
- package/dist/number-field-scrub-area-cursor-h-iB-JHz.js.map +0 -1
- package/dist/number-field.d.ts +0 -53
- package/dist/number-field.d.ts.map +0 -1
- package/dist/number-field.js +0 -30
- package/dist/number-field.js.map +0 -1
- package/dist/optional-portal-BnKabTYx.js +0 -16
- package/dist/optional-portal-BnKabTYx.js.map +0 -1
- package/dist/pagination-previous-B-zSBsti.d.ts +0 -226
- package/dist/pagination-previous-B-zSBsti.d.ts.map +0 -1
- package/dist/pagination-previous-g-wCDo--.js +0 -194
- package/dist/pagination-previous-g-wCDo--.js.map +0 -1
- package/dist/pagination.d.ts +0 -49
- package/dist/pagination.d.ts.map +0 -1
- package/dist/pagination.js +0 -29
- package/dist/pagination.js.map +0 -1
- package/dist/pill-status-B0H8oDjy.d.ts +0 -78
- package/dist/pill-status-B0H8oDjy.d.ts.map +0 -1
- package/dist/pill-status-CZugGAo0.js +0 -75
- package/dist/pill-status-CZugGAo0.js.map +0 -1
- package/dist/pill.d.ts +0 -50
- package/dist/pill.d.ts.map +0 -1
- package/dist/pill.js +0 -22
- package/dist/pill.js.map +0 -1
- package/dist/popover-trigger-YoOfFIQY.js +0 -131
- package/dist/popover-trigger-YoOfFIQY.js.map +0 -1
- package/dist/popover-viewport-D0OLhge2.d.ts +0 -130
- package/dist/popover-viewport-D0OLhge2.d.ts.map +0 -1
- package/dist/popover.d.ts +0 -70
- package/dist/popover.d.ts.map +0 -1
- package/dist/popover.js +0 -35
- package/dist/popover.js.map +0 -1
- package/dist/portal.d.ts.map +0 -1
- package/dist/portal.js +0 -53
- package/dist/portal.js.map +0 -1
- package/dist/preview-card-trigger-CbF-WF9d.js +0 -75
- package/dist/preview-card-trigger-CbF-WF9d.js.map +0 -1
- package/dist/preview-card-viewport-DyigXVot.d.ts +0 -67
- package/dist/preview-card-viewport-DyigXVot.d.ts.map +0 -1
- package/dist/preview-card.d.ts +0 -52
- package/dist/preview-card.d.ts.map +0 -1
- package/dist/preview-card.js +0 -25
- package/dist/preview-card.js.map +0 -1
- package/dist/progress-value-C2beGR4l.js +0 -38
- package/dist/progress-value-C2beGR4l.js.map +0 -1
- package/dist/progress-value-DdW3JCEx.d.ts +0 -33
- package/dist/progress-value-DdW3JCEx.d.ts.map +0 -1
- package/dist/progress.d.ts +0 -33
- package/dist/progress.d.ts.map +0 -1
- package/dist/progress.js +0 -23
- package/dist/progress.js.map +0 -1
- package/dist/qr-code.d.ts.map +0 -1
- package/dist/qr-code.js +0 -79
- package/dist/qr-code.js.map +0 -1
- package/dist/radio-group-item-By6KUGFQ.js +0 -65
- package/dist/radio-group-item-By6KUGFQ.js.map +0 -1
- package/dist/radio-group-item-DvfY629D.d.ts +0 -81
- package/dist/radio-group-item-DvfY629D.d.ts.map +0 -1
- package/dist/radio-group.d.ts +0 -26
- package/dist/radio-group.d.ts.map +0 -1
- package/dist/radio-group.js +0 -17
- package/dist/radio-group.js.map +0 -1
- package/dist/rating-star-Bg5AgFfI.d.ts +0 -64
- package/dist/rating-star-Bg5AgFfI.d.ts.map +0 -1
- package/dist/rating-star-CT7E88Vb.js +0 -115
- package/dist/rating-star-CT7E88Vb.js.map +0 -1
- package/dist/rating.d.ts +0 -93
- package/dist/rating.d.ts.map +0 -1
- package/dist/rating.js +0 -64
- package/dist/rating.js.map +0 -1
- package/dist/resizable-panel-BSRzFmQT.d.ts +0 -22
- package/dist/resizable-panel-BSRzFmQT.d.ts.map +0 -1
- package/dist/resizable-panel-Qs_va758.js +0 -22
- package/dist/resizable-panel-Qs_va758.js.map +0 -1
- package/dist/resizable.d.ts +0 -24
- package/dist/resizable.d.ts.map +0 -1
- package/dist/resizable.js +0 -19
- package/dist/resizable.js.map +0 -1
- package/dist/scroll-area.d.ts +0 -44
- package/dist/scroll-area.d.ts.map +0 -1
- package/dist/scroll-area.js +0 -31
- package/dist/scroll-area.js.map +0 -1
- package/dist/scroll-bar-Ms5-vqAH.js +0 -26
- package/dist/scroll-bar-Ms5-vqAH.js.map +0 -1
- package/dist/scroll-viewport-02SiMbYg.d.ts +0 -42
- package/dist/scroll-viewport-02SiMbYg.d.ts.map +0 -1
- package/dist/scroll-viewport-Bv90eZWC.js +0 -30
- package/dist/scroll-viewport-Bv90eZWC.js.map +0 -1
- package/dist/select-value-DCLmCbND.d.ts +0 -413
- package/dist/select-value-DCLmCbND.d.ts.map +0 -1
- package/dist/select.d.ts +0 -140
- package/dist/select.d.ts.map +0 -1
- package/dist/select.js +0 -48
- package/dist/select.js.map +0 -1
- package/dist/separator.d.ts.map +0 -1
- package/dist/separator.js +0 -15
- package/dist/separator.js.map +0 -1
- package/dist/sheet-trigger-CBnNmAyv.js +0 -121
- package/dist/sheet-trigger-CBnNmAyv.js.map +0 -1
- package/dist/sheet-viewport-PgLs2Dbp.d.ts +0 -99
- package/dist/sheet-viewport-PgLs2Dbp.d.ts.map +0 -1
- package/dist/sheet.d.ts +0 -65
- package/dist/sheet.d.ts.map +0 -1
- package/dist/sheet.js +0 -27
- package/dist/sheet.js.map +0 -1
- package/dist/sidebar-trigger-DpUDeyoo.js +0 -460
- package/dist/sidebar-trigger-DpUDeyoo.js.map +0 -1
- package/dist/sidebar.d.ts +0 -139
- package/dist/sidebar.d.ts.map +0 -1
- package/dist/sidebar.js +0 -84
- package/dist/sidebar.js.map +0 -1
- package/dist/size-context-CPoCTRTV.d.ts +0 -16
- package/dist/size-context-CPoCTRTV.d.ts.map +0 -1
- package/dist/size-context-rJNE33WZ.js +0 -25
- package/dist/size-context-rJNE33WZ.js.map +0 -1
- package/dist/size-provider-D2Fy00Ky.js +0 -128
- package/dist/size-provider-D2Fy00Ky.js.map +0 -1
- package/dist/size-system-BNfPN2hb.js +0 -47
- package/dist/size-system-BNfPN2hb.js.map +0 -1
- package/dist/size-system-CMU68sQY.d.ts +0 -6
- package/dist/size-system-CMU68sQY.d.ts.map +0 -1
- package/dist/skeleton.d.ts.map +0 -1
- package/dist/skeleton.js +0 -13
- package/dist/skeleton.js.map +0 -1
- package/dist/slider-CqapJ6Pa.js +0 -544
- package/dist/slider-CqapJ6Pa.js.map +0 -1
- package/dist/slider-types-BejlapyA.d.ts +0 -192
- package/dist/slider-types-BejlapyA.d.ts.map +0 -1
- package/dist/slider.d.ts +0 -2
- package/dist/slider.js +0 -3
- package/dist/spacer.d.ts.map +0 -1
- package/dist/spacer.js +0 -26
- package/dist/spacer.js.map +0 -1
- package/dist/spinner.d.ts +0 -17
- package/dist/spinner.d.ts.map +0 -1
- package/dist/spinner.js +0 -23
- package/dist/spinner.js.map +0 -1
- package/dist/switch-thumb-B1oq_Il-.d.ts +0 -12
- package/dist/switch-thumb-B1oq_Il-.d.ts.map +0 -1
- package/dist/switch-thumb-BcrfgKM7.js +0 -14
- package/dist/switch-thumb-BcrfgKM7.js.map +0 -1
- package/dist/switch.d.ts +0 -52
- package/dist/switch.d.ts.map +0 -1
- package/dist/switch.js +0 -36
- package/dist/switch.js.map +0 -1
- package/dist/table-row-oLfiQvkD.js +0 -161
- package/dist/table-row-oLfiQvkD.js.map +0 -1
- package/dist/table-size-context-CIwmKalf.d.ts +0 -206
- package/dist/table-size-context-CIwmKalf.d.ts.map +0 -1
- package/dist/table.d.ts +0 -82
- package/dist/table.d.ts.map +0 -1
- package/dist/table.js +0 -55
- package/dist/table.js.map +0 -1
- package/dist/tabs-trigger-CzOTnpSV.js +0 -155
- package/dist/tabs-trigger-CzOTnpSV.js.map +0 -1
- package/dist/tabs-trigger-DIAd8cRQ.d.ts +0 -91
- package/dist/tabs-trigger-DIAd8cRQ.d.ts.map +0 -1
- package/dist/tabs.d.ts +0 -43
- package/dist/tabs.d.ts.map +0 -1
- package/dist/tabs.js +0 -24
- package/dist/tabs.js.map +0 -1
- package/dist/textarea.d.ts +0 -37
- package/dist/textarea.d.ts.map +0 -1
- package/dist/textarea.js +0 -36
- package/dist/textarea.js.map +0 -1
- package/dist/theme-icon.d.ts +0 -78
- package/dist/theme-icon.d.ts.map +0 -1
- package/dist/theme-icon.js +0 -58
- package/dist/theme-icon.js.map +0 -1
- package/dist/timeline-title-DPQkU32C.js +0 -390
- package/dist/timeline-title-DPQkU32C.js.map +0 -1
- package/dist/timeline.d.ts +0 -97
- package/dist/timeline.d.ts.map +0 -1
- package/dist/timeline.js +0 -89
- package/dist/timeline.js.map +0 -1
- package/dist/toggle-group-item-BNfDa9G7.js +0 -46
- package/dist/toggle-group-item-BNfDa9G7.js.map +0 -1
- package/dist/toggle-group-item-GtR1C20m.d.ts +0 -111
- package/dist/toggle-group-item-GtR1C20m.d.ts.map +0 -1
- package/dist/toggle-group.d.ts +0 -32
- package/dist/toggle-group.d.ts.map +0 -1
- package/dist/toggle-group.js +0 -37
- package/dist/toggle-group.js.map +0 -1
- package/dist/toggle.d.ts +0 -53
- package/dist/toggle.d.ts.map +0 -1
- package/dist/toggle.js +0 -41
- package/dist/toggle.js.map +0 -1
- package/dist/toolbar-separator-B2h6uLOE.d.ts +0 -169
- package/dist/toolbar-separator-B2h6uLOE.d.ts.map +0 -1
- package/dist/toolbar-separator-DenKrCUv.js +0 -124
- package/dist/toolbar-separator-DenKrCUv.js.map +0 -1
- package/dist/toolbar.d.ts +0 -73
- package/dist/toolbar.d.ts.map +0 -1
- package/dist/toolbar.js +0 -40
- package/dist/toolbar.js.map +0 -1
- package/dist/tooltip-trigger-Bh-4uwB1.js +0 -101
- package/dist/tooltip-trigger-Bh-4uwB1.js.map +0 -1
- package/dist/tooltip-viewport-bfS0ERim.d.ts +0 -103
- package/dist/tooltip-viewport-bfS0ERim.d.ts.map +0 -1
- package/dist/tooltip.d.ts +0 -55
- package/dist/tooltip.d.ts.map +0 -1
- package/dist/tooltip.js +0 -31
- package/dist/tooltip.js.map +0 -1
- package/dist/typography-ul-CQPMwh0l.js +0 -262
- package/dist/typography-ul-CQPMwh0l.js.map +0 -1
- package/dist/typography-ul-DdbLy4uP.d.ts +0 -299
- package/dist/typography-ul-DdbLy4uP.d.ts.map +0 -1
- package/dist/typography.d.ts +0 -118
- package/dist/typography.d.ts.map +0 -1
- package/dist/typography.js +0 -32
- package/dist/typography.js.map +0 -1
- package/dist/use-accordion-default-props-C4qiSPdy.js +0 -276
- package/dist/use-accordion-default-props-C4qiSPdy.js.map +0 -1
- package/dist/use-badge-default-props-aiDsN2ec.js +0 -8
- package/dist/use-badge-default-props-aiDsN2ec.js.map +0 -1
- package/dist/use-card-default-props-D7h5DKMA.js +0 -58
- package/dist/use-card-default-props-D7h5DKMA.js.map +0 -1
- package/dist/use-carousel-BP1JcA8B.d.ts +0 -60
- package/dist/use-carousel-BP1JcA8B.d.ts.map +0 -1
- package/dist/use-combobox-anchor-CR11U_ns.js +0 -524
- package/dist/use-combobox-anchor-CR11U_ns.js.map +0 -1
- package/dist/use-combobox-anchor-_uR3C1ZZ.d.ts +0 -541
- package/dist/use-combobox-anchor-_uR3C1ZZ.d.ts.map +0 -1
- package/dist/use-input-default-props-DSeo88je.js +0 -8
- package/dist/use-input-default-props-DSeo88je.js.map +0 -1
- package/dist/use-select-default-props-xp2KqlMr.js +0 -384
- package/dist/use-select-default-props-xp2KqlMr.js.map +0 -1
- package/dist/use-sidebar-C9Nj2_Hm.d.ts +0 -389
- package/dist/use-sidebar-C9Nj2_Hm.d.ts.map +0 -1
- package/dist/use-textarea-default-props-DEDcVuHi.js +0 -8
- package/dist/use-textarea-default-props-DEDcVuHi.js.map +0 -1
- package/dist/use-timeline-C1sQqHU_.d.ts +0 -82
- package/dist/use-timeline-C1sQqHU_.d.ts.map +0 -1
- /package/dist/{aspect-ratio.d.ts → ui/aspect-ratio.d.ts} +0 -0
- /package/dist/{checkbox-group.d.ts → ui/checkbox-group.d.ts} +0 -0
- /package/dist/{code.d.ts → ui/code.d.ts} +0 -0
- /package/dist/{container.d.ts → ui/container.d.ts} +0 -0
- /package/dist/{label.d.ts → ui/label.d.ts} +0 -0
- /package/dist/{portal.d.ts → ui/portal.d.ts} +0 -0
- /package/dist/{qr-code.d.ts → ui/qr-code.d.ts} +0 -0
- /package/dist/{separator.d.ts → ui/separator.d.ts} +0 -0
- /package/dist/{skeleton.d.ts → ui/skeleton.d.ts} +0 -0
- /package/dist/{spacer.d.ts → ui/spacer.d.ts} +0 -0
package/dist/breadcrumb.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { a as useComponentSize } from "./size-provider-D2Fy00Ky.js";
|
|
2
|
-
import { a as BreadcrumbItem, i as BreadcrumbLink, n as BreadcrumbPage, o as BreadcrumbEllipsis, r as BreadcrumbList, s as BreadcrumbSizeContext, t as BreadcrumbSeparator } from "./breadcrumb-separator-BxPVg1Je.js";
|
|
3
|
-
import { cn } from "tailwind-variants";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/ui/breadcrumb/breadcrumb.tsx
|
|
7
|
-
const Breadcrumb = ({ className, size: providedSize, ...props }) => {
|
|
8
|
-
const size = useComponentSize(providedSize);
|
|
9
|
-
return /* @__PURE__ */ jsx(BreadcrumbSizeContext.Provider, {
|
|
10
|
-
value: { size },
|
|
11
|
-
children: /* @__PURE__ */ jsx("nav", {
|
|
12
|
-
"aria-label": "breadcrumb",
|
|
13
|
-
className: cn(className),
|
|
14
|
-
"data-size": size,
|
|
15
|
-
"data-slot": "breadcrumb",
|
|
16
|
-
...props
|
|
17
|
-
})
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
Breadcrumb.Ellipsis = BreadcrumbEllipsis;
|
|
21
|
-
Breadcrumb.Item = BreadcrumbItem;
|
|
22
|
-
Breadcrumb.Link = BreadcrumbLink;
|
|
23
|
-
Breadcrumb.List = BreadcrumbList;
|
|
24
|
-
Breadcrumb.Page = BreadcrumbPage;
|
|
25
|
-
Breadcrumb.Separator = BreadcrumbSeparator;
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
29
|
-
//# sourceMappingURL=breadcrumb.js.map
|
package/dist/breadcrumb.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.js","names":[],"sources":["../src/ui/breadcrumb/breadcrumb.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { cn } from \"tailwind-variants\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nimport { useComponentSize } from \"../shared/size/size-provider\";\nimport { BreadcrumbEllipsis } from \"./breadcrumb-ellipsis\";\nimport { BreadcrumbItem } from \"./breadcrumb-item\";\nimport { BreadcrumbLink } from \"./breadcrumb-link\";\nimport { BreadcrumbList } from \"./breadcrumb-list\";\nimport { BreadcrumbPage } from \"./breadcrumb-page\";\nimport { BreadcrumbSeparator } from \"./breadcrumb-separator\";\nimport { BreadcrumbSizeContext } from \"./breadcrumb-size-context\";\nexport type BreadcrumbProps = ComponentProps<\"nav\"> & {\n size?: UISize;\n};\n\nconst Breadcrumb = ({\n className,\n size: providedSize,\n ...props\n}: BreadcrumbProps) => {\n const size = useComponentSize(providedSize);\n\n return (\n <BreadcrumbSizeContext.Provider value={{ size }}>\n <nav\n aria-label=\"breadcrumb\"\n className={cn(className)}\n data-size={size}\n data-slot=\"breadcrumb\"\n {...props}\n />\n </BreadcrumbSizeContext.Provider>\n );\n};\n\nBreadcrumb.Ellipsis = BreadcrumbEllipsis;\nBreadcrumb.Item = BreadcrumbItem;\nBreadcrumb.Link = BreadcrumbLink;\nBreadcrumb.List = BreadcrumbList;\nBreadcrumb.Page = BreadcrumbPage;\nBreadcrumb.Separator = BreadcrumbSeparator;\n\nexport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n};\n\nexport type { BreadcrumbEllipsisProps } from \"./breadcrumb-ellipsis\";\nexport type { BreadcrumbItemProps } from \"./breadcrumb-item\";\nexport type { BreadcrumbLinkProps } from \"./breadcrumb-link\";\nexport type { BreadcrumbListProps } from \"./breadcrumb-list\";\nexport type { BreadcrumbPageProps } from \"./breadcrumb-page\";\nexport type { BreadcrumbSeparatorProps } from \"./breadcrumb-separator\";\n"],"mappings":";;;;;;AAkBA,MAAM,cAAc,EAClB,WACA,MAAM,cACN,GAAG,YACkB;CACrB,MAAM,OAAO,iBAAiB,aAAa;AAE3C,QACE,oBAAC,sBAAsB;EAAS,OAAO,EAAE,MAAM;YAC7C,oBAAC;GACC,cAAW;GACX,WAAW,GAAG,UAAU;GACxB,aAAW;GACX,aAAU;GACV,GAAI;IACJ;GAC6B;;AAIrC,WAAW,WAAW;AACtB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,OAAO;AAClB,WAAW,YAAY"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { createContext } from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/ui/button-group/button-group-size-context.ts
|
|
4
|
-
const ButtonGroupSizeContext = createContext({ size: void 0 });
|
|
5
|
-
|
|
6
|
-
//#endregion
|
|
7
|
-
export { ButtonGroupSizeContext as t };
|
|
8
|
-
//# sourceMappingURL=button-group-size-context-BAqIdusJ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group-size-context-BAqIdusJ.js","names":[],"sources":["../src/ui/button-group/button-group-size-context.ts"],"sourcesContent":["\"use client\";\n\nimport { createContext } from \"react\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nexport interface ButtonGroupSizeContextValue {\n size?: UISize;\n}\n\nconst ButtonGroupSizeContext = createContext<ButtonGroupSizeContextValue>({\n size: undefined,\n});\n\nexport { ButtonGroupSizeContext };\n"],"mappings":";;;AAUA,MAAM,yBAAyB,cAA2C,EACxE,MAAM,QACP,CAAC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { t as UISize } from "./size-system-CMU68sQY.js";
|
|
2
|
-
import { Separator } from "./separator.js";
|
|
3
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
4
|
-
import { VariantProps } from "tailwind-variants";
|
|
5
|
-
import * as react from "react";
|
|
6
|
-
import { ComponentProps } from "react";
|
|
7
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
|
-
import { useRender } from "@base-ui/react/use-render";
|
|
9
|
-
|
|
10
|
-
//#region src/ui/button-group/button-group-separator.d.ts
|
|
11
|
-
declare const buttonGroupSeparatorVariants: tailwind_variants0.TVReturnType<{
|
|
12
|
-
size: {
|
|
13
|
-
xs: string;
|
|
14
|
-
sm: string;
|
|
15
|
-
md: string;
|
|
16
|
-
lg: string;
|
|
17
|
-
xl: string;
|
|
18
|
-
};
|
|
19
|
-
}, undefined, "relative self-stretch bg-input data-[orientation=horizontal]:w-auto data-[orientation=vertical]:h-auto", {
|
|
20
|
-
size: {
|
|
21
|
-
xs: string;
|
|
22
|
-
sm: string;
|
|
23
|
-
md: string;
|
|
24
|
-
lg: string;
|
|
25
|
-
xl: string;
|
|
26
|
-
};
|
|
27
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
28
|
-
size: {
|
|
29
|
-
xs: string;
|
|
30
|
-
sm: string;
|
|
31
|
-
md: string;
|
|
32
|
-
lg: string;
|
|
33
|
-
xl: string;
|
|
34
|
-
};
|
|
35
|
-
}, undefined, "relative self-stretch bg-input data-[orientation=horizontal]:w-auto data-[orientation=vertical]:h-auto", unknown, unknown, undefined>>;
|
|
36
|
-
type ButtonGroupSeparatorVariantProps = Omit<VariantProps<typeof buttonGroupSeparatorVariants>, "size"> & {
|
|
37
|
-
size?: UISize;
|
|
38
|
-
};
|
|
39
|
-
type ButtonGroupSeparatorProps = ComponentProps<typeof Separator> & ButtonGroupSeparatorVariantProps;
|
|
40
|
-
declare const ButtonGroupSeparator: ({
|
|
41
|
-
className,
|
|
42
|
-
orientation,
|
|
43
|
-
size,
|
|
44
|
-
...props
|
|
45
|
-
}: ButtonGroupSeparatorProps) => react_jsx_runtime0.JSX.Element;
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/ui/button-group/button-group-text.d.ts
|
|
48
|
-
declare const buttonGroupTextVariants: tailwind_variants0.TVReturnType<{
|
|
49
|
-
size: {
|
|
50
|
-
xs: string;
|
|
51
|
-
sm: string;
|
|
52
|
-
md: string;
|
|
53
|
-
lg: string;
|
|
54
|
-
xl: string;
|
|
55
|
-
};
|
|
56
|
-
}, undefined, "flex items-center border border-border bg-muted font-medium [&_svg]:pointer-events-none", {
|
|
57
|
-
size: {
|
|
58
|
-
xs: string;
|
|
59
|
-
sm: string;
|
|
60
|
-
md: string;
|
|
61
|
-
lg: string;
|
|
62
|
-
xl: string;
|
|
63
|
-
};
|
|
64
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
65
|
-
size: {
|
|
66
|
-
xs: string;
|
|
67
|
-
sm: string;
|
|
68
|
-
md: string;
|
|
69
|
-
lg: string;
|
|
70
|
-
xl: string;
|
|
71
|
-
};
|
|
72
|
-
}, undefined, "flex items-center border border-border bg-muted font-medium [&_svg]:pointer-events-none", unknown, unknown, undefined>>;
|
|
73
|
-
type ButtonGroupTextVariantProps = Omit<VariantProps<typeof buttonGroupTextVariants>, "size"> & {
|
|
74
|
-
size?: UISize;
|
|
75
|
-
};
|
|
76
|
-
type ButtonGroupTextProps = useRender.ComponentProps<"div"> & ButtonGroupTextVariantProps;
|
|
77
|
-
declare const ButtonGroupText: ({
|
|
78
|
-
className,
|
|
79
|
-
render,
|
|
80
|
-
size,
|
|
81
|
-
...props
|
|
82
|
-
}: ButtonGroupTextProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
83
|
-
//#endregion
|
|
84
|
-
export { ButtonGroupSeparatorProps as i, ButtonGroupTextProps as n, ButtonGroupSeparator as r, ButtonGroupText as t };
|
|
85
|
-
//# sourceMappingURL=button-group-text-B2_MmlIc.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group-text-B2_MmlIc.d.ts","names":[],"sources":["../src/ui/button-group/button-group-separator.tsx","../src/ui/button-group/button-group-text.tsx"],"mappings":";;;;;;;;;;cAUM,4BAAA,EAcJ,kBAAA,CAdgC,YAAA;;;;;;;;;;;;;;;;cAchC,kBAAA,CAAA,YAAA;;;;;;;;;KAEG,gCAAA,GAAmC,IAAA,CACtC,YAAA,QAAoB,4BAAA;EAGpB,IAAA,GAAO,MAAA;AAAA;AAAA,KAGG,yBAAA,GAA4B,cAAA,QAAsB,SAAA,IAC5D,gCAAA;AAAA,cAEI,oBAAA;EAAwB,SAAA;EAAA,WAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAK3B,yBAAA,KAAyB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;cChCtB,uBAAA,EAcJ,kBAAA,CAd2B,YAAA;;;;;;;;;;;;;;;;cAc3B,kBAAA,CAAA,YAAA;;;;;;;;;KAEG,2BAAA,GAA8B,IAAA,CACjC,YAAA,QAAoB,uBAAA;EAGpB,IAAA,GAAO,MAAA;AAAA;AAAA,KAGG,oBAAA,GAAuB,SAAA,CAAU,cAAA,UAC3C,2BAAA;AAAA,cAEI,eAAA;EAAmB,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAKtB,oBAAA,KAAoB,KAAA,CAAA,YAAA,mBAAA,KAAA,CAAA,qBAAA"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { t as ButtonGroupSizeContext } from "./button-group-size-context-BAqIdusJ.js";
|
|
2
|
-
import { Separator } from "./separator.js";
|
|
3
|
-
import { cn, tv } from "tailwind-variants";
|
|
4
|
-
import { useContext } from "react";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { mergeProps } from "@base-ui/react/merge-props";
|
|
7
|
-
import { useRender } from "@base-ui/react/use-render";
|
|
8
|
-
|
|
9
|
-
//#region src/ui/button-group/button-group-separator.tsx
|
|
10
|
-
const buttonGroupSeparatorVariants = tv({
|
|
11
|
-
base: "relative self-stretch bg-input data-[orientation=horizontal]:w-auto data-[orientation=vertical]:h-auto",
|
|
12
|
-
variants: { size: {
|
|
13
|
-
xs: "data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px",
|
|
14
|
-
sm: "data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px",
|
|
15
|
-
md: "data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px",
|
|
16
|
-
lg: "data-[orientation=horizontal]:mx-0.5 data-[orientation=vertical]:my-0.5",
|
|
17
|
-
xl: "data-[orientation=horizontal]:mx-0.5 data-[orientation=vertical]:my-0.5"
|
|
18
|
-
} },
|
|
19
|
-
defaultVariants: { size: "md" }
|
|
20
|
-
});
|
|
21
|
-
const ButtonGroupSeparator = ({ className, orientation = "vertical", size, ...props }) => {
|
|
22
|
-
const { size: groupSize } = useContext(ButtonGroupSizeContext);
|
|
23
|
-
const resolvedSize = size ?? groupSize ?? "md";
|
|
24
|
-
return /* @__PURE__ */ jsx(Separator, {
|
|
25
|
-
className: cn(buttonGroupSeparatorVariants({ size: resolvedSize }), className),
|
|
26
|
-
"data-size": resolvedSize,
|
|
27
|
-
"data-slot": "button-group-separator",
|
|
28
|
-
orientation,
|
|
29
|
-
...props
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/ui/button-group/button-group-text.tsx
|
|
35
|
-
const buttonGroupTextVariants = tv({
|
|
36
|
-
base: "flex items-center border border-border bg-muted font-medium [&_svg]:pointer-events-none",
|
|
37
|
-
variants: { size: {
|
|
38
|
-
xs: "gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3",
|
|
39
|
-
sm: "gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm [&_svg:not([class*='size-'])]:size-3.5",
|
|
40
|
-
md: "gap-2 rounded-md px-2.5 text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
41
|
-
lg: "gap-2 rounded-md px-3 text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
42
|
-
xl: "gap-2.5 rounded-md px-4 text-base [&_svg:not([class*='size-'])]:size-5"
|
|
43
|
-
} },
|
|
44
|
-
defaultVariants: { size: "md" }
|
|
45
|
-
});
|
|
46
|
-
const ButtonGroupText = ({ className, render, size, ...props }) => {
|
|
47
|
-
const { size: groupSize } = useContext(ButtonGroupSizeContext);
|
|
48
|
-
const resolvedSize = size ?? groupSize ?? "md";
|
|
49
|
-
return useRender({
|
|
50
|
-
defaultTagName: "div",
|
|
51
|
-
props: mergeProps({ className: cn(buttonGroupTextVariants({ size: resolvedSize }), className) }, props),
|
|
52
|
-
render,
|
|
53
|
-
state: {
|
|
54
|
-
slot: "button-group-text",
|
|
55
|
-
size: resolvedSize
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
//#endregion
|
|
61
|
-
export { ButtonGroupSeparator as n, ButtonGroupText as t };
|
|
62
|
-
//# sourceMappingURL=button-group-text-JA0xMSnb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group-text-JA0xMSnb.js","names":[],"sources":["../src/ui/button-group/button-group-separator.tsx","../src/ui/button-group/button-group-text.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { useContext } from \"react\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nimport { Separator } from \"../separator/separator\";\nimport { ButtonGroupSizeContext } from \"./button-group-size-context\";\n\nconst buttonGroupSeparatorVariants = tv({\n base: \"relative self-stretch bg-input data-[orientation=horizontal]:w-auto data-[orientation=vertical]:h-auto\",\n variants: {\n size: {\n xs: \"data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px\",\n sm: \"data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px\",\n md: \"data-[orientation=horizontal]:mx-px data-[orientation=vertical]:my-px\",\n lg: \"data-[orientation=horizontal]:mx-0.5 data-[orientation=vertical]:my-0.5\",\n xl: \"data-[orientation=horizontal]:mx-0.5 data-[orientation=vertical]:my-0.5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\ntype ButtonGroupSeparatorVariantProps = Omit<\n VariantProps<typeof buttonGroupSeparatorVariants>,\n \"size\"\n> & {\n size?: UISize;\n};\n\nexport type ButtonGroupSeparatorProps = ComponentProps<typeof Separator> &\n ButtonGroupSeparatorVariantProps;\n\nconst ButtonGroupSeparator = ({\n className,\n orientation = \"vertical\",\n size,\n ...props\n}: ButtonGroupSeparatorProps) => {\n const { size: groupSize } = useContext(ButtonGroupSizeContext);\n const resolvedSize = size ?? groupSize ?? \"md\";\n\n return (\n <Separator\n className={cn(\n buttonGroupSeparatorVariants({ size: resolvedSize }),\n className\n )}\n data-size={resolvedSize}\n data-slot=\"button-group-separator\"\n orientation={orientation}\n {...props}\n />\n );\n};\n\nexport { ButtonGroupSeparator };\n","import { mergeProps } from \"@base-ui/react/merge-props\";\nimport { useRender } from \"@base-ui/react/use-render\";\nimport { useContext } from \"react\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nimport { ButtonGroupSizeContext } from \"./button-group-size-context\";\n\nconst buttonGroupTextVariants = tv({\n base: \"flex items-center border border-border bg-muted font-medium [&_svg]:pointer-events-none\",\n variants: {\n size: {\n xs: \"gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs [&_svg:not([class*='size-'])]:size-3\",\n sm: \"gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 text-sm [&_svg:not([class*='size-'])]:size-3.5\",\n md: \"gap-2 rounded-md px-2.5 text-sm [&_svg:not([class*='size-'])]:size-4\",\n lg: \"gap-2 rounded-md px-3 text-sm [&_svg:not([class*='size-'])]:size-4\",\n xl: \"gap-2.5 rounded-md px-4 text-base [&_svg:not([class*='size-'])]:size-5\",\n },\n },\n defaultVariants: {\n size: \"md\",\n },\n});\n\ntype ButtonGroupTextVariantProps = Omit<\n VariantProps<typeof buttonGroupTextVariants>,\n \"size\"\n> & {\n size?: UISize;\n};\n\nexport type ButtonGroupTextProps = useRender.ComponentProps<\"div\"> &\n ButtonGroupTextVariantProps;\n\nconst ButtonGroupText = ({\n className,\n render,\n size,\n ...props\n}: ButtonGroupTextProps) => {\n const { size: groupSize } = useContext(ButtonGroupSizeContext);\n const resolvedSize = size ?? groupSize ?? \"md\";\n\n return useRender({\n defaultTagName: \"div\",\n props: mergeProps<\"div\">(\n {\n className: cn(\n buttonGroupTextVariants({ size: resolvedSize }),\n className\n ),\n },\n props\n ),\n render,\n state: {\n slot: \"button-group-text\",\n size: resolvedSize,\n },\n });\n};\n\nexport { ButtonGroupText };\n"],"mappings":";;;;;;;;;AAUA,MAAM,+BAA+B,GAAG;CACtC,MAAM;CACN,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CAAC;AAYF,MAAM,wBAAwB,EAC5B,WACA,cAAc,YACd,MACA,GAAG,YAC4B;CAC/B,MAAM,EAAE,MAAM,cAAc,WAAW,uBAAuB;CAC9D,MAAM,eAAe,QAAQ,aAAa;AAE1C,QACE,oBAAC;EACC,WAAW,GACT,6BAA6B,EAAE,MAAM,cAAc,CAAC,EACpD,UACD;EACD,aAAW;EACX,aAAU;EACG;EACb,GAAI;GACJ;;;;;AC9CN,MAAM,0BAA0B,GAAG;CACjC,MAAM;CACN,UAAU,EACR,MAAM;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL,EACF;CACD,iBAAiB,EACf,MAAM,MACP;CACF,CAAC;AAYF,MAAM,mBAAmB,EACvB,WACA,QACA,MACA,GAAG,YACuB;CAC1B,MAAM,EAAE,MAAM,cAAc,WAAW,uBAAuB;CAC9D,MAAM,eAAe,QAAQ,aAAa;AAE1C,QAAO,UAAU;EACf,gBAAgB;EAChB,OAAO,WACL,EACE,WAAW,GACT,wBAAwB,EAAE,MAAM,cAAc,CAAC,EAC/C,UACD,EACF,EACD,MACD;EACD;EACA,OAAO;GACL,MAAM;GACN,MAAM;GACP;EACF,CAAC"}
|
package/dist/button-group.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { t as UISize } from "./size-system-CMU68sQY.js";
|
|
2
|
-
import { i as ButtonGroupSeparatorProps, n as ButtonGroupTextProps, r as ButtonGroupSeparator, t as ButtonGroupText } from "./button-group-text-B2_MmlIc.js";
|
|
3
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
4
|
-
import { VariantProps } from "tailwind-variants";
|
|
5
|
-
import * as react from "react";
|
|
6
|
-
import { ComponentProps } from "react";
|
|
7
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
//#region src/ui/button-group/button-group.d.ts
|
|
10
|
-
type ButtonGroupProps = ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants> & {
|
|
11
|
-
size?: UISize;
|
|
12
|
-
};
|
|
13
|
-
declare const buttonGroupVariants: tailwind_variants0.TVReturnType<{
|
|
14
|
-
orientation: {
|
|
15
|
-
horizontal: string;
|
|
16
|
-
vertical: string;
|
|
17
|
-
};
|
|
18
|
-
size: {
|
|
19
|
-
xs: string;
|
|
20
|
-
sm: string;
|
|
21
|
-
md: string;
|
|
22
|
-
lg: string;
|
|
23
|
-
xl: string;
|
|
24
|
-
};
|
|
25
|
-
}, undefined, "group/button-group flex w-fit items-stretch overflow-hidden *:focus-visible:relative *:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[inherit] [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
|
|
26
|
-
orientation: {
|
|
27
|
-
horizontal: string;
|
|
28
|
-
vertical: string;
|
|
29
|
-
};
|
|
30
|
-
size: {
|
|
31
|
-
xs: string;
|
|
32
|
-
sm: string;
|
|
33
|
-
md: string;
|
|
34
|
-
lg: string;
|
|
35
|
-
xl: string;
|
|
36
|
-
};
|
|
37
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
38
|
-
orientation: {
|
|
39
|
-
horizontal: string;
|
|
40
|
-
vertical: string;
|
|
41
|
-
};
|
|
42
|
-
size: {
|
|
43
|
-
xs: string;
|
|
44
|
-
sm: string;
|
|
45
|
-
md: string;
|
|
46
|
-
lg: string;
|
|
47
|
-
xl: string;
|
|
48
|
-
};
|
|
49
|
-
}, undefined, "group/button-group flex w-fit items-stretch overflow-hidden *:focus-visible:relative *:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[inherit] [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", unknown, unknown, undefined>>;
|
|
50
|
-
declare const ButtonGroup: {
|
|
51
|
-
({
|
|
52
|
-
className,
|
|
53
|
-
orientation,
|
|
54
|
-
size: providedSize,
|
|
55
|
-
...props
|
|
56
|
-
}: ButtonGroupProps): react_jsx_runtime0.JSX.Element;
|
|
57
|
-
Separator: ({
|
|
58
|
-
className,
|
|
59
|
-
orientation,
|
|
60
|
-
size,
|
|
61
|
-
...props
|
|
62
|
-
}: ButtonGroupSeparatorProps) => react_jsx_runtime0.JSX.Element;
|
|
63
|
-
Text: ({
|
|
64
|
-
className,
|
|
65
|
-
render,
|
|
66
|
-
size,
|
|
67
|
-
...props
|
|
68
|
-
}: ButtonGroupTextProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
69
|
-
};
|
|
70
|
-
//#endregion
|
|
71
|
-
export { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, buttonGroupVariants };
|
|
72
|
-
//# sourceMappingURL=button-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.d.ts","names":[],"sources":["../src/ui/button-group/button-group.tsx"],"mappings":";;;;;;;;;KAUY,gBAAA,GAAmB,cAAA,UAC7B,YAAA,QAAoB,mBAAA;EAClB,IAAA,GAAO,MAAA;AAAA;AAAA,cAGL,mBAAA,EAqBJ,kBAAA,CArBuB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;cAqBvB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;cAEI,WAAA;EAAA;;;;;KAKH,gBAAA,GAAgB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/button-group.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { a as useComponentSize } from "./size-provider-D2Fy00Ky.js";
|
|
2
|
-
import { t as ButtonGroupSizeContext } from "./button-group-size-context-BAqIdusJ.js";
|
|
3
|
-
import { n as ButtonGroupSeparator, t as ButtonGroupText } from "./button-group-text-JA0xMSnb.js";
|
|
4
|
-
import { cn, tv } from "tailwind-variants";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region src/ui/button-group/button-group.tsx
|
|
8
|
-
const buttonGroupVariants = tv({
|
|
9
|
-
base: "group/button-group flex w-fit items-stretch overflow-hidden *:focus-visible:relative *:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[inherit] [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
|
|
10
|
-
variants: {
|
|
11
|
-
orientation: {
|
|
12
|
-
horizontal: "*:data-slot:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-[inherit]! [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0",
|
|
13
|
-
vertical: "flex-col *:data-slot:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-[inherit]! [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0"
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
xs: "has-[>[data-slot=button-group]]:gap-1 rounded-[min(var(--radius-md),8px)]",
|
|
17
|
-
sm: "has-[>[data-slot=button-group]]:gap-1 rounded-[min(var(--radius-md),10px)]",
|
|
18
|
-
md: "has-[>[data-slot=button-group]]:gap-2 rounded-md",
|
|
19
|
-
lg: "has-[>[data-slot=button-group]]:gap-2 rounded-md",
|
|
20
|
-
xl: "has-[>[data-slot=button-group]]:gap-2.5 rounded-md"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
orientation: "horizontal",
|
|
25
|
-
size: "md"
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const ButtonGroup = ({ className, orientation, size: providedSize, ...props }) => {
|
|
29
|
-
const resolvedOrientation = orientation ?? "horizontal";
|
|
30
|
-
const size = useComponentSize(providedSize);
|
|
31
|
-
return /* @__PURE__ */ jsx(ButtonGroupSizeContext.Provider, {
|
|
32
|
-
value: { size },
|
|
33
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
34
|
-
className: cn(buttonGroupVariants({
|
|
35
|
-
orientation: resolvedOrientation,
|
|
36
|
-
size
|
|
37
|
-
}), className),
|
|
38
|
-
"data-orientation": resolvedOrientation,
|
|
39
|
-
"data-size": size,
|
|
40
|
-
"data-slot": "button-group",
|
|
41
|
-
...props
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
ButtonGroup.Separator = ButtonGroupSeparator;
|
|
46
|
-
ButtonGroup.Text = ButtonGroupText;
|
|
47
|
-
|
|
48
|
-
//#endregion
|
|
49
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
50
|
-
//# sourceMappingURL=button-group.js.map
|
package/dist/button-group.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.js","names":[],"sources":["../src/ui/button-group/button-group.tsx"],"sourcesContent":["import type { ComponentProps } from \"react\";\n\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nimport { useComponentSize } from \"../shared/size/size-provider\";\nimport { ButtonGroupSeparator } from \"./button-group-separator\";\nimport { ButtonGroupSizeContext } from \"./button-group-size-context\";\nimport { ButtonGroupText } from \"./button-group-text\";\nexport type ButtonGroupProps = ComponentProps<\"div\"> &\n VariantProps<typeof buttonGroupVariants> & {\n size?: UISize;\n };\n\nconst buttonGroupVariants = tv({\n base: \"group/button-group flex w-fit items-stretch overflow-hidden *:focus-visible:relative *:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-[inherit] [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1\",\n variants: {\n orientation: {\n horizontal:\n \"*:data-slot:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-[inherit]! [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0\",\n vertical:\n \"flex-col *:data-slot:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-[inherit]! [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0\",\n },\n size: {\n xs: \"has-[>[data-slot=button-group]]:gap-1 rounded-[min(var(--radius-md),8px)]\",\n sm: \"has-[>[data-slot=button-group]]:gap-1 rounded-[min(var(--radius-md),10px)]\",\n md: \"has-[>[data-slot=button-group]]:gap-2 rounded-md\",\n lg: \"has-[>[data-slot=button-group]]:gap-2 rounded-md\",\n xl: \"has-[>[data-slot=button-group]]:gap-2.5 rounded-md\",\n },\n },\n defaultVariants: {\n orientation: \"horizontal\",\n size: \"md\",\n },\n});\n\nconst ButtonGroup = ({\n className,\n orientation,\n size: providedSize,\n ...props\n}: ButtonGroupProps) => {\n const resolvedOrientation = orientation ?? \"horizontal\";\n const size = useComponentSize(providedSize);\n\n return (\n <ButtonGroupSizeContext.Provider value={{ size }}>\n <div\n className={cn(\n buttonGroupVariants({ orientation: resolvedOrientation, size }),\n className\n )}\n data-orientation={resolvedOrientation}\n data-size={size}\n data-slot=\"button-group\"\n {...props}\n />\n </ButtonGroupSizeContext.Provider>\n );\n};\n\nButtonGroup.Separator = ButtonGroupSeparator;\nButtonGroup.Text = ButtonGroupText;\n\nexport {\n ButtonGroup,\n buttonGroupVariants,\n ButtonGroupSeparator,\n ButtonGroupText,\n};\n\nexport type { ButtonGroupSeparatorProps } from \"./button-group-separator\";\nexport type { ButtonGroupTextProps } from \"./button-group-text\";\n"],"mappings":";;;;;;;AAeA,MAAM,sBAAsB,GAAG;CAC7B,MAAM;CACN,UAAU;EACR,aAAa;GACX,YACE;GACF,UACE;GACH;EACD,MAAM;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACF;CACD,iBAAiB;EACf,aAAa;EACb,MAAM;EACP;CACF,CAAC;AAEF,MAAM,eAAe,EACnB,WACA,aACA,MAAM,cACN,GAAG,YACmB;CACtB,MAAM,sBAAsB,eAAe;CAC3C,MAAM,OAAO,iBAAiB,aAAa;AAE3C,QACE,oBAAC,uBAAuB;EAAS,OAAO,EAAE,MAAM;YAC9C,oBAAC;GACC,WAAW,GACT,oBAAoB;IAAE,aAAa;IAAqB;IAAM,CAAC,EAC/D,UACD;GACD,oBAAkB;GAClB,aAAW;GACX,aAAU;GACV,GAAI;IACJ;GAC8B;;AAItC,YAAY,YAAY;AACxB,YAAY,OAAO"}
|
package/dist/button.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants0 from "tailwind-variants";
|
|
2
|
-
import { VariantProps } from "tailwind-variants";
|
|
3
|
-
import { ComponentProps } from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
import { Button as Button$1 } from "@base-ui/react/button";
|
|
6
|
-
|
|
7
|
-
//#region src/ui/button/button.d.ts
|
|
8
|
-
declare const buttonVariants: tailwind_variants0.TVReturnType<{
|
|
9
|
-
variant: {
|
|
10
|
-
default: string;
|
|
11
|
-
outline: string;
|
|
12
|
-
secondary: string;
|
|
13
|
-
ghost: string;
|
|
14
|
-
danger: string;
|
|
15
|
-
link: string;
|
|
16
|
-
};
|
|
17
|
-
size: {
|
|
18
|
-
md: string;
|
|
19
|
-
xs: string[];
|
|
20
|
-
sm: string[];
|
|
21
|
-
lg: string;
|
|
22
|
-
xl: string[];
|
|
23
|
-
icon: string;
|
|
24
|
-
"icon-xs": string;
|
|
25
|
-
"icon-sm": string;
|
|
26
|
-
"icon-lg": string;
|
|
27
|
-
"icon-xl": string;
|
|
28
|
-
};
|
|
29
|
-
}, undefined, "group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[transform,color,background-color,border-color,box-shadow] duration-100 ease-out outline-none select-none active:scale-[0.98] motion-reduce:active:scale-100 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger aria-invalid:ring-[3px] aria-invalid:ring-danger/20 dark:aria-invalid:border-danger/50 dark:aria-invalid:ring-danger/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
30
|
-
variant: {
|
|
31
|
-
default: string;
|
|
32
|
-
outline: string;
|
|
33
|
-
secondary: string;
|
|
34
|
-
ghost: string;
|
|
35
|
-
danger: string;
|
|
36
|
-
link: string;
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
md: string;
|
|
40
|
-
xs: string[];
|
|
41
|
-
sm: string[];
|
|
42
|
-
lg: string;
|
|
43
|
-
xl: string[];
|
|
44
|
-
icon: string;
|
|
45
|
-
"icon-xs": string;
|
|
46
|
-
"icon-sm": string;
|
|
47
|
-
"icon-lg": string;
|
|
48
|
-
"icon-xl": string;
|
|
49
|
-
};
|
|
50
|
-
}, undefined, tailwind_variants0.TVReturnType<{
|
|
51
|
-
variant: {
|
|
52
|
-
default: string;
|
|
53
|
-
outline: string;
|
|
54
|
-
secondary: string;
|
|
55
|
-
ghost: string;
|
|
56
|
-
danger: string;
|
|
57
|
-
link: string;
|
|
58
|
-
};
|
|
59
|
-
size: {
|
|
60
|
-
md: string;
|
|
61
|
-
xs: string[];
|
|
62
|
-
sm: string[];
|
|
63
|
-
lg: string;
|
|
64
|
-
xl: string[];
|
|
65
|
-
icon: string;
|
|
66
|
-
"icon-xs": string;
|
|
67
|
-
"icon-sm": string;
|
|
68
|
-
"icon-lg": string;
|
|
69
|
-
"icon-xl": string;
|
|
70
|
-
};
|
|
71
|
-
}, undefined, "group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[transform,color,background-color,border-color,box-shadow] duration-100 ease-out outline-none select-none active:scale-[0.98] motion-reduce:active:scale-100 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger aria-invalid:ring-[3px] aria-invalid:ring-danger/20 dark:aria-invalid:border-danger/50 dark:aria-invalid:ring-danger/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", unknown, unknown, undefined>>;
|
|
72
|
-
type ButtonProps = ComponentProps<typeof Button$1> & VariantProps<typeof buttonVariants> & {
|
|
73
|
-
isLoading?: boolean;
|
|
74
|
-
};
|
|
75
|
-
declare const Button: (incomingProps: ButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
76
|
-
//#endregion
|
|
77
|
-
export { Button, ButtonProps, buttonVariants };
|
|
78
|
-
//# sourceMappingURL=button.d.ts.map
|
package/dist/button.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","names":[],"sources":["../src/ui/button/button.tsx"],"mappings":";;;;;;;cAwBM,cAAA,EAgDJ,kBAAA,CAhDkB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDlB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,cAAA,QAAsB,QAAA,IAC9C,YAAA,QAAoB,cAAA;EAClB,SAAA;AAAA;AAAA,cAsDE,MAAA,GAAU,aAAA,EAAe,WAAA,KAAW,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/dist/button.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { t as mergeBaseUIClassName } from "./merge-base-ui-class-name-u6eS5MaQ.js";
|
|
4
|
-
import { o as useGlobalUISize, r as filterUndefinedProps, s as useKuzenboComponentDefaults } from "./size-provider-D2Fy00Ky.js";
|
|
5
|
-
import { t as ButtonGroupSizeContext } from "./button-group-size-context-BAqIdusJ.js";
|
|
6
|
-
import { a as FIELD_TEXT_CLASS_BY_SIZE, i as FIELD_HEIGHT_CLASS_BY_SIZE, r as DEFAULT_NESTED_ICON_CLASS_BY_SIZE } from "./size-system-BNfPN2hb.js";
|
|
7
|
-
import { Spinner } from "./spinner.js";
|
|
8
|
-
import { cn, tv } from "tailwind-variants";
|
|
9
|
-
import { useContext } from "react";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
import { Button as Button$1 } from "@base-ui/react/button";
|
|
12
|
-
|
|
13
|
-
//#region src/ui/button/button.tsx
|
|
14
|
-
const buttonVariants = tv({
|
|
15
|
-
base: "group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[transform,color,background-color,border-color,box-shadow] duration-100 ease-out outline-none select-none active:scale-[0.98] motion-reduce:active:scale-100 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger aria-invalid:ring-[3px] aria-invalid:ring-danger/20 dark:aria-invalid:border-danger/50 dark:aria-invalid:ring-danger/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
16
|
-
variants: {
|
|
17
|
-
variant: {
|
|
18
|
-
default: "bg-primary text-primary-foreground hover:bg-primary/90 [a]:hover:bg-primary/80",
|
|
19
|
-
outline: "border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-card dark:hover:bg-muted",
|
|
20
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
|
|
21
|
-
ghost: "hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",
|
|
22
|
-
danger: "bg-danger text-danger-foreground hover:bg-danger/90 focus-visible:border-danger-foreground/40 focus-visible:ring-danger-foreground/30 dark:bg-danger dark:text-danger-foreground dark:hover:bg-danger/80 dark:focus-visible:ring-danger-foreground/40",
|
|
23
|
-
link: "text-primary underline-offset-4 hover:underline"
|
|
24
|
-
},
|
|
25
|
-
size: {
|
|
26
|
-
md: `${FIELD_HEIGHT_CLASS_BY_SIZE.md} gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,
|
|
27
|
-
xs: [
|
|
28
|
-
FIELD_HEIGHT_CLASS_BY_SIZE.xs,
|
|
29
|
-
FIELD_TEXT_CLASS_BY_SIZE.xs,
|
|
30
|
-
DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xs,
|
|
31
|
-
"gap-1 rounded-[min(var(--radius-md),8px)] px-2 in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5"
|
|
32
|
-
],
|
|
33
|
-
sm: [
|
|
34
|
-
FIELD_HEIGHT_CLASS_BY_SIZE.sm,
|
|
35
|
-
DEFAULT_NESTED_ICON_CLASS_BY_SIZE.sm,
|
|
36
|
-
"gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5"
|
|
37
|
-
],
|
|
38
|
-
lg: `${FIELD_HEIGHT_CLASS_BY_SIZE.lg} gap-1.5 px-3 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3`,
|
|
39
|
-
xl: [
|
|
40
|
-
FIELD_HEIGHT_CLASS_BY_SIZE.xl,
|
|
41
|
-
FIELD_TEXT_CLASS_BY_SIZE.xl,
|
|
42
|
-
DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xl,
|
|
43
|
-
"gap-2 px-4 has-data-[icon=inline-end]:pr-3.5 has-data-[icon=inline-start]:pl-3.5"
|
|
44
|
-
],
|
|
45
|
-
icon: "size-9",
|
|
46
|
-
"icon-xs": `size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg ${DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xs}`,
|
|
47
|
-
"icon-sm": "size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg",
|
|
48
|
-
"icon-lg": "size-10",
|
|
49
|
-
"icon-xl": `size-11 ${DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xl}`
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
variant: "default",
|
|
54
|
-
size: "md"
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
const BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE = {
|
|
58
|
-
xs: "xs",
|
|
59
|
-
sm: "sm",
|
|
60
|
-
md: "md",
|
|
61
|
-
lg: "lg",
|
|
62
|
-
xl: "xl",
|
|
63
|
-
icon: "md",
|
|
64
|
-
"icon-xs": "xs",
|
|
65
|
-
"icon-sm": "sm",
|
|
66
|
-
"icon-lg": "lg",
|
|
67
|
-
"icon-xl": "xl"
|
|
68
|
-
};
|
|
69
|
-
const isButtonSize = (value) => typeof value === "string" && value in BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE;
|
|
70
|
-
const ButtonContent = ({ children, isLoading, size }) => /* @__PURE__ */ jsxs("span", {
|
|
71
|
-
className: "relative inline-flex items-center justify-center",
|
|
72
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
73
|
-
className: cn("inline-flex items-center justify-center gap-2 transition-all duration-200", isLoading ? "pointer-events-none -translate-y-full opacity-0" : "translate-y-0 opacity-100"),
|
|
74
|
-
children
|
|
75
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
76
|
-
className: cn("absolute inset-0 inline-flex items-center justify-center transition-all duration-200", isLoading ? "translate-y-0 opacity-100" : "pointer-events-none -translate-y-full opacity-0"),
|
|
77
|
-
children: /* @__PURE__ */ jsx(Spinner, { size: BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE[size] })
|
|
78
|
-
})]
|
|
79
|
-
});
|
|
80
|
-
const Button = (incomingProps) => {
|
|
81
|
-
const { size: componentDefaultSize, ...componentDefaultsWithoutSize } = useKuzenboComponentDefaults("Button");
|
|
82
|
-
const { className, variant = "default", size, isLoading, children, disabled, ...props } = {
|
|
83
|
-
...filterUndefinedProps(componentDefaultsWithoutSize),
|
|
84
|
-
...filterUndefinedProps(incomingProps)
|
|
85
|
-
};
|
|
86
|
-
const { size: buttonGroupSize } = useContext(ButtonGroupSizeContext);
|
|
87
|
-
const globalSize = useGlobalUISize();
|
|
88
|
-
const resolvedSize = isButtonSize(size) ? size : buttonGroupSize ?? (isButtonSize(componentDefaultSize) ? componentDefaultSize : globalSize ?? "md");
|
|
89
|
-
return /* @__PURE__ */ jsx(Button$1, {
|
|
90
|
-
className: mergeBaseUIClassName(cn(buttonVariants({
|
|
91
|
-
variant,
|
|
92
|
-
size: resolvedSize
|
|
93
|
-
})), className),
|
|
94
|
-
focusableWhenDisabled: Boolean(isLoading),
|
|
95
|
-
"data-loading": isLoading,
|
|
96
|
-
"data-size": resolvedSize,
|
|
97
|
-
"data-slot": "button",
|
|
98
|
-
disabled: disabled || isLoading,
|
|
99
|
-
...props,
|
|
100
|
-
children: /* @__PURE__ */ jsx(ButtonContent, {
|
|
101
|
-
isLoading,
|
|
102
|
-
size: resolvedSize,
|
|
103
|
-
children
|
|
104
|
-
})
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
//#endregion
|
|
109
|
-
export { Button, buttonVariants };
|
|
110
|
-
//# sourceMappingURL=button.js.map
|
package/dist/button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","names":["ButtonPrimitive"],"sources":["../src/ui/button/button.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ComponentProps, ReactNode } from \"react\";\n\nimport { Button as ButtonPrimitive } from \"@base-ui/react/button\";\nimport { useContext } from \"react\";\nimport { cn, tv, type VariantProps } from \"tailwind-variants\";\n\nimport type { UISize } from \"../shared/size/size-system\";\n\nimport { mergeBaseUIClassName } from \"../../utils/merge-base-ui-class-name\";\nimport { ButtonGroupSizeContext } from \"../button-group/button-group-size-context\";\nimport {\n filterUndefinedProps,\n useGlobalUISize,\n useKuzenboComponentDefaults,\n} from \"../shared/size/size-provider\";\nimport {\n DEFAULT_NESTED_ICON_CLASS_BY_SIZE,\n FIELD_HEIGHT_CLASS_BY_SIZE,\n FIELD_TEXT_CLASS_BY_SIZE,\n} from \"../shared/size/size-system\";\nimport { Spinner } from \"../spinner/spinner\";\n\nconst buttonVariants = tv({\n base: \"group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-[transform,color,background-color,border-color,box-shadow] duration-100 ease-out outline-none select-none active:scale-[0.98] motion-reduce:active:scale-100 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger aria-invalid:ring-[3px] aria-invalid:ring-danger/20 dark:aria-invalid:border-danger/50 dark:aria-invalid:ring-danger/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n variants: {\n variant: {\n default:\n \"bg-primary text-primary-foreground hover:bg-primary/90 [a]:hover:bg-primary/80\",\n outline:\n \"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-card dark:hover:bg-muted\",\n secondary:\n \"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground\",\n ghost:\n \"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50\",\n danger:\n \"bg-danger text-danger-foreground hover:bg-danger/90 focus-visible:border-danger-foreground/40 focus-visible:ring-danger-foreground/30 dark:bg-danger dark:text-danger-foreground dark:hover:bg-danger/80 dark:focus-visible:ring-danger-foreground/40\",\n link: \"text-primary underline-offset-4 hover:underline\",\n },\n size: {\n md: `${FIELD_HEIGHT_CLASS_BY_SIZE.md} gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2`,\n xs: [\n FIELD_HEIGHT_CLASS_BY_SIZE.xs,\n FIELD_TEXT_CLASS_BY_SIZE.xs,\n DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xs,\n \"gap-1 rounded-[min(var(--radius-md),8px)] px-2 in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5\",\n ],\n sm: [\n FIELD_HEIGHT_CLASS_BY_SIZE.sm,\n DEFAULT_NESTED_ICON_CLASS_BY_SIZE.sm,\n \"gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5\",\n ],\n lg: `${FIELD_HEIGHT_CLASS_BY_SIZE.lg} gap-1.5 px-3 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3`,\n xl: [\n FIELD_HEIGHT_CLASS_BY_SIZE.xl,\n FIELD_TEXT_CLASS_BY_SIZE.xl,\n DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xl,\n \"gap-2 px-4 has-data-[icon=inline-end]:pr-3.5 has-data-[icon=inline-start]:pl-3.5\",\n ],\n icon: \"size-9\",\n \"icon-xs\": `size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg ${DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xs}`,\n \"icon-sm\":\n \"size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg\",\n \"icon-lg\": \"size-10\",\n \"icon-xl\": `size-11 ${DEFAULT_NESTED_ICON_CLASS_BY_SIZE.xl}`,\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"md\",\n },\n});\n\nexport type ButtonProps = ComponentProps<typeof ButtonPrimitive> &\n VariantProps<typeof buttonVariants> & {\n isLoading?: boolean;\n };\n\ntype ButtonSize = NonNullable<VariantProps<typeof buttonVariants>[\"size\"]>;\n\nconst BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE: Record<ButtonSize, UISize> = {\n xs: \"xs\",\n sm: \"sm\",\n md: \"md\",\n lg: \"lg\",\n xl: \"xl\",\n icon: \"md\",\n \"icon-xs\": \"xs\",\n \"icon-sm\": \"sm\",\n \"icon-lg\": \"lg\",\n \"icon-xl\": \"xl\",\n};\n\nconst isButtonSize = (value: unknown): value is ButtonSize =>\n typeof value === \"string\" && value in BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE;\n\nconst ButtonContent = ({\n children,\n isLoading,\n size,\n}: {\n children: ReactNode;\n isLoading?: boolean;\n size: ButtonSize;\n}) => (\n <span className=\"relative inline-flex items-center justify-center\">\n <span\n className={cn(\n \"inline-flex items-center justify-center gap-2 transition-all duration-200\",\n isLoading\n ? \"pointer-events-none -translate-y-full opacity-0\"\n : \"translate-y-0 opacity-100\"\n )}\n >\n {children}\n </span>\n <span\n className={cn(\n \"absolute inset-0 inline-flex items-center justify-center transition-all duration-200\",\n isLoading\n ? \"translate-y-0 opacity-100\"\n : \"pointer-events-none -translate-y-full opacity-0\"\n )}\n >\n <Spinner size={BUTTON_SPINNER_SIZE_BY_BUTTON_SIZE[size]} />\n </span>\n </span>\n);\n\nconst Button = (incomingProps: ButtonProps) => {\n const componentDefaults = useKuzenboComponentDefaults<ButtonProps>(\"Button\");\n const { size: componentDefaultSize, ...componentDefaultsWithoutSize } =\n componentDefaults;\n const {\n className,\n variant = \"default\",\n size,\n isLoading,\n children,\n disabled,\n ...props\n } = {\n ...filterUndefinedProps(componentDefaultsWithoutSize),\n ...filterUndefinedProps(incomingProps),\n } as ButtonProps;\n\n const { size: buttonGroupSize } = useContext(ButtonGroupSizeContext);\n const globalSize = useGlobalUISize();\n\n const resolvedSize: ButtonSize = isButtonSize(size)\n ? size\n : (buttonGroupSize ??\n (isButtonSize(componentDefaultSize)\n ? componentDefaultSize\n : (globalSize ?? \"md\")));\n\n return (\n <ButtonPrimitive\n className={mergeBaseUIClassName<ButtonPrimitive.State>(\n cn(buttonVariants({ variant, size: resolvedSize })),\n className\n )}\n focusableWhenDisabled={Boolean(isLoading)}\n data-loading={isLoading}\n data-size={resolvedSize}\n data-slot=\"button\"\n disabled={disabled || isLoading}\n {...props}\n >\n <ButtonContent isLoading={isLoading} size={resolvedSize}>\n {children}\n </ButtonContent>\n </ButtonPrimitive>\n );\n};\n\nexport { Button, buttonVariants };\n"],"mappings":";;;;;;;;;;;;;AAwBA,MAAM,iBAAiB,GAAG;CACxB,MAAM;CACN,UAAU;EACR,SAAS;GACP,SACE;GACF,SACE;GACF,WACE;GACF,OACE;GACF,QACE;GACF,MAAM;GACP;EACD,MAAM;GACJ,IAAI,GAAG,2BAA2B,GAAG;GACrC,IAAI;IACF,2BAA2B;IAC3B,yBAAyB;IACzB,kCAAkC;IAClC;IACD;GACD,IAAI;IACF,2BAA2B;IAC3B,kCAAkC;IAClC;IACD;GACD,IAAI,GAAG,2BAA2B,GAAG;GACrC,IAAI;IACF,2BAA2B;IAC3B,yBAAyB;IACzB,kCAAkC;IAClC;IACD;GACD,MAAM;GACN,WAAW,sFAAsF,kCAAkC;GACnI,WACE;GACF,WAAW;GACX,WAAW,WAAW,kCAAkC;GACzD;EACF;CACD,iBAAiB;EACf,SAAS;EACT,MAAM;EACP;CACF,CAAC;AASF,MAAM,qCAAiE;CACrE,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,MAAM;CACN,WAAW;CACX,WAAW;CACX,WAAW;CACX,WAAW;CACZ;AAED,MAAM,gBAAgB,UACpB,OAAO,UAAU,YAAY,SAAS;AAExC,MAAM,iBAAiB,EACrB,UACA,WACA,WAMA,qBAAC;CAAK,WAAU;YACd,oBAAC;EACC,WAAW,GACT,6EACA,YACI,oDACA,4BACL;EAEA;GACI,EACP,oBAAC;EACC,WAAW,GACT,wFACA,YACI,8BACA,kDACL;YAED,oBAAC,WAAQ,MAAM,mCAAmC,QAAS;GACtD;EACF;AAGT,MAAM,UAAU,kBAA+B;CAE7C,MAAM,EAAE,MAAM,sBAAsB,GAAG,iCADb,4BAAyC,SAAS;CAG5E,MAAM,EACJ,WACA,UAAU,WACV,MACA,WACA,UACA,UACA,GAAG,UACD;EACF,GAAG,qBAAqB,6BAA6B;EACrD,GAAG,qBAAqB,cAAc;EACvC;CAED,MAAM,EAAE,MAAM,oBAAoB,WAAW,uBAAuB;CACpE,MAAM,aAAa,iBAAiB;CAEpC,MAAM,eAA2B,aAAa,KAAK,GAC/C,OACC,oBACA,aAAa,qBAAqB,GAC/B,uBACC,cAAc;AAEvB,QACE,oBAACA;EACC,WAAW,qBACT,GAAG,eAAe;GAAE;GAAS,MAAM;GAAc,CAAC,CAAC,EACnD,UACD;EACD,uBAAuB,QAAQ,UAAU;EACzC,gBAAc;EACd,aAAW;EACX,aAAU;EACV,UAAU,YAAY;EACtB,GAAI;YAEJ,oBAAC;GAAyB;GAAW,MAAM;GACxC;IACa;GACA"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/ui/card/card-action.d.ts
|
|
5
|
-
type CardActionProps = ComponentProps<"div">;
|
|
6
|
-
declare const CardAction: ({
|
|
7
|
-
className,
|
|
8
|
-
...props
|
|
9
|
-
}: CardActionProps) => react_jsx_runtime0.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region src/ui/card/card-content.d.ts
|
|
12
|
-
type CardContentProps = ComponentProps<"div">;
|
|
13
|
-
declare const CardContent: ({
|
|
14
|
-
className,
|
|
15
|
-
...props
|
|
16
|
-
}: CardContentProps) => react_jsx_runtime0.JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/ui/card/card-description.d.ts
|
|
19
|
-
type CardDescriptionProps = ComponentProps<"div">;
|
|
20
|
-
declare const CardDescription: ({
|
|
21
|
-
className,
|
|
22
|
-
...props
|
|
23
|
-
}: CardDescriptionProps) => react_jsx_runtime0.JSX.Element;
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region src/ui/card/card-footer.d.ts
|
|
26
|
-
type CardFooterProps = ComponentProps<"div">;
|
|
27
|
-
declare const CardFooter: ({
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}: CardFooterProps) => react_jsx_runtime0.JSX.Element;
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/ui/card/card-header.d.ts
|
|
33
|
-
type CardHeaderProps = ComponentProps<"div">;
|
|
34
|
-
declare const CardHeader: ({
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: CardHeaderProps) => react_jsx_runtime0.JSX.Element;
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region src/ui/card/card-title.d.ts
|
|
40
|
-
type CardTitleProps = ComponentProps<"div">;
|
|
41
|
-
declare const CardTitle: ({
|
|
42
|
-
className,
|
|
43
|
-
...props
|
|
44
|
-
}: CardTitleProps) => react_jsx_runtime0.JSX.Element;
|
|
45
|
-
//#endregion
|
|
46
|
-
export { CardFooter as a, CardDescriptionProps as c, CardAction as d, CardActionProps as f, CardHeaderProps as i, CardContent as l, CardTitleProps as n, CardFooterProps as o, CardHeader as r, CardDescription as s, CardTitle as t, CardContentProps as u };
|
|
47
|
-
//# sourceMappingURL=card-title-BaHIF8-E.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-title-BaHIF8-E.d.ts","names":[],"sources":["../src/ui/card/card-action.tsx","../src/ui/card/card-content.tsx","../src/ui/card/card-description.tsx","../src/ui/card/card-footer.tsx","../src/ui/card/card-header.tsx","../src/ui/card/card-title.tsx"],"mappings":";;;;KAGY,eAAA,GAAkB,cAAA;AAAA,cAExB,UAAA;EAAc,SAAA;EAAA,GAAA;AAAA,GAAyB,eAAA,KAAe,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCFhD,gBAAA,GAAmB,cAAA;AAAA,cAEzB,WAAA;EAAe,SAAA;EAAA,GAAA;AAAA,GAAyB,gBAAA,KAAgB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCFlD,oBAAA,GAAuB,cAAA;AAAA,cAE7B,eAAA;EAAmB,SAAA;EAAA,GAAA;AAAA,GAAyB,oBAAA,KAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCF1D,eAAA,GAAkB,cAAA;AAAA,cAExB,UAAA;EAAc,SAAA;EAAA,GAAA;AAAA,GAAyB,eAAA,KAAe,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCFhD,eAAA,GAAkB,cAAA;AAAA,cAExB,UAAA;EAAc,SAAA;EAAA,GAAA;AAAA,GAAyB,eAAA,KAAe,kBAAA,CAAA,GAAA,CAAA,OAAA;;;KCFhD,cAAA,GAAiB,cAAA;AAAA,cAEvB,SAAA;EAAa,SAAA;EAAA,GAAA;AAAA,GAAyB,cAAA,KAAc,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|