@blenx-dev/components 0.0.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/.turbo/turbo-check-types.log +1 -0
- package/MIGRATION-PLAN.md +423 -0
- package/TASKS.md +192 -0
- package/blenx-dev-ui-0.0.0.tgz +0 -0
- package/dist/assets/components.css +8407 -0
- package/dist/components/Accordion/accordion.css.js +13 -0
- package/dist/components/Accordion/accordion.js +54 -0
- package/dist/components/Alert/alert.css.js +17 -0
- package/dist/components/Alert/alert.js +38 -0
- package/dist/components/AlertDialog/alert-dialog.css.js +18 -0
- package/dist/components/AlertDialog/alert-dialog.js +117 -0
- package/dist/components/Autocomplete/autocomplete.css.js +28 -0
- package/dist/components/Autocomplete/autocomplete.js +157 -0
- package/dist/components/Avatar/avatar.css.js +37 -0
- package/dist/components/Avatar/avatar.js +28 -0
- package/dist/components/Badge/badge.css.js +19 -0
- package/dist/components/Badge/badge.js +14 -0
- package/dist/components/Box/box.css.js +6 -0
- package/dist/components/Box/box.js +18 -0
- package/dist/components/Breadcrumbs/breadcrumbs.css.js +13 -0
- package/dist/components/Breadcrumbs/breadcrumbs.js +73 -0
- package/dist/components/Button/button.css.js +37 -0
- package/dist/components/Button/button.js +28 -0
- package/dist/components/Calendar/calendar.css.js +23 -0
- package/dist/components/Calendar/calendar.js +104 -0
- package/dist/components/Card/card.js +46 -0
- package/dist/components/Checkbox/checkbox.css.js +13 -0
- package/dist/components/Checkbox/checkbox.js +59 -0
- package/dist/components/CloseButton/close-button.css.js +5 -0
- package/dist/components/CloseButton/close-button.js +27 -0
- package/dist/components/CloseButton/index.js +1 -0
- package/dist/components/ColorPicker/color-picker.js +103 -0
- package/dist/components/ColorSwatch/color-swatch.js +16 -0
- package/dist/components/Combobox/combobox.css.js +36 -0
- package/dist/components/Combobox/combobox.js +236 -0
- package/dist/components/Command/command.css.js +18 -0
- package/dist/components/Command/command.js +264 -0
- package/dist/components/Container/container.css.js +28 -0
- package/dist/components/Container/container.js +18 -0
- package/dist/components/CopyButton/copy-button.css.js +5 -0
- package/dist/components/CopyButton/copy-button.js +41 -0
- package/dist/components/CopyButton/index.js +1 -0
- package/dist/components/Dialog/dialog.css.js +19 -0
- package/dist/components/Dialog/dialog.js +112 -0
- package/dist/components/Drawer/drawer.css.js +60 -0
- package/dist/components/Drawer/drawer.js +307 -0
- package/dist/components/Field/field.css.js +11 -0
- package/dist/components/Field/field.js +50 -0
- package/dist/components/Grid/grid.css.js +19 -0
- package/dist/components/Grid/grid.js +31 -0
- package/dist/components/Icon/icon.css.js +5 -0
- package/dist/components/Icon/icon.js +15 -0
- package/dist/components/IconButton/icon-button.css.js +5 -0
- package/dist/components/IconButton/icon-button.js +14 -0
- package/dist/components/IconButton/index.js +1 -0
- package/dist/components/Input/input.css.js +11 -0
- package/dist/components/Input/input.js +31 -0
- package/dist/components/InputGroup/input-group.css.js +16 -0
- package/dist/components/InputGroup/input-group.js +70 -0
- package/dist/components/Menu/menu.css.js +14 -0
- package/dist/components/Menu/menu.js +54 -0
- package/dist/components/OTPField/otp-field.css.js +18 -0
- package/dist/components/OTPField/otp-field.js +23 -0
- package/dist/components/Popover/popover.css.js +13 -0
- package/dist/components/Popover/popover.js +89 -0
- package/dist/components/Progress/progress.css.js +11 -0
- package/dist/components/Progress/progress.js +44 -0
- package/dist/components/Radio/radio.css.js +12 -0
- package/dist/components/Radio/radio.js +32 -0
- package/dist/components/ScrollArea/scroll-area.css.js +15 -0
- package/dist/components/ScrollArea/scroll-area.js +50 -0
- package/dist/components/SegmentedControl/segmented-control.js +21 -0
- package/dist/components/Select/select.css.js +17 -0
- package/dist/components/Select/select.js +129 -0
- package/dist/components/Separator/separator.css.js +27 -0
- package/dist/components/Separator/separator.js +27 -0
- package/dist/components/Sheet/sheet.css.js +27 -0
- package/dist/components/Sheet/sheet.js +112 -0
- package/dist/components/Slider/slider.css.js +17 -0
- package/dist/components/Slider/slider.js +55 -0
- package/dist/components/Spinner/spinner.css.js +5 -0
- package/dist/components/Spinner/spinner.js +15 -0
- package/dist/components/Splitter/splitter.css.js +15 -0
- package/dist/components/Splitter/splitter.js +313 -0
- package/dist/components/Stack/stack.css.js +44 -0
- package/dist/components/Stack/stack.js +32 -0
- package/dist/components/Surface/surface.css.js +20 -0
- package/dist/components/Surface/surface.js +17 -0
- package/dist/components/Switch/switch.css.js +11 -0
- package/dist/components/Switch/switch.js +18 -0
- package/dist/components/Table/table.css.js +16 -0
- package/dist/components/Table/table.js +44 -0
- package/dist/components/Tabs/tabs.css.js +23 -0
- package/dist/components/Tabs/tabs.js +47 -0
- package/dist/components/Text/index.js +1 -0
- package/dist/components/Text/text.css.js +61 -0
- package/dist/components/Text/text.js +51 -0
- package/dist/components/Textarea/textarea.css.js +9 -0
- package/dist/components/Textarea/textarea.js +31 -0
- package/dist/components/Toggle/toggle.css.js +46 -0
- package/dist/components/Toggle/toggle.js +22 -0
- package/dist/components/ToggleGroup/toggle-group.css.js +13 -0
- package/dist/components/ToggleGroup/toggle-group.js +63 -0
- package/dist/components/index.js +52 -0
- package/dist/index.js +52 -0
- package/dist/node_modules/.bun/@vanilla-extract_recipes@0.5.7_19e937df7e0b57ed/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +89 -0
- package/dist/node_modules/.bun/@vanilla-extract_sprinkles@1.6.5_19e937df7e0b57ed/node_modules/@vanilla-extract/sprinkles/createRuntimeSprinkles/dist/vanilla-extract-sprinkles-createRuntimeSprinkles.esm.js +8 -0
- package/dist/node_modules/.bun/@vanilla-extract_sprinkles@1.6.5_19e937df7e0b57ed/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js +141 -0
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +16 -0
- package/dist/package.json +232 -0
- package/dist/src/DataTable/data-table-column-toggle.d.ts +6 -0
- package/dist/src/DataTable/data-table-empty.d.ts +7 -0
- package/dist/src/DataTable/data-table-error.d.ts +6 -0
- package/dist/src/DataTable/data-table-infinite-loader.d.ts +10 -0
- package/dist/src/DataTable/data-table-loading.d.ts +8 -0
- package/dist/src/DataTable/data-table-pagination.d.ts +6 -0
- package/dist/src/DataTable/data-table-toolbar.d.ts +13 -0
- package/dist/src/DataTable/data-table.css.d.ts +58 -0
- package/dist/src/DataTable/data-table.d.ts +2 -0
- package/dist/src/DataTable/index.d.ts +10 -0
- package/dist/src/DataTable/types.d.ts +106 -0
- package/dist/src/DataTable/use-infinite-scroll.d.ts +28 -0
- package/dist/src/components/Accordion/accordion.css.d.ts +7 -0
- package/dist/src/components/Accordion/accordion.d.ts +20 -0
- package/dist/src/components/Accordion/accordion.demo.d.ts +5 -0
- package/dist/src/components/Accordion/index.d.ts +1 -0
- package/dist/src/components/Alert/alert.css.d.ts +24 -0
- package/dist/src/components/Alert/alert.d.ts +13 -0
- package/dist/src/components/Alert/alert.demo.d.ts +6 -0
- package/dist/src/components/Alert/index.d.ts +1 -0
- package/dist/src/components/AlertDialog/alert-dialog.css.d.ts +13 -0
- package/dist/src/components/AlertDialog/alert-dialog.d.ts +30 -0
- package/dist/src/components/AlertDialog/alert-dialog.demo.d.ts +5 -0
- package/dist/src/components/AlertDialog/alert-dialog.doc.d.ts +1 -0
- package/dist/src/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/components/Autocomplete/autocomplete.css.d.ts +23 -0
- package/dist/src/components/Autocomplete/autocomplete.d.ts +34 -0
- package/dist/src/components/Autocomplete/index.d.ts +1 -0
- package/dist/src/components/Avatar/avatar.css.d.ts +55 -0
- package/dist/src/components/Avatar/avatar.d.ts +20 -0
- package/dist/src/components/Avatar/avatar.doc.d.ts +2 -0
- package/dist/src/components/Avatar/index.d.ts +1 -0
- package/dist/src/components/Badge/badge.css.d.ts +24 -0
- package/dist/src/components/Badge/badge.d.ts +7 -0
- package/dist/src/components/Badge/badge.demo.d.ts +5 -0
- package/dist/src/components/Badge/badge.doc.d.ts +1 -0
- package/dist/src/components/Badge/index.d.ts +1 -0
- package/dist/src/components/Box/box.css.d.ts +1 -0
- package/dist/src/components/Box/box.d.ts +6 -0
- package/dist/src/components/Box/box.doc.d.ts +1 -0
- package/dist/src/components/Box/index.d.ts +1 -0
- package/dist/src/components/Breadcrumbs/breadcrumbs.css.d.ts +8 -0
- package/dist/src/components/Breadcrumbs/breadcrumbs.d.ts +30 -0
- package/dist/src/components/Breadcrumbs/breadcrumbs.doc.d.ts +2 -0
- package/dist/src/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/src/components/Button/button.css.d.ts +179 -0
- package/dist/src/components/Button/button.d.ts +13 -0
- package/dist/src/components/Button/button.demo.d.ts +5 -0
- package/dist/src/components/Button/index.d.ts +1 -0
- package/dist/src/components/Calendar/calendar.css.d.ts +17 -0
- package/dist/src/components/Calendar/calendar.d.ts +3 -0
- package/dist/src/components/Calendar/calendar.doc.d.ts +1 -0
- package/dist/src/components/Calendar/index.d.ts +1 -0
- package/dist/src/components/Card/card.d.ts +12 -0
- package/dist/src/components/Card/card.demo.d.ts +8 -0
- package/dist/src/components/Card/card.doc.d.ts +2 -0
- package/dist/src/components/Card/index.d.ts +1 -0
- package/dist/src/components/Checkbox/checkbox.css.d.ts +7 -0
- package/dist/src/components/Checkbox/checkbox.d.ts +13 -0
- package/dist/src/components/Checkbox/index.d.ts +1 -0
- package/dist/src/components/CloseButton/close-button.css.d.ts +1 -0
- package/dist/src/components/CloseButton/close-button.d.ts +3 -0
- package/dist/src/components/CloseButton/index.d.ts +2 -0
- package/dist/src/components/ColorPicker/color-picker.d.ts +7 -0
- package/dist/src/components/ColorPicker/color-picker.doc.d.ts +1 -0
- package/dist/src/components/ColorPicker/index.d.ts +1 -0
- package/dist/src/components/ColorSwatch/color-swatch.d.ts +8 -0
- package/dist/src/components/ColorSwatch/color-swatch.doc.d.ts +2 -0
- package/dist/src/components/ColorSwatch/index.d.ts +1 -0
- package/dist/src/components/Combobox/combobox.css.d.ts +32 -0
- package/dist/src/components/Combobox/combobox.d.ts +52 -0
- package/dist/src/components/Combobox/index.d.ts +1 -0
- package/dist/src/components/Command/command.css.d.ts +12 -0
- package/dist/src/components/Command/command.d.ts +48 -0
- package/dist/src/components/Command/command.demo.d.ts +6 -0
- package/dist/src/components/Command/command.doc.d.ts +3 -0
- package/dist/src/components/Command/index.d.ts +7 -0
- package/dist/src/components/Container/container.css.d.ts +48 -0
- package/dist/src/components/Container/container.d.ts +8 -0
- package/dist/src/components/Container/container.doc.d.ts +1 -0
- package/dist/src/components/Container/index.d.ts +1 -0
- package/dist/src/components/CopyButton/copy-button.css.d.ts +1 -0
- package/dist/src/components/CopyButton/copy-button.d.ts +7 -0
- package/dist/src/components/CopyButton/index.d.ts +2 -0
- package/dist/src/components/DatePicker/date-picker.d.ts +11 -0
- package/dist/src/components/DatePicker/date-picker.doc.d.ts +1 -0
- package/dist/src/components/DatePicker/index.d.ts +1 -0
- package/dist/src/components/Dialog/dialog.css.d.ts +13 -0
- package/dist/src/components/Dialog/dialog.d.ts +32 -0
- package/dist/src/components/Dialog/dialog.demo.d.ts +5 -0
- package/dist/src/components/Dialog/dialog.doc.d.ts +1 -0
- package/dist/src/components/Dialog/index.d.ts +1 -0
- package/dist/src/components/Drawer/drawer.css.d.ts +54 -0
- package/dist/src/components/Drawer/drawer.d.ts +66 -0
- package/dist/src/components/Drawer/drawer.demo.d.ts +5 -0
- package/dist/src/components/Drawer/drawer.doc.d.ts +2 -0
- package/dist/src/components/Drawer/index.d.ts +1 -0
- package/dist/src/components/Field/field.css.d.ts +5 -0
- package/dist/src/components/Field/field.d.ts +25 -0
- package/dist/src/components/Field/field.doc.d.ts +1 -0
- package/dist/src/components/Field/index.d.ts +1 -0
- package/dist/src/components/Grid/grid.css.d.ts +4 -0
- package/dist/src/components/Grid/grid.d.ts +11 -0
- package/dist/src/components/Grid/grid.doc.d.ts +1 -0
- package/dist/src/components/Grid/index.d.ts +1 -0
- package/dist/src/components/Icon/icon.css.d.ts +1 -0
- package/dist/src/components/Icon/icon.d.ts +4 -0
- package/dist/src/components/Icon/icon.demo.d.ts +5 -0
- package/dist/src/components/Icon/index.d.ts +1 -0
- package/dist/src/components/IconButton/icon-button.css.d.ts +1 -0
- package/dist/src/components/IconButton/icon-button.d.ts +4 -0
- package/dist/src/components/IconButton/icon-button.demo.d.ts +5 -0
- package/dist/src/components/IconButton/index.d.ts +2 -0
- package/dist/src/components/Input/index.d.ts +1 -0
- package/dist/src/components/Input/input.css.d.ts +6 -0
- package/dist/src/components/Input/input.d.ts +19 -0
- package/dist/src/components/Input/input.demo.d.ts +5 -0
- package/dist/src/components/Input/input.doc.d.ts +2 -0
- package/dist/src/components/InputGroup/index.d.ts +1 -0
- package/dist/src/components/InputGroup/input-group.css.d.ts +10 -0
- package/dist/src/components/InputGroup/input-group.d.ts +25 -0
- package/dist/src/components/InputGroup/input-group.demo.d.ts +5 -0
- package/dist/src/components/Menu/index.d.ts +1 -0
- package/dist/src/components/Menu/menu.css.d.ts +8 -0
- package/dist/src/components/Menu/menu.d.ts +41 -0
- package/dist/src/components/Menu/menu.demo.d.ts +5 -0
- package/dist/src/components/OTPField/index.d.ts +1 -0
- package/dist/src/components/OTPField/otp-field.css.d.ts +16 -0
- package/dist/src/components/OTPField/otp-field.d.ts +18 -0
- package/dist/src/components/OTPField/otp-field.demo.d.ts +6 -0
- package/dist/src/components/Popover/index.d.ts +1 -0
- package/dist/src/components/Popover/popover.css.d.ts +7 -0
- package/dist/src/components/Popover/popover.d.ts +33 -0
- package/dist/src/components/Popover/popover.demo.d.ts +5 -0
- package/dist/src/components/Progress/index.d.ts +1 -0
- package/dist/src/components/Progress/progress.css.d.ts +5 -0
- package/dist/src/components/Progress/progress.d.ts +13 -0
- package/dist/src/components/Radio/index.d.ts +1 -0
- package/dist/src/components/Radio/radio.css.d.ts +6 -0
- package/dist/src/components/Radio/radio.d.ts +13 -0
- package/dist/src/components/ScrollArea/index.d.ts +1 -0
- package/dist/src/components/ScrollArea/scroll-area.css.d.ts +9 -0
- package/dist/src/components/ScrollArea/scroll-area.d.ts +19 -0
- package/dist/src/components/ScrollArea/scroll-area.doc.d.ts +2 -0
- package/dist/src/components/SegmentedControl/index.d.ts +1 -0
- package/dist/src/components/SegmentedControl/segmented-control.d.ts +14 -0
- package/dist/src/components/SegmentedControl/segmented-control.doc.d.ts +1 -0
- package/dist/src/components/Select/index.d.ts +1 -0
- package/dist/src/components/Select/select.css.d.ts +11 -0
- package/dist/src/components/Select/select.d.ts +54 -0
- package/dist/src/components/Select/select.demo.d.ts +5 -0
- package/dist/src/components/Select/select.doc.d.ts +2 -0
- package/dist/src/components/Separator/index.d.ts +1 -0
- package/dist/src/components/Separator/separator.css.d.ts +22 -0
- package/dist/src/components/Separator/separator.d.ts +13 -0
- package/dist/src/components/Separator/separator.doc.d.ts +4 -0
- package/dist/src/components/Sheet/index.d.ts +1 -0
- package/dist/src/components/Sheet/sheet.css.d.ts +21 -0
- package/dist/src/components/Sheet/sheet.d.ts +35 -0
- package/dist/src/components/Sheet/sheet.demo.d.ts +5 -0
- package/dist/src/components/Slider/index.d.ts +1 -0
- package/dist/src/components/Slider/slider.css.d.ts +11 -0
- package/dist/src/components/Slider/slider.d.ts +11 -0
- package/dist/src/components/Spinner/index.d.ts +1 -0
- package/dist/src/components/Spinner/spinner.css.d.ts +2 -0
- package/dist/src/components/Spinner/spinner.d.ts +8 -0
- package/dist/src/components/Spinner/spinner.demo.d.ts +1 -0
- package/dist/src/components/Splitter/index.d.ts +1 -0
- package/dist/src/components/Splitter/splitter.css.d.ts +11 -0
- package/dist/src/components/Splitter/splitter.d.ts +36 -0
- package/dist/src/components/Stack/index.d.ts +1 -0
- package/dist/src/components/Stack/stack.css.d.ts +82 -0
- package/dist/src/components/Stack/stack.d.ts +11 -0
- package/dist/src/components/Stack/stack.doc.d.ts +3 -0
- package/dist/src/components/Surface/index.d.ts +1 -0
- package/dist/src/components/Surface/surface.css.d.ts +34 -0
- package/dist/src/components/Surface/surface.d.ts +7 -0
- package/dist/src/components/Surface/surface.doc.d.ts +2 -0
- package/dist/src/components/Switch/index.d.ts +1 -0
- package/dist/src/components/Switch/switch.css.d.ts +5 -0
- package/dist/src/components/Switch/switch.d.ts +7 -0
- package/dist/src/components/Switch/switch.demo.d.ts +5 -0
- package/dist/src/components/Switch/switch.doc.d.ts +2 -0
- package/dist/src/components/Table/index.d.ts +2 -0
- package/dist/src/components/Table/table.css.d.ts +10 -0
- package/dist/src/components/Table/table.d.ts +24 -0
- package/dist/src/components/Table/table.demo.d.ts +5 -0
- package/dist/src/components/Tabs/index.d.ts +1 -0
- package/dist/src/components/Tabs/tabs.css.d.ts +27 -0
- package/dist/src/components/Tabs/tabs.d.ts +15 -0
- package/dist/src/components/Tabs/tabs.demo.d.ts +5 -0
- package/dist/src/components/Tabs/tabs.doc.d.ts +3 -0
- package/dist/src/components/Text/index.d.ts +2 -0
- package/dist/src/components/Text/text.css.d.ts +204 -0
- package/dist/src/components/Text/text.d.ts +9 -0
- package/dist/src/components/Text/text.doc.d.ts +4 -0
- package/dist/src/components/Textarea/index.d.ts +1 -0
- package/dist/src/components/Textarea/textarea.css.d.ts +4 -0
- package/dist/src/components/Textarea/textarea.d.ts +7 -0
- package/dist/src/components/Textarea/textarea.doc.d.ts +2 -0
- package/dist/src/components/Toggle/index.d.ts +1 -0
- package/dist/src/components/Toggle/toggle.css.d.ts +68 -0
- package/dist/src/components/Toggle/toggle.d.ts +12 -0
- package/dist/src/components/Toggle/toggle.doc.d.ts +1 -0
- package/dist/src/components/ToggleGroup/index.d.ts +1 -0
- package/dist/src/components/ToggleGroup/toggle-group.css.d.ts +7 -0
- package/dist/src/components/ToggleGroup/toggle-group.d.ts +31 -0
- package/dist/src/components/ToggleGroup/toggle-group.doc.d.ts +3 -0
- package/dist/src/components/index.d.ts +49 -0
- package/dist/src/demos/accordion.demo.d.ts +5 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/utils/heights.d.ts +2 -0
- package/dist/src/utils/sprinkles.css.d.ts +515 -0
- package/dist/src/utils/types.d.ts +8 -0
- package/dist/src/utils/ve-style.utils.d.ts +1 -0
- package/dist/utils/sprinkles.css.js +5350 -0
- package/dist/utils/ve-style.utils.js +21 -0
- package/package.build.json +39 -0
- package/package.json +60 -0
- package/scripts/generate-api.ts +183 -0
- package/scripts/generate-package.ts +99 -0
- package/src/DataTable/data-table-column-toggle.tsx +73 -0
- package/src/DataTable/data-table-empty.tsx +27 -0
- package/src/DataTable/data-table-error.tsx +25 -0
- package/src/DataTable/data-table-infinite-loader.tsx +73 -0
- package/src/DataTable/data-table-loading.tsx +67 -0
- package/src/DataTable/data-table-pagination.tsx +80 -0
- package/src/DataTable/data-table-toolbar.tsx +62 -0
- package/src/DataTable/data-table.css.ts +421 -0
- package/src/DataTable/data-table.tsx +507 -0
- package/src/DataTable/index.ts +24 -0
- package/src/DataTable/registry-meta.json +66 -0
- package/src/DataTable/types.ts +169 -0
- package/src/DataTable/use-infinite-scroll.ts +67 -0
- package/src/components/Accordion/accordion.css.ts +93 -0
- package/src/components/Accordion/accordion.demo.tsx +42 -0
- package/src/components/Accordion/accordion.tsx +87 -0
- package/src/components/Accordion/docs-meta.json +13 -0
- package/src/components/Accordion/index.ts +8 -0
- package/src/components/Accordion/registry-meta.json +19 -0
- package/src/components/Alert/alert.css.ts +29 -0
- package/src/components/Alert/alert.demo.tsx +34 -0
- package/src/components/Alert/alert.tsx +40 -0
- package/src/components/Alert/docs-meta.json +12 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Alert/registry-meta.json +20 -0
- package/src/components/AlertDialog/alert-dialog.css.ts +146 -0
- package/src/components/AlertDialog/alert-dialog.demo.tsx +59 -0
- package/src/components/AlertDialog/alert-dialog.doc.tsx +31 -0
- package/src/components/AlertDialog/alert-dialog.tsx +197 -0
- package/src/components/AlertDialog/docs-meta.json +14 -0
- package/src/components/AlertDialog/index.ts +1 -0
- package/src/components/AlertDialog/registry-meta.json +20 -0
- package/src/components/Autocomplete/autocomplete.css.ts +168 -0
- package/src/components/Autocomplete/autocomplete.tsx +226 -0
- package/src/components/Autocomplete/docs-meta.json +9 -0
- package/src/components/Autocomplete/index.ts +1 -0
- package/src/components/Autocomplete/registry-meta.json +20 -0
- package/src/components/Avatar/avatar.css.ts +72 -0
- package/src/components/Avatar/avatar.doc.tsx +32 -0
- package/src/components/Avatar/avatar.tsx +49 -0
- package/src/components/Avatar/docs-meta.json +9 -0
- package/src/components/Avatar/index.ts +1 -0
- package/src/components/Avatar/registry-meta.json +19 -0
- package/src/components/Badge/badge.css.ts +40 -0
- package/src/components/Badge/badge.demo.tsx +18 -0
- package/src/components/Badge/badge.doc.tsx +12 -0
- package/src/components/Badge/badge.tsx +13 -0
- package/src/components/Badge/docs-meta.json +9 -0
- package/src/components/Badge/index.ts +1 -0
- package/src/components/Badge/registry-meta.json +19 -0
- package/src/components/Box/box.css.ts +7 -0
- package/src/components/Box/box.doc.tsx +19 -0
- package/src/components/Box/box.tsx +21 -0
- package/src/components/Box/docs-meta.json +9 -0
- package/src/components/Box/index.ts +1 -0
- package/src/components/Box/registry-meta.json +14 -0
- package/src/components/Breadcrumbs/breadcrumbs.css.ts +72 -0
- package/src/components/Breadcrumbs/breadcrumbs.doc.tsx +61 -0
- package/src/components/Breadcrumbs/breadcrumbs.tsx +79 -0
- package/src/components/Breadcrumbs/docs-meta.json +12 -0
- package/src/components/Breadcrumbs/index.ts +9 -0
- package/src/components/Breadcrumbs/registry-meta.json +19 -0
- package/src/components/Button/button.css.ts +209 -0
- package/src/components/Button/button.demo.tsx +119 -0
- package/src/components/Button/button.tsx +55 -0
- package/src/components/Button/docs-meta.json +13 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/registry-meta.json +20 -0
- package/src/components/Calendar/calendar.css.ts +188 -0
- package/src/components/Calendar/calendar.doc.tsx +10 -0
- package/src/components/Calendar/calendar.tsx +143 -0
- package/src/components/Calendar/docs-meta.json +9 -0
- package/src/components/Calendar/index.ts +1 -0
- package/src/components/Calendar/registry-meta.json +20 -0
- package/src/components/Card/card.demo.tsx +177 -0
- package/src/components/Card/card.doc.tsx +47 -0
- package/src/components/Card/card.tsx +32 -0
- package/src/components/Card/docs-meta.json +9 -0
- package/src/components/Card/index.ts +1 -0
- package/src/components/Card/registry-meta.json +15 -0
- package/src/components/Checkbox/checkbox.css.ts +77 -0
- package/src/components/Checkbox/checkbox.tsx +94 -0
- package/src/components/Checkbox/docs-meta.json +13 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Checkbox/registry-meta.json +19 -0
- package/src/components/CloseButton/close-button.css.ts +11 -0
- package/src/components/CloseButton/close-button.tsx +15 -0
- package/src/components/CloseButton/index.ts +2 -0
- package/src/components/CloseButton/registry-meta.json +15 -0
- package/src/components/ColorPicker/color-picker.doc.tsx +12 -0
- package/src/components/ColorPicker/color-picker.tsx +123 -0
- package/src/components/ColorPicker/docs-meta.json +9 -0
- package/src/components/ColorPicker/index.ts +1 -0
- package/src/components/ColorPicker/registry-meta.json +15 -0
- package/src/components/ColorSwatch/color-swatch.doc.tsx +25 -0
- package/src/components/ColorSwatch/color-swatch.tsx +21 -0
- package/src/components/ColorSwatch/docs-meta.json +9 -0
- package/src/components/ColorSwatch/index.ts +1 -0
- package/src/components/ColorSwatch/registry-meta.json +20 -0
- package/src/components/Combobox/combobox.css.ts +334 -0
- package/src/components/Combobox/combobox.tsx +350 -0
- package/src/components/Combobox/docs-meta.json +9 -0
- package/src/components/Combobox/index.ts +1 -0
- package/src/components/Combobox/registry-meta.json +20 -0
- package/src/components/Command/command.css.ts +131 -0
- package/src/components/Command/command.demo.tsx +110 -0
- package/src/components/Command/command.doc.tsx +100 -0
- package/src/components/Command/command.tsx +413 -0
- package/src/components/Command/docs-meta.json +21 -0
- package/src/components/Command/index.ts +7 -0
- package/src/components/Command/registry-meta.json +20 -0
- package/src/components/Container/container.css.ts +40 -0
- package/src/components/Container/container.doc.tsx +28 -0
- package/src/components/Container/container.tsx +24 -0
- package/src/components/Container/docs-meta.json +9 -0
- package/src/components/Container/index.ts +1 -0
- package/src/components/Container/registry-meta.json +20 -0
- package/src/components/CopyButton/copy-button.css.ts +11 -0
- package/src/components/CopyButton/copy-button.tsx +45 -0
- package/src/components/CopyButton/index.ts +2 -0
- package/src/components/CopyButton/registry-meta.json +15 -0
- package/src/components/DatePicker/date-picker.doc.tsx +12 -0
- package/src/components/DatePicker/date-picker.tsx +75 -0
- package/src/components/DatePicker/docs-meta.json +9 -0
- package/src/components/DatePicker/index.ts +1 -0
- package/src/components/DatePicker/registry-meta.json +15 -0
- package/src/components/Dialog/dialog.css.ts +155 -0
- package/src/components/Dialog/dialog.demo.tsx +39 -0
- package/src/components/Dialog/dialog.doc.tsx +33 -0
- package/src/components/Dialog/dialog.tsx +186 -0
- package/src/components/Dialog/docs-meta.json +13 -0
- package/src/components/Dialog/index.ts +1 -0
- package/src/components/Dialog/registry-meta.json +20 -0
- package/src/components/Drawer/docs-meta.json +9 -0
- package/src/components/Drawer/drawer.css.ts +412 -0
- package/src/components/Drawer/drawer.demo.tsx +58 -0
- package/src/components/Drawer/drawer.doc.tsx +49 -0
- package/src/components/Drawer/drawer.tsx +574 -0
- package/src/components/Drawer/index.ts +1 -0
- package/src/components/Drawer/registry-meta.json +20 -0
- package/src/components/Field/docs-meta.json +9 -0
- package/src/components/Field/field.css.ts +35 -0
- package/src/components/Field/field.doc.tsx +19 -0
- package/src/components/Field/field.tsx +101 -0
- package/src/components/Field/index.ts +1 -0
- package/src/components/Field/registry-meta.json +20 -0
- package/src/components/Grid/docs-meta.json +9 -0
- package/src/components/Grid/grid.css.ts +12 -0
- package/src/components/Grid/grid.doc.tsx +148 -0
- package/src/components/Grid/grid.tsx +57 -0
- package/src/components/Grid/index.ts +1 -0
- package/src/components/Grid/registry-meta.json +20 -0
- package/src/components/Icon/docs-meta.json +13 -0
- package/src/components/Icon/icon.css.ts +10 -0
- package/src/components/Icon/icon.demo.tsx +97 -0
- package/src/components/Icon/icon.tsx +15 -0
- package/src/components/Icon/index.ts +1 -0
- package/src/components/Icon/registry-meta.json +20 -0
- package/src/components/IconButton/docs-meta.json +13 -0
- package/src/components/IconButton/icon-button.css.ts +6 -0
- package/src/components/IconButton/icon-button.demo.tsx +102 -0
- package/src/components/IconButton/icon-button.tsx +11 -0
- package/src/components/IconButton/index.ts +2 -0
- package/src/components/IconButton/registry-meta.json +15 -0
- package/src/components/Input/docs-meta.json +9 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/Input/input.css.ts +73 -0
- package/src/components/Input/input.demo.tsx +24 -0
- package/src/components/Input/input.doc.tsx +25 -0
- package/src/components/Input/input.tsx +50 -0
- package/src/components/Input/registry-meta.json +19 -0
- package/src/components/InputGroup/docs-meta.json +9 -0
- package/src/components/InputGroup/index.ts +1 -0
- package/src/components/InputGroup/input-group.css.ts +157 -0
- package/src/components/InputGroup/input-group.demo.tsx +53 -0
- package/src/components/InputGroup/input-group.tsx +133 -0
- package/src/components/InputGroup/registry-meta.json +19 -0
- package/src/components/Menu/docs-meta.json +13 -0
- package/src/components/Menu/index.ts +1 -0
- package/src/components/Menu/menu.css.ts +128 -0
- package/src/components/Menu/menu.demo.tsx +40 -0
- package/src/components/Menu/menu.tsx +115 -0
- package/src/components/Menu/registry-meta.json +19 -0
- package/src/components/OTPField/docs-meta.json +9 -0
- package/src/components/OTPField/index.ts +1 -0
- package/src/components/OTPField/otp-field.css.ts +55 -0
- package/src/components/OTPField/otp-field.demo.tsx +57 -0
- package/src/components/OTPField/otp-field.tsx +46 -0
- package/src/components/OTPField/registry-meta.json +19 -0
- package/src/components/Popover/docs-meta.json +13 -0
- package/src/components/Popover/index.ts +1 -0
- package/src/components/Popover/popover.css.ts +82 -0
- package/src/components/Popover/popover.demo.tsx +34 -0
- package/src/components/Popover/popover.tsx +113 -0
- package/src/components/Popover/registry-meta.json +19 -0
- package/src/components/Progress/docs-meta.json +12 -0
- package/src/components/Progress/index.ts +7 -0
- package/src/components/Progress/progress.css.ts +38 -0
- package/src/components/Progress/progress.tsx +62 -0
- package/src/components/Progress/registry-meta.json +19 -0
- package/src/components/Radio/docs-meta.json +13 -0
- package/src/components/Radio/index.ts +1 -0
- package/src/components/Radio/radio.css.ts +73 -0
- package/src/components/Radio/radio.tsx +49 -0
- package/src/components/Radio/registry-meta.json +19 -0
- package/src/components/ScrollArea/docs-meta.json +9 -0
- package/src/components/ScrollArea/index.ts +1 -0
- package/src/components/ScrollArea/registry-meta.json +19 -0
- package/src/components/ScrollArea/scroll-area.css.ts +80 -0
- package/src/components/ScrollArea/scroll-area.doc.tsx +44 -0
- package/src/components/ScrollArea/scroll-area.tsx +96 -0
- package/src/components/SegmentedControl/docs-meta.json +9 -0
- package/src/components/SegmentedControl/index.ts +1 -0
- package/src/components/SegmentedControl/registry-meta.json +15 -0
- package/src/components/SegmentedControl/segmented-control.doc.tsx +28 -0
- package/src/components/SegmentedControl/segmented-control.tsx +42 -0
- package/src/components/Select/docs-meta.json +13 -0
- package/src/components/Select/index.ts +1 -0
- package/src/components/Select/registry-meta.json +20 -0
- package/src/components/Select/select.css.ts +183 -0
- package/src/components/Select/select.demo.tsx +35 -0
- package/src/components/Select/select.doc.tsx +65 -0
- package/src/components/Select/select.tsx +165 -0
- package/src/components/Separator/docs-meta.json +12 -0
- package/src/components/Separator/index.ts +1 -0
- package/src/components/Separator/registry-meta.json +20 -0
- package/src/components/Separator/separator.css.ts +60 -0
- package/src/components/Separator/separator.doc.tsx +44 -0
- package/src/components/Separator/separator.tsx +34 -0
- package/src/components/Sheet/docs-meta.json +13 -0
- package/src/components/Sheet/index.ts +1 -0
- package/src/components/Sheet/registry-meta.json +20 -0
- package/src/components/Sheet/sheet.css.ts +192 -0
- package/src/components/Sheet/sheet.demo.tsx +53 -0
- package/src/components/Sheet/sheet.tsx +213 -0
- package/src/components/Slider/docs-meta.json +13 -0
- package/src/components/Slider/index.ts +1 -0
- package/src/components/Slider/registry-meta.json +19 -0
- package/src/components/Slider/slider.css.ts +82 -0
- package/src/components/Slider/slider.tsx +100 -0
- package/src/components/Spinner/docs-meta.json +12 -0
- package/src/components/Spinner/index.ts +1 -0
- package/src/components/Spinner/registry-meta.json +19 -0
- package/src/components/Spinner/spinner.css.ts +17 -0
- package/src/components/Spinner/spinner.demo.tsx +13 -0
- package/src/components/Spinner/spinner.tsx +15 -0
- package/src/components/Splitter/docs-meta.json +9 -0
- package/src/components/Splitter/index.ts +1 -0
- package/src/components/Splitter/registry-meta.json +19 -0
- package/src/components/Splitter/splitter.css.ts +70 -0
- package/src/components/Splitter/splitter.tsx +521 -0
- package/src/components/Stack/docs-meta.json +9 -0
- package/src/components/Stack/index.ts +1 -0
- package/src/components/Stack/registry-meta.json +20 -0
- package/src/components/Stack/stack.css.ts +42 -0
- package/src/components/Stack/stack.doc.tsx +57 -0
- package/src/components/Stack/stack.tsx +32 -0
- package/src/components/Surface/docs-meta.json +9 -0
- package/src/components/Surface/index.ts +1 -0
- package/src/components/Surface/registry-meta.json +20 -0
- package/src/components/Surface/surface.css.ts +40 -0
- package/src/components/Surface/surface.doc.tsx +32 -0
- package/src/components/Surface/surface.tsx +19 -0
- package/src/components/Switch/docs-meta.json +13 -0
- package/src/components/Switch/index.ts +1 -0
- package/src/components/Switch/registry-meta.json +20 -0
- package/src/components/Switch/switch.css.ts +47 -0
- package/src/components/Switch/switch.demo.tsx +26 -0
- package/src/components/Switch/switch.doc.tsx +25 -0
- package/src/components/Switch/switch.tsx +25 -0
- package/src/components/Table/docs-meta.json +12 -0
- package/src/components/Table/index.ts +2 -0
- package/src/components/Table/registry-meta.json +19 -0
- package/src/components/Table/table.css.ts +72 -0
- package/src/components/Table/table.demo.tsx +58 -0
- package/src/components/Table/table.tsx +116 -0
- package/src/components/Tabs/docs-meta.json +13 -0
- package/src/components/Tabs/index.ts +1 -0
- package/src/components/Tabs/registry-meta.json +19 -0
- package/src/components/Tabs/tabs.css.ts +259 -0
- package/src/components/Tabs/tabs.demo.tsx +33 -0
- package/src/components/Tabs/tabs.doc.tsx +62 -0
- package/src/components/Tabs/tabs.tsx +119 -0
- package/src/components/Text/docs-meta.json +9 -0
- package/src/components/Text/index.ts +2 -0
- package/src/components/Text/registry-meta.json +19 -0
- package/src/components/Text/text.css.ts +167 -0
- package/src/components/Text/text.doc.tsx +53 -0
- package/src/components/Text/text.tsx +64 -0
- package/src/components/Textarea/docs-meta.json +9 -0
- package/src/components/Textarea/index.ts +1 -0
- package/src/components/Textarea/registry-meta.json +19 -0
- package/src/components/Textarea/textarea.css.ts +66 -0
- package/src/components/Textarea/textarea.doc.tsx +23 -0
- package/src/components/Textarea/textarea.tsx +48 -0
- package/src/components/Toggle/docs-meta.json +12 -0
- package/src/components/Toggle/index.ts +1 -0
- package/src/components/Toggle/registry-meta.json +19 -0
- package/src/components/Toggle/toggle.css.ts +101 -0
- package/src/components/Toggle/toggle.doc.tsx +24 -0
- package/src/components/Toggle/toggle.tsx +60 -0
- package/src/components/ToggleGroup/docs-meta.json +9 -0
- package/src/components/ToggleGroup/index.ts +1 -0
- package/src/components/ToggleGroup/registry-meta.json +20 -0
- package/src/components/ToggleGroup/toggle-group.css.ts +77 -0
- package/src/components/ToggleGroup/toggle-group.doc.tsx +38 -0
- package/src/components/ToggleGroup/toggle-group.tsx +131 -0
- package/src/components/index.ts +53 -0
- package/src/demos/accordion.demo.tsx +41 -0
- package/src/index.ts +3 -0
- package/src/utils/heights.ts +16 -0
- package/src/utils/sprinkles.css.ts +251 -0
- package/src/utils/types.ts +20 -0
- package/src/utils/ve-style.utils.ts +24 -0
- package/tsconfig.build.json +14 -0
- package/tsconfig.json +10 -0
- package/vite.config.ts +47 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const inputGroup: string;
|
|
2
|
+
export declare const inputSize: string;
|
|
3
|
+
export declare const inputSizeSm: string;
|
|
4
|
+
export declare const inputSizeDefault: string;
|
|
5
|
+
export declare const inputSizeLg: string;
|
|
6
|
+
export declare const startAddon: string;
|
|
7
|
+
export declare const startAddonDefault: string;
|
|
8
|
+
export declare const startAddonSmall: string;
|
|
9
|
+
export declare const adornment: string;
|
|
10
|
+
export declare const adornmentSmall: string;
|
|
11
|
+
export declare const adornmentDefault: string;
|
|
12
|
+
export declare const adornmentEndSmall: string;
|
|
13
|
+
export declare const adornmentEndDefault: string;
|
|
14
|
+
export declare const positioner: string;
|
|
15
|
+
export declare const popupShell: string;
|
|
16
|
+
export declare const popup: string;
|
|
17
|
+
export declare const group: string;
|
|
18
|
+
export declare const separator: string;
|
|
19
|
+
export declare const groupLabel: string;
|
|
20
|
+
export declare const empty: string;
|
|
21
|
+
export declare const list: string;
|
|
22
|
+
export declare const status: string;
|
|
23
|
+
export declare const item: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
declare const Autocomplete: typeof AutocompletePrimitive.Root;
|
|
4
|
+
export declare function AutocompleteItem(props: AutocompletePrimitive.Item.Props): React.ReactElement;
|
|
5
|
+
export declare function AutocompleteSeparator(props: AutocompletePrimitive.Separator.Props): React.ReactElement;
|
|
6
|
+
export declare function AutocompleteGroup(props: AutocompletePrimitive.Group.Props): React.ReactElement;
|
|
7
|
+
declare function AutocompleteInput({ showTrigger, showClear, startAddon: startAddonNode, size, triggerProps, clearProps, render: renderProp, className, ...props }: Omit<AutocompletePrimitive.Input.Props, "size"> & {
|
|
8
|
+
showTrigger?: boolean;
|
|
9
|
+
showClear?: boolean;
|
|
10
|
+
startAddon?: React.ReactNode;
|
|
11
|
+
size?: "sm" | "default" | "lg";
|
|
12
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
13
|
+
triggerProps?: AutocompletePrimitive.Trigger.Props;
|
|
14
|
+
clearProps?: AutocompletePrimitive.Clear.Props;
|
|
15
|
+
}): React.ReactElement;
|
|
16
|
+
export declare function AutocompletePopup({ className, children, side, sideOffset, alignOffset, align, anchor, portalProps, ...props }: AutocompletePrimitive.Popup.Props & {
|
|
17
|
+
align?: AutocompletePrimitive.Positioner.Props["align"];
|
|
18
|
+
sideOffset?: AutocompletePrimitive.Positioner.Props["sideOffset"];
|
|
19
|
+
alignOffset?: AutocompletePrimitive.Positioner.Props["alignOffset"];
|
|
20
|
+
side?: AutocompletePrimitive.Positioner.Props["side"];
|
|
21
|
+
anchor?: AutocompletePrimitive.Positioner.Props["anchor"];
|
|
22
|
+
portalProps?: AutocompletePrimitive.Portal.Props;
|
|
23
|
+
}): React.ReactElement;
|
|
24
|
+
export declare function AutocompleteGroupLabel(props: AutocompletePrimitive.GroupLabel.Props): React.ReactElement;
|
|
25
|
+
export declare function AutocompleteEmpty(props: AutocompletePrimitive.Empty.Props): React.ReactElement;
|
|
26
|
+
export declare function AutocompleteRow(props: AutocompletePrimitive.Row.Props): React.ReactElement;
|
|
27
|
+
export declare function AutocompleteValue(props: AutocompletePrimitive.Value.Props): React.ReactElement;
|
|
28
|
+
export declare function AutocompleteList(props: AutocompletePrimitive.List.Props): React.ReactElement;
|
|
29
|
+
export declare function AutocompleteClear(props: AutocompletePrimitive.Clear.Props): React.ReactElement;
|
|
30
|
+
export declare function AutocompleteStatus(props: AutocompletePrimitive.Status.Props): React.ReactElement;
|
|
31
|
+
export declare function AutocompleteCollection(props: AutocompletePrimitive.Collection.Props): React.ReactElement;
|
|
32
|
+
export declare function AutocompleteTrigger(props: AutocompletePrimitive.Trigger.Props): React.ReactElement;
|
|
33
|
+
export declare const useAutocompleteFilter: typeof AutocompletePrimitive.useFilter;
|
|
34
|
+
export { Autocomplete, AutocompleteInput };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './autocomplete';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const image: string;
|
|
3
|
+
export declare const fallback: string;
|
|
4
|
+
export declare const size: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
5
|
+
size: {
|
|
6
|
+
small: {
|
|
7
|
+
width: "24px";
|
|
8
|
+
height: "24px";
|
|
9
|
+
};
|
|
10
|
+
medium: {
|
|
11
|
+
width: "32px";
|
|
12
|
+
height: "32px";
|
|
13
|
+
};
|
|
14
|
+
large: {
|
|
15
|
+
width: "48px";
|
|
16
|
+
height: "48px";
|
|
17
|
+
};
|
|
18
|
+
xlarge: {
|
|
19
|
+
width: "64px";
|
|
20
|
+
height: "64px";
|
|
21
|
+
};
|
|
22
|
+
hero: {
|
|
23
|
+
width: "192px";
|
|
24
|
+
height: "192px";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
}>;
|
|
28
|
+
export declare const radius: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
29
|
+
radius: {
|
|
30
|
+
none: {
|
|
31
|
+
borderRadius: number;
|
|
32
|
+
};
|
|
33
|
+
xsmall: {
|
|
34
|
+
borderRadius: "2px";
|
|
35
|
+
};
|
|
36
|
+
small: {
|
|
37
|
+
borderRadius: "4px";
|
|
38
|
+
};
|
|
39
|
+
medium: {
|
|
40
|
+
borderRadius: "8px";
|
|
41
|
+
};
|
|
42
|
+
large: {
|
|
43
|
+
borderRadius: "12px";
|
|
44
|
+
};
|
|
45
|
+
xlarge: {
|
|
46
|
+
borderRadius: "16px";
|
|
47
|
+
};
|
|
48
|
+
xxlarge: {
|
|
49
|
+
borderRadius: "24px";
|
|
50
|
+
};
|
|
51
|
+
full: {
|
|
52
|
+
borderRadius: "999px";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Avatar as AvatarPrimitive, AvatarRootProps } from '@base-ui/react/avatar';
|
|
2
|
+
interface AvatarProps extends AvatarRootProps {
|
|
3
|
+
size?: "small" | "medium" | "large" | "xlarge" | "hero";
|
|
4
|
+
radius?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge" | "full";
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
type AvatarImageProps = AvatarPrimitive.Image.Props & {
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
};
|
|
12
|
+
type AvatarFallbackProps = AvatarPrimitive.Fallback.Props & {
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
};
|
|
16
|
+
declare function Avatar({ children, size, radius: r, className, style }: AvatarProps): import("react").JSX.Element;
|
|
17
|
+
declare function AvatarImage({ className, style, ...props }: AvatarImageProps): import("react").JSX.Element;
|
|
18
|
+
declare function AvatarFallback({ className, style, ...props }: AvatarFallbackProps): import("react").JSX.Element;
|
|
19
|
+
export type { AvatarFallbackProps, AvatarImageProps, AvatarProps };
|
|
20
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './avatar';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const badgeRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
backgroundColor: `var(--${string})`;
|
|
5
|
+
color: `var(--${string})`;
|
|
6
|
+
};
|
|
7
|
+
primary: {
|
|
8
|
+
backgroundColor: `var(--${string})`;
|
|
9
|
+
color: `var(--${string})`;
|
|
10
|
+
};
|
|
11
|
+
secondary: {
|
|
12
|
+
backgroundColor: `var(--${string})`;
|
|
13
|
+
color: `var(--${string})`;
|
|
14
|
+
};
|
|
15
|
+
danger: {
|
|
16
|
+
backgroundColor: `var(--${string})`;
|
|
17
|
+
color: `var(--${string})`;
|
|
18
|
+
};
|
|
19
|
+
sucess: {
|
|
20
|
+
backgroundColor: `var(--${string})`;
|
|
21
|
+
color: `var(--${string})`;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/box';
|
|
2
|
+
type Variant = "default" | "primary" | "secondary" | "danger" | "sucess";
|
|
3
|
+
type Props = BoxProps & {
|
|
4
|
+
variant?: Variant;
|
|
5
|
+
};
|
|
6
|
+
export declare function Badge({ variant, className, style, ...props }: Props): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function VariantsStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './badge';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const baseBox: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { BaseSprinkles } from '../../utils/sprinkles.css';
|
|
3
|
+
type BoxProps = useRender.ComponentProps<"div"> & BaseSprinkles;
|
|
4
|
+
declare function Box({ render, className, ...props }: BoxProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
5
|
+
export type { BoxProps };
|
|
6
|
+
export { Box };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DefaultStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './box';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const list: string;
|
|
3
|
+
export declare const item: string;
|
|
4
|
+
export declare const link: string;
|
|
5
|
+
export declare const page: string;
|
|
6
|
+
export declare const separator: string;
|
|
7
|
+
export declare const ellipsis: string;
|
|
8
|
+
export declare const srOnly: string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react';
|
|
2
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
type NavProps = useRender.ComponentProps<"nav"> & {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
export declare function Breadcrumb({ className, style, render, ...props }: NavProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
8
|
+
type OlProps = ComponentPropsWithoutRef<"ol"> & {
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
};
|
|
12
|
+
export declare function BreadcrumbList({ className, style, ...props }: OlProps): import("react").JSX.Element;
|
|
13
|
+
type LiProps = ComponentPropsWithoutRef<"li"> & {
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
};
|
|
17
|
+
export declare function BreadcrumbItem({ className, style, ...props }: LiProps): import("react").JSX.Element;
|
|
18
|
+
type LinkProps = useRender.ComponentProps<"a"> & {
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export declare function BreadcrumbLink({ className, style, render, ...props }: LinkProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
23
|
+
type SpanProps = ComponentPropsWithoutRef<"span"> & {
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
};
|
|
27
|
+
export declare function BreadcrumbPage({ className, style, ...props }: SpanProps): import("react").JSX.Element;
|
|
28
|
+
export declare function BreadcrumbSeparator({ children, className, style, ...props }: LiProps): import("react").JSX.Element;
|
|
29
|
+
export declare function BreadcrumbEllipsis({ className, style, ...props }: SpanProps): import("react").JSX.Element;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './breadcrumbs';
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export declare const intentVars: {
|
|
2
|
+
solidBg: `var(--${string})`;
|
|
3
|
+
solidFg: `var(--${string})`;
|
|
4
|
+
solidHoverBg: `var(--${string})`;
|
|
5
|
+
softBg: `var(--${string})`;
|
|
6
|
+
softFg: `var(--${string})`;
|
|
7
|
+
softHoverBg: `var(--${string})`;
|
|
8
|
+
border: `var(--${string})`;
|
|
9
|
+
borderHover: `var(--${string})`;
|
|
10
|
+
fg: `var(--${string})`;
|
|
11
|
+
};
|
|
12
|
+
export declare const variant: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
13
|
+
intent: {
|
|
14
|
+
primary: {
|
|
15
|
+
vars: {
|
|
16
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
17
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
18
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
19
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
20
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
21
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
22
|
+
[intentVars.border]: `var(--${string})`;
|
|
23
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
24
|
+
[intentVars.fg]: `var(--${string})`;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
neutral: {
|
|
28
|
+
vars: {
|
|
29
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
30
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
31
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
32
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
33
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
34
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
35
|
+
[intentVars.border]: `var(--${string})`;
|
|
36
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
37
|
+
[intentVars.fg]: `var(--${string})`;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
success: {
|
|
41
|
+
vars: {
|
|
42
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
43
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
44
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
45
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
46
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
47
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
48
|
+
[intentVars.border]: `var(--${string})`;
|
|
49
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
50
|
+
[intentVars.fg]: `var(--${string})`;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
warning: {
|
|
54
|
+
vars: {
|
|
55
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
56
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
57
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
58
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
59
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
60
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
61
|
+
[intentVars.border]: `var(--${string})`;
|
|
62
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
63
|
+
[intentVars.fg]: `var(--${string})`;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
danger: {
|
|
67
|
+
vars: {
|
|
68
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
69
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
70
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
71
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
72
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
73
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
74
|
+
[intentVars.border]: `var(--${string})`;
|
|
75
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
76
|
+
[intentVars.fg]: `var(--${string})`;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
info: {
|
|
80
|
+
vars: {
|
|
81
|
+
[intentVars.solidBg]: `var(--${string})`;
|
|
82
|
+
[intentVars.solidFg]: `var(--${string})`;
|
|
83
|
+
[intentVars.solidHoverBg]: `var(--${string})`;
|
|
84
|
+
[intentVars.softBg]: `var(--${string})`;
|
|
85
|
+
[intentVars.softFg]: `var(--${string})`;
|
|
86
|
+
[intentVars.softHoverBg]: `var(--${string})`;
|
|
87
|
+
[intentVars.border]: `var(--${string})`;
|
|
88
|
+
[intentVars.borderHover]: `var(--${string})`;
|
|
89
|
+
[intentVars.fg]: `var(--${string})`;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
mono: {
|
|
93
|
+
vars: {
|
|
94
|
+
[intentVars.solidBg]: string;
|
|
95
|
+
[intentVars.solidFg]: string;
|
|
96
|
+
[intentVars.solidHoverBg]: string;
|
|
97
|
+
[intentVars.softBg]: string;
|
|
98
|
+
[intentVars.softFg]: string;
|
|
99
|
+
[intentVars.softHoverBg]: string;
|
|
100
|
+
[intentVars.border]: string;
|
|
101
|
+
[intentVars.borderHover]: string;
|
|
102
|
+
[intentVars.fg]: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
size: {
|
|
107
|
+
xsmall: {
|
|
108
|
+
padding: "4px 8px";
|
|
109
|
+
fontSize: "14px";
|
|
110
|
+
};
|
|
111
|
+
small: {
|
|
112
|
+
padding: "8px 12px";
|
|
113
|
+
fontSize: "14px";
|
|
114
|
+
};
|
|
115
|
+
icon: {
|
|
116
|
+
padding: "8px 8px";
|
|
117
|
+
};
|
|
118
|
+
medium: {
|
|
119
|
+
padding: "12px 16px";
|
|
120
|
+
};
|
|
121
|
+
large: {
|
|
122
|
+
padding: "16px 24px";
|
|
123
|
+
fontSize: "18px";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
variant: {
|
|
127
|
+
solid: {
|
|
128
|
+
backgroundColor: `var(--${string})`;
|
|
129
|
+
borderColor: `var(--${string})`;
|
|
130
|
+
color: `var(--${string})`;
|
|
131
|
+
selectors: {
|
|
132
|
+
"&:hover:not(:disabled)": {
|
|
133
|
+
backgroundColor: `var(--${string})`;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
soft: {
|
|
138
|
+
backgroundColor: `color-mix(in srgb, var(--${string}) 30%, transparent)`;
|
|
139
|
+
color: `var(--${string})`;
|
|
140
|
+
borderColor: "transparent";
|
|
141
|
+
selectors: {
|
|
142
|
+
"&:hover:not(:disabled)": {
|
|
143
|
+
backgroundColor: `color-mix(in srgb, var(--${string}) 20%, transparent)`;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
outline: {
|
|
148
|
+
backgroundColor: "transparent";
|
|
149
|
+
borderColor: `var(--${string})`;
|
|
150
|
+
color: `var(--${string})`;
|
|
151
|
+
selectors: {
|
|
152
|
+
"&:hover:not(:disabled)": {
|
|
153
|
+
backgroundColor: `color-mix(in srgb, var(--${string}) 10%, transparent)`;
|
|
154
|
+
borderColor: `var(--${string})`;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
ghost: {
|
|
159
|
+
backgroundColor: "transparent";
|
|
160
|
+
borderColor: "transparent";
|
|
161
|
+
color: `var(--${string})`;
|
|
162
|
+
selectors: {
|
|
163
|
+
"&:hover:not(:disabled)": {
|
|
164
|
+
backgroundColor: `color-mix(in srgb, var(--${string}) 12%, transparent)`;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
link: {
|
|
169
|
+
backgroundColor: "transparent";
|
|
170
|
+
borderColor: "transparent";
|
|
171
|
+
color: `var(--${string})`;
|
|
172
|
+
selectors: {
|
|
173
|
+
"&:hover:not(:disabled)": {
|
|
174
|
+
textDecoration: "underline";
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Button as ButtonPrimitive } from '@base-ui/react/button';
|
|
2
|
+
import { variant as variantRecipe } from './button.css';
|
|
3
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
4
|
+
import { BaseSprinkles } from '../../utils/sprinkles.css';
|
|
5
|
+
type ButtonVariants = RecipeVariants<typeof variantRecipe>;
|
|
6
|
+
type ButtonProps = ButtonPrimitive.Props & BaseSprinkles & ButtonVariants & {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function Button({ children, variant, intent, size, disabled: disabledProp, loading, className, ...props }: ButtonProps): import("react").JSX.Element;
|
|
12
|
+
export { Button };
|
|
13
|
+
export type { ButtonProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './button';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const months: string;
|
|
3
|
+
export declare const monthCaption: string;
|
|
4
|
+
export declare const captionLabel: string;
|
|
5
|
+
export declare const nav: string;
|
|
6
|
+
export declare const buttonNav: string;
|
|
7
|
+
export declare const monthGrid: string;
|
|
8
|
+
export declare const weekday: string;
|
|
9
|
+
export declare const day: string;
|
|
10
|
+
export declare const dayButton: string;
|
|
11
|
+
export declare const dayButtonSelected: string;
|
|
12
|
+
export declare const dayButtonToday: string;
|
|
13
|
+
export declare const dayButtonDisabled: string;
|
|
14
|
+
export declare const dayButtonOutside: string;
|
|
15
|
+
export declare const footer: string;
|
|
16
|
+
export declare const dropdowns: string;
|
|
17
|
+
export declare const dropdown: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DefaultStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calendar';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SurfaceProps } from '../Surface/surface';
|
|
2
|
+
import { HStackProps } from '../Stack/stack';
|
|
3
|
+
import { BoxProps } from '../Box/box';
|
|
4
|
+
import { TextProps } from '../Text';
|
|
5
|
+
declare function Card(props: SurfaceProps): import("react").JSX.Element;
|
|
6
|
+
declare function CardHeader(props: BoxProps): import("react").JSX.Element;
|
|
7
|
+
declare function CardBody(props: BoxProps): import("react").JSX.Element;
|
|
8
|
+
declare function CardFooter(props: HStackProps): import("react").JSX.Element;
|
|
9
|
+
declare function CardTitle(props: TextProps): import("react").JSX.Element;
|
|
10
|
+
declare function CardDescription(props: TextProps): import("react").JSX.Element;
|
|
11
|
+
export type { SurfaceProps as CardProps, TextProps as CardTitleProps };
|
|
12
|
+
export { Card, CardDescription, CardTitle, CardFooter, CardBody, CardHeader };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function CardDemo(): import("react").JSX.Element;
|
|
2
|
+
export declare function ProfileCardDemo(): import("react").JSX.Element;
|
|
3
|
+
export declare function ProductCardDemo(): import("react").JSX.Element;
|
|
4
|
+
export declare function StatCardDemo(): import("react").JSX.Element;
|
|
5
|
+
export declare const demos: {
|
|
6
|
+
name: string;
|
|
7
|
+
component: typeof CardDemo;
|
|
8
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './card';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const rootDisabled: string;
|
|
3
|
+
export declare const group: string;
|
|
4
|
+
export declare const indicator: string;
|
|
5
|
+
export declare const indicatorChecked: string;
|
|
6
|
+
export declare const indicatorIndeterminate: string;
|
|
7
|
+
export declare const icon: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';
|
|
2
|
+
import { CheckboxGroup as CheckboxGroupPrimitive } from '@base-ui/react/checkbox-group';
|
|
3
|
+
type CheckboxGroupProps = CheckboxGroupPrimitive.Props & {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
type CheckboxProps = Omit<CheckboxPrimitive.Root.Props, "style" | "className"> & {
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
};
|
|
11
|
+
export declare function CheckboxGroup({ className, style, ...props }: CheckboxGroupProps): import("react").JSX.Element;
|
|
12
|
+
declare function Checkbox({ className, style, ...props }: CheckboxProps): import("react").JSX.Element;
|
|
13
|
+
export { Checkbox };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Checkbox, CheckboxGroup } from './checkbox';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const icon: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function DefaultStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color-picker';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './color-swatch';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const inputGroup: string;
|
|
2
|
+
export declare const inputSm: string;
|
|
3
|
+
export declare const inputDefault: string;
|
|
4
|
+
export declare const inputLg: string;
|
|
5
|
+
export declare const startAddon: string;
|
|
6
|
+
export declare const startAddonSm: string;
|
|
7
|
+
export declare const startAddonDefault: string;
|
|
8
|
+
export declare const adornment: string;
|
|
9
|
+
export declare const adornmentSm: string;
|
|
10
|
+
export declare const adornmentDefault: string;
|
|
11
|
+
export declare const adornmentEndSm: string;
|
|
12
|
+
export declare const adornmentEndDefault: string;
|
|
13
|
+
export declare const positioner: string;
|
|
14
|
+
export declare const popupShell: string;
|
|
15
|
+
export declare const popup: string;
|
|
16
|
+
export declare const separator: string;
|
|
17
|
+
export declare const group: string;
|
|
18
|
+
export declare const groupLabel: string;
|
|
19
|
+
export declare const empty: string;
|
|
20
|
+
export declare const row: string;
|
|
21
|
+
export declare const value: string;
|
|
22
|
+
export declare const list: string;
|
|
23
|
+
export declare const status: string;
|
|
24
|
+
export declare const item: string;
|
|
25
|
+
export declare const itemIndicator: string;
|
|
26
|
+
export declare const itemContent: string;
|
|
27
|
+
export declare const chips: string;
|
|
28
|
+
export declare const chipsStartAddon: string;
|
|
29
|
+
export declare const chipsStartAddonSm: string;
|
|
30
|
+
export declare const chipsInput: string;
|
|
31
|
+
export declare const chip: string;
|
|
32
|
+
export declare const chipRemove: string;
|