@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,259 +0,0 @@
|
|
|
1
|
-
import { style } from "@vanilla-extract/css";
|
|
2
|
-
import { themeContract } from "@blenx-dev/theme/contract";
|
|
3
|
-
import {
|
|
4
|
-
borderRadius,
|
|
5
|
-
duration,
|
|
6
|
-
easing,
|
|
7
|
-
fontSize,
|
|
8
|
-
fonts,
|
|
9
|
-
fontWeight,
|
|
10
|
-
spacing,
|
|
11
|
-
} from "@blenx-dev/theme/tokens";
|
|
12
|
-
|
|
13
|
-
export const root = style({
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "column",
|
|
16
|
-
gap: spacing.medium,
|
|
17
|
-
width: "100%",
|
|
18
|
-
border: "none",
|
|
19
|
-
backgroundColor: "transparent",
|
|
20
|
-
padding: 0,
|
|
21
|
-
borderRadius: 0,
|
|
22
|
-
outline: "none",
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export const rootVertical = style({
|
|
26
|
-
flexDirection: "row",
|
|
27
|
-
alignItems: "flex-start",
|
|
28
|
-
gap: spacing.large,
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export const list = style({
|
|
32
|
-
position: "relative",
|
|
33
|
-
display: "flex",
|
|
34
|
-
overflow: "hidden",
|
|
35
|
-
border: "none",
|
|
36
|
-
outline: "none",
|
|
37
|
-
backgroundColor: "transparent",
|
|
38
|
-
padding: 0,
|
|
39
|
-
borderRadius: 0,
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
export const listDefault = style({
|
|
43
|
-
flexDirection: "row",
|
|
44
|
-
alignItems: "stretch",
|
|
45
|
-
gap: 0,
|
|
46
|
-
padding: 0,
|
|
47
|
-
backgroundColor: "transparent",
|
|
48
|
-
borderBottomWidth: 1,
|
|
49
|
-
borderBottomStyle: "solid",
|
|
50
|
-
borderBottomColor: themeContract.borderSubtle,
|
|
51
|
-
borderRadius: 0,
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export const listUnderline = style({
|
|
55
|
-
display: "flex",
|
|
56
|
-
alignItems: "stretch",
|
|
57
|
-
gap: spacing.large,
|
|
58
|
-
borderBottomWidth: 1,
|
|
59
|
-
borderBottomStyle: "solid",
|
|
60
|
-
borderBottomColor: themeContract.borderSubtle,
|
|
61
|
-
padding: 0,
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
export const listUnderlineVertical = style({
|
|
65
|
-
flexDirection: "column",
|
|
66
|
-
alignSelf: "auto",
|
|
67
|
-
alignItems: "stretch",
|
|
68
|
-
gap: 0,
|
|
69
|
-
padding: 0,
|
|
70
|
-
paddingRight: spacing.small,
|
|
71
|
-
backgroundColor: "transparent",
|
|
72
|
-
borderRightWidth: 1,
|
|
73
|
-
borderRightStyle: "solid",
|
|
74
|
-
borderRightColor: themeContract.borderSubtle,
|
|
75
|
-
borderRadius: 0,
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
export const listVertical = style({
|
|
79
|
-
flexDirection: "column",
|
|
80
|
-
alignItems: "stretch",
|
|
81
|
-
minWidth: 220,
|
|
82
|
-
borderRightWidth: 1,
|
|
83
|
-
borderRightStyle: "solid",
|
|
84
|
-
borderRightColor: themeContract.borderSubtle,
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
export const tabActiveVertical = style({
|
|
88
|
-
color: themeContract.contentPrimary,
|
|
89
|
-
fontWeight: fontWeight.semibold,
|
|
90
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
91
|
-
borderRightWidth: 2,
|
|
92
|
-
borderRightStyle: "solid",
|
|
93
|
-
borderRightColor: themeContract.secondary,
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
export const tabUnderlineActive = style({
|
|
97
|
-
color: themeContract.contentPrimary,
|
|
98
|
-
fontWeight: fontWeight.semibold,
|
|
99
|
-
borderBottomWidth: 2,
|
|
100
|
-
borderBottomStyle: "solid",
|
|
101
|
-
borderBottomColor: themeContract.contentPrimary,
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
export const listGhost = style({
|
|
105
|
-
display: "flex",
|
|
106
|
-
gap: spacing.small,
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
export const tabGhost = style({
|
|
110
|
-
padding: `${spacing.small} ${spacing.medium}`,
|
|
111
|
-
borderRadius: borderRadius.medium,
|
|
112
|
-
color: themeContract.contentSecondary,
|
|
113
|
-
selectors: {
|
|
114
|
-
"&:hover": {
|
|
115
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
export const tabGhostActive = style({
|
|
121
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
122
|
-
color: themeContract.contentPrimary,
|
|
123
|
-
fontWeight: fontWeight.semibold,
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
export const listSegmented = style({
|
|
127
|
-
display: "flex",
|
|
128
|
-
gap: spacing.xxsmall,
|
|
129
|
-
padding: spacing.xxsmall,
|
|
130
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
131
|
-
borderWidth: 1,
|
|
132
|
-
borderStyle: "solid",
|
|
133
|
-
borderColor: themeContract.borderSubtle,
|
|
134
|
-
borderRadius: borderRadius.large,
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
export const tabSegmented = style({
|
|
138
|
-
padding: `${spacing.small} ${spacing.medium}`,
|
|
139
|
-
borderRadius: borderRadius.medium,
|
|
140
|
-
color: themeContract.contentSecondary,
|
|
141
|
-
selectors: {
|
|
142
|
-
"&:hover": {
|
|
143
|
-
backgroundColor: themeContract.surface,
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
});
|
|
147
|
-
|
|
148
|
-
export const tabSegmentedActive = style({
|
|
149
|
-
backgroundColor: themeContract.surface,
|
|
150
|
-
color: themeContract.contentOnPrimary,
|
|
151
|
-
fontWeight: fontWeight.semibold,
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
export const tab = style({
|
|
155
|
-
position: "relative",
|
|
156
|
-
zIndex: 1,
|
|
157
|
-
display: "inline-flex",
|
|
158
|
-
alignItems: "center",
|
|
159
|
-
justifyContent: "center",
|
|
160
|
-
gap: spacing.xsmall,
|
|
161
|
-
minHeight: 36,
|
|
162
|
-
backgroundColor: "transparent",
|
|
163
|
-
cursor: "pointer",
|
|
164
|
-
appearance: "none",
|
|
165
|
-
outline: "none",
|
|
166
|
-
borderWidth: 0,
|
|
167
|
-
border: "none",
|
|
168
|
-
textDecoration: "none",
|
|
169
|
-
whiteSpace: "nowrap",
|
|
170
|
-
userSelect: "none",
|
|
171
|
-
font: "inherit",
|
|
172
|
-
fontFamily: fonts.display,
|
|
173
|
-
WebkitTapHighlightColor: "transparent",
|
|
174
|
-
transition: `color ${duration.normal} ${easing.standard}, background-color ${duration.normal} ${easing.standard}, box-shadow ${duration.normal} ${easing.standard}`,
|
|
175
|
-
});
|
|
176
|
-
|
|
177
|
-
export const tabDefault = style({
|
|
178
|
-
position: "relative",
|
|
179
|
-
padding: `${spacing.small} ${spacing.medium}`,
|
|
180
|
-
borderRadius: 0,
|
|
181
|
-
color: themeContract.contentSecondary,
|
|
182
|
-
fontSize: fontSize.small,
|
|
183
|
-
fontWeight: fontWeight.medium,
|
|
184
|
-
lineHeight: 1.2,
|
|
185
|
-
minHeight: 40,
|
|
186
|
-
backgroundColor: "transparent",
|
|
187
|
-
selectors: {
|
|
188
|
-
"&:hover": {
|
|
189
|
-
color: themeContract.contentPrimary,
|
|
190
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
191
|
-
},
|
|
192
|
-
"&:focus-visible": {
|
|
193
|
-
boxShadow: `inset 0 -2px 0 ${themeContract.secondary}`,
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
export const tabVertical = style({
|
|
199
|
-
width: "100%",
|
|
200
|
-
justifyContent: "flex-start",
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
export const tabActive = style({
|
|
204
|
-
color: themeContract.contentPrimary,
|
|
205
|
-
fontWeight: fontWeight.semibold,
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
export const tabDisabled = style({
|
|
209
|
-
opacity: 0.45,
|
|
210
|
-
cursor: "not-allowed",
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
export const tabActiveDefault = style({
|
|
214
|
-
color: themeContract.contentPrimary,
|
|
215
|
-
fontWeight: fontWeight.semibold,
|
|
216
|
-
backgroundColor: "transparent",
|
|
217
|
-
borderBottomWidth: 2,
|
|
218
|
-
borderBottomStyle: "solid",
|
|
219
|
-
borderBottomColor: themeContract.secondary,
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
export const tabUnderline = style({
|
|
223
|
-
padding: `${spacing.small} 0`,
|
|
224
|
-
borderRadius: 0,
|
|
225
|
-
color: themeContract.contentSecondary,
|
|
226
|
-
fontSize: fontSize.small,
|
|
227
|
-
fontWeight: fontWeight.medium,
|
|
228
|
-
backgroundColor: "transparent",
|
|
229
|
-
selectors: {
|
|
230
|
-
"&:hover": {
|
|
231
|
-
color: themeContract.contentPrimary,
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
});
|
|
235
|
-
|
|
236
|
-
export const indicator = style({
|
|
237
|
-
position: "absolute",
|
|
238
|
-
pointerEvents: "none",
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
export const indicatorDefault = style({
|
|
242
|
-
display: "none",
|
|
243
|
-
});
|
|
244
|
-
|
|
245
|
-
export const indicatorUnderline = style({
|
|
246
|
-
zIndex: 0,
|
|
247
|
-
borderRadius: borderRadius.full,
|
|
248
|
-
backgroundColor: themeContract.secondary,
|
|
249
|
-
});
|
|
250
|
-
|
|
251
|
-
export const panel = style({
|
|
252
|
-
minWidth: 0,
|
|
253
|
-
paddingTop: spacing.large,
|
|
254
|
-
outline: "none",
|
|
255
|
-
});
|
|
256
|
-
|
|
257
|
-
export const panelVertical = style({
|
|
258
|
-
flex: 1,
|
|
259
|
-
});
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { VStack } from "../Stack/stack";
|
|
2
|
-
import { Text } from "../Text/text";
|
|
3
|
-
import { Tabs, TabsList, TabsPanel, TabsTab } from "./tabs";
|
|
4
|
-
|
|
5
|
-
export function TabsDemo() {
|
|
6
|
-
return (
|
|
7
|
-
<VStack gap="medium">
|
|
8
|
-
<Tabs defaultValue="tab1">
|
|
9
|
-
<TabsList>
|
|
10
|
-
<TabsTab value="tab1">Overview</TabsTab>
|
|
11
|
-
<TabsTab value="tab2">Usage</TabsTab>
|
|
12
|
-
<TabsTab value="tab3">API</TabsTab>
|
|
13
|
-
</TabsList>
|
|
14
|
-
<TabsPanel value="tab1">
|
|
15
|
-
<Text variant="body2">
|
|
16
|
-
Welcome to the component overview. Here you will find a summary of features and
|
|
17
|
-
capabilities.
|
|
18
|
-
</Text>
|
|
19
|
-
</TabsPanel>
|
|
20
|
-
<TabsPanel value="tab2">
|
|
21
|
-
<Text variant="body2">
|
|
22
|
-
Usage examples and code snippets to help you integrate the component into your project.
|
|
23
|
-
</Text>
|
|
24
|
-
</TabsPanel>
|
|
25
|
-
<TabsPanel value="tab3">
|
|
26
|
-
<Text variant="body2">Detailed API reference including props, types, and methods.</Text>
|
|
27
|
-
</TabsPanel>
|
|
28
|
-
</Tabs>
|
|
29
|
-
</VStack>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const demos = [{ name: "Default", component: TabsDemo }];
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Stack } from "../Stack/stack";
|
|
2
|
-
import { Text } from "../Text/text";
|
|
3
|
-
import { Tabs, TabsList, TabsPanel, TabsTab } from "./tabs";
|
|
4
|
-
|
|
5
|
-
export function UnderlineStory() {
|
|
6
|
-
return (
|
|
7
|
-
<Stack gap="medium">
|
|
8
|
-
<Text variant="h4">Underline variant</Text>
|
|
9
|
-
<Tabs defaultValue="tab1">
|
|
10
|
-
<TabsList>
|
|
11
|
-
<TabsTab value="tab1">Tab 1</TabsTab>
|
|
12
|
-
<TabsTab value="tab2">Tab 2</TabsTab>
|
|
13
|
-
<TabsTab value="tab3" disabled>
|
|
14
|
-
Disabled
|
|
15
|
-
</TabsTab>
|
|
16
|
-
</TabsList>
|
|
17
|
-
<TabsPanel value="tab1">
|
|
18
|
-
<Text variant="body2">Tab 1 content</Text>
|
|
19
|
-
</TabsPanel>
|
|
20
|
-
<TabsPanel value="tab2">
|
|
21
|
-
<Text variant="body2">Tab 2 content</Text>
|
|
22
|
-
</TabsPanel>
|
|
23
|
-
</Tabs>
|
|
24
|
-
</Stack>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export function GhostStory() {
|
|
29
|
-
return (
|
|
30
|
-
<Stack gap="medium">
|
|
31
|
-
<Text variant="h4">Ghost variant</Text>
|
|
32
|
-
<Tabs defaultValue="tab1" variant="ghost">
|
|
33
|
-
<TabsList>
|
|
34
|
-
<TabsTab value="tab1">Tab 1</TabsTab>
|
|
35
|
-
<TabsTab value="tab2">Tab 2</TabsTab>
|
|
36
|
-
<TabsTab value="tab3">Tab 3</TabsTab>
|
|
37
|
-
</TabsList>
|
|
38
|
-
<TabsPanel value="tab1">
|
|
39
|
-
<Text variant="body2">Ghost tab content</Text>
|
|
40
|
-
</TabsPanel>
|
|
41
|
-
</Tabs>
|
|
42
|
-
</Stack>
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function SegmentedStory() {
|
|
47
|
-
return (
|
|
48
|
-
<Stack gap="medium">
|
|
49
|
-
<Text variant="h4">Segmented variant</Text>
|
|
50
|
-
<Tabs defaultValue="tab1" variant="segmented">
|
|
51
|
-
<TabsList>
|
|
52
|
-
<TabsTab value="tab1">Tab 1</TabsTab>
|
|
53
|
-
<TabsTab value="tab2">Tab 2</TabsTab>
|
|
54
|
-
<TabsTab value="tab3">Tab 3</TabsTab>
|
|
55
|
-
</TabsList>
|
|
56
|
-
<TabsPanel value="tab1">
|
|
57
|
-
<Text variant="body2">Segmented tab content</Text>
|
|
58
|
-
</TabsPanel>
|
|
59
|
-
</Tabs>
|
|
60
|
-
</Stack>
|
|
61
|
-
);
|
|
62
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import {
|
|
5
|
-
root,
|
|
6
|
-
rootVertical,
|
|
7
|
-
list,
|
|
8
|
-
listUnderline,
|
|
9
|
-
listGhost,
|
|
10
|
-
listSegmented,
|
|
11
|
-
tab,
|
|
12
|
-
tabUnderline,
|
|
13
|
-
tabGhost,
|
|
14
|
-
tabSegmented,
|
|
15
|
-
tabVertical,
|
|
16
|
-
tabUnderlineActive,
|
|
17
|
-
tabGhostActive,
|
|
18
|
-
tabSegmentedActive,
|
|
19
|
-
tabDisabled,
|
|
20
|
-
panel,
|
|
21
|
-
panelVertical,
|
|
22
|
-
} from "./tabs.css";
|
|
23
|
-
|
|
24
|
-
type TabsVariant = "underline" | "ghost" | "segmented";
|
|
25
|
-
|
|
26
|
-
type TabsRootProps = TabsPrimitive.Root.Props & {
|
|
27
|
-
variant?: TabsVariant;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
type TabsListProps = TabsPrimitive.List.Props;
|
|
31
|
-
|
|
32
|
-
type TabsTabProps = TabsPrimitive.Tab.Props;
|
|
33
|
-
|
|
34
|
-
type TabsPanelProps = TabsPrimitive.Panel.Props;
|
|
35
|
-
|
|
36
|
-
type TabsContextValue = {
|
|
37
|
-
variant: TabsVariant;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
const DEFAULT_VARIANT: TabsVariant = "underline";
|
|
41
|
-
|
|
42
|
-
const TabsContext = React.createContext<TabsContextValue | null>(null);
|
|
43
|
-
|
|
44
|
-
function useTabsContext(): TabsContextValue {
|
|
45
|
-
return React.useContext(TabsContext) ?? { variant: DEFAULT_VARIANT };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export function Tabs({ children, variant = DEFAULT_VARIANT, ...props }: TabsRootProps) {
|
|
49
|
-
const contextValue = React.useMemo(() => ({ variant }), [variant]);
|
|
50
|
-
|
|
51
|
-
return (
|
|
52
|
-
<TabsContext.Provider value={contextValue}>
|
|
53
|
-
<TabsPrimitive.Root
|
|
54
|
-
className={(state) => clsx(root, state.orientation === "vertical" && rootVertical)}
|
|
55
|
-
{...props}
|
|
56
|
-
>
|
|
57
|
-
{children}
|
|
58
|
-
</TabsPrimitive.Root>
|
|
59
|
-
</TabsContext.Provider>
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function TabsList({ className, ...props }: TabsListProps) {
|
|
64
|
-
const { variant } = useTabsContext();
|
|
65
|
-
|
|
66
|
-
return (
|
|
67
|
-
<TabsPrimitive.List
|
|
68
|
-
className={clsx(
|
|
69
|
-
list,
|
|
70
|
-
variant === "underline" && listUnderline,
|
|
71
|
-
variant === "ghost" && listGhost,
|
|
72
|
-
variant === "segmented" && listSegmented,
|
|
73
|
-
className,
|
|
74
|
-
)}
|
|
75
|
-
{...props}
|
|
76
|
-
/>
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function TabsTab({ className, ...props }: TabsTabProps) {
|
|
81
|
-
const { variant } = useTabsContext();
|
|
82
|
-
|
|
83
|
-
return (
|
|
84
|
-
<TabsPrimitive.Tab
|
|
85
|
-
className={(state) =>
|
|
86
|
-
clsx(
|
|
87
|
-
tab,
|
|
88
|
-
variant === "underline" && tabUnderline,
|
|
89
|
-
variant === "ghost" && tabGhost,
|
|
90
|
-
variant === "segmented" && tabSegmented,
|
|
91
|
-
state.orientation === "vertical" && tabVertical,
|
|
92
|
-
state.active && variant === "underline" && tabUnderlineActive,
|
|
93
|
-
state.active && variant === "ghost" && tabGhostActive,
|
|
94
|
-
state.active && variant === "segmented" && tabSegmentedActive,
|
|
95
|
-
state.disabled && tabDisabled,
|
|
96
|
-
className,
|
|
97
|
-
)
|
|
98
|
-
}
|
|
99
|
-
{...props}
|
|
100
|
-
/>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function TabsIndicator() {
|
|
105
|
-
return null;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function TabsPanel({ className, ...props }: TabsPanelProps) {
|
|
109
|
-
return (
|
|
110
|
-
<TabsPrimitive.Panel
|
|
111
|
-
className={(state) =>
|
|
112
|
-
clsx(panel, state.orientation === "vertical" && panelVertical, className)
|
|
113
|
-
}
|
|
114
|
-
{...props}
|
|
115
|
-
/>
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export { TabsPanel };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://blenx-ui.vercel.app/docs/docs-meta.schema.json",
|
|
3
|
-
"title": "Text",
|
|
4
|
-
"description": "A polymorphic typography component with variant presets for headings, body text, and code. Supports color, alignment, and weight.",
|
|
5
|
-
"category": "Typography",
|
|
6
|
-
"status": "stable",
|
|
7
|
-
"keywords": ["text", "typography", "heading", "paragraph", "font"],
|
|
8
|
-
"related": ["Badge"]
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
-
"name": "text",
|
|
4
|
-
"type": "registry:ui",
|
|
5
|
-
"title": "Text",
|
|
6
|
-
"description": "A StyleX Text component.",
|
|
7
|
-
"files": [
|
|
8
|
-
{
|
|
9
|
-
"file": "text.tsx",
|
|
10
|
-
"type": "registry:ui",
|
|
11
|
-
"target": "@ui/Text/text.tsx"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"file": "text.css.ts",
|
|
15
|
-
"type": "registry:file",
|
|
16
|
-
"target": "@ui/Text/text.css.ts"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { recipe } from "@vanilla-extract/recipes";
|
|
2
|
-
import { themeContract } from "@blenx-dev/theme/contract";
|
|
3
|
-
import {
|
|
4
|
-
borderRadius,
|
|
5
|
-
fonts,
|
|
6
|
-
fontSize,
|
|
7
|
-
fontWeight,
|
|
8
|
-
letterSpacing,
|
|
9
|
-
lineHeight,
|
|
10
|
-
spacing,
|
|
11
|
-
} from "@blenx-dev/theme/tokens";
|
|
12
|
-
|
|
13
|
-
export const textVariants = recipe({
|
|
14
|
-
base: {
|
|
15
|
-
margin: 0,
|
|
16
|
-
textDecoration: "none",
|
|
17
|
-
},
|
|
18
|
-
variants: {
|
|
19
|
-
variant: {
|
|
20
|
-
h1: {
|
|
21
|
-
fontFamily: fonts.display,
|
|
22
|
-
fontSize: fontSize.displayLg,
|
|
23
|
-
lineHeight: lineHeight.tight,
|
|
24
|
-
fontWeight: fontWeight.bold,
|
|
25
|
-
letterSpacing: letterSpacing.tight,
|
|
26
|
-
margin: 0,
|
|
27
|
-
scrollMarginTop: "80px",
|
|
28
|
-
},
|
|
29
|
-
h2: {
|
|
30
|
-
fontFamily: fonts.heading,
|
|
31
|
-
fontSize: fontSize.xxlarge,
|
|
32
|
-
lineHeight: lineHeight.tight,
|
|
33
|
-
fontWeight: fontWeight.bold,
|
|
34
|
-
letterSpacing: letterSpacing.tight,
|
|
35
|
-
margin: 0,
|
|
36
|
-
scrollMarginTop: "80px",
|
|
37
|
-
},
|
|
38
|
-
h3: {
|
|
39
|
-
fontFamily: fonts.heading,
|
|
40
|
-
fontSize: fontSize.xlarge,
|
|
41
|
-
lineHeight: lineHeight.snug,
|
|
42
|
-
fontWeight: fontWeight.semibold,
|
|
43
|
-
letterSpacing: letterSpacing.snug,
|
|
44
|
-
margin: 0,
|
|
45
|
-
scrollMarginTop: "80px",
|
|
46
|
-
},
|
|
47
|
-
h4: {
|
|
48
|
-
fontFamily: fonts.heading,
|
|
49
|
-
fontSize: fontSize.large,
|
|
50
|
-
lineHeight: lineHeight.tight,
|
|
51
|
-
fontWeight: fontWeight.semibold,
|
|
52
|
-
margin: 0,
|
|
53
|
-
scrollMarginTop: "80px",
|
|
54
|
-
},
|
|
55
|
-
h5: {
|
|
56
|
-
fontFamily: fonts.heading,
|
|
57
|
-
fontSize: fontSize.medium,
|
|
58
|
-
lineHeight: lineHeight.normal,
|
|
59
|
-
fontWeight: fontWeight.semibold,
|
|
60
|
-
margin: 0,
|
|
61
|
-
scrollMarginTop: "80px",
|
|
62
|
-
},
|
|
63
|
-
h6: {
|
|
64
|
-
fontFamily: fonts.heading,
|
|
65
|
-
fontSize: fontSize.small,
|
|
66
|
-
lineHeight: lineHeight.normal,
|
|
67
|
-
fontWeight: fontWeight.semibold,
|
|
68
|
-
margin: 0,
|
|
69
|
-
scrollMarginTop: "80px",
|
|
70
|
-
},
|
|
71
|
-
body1: {
|
|
72
|
-
fontFamily: fonts.body,
|
|
73
|
-
fontSize: fontSize.medium,
|
|
74
|
-
lineHeight: lineHeight.normal,
|
|
75
|
-
fontWeight: fontWeight.regular,
|
|
76
|
-
margin: 0,
|
|
77
|
-
},
|
|
78
|
-
body2: {
|
|
79
|
-
fontFamily: fonts.body,
|
|
80
|
-
fontSize: fontSize.small,
|
|
81
|
-
lineHeight: lineHeight.normal,
|
|
82
|
-
fontWeight: fontWeight.regular,
|
|
83
|
-
margin: 0,
|
|
84
|
-
},
|
|
85
|
-
body3: {
|
|
86
|
-
fontFamily: fonts.body,
|
|
87
|
-
fontSize: fontSize.xsmall,
|
|
88
|
-
lineHeight: lineHeight.normal,
|
|
89
|
-
fontWeight: fontWeight.regular,
|
|
90
|
-
margin: 0,
|
|
91
|
-
},
|
|
92
|
-
body4: {
|
|
93
|
-
fontFamily: fonts.label,
|
|
94
|
-
fontSize: fontSize.xxsmall,
|
|
95
|
-
lineHeight: lineHeight.normal,
|
|
96
|
-
fontWeight: fontWeight.medium,
|
|
97
|
-
letterSpacing: letterSpacing.wide,
|
|
98
|
-
margin: 0,
|
|
99
|
-
},
|
|
100
|
-
caption: {
|
|
101
|
-
fontFamily: fonts.label,
|
|
102
|
-
fontSize: fontSize.xsmall,
|
|
103
|
-
lineHeight: lineHeight.normal,
|
|
104
|
-
fontWeight: fontWeight.medium,
|
|
105
|
-
letterSpacing: letterSpacing.wide,
|
|
106
|
-
margin: 0,
|
|
107
|
-
},
|
|
108
|
-
creatorNote: {
|
|
109
|
-
fontFamily: fonts.body,
|
|
110
|
-
fontSize: fontSize.large,
|
|
111
|
-
lineHeight: "28px",
|
|
112
|
-
fontWeight: fontWeight.regular,
|
|
113
|
-
fontStyle: "italic",
|
|
114
|
-
margin: 0,
|
|
115
|
-
},
|
|
116
|
-
p: {
|
|
117
|
-
fontFamily: fonts.body,
|
|
118
|
-
fontSize: fontSize.medium,
|
|
119
|
-
lineHeight: lineHeight.normal,
|
|
120
|
-
fontWeight: fontWeight.regular,
|
|
121
|
-
margin: 0,
|
|
122
|
-
},
|
|
123
|
-
div: {
|
|
124
|
-
fontFamily: fonts.body,
|
|
125
|
-
fontSize: fontSize.medium,
|
|
126
|
-
lineHeight: lineHeight.normal,
|
|
127
|
-
fontWeight: fontWeight.regular,
|
|
128
|
-
margin: 0,
|
|
129
|
-
},
|
|
130
|
-
code: {
|
|
131
|
-
margin: 0,
|
|
132
|
-
backgroundColor: themeContract.backgroundSubtle,
|
|
133
|
-
borderRadius: borderRadius.small,
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
textAlign: {
|
|
137
|
-
left: { textAlign: "left" },
|
|
138
|
-
center: { textAlign: "center" },
|
|
139
|
-
right: { textAlign: "right" },
|
|
140
|
-
},
|
|
141
|
-
weight: {
|
|
142
|
-
regular: { fontWeight: fontWeight.regular },
|
|
143
|
-
medium: { fontWeight: fontWeight.medium },
|
|
144
|
-
semibold: { fontWeight: fontWeight.semibold },
|
|
145
|
-
bold: { fontWeight: fontWeight.bold },
|
|
146
|
-
},
|
|
147
|
-
transform: {
|
|
148
|
-
uppercase: { textTransform: "uppercase" },
|
|
149
|
-
capitalize: { textTransform: "capitalize" },
|
|
150
|
-
none: { textTransform: "none" },
|
|
151
|
-
lowercase: { textTransform: "lowercase" },
|
|
152
|
-
},
|
|
153
|
-
size: {
|
|
154
|
-
xxsmall: { fontSize: spacing.xxsmall, lineHeight: lineHeight.tight },
|
|
155
|
-
xsmall: { fontSize: spacing.xsmall, lineHeight: lineHeight.tight },
|
|
156
|
-
small: { fontSize: spacing.small, lineHeight: lineHeight.tight },
|
|
157
|
-
medium: { fontSize: spacing.medium, lineHeight: lineHeight.tight },
|
|
158
|
-
large: { fontSize: spacing.large, lineHeight: lineHeight.tight },
|
|
159
|
-
xlarge: { fontSize: spacing.xlarge, lineHeight: lineHeight.tight },
|
|
160
|
-
xxlarge: { fontSize: spacing.xxlarge, lineHeight: lineHeight.tight },
|
|
161
|
-
xxxlarge: { fontSize: spacing.xxxlarge, lineHeight: lineHeight.tight },
|
|
162
|
-
huge: { fontSize: spacing.huge, lineHeight: lineHeight.tight },
|
|
163
|
-
massive: { fontSize: spacing.massive, lineHeight: lineHeight.tight },
|
|
164
|
-
titanic: { fontSize: spacing.titanic, lineHeight: lineHeight.tight },
|
|
165
|
-
},
|
|
166
|
-
},
|
|
167
|
-
});
|