@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,82 @@
|
|
|
1
|
+
export declare const stackRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
gap: {
|
|
3
|
+
none: {
|
|
4
|
+
gap: number;
|
|
5
|
+
};
|
|
6
|
+
xxsmall: {
|
|
7
|
+
gap: "4px";
|
|
8
|
+
};
|
|
9
|
+
xsmall: {
|
|
10
|
+
gap: "8px";
|
|
11
|
+
};
|
|
12
|
+
small: {
|
|
13
|
+
gap: "12px";
|
|
14
|
+
};
|
|
15
|
+
medium: {
|
|
16
|
+
gap: "16px";
|
|
17
|
+
};
|
|
18
|
+
large: {
|
|
19
|
+
gap: "24px";
|
|
20
|
+
};
|
|
21
|
+
xlarge: {
|
|
22
|
+
gap: "32px";
|
|
23
|
+
};
|
|
24
|
+
xxlarge: {
|
|
25
|
+
gap: "48px";
|
|
26
|
+
};
|
|
27
|
+
xxxlarge: {
|
|
28
|
+
gap: "64px";
|
|
29
|
+
};
|
|
30
|
+
huge: {
|
|
31
|
+
gap: "80px";
|
|
32
|
+
};
|
|
33
|
+
massive: {
|
|
34
|
+
gap: "96px";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
align: {
|
|
38
|
+
start: {
|
|
39
|
+
alignItems: "flex-start";
|
|
40
|
+
};
|
|
41
|
+
center: {
|
|
42
|
+
alignItems: "center";
|
|
43
|
+
};
|
|
44
|
+
end: {
|
|
45
|
+
alignItems: "flex-end";
|
|
46
|
+
};
|
|
47
|
+
stretch: {
|
|
48
|
+
alignItems: "stretch";
|
|
49
|
+
};
|
|
50
|
+
baseline: {
|
|
51
|
+
alignItems: "baseline";
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
justify: {
|
|
55
|
+
start: {
|
|
56
|
+
justifyContent: "flex-start";
|
|
57
|
+
};
|
|
58
|
+
center: {
|
|
59
|
+
justifyContent: "center";
|
|
60
|
+
};
|
|
61
|
+
end: {
|
|
62
|
+
justifyContent: "flex-end";
|
|
63
|
+
};
|
|
64
|
+
between: {
|
|
65
|
+
justifyContent: "space-between";
|
|
66
|
+
};
|
|
67
|
+
around: {
|
|
68
|
+
justifyContent: "space-around";
|
|
69
|
+
};
|
|
70
|
+
evenly: {
|
|
71
|
+
justifyContent: "space-evenly";
|
|
72
|
+
};
|
|
73
|
+
stretch: {
|
|
74
|
+
justifyContent: "stretch";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
wrap: {
|
|
78
|
+
true: {
|
|
79
|
+
flexWrap: "wrap";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/box';
|
|
2
|
+
import { stackRecipe } from './stack.css';
|
|
3
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
4
|
+
type StackVariants = RecipeVariants<typeof stackRecipe>;
|
|
5
|
+
export type StackProps = Omit<BoxProps, "display"> & StackVariants;
|
|
6
|
+
export declare function Stack({ gap, align, justify, wrap, className, style, ...props }: StackProps): import("react").JSX.Element;
|
|
7
|
+
type VStackProps = Omit<StackProps, "direction">;
|
|
8
|
+
export declare function VStack(props: VStackProps): import("react").JSX.Element;
|
|
9
|
+
export type HStackProps = Omit<StackProps, "direction">;
|
|
10
|
+
export declare function HStack(props: HStackProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './surface';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const variantRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
default: {
|
|
4
|
+
backgroundColor: `var(--${string})`;
|
|
5
|
+
};
|
|
6
|
+
outline: {
|
|
7
|
+
backgroundColor: `var(--${string})`;
|
|
8
|
+
borderWidth: number;
|
|
9
|
+
borderStyle: "solid";
|
|
10
|
+
borderColor: `var(--${string})`;
|
|
11
|
+
};
|
|
12
|
+
raised: {
|
|
13
|
+
backgroundColor: `var(--${string})`;
|
|
14
|
+
boxShadow: `var(--${string})`;
|
|
15
|
+
};
|
|
16
|
+
sunken: {
|
|
17
|
+
backgroundColor: `var(--${string})`;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
interactive: {
|
|
21
|
+
true: {
|
|
22
|
+
cursor: "pointer";
|
|
23
|
+
selectors: {
|
|
24
|
+
"&:hover": {
|
|
25
|
+
backgroundColor: `var(--${string})`;
|
|
26
|
+
};
|
|
27
|
+
"&:focus-visible": {
|
|
28
|
+
outline: `2px solid var(--${string})`;
|
|
29
|
+
outlineOffset: "2px";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BoxProps } from '../Box/box';
|
|
2
|
+
import { variantRecipe } from './surface.css';
|
|
3
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
4
|
+
type SurfaceProps = BoxProps & RecipeVariants<typeof variantRecipe>;
|
|
5
|
+
declare function Surface({ variant, interactive, className, style, ...props }: SurfaceProps): import("react").JSX.Element;
|
|
6
|
+
export type { SurfaceProps };
|
|
7
|
+
export { Surface };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './switch';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
|
|
2
|
+
type Props = Omit<SwitchPrimitive.Root.Props, "style" | "className"> & {
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
className?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function Switch({ className, style, ...props }: Props): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const head: string;
|
|
3
|
+
export declare const header: string;
|
|
4
|
+
export declare const row: string;
|
|
5
|
+
export declare const cell: string;
|
|
6
|
+
export declare const wrapper: string;
|
|
7
|
+
export declare const alignLeft: string;
|
|
8
|
+
export declare const alignCenter: string;
|
|
9
|
+
export declare const alignRight: string;
|
|
10
|
+
export declare const colorSecondary: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface Column<TData> {
|
|
3
|
+
key: keyof TData;
|
|
4
|
+
header: ReactNode;
|
|
5
|
+
cell?: (row: TData) => ReactNode;
|
|
6
|
+
width?: string;
|
|
7
|
+
align?: "left" | "center" | "right";
|
|
8
|
+
cellProps?: Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
export interface TableProps<TData> {
|
|
11
|
+
columnData: Column<TData>[];
|
|
12
|
+
rowData: TData[];
|
|
13
|
+
rowKey?: keyof TData & string;
|
|
14
|
+
getRowProps?: (row: TData, index: number) => {
|
|
15
|
+
onMouseEnter?: () => void;
|
|
16
|
+
onMouseLeave?: () => void;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
className?: string;
|
|
22
|
+
color?: "secondary";
|
|
23
|
+
}
|
|
24
|
+
export declare function Table<TData>({ columnData, rowData, rowKey, getRowProps, style, className, color, }: TableProps<TData>): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tabs';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const root: string;
|
|
2
|
+
export declare const rootVertical: string;
|
|
3
|
+
export declare const list: string;
|
|
4
|
+
export declare const listDefault: string;
|
|
5
|
+
export declare const listUnderline: string;
|
|
6
|
+
export declare const listUnderlineVertical: string;
|
|
7
|
+
export declare const listVertical: string;
|
|
8
|
+
export declare const tabActiveVertical: string;
|
|
9
|
+
export declare const tabUnderlineActive: string;
|
|
10
|
+
export declare const listGhost: string;
|
|
11
|
+
export declare const tabGhost: string;
|
|
12
|
+
export declare const tabGhostActive: string;
|
|
13
|
+
export declare const listSegmented: string;
|
|
14
|
+
export declare const tabSegmented: string;
|
|
15
|
+
export declare const tabSegmentedActive: string;
|
|
16
|
+
export declare const tab: string;
|
|
17
|
+
export declare const tabDefault: string;
|
|
18
|
+
export declare const tabVertical: string;
|
|
19
|
+
export declare const tabActive: string;
|
|
20
|
+
export declare const tabDisabled: string;
|
|
21
|
+
export declare const tabActiveDefault: string;
|
|
22
|
+
export declare const tabUnderline: string;
|
|
23
|
+
export declare const indicator: string;
|
|
24
|
+
export declare const indicatorDefault: string;
|
|
25
|
+
export declare const indicatorUnderline: string;
|
|
26
|
+
export declare const panel: string;
|
|
27
|
+
export declare const panelVertical: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
type TabsVariant = "underline" | "ghost" | "segmented";
|
|
4
|
+
type TabsRootProps = TabsPrimitive.Root.Props & {
|
|
5
|
+
variant?: TabsVariant;
|
|
6
|
+
};
|
|
7
|
+
type TabsListProps = TabsPrimitive.List.Props;
|
|
8
|
+
type TabsTabProps = TabsPrimitive.Tab.Props;
|
|
9
|
+
type TabsPanelProps = TabsPrimitive.Panel.Props;
|
|
10
|
+
export declare function Tabs({ children, variant, ...props }: TabsRootProps): React.JSX.Element;
|
|
11
|
+
export declare function TabsList({ className, ...props }: TabsListProps): React.JSX.Element;
|
|
12
|
+
export declare function TabsTab({ className, ...props }: TabsTabProps): React.JSX.Element;
|
|
13
|
+
export declare function TabsIndicator(): null;
|
|
14
|
+
declare function TabsPanel({ className, ...props }: TabsPanelProps): React.JSX.Element;
|
|
15
|
+
export { TabsPanel };
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
export declare const textVariants: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
2
|
+
variant: {
|
|
3
|
+
h1: {
|
|
4
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
5
|
+
fontSize: "48px";
|
|
6
|
+
lineHeight: "1.2";
|
|
7
|
+
fontWeight: "700";
|
|
8
|
+
letterSpacing: "-0.04em";
|
|
9
|
+
margin: number;
|
|
10
|
+
scrollMarginTop: "80px";
|
|
11
|
+
};
|
|
12
|
+
h2: {
|
|
13
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
14
|
+
fontSize: "24px";
|
|
15
|
+
lineHeight: "1.2";
|
|
16
|
+
fontWeight: "700";
|
|
17
|
+
letterSpacing: "-0.04em";
|
|
18
|
+
margin: number;
|
|
19
|
+
scrollMarginTop: "80px";
|
|
20
|
+
};
|
|
21
|
+
h3: {
|
|
22
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
23
|
+
fontSize: "20px";
|
|
24
|
+
lineHeight: "1.35";
|
|
25
|
+
fontWeight: "600";
|
|
26
|
+
letterSpacing: "-0.02em";
|
|
27
|
+
margin: number;
|
|
28
|
+
scrollMarginTop: "80px";
|
|
29
|
+
};
|
|
30
|
+
h4: {
|
|
31
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
32
|
+
fontSize: "18px";
|
|
33
|
+
lineHeight: "1.2";
|
|
34
|
+
fontWeight: "600";
|
|
35
|
+
margin: number;
|
|
36
|
+
scrollMarginTop: "80px";
|
|
37
|
+
};
|
|
38
|
+
h5: {
|
|
39
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
40
|
+
fontSize: "16px";
|
|
41
|
+
lineHeight: "1.5";
|
|
42
|
+
fontWeight: "600";
|
|
43
|
+
margin: number;
|
|
44
|
+
scrollMarginTop: "80px";
|
|
45
|
+
};
|
|
46
|
+
h6: {
|
|
47
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
48
|
+
fontSize: "14px";
|
|
49
|
+
lineHeight: "1.5";
|
|
50
|
+
fontWeight: "600";
|
|
51
|
+
margin: number;
|
|
52
|
+
scrollMarginTop: "80px";
|
|
53
|
+
};
|
|
54
|
+
body1: {
|
|
55
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
56
|
+
fontSize: "16px";
|
|
57
|
+
lineHeight: "1.5";
|
|
58
|
+
fontWeight: "400";
|
|
59
|
+
margin: number;
|
|
60
|
+
};
|
|
61
|
+
body2: {
|
|
62
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
63
|
+
fontSize: "14px";
|
|
64
|
+
lineHeight: "1.5";
|
|
65
|
+
fontWeight: "400";
|
|
66
|
+
margin: number;
|
|
67
|
+
};
|
|
68
|
+
body3: {
|
|
69
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
70
|
+
fontSize: "12px";
|
|
71
|
+
lineHeight: "1.5";
|
|
72
|
+
fontWeight: "400";
|
|
73
|
+
margin: number;
|
|
74
|
+
};
|
|
75
|
+
body4: {
|
|
76
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
77
|
+
fontSize: "10px";
|
|
78
|
+
lineHeight: "1.5";
|
|
79
|
+
fontWeight: "500";
|
|
80
|
+
letterSpacing: "0.02em";
|
|
81
|
+
margin: number;
|
|
82
|
+
};
|
|
83
|
+
caption: {
|
|
84
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
85
|
+
fontSize: "12px";
|
|
86
|
+
lineHeight: "1.5";
|
|
87
|
+
fontWeight: "500";
|
|
88
|
+
letterSpacing: "0.02em";
|
|
89
|
+
margin: number;
|
|
90
|
+
};
|
|
91
|
+
creatorNote: {
|
|
92
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
93
|
+
fontSize: "18px";
|
|
94
|
+
lineHeight: "28px";
|
|
95
|
+
fontWeight: "400";
|
|
96
|
+
fontStyle: "italic";
|
|
97
|
+
margin: number;
|
|
98
|
+
};
|
|
99
|
+
p: {
|
|
100
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
101
|
+
fontSize: "16px";
|
|
102
|
+
lineHeight: "1.5";
|
|
103
|
+
fontWeight: "400";
|
|
104
|
+
margin: number;
|
|
105
|
+
};
|
|
106
|
+
div: {
|
|
107
|
+
fontFamily: "\"DM Sans\", system-ui, sans-serif";
|
|
108
|
+
fontSize: "16px";
|
|
109
|
+
lineHeight: "1.5";
|
|
110
|
+
fontWeight: "400";
|
|
111
|
+
margin: number;
|
|
112
|
+
};
|
|
113
|
+
code: {
|
|
114
|
+
margin: number;
|
|
115
|
+
backgroundColor: `var(--${string})`;
|
|
116
|
+
borderRadius: "4px";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
textAlign: {
|
|
120
|
+
left: {
|
|
121
|
+
textAlign: "left";
|
|
122
|
+
};
|
|
123
|
+
center: {
|
|
124
|
+
textAlign: "center";
|
|
125
|
+
};
|
|
126
|
+
right: {
|
|
127
|
+
textAlign: "right";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
weight: {
|
|
131
|
+
regular: {
|
|
132
|
+
fontWeight: "400";
|
|
133
|
+
};
|
|
134
|
+
medium: {
|
|
135
|
+
fontWeight: "500";
|
|
136
|
+
};
|
|
137
|
+
semibold: {
|
|
138
|
+
fontWeight: "600";
|
|
139
|
+
};
|
|
140
|
+
bold: {
|
|
141
|
+
fontWeight: "700";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
transform: {
|
|
145
|
+
uppercase: {
|
|
146
|
+
textTransform: "uppercase";
|
|
147
|
+
};
|
|
148
|
+
capitalize: {
|
|
149
|
+
textTransform: "capitalize";
|
|
150
|
+
};
|
|
151
|
+
none: {
|
|
152
|
+
textTransform: "none";
|
|
153
|
+
};
|
|
154
|
+
lowercase: {
|
|
155
|
+
textTransform: "lowercase";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
size: {
|
|
159
|
+
xxsmall: {
|
|
160
|
+
fontSize: "4px";
|
|
161
|
+
lineHeight: "1.2";
|
|
162
|
+
};
|
|
163
|
+
xsmall: {
|
|
164
|
+
fontSize: "8px";
|
|
165
|
+
lineHeight: "1.2";
|
|
166
|
+
};
|
|
167
|
+
small: {
|
|
168
|
+
fontSize: "12px";
|
|
169
|
+
lineHeight: "1.2";
|
|
170
|
+
};
|
|
171
|
+
medium: {
|
|
172
|
+
fontSize: "16px";
|
|
173
|
+
lineHeight: "1.2";
|
|
174
|
+
};
|
|
175
|
+
large: {
|
|
176
|
+
fontSize: "24px";
|
|
177
|
+
lineHeight: "1.2";
|
|
178
|
+
};
|
|
179
|
+
xlarge: {
|
|
180
|
+
fontSize: "32px";
|
|
181
|
+
lineHeight: "1.2";
|
|
182
|
+
};
|
|
183
|
+
xxlarge: {
|
|
184
|
+
fontSize: "48px";
|
|
185
|
+
lineHeight: "1.2";
|
|
186
|
+
};
|
|
187
|
+
xxxlarge: {
|
|
188
|
+
fontSize: "64px";
|
|
189
|
+
lineHeight: "1.2";
|
|
190
|
+
};
|
|
191
|
+
huge: {
|
|
192
|
+
fontSize: "80px";
|
|
193
|
+
lineHeight: "1.2";
|
|
194
|
+
};
|
|
195
|
+
massive: {
|
|
196
|
+
fontSize: "96px";
|
|
197
|
+
lineHeight: "1.2";
|
|
198
|
+
};
|
|
199
|
+
titanic: {
|
|
200
|
+
fontSize: "192px";
|
|
201
|
+
lineHeight: "1.2";
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { textVariants } from './text.css';
|
|
4
|
+
import { RecipeVariants } from '@vanilla-extract/recipes';
|
|
5
|
+
import { BaseSprinkles } from '../../utils/sprinkles.css';
|
|
6
|
+
export type TextProps = useRender.ComponentProps<"div"> & BaseSprinkles & RecipeVariants<typeof textVariants> & {
|
|
7
|
+
span?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function Text({ variant, textAlign, weight, className, color, style, size, render, span, transform, ...props }: TextProps): React.ReactElement;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function VariantsStory(): import("react").JSX.Element;
|
|
2
|
+
export declare function ColorsStory(): import("react").JSX.Element;
|
|
3
|
+
export declare function WeightsStory(): import("react").JSX.Element;
|
|
4
|
+
export declare function AlignmentsStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './textarea';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type TextareaProps = React.ComponentPropsWithoutRef<"textarea"> & React.RefAttributes<HTMLTextAreaElement> & {
|
|
3
|
+
size?: "sm" | "default" | "lg" | number;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
};
|
|
7
|
+
export declare function Textarea({ size, className, style, ref, ...props }: TextareaProps): React.ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toggle';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const base: string;
|
|
2
|
+
export declare const size: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
3
|
+
size: {
|
|
4
|
+
sm: {
|
|
5
|
+
height: "24px";
|
|
6
|
+
minWidth: "24px";
|
|
7
|
+
paddingLeft: "12px";
|
|
8
|
+
paddingRight: "12px";
|
|
9
|
+
};
|
|
10
|
+
default: {
|
|
11
|
+
height: "24px";
|
|
12
|
+
minWidth: number;
|
|
13
|
+
paddingLeft: "12px";
|
|
14
|
+
paddingRight: "12px";
|
|
15
|
+
};
|
|
16
|
+
lg: {
|
|
17
|
+
height: "32px";
|
|
18
|
+
paddingLeft: "16px";
|
|
19
|
+
paddingRight: "16px";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}>;
|
|
23
|
+
export declare const variant: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
24
|
+
variant: {
|
|
25
|
+
default: {
|
|
26
|
+
borderColor: "transparent";
|
|
27
|
+
color: `var(--${string})`;
|
|
28
|
+
backgroundColor: `var(--${string})`;
|
|
29
|
+
};
|
|
30
|
+
outline: {
|
|
31
|
+
borderColor: `var(--${string})`;
|
|
32
|
+
color: `var(--${string})`;
|
|
33
|
+
backgroundColor: `var(--${string})`;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
export declare const pressed: {
|
|
38
|
+
default: string;
|
|
39
|
+
outline: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const radius: import('@vanilla-extract/recipes').RuntimeFn<{
|
|
42
|
+
radius: {
|
|
43
|
+
none: {
|
|
44
|
+
borderRadius: number;
|
|
45
|
+
};
|
|
46
|
+
xsmall: {
|
|
47
|
+
borderRadius: "2px";
|
|
48
|
+
};
|
|
49
|
+
small: {
|
|
50
|
+
borderRadius: "4px";
|
|
51
|
+
};
|
|
52
|
+
medium: {
|
|
53
|
+
borderRadius: "8px";
|
|
54
|
+
};
|
|
55
|
+
large: {
|
|
56
|
+
borderRadius: "12px";
|
|
57
|
+
};
|
|
58
|
+
xlarge: {
|
|
59
|
+
borderRadius: "16px";
|
|
60
|
+
};
|
|
61
|
+
xxlarge: {
|
|
62
|
+
borderRadius: "24px";
|
|
63
|
+
};
|
|
64
|
+
full: {
|
|
65
|
+
borderRadius: "999px";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
|
+
export type ToggleVariant = "default" | "outline";
|
|
3
|
+
export type ToggleSize = "default" | "sm" | "lg";
|
|
4
|
+
export type ToggleRadius = "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "xxlarge" | "full";
|
|
5
|
+
export interface ToggleProps extends Omit<TogglePrimitive.Props, "className" | "style"> {
|
|
6
|
+
variant?: ToggleVariant;
|
|
7
|
+
size?: ToggleSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
radius?: ToggleRadius;
|
|
11
|
+
}
|
|
12
|
+
export declare function Toggle({ children, className, style, variant: v, radius: r, size: s, ...props }: ToggleProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function VariantsStory(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './toggle-group';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const groupBase: string;
|
|
2
|
+
export declare const groupHorizontal: string;
|
|
3
|
+
export declare const groupVertical: string;
|
|
4
|
+
export declare const groupDefault: string;
|
|
5
|
+
export declare const groupOutline: string;
|
|
6
|
+
export declare const outlineItemHorizontal: string;
|
|
7
|
+
export declare const outlineItemVertical: string;
|