@blenx-dev/components 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +209 -38
- package/.turbo/turbo-check-types.log +0 -1
- package/MIGRATION-PLAN.md +0 -423
- package/TASKS.md +0 -192
- package/blenx-dev-ui-0.0.0.tgz +0 -0
- package/dist/src/components/Accordion/accordion.demo.d.ts +0 -5
- package/dist/src/components/Alert/alert.demo.d.ts +0 -6
- package/dist/src/components/AlertDialog/alert-dialog.demo.d.ts +0 -5
- package/dist/src/components/AlertDialog/alert-dialog.doc.d.ts +0 -1
- package/dist/src/components/Avatar/avatar.doc.d.ts +0 -2
- package/dist/src/components/Badge/badge.demo.d.ts +0 -5
- package/dist/src/components/Badge/badge.doc.d.ts +0 -1
- package/dist/src/components/Box/box.doc.d.ts +0 -1
- package/dist/src/components/Breadcrumbs/breadcrumbs.doc.d.ts +0 -2
- package/dist/src/components/Button/button.demo.d.ts +0 -5
- package/dist/src/components/Calendar/calendar.doc.d.ts +0 -1
- package/dist/src/components/Card/card.demo.d.ts +0 -8
- package/dist/src/components/Card/card.doc.d.ts +0 -2
- package/dist/src/components/ColorPicker/color-picker.doc.d.ts +0 -1
- package/dist/src/components/ColorSwatch/color-swatch.doc.d.ts +0 -2
- package/dist/src/components/Command/command.demo.d.ts +0 -6
- package/dist/src/components/Command/command.doc.d.ts +0 -3
- package/dist/src/components/Container/container.doc.d.ts +0 -1
- package/dist/src/components/DatePicker/date-picker.doc.d.ts +0 -1
- package/dist/src/components/Dialog/dialog.demo.d.ts +0 -5
- package/dist/src/components/Dialog/dialog.doc.d.ts +0 -1
- package/dist/src/components/Drawer/drawer.demo.d.ts +0 -5
- package/dist/src/components/Drawer/drawer.doc.d.ts +0 -2
- package/dist/src/components/Field/field.doc.d.ts +0 -1
- package/dist/src/components/Grid/grid.doc.d.ts +0 -1
- package/dist/src/components/Icon/icon.demo.d.ts +0 -5
- package/dist/src/components/IconButton/icon-button.demo.d.ts +0 -5
- package/dist/src/components/Input/input.demo.d.ts +0 -5
- package/dist/src/components/Input/input.doc.d.ts +0 -2
- package/dist/src/components/InputGroup/input-group.demo.d.ts +0 -5
- package/dist/src/components/Menu/menu.demo.d.ts +0 -5
- package/dist/src/components/OTPField/otp-field.demo.d.ts +0 -6
- package/dist/src/components/Popover/popover.demo.d.ts +0 -5
- package/dist/src/components/ScrollArea/scroll-area.doc.d.ts +0 -2
- package/dist/src/components/SegmentedControl/segmented-control.doc.d.ts +0 -1
- package/dist/src/components/Select/select.demo.d.ts +0 -5
- package/dist/src/components/Select/select.doc.d.ts +0 -2
- package/dist/src/components/Separator/separator.doc.d.ts +0 -4
- package/dist/src/components/Sheet/sheet.demo.d.ts +0 -5
- package/dist/src/components/Spinner/spinner.demo.d.ts +0 -1
- package/dist/src/components/Stack/stack.doc.d.ts +0 -3
- package/dist/src/components/Surface/surface.doc.d.ts +0 -2
- package/dist/src/components/Switch/switch.demo.d.ts +0 -5
- package/dist/src/components/Switch/switch.doc.d.ts +0 -2
- package/dist/src/components/Table/table.demo.d.ts +0 -5
- package/dist/src/components/Tabs/tabs.demo.d.ts +0 -5
- package/dist/src/components/Tabs/tabs.doc.d.ts +0 -3
- package/dist/src/components/Text/text.doc.d.ts +0 -4
- package/dist/src/components/Textarea/textarea.doc.d.ts +0 -2
- package/dist/src/components/Toggle/toggle.doc.d.ts +0 -1
- package/dist/src/components/ToggleGroup/toggle-group.doc.d.ts +0 -3
- package/dist/src/demos/accordion.demo.d.ts +0 -5
- package/package.build.json +0 -39
- package/scripts/generate-api.ts +0 -183
- package/scripts/generate-package.ts +0 -106
- package/src/DataTable/data-table-column-toggle.tsx +0 -73
- package/src/DataTable/data-table-empty.tsx +0 -27
- package/src/DataTable/data-table-error.tsx +0 -25
- package/src/DataTable/data-table-infinite-loader.tsx +0 -73
- package/src/DataTable/data-table-loading.tsx +0 -67
- package/src/DataTable/data-table-pagination.tsx +0 -80
- package/src/DataTable/data-table-toolbar.tsx +0 -62
- package/src/DataTable/data-table.css.ts +0 -421
- package/src/DataTable/data-table.tsx +0 -507
- package/src/DataTable/index.ts +0 -24
- package/src/DataTable/registry-meta.json +0 -66
- package/src/DataTable/types.ts +0 -169
- package/src/DataTable/use-infinite-scroll.ts +0 -67
- package/src/components/Accordion/accordion.css.ts +0 -93
- package/src/components/Accordion/accordion.demo.tsx +0 -42
- package/src/components/Accordion/accordion.tsx +0 -87
- package/src/components/Accordion/docs-meta.json +0 -13
- package/src/components/Accordion/index.ts +0 -8
- package/src/components/Accordion/registry-meta.json +0 -19
- package/src/components/Alert/alert.css.ts +0 -29
- package/src/components/Alert/alert.demo.tsx +0 -34
- package/src/components/Alert/alert.tsx +0 -40
- package/src/components/Alert/docs-meta.json +0 -12
- package/src/components/Alert/index.ts +0 -1
- package/src/components/Alert/registry-meta.json +0 -20
- package/src/components/AlertDialog/alert-dialog.css.ts +0 -146
- package/src/components/AlertDialog/alert-dialog.demo.tsx +0 -59
- package/src/components/AlertDialog/alert-dialog.doc.tsx +0 -31
- package/src/components/AlertDialog/alert-dialog.tsx +0 -197
- package/src/components/AlertDialog/docs-meta.json +0 -14
- package/src/components/AlertDialog/index.ts +0 -1
- package/src/components/AlertDialog/registry-meta.json +0 -20
- package/src/components/Autocomplete/autocomplete.css.ts +0 -168
- package/src/components/Autocomplete/autocomplete.tsx +0 -226
- package/src/components/Autocomplete/docs-meta.json +0 -9
- package/src/components/Autocomplete/index.ts +0 -1
- package/src/components/Autocomplete/registry-meta.json +0 -20
- package/src/components/Avatar/avatar.css.ts +0 -72
- package/src/components/Avatar/avatar.doc.tsx +0 -32
- package/src/components/Avatar/avatar.tsx +0 -49
- package/src/components/Avatar/docs-meta.json +0 -9
- package/src/components/Avatar/index.ts +0 -1
- package/src/components/Avatar/registry-meta.json +0 -19
- package/src/components/Badge/badge.css.ts +0 -40
- package/src/components/Badge/badge.demo.tsx +0 -18
- package/src/components/Badge/badge.doc.tsx +0 -12
- package/src/components/Badge/badge.tsx +0 -13
- package/src/components/Badge/docs-meta.json +0 -9
- package/src/components/Badge/index.ts +0 -1
- package/src/components/Badge/registry-meta.json +0 -19
- package/src/components/Box/box.css.ts +0 -7
- package/src/components/Box/box.doc.tsx +0 -19
- package/src/components/Box/box.tsx +0 -21
- package/src/components/Box/docs-meta.json +0 -9
- package/src/components/Box/index.ts +0 -1
- package/src/components/Box/registry-meta.json +0 -14
- package/src/components/Breadcrumbs/breadcrumbs.css.ts +0 -72
- package/src/components/Breadcrumbs/breadcrumbs.doc.tsx +0 -61
- package/src/components/Breadcrumbs/breadcrumbs.tsx +0 -79
- package/src/components/Breadcrumbs/docs-meta.json +0 -12
- package/src/components/Breadcrumbs/index.ts +0 -9
- package/src/components/Breadcrumbs/registry-meta.json +0 -19
- package/src/components/Button/button.css.ts +0 -209
- package/src/components/Button/button.demo.tsx +0 -119
- package/src/components/Button/button.tsx +0 -55
- package/src/components/Button/docs-meta.json +0 -13
- package/src/components/Button/index.ts +0 -1
- package/src/components/Button/registry-meta.json +0 -20
- package/src/components/Calendar/calendar.css.ts +0 -188
- package/src/components/Calendar/calendar.doc.tsx +0 -10
- package/src/components/Calendar/calendar.tsx +0 -143
- package/src/components/Calendar/docs-meta.json +0 -9
- package/src/components/Calendar/index.ts +0 -1
- package/src/components/Calendar/registry-meta.json +0 -20
- package/src/components/Card/card.demo.tsx +0 -177
- package/src/components/Card/card.doc.tsx +0 -47
- package/src/components/Card/card.tsx +0 -32
- package/src/components/Card/docs-meta.json +0 -9
- package/src/components/Card/index.ts +0 -1
- package/src/components/Card/registry-meta.json +0 -15
- package/src/components/Checkbox/checkbox.css.ts +0 -77
- package/src/components/Checkbox/checkbox.tsx +0 -94
- package/src/components/Checkbox/docs-meta.json +0 -13
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/Checkbox/registry-meta.json +0 -19
- package/src/components/CloseButton/close-button.css.ts +0 -11
- package/src/components/CloseButton/close-button.tsx +0 -15
- package/src/components/CloseButton/index.ts +0 -2
- package/src/components/CloseButton/registry-meta.json +0 -15
- package/src/components/ColorPicker/color-picker.doc.tsx +0 -12
- package/src/components/ColorPicker/color-picker.tsx +0 -123
- package/src/components/ColorPicker/docs-meta.json +0 -9
- package/src/components/ColorPicker/index.ts +0 -1
- package/src/components/ColorPicker/registry-meta.json +0 -15
- package/src/components/ColorSwatch/color-swatch.doc.tsx +0 -25
- package/src/components/ColorSwatch/color-swatch.tsx +0 -21
- package/src/components/ColorSwatch/docs-meta.json +0 -9
- package/src/components/ColorSwatch/index.ts +0 -1
- package/src/components/ColorSwatch/registry-meta.json +0 -20
- package/src/components/Combobox/combobox.css.ts +0 -334
- package/src/components/Combobox/combobox.tsx +0 -350
- package/src/components/Combobox/docs-meta.json +0 -9
- package/src/components/Combobox/index.ts +0 -1
- package/src/components/Combobox/registry-meta.json +0 -20
- package/src/components/Command/command.css.ts +0 -131
- package/src/components/Command/command.demo.tsx +0 -110
- package/src/components/Command/command.doc.tsx +0 -100
- package/src/components/Command/command.tsx +0 -413
- package/src/components/Command/docs-meta.json +0 -21
- package/src/components/Command/index.ts +0 -7
- package/src/components/Command/registry-meta.json +0 -20
- package/src/components/Container/container.css.ts +0 -40
- package/src/components/Container/container.doc.tsx +0 -28
- package/src/components/Container/container.tsx +0 -24
- package/src/components/Container/docs-meta.json +0 -9
- package/src/components/Container/index.ts +0 -1
- package/src/components/Container/registry-meta.json +0 -20
- package/src/components/CopyButton/copy-button.css.ts +0 -11
- package/src/components/CopyButton/copy-button.tsx +0 -45
- package/src/components/CopyButton/index.ts +0 -2
- package/src/components/CopyButton/registry-meta.json +0 -15
- package/src/components/DatePicker/date-picker.doc.tsx +0 -12
- package/src/components/DatePicker/date-picker.tsx +0 -75
- package/src/components/DatePicker/docs-meta.json +0 -9
- package/src/components/DatePicker/index.ts +0 -1
- package/src/components/DatePicker/registry-meta.json +0 -15
- package/src/components/Dialog/dialog.css.ts +0 -155
- package/src/components/Dialog/dialog.demo.tsx +0 -39
- package/src/components/Dialog/dialog.doc.tsx +0 -33
- package/src/components/Dialog/dialog.tsx +0 -186
- package/src/components/Dialog/docs-meta.json +0 -13
- package/src/components/Dialog/index.ts +0 -1
- package/src/components/Dialog/registry-meta.json +0 -20
- package/src/components/Drawer/docs-meta.json +0 -9
- package/src/components/Drawer/drawer.css.ts +0 -412
- package/src/components/Drawer/drawer.demo.tsx +0 -58
- package/src/components/Drawer/drawer.doc.tsx +0 -49
- package/src/components/Drawer/drawer.tsx +0 -574
- package/src/components/Drawer/index.ts +0 -1
- package/src/components/Drawer/registry-meta.json +0 -20
- package/src/components/Field/docs-meta.json +0 -9
- package/src/components/Field/field.css.ts +0 -35
- package/src/components/Field/field.doc.tsx +0 -19
- package/src/components/Field/field.tsx +0 -101
- package/src/components/Field/index.ts +0 -1
- package/src/components/Field/registry-meta.json +0 -20
- package/src/components/Grid/docs-meta.json +0 -9
- package/src/components/Grid/grid.css.ts +0 -12
- package/src/components/Grid/grid.doc.tsx +0 -148
- package/src/components/Grid/grid.tsx +0 -57
- package/src/components/Grid/index.ts +0 -1
- package/src/components/Grid/registry-meta.json +0 -20
- package/src/components/Icon/docs-meta.json +0 -13
- package/src/components/Icon/icon.css.ts +0 -10
- package/src/components/Icon/icon.demo.tsx +0 -97
- package/src/components/Icon/icon.tsx +0 -15
- package/src/components/Icon/index.ts +0 -1
- package/src/components/Icon/registry-meta.json +0 -20
- package/src/components/IconButton/docs-meta.json +0 -13
- package/src/components/IconButton/icon-button.css.ts +0 -6
- package/src/components/IconButton/icon-button.demo.tsx +0 -102
- package/src/components/IconButton/icon-button.tsx +0 -11
- package/src/components/IconButton/index.ts +0 -2
- package/src/components/IconButton/registry-meta.json +0 -15
- package/src/components/Input/docs-meta.json +0 -9
- package/src/components/Input/index.ts +0 -1
- package/src/components/Input/input.css.ts +0 -73
- package/src/components/Input/input.demo.tsx +0 -24
- package/src/components/Input/input.doc.tsx +0 -25
- package/src/components/Input/input.tsx +0 -50
- package/src/components/Input/registry-meta.json +0 -19
- package/src/components/InputGroup/docs-meta.json +0 -9
- package/src/components/InputGroup/index.ts +0 -1
- package/src/components/InputGroup/input-group.css.ts +0 -157
- package/src/components/InputGroup/input-group.demo.tsx +0 -53
- package/src/components/InputGroup/input-group.tsx +0 -133
- package/src/components/InputGroup/registry-meta.json +0 -19
- package/src/components/Menu/docs-meta.json +0 -13
- package/src/components/Menu/index.ts +0 -1
- package/src/components/Menu/menu.css.ts +0 -128
- package/src/components/Menu/menu.demo.tsx +0 -40
- package/src/components/Menu/menu.tsx +0 -115
- package/src/components/Menu/registry-meta.json +0 -19
- package/src/components/OTPField/docs-meta.json +0 -9
- package/src/components/OTPField/index.ts +0 -1
- package/src/components/OTPField/otp-field.css.ts +0 -55
- package/src/components/OTPField/otp-field.demo.tsx +0 -57
- package/src/components/OTPField/otp-field.tsx +0 -46
- package/src/components/OTPField/registry-meta.json +0 -19
- package/src/components/Popover/docs-meta.json +0 -13
- package/src/components/Popover/index.ts +0 -1
- package/src/components/Popover/popover.css.ts +0 -82
- package/src/components/Popover/popover.demo.tsx +0 -34
- package/src/components/Popover/popover.tsx +0 -113
- package/src/components/Popover/registry-meta.json +0 -19
- package/src/components/Progress/docs-meta.json +0 -12
- package/src/components/Progress/index.ts +0 -7
- package/src/components/Progress/progress.css.ts +0 -38
- package/src/components/Progress/progress.tsx +0 -62
- package/src/components/Progress/registry-meta.json +0 -19
- package/src/components/Radio/docs-meta.json +0 -13
- package/src/components/Radio/index.ts +0 -1
- package/src/components/Radio/radio.css.ts +0 -73
- package/src/components/Radio/radio.tsx +0 -49
- package/src/components/Radio/registry-meta.json +0 -19
- package/src/components/ScrollArea/docs-meta.json +0 -9
- package/src/components/ScrollArea/index.ts +0 -1
- package/src/components/ScrollArea/registry-meta.json +0 -19
- package/src/components/ScrollArea/scroll-area.css.ts +0 -80
- package/src/components/ScrollArea/scroll-area.doc.tsx +0 -44
- package/src/components/ScrollArea/scroll-area.tsx +0 -96
- package/src/components/SegmentedControl/docs-meta.json +0 -9
- package/src/components/SegmentedControl/index.ts +0 -1
- package/src/components/SegmentedControl/registry-meta.json +0 -15
- package/src/components/SegmentedControl/segmented-control.doc.tsx +0 -28
- package/src/components/SegmentedControl/segmented-control.tsx +0 -42
- package/src/components/Select/docs-meta.json +0 -13
- package/src/components/Select/index.ts +0 -1
- package/src/components/Select/registry-meta.json +0 -20
- package/src/components/Select/select.css.ts +0 -183
- package/src/components/Select/select.demo.tsx +0 -35
- package/src/components/Select/select.doc.tsx +0 -65
- package/src/components/Select/select.tsx +0 -165
- package/src/components/Separator/docs-meta.json +0 -12
- package/src/components/Separator/index.ts +0 -1
- package/src/components/Separator/registry-meta.json +0 -20
- package/src/components/Separator/separator.css.ts +0 -60
- package/src/components/Separator/separator.doc.tsx +0 -44
- package/src/components/Separator/separator.tsx +0 -34
- package/src/components/Sheet/docs-meta.json +0 -13
- package/src/components/Sheet/index.ts +0 -1
- package/src/components/Sheet/registry-meta.json +0 -20
- package/src/components/Sheet/sheet.css.ts +0 -192
- package/src/components/Sheet/sheet.demo.tsx +0 -53
- package/src/components/Sheet/sheet.tsx +0 -213
- package/src/components/Slider/docs-meta.json +0 -13
- package/src/components/Slider/index.ts +0 -1
- package/src/components/Slider/registry-meta.json +0 -19
- package/src/components/Slider/slider.css.ts +0 -82
- package/src/components/Slider/slider.tsx +0 -100
- package/src/components/Spinner/docs-meta.json +0 -12
- package/src/components/Spinner/index.ts +0 -1
- package/src/components/Spinner/registry-meta.json +0 -19
- package/src/components/Spinner/spinner.css.ts +0 -17
- package/src/components/Spinner/spinner.demo.tsx +0 -13
- package/src/components/Spinner/spinner.tsx +0 -15
- package/src/components/Splitter/docs-meta.json +0 -9
- package/src/components/Splitter/index.ts +0 -1
- package/src/components/Splitter/registry-meta.json +0 -19
- package/src/components/Splitter/splitter.css.ts +0 -70
- package/src/components/Splitter/splitter.tsx +0 -521
- package/src/components/Stack/docs-meta.json +0 -9
- package/src/components/Stack/index.ts +0 -1
- package/src/components/Stack/registry-meta.json +0 -20
- package/src/components/Stack/stack.css.ts +0 -42
- package/src/components/Stack/stack.doc.tsx +0 -57
- package/src/components/Stack/stack.tsx +0 -32
- package/src/components/Surface/docs-meta.json +0 -9
- package/src/components/Surface/index.ts +0 -1
- package/src/components/Surface/registry-meta.json +0 -20
- package/src/components/Surface/surface.css.ts +0 -40
- package/src/components/Surface/surface.doc.tsx +0 -32
- package/src/components/Surface/surface.tsx +0 -19
- package/src/components/Switch/docs-meta.json +0 -13
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Switch/registry-meta.json +0 -20
- package/src/components/Switch/switch.css.ts +0 -47
- package/src/components/Switch/switch.demo.tsx +0 -26
- package/src/components/Switch/switch.doc.tsx +0 -25
- package/src/components/Switch/switch.tsx +0 -25
- package/src/components/Table/docs-meta.json +0 -12
- package/src/components/Table/index.ts +0 -2
- package/src/components/Table/registry-meta.json +0 -19
- package/src/components/Table/table.css.ts +0 -72
- package/src/components/Table/table.demo.tsx +0 -58
- package/src/components/Table/table.tsx +0 -116
- package/src/components/Tabs/docs-meta.json +0 -13
- package/src/components/Tabs/index.ts +0 -1
- package/src/components/Tabs/registry-meta.json +0 -19
- package/src/components/Tabs/tabs.css.ts +0 -259
- package/src/components/Tabs/tabs.demo.tsx +0 -33
- package/src/components/Tabs/tabs.doc.tsx +0 -62
- package/src/components/Tabs/tabs.tsx +0 -119
- package/src/components/Text/docs-meta.json +0 -9
- package/src/components/Text/index.ts +0 -2
- package/src/components/Text/registry-meta.json +0 -19
- package/src/components/Text/text.css.ts +0 -167
- package/src/components/Text/text.doc.tsx +0 -53
- package/src/components/Text/text.tsx +0 -64
- package/src/components/Textarea/docs-meta.json +0 -9
- package/src/components/Textarea/index.ts +0 -1
- package/src/components/Textarea/registry-meta.json +0 -19
- package/src/components/Textarea/textarea.css.ts +0 -66
- package/src/components/Textarea/textarea.doc.tsx +0 -23
- package/src/components/Textarea/textarea.tsx +0 -48
- package/src/components/Toggle/docs-meta.json +0 -12
- package/src/components/Toggle/index.ts +0 -1
- package/src/components/Toggle/registry-meta.json +0 -19
- package/src/components/Toggle/toggle.css.ts +0 -101
- package/src/components/Toggle/toggle.doc.tsx +0 -24
- package/src/components/Toggle/toggle.tsx +0 -60
- package/src/components/ToggleGroup/docs-meta.json +0 -9
- package/src/components/ToggleGroup/index.ts +0 -1
- package/src/components/ToggleGroup/registry-meta.json +0 -20
- package/src/components/ToggleGroup/toggle-group.css.ts +0 -77
- package/src/components/ToggleGroup/toggle-group.doc.tsx +0 -38
- package/src/components/ToggleGroup/toggle-group.tsx +0 -131
- package/src/components/index.ts +0 -53
- package/src/demos/accordion.demo.tsx +0 -41
- package/src/index.ts +0 -3
- package/src/utils/heights.ts +0 -16
- package/src/utils/sprinkles.css.ts +0 -251
- package/src/utils/types.ts +0 -20
- package/src/utils/ve-style.utils.ts +0 -24
- package/tsconfig.build.json +0 -14
- package/tsconfig.json +0 -10
- package/vite.config.ts +0 -52
- /package/{dist/assets → assets}/components.css +0 -0
- /package/{dist/components → components}/Accordion/accordion.css.js +0 -0
- /package/{dist/components → components}/Accordion/accordion.js +0 -0
- /package/{dist/components → components}/Alert/alert.css.js +0 -0
- /package/{dist/components → components}/Alert/alert.js +0 -0
- /package/{dist/components → components}/AlertDialog/alert-dialog.css.js +0 -0
- /package/{dist/components → components}/AlertDialog/alert-dialog.js +0 -0
- /package/{dist/components → components}/Autocomplete/autocomplete.css.js +0 -0
- /package/{dist/components → components}/Autocomplete/autocomplete.js +0 -0
- /package/{dist/components → components}/Avatar/avatar.css.js +0 -0
- /package/{dist/components → components}/Avatar/avatar.js +0 -0
- /package/{dist/components → components}/Badge/badge.css.js +0 -0
- /package/{dist/components → components}/Badge/badge.js +0 -0
- /package/{dist/components → components}/Box/box.css.js +0 -0
- /package/{dist/components → components}/Box/box.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/breadcrumbs.css.js +0 -0
- /package/{dist/components → components}/Breadcrumbs/breadcrumbs.js +0 -0
- /package/{dist/components → components}/Button/button.css.js +0 -0
- /package/{dist/components → components}/Button/button.js +0 -0
- /package/{dist/components → components}/Calendar/calendar.css.js +0 -0
- /package/{dist/components → components}/Calendar/calendar.js +0 -0
- /package/{dist/components → components}/Card/card.js +0 -0
- /package/{dist/components → components}/Checkbox/checkbox.css.js +0 -0
- /package/{dist/components → components}/Checkbox/checkbox.js +0 -0
- /package/{dist/components → components}/CloseButton/close-button.css.js +0 -0
- /package/{dist/components → components}/CloseButton/close-button.js +0 -0
- /package/{dist/components → components}/CloseButton/index.js +0 -0
- /package/{dist/components → components}/ColorPicker/color-picker.js +0 -0
- /package/{dist/components → components}/ColorSwatch/color-swatch.js +0 -0
- /package/{dist/components → components}/Combobox/combobox.css.js +0 -0
- /package/{dist/components → components}/Combobox/combobox.js +0 -0
- /package/{dist/components → components}/Command/command.css.js +0 -0
- /package/{dist/components → components}/Command/command.js +0 -0
- /package/{dist/components → components}/Container/container.css.js +0 -0
- /package/{dist/components → components}/Container/container.js +0 -0
- /package/{dist/components → components}/CopyButton/copy-button.css.js +0 -0
- /package/{dist/components → components}/CopyButton/copy-button.js +0 -0
- /package/{dist/components → components}/CopyButton/index.js +0 -0
- /package/{dist/components → components}/Dialog/dialog.css.js +0 -0
- /package/{dist/components → components}/Dialog/dialog.js +0 -0
- /package/{dist/components → components}/Drawer/drawer.css.js +0 -0
- /package/{dist/components → components}/Drawer/drawer.js +0 -0
- /package/{dist/components → components}/Field/field.css.js +0 -0
- /package/{dist/components → components}/Field/field.js +0 -0
- /package/{dist/components → components}/Grid/grid.css.js +0 -0
- /package/{dist/components → components}/Grid/grid.js +0 -0
- /package/{dist/components → components}/Icon/icon.css.js +0 -0
- /package/{dist/components → components}/Icon/icon.js +0 -0
- /package/{dist/components → components}/IconButton/icon-button.css.js +0 -0
- /package/{dist/components → components}/IconButton/icon-button.js +0 -0
- /package/{dist/components → components}/IconButton/index.js +0 -0
- /package/{dist/components → components}/Input/input.css.js +0 -0
- /package/{dist/components → components}/Input/input.js +0 -0
- /package/{dist/components → components}/InputGroup/input-group.css.js +0 -0
- /package/{dist/components → components}/InputGroup/input-group.js +0 -0
- /package/{dist/components → components}/Menu/menu.css.js +0 -0
- /package/{dist/components → components}/Menu/menu.js +0 -0
- /package/{dist/components → components}/OTPField/otp-field.css.js +0 -0
- /package/{dist/components → components}/OTPField/otp-field.js +0 -0
- /package/{dist/components → components}/Popover/popover.css.js +0 -0
- /package/{dist/components → components}/Popover/popover.js +0 -0
- /package/{dist/components → components}/Progress/progress.css.js +0 -0
- /package/{dist/components → components}/Progress/progress.js +0 -0
- /package/{dist/components → components}/Radio/radio.css.js +0 -0
- /package/{dist/components → components}/Radio/radio.js +0 -0
- /package/{dist/components → components}/ScrollArea/scroll-area.css.js +0 -0
- /package/{dist/components → components}/ScrollArea/scroll-area.js +0 -0
- /package/{dist/components → components}/SegmentedControl/segmented-control.js +0 -0
- /package/{dist/components → components}/Select/select.css.js +0 -0
- /package/{dist/components → components}/Select/select.js +0 -0
- /package/{dist/components → components}/Separator/separator.css.js +0 -0
- /package/{dist/components → components}/Separator/separator.js +0 -0
- /package/{dist/components → components}/Sheet/sheet.css.js +0 -0
- /package/{dist/components → components}/Sheet/sheet.js +0 -0
- /package/{dist/components → components}/Slider/slider.css.js +0 -0
- /package/{dist/components → components}/Slider/slider.js +0 -0
- /package/{dist/components → components}/Spinner/spinner.css.js +0 -0
- /package/{dist/components → components}/Spinner/spinner.js +0 -0
- /package/{dist/components → components}/Splitter/splitter.css.js +0 -0
- /package/{dist/components → components}/Splitter/splitter.js +0 -0
- /package/{dist/components → components}/Stack/stack.css.js +0 -0
- /package/{dist/components → components}/Stack/stack.js +0 -0
- /package/{dist/components → components}/Surface/surface.css.js +0 -0
- /package/{dist/components → components}/Surface/surface.js +0 -0
- /package/{dist/components → components}/Switch/switch.css.js +0 -0
- /package/{dist/components → components}/Switch/switch.js +0 -0
- /package/{dist/components → components}/Table/table.css.js +0 -0
- /package/{dist/components → components}/Table/table.js +0 -0
- /package/{dist/components → components}/Tabs/tabs.css.js +0 -0
- /package/{dist/components → components}/Tabs/tabs.js +0 -0
- /package/{dist/components → components}/Text/index.js +0 -0
- /package/{dist/components → components}/Text/text.css.js +0 -0
- /package/{dist/components → components}/Text/text.js +0 -0
- /package/{dist/components → components}/Textarea/textarea.css.js +0 -0
- /package/{dist/components → components}/Textarea/textarea.js +0 -0
- /package/{dist/components → components}/Toggle/toggle.css.js +0 -0
- /package/{dist/components → components}/Toggle/toggle.js +0 -0
- /package/{dist/components → components}/ToggleGroup/toggle-group.css.js +0 -0
- /package/{dist/components → components}/ToggleGroup/toggle-group.js +0 -0
- /package/{dist/components → components}/index.js +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/src → src}/DataTable/data-table-column-toggle.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-empty.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-error.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-infinite-loader.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-loading.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-pagination.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table-toolbar.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table.css.d.ts +0 -0
- /package/{dist/src → src}/DataTable/data-table.d.ts +0 -0
- /package/{dist/src → src}/DataTable/index.d.ts +0 -0
- /package/{dist/src → src}/DataTable/types.d.ts +0 -0
- /package/{dist/src → src}/DataTable/use-infinite-scroll.d.ts +0 -0
- /package/{dist/src → src}/components/Accordion/accordion.css.d.ts +0 -0
- /package/{dist/src → src}/components/Accordion/accordion.d.ts +0 -0
- /package/{dist/src → src}/components/Accordion/index.d.ts +0 -0
- /package/{dist/src → src}/components/Alert/alert.css.d.ts +0 -0
- /package/{dist/src → src}/components/Alert/alert.d.ts +0 -0
- /package/{dist/src → src}/components/Alert/index.d.ts +0 -0
- /package/{dist/src → src}/components/AlertDialog/alert-dialog.css.d.ts +0 -0
- /package/{dist/src → src}/components/AlertDialog/alert-dialog.d.ts +0 -0
- /package/{dist/src → src}/components/AlertDialog/index.d.ts +0 -0
- /package/{dist/src → src}/components/Autocomplete/autocomplete.css.d.ts +0 -0
- /package/{dist/src → src}/components/Autocomplete/autocomplete.d.ts +0 -0
- /package/{dist/src → src}/components/Autocomplete/index.d.ts +0 -0
- /package/{dist/src → src}/components/Avatar/avatar.css.d.ts +0 -0
- /package/{dist/src → src}/components/Avatar/avatar.d.ts +0 -0
- /package/{dist/src → src}/components/Avatar/index.d.ts +0 -0
- /package/{dist/src → src}/components/Badge/badge.css.d.ts +0 -0
- /package/{dist/src → src}/components/Badge/badge.d.ts +0 -0
- /package/{dist/src → src}/components/Badge/index.d.ts +0 -0
- /package/{dist/src → src}/components/Box/box.css.d.ts +0 -0
- /package/{dist/src → src}/components/Box/box.d.ts +0 -0
- /package/{dist/src → src}/components/Box/index.d.ts +0 -0
- /package/{dist/src → src}/components/Breadcrumbs/breadcrumbs.css.d.ts +0 -0
- /package/{dist/src → src}/components/Breadcrumbs/breadcrumbs.d.ts +0 -0
- /package/{dist/src → src}/components/Breadcrumbs/index.d.ts +0 -0
- /package/{dist/src → src}/components/Button/button.css.d.ts +0 -0
- /package/{dist/src → src}/components/Button/button.d.ts +0 -0
- /package/{dist/src → src}/components/Button/index.d.ts +0 -0
- /package/{dist/src → src}/components/Calendar/calendar.css.d.ts +0 -0
- /package/{dist/src → src}/components/Calendar/calendar.d.ts +0 -0
- /package/{dist/src → src}/components/Calendar/index.d.ts +0 -0
- /package/{dist/src → src}/components/Card/card.d.ts +0 -0
- /package/{dist/src → src}/components/Card/index.d.ts +0 -0
- /package/{dist/src → src}/components/Checkbox/checkbox.css.d.ts +0 -0
- /package/{dist/src → src}/components/Checkbox/checkbox.d.ts +0 -0
- /package/{dist/src → src}/components/Checkbox/index.d.ts +0 -0
- /package/{dist/src → src}/components/CloseButton/close-button.css.d.ts +0 -0
- /package/{dist/src → src}/components/CloseButton/close-button.d.ts +0 -0
- /package/{dist/src → src}/components/CloseButton/index.d.ts +0 -0
- /package/{dist/src → src}/components/ColorPicker/color-picker.d.ts +0 -0
- /package/{dist/src → src}/components/ColorPicker/index.d.ts +0 -0
- /package/{dist/src → src}/components/ColorSwatch/color-swatch.d.ts +0 -0
- /package/{dist/src → src}/components/ColorSwatch/index.d.ts +0 -0
- /package/{dist/src → src}/components/Combobox/combobox.css.d.ts +0 -0
- /package/{dist/src → src}/components/Combobox/combobox.d.ts +0 -0
- /package/{dist/src → src}/components/Combobox/index.d.ts +0 -0
- /package/{dist/src → src}/components/Command/command.css.d.ts +0 -0
- /package/{dist/src → src}/components/Command/command.d.ts +0 -0
- /package/{dist/src → src}/components/Command/index.d.ts +0 -0
- /package/{dist/src → src}/components/Container/container.css.d.ts +0 -0
- /package/{dist/src → src}/components/Container/container.d.ts +0 -0
- /package/{dist/src → src}/components/Container/index.d.ts +0 -0
- /package/{dist/src → src}/components/CopyButton/copy-button.css.d.ts +0 -0
- /package/{dist/src → src}/components/CopyButton/copy-button.d.ts +0 -0
- /package/{dist/src → src}/components/CopyButton/index.d.ts +0 -0
- /package/{dist/src → src}/components/DatePicker/date-picker.d.ts +0 -0
- /package/{dist/src → src}/components/DatePicker/index.d.ts +0 -0
- /package/{dist/src → src}/components/Dialog/dialog.css.d.ts +0 -0
- /package/{dist/src → src}/components/Dialog/dialog.d.ts +0 -0
- /package/{dist/src → src}/components/Dialog/index.d.ts +0 -0
- /package/{dist/src → src}/components/Drawer/drawer.css.d.ts +0 -0
- /package/{dist/src → src}/components/Drawer/drawer.d.ts +0 -0
- /package/{dist/src → src}/components/Drawer/index.d.ts +0 -0
- /package/{dist/src → src}/components/Field/field.css.d.ts +0 -0
- /package/{dist/src → src}/components/Field/field.d.ts +0 -0
- /package/{dist/src → src}/components/Field/index.d.ts +0 -0
- /package/{dist/src → src}/components/Grid/grid.css.d.ts +0 -0
- /package/{dist/src → src}/components/Grid/grid.d.ts +0 -0
- /package/{dist/src → src}/components/Grid/index.d.ts +0 -0
- /package/{dist/src → src}/components/Icon/icon.css.d.ts +0 -0
- /package/{dist/src → src}/components/Icon/icon.d.ts +0 -0
- /package/{dist/src → src}/components/Icon/index.d.ts +0 -0
- /package/{dist/src → src}/components/IconButton/icon-button.css.d.ts +0 -0
- /package/{dist/src → src}/components/IconButton/icon-button.d.ts +0 -0
- /package/{dist/src → src}/components/IconButton/index.d.ts +0 -0
- /package/{dist/src → src}/components/Input/index.d.ts +0 -0
- /package/{dist/src → src}/components/Input/input.css.d.ts +0 -0
- /package/{dist/src → src}/components/Input/input.d.ts +0 -0
- /package/{dist/src → src}/components/InputGroup/index.d.ts +0 -0
- /package/{dist/src → src}/components/InputGroup/input-group.css.d.ts +0 -0
- /package/{dist/src → src}/components/InputGroup/input-group.d.ts +0 -0
- /package/{dist/src → src}/components/Menu/index.d.ts +0 -0
- /package/{dist/src → src}/components/Menu/menu.css.d.ts +0 -0
- /package/{dist/src → src}/components/Menu/menu.d.ts +0 -0
- /package/{dist/src → src}/components/OTPField/index.d.ts +0 -0
- /package/{dist/src → src}/components/OTPField/otp-field.css.d.ts +0 -0
- /package/{dist/src → src}/components/OTPField/otp-field.d.ts +0 -0
- /package/{dist/src → src}/components/Popover/index.d.ts +0 -0
- /package/{dist/src → src}/components/Popover/popover.css.d.ts +0 -0
- /package/{dist/src → src}/components/Popover/popover.d.ts +0 -0
- /package/{dist/src → src}/components/Progress/index.d.ts +0 -0
- /package/{dist/src → src}/components/Progress/progress.css.d.ts +0 -0
- /package/{dist/src → src}/components/Progress/progress.d.ts +0 -0
- /package/{dist/src → src}/components/Radio/index.d.ts +0 -0
- /package/{dist/src → src}/components/Radio/radio.css.d.ts +0 -0
- /package/{dist/src → src}/components/Radio/radio.d.ts +0 -0
- /package/{dist/src → src}/components/ScrollArea/index.d.ts +0 -0
- /package/{dist/src → src}/components/ScrollArea/scroll-area.css.d.ts +0 -0
- /package/{dist/src → src}/components/ScrollArea/scroll-area.d.ts +0 -0
- /package/{dist/src → src}/components/SegmentedControl/index.d.ts +0 -0
- /package/{dist/src → src}/components/SegmentedControl/segmented-control.d.ts +0 -0
- /package/{dist/src → src}/components/Select/index.d.ts +0 -0
- /package/{dist/src → src}/components/Select/select.css.d.ts +0 -0
- /package/{dist/src → src}/components/Select/select.d.ts +0 -0
- /package/{dist/src → src}/components/Separator/index.d.ts +0 -0
- /package/{dist/src → src}/components/Separator/separator.css.d.ts +0 -0
- /package/{dist/src → src}/components/Separator/separator.d.ts +0 -0
- /package/{dist/src → src}/components/Sheet/index.d.ts +0 -0
- /package/{dist/src → src}/components/Sheet/sheet.css.d.ts +0 -0
- /package/{dist/src → src}/components/Sheet/sheet.d.ts +0 -0
- /package/{dist/src → src}/components/Slider/index.d.ts +0 -0
- /package/{dist/src → src}/components/Slider/slider.css.d.ts +0 -0
- /package/{dist/src → src}/components/Slider/slider.d.ts +0 -0
- /package/{dist/src → src}/components/Spinner/index.d.ts +0 -0
- /package/{dist/src → src}/components/Spinner/spinner.css.d.ts +0 -0
- /package/{dist/src → src}/components/Spinner/spinner.d.ts +0 -0
- /package/{dist/src → src}/components/Splitter/index.d.ts +0 -0
- /package/{dist/src → src}/components/Splitter/splitter.css.d.ts +0 -0
- /package/{dist/src → src}/components/Splitter/splitter.d.ts +0 -0
- /package/{dist/src → src}/components/Stack/index.d.ts +0 -0
- /package/{dist/src → src}/components/Stack/stack.css.d.ts +0 -0
- /package/{dist/src → src}/components/Stack/stack.d.ts +0 -0
- /package/{dist/src → src}/components/Surface/index.d.ts +0 -0
- /package/{dist/src → src}/components/Surface/surface.css.d.ts +0 -0
- /package/{dist/src → src}/components/Surface/surface.d.ts +0 -0
- /package/{dist/src → src}/components/Switch/index.d.ts +0 -0
- /package/{dist/src → src}/components/Switch/switch.css.d.ts +0 -0
- /package/{dist/src → src}/components/Switch/switch.d.ts +0 -0
- /package/{dist/src → src}/components/Table/index.d.ts +0 -0
- /package/{dist/src → src}/components/Table/table.css.d.ts +0 -0
- /package/{dist/src → src}/components/Table/table.d.ts +0 -0
- /package/{dist/src → src}/components/Tabs/index.d.ts +0 -0
- /package/{dist/src → src}/components/Tabs/tabs.css.d.ts +0 -0
- /package/{dist/src → src}/components/Tabs/tabs.d.ts +0 -0
- /package/{dist/src → src}/components/Text/index.d.ts +0 -0
- /package/{dist/src → src}/components/Text/text.css.d.ts +0 -0
- /package/{dist/src → src}/components/Text/text.d.ts +0 -0
- /package/{dist/src → src}/components/Textarea/index.d.ts +0 -0
- /package/{dist/src → src}/components/Textarea/textarea.css.d.ts +0 -0
- /package/{dist/src → src}/components/Textarea/textarea.d.ts +0 -0
- /package/{dist/src → src}/components/Toggle/index.d.ts +0 -0
- /package/{dist/src → src}/components/Toggle/toggle.css.d.ts +0 -0
- /package/{dist/src → src}/components/Toggle/toggle.d.ts +0 -0
- /package/{dist/src → src}/components/ToggleGroup/index.d.ts +0 -0
- /package/{dist/src → src}/components/ToggleGroup/toggle-group.css.d.ts +0 -0
- /package/{dist/src → src}/components/ToggleGroup/toggle-group.d.ts +0 -0
- /package/{dist/src → src}/components/index.d.ts +0 -0
- /package/{dist/src → src}/index.d.ts +0 -0
- /package/{dist/src → src}/utils/heights.d.ts +0 -0
- /package/{dist/src → src}/utils/sprinkles.css.d.ts +0 -0
- /package/{dist/src → src}/utils/types.d.ts +0 -0
- /package/{dist/src → src}/utils/ve-style.utils.d.ts +0 -0
- /package/{dist/utils → utils}/sprinkles.css.js +0 -0
- /package/{dist/utils → utils}/ve-style.utils.js +0 -0
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { ToggleGroup as ToggleGroupPrimitive } from "@base-ui/react/toggle-group";
|
|
4
|
-
import clsx from "clsx";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import type { SeparatorProps } from "../Separator/separator";
|
|
7
|
-
import { Separator } from "../Separator/separator";
|
|
8
|
-
import {
|
|
9
|
-
Toggle as ToggleComponent,
|
|
10
|
-
type ToggleProps as ToggleComponentProps,
|
|
11
|
-
type ToggleSize,
|
|
12
|
-
type ToggleVariant,
|
|
13
|
-
} from "../Toggle/toggle";
|
|
14
|
-
import {
|
|
15
|
-
groupBase,
|
|
16
|
-
groupHorizontal,
|
|
17
|
-
groupVertical,
|
|
18
|
-
groupDefault,
|
|
19
|
-
groupOutline,
|
|
20
|
-
outlineItemHorizontal,
|
|
21
|
-
outlineItemVertical,
|
|
22
|
-
} from "./toggle-group.css";
|
|
23
|
-
|
|
24
|
-
type ToggleGroupVariant = ToggleVariant;
|
|
25
|
-
type ToggleGroupSize = ToggleSize;
|
|
26
|
-
|
|
27
|
-
type ToggleGroupContextValue = {
|
|
28
|
-
variant: ToggleGroupVariant;
|
|
29
|
-
size: ToggleGroupSize;
|
|
30
|
-
orientation: "horizontal" | "vertical";
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export const ToggleGroupContext = React.createContext<ToggleGroupContextValue | null>(null);
|
|
34
|
-
|
|
35
|
-
export type ToggleGroupProps = ToggleGroupPrimitive.Props & {
|
|
36
|
-
variant?: ToggleGroupVariant;
|
|
37
|
-
size?: ToggleGroupSize;
|
|
38
|
-
orientation?: "horizontal" | "vertical";
|
|
39
|
-
className?: string;
|
|
40
|
-
style?: React.CSSProperties;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export function ToggleGroup({
|
|
44
|
-
className,
|
|
45
|
-
style,
|
|
46
|
-
variant = "default",
|
|
47
|
-
size = "default",
|
|
48
|
-
orientation = "horizontal",
|
|
49
|
-
children,
|
|
50
|
-
...props
|
|
51
|
-
}: ToggleGroupProps): React.ReactElement {
|
|
52
|
-
const isHorizontal = orientation === "horizontal";
|
|
53
|
-
const isOutline = variant === "outline";
|
|
54
|
-
|
|
55
|
-
const contextValue = React.useMemo(
|
|
56
|
-
() => ({ variant, size, orientation }),
|
|
57
|
-
[variant, size, orientation],
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
return (
|
|
61
|
-
<ToggleGroupPrimitive
|
|
62
|
-
className={clsx(
|
|
63
|
-
groupBase,
|
|
64
|
-
isHorizontal ? groupHorizontal : groupVertical,
|
|
65
|
-
isOutline ? groupOutline : groupDefault,
|
|
66
|
-
className,
|
|
67
|
-
)}
|
|
68
|
-
style={style}
|
|
69
|
-
data-slot="toggle-group"
|
|
70
|
-
data-variant={variant}
|
|
71
|
-
data-size={size}
|
|
72
|
-
orientation={orientation}
|
|
73
|
-
{...props}
|
|
74
|
-
>
|
|
75
|
-
<ToggleGroupContext.Provider value={contextValue}>{children}</ToggleGroupContext.Provider>
|
|
76
|
-
</ToggleGroupPrimitive>
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function ToggleGroupItem({
|
|
81
|
-
className,
|
|
82
|
-
style,
|
|
83
|
-
children,
|
|
84
|
-
variant,
|
|
85
|
-
size,
|
|
86
|
-
...props
|
|
87
|
-
}: ToggleComponentProps & {
|
|
88
|
-
variant?: ToggleGroupVariant;
|
|
89
|
-
size?: ToggleGroupSize;
|
|
90
|
-
className?: string;
|
|
91
|
-
style?: React.CSSProperties;
|
|
92
|
-
}): React.ReactElement {
|
|
93
|
-
const context = React.useContext(ToggleGroupContext);
|
|
94
|
-
|
|
95
|
-
const resolvedVariant = variant ?? context?.variant ?? "default";
|
|
96
|
-
const resolvedSize = size ?? context?.size ?? "default";
|
|
97
|
-
const orientation = context?.orientation ?? "horizontal";
|
|
98
|
-
const isOutline = resolvedVariant === "outline";
|
|
99
|
-
|
|
100
|
-
return (
|
|
101
|
-
<ToggleComponent
|
|
102
|
-
className={clsx(
|
|
103
|
-
isOutline && (orientation === "horizontal" ? outlineItemHorizontal : outlineItemVertical),
|
|
104
|
-
className,
|
|
105
|
-
)}
|
|
106
|
-
style={style}
|
|
107
|
-
data-size={resolvedSize}
|
|
108
|
-
data-variant={resolvedVariant}
|
|
109
|
-
size={resolvedSize}
|
|
110
|
-
variant={resolvedVariant}
|
|
111
|
-
{...props}
|
|
112
|
-
>
|
|
113
|
-
{children}
|
|
114
|
-
</ToggleComponent>
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export function ToggleGroupSeparator({
|
|
119
|
-
className,
|
|
120
|
-
orientation,
|
|
121
|
-
...props
|
|
122
|
-
}: {
|
|
123
|
-
className?: string;
|
|
124
|
-
orientation?: "horizontal" | "vertical";
|
|
125
|
-
} & SeparatorProps): React.ReactElement {
|
|
126
|
-
const context = React.useContext(ToggleGroupContext);
|
|
127
|
-
const resolvedOrientation =
|
|
128
|
-
orientation ?? (context?.orientation === "vertical" ? "horizontal" : "vertical");
|
|
129
|
-
|
|
130
|
-
return <Separator className={clsx(className)} orientation={resolvedOrientation} {...props} />;
|
|
131
|
-
}
|
package/src/components/index.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// ─── Design System: @/components/ui ───────────────────────────────────────────
|
|
2
|
-
// Components
|
|
3
|
-
|
|
4
|
-
export * from "./Accordion/accordion";
|
|
5
|
-
export * from "./Alert/alert";
|
|
6
|
-
export * from "./AlertDialog/alert-dialog";
|
|
7
|
-
export * from "./Autocomplete/autocomplete";
|
|
8
|
-
export * from "./Avatar/avatar";
|
|
9
|
-
export * from "./Badge/badge";
|
|
10
|
-
export * from "./Box/box";
|
|
11
|
-
export * from "./Breadcrumbs/breadcrumbs";
|
|
12
|
-
export * from "./Button/button";
|
|
13
|
-
export * from "./Calendar/calendar";
|
|
14
|
-
export * from "./Card/card";
|
|
15
|
-
export * from "./Checkbox/checkbox";
|
|
16
|
-
export * from "./Command/command";
|
|
17
|
-
export * from "./ColorPicker/color-picker";
|
|
18
|
-
export * from "./ColorSwatch/color-swatch";
|
|
19
|
-
export * from "./Combobox/combobox";
|
|
20
|
-
export * from "./Container/container";
|
|
21
|
-
// Export * from "./DatePicker/date-picker";
|
|
22
|
-
export * from "./Dialog/dialog";
|
|
23
|
-
export * from "./Drawer/drawer";
|
|
24
|
-
export * from "./Field/field";
|
|
25
|
-
export * from "./Grid/grid";
|
|
26
|
-
export * from "./Icon/icon";
|
|
27
|
-
export * from "./IconButton";
|
|
28
|
-
export * from "./CopyButton";
|
|
29
|
-
export * from "./CloseButton";
|
|
30
|
-
export * from "./Input/input";
|
|
31
|
-
export * from "./InputGroup/input-group";
|
|
32
|
-
export * from "./OTPField/otp-field";
|
|
33
|
-
export * from "./Menu/menu";
|
|
34
|
-
export * from "./Popover/popover";
|
|
35
|
-
export * from "./Progress/progress";
|
|
36
|
-
export * from "./Radio/radio";
|
|
37
|
-
export * from "./ScrollArea/scroll-area";
|
|
38
|
-
export * from "./SegmentedControl/segmented-control";
|
|
39
|
-
export * from "./Select/select";
|
|
40
|
-
export * from "./Separator/separator";
|
|
41
|
-
export * from "./Sheet/sheet";
|
|
42
|
-
export * from "./Slider/slider";
|
|
43
|
-
export * from "./Spinner/spinner";
|
|
44
|
-
export * from "./Splitter/splitter";
|
|
45
|
-
export * from "./Stack/stack";
|
|
46
|
-
export * from "./Surface/surface";
|
|
47
|
-
export * from "./Switch/switch";
|
|
48
|
-
export * from "./Table/table";
|
|
49
|
-
export * from "./Tabs/tabs";
|
|
50
|
-
export * from "./Text/text";
|
|
51
|
-
export * from "./Textarea/textarea";
|
|
52
|
-
export * from "./Toggle/toggle";
|
|
53
|
-
export * from "./ToggleGroup/toggle-group";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Accordion, Text } from "../components";
|
|
2
|
-
|
|
3
|
-
export function AccordionDemo() {
|
|
4
|
-
return (
|
|
5
|
-
<Accordion.Root>
|
|
6
|
-
<Accordion.Item value="item-1">
|
|
7
|
-
<Accordion.Header>
|
|
8
|
-
<Accordion.Trigger>What is Blenx UI?</Accordion.Trigger>
|
|
9
|
-
</Accordion.Header>
|
|
10
|
-
<Accordion.Panel>
|
|
11
|
-
<Text variant="body2">
|
|
12
|
-
Blenx UI is a modern React component library built with StyleX and Base UI.
|
|
13
|
-
</Text>
|
|
14
|
-
</Accordion.Panel>
|
|
15
|
-
</Accordion.Item>
|
|
16
|
-
<Accordion.Item value="item-2">
|
|
17
|
-
<Accordion.Header>
|
|
18
|
-
<Accordion.Trigger>How do I install it?</Accordion.Trigger>
|
|
19
|
-
</Accordion.Header>
|
|
20
|
-
<Accordion.Panel>
|
|
21
|
-
<Text variant="body2">
|
|
22
|
-
Install via the shadcn CLI with:{" "}
|
|
23
|
-
<Text variant="code">npx shadcn@latest add button</Text>
|
|
24
|
-
</Text>
|
|
25
|
-
</Accordion.Panel>
|
|
26
|
-
</Accordion.Item>
|
|
27
|
-
<Accordion.Item value="item-3">
|
|
28
|
-
<Accordion.Header>
|
|
29
|
-
<Accordion.Trigger>Is it accessible?</Accordion.Trigger>
|
|
30
|
-
</Accordion.Header>
|
|
31
|
-
<Accordion.Panel>
|
|
32
|
-
<Text variant="body2">
|
|
33
|
-
Yes, all components are built on Base UI primitives with full ARIA support.
|
|
34
|
-
</Text>
|
|
35
|
-
</Accordion.Panel>
|
|
36
|
-
</Accordion.Item>
|
|
37
|
-
</Accordion.Root>
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export const demos = [{ name: "Default", component: AccordionDemo }];
|
package/src/index.ts
DELETED
package/src/utils/heights.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type NamedHeight =
|
|
2
|
-
| "5svh"
|
|
3
|
-
| "10svh"
|
|
4
|
-
| "15svh"
|
|
5
|
-
| "25svh"
|
|
6
|
-
| "40svh"
|
|
7
|
-
| "60svh"
|
|
8
|
-
| "75svh"
|
|
9
|
-
| "90svh"
|
|
10
|
-
| "full"
|
|
11
|
-
| "screen"
|
|
12
|
-
| "none";
|
|
13
|
-
|
|
14
|
-
export function applyBoxHeightStyle(_height: unknown): undefined {
|
|
15
|
-
return undefined;
|
|
16
|
-
}
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { themeContract } from "@blenx-dev/theme/contract";
|
|
2
|
-
import { defineProperties, createSprinkles } from "@vanilla-extract/sprinkles";
|
|
3
|
-
|
|
4
|
-
export const spacing = {
|
|
5
|
-
none: "0",
|
|
6
|
-
xxs: "2px",
|
|
7
|
-
xxsmall: "2px",
|
|
8
|
-
xs: "4px",
|
|
9
|
-
xsmall: "4px",
|
|
10
|
-
sm: "8px",
|
|
11
|
-
small: "8px",
|
|
12
|
-
md: "12px",
|
|
13
|
-
medium: "12px",
|
|
14
|
-
lg: "16px",
|
|
15
|
-
large: "16px",
|
|
16
|
-
xl: "64px",
|
|
17
|
-
xlarge: "80px",
|
|
18
|
-
huge: "96px",
|
|
19
|
-
"2xl": "96px",
|
|
20
|
-
"3xl": "128px",
|
|
21
|
-
massive: "144px",
|
|
22
|
-
} as const;
|
|
23
|
-
|
|
24
|
-
const containerWidths = {
|
|
25
|
-
xxs: "240px",
|
|
26
|
-
xs: "320px",
|
|
27
|
-
sm: "480px",
|
|
28
|
-
md: "640px",
|
|
29
|
-
lg: "768px",
|
|
30
|
-
xl: "1024px",
|
|
31
|
-
"2xl": "1280px",
|
|
32
|
-
"3xl": "1440px",
|
|
33
|
-
xxsmall: "240px",
|
|
34
|
-
xsmall: "320px",
|
|
35
|
-
small: "480px",
|
|
36
|
-
480: "480px",
|
|
37
|
-
640: "640px",
|
|
38
|
-
400: "400px",
|
|
39
|
-
560: "560px",
|
|
40
|
-
medium: "640px",
|
|
41
|
-
large: "768px",
|
|
42
|
-
xlarge: "1024px",
|
|
43
|
-
xxlarge: "1280px",
|
|
44
|
-
xxxlarge: "1440px",
|
|
45
|
-
massive: "1440px",
|
|
46
|
-
full: "100%",
|
|
47
|
-
screen: "100%",
|
|
48
|
-
viewport: "90svw",
|
|
49
|
-
maxViewport: "98svw",
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
const colors = {
|
|
53
|
-
primary: themeContract.contentPrimary,
|
|
54
|
-
default: "currentColor",
|
|
55
|
-
secondary: themeContract.contentSecondary,
|
|
56
|
-
disabled: themeContract.contentDisabled,
|
|
57
|
-
error: themeContract.sentimentNegative,
|
|
58
|
-
success: themeContract.sentimentPositive,
|
|
59
|
-
warning: themeContract.sentimentWarning,
|
|
60
|
-
info: themeContract.sentimentInfo,
|
|
61
|
-
} as const;
|
|
62
|
-
|
|
63
|
-
const responsiveConditions = {
|
|
64
|
-
base: {},
|
|
65
|
-
sm: { "@media": "screen and (min-width: 640px)" },
|
|
66
|
-
md: { "@media": "screen and (min-width: 768px)" },
|
|
67
|
-
lg: { "@media": "screen and (min-width: 1280px)" },
|
|
68
|
-
xl: { "@media": "screen and (min-width: 1536px)" },
|
|
69
|
-
} as const;
|
|
70
|
-
|
|
71
|
-
const layoutProperties = defineProperties({
|
|
72
|
-
properties: {
|
|
73
|
-
width: { auto: "auto", full: "100%", fit: "fit-content" },
|
|
74
|
-
maxWidth: containerWidths,
|
|
75
|
-
height: { auto: "auto", full: "100%", fit: "fit-content" },
|
|
76
|
-
maxHeight: {
|
|
77
|
-
"5svh": "5svh",
|
|
78
|
-
"10svh": "10svh",
|
|
79
|
-
"15svh": "15svh",
|
|
80
|
-
"25svh": "25svh",
|
|
81
|
-
"40svh": "40svh",
|
|
82
|
-
"60svh": "60svh",
|
|
83
|
-
"75svh": "75svh",
|
|
84
|
-
"90svh": "90svh",
|
|
85
|
-
full: "100%",
|
|
86
|
-
screen: "100svh",
|
|
87
|
-
none: "none",
|
|
88
|
-
},
|
|
89
|
-
borderRadius: {
|
|
90
|
-
none: "0",
|
|
91
|
-
xxsmall: "2px",
|
|
92
|
-
xsmall: "4px",
|
|
93
|
-
small: "8px",
|
|
94
|
-
medium: "12px",
|
|
95
|
-
large: "16px",
|
|
96
|
-
xlarge: "24px",
|
|
97
|
-
xxlarge: "32px",
|
|
98
|
-
full: "9999px",
|
|
99
|
-
xxs: "2px",
|
|
100
|
-
xs: "4px",
|
|
101
|
-
md: "12px",
|
|
102
|
-
lg: "16px",
|
|
103
|
-
xl: "24px",
|
|
104
|
-
xxl: "32px",
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
shorthands: {
|
|
108
|
-
radius: ["borderRadius"],
|
|
109
|
-
},
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
const colorProperties = defineProperties({
|
|
113
|
-
properties: {
|
|
114
|
-
color: colors,
|
|
115
|
-
backgroundColor: {
|
|
116
|
-
primary: themeContract.primary,
|
|
117
|
-
default: "inherit",
|
|
118
|
-
secondary: themeContract.secondary,
|
|
119
|
-
disabled: themeContract.contentDisabled,
|
|
120
|
-
error: themeContract.sentimentNegativeSubtle,
|
|
121
|
-
success: themeContract.sentimentPositiveSubtle,
|
|
122
|
-
warning: themeContract.sentimentWarningSubtle,
|
|
123
|
-
info: themeContract.sentimentInfoSubtle,
|
|
124
|
-
},
|
|
125
|
-
borderColor: colors,
|
|
126
|
-
},
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
const flexProperties = defineProperties({
|
|
130
|
-
conditions: responsiveConditions,
|
|
131
|
-
defaultCondition: "base",
|
|
132
|
-
properties: {
|
|
133
|
-
flex: ["none", 1],
|
|
134
|
-
flexGrow: { 0: 0, 1: 1 },
|
|
135
|
-
flexShrink: { 0: 0, 1: 1 },
|
|
136
|
-
display: ["block", "flex", "grid", "inline-flex", "none"],
|
|
137
|
-
flexDirection: ["row", "row-reverse", "column", "column-reverse"],
|
|
138
|
-
justifyContent: ["center", "start", "end", "stretch", "between", "around", "evenly"],
|
|
139
|
-
alignItems: ["center", "start", "end", "stretch", "baseline"],
|
|
140
|
-
},
|
|
141
|
-
shorthands: {
|
|
142
|
-
direction: ["flexDirection"],
|
|
143
|
-
justify: ["justifyContent"],
|
|
144
|
-
align: ["alignItems"],
|
|
145
|
-
grow: ["flexGrow"],
|
|
146
|
-
shrink: ["flexShrink"],
|
|
147
|
-
},
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
const positionProperties = defineProperties({
|
|
151
|
-
properties: {
|
|
152
|
-
zIndex: {
|
|
153
|
-
"0": 0,
|
|
154
|
-
"1": 1,
|
|
155
|
-
"-1": -1,
|
|
156
|
-
base: 0,
|
|
157
|
-
raised: 100,
|
|
158
|
-
floating: 1000,
|
|
159
|
-
sticky: 1100,
|
|
160
|
-
overlay: 1200,
|
|
161
|
-
popover: 1300,
|
|
162
|
-
modal: 1400,
|
|
163
|
-
toast: 1500,
|
|
164
|
-
tooltip: 1600,
|
|
165
|
-
},
|
|
166
|
-
position: ["static", "relative", "absolute", "fixed", "sticky"],
|
|
167
|
-
top: spacing,
|
|
168
|
-
bottom: spacing,
|
|
169
|
-
left: spacing,
|
|
170
|
-
right: spacing,
|
|
171
|
-
overflow: ["scroll", "visible", "hidden", "auto"],
|
|
172
|
-
},
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
const responsiveSpacingProperties = defineProperties({
|
|
176
|
-
conditions: responsiveConditions,
|
|
177
|
-
defaultCondition: "base",
|
|
178
|
-
properties: {
|
|
179
|
-
padding: spacing,
|
|
180
|
-
paddingTop: spacing,
|
|
181
|
-
paddingBottom: spacing,
|
|
182
|
-
paddingLeft: spacing,
|
|
183
|
-
paddingRight: spacing,
|
|
184
|
-
margin: spacing,
|
|
185
|
-
marginTop: spacing,
|
|
186
|
-
marginBottom: spacing,
|
|
187
|
-
marginLeft: spacing,
|
|
188
|
-
marginRight: spacing,
|
|
189
|
-
gap: spacing,
|
|
190
|
-
rowGap: spacing,
|
|
191
|
-
columnGap: spacing,
|
|
192
|
-
},
|
|
193
|
-
shorthands: {
|
|
194
|
-
p: ["paddingTop", "paddingBottom", "paddingLeft", "paddingRight"],
|
|
195
|
-
paddingX: ["paddingLeft", "paddingRight"],
|
|
196
|
-
px: ["paddingLeft", "paddingRight"],
|
|
197
|
-
py: ["paddingTop", "paddingBottom"],
|
|
198
|
-
paddingY: ["paddingTop", "paddingBottom"],
|
|
199
|
-
m: ["marginTop", "marginBottom", "marginLeft", "marginRight"],
|
|
200
|
-
marginX: ["marginLeft", "marginRight"],
|
|
201
|
-
mx: ["marginLeft", "marginRight"],
|
|
202
|
-
my: ["marginTop", "marginBottom"],
|
|
203
|
-
marginY: ["marginTop", "marginBottom"],
|
|
204
|
-
},
|
|
205
|
-
});
|
|
206
|
-
|
|
207
|
-
/* ── Grid properties ── */
|
|
208
|
-
|
|
209
|
-
const columnValues: Record<number, string> = {};
|
|
210
|
-
for (let i = 1; i <= 12; i++) {
|
|
211
|
-
columnValues[i] = `repeat(${i}, minmax(0, 1fr))`;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
const gridProperties = defineProperties({
|
|
215
|
-
conditions: responsiveConditions,
|
|
216
|
-
defaultCondition: "base",
|
|
217
|
-
properties: {
|
|
218
|
-
gridTemplateColumns: columnValues,
|
|
219
|
-
gridAutoFlow: {
|
|
220
|
-
row: "row",
|
|
221
|
-
column: "column",
|
|
222
|
-
dense: "dense",
|
|
223
|
-
"row dense": "row dense",
|
|
224
|
-
"column dense": "column dense",
|
|
225
|
-
},
|
|
226
|
-
alignItems: ["start", "center", "end", "stretch", "baseline"],
|
|
227
|
-
justifyItems: ["start", "center", "end", "stretch"],
|
|
228
|
-
},
|
|
229
|
-
shorthands: {
|
|
230
|
-
columns: ["gridTemplateColumns"],
|
|
231
|
-
flow: ["gridAutoFlow"],
|
|
232
|
-
align: ["alignItems"],
|
|
233
|
-
justify: ["justifyItems"],
|
|
234
|
-
},
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
export const gridSprinkles = createSprinkles(responsiveSpacingProperties, gridProperties);
|
|
238
|
-
|
|
239
|
-
export const baseSprinkles = createSprinkles(
|
|
240
|
-
layoutProperties,
|
|
241
|
-
responsiveSpacingProperties,
|
|
242
|
-
colorProperties,
|
|
243
|
-
flexProperties,
|
|
244
|
-
positionProperties,
|
|
245
|
-
);
|
|
246
|
-
|
|
247
|
-
export type BaseSprinkles = Parameters<typeof baseSprinkles>[0] & {
|
|
248
|
-
fullWidth?: boolean;
|
|
249
|
-
fullHeight?: boolean;
|
|
250
|
-
withBorder?: boolean;
|
|
251
|
-
};
|
package/src/utils/types.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
-
|
|
3
|
-
export type PropsWithClassName<T> = Omit<T, "className" | "style"> & {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type PropsWithStylex<T> = PropsWithClassName<T>;
|
|
9
|
-
|
|
10
|
-
export type _BaseDivProps = useRender.ComponentProps<"div">;
|
|
11
|
-
|
|
12
|
-
export type BorderRadiusProp =
|
|
13
|
-
| "none"
|
|
14
|
-
| "xsmall"
|
|
15
|
-
| "small"
|
|
16
|
-
| "medium"
|
|
17
|
-
| "large"
|
|
18
|
-
| "xlarge"
|
|
19
|
-
| "xxlarge"
|
|
20
|
-
| "full";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { baseSprinkles } from "./sprinkles.css";
|
|
2
|
-
const BASE_SPRINKLE_KEYS = [...baseSprinkles.properties, "withBorder", "fullWidth"];
|
|
3
|
-
const BASE_SPRINKLE_KEYS_SET = new Set<string>(BASE_SPRINKLE_KEYS);
|
|
4
|
-
type BasePropKeys = (typeof BASE_SPRINKLE_KEYS)[number];
|
|
5
|
-
export function applyBaseSprinkles(
|
|
6
|
-
props: Record<string, unknown>,
|
|
7
|
-
): [string, Record<string, unknown>] {
|
|
8
|
-
const sprinkleProps: Record<BasePropKeys, unknown> = {};
|
|
9
|
-
const htmlProps: Record<string, unknown> = {};
|
|
10
|
-
for (const [key, value] of Object.entries(props)) {
|
|
11
|
-
if (key === "fullWidth" && props[key]) {
|
|
12
|
-
sprinkleProps.width = "full";
|
|
13
|
-
} else if (key === "withBorder" && props[key]) {
|
|
14
|
-
sprinkleProps.borderColor = "default";
|
|
15
|
-
} else if (BASE_SPRINKLE_KEYS_SET.has(key)) {
|
|
16
|
-
sprinkleProps[key as BasePropKeys] = value;
|
|
17
|
-
} else {
|
|
18
|
-
htmlProps[key] = value;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
sprinkleProps.color = sprinkleProps.color || "default";
|
|
22
|
-
sprinkleProps.backgroundColor = sprinkleProps.backgroundColor || "default";
|
|
23
|
-
return [baseSprinkles(sprinkleProps), htmlProps];
|
|
24
|
-
}
|
package/tsconfig.build.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"incremental": false,
|
|
5
|
-
"composite": false,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"declaration": true,
|
|
8
|
-
"emitDeclarationOnly": true,
|
|
9
|
-
"outDir": "dist/src",
|
|
10
|
-
"rootDir": "src",
|
|
11
|
-
"noEmitOnError": false
|
|
12
|
-
},
|
|
13
|
-
"include": ["src/**/*.ts", "src/**/*.tsx"]
|
|
14
|
-
}
|
package/tsconfig.json
DELETED
package/vite.config.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import dts from "vite-plugin-dts";
|
|
3
|
-
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
plugins: [
|
|
7
|
-
vanillaExtractPlugin(),
|
|
8
|
-
dts({
|
|
9
|
-
entryRoot: "src",
|
|
10
|
-
outDirs: "dist",
|
|
11
|
-
}),
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
build: {
|
|
15
|
-
target: "esnext",
|
|
16
|
-
minify: false,
|
|
17
|
-
lib: {
|
|
18
|
-
entry: "src/index.ts",
|
|
19
|
-
formats: ["es"],
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
rollupOptions: {
|
|
23
|
-
external: [
|
|
24
|
-
/^react$/,
|
|
25
|
-
/^react-dom$/,
|
|
26
|
-
/^react\/jsx-runtime$/,
|
|
27
|
-
/^@stylexjs\/stylex$/,
|
|
28
|
-
/^@base-ui\/react/,
|
|
29
|
-
/^@phosphor-icons\/react/,
|
|
30
|
-
/^@tanstack\/react-table/,
|
|
31
|
-
/^@tanstack\/react-query/,
|
|
32
|
-
/^@vanilla-extract\/recipes/,
|
|
33
|
-
/^@vanilla-extract\/css/,
|
|
34
|
-
/^@vanilla-extract\/recipes/,
|
|
35
|
-
/^@vanilla-extract\/sprinkles/,
|
|
36
|
-
/react-colorful/,
|
|
37
|
-
/react-day-picker/,
|
|
38
|
-
/clsx/,
|
|
39
|
-
],
|
|
40
|
-
|
|
41
|
-
output: {
|
|
42
|
-
preserveModules: true,
|
|
43
|
-
preserveModulesRoot: "src",
|
|
44
|
-
|
|
45
|
-
entryFileNames: "[name].js",
|
|
46
|
-
chunkFileNames: "[name].js",
|
|
47
|
-
|
|
48
|
-
assetFileNames: "assets/[name][extname]",
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|