@saas-ui/react 3.0.0-alpha.1 → 3.0.0-alpha.10
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/CHANGELOG.md +73 -0
- package/dist/chunk-2EUACKRH.js +26 -0
- package/dist/chunk-3MO37LYW.js +326 -0
- package/dist/chunk-4TR3AOMG.js +33 -0
- package/dist/chunk-6LOMIKR5.js +69 -0
- package/dist/chunk-6ZNR6N2K.js +45 -0
- package/dist/chunk-7VSTNV2B.js +53 -0
- package/dist/chunk-BCNPBZZK.js +45 -0
- package/dist/chunk-CB52LBJK.js +71 -0
- package/dist/chunk-CD2JUFI2.js +231 -0
- package/dist/chunk-FJFNGSPL.js +23 -0
- package/dist/chunk-GGAKUS66.js +141 -0
- package/dist/chunk-H6TFEHY4.js +63 -0
- package/dist/chunk-HELHPHIQ.js +35 -0
- package/dist/chunk-I2RXEKTB.js +38 -0
- package/dist/chunk-JGHXJ3PI.js +102 -0
- package/dist/chunk-L356FPLY.js +20 -0
- package/dist/chunk-LIYUBUOP.js +119 -0
- package/dist/chunk-M7FOBCOV.js +184 -0
- package/dist/chunk-NSD5HRIP.js +46 -0
- package/dist/chunk-Q6SNJJO2.js +63 -0
- package/dist/chunk-QSNSWCTM.js +32 -0
- package/dist/chunk-S3CQW7GD.js +100 -0
- package/dist/chunk-SA3OGTOO.js +23 -0
- package/dist/chunk-SKXSBAOS.js +35 -0
- package/dist/{components/breadcrumbs/index.js → chunk-TT4C5VXB.js} +6 -7
- package/dist/chunk-TZBAM4AD.js +20 -0
- package/dist/chunk-UCQ3LZIE.js +43 -0
- package/dist/chunk-ULAJ3JEO.js +32 -0
- package/dist/chunk-WYLMBMAH.js +22 -0
- package/dist/components/app-shell/index.cjs +1 -1
- package/dist/components/app-shell/index.d.cts +1 -1
- package/dist/components/app-shell/index.d.ts +1 -1
- package/dist/components/app-shell/index.js +3 -40
- package/dist/components/avatar/index.cjs +69 -0
- package/dist/components/avatar/index.d.cts +18 -0
- package/dist/components/avatar/index.d.ts +18 -0
- package/dist/components/avatar/index.js +10 -0
- package/dist/components/{breadcrumbs → breadcrumb}/index.cjs +8 -10
- package/dist/components/{breadcrumbs → breadcrumb}/index.d.cts +3 -4
- package/dist/components/{breadcrumbs → breadcrumb}/index.d.ts +3 -4
- package/dist/components/breadcrumb/index.js +8 -0
- package/dist/components/button/index.js +3 -40
- package/dist/components/checkbox/index.js +3 -15
- package/dist/components/command/index.cjs +1 -1
- package/dist/components/command/index.js +3 -28
- package/dist/components/dialog/index.cjs +19 -58
- package/dist/components/dialog/index.js +4 -67
- package/dist/components/drawer/index.cjs +23 -64
- package/dist/components/drawer/index.d.cts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/index.js +4 -59
- package/dist/components/empty-state/index.cjs +48 -0
- package/dist/components/empty-state/index.d.cts +11 -0
- package/dist/components/empty-state/index.d.ts +11 -0
- package/dist/components/empty-state/index.js +8 -0
- package/dist/components/grid-list/index.cjs +68 -0
- package/dist/components/grid-list/index.d.cts +22 -0
- package/dist/components/grid-list/index.d.ts +22 -0
- package/dist/components/grid-list/index.js +8 -0
- package/dist/components/icon-badge/index.cjs +1 -1
- package/dist/components/icon-badge/index.d.cts +1 -1
- package/dist/components/icon-badge/index.d.ts +1 -1
- package/dist/components/icon-badge/index.js +3 -33
- package/dist/components/link/index.js +3 -14
- package/dist/components/loading-overlay/index.cjs +42 -1879
- package/dist/components/loading-overlay/index.d.cts +19 -6
- package/dist/components/loading-overlay/index.d.ts +19 -6
- package/dist/components/loading-overlay/index.js +7 -1874
- package/dist/components/menu/index.cjs +249 -0
- package/dist/components/menu/index.d.cts +39 -0
- package/dist/components/menu/index.d.ts +39 -0
- package/dist/components/menu/index.js +11 -0
- package/dist/components/navbar/index.cjs +61 -15
- package/dist/components/navbar/index.d.cts +12 -9
- package/dist/components/navbar/index.d.ts +12 -9
- package/dist/components/navbar/index.js +5 -38
- package/dist/components/number-input/index.js +3 -26
- package/dist/components/password-input/index.js +3 -225
- package/dist/components/persona/index.cjs +52 -15
- package/dist/components/persona/index.d.cts +22 -2
- package/dist/components/persona/index.d.ts +22 -2
- package/dist/components/persona/index.js +7 -144
- package/dist/components/pin-input/index.js +3 -21
- package/dist/components/radio/index.js +4 -16
- package/dist/components/search-input/index.js +4 -114
- package/dist/components/segmented-control/index.cjs +60 -0
- package/dist/components/segmented-control/index.d.cts +14 -0
- package/dist/components/segmented-control/index.d.ts +14 -0
- package/dist/components/segmented-control/index.js +8 -0
- package/dist/components/select/index.js +4 -94
- package/dist/components/sidebar/index.cjs +64 -32
- package/dist/components/sidebar/index.d.cts +24 -23
- package/dist/components/sidebar/index.d.ts +24 -23
- package/dist/components/sidebar/index.js +7 -101
- package/dist/components/steps/index.cjs +7 -9
- package/dist/components/steps/index.d.cts +2 -2
- package/dist/components/steps/index.d.ts +2 -2
- package/dist/components/steps/index.js +6 -67
- package/dist/components/switch/index.js +3 -18
- package/dist/components/toaster/index.cjs +54 -0
- package/dist/components/toaster/index.d.cts +10 -0
- package/dist/components/toaster/index.d.ts +10 -0
- package/dist/components/toaster/index.js +10 -0
- package/dist/components/tooltip/index.cjs +57 -0
- package/dist/components/tooltip/index.d.cts +14 -0
- package/dist/components/tooltip/index.d.ts +14 -0
- package/dist/components/tooltip/index.js +8 -0
- package/dist/index.cjs +2357 -220
- package/dist/index.d.cts +38 -2
- package/dist/index.d.ts +38 -2
- package/dist/index.js +515 -276
- package/dist/theme/tokens/colors.cjs +349 -0
- package/dist/theme/tokens/colors.d.cts +856 -0
- package/dist/theme/tokens/colors.d.ts +856 -0
- package/dist/theme/tokens/colors.js +8 -0
- package/package.json +12 -7
- package/dist/chunk-VBIVLREP.js +0 -45
- package/src/components/app-shell/app-shell.recipe.ts +0 -52
- package/src/components/app-shell/app-shell.stories.tsx +0 -51
- package/src/components/app-shell/app-shell.tsx +0 -94
- package/src/components/app-shell/index.ts +0 -3
- package/src/components/breadcrumbs/breadcrumb.stories.tsx +0 -17
- package/src/components/breadcrumbs/breadcrumb.tsx +0 -36
- package/src/components/breadcrumbs/index.ts +0 -1
- package/src/components/breadcrumbs/namespace.ts +0 -8
- package/src/components/button/button.recipe.ts +0 -182
- package/src/components/button/button.stories.tsx +0 -99
- package/src/components/button/button.tsx +0 -55
- package/src/components/button/index.ts +0 -2
- package/src/components/checkbox/checkbox.tsx +0 -26
- package/src/components/checkbox/index.ts +0 -2
- package/src/components/close-button/close-button.stories.tsx +0 -12
- package/src/components/close-button/close-button.tsx +0 -18
- package/src/components/close-button/index.ts +0 -2
- package/src/components/command/command.recipe.ts +0 -17
- package/src/components/command/command.stories.tsx +0 -47
- package/src/components/command/command.tsx +0 -50
- package/src/components/command/index.ts +0 -1
- package/src/components/dialog/dialog.tsx +0 -67
- package/src/components/dialog/index.ts +0 -1
- package/src/components/dialog/namespace.ts +0 -18
- package/src/components/drawer/drawer.tsx +0 -57
- package/src/components/drawer/index.ts +0 -3
- package/src/components/drawer/namespace.ts +0 -19
- package/src/components/grid-list/grid-list.recipe.ts +0 -113
- package/src/components/icon-badge/icon-badge.recipe.ts +0 -57
- package/src/components/icon-badge/icon-badge.stories.tsx +0 -38
- package/src/components/icon-badge/icon-badge.tsx +0 -59
- package/src/components/icon-badge/index.ts +0 -2
- package/src/components/icons/create-icon.tsx +0 -41
- package/src/components/icons/icons.tsx +0 -119
- package/src/components/icons/index.ts +0 -1
- package/src/components/input-group/index.ts +0 -1
- package/src/components/input-group/input-group.tsx +0 -46
- package/src/components/link/index.ts +0 -2
- package/src/components/link/link.stories.tsx +0 -17
- package/src/components/link/link.test.tsx +0 -33
- package/src/components/link/link.tsx +0 -27
- package/src/components/loading-overlay/index.ts +0 -1
- package/src/components/loading-overlay/loading-overlay.recipe.ts +0 -61
- package/src/components/loading-overlay/loading-overlay.stories.tsx +0 -68
- package/src/components/loading-overlay/loading-overlay.tsx +0 -54
- package/src/components/loading-overlay/namespace.ts +0 -7
- package/src/components/navbar/index.ts +0 -1
- package/src/components/navbar/namespace.ts +0 -9
- package/src/components/navbar/navbar.recipe.ts +0 -109
- package/src/components/navbar/navbar.stories.tsx +0 -435
- package/src/components/navbar/navbar.test.tsx +0 -49
- package/src/components/navbar/navbar.tsx +0 -39
- package/src/components/number-input/index.ts +0 -2
- package/src/components/number-input/number-input.tsx +0 -41
- package/src/components/password-input/index.ts +0 -2
- package/src/components/password-input/password-input.tsx +0 -93
- package/src/components/persona/index.ts +0 -2
- package/src/components/persona/namespace.ts +0 -18
- package/src/components/persona/persona-primitive.tsx +0 -220
- package/src/components/persona/persona.recipe.ts +0 -94
- package/src/components/persona/persona.stories.tsx +0 -101
- package/src/components/persona/persona.tsx +0 -142
- package/src/components/pin-input/index.ts +0 -2
- package/src/components/pin-input/pin-input.tsx +0 -36
- package/src/components/radio/index.ts +0 -2
- package/src/components/radio/radio.tsx +0 -27
- package/src/components/search-input/index.ts +0 -2
- package/src/components/search-input/search-input.stories.tsx +0 -63
- package/src/components/search-input/search-input.tsx +0 -134
- package/src/components/select/index.ts +0 -1
- package/src/components/select/namespace.ts +0 -18
- package/src/components/select/select.tsx +0 -135
- package/src/components/sidebar/index.ts +0 -7
- package/src/components/sidebar/namespace.ts +0 -27
- package/src/components/sidebar/sidebar-item.recipe.ts +0 -65
- package/src/components/sidebar/sidebar.recipe.ts +0 -237
- package/src/components/sidebar/sidebar.stories.tsx +0 -903
- package/src/components/sidebar/sidebar.tsx +0 -208
- package/src/components/spinner/index.ts +0 -2
- package/src/components/spinner/spinner.stories.tsx +0 -19
- package/src/components/spinner/spinner.tsx +0 -21
- package/src/components/steps/index.ts +0 -1
- package/src/components/steps/namespace.ts +0 -16
- package/src/components/steps/steps.tsx +0 -82
- package/src/components/switch/index.ts +0 -3
- package/src/components/switch/switch.tsx +0 -39
- package/src/compositions/accordion.tsx +0 -47
- package/src/compositions/action-bar.tsx +0 -40
- package/src/compositions/alert.tsx +0 -51
- package/src/compositions/avatar.tsx +0 -74
- package/src/compositions/blockquote.tsx +0 -31
- package/src/compositions/checkbox-card.tsx +0 -57
- package/src/compositions/checkbox.tsx +0 -25
- package/src/compositions/clipboard.tsx +0 -107
- package/src/compositions/color-mode.tsx +0 -65
- package/src/compositions/data-list.tsx +0 -37
- package/src/compositions/empty-state.tsx +0 -34
- package/src/compositions/field.tsx +0 -33
- package/src/compositions/file-button.tsx +0 -166
- package/src/compositions/hover-card.tsx +0 -35
- package/src/compositions/link-button.tsx +0 -12
- package/src/compositions/menu.tsx +0 -108
- package/src/compositions/native-select.tsx +0 -57
- package/src/compositions/pagination.tsx +0 -207
- package/src/compositions/popover.tsx +0 -58
- package/src/compositions/progress-circle.tsx +0 -37
- package/src/compositions/progress.tsx +0 -40
- package/src/compositions/prose.tsx +0 -264
- package/src/compositions/provider.tsx +0 -12
- package/src/compositions/radio-card.tsx +0 -57
- package/src/compositions/radio.tsx +0 -24
- package/src/compositions/rating.tsx +0 -27
- package/src/compositions/segmented-control.tsx +0 -47
- package/src/compositions/skeleton.tsx +0 -44
- package/src/compositions/slider.tsx +0 -53
- package/src/compositions/stat.tsx +0 -75
- package/src/compositions/status.tsx +0 -29
- package/src/compositions/stepper-input.tsx +0 -49
- package/src/compositions/tag.tsx +0 -39
- package/src/compositions/timeline.tsx +0 -17
- package/src/compositions/toaster.tsx +0 -43
- package/src/compositions/toggle-tip.tsx +0 -62
- package/src/compositions/tooltip.tsx +0 -46
- package/src/index.ts +0 -7
- package/src/preset.ts +0 -9
- package/src/provider/index.ts +0 -4
- package/src/provider/sui-provider.tsx +0 -34
- package/src/provider/use-link.test.tsx +0 -60
- package/src/provider/use-link.tsx +0 -13
- package/src/styled-system/create-recipe-context.tsx +0 -91
- package/src/styled-system/create-slot-recipe-context.tsx +0 -188
- package/src/styled-system/empty.ts +0 -7
- package/src/styled-system/factory.types.ts +0 -11
- package/src/theme/animation-styles.ts +0 -53
- package/src/theme/breakpoints.ts +0 -11
- package/src/theme/conditions.ts +0 -26
- package/src/theme/fluid-font-sizes.ts +0 -65
- package/src/theme/global-css.ts +0 -94
- package/src/theme/index.ts +0 -72
- package/src/theme/layer-styles.ts +0 -116
- package/src/theme/recipes/chakra/accordion.ts +0 -145
- package/src/theme/recipes/chakra/action-bar.ts +0 -62
- package/src/theme/recipes/chakra/alert.ts +0 -157
- package/src/theme/recipes/chakra/avatar.ts +0 -141
- package/src/theme/recipes/chakra/badge.ts +0 -67
- package/src/theme/recipes/chakra/blockquote.ts +0 -83
- package/src/theme/recipes/chakra/breadcrumb.ts +0 -94
- package/src/theme/recipes/chakra/card.ts +0 -99
- package/src/theme/recipes/chakra/checkbox-card.ts +0 -212
- package/src/theme/recipes/chakra/checkbox.ts +0 -70
- package/src/theme/recipes/chakra/checkmark.ts +0 -83
- package/src/theme/recipes/chakra/code.ts +0 -17
- package/src/theme/recipes/chakra/collapsible.ts +0 -20
- package/src/theme/recipes/chakra/container.ts +0 -26
- package/src/theme/recipes/chakra/data-list.ts +0 -80
- package/src/theme/recipes/chakra/dialog.ts +0 -225
- package/src/theme/recipes/chakra/drawer.ts +0 -201
- package/src/theme/recipes/chakra/editable.ts +0 -88
- package/src/theme/recipes/chakra/empty-state.ts +0 -88
- package/src/theme/recipes/chakra/field.ts +0 -68
- package/src/theme/recipes/chakra/fieldset.ts +0 -62
- package/src/theme/recipes/chakra/file-upload.ts +0 -96
- package/src/theme/recipes/chakra/heading.ts +0 -27
- package/src/theme/recipes/chakra/hover-card.ts +0 -68
- package/src/theme/recipes/chakra/icon.ts +0 -30
- package/src/theme/recipes/chakra/input-addon.ts +0 -40
- package/src/theme/recipes/chakra/input.ts +0 -96
- package/src/theme/recipes/chakra/kbd.ts +0 -60
- package/src/theme/recipes/chakra/link.ts +0 -37
- package/src/theme/recipes/chakra/list.ts +0 -67
- package/src/theme/recipes/chakra/mark.ts +0 -27
- package/src/theme/recipes/chakra/menu.ts +0 -124
- package/src/theme/recipes/chakra/native-select.ts +0 -140
- package/src/theme/recipes/chakra/number-input.ts +0 -115
- package/src/theme/recipes/chakra/pin-input.ts +0 -27
- package/src/theme/recipes/chakra/popover.ts +0 -86
- package/src/theme/recipes/chakra/progress-circle.ts +0 -94
- package/src/theme/recipes/chakra/progress.ts +0 -127
- package/src/theme/recipes/chakra/radio-card.ts +0 -220
- package/src/theme/recipes/chakra/radio-group.ts +0 -72
- package/src/theme/recipes/chakra/radiomark.ts +0 -107
- package/src/theme/recipes/chakra/rating-group.ts +0 -94
- package/src/theme/recipes/chakra/segment-group.ts +0 -117
- package/src/theme/recipes/chakra/select.ts +0 -282
- package/src/theme/recipes/chakra/separator.ts +0 -51
- package/src/theme/recipes/chakra/skeleton.ts +0 -53
- package/src/theme/recipes/chakra/skip-nav-link.ts +0 -34
- package/src/theme/recipes/chakra/slider.ts +0 -178
- package/src/theme/recipes/chakra/spinner.ts +0 -32
- package/src/theme/recipes/chakra/stat.ts +0 -79
- package/src/theme/recipes/chakra/status.ts +0 -48
- package/src/theme/recipes/chakra/steps.ts +0 -218
- package/src/theme/recipes/chakra/switch.ts +0 -167
- package/src/theme/recipes/chakra/table.ts +0 -172
- package/src/theme/recipes/chakra/tabs.ts +0 -280
- package/src/theme/recipes/chakra/tag.ts +0 -131
- package/src/theme/recipes/chakra/textarea.ts +0 -88
- package/src/theme/recipes/chakra/timeline.ts +0 -138
- package/src/theme/recipes/chakra/toast.ts +0 -96
- package/src/theme/recipes/chakra/tooltip.ts +0 -40
- package/src/theme/recipes.ts +0 -46
- package/src/theme/semantic-tokens/colors.ts +0 -403
- package/src/theme/semantic-tokens/radii.ts +0 -7
- package/src/theme/semantic-tokens/shadows.ts +0 -52
- package/src/theme/slot-recipes.ts +0 -104
- package/src/theme/text-styles.ts +0 -39
- package/src/theme/tokens/animations.ts +0 -8
- package/src/theme/tokens/aspect-ratios.ts +0 -10
- package/src/theme/tokens/blurs.ts +0 -12
- package/src/theme/tokens/borders.ts +0 -9
- package/src/theme/tokens/colors.ts +0 -177
- package/src/theme/tokens/cursor.ts +0 -12
- package/src/theme/tokens/durations.ts +0 -11
- package/src/theme/tokens/easings.ts +0 -10
- package/src/theme/tokens/font-sizes.ts +0 -20
- package/src/theme/tokens/font-weights.ts +0 -13
- package/src/theme/tokens/fonts.ts +0 -15
- package/src/theme/tokens/keyframes.ts +0 -173
- package/src/theme/tokens/letter-spacing.ts +0 -9
- package/src/theme/tokens/line-heights.ts +0 -19
- package/src/theme/tokens/radius.ts +0 -18
- package/src/theme/tokens/sizes.ts +0 -71
- package/src/theme/tokens/spacing.ts +0 -38
- package/src/theme/tokens/z-indices.ts +0 -34
- package/src/theme/utils.ts +0 -46
- /package/dist/{chunk-KHRLZUV4.js → chunk-O2WVT2BP.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,14 +1,118 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Tooltip
|
|
3
|
+
} from "./chunk-QSNSWCTM.js";
|
|
4
|
+
import {
|
|
5
|
+
colors
|
|
6
|
+
} from "./chunk-3MO37LYW.js";
|
|
7
|
+
import {
|
|
8
|
+
SegmentedControl
|
|
9
|
+
} from "./chunk-SKXSBAOS.js";
|
|
10
|
+
import {
|
|
11
|
+
SearchInput
|
|
12
|
+
} from "./chunk-LIYUBUOP.js";
|
|
13
|
+
import {
|
|
14
|
+
namespace_exports as namespace_exports3
|
|
15
|
+
} from "./chunk-S3CQW7GD.js";
|
|
16
|
+
import {
|
|
17
|
+
sidebar_exports,
|
|
18
|
+
useSidebar,
|
|
19
|
+
useSidebarItemStyles,
|
|
20
|
+
useSidebarStyles
|
|
21
|
+
} from "./chunk-GGAKUS66.js";
|
|
22
|
+
import {
|
|
23
|
+
steps_exports
|
|
24
|
+
} from "./chunk-6LOMIKR5.js";
|
|
25
|
+
import {
|
|
26
|
+
Switch
|
|
27
|
+
} from "./chunk-SA3OGTOO.js";
|
|
28
|
+
import {
|
|
29
|
+
Toaster,
|
|
30
|
+
toast
|
|
31
|
+
} from "./chunk-HELHPHIQ.js";
|
|
32
|
+
import {
|
|
33
|
+
loading_overlay_exports,
|
|
34
|
+
useLoadingOverlayStyles
|
|
35
|
+
} from "./chunk-7VSTNV2B.js";
|
|
36
|
+
import {
|
|
37
|
+
Spinner
|
|
38
|
+
} from "./chunk-32JGENDB.js";
|
|
39
|
+
import {
|
|
40
|
+
menu_exports
|
|
41
|
+
} from "./chunk-JGHXJ3PI.js";
|
|
42
|
+
import {
|
|
43
|
+
navbar_exports
|
|
44
|
+
} from "./chunk-Q6SNJJO2.js";
|
|
45
|
+
import {
|
|
46
|
+
NumberInput
|
|
47
|
+
} from "./chunk-ULAJ3JEO.js";
|
|
48
|
+
import {
|
|
49
|
+
PasswordInput
|
|
50
|
+
} from "./chunk-CD2JUFI2.js";
|
|
51
|
+
import {
|
|
52
|
+
Persona,
|
|
53
|
+
PersonaAvatar,
|
|
54
|
+
defaultPresenceOptions
|
|
55
|
+
} from "./chunk-M7FOBCOV.js";
|
|
56
|
+
import {
|
|
57
|
+
PinInput
|
|
58
|
+
} from "./chunk-2EUACKRH.js";
|
|
59
|
+
import {
|
|
60
|
+
Radio,
|
|
61
|
+
RadioGroup
|
|
62
|
+
} from "./chunk-WYLMBMAH.js";
|
|
63
|
+
import {
|
|
64
|
+
namespace_exports
|
|
65
|
+
} from "./chunk-CB52LBJK.js";
|
|
66
|
+
import {
|
|
67
|
+
namespace_exports as namespace_exports2
|
|
68
|
+
} from "./chunk-H6TFEHY4.js";
|
|
69
|
+
import {
|
|
70
|
+
EmptyState
|
|
71
|
+
} from "./chunk-FJFNGSPL.js";
|
|
72
|
+
import {
|
|
73
|
+
grid_list_exports
|
|
74
|
+
} from "./chunk-NSD5HRIP.js";
|
|
75
|
+
import {
|
|
76
|
+
IconBadge
|
|
77
|
+
} from "./chunk-I2RXEKTB.js";
|
|
78
|
+
import "./chunk-KTLWEUNW.js";
|
|
79
|
+
import {
|
|
80
|
+
InputGroup
|
|
81
|
+
} from "./chunk-PKI6YH2V.js";
|
|
82
|
+
import {
|
|
83
|
+
Link
|
|
84
|
+
} from "./chunk-TZBAM4AD.js";
|
|
1
85
|
import {
|
|
2
86
|
SuiContext,
|
|
3
87
|
SuiProvider,
|
|
4
88
|
useLink,
|
|
5
89
|
useSui
|
|
6
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-O2WVT2BP.js";
|
|
91
|
+
import {
|
|
92
|
+
AppShell
|
|
93
|
+
} from "./chunk-6ZNR6N2K.js";
|
|
94
|
+
import {
|
|
95
|
+
Avatar,
|
|
96
|
+
AvatarGroup
|
|
97
|
+
} from "./chunk-UCQ3LZIE.js";
|
|
98
|
+
import {
|
|
99
|
+
breadcrumb_exports
|
|
100
|
+
} from "./chunk-TT4C5VXB.js";
|
|
101
|
+
import {
|
|
102
|
+
Checkbox
|
|
103
|
+
} from "./chunk-L356FPLY.js";
|
|
104
|
+
import {
|
|
105
|
+
Button
|
|
106
|
+
} from "./chunk-BCNPBZZK.js";
|
|
107
|
+
import {
|
|
108
|
+
CloseButton
|
|
109
|
+
} from "./chunk-FZW2DYK3.js";
|
|
110
|
+
import "./chunk-VDXTEASE.js";
|
|
111
|
+
import {
|
|
112
|
+
Command
|
|
113
|
+
} from "./chunk-4TR3AOMG.js";
|
|
7
114
|
import "./chunk-RTMS5TJN.js";
|
|
8
115
|
|
|
9
|
-
// src/index.ts
|
|
10
|
-
export * from "@saas-ui/core";
|
|
11
|
-
|
|
12
116
|
// src/preset.ts
|
|
13
117
|
import { createSystem, defaultBaseConfig, mergeConfigs } from "@chakra-ui/react";
|
|
14
118
|
|
|
@@ -308,6 +412,7 @@ import { defineRecipe } from "@chakra-ui/react";
|
|
|
308
412
|
var buttonRecipe = defineRecipe({
|
|
309
413
|
className: "chakra-button",
|
|
310
414
|
base: {
|
|
415
|
+
colorPalette: "gray",
|
|
311
416
|
display: "inline-flex",
|
|
312
417
|
appearance: "none",
|
|
313
418
|
alignItems: "center",
|
|
@@ -404,6 +509,7 @@ var buttonRecipe = defineRecipe({
|
|
|
404
509
|
"--btn-shadow": "shadows.sm",
|
|
405
510
|
boxShadow: "0 0 0 1px rgba(0,0,0,0.4) inset, 0px 2px 0px 0px rgba(255,255,255,0.2) inset, var(--btn-shadow)",
|
|
406
511
|
textShadow: "0 1px 2px rgba(0,0,0,0.3)",
|
|
512
|
+
overflow: "clip",
|
|
407
513
|
_after: {
|
|
408
514
|
content: '""',
|
|
409
515
|
position: "absolute",
|
|
@@ -827,11 +933,6 @@ var inputRecipe = defineRecipe10({
|
|
|
827
933
|
},
|
|
828
934
|
variants: {
|
|
829
935
|
size: {
|
|
830
|
-
"2xs": {
|
|
831
|
-
textStyle: "xs",
|
|
832
|
-
px: "2",
|
|
833
|
-
"--input-height": "sizes.7"
|
|
834
|
-
},
|
|
835
936
|
xs: {
|
|
836
937
|
textStyle: "xs",
|
|
837
938
|
px: "2",
|
|
@@ -856,11 +957,6 @@ var inputRecipe = defineRecipe10({
|
|
|
856
957
|
textStyle: "md",
|
|
857
958
|
px: "4.5",
|
|
858
959
|
"--input-height": "sizes.12"
|
|
859
|
-
},
|
|
860
|
-
"2xl": {
|
|
861
|
-
textStyle: "lg",
|
|
862
|
-
px: "5",
|
|
863
|
-
"--input-height": "sizes.16"
|
|
864
960
|
}
|
|
865
961
|
},
|
|
866
962
|
variant: {
|
|
@@ -1431,8 +1527,8 @@ var recipes = {
|
|
|
1431
1527
|
checkmark: checkmarkRecipe,
|
|
1432
1528
|
radiomark: radiomarkRecipe,
|
|
1433
1529
|
// Saas UI
|
|
1434
|
-
|
|
1435
|
-
|
|
1530
|
+
suiCommand: commandRecipe,
|
|
1531
|
+
suiIconBadge: iconBadgeRecipe
|
|
1436
1532
|
};
|
|
1437
1533
|
|
|
1438
1534
|
// src/theme/semantic-tokens/colors.ts
|
|
@@ -1510,11 +1606,14 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1510
1606
|
DEFAULT: {
|
|
1511
1607
|
value: { _light: "{colors.black}", _dark: "{colors.gray.50}" }
|
|
1512
1608
|
},
|
|
1609
|
+
muted: {
|
|
1610
|
+
value: { _light: "{colors.gray.500}", _dark: "{colors.gray.500}" }
|
|
1611
|
+
},
|
|
1513
1612
|
subtle: {
|
|
1514
1613
|
value: { _light: "{colors.gray.600}", _dark: "{colors.gray.400}" }
|
|
1515
1614
|
},
|
|
1516
|
-
|
|
1517
|
-
value: { _light: "{colors.gray.
|
|
1615
|
+
emphasized: {
|
|
1616
|
+
value: { _light: "{colors.gray.800}", _dark: "{colors.gray.200}" }
|
|
1518
1617
|
},
|
|
1519
1618
|
inverted: {
|
|
1520
1619
|
value: { _light: "{colors.gray.50}", _dark: "{colors.black}" }
|
|
@@ -1536,12 +1635,12 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1536
1635
|
DEFAULT: {
|
|
1537
1636
|
value: { _light: "{colors.gray.200}", _dark: "{colors.gray.800}" }
|
|
1538
1637
|
},
|
|
1539
|
-
subtle: {
|
|
1540
|
-
value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
|
|
1541
|
-
},
|
|
1542
1638
|
muted: {
|
|
1543
1639
|
value: { _light: "{colors.gray.50}", _dark: "{colors.gray.950}" }
|
|
1544
1640
|
},
|
|
1641
|
+
subtle: {
|
|
1642
|
+
value: { _light: "{colors.gray.100}", _dark: "{colors.gray.900}" }
|
|
1643
|
+
},
|
|
1545
1644
|
emphasized: {
|
|
1546
1645
|
value: { _light: "{colors.gray.300}", _dark: "{colors.gray.700}" }
|
|
1547
1646
|
},
|
|
@@ -1569,19 +1668,22 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1569
1668
|
value: { _light: "white", _dark: "white" }
|
|
1570
1669
|
},
|
|
1571
1670
|
fg: {
|
|
1572
|
-
value: { _light: "{colors.
|
|
1671
|
+
value: { _light: "{colors.indigo.700}", _dark: "{colors.indigo.300}" }
|
|
1573
1672
|
},
|
|
1574
1673
|
muted: {
|
|
1575
|
-
value: { _light: "{colors.
|
|
1674
|
+
value: { _light: "{colors.indigo.50}", _dark: "{colors.indigo.950}" }
|
|
1576
1675
|
},
|
|
1577
1676
|
subtle: {
|
|
1578
|
-
value: { _light: "{colors.
|
|
1677
|
+
value: { _light: "{colors.indigo.100}", _dark: "{colors.indigo.900}" }
|
|
1579
1678
|
},
|
|
1580
1679
|
emphasized: {
|
|
1581
|
-
value: { _light: "{colors.
|
|
1680
|
+
value: { _light: "{colors.indigo.200}", _dark: "{colors.indigo.800}" }
|
|
1582
1681
|
},
|
|
1583
1682
|
solid: {
|
|
1584
|
-
value: { _light: "{colors.
|
|
1683
|
+
value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
|
|
1684
|
+
},
|
|
1685
|
+
focusRing: {
|
|
1686
|
+
value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
|
|
1585
1687
|
}
|
|
1586
1688
|
},
|
|
1587
1689
|
neutral: {
|
|
@@ -1602,6 +1704,32 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1602
1704
|
},
|
|
1603
1705
|
solid: {
|
|
1604
1706
|
value: { _light: "{colors.gray.900}", _dark: "{colors.white}" }
|
|
1707
|
+
},
|
|
1708
|
+
focusRing: {
|
|
1709
|
+
value: { _light: "{colors.gray.600}", _dark: "{colors.gray.600}" }
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
slate: {
|
|
1713
|
+
contrast: {
|
|
1714
|
+
value: { _light: "white", _dark: "white" }
|
|
1715
|
+
},
|
|
1716
|
+
fg: {
|
|
1717
|
+
value: { _light: "{colors.slate.900}", _dark: "{colors.slate.200}" }
|
|
1718
|
+
},
|
|
1719
|
+
muted: {
|
|
1720
|
+
value: { _light: "{colors.slate.100}", _dark: "{colors.slate.900}" }
|
|
1721
|
+
},
|
|
1722
|
+
subtle: {
|
|
1723
|
+
value: { _light: "{colors.slate.200}", _dark: "{colors.slate.800}" }
|
|
1724
|
+
},
|
|
1725
|
+
emphasized: {
|
|
1726
|
+
value: { _light: "{colors.slate.300}", _dark: "{colors.slate.700}" }
|
|
1727
|
+
},
|
|
1728
|
+
solid: {
|
|
1729
|
+
value: { _light: "{colors.slate.500}", _dark: "{colors.slate.500}" }
|
|
1730
|
+
},
|
|
1731
|
+
focusRing: {
|
|
1732
|
+
value: { _light: "{colors.slate.600}", _dark: "{colors.slate.600}" }
|
|
1605
1733
|
}
|
|
1606
1734
|
},
|
|
1607
1735
|
gray: {
|
|
@@ -1622,6 +1750,55 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1622
1750
|
},
|
|
1623
1751
|
solid: {
|
|
1624
1752
|
value: { _light: "{colors.gray.500}", _dark: "{colors.gray.500}" }
|
|
1753
|
+
},
|
|
1754
|
+
focusRing: {
|
|
1755
|
+
value: { _light: "{colors.gray.600}", _dark: "{colors.gray.600}" }
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
zinc: {
|
|
1759
|
+
contrast: {
|
|
1760
|
+
value: { _light: "white", _dark: "white" }
|
|
1761
|
+
},
|
|
1762
|
+
fg: {
|
|
1763
|
+
value: { _light: "{colors.zinc.900}", _dark: "{colors.zinc.200}" }
|
|
1764
|
+
},
|
|
1765
|
+
muted: {
|
|
1766
|
+
value: { _light: "{colors.zinc.100}", _dark: "{colors.zinc.900}" }
|
|
1767
|
+
},
|
|
1768
|
+
subtle: {
|
|
1769
|
+
value: { _light: "{colors.zinc.200}", _dark: "{colors.zinc.800}" }
|
|
1770
|
+
},
|
|
1771
|
+
emphasized: {
|
|
1772
|
+
value: { _light: "{colors.zinc.300}", _dark: "{colors.zinc.700}" }
|
|
1773
|
+
},
|
|
1774
|
+
solid: {
|
|
1775
|
+
value: { _light: "{colors.zinc.500}", _dark: "{colors.zinc.500}" }
|
|
1776
|
+
},
|
|
1777
|
+
focusRing: {
|
|
1778
|
+
value: { _light: "{colors.zinc.600}", _dark: "{colors.zinc.600}" }
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
stone: {
|
|
1782
|
+
contrast: {
|
|
1783
|
+
value: { _light: "white", _dark: "white" }
|
|
1784
|
+
},
|
|
1785
|
+
fg: {
|
|
1786
|
+
value: { _light: "{colors.stone.900}", _dark: "{colors.stone.200}" }
|
|
1787
|
+
},
|
|
1788
|
+
muted: {
|
|
1789
|
+
value: { _light: "{colors.stone.100}", _dark: "{colors.stone.900}" }
|
|
1790
|
+
},
|
|
1791
|
+
subtle: {
|
|
1792
|
+
value: { _light: "{colors.stone.200}", _dark: "{colors.stone.800}" }
|
|
1793
|
+
},
|
|
1794
|
+
emphasized: {
|
|
1795
|
+
value: { _light: "{colors.stone.300}", _dark: "{colors.stone.700}" }
|
|
1796
|
+
},
|
|
1797
|
+
solid: {
|
|
1798
|
+
value: { _light: "{colors.stone.500}", _dark: "{colors.stone.500}" }
|
|
1799
|
+
},
|
|
1800
|
+
focusRing: {
|
|
1801
|
+
value: { _light: "{colors.stone.600}", _dark: "{colors.stone.600}" }
|
|
1625
1802
|
}
|
|
1626
1803
|
},
|
|
1627
1804
|
red: {
|
|
@@ -1642,6 +1819,9 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1642
1819
|
},
|
|
1643
1820
|
solid: {
|
|
1644
1821
|
value: { _light: "{colors.red.600}", _dark: "{colors.red.600}" }
|
|
1822
|
+
},
|
|
1823
|
+
focusRing: {
|
|
1824
|
+
value: { _light: "{colors.red.600}", _dark: "{colors.red.600}" }
|
|
1645
1825
|
}
|
|
1646
1826
|
},
|
|
1647
1827
|
orange: {
|
|
@@ -1661,7 +1841,79 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1661
1841
|
value: { _light: "{colors.orange.200}", _dark: "{colors.orange.800}" }
|
|
1662
1842
|
},
|
|
1663
1843
|
solid: {
|
|
1664
|
-
value: { _light: "{colors.orange.600}", _dark: "{colors.orange.
|
|
1844
|
+
value: { _light: "{colors.orange.600}", _dark: "{colors.orange.600}" }
|
|
1845
|
+
},
|
|
1846
|
+
focusRing: {
|
|
1847
|
+
value: { _light: "{colors.orange.600}", _dark: "{colors.orange.600}" }
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
amber: {
|
|
1851
|
+
contrast: {
|
|
1852
|
+
value: { _light: "black", _dark: "black" }
|
|
1853
|
+
},
|
|
1854
|
+
fg: {
|
|
1855
|
+
value: { _light: "{colors.amber.700}", _dark: "{colors.amber.300}" }
|
|
1856
|
+
},
|
|
1857
|
+
muted: {
|
|
1858
|
+
value: { _light: "{colors.amber.50}", _dark: "{colors.amber.950}" }
|
|
1859
|
+
},
|
|
1860
|
+
subtle: {
|
|
1861
|
+
value: { _light: "{colors.amber.100}", _dark: "{colors.amber.900}" }
|
|
1862
|
+
},
|
|
1863
|
+
emphasized: {
|
|
1864
|
+
value: { _light: "{colors.amber.200}", _dark: "{colors.amber.800}" }
|
|
1865
|
+
},
|
|
1866
|
+
solid: {
|
|
1867
|
+
value: { _light: "{colors.amber.400}", _dark: "{colors.amber.400}" }
|
|
1868
|
+
},
|
|
1869
|
+
focusRing: {
|
|
1870
|
+
value: { _light: "{colors.amber.400}", _dark: "{colors.amber.400}" }
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
yellow: {
|
|
1874
|
+
contrast: {
|
|
1875
|
+
value: { _light: "black", _dark: "black" }
|
|
1876
|
+
},
|
|
1877
|
+
fg: {
|
|
1878
|
+
value: { _light: "{colors.yellow.700}", _dark: "{colors.yellow.300}" }
|
|
1879
|
+
},
|
|
1880
|
+
muted: {
|
|
1881
|
+
value: { _light: "{colors.yellow.50}", _dark: "{colors.yellow.950}" }
|
|
1882
|
+
},
|
|
1883
|
+
subtle: {
|
|
1884
|
+
value: { _light: "{colors.yellow.100}", _dark: "{colors.yellow.900}" }
|
|
1885
|
+
},
|
|
1886
|
+
emphasized: {
|
|
1887
|
+
value: { _light: "{colors.yellow.200}", _dark: "{colors.yellow.800}" }
|
|
1888
|
+
},
|
|
1889
|
+
solid: {
|
|
1890
|
+
value: { _light: "{colors.yellow.400}", _dark: "{colors.yellow.400}" }
|
|
1891
|
+
},
|
|
1892
|
+
focusRing: {
|
|
1893
|
+
value: { _light: "{colors.yellow.400}", _dark: "{colors.yellow.400}" }
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
lime: {
|
|
1897
|
+
contrast: {
|
|
1898
|
+
value: { _light: "black", _dark: "black" }
|
|
1899
|
+
},
|
|
1900
|
+
fg: {
|
|
1901
|
+
value: { _light: "{colors.lime.700}", _dark: "{colors.lime.300}" }
|
|
1902
|
+
},
|
|
1903
|
+
muted: {
|
|
1904
|
+
value: { _light: "{colors.lime.50}", _dark: "{colors.lime.950}" }
|
|
1905
|
+
},
|
|
1906
|
+
subtle: {
|
|
1907
|
+
value: { _light: "{colors.lime.100}", _dark: "{colors.lime.900}" }
|
|
1908
|
+
},
|
|
1909
|
+
emphasized: {
|
|
1910
|
+
value: { _light: "{colors.lime.200}", _dark: "{colors.lime.800}" }
|
|
1911
|
+
},
|
|
1912
|
+
solid: {
|
|
1913
|
+
value: { _light: "{colors.lime.400}", _dark: "{colors.lime.400}" }
|
|
1914
|
+
},
|
|
1915
|
+
focusRing: {
|
|
1916
|
+
value: { _light: "{colors.lime.400}", _dark: "{colors.lime.400}" }
|
|
1665
1917
|
}
|
|
1666
1918
|
},
|
|
1667
1919
|
green: {
|
|
@@ -1682,66 +1934,124 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1682
1934
|
},
|
|
1683
1935
|
solid: {
|
|
1684
1936
|
value: { _light: "{colors.green.600}", _dark: "{colors.green.600}" }
|
|
1937
|
+
},
|
|
1938
|
+
focusRing: {
|
|
1939
|
+
value: { _light: "{colors.green.600}", _dark: "{colors.green.600}" }
|
|
1685
1940
|
}
|
|
1686
1941
|
},
|
|
1687
|
-
|
|
1942
|
+
emerald: {
|
|
1688
1943
|
contrast: {
|
|
1689
1944
|
value: { _light: "white", _dark: "white" }
|
|
1690
1945
|
},
|
|
1691
1946
|
fg: {
|
|
1692
|
-
value: { _light: "{colors.
|
|
1947
|
+
value: { _light: "{colors.emerald.700}", _dark: "{colors.emerald.300}" }
|
|
1693
1948
|
},
|
|
1694
1949
|
muted: {
|
|
1695
|
-
value: { _light: "{colors.
|
|
1950
|
+
value: { _light: "{colors.emerald.50}", _dark: "{colors.emerald.950}" }
|
|
1696
1951
|
},
|
|
1697
1952
|
subtle: {
|
|
1698
|
-
value: { _light: "{colors.
|
|
1953
|
+
value: { _light: "{colors.emerald.100}", _dark: "{colors.emerald.900}" }
|
|
1699
1954
|
},
|
|
1700
1955
|
emphasized: {
|
|
1701
|
-
value: { _light: "{colors.
|
|
1956
|
+
value: { _light: "{colors.emerald.200}", _dark: "{colors.emerald.800}" }
|
|
1702
1957
|
},
|
|
1703
1958
|
solid: {
|
|
1704
|
-
value: { _light: "{colors.
|
|
1959
|
+
value: { _light: "{colors.emerald.600}", _dark: "{colors.emerald.600}" }
|
|
1960
|
+
},
|
|
1961
|
+
focusRing: {
|
|
1962
|
+
value: { _light: "{colors.emerald.600}", _dark: "{colors.emerald.600}" }
|
|
1705
1963
|
}
|
|
1706
1964
|
},
|
|
1707
|
-
|
|
1965
|
+
teal: {
|
|
1708
1966
|
contrast: {
|
|
1709
|
-
value: { _light: "
|
|
1967
|
+
value: { _light: "white", _dark: "white" }
|
|
1710
1968
|
},
|
|
1711
1969
|
fg: {
|
|
1712
|
-
value: { _light: "{colors.
|
|
1970
|
+
value: { _light: "{colors.teal.700}", _dark: "{colors.teal.300}" }
|
|
1713
1971
|
},
|
|
1714
1972
|
muted: {
|
|
1715
|
-
value: { _light: "{colors.
|
|
1973
|
+
value: { _light: "{colors.teal.50}", _dark: "{colors.teal.950}" }
|
|
1716
1974
|
},
|
|
1717
1975
|
subtle: {
|
|
1718
|
-
value: { _light: "{colors.
|
|
1976
|
+
value: { _light: "{colors.teal.100}", _dark: "{colors.teal.900}" }
|
|
1719
1977
|
},
|
|
1720
1978
|
emphasized: {
|
|
1721
|
-
value: { _light: "{colors.
|
|
1979
|
+
value: { _light: "{colors.teal.200}", _dark: "{colors.teal.800}" }
|
|
1722
1980
|
},
|
|
1723
1981
|
solid: {
|
|
1724
|
-
value: { _light: "{colors.
|
|
1982
|
+
value: { _light: "{colors.teal.600}", _dark: "{colors.teal.600}" }
|
|
1983
|
+
},
|
|
1984
|
+
focusRing: {
|
|
1985
|
+
value: { _light: "{colors.teal.600}", _dark: "{colors.teal.600}" }
|
|
1725
1986
|
}
|
|
1726
1987
|
},
|
|
1727
|
-
|
|
1988
|
+
cyan: {
|
|
1728
1989
|
contrast: {
|
|
1729
1990
|
value: { _light: "white", _dark: "white" }
|
|
1730
1991
|
},
|
|
1731
1992
|
fg: {
|
|
1732
|
-
value: { _light: "{colors.
|
|
1993
|
+
value: { _light: "{colors.cyan.700}", _dark: "{colors.cyan.300}" }
|
|
1733
1994
|
},
|
|
1734
1995
|
muted: {
|
|
1735
|
-
value: { _light: "{colors.
|
|
1996
|
+
value: { _light: "{colors.cyan.50}", _dark: "{colors.cyan.950}" }
|
|
1736
1997
|
},
|
|
1737
1998
|
subtle: {
|
|
1738
|
-
value: { _light: "{colors.
|
|
1999
|
+
value: { _light: "{colors.cyan.100}", _dark: "{colors.cyan.900}" }
|
|
1739
2000
|
},
|
|
1740
2001
|
emphasized: {
|
|
1741
|
-
value: { _light: "{colors.
|
|
2002
|
+
value: { _light: "{colors.cyan.200}", _dark: "{colors.cyan.800}" }
|
|
1742
2003
|
},
|
|
1743
2004
|
solid: {
|
|
1744
|
-
value: { _light: "{colors.
|
|
2005
|
+
value: { _light: "{colors.cyan.600}", _dark: "{colors.cyan.600}" }
|
|
2006
|
+
},
|
|
2007
|
+
focusRing: {
|
|
2008
|
+
value: { _light: "{colors.cyan.600}", _dark: "{colors.cyan.600}" }
|
|
2009
|
+
}
|
|
2010
|
+
},
|
|
2011
|
+
sky: {
|
|
2012
|
+
contrast: {
|
|
2013
|
+
value: { _light: "white", _dark: "white" }
|
|
2014
|
+
},
|
|
2015
|
+
fg: {
|
|
2016
|
+
value: { _light: "{colors.sky.700}", _dark: "{colors.sky.300}" }
|
|
2017
|
+
},
|
|
2018
|
+
muted: {
|
|
2019
|
+
value: { _light: "{colors.sky.50}", _dark: "{colors.sky.950}" }
|
|
2020
|
+
},
|
|
2021
|
+
subtle: {
|
|
2022
|
+
value: { _light: "{colors.sky.100}", _dark: "{colors.sky.900}" }
|
|
2023
|
+
},
|
|
2024
|
+
emphasized: {
|
|
2025
|
+
value: { _light: "{colors.sky.200}", _dark: "{colors.sky.800}" }
|
|
2026
|
+
},
|
|
2027
|
+
solid: {
|
|
2028
|
+
value: { _light: "{colors.sky.600}", _dark: "{colors.sky.600}" }
|
|
2029
|
+
},
|
|
2030
|
+
focusRing: {
|
|
2031
|
+
value: { _light: "{colors.sky.600}", _dark: "{colors.sky.600}" }
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
blue: {
|
|
2035
|
+
contrast: {
|
|
2036
|
+
value: { _light: "white", _dark: "white" }
|
|
2037
|
+
},
|
|
2038
|
+
fg: {
|
|
2039
|
+
value: { _light: "{colors.blue.700}", _dark: "{colors.blue.300}" }
|
|
2040
|
+
},
|
|
2041
|
+
muted: {
|
|
2042
|
+
value: { _light: "{colors.blue.50}", _dark: "{colors.blue.950}" }
|
|
2043
|
+
},
|
|
2044
|
+
subtle: {
|
|
2045
|
+
value: { _light: "{colors.blue.100}", _dark: "{colors.blue.900}" }
|
|
2046
|
+
},
|
|
2047
|
+
emphasized: {
|
|
2048
|
+
value: { _light: "{colors.blue.200}", _dark: "{colors.blue.800}" }
|
|
2049
|
+
},
|
|
2050
|
+
solid: {
|
|
2051
|
+
value: { _light: "{colors.blue.600}", _dark: "{colors.blue.600}" }
|
|
2052
|
+
},
|
|
2053
|
+
focusRing: {
|
|
2054
|
+
value: { _light: "{colors.blue.600}", _dark: "{colors.blue.600}" }
|
|
1745
2055
|
}
|
|
1746
2056
|
},
|
|
1747
2057
|
indigo: {
|
|
@@ -1762,6 +2072,32 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1762
2072
|
},
|
|
1763
2073
|
solid: {
|
|
1764
2074
|
value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
|
|
2075
|
+
},
|
|
2076
|
+
focusRing: {
|
|
2077
|
+
value: { _light: "{colors.indigo.600}", _dark: "{colors.indigo.600}" }
|
|
2078
|
+
}
|
|
2079
|
+
},
|
|
2080
|
+
violet: {
|
|
2081
|
+
contrast: {
|
|
2082
|
+
value: { _light: "white", _dark: "white" }
|
|
2083
|
+
},
|
|
2084
|
+
fg: {
|
|
2085
|
+
value: { _light: "{colors.violet.700}", _dark: "{colors.violet.300}" }
|
|
2086
|
+
},
|
|
2087
|
+
muted: {
|
|
2088
|
+
value: { _light: "{colors.violet.50}", _dark: "{colors.violet.950}" }
|
|
2089
|
+
},
|
|
2090
|
+
subtle: {
|
|
2091
|
+
value: { _light: "{colors.violet.100}", _dark: "{colors.violet.900}" }
|
|
2092
|
+
},
|
|
2093
|
+
emphasized: {
|
|
2094
|
+
value: { _light: "{colors.violet.200}", _dark: "{colors.violet.800}" }
|
|
2095
|
+
},
|
|
2096
|
+
solid: {
|
|
2097
|
+
value: { _light: "{colors.violet.600}", _dark: "{colors.violet.600}" }
|
|
2098
|
+
},
|
|
2099
|
+
focusRing: {
|
|
2100
|
+
value: { _light: "{colors.violet.600}", _dark: "{colors.violet.600}" }
|
|
1765
2101
|
}
|
|
1766
2102
|
},
|
|
1767
2103
|
purple: {
|
|
@@ -1782,6 +2118,32 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1782
2118
|
},
|
|
1783
2119
|
solid: {
|
|
1784
2120
|
value: { _light: "{colors.purple.600}", _dark: "{colors.purple.600}" }
|
|
2121
|
+
},
|
|
2122
|
+
focusRing: {
|
|
2123
|
+
value: { _light: "{colors.purple.600}", _dark: "{colors.purple.600}" }
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
fuchsia: {
|
|
2127
|
+
contrast: {
|
|
2128
|
+
value: { _light: "white", _dark: "white" }
|
|
2129
|
+
},
|
|
2130
|
+
fg: {
|
|
2131
|
+
value: { _light: "{colors.fuchsia.700}", _dark: "{colors.fuchsia.300}" }
|
|
2132
|
+
},
|
|
2133
|
+
muted: {
|
|
2134
|
+
value: { _light: "{colors.fuchsia.50}", _dark: "{colors.fuchsia.950}" }
|
|
2135
|
+
},
|
|
2136
|
+
subtle: {
|
|
2137
|
+
value: { _light: "{colors.fuchsia.100}", _dark: "{colors.fuchsia.900}" }
|
|
2138
|
+
},
|
|
2139
|
+
emphasized: {
|
|
2140
|
+
value: { _light: "{colors.fuchsia.200}", _dark: "{colors.fuchsia.800}" }
|
|
2141
|
+
},
|
|
2142
|
+
solid: {
|
|
2143
|
+
value: { _light: "{colors.fuchsia.600}", _dark: "{colors.fuchsia.600}" }
|
|
2144
|
+
},
|
|
2145
|
+
focusRing: {
|
|
2146
|
+
value: { _light: "{colors.fuchsia.600}", _dark: "{colors.fuchsia.600}" }
|
|
1785
2147
|
}
|
|
1786
2148
|
},
|
|
1787
2149
|
pink: {
|
|
@@ -1802,26 +2164,32 @@ var semanticColors = defineSemanticTokens.colors({
|
|
|
1802
2164
|
},
|
|
1803
2165
|
solid: {
|
|
1804
2166
|
value: { _light: "{colors.pink.600}", _dark: "{colors.pink.600}" }
|
|
2167
|
+
},
|
|
2168
|
+
focusRing: {
|
|
2169
|
+
value: { _light: "{colors.pink.600}", _dark: "{colors.pink.600}" }
|
|
1805
2170
|
}
|
|
1806
2171
|
},
|
|
1807
|
-
|
|
2172
|
+
rose: {
|
|
1808
2173
|
contrast: {
|
|
1809
2174
|
value: { _light: "white", _dark: "white" }
|
|
1810
2175
|
},
|
|
1811
2176
|
fg: {
|
|
1812
|
-
value: { _light: "{colors.
|
|
2177
|
+
value: { _light: "{colors.rose.700}", _dark: "{colors.rose.300}" }
|
|
1813
2178
|
},
|
|
1814
2179
|
muted: {
|
|
1815
|
-
value: { _light: "{colors.
|
|
2180
|
+
value: { _light: "{colors.rose.50}", _dark: "{colors.rose.950}" }
|
|
1816
2181
|
},
|
|
1817
2182
|
subtle: {
|
|
1818
|
-
value: { _light: "{colors.
|
|
2183
|
+
value: { _light: "{colors.rose.100}", _dark: "{colors.rose.900}" }
|
|
1819
2184
|
},
|
|
1820
2185
|
emphasized: {
|
|
1821
|
-
value: { _light: "{colors.
|
|
2186
|
+
value: { _light: "{colors.rose.200}", _dark: "{colors.rose.800}" }
|
|
1822
2187
|
},
|
|
1823
2188
|
solid: {
|
|
1824
|
-
value: { _light: "{colors.
|
|
2189
|
+
value: { _light: "{colors.rose.600}", _dark: "{colors.rose.600}" }
|
|
2190
|
+
},
|
|
2191
|
+
focusRing: {
|
|
2192
|
+
value: { _light: "{colors.rose.600}", _dark: "{colors.rose.600}" }
|
|
1825
2193
|
}
|
|
1826
2194
|
}
|
|
1827
2195
|
});
|
|
@@ -1938,7 +2306,7 @@ var appShellSlotRecipe = defineSlotRecipe({
|
|
|
1938
2306
|
import { defineSlotRecipe as defineSlotRecipe2 } from "@chakra-ui/react";
|
|
1939
2307
|
var gridListSlotRecipe = defineSlotRecipe2({
|
|
1940
2308
|
className: "sui-grid-list",
|
|
1941
|
-
slots: ["root", "item", "header", "
|
|
2309
|
+
slots: ["root", "item", "header", "cell"],
|
|
1942
2310
|
base: {
|
|
1943
2311
|
root: {
|
|
1944
2312
|
py: 2,
|
|
@@ -2002,7 +2370,7 @@ var gridListSlotRecipe = defineSlotRecipe2({
|
|
|
2002
2370
|
fontWeight: "semibold",
|
|
2003
2371
|
color: "muted"
|
|
2004
2372
|
},
|
|
2005
|
-
|
|
2373
|
+
cell: {
|
|
2006
2374
|
display: "flex",
|
|
2007
2375
|
flexShrink: 0
|
|
2008
2376
|
}
|
|
@@ -2114,7 +2482,7 @@ var loadingOverlaySlotRecipe = defineSlotRecipe3({
|
|
|
2114
2482
|
import { defineSlotRecipe as defineSlotRecipe4 } from "@chakra-ui/react";
|
|
2115
2483
|
var navbarSlotRecipe = defineSlotRecipe4({
|
|
2116
2484
|
className: "sui-navbar",
|
|
2117
|
-
slots: ["root", "content", "brand", "item"],
|
|
2485
|
+
slots: ["root", "content", "brand", "item", "link"],
|
|
2118
2486
|
base: {
|
|
2119
2487
|
root: {
|
|
2120
2488
|
display: "flex",
|
|
@@ -2151,7 +2519,7 @@ var navbarSlotRecipe = defineSlotRecipe4({
|
|
|
2151
2519
|
whiteSpace: "nowrap",
|
|
2152
2520
|
boxSizing: "border-box"
|
|
2153
2521
|
},
|
|
2154
|
-
|
|
2522
|
+
link: {
|
|
2155
2523
|
bg: "transparent",
|
|
2156
2524
|
color: "currentColor",
|
|
2157
2525
|
display: "inline-flex",
|
|
@@ -2207,7 +2575,7 @@ var navbarSlotRecipe = defineSlotRecipe4({
|
|
|
2207
2575
|
},
|
|
2208
2576
|
gap: 4
|
|
2209
2577
|
},
|
|
2210
|
-
|
|
2578
|
+
link: {
|
|
2211
2579
|
px: 3,
|
|
2212
2580
|
h: 8
|
|
2213
2581
|
}
|
|
@@ -2318,7 +2686,7 @@ var personaSlotRecipe = defineSlotRecipe5({
|
|
|
2318
2686
|
import { defineSlotRecipe as defineSlotRecipe6 } from "@chakra-ui/react";
|
|
2319
2687
|
var sidebarNavItemSlotRecipe = defineSlotRecipe6({
|
|
2320
2688
|
className: "sui-sidebar-nav-item",
|
|
2321
|
-
slots: ["item", "button"],
|
|
2689
|
+
slots: ["item", "button", "endElement"],
|
|
2322
2690
|
base: {
|
|
2323
2691
|
item: {
|
|
2324
2692
|
position: "relative"
|
|
@@ -2338,7 +2706,14 @@ var sidebarNavItemSlotRecipe = defineSlotRecipe6({
|
|
|
2338
2706
|
focusVisibleRing: "outside",
|
|
2339
2707
|
"& > svg": {
|
|
2340
2708
|
boxSize: 4
|
|
2709
|
+
},
|
|
2710
|
+
'&:has([data-slot="endElement"])': {
|
|
2711
|
+
pe: 0
|
|
2341
2712
|
}
|
|
2713
|
+
},
|
|
2714
|
+
endElement: {
|
|
2715
|
+
display: "flex",
|
|
2716
|
+
gap: "1px"
|
|
2342
2717
|
}
|
|
2343
2718
|
},
|
|
2344
2719
|
variants: {
|
|
@@ -2366,10 +2741,10 @@ var sidebarNavItemSlotRecipe = defineSlotRecipe6({
|
|
|
2366
2741
|
button: {
|
|
2367
2742
|
borderRadius: "md",
|
|
2368
2743
|
px: 2,
|
|
2369
|
-
height: 8
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2744
|
+
height: 8
|
|
2745
|
+
},
|
|
2746
|
+
endElement: {
|
|
2747
|
+
pe: "1"
|
|
2373
2748
|
}
|
|
2374
2749
|
}
|
|
2375
2750
|
}
|
|
@@ -2397,8 +2772,6 @@ var sidebarSlotRecipe = defineSlotRecipe7({
|
|
|
2397
2772
|
"groupTitle",
|
|
2398
2773
|
"groupEndElement",
|
|
2399
2774
|
"groupContent",
|
|
2400
|
-
"item",
|
|
2401
|
-
"itemEndElement",
|
|
2402
2775
|
"track"
|
|
2403
2776
|
],
|
|
2404
2777
|
base: {
|
|
@@ -2607,6 +2980,9 @@ var sidebarSlotRecipe = defineSlotRecipe7({
|
|
|
2607
2980
|
},
|
|
2608
2981
|
footer: {
|
|
2609
2982
|
px: 3
|
|
2983
|
+
},
|
|
2984
|
+
groupEndElement: {
|
|
2985
|
+
pe: "1"
|
|
2610
2986
|
}
|
|
2611
2987
|
}
|
|
2612
2988
|
}
|
|
@@ -4635,6 +5011,7 @@ var menuSlotRecipe = defineSlotRecipe27({
|
|
|
4635
5011
|
bg: "bg.panel",
|
|
4636
5012
|
boxShadow: "lg",
|
|
4637
5013
|
color: "fg",
|
|
5014
|
+
maxHeight: "var(--available-height)",
|
|
4638
5015
|
"--menu-z-index": "zIndex.dropdown",
|
|
4639
5016
|
zIndex: "calc(var(--menu-z-index) + var(--layer-index, 0))",
|
|
4640
5017
|
borderRadius: "l2",
|
|
@@ -7641,13 +8018,13 @@ var slotRecipes = {
|
|
|
7641
8018
|
status: statusSlotRecipe,
|
|
7642
8019
|
timeline: timelineSlotRecipe,
|
|
7643
8020
|
// Saas UI Recipes
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
8021
|
+
suiAppShell: appShellSlotRecipe,
|
|
8022
|
+
suiLoadingOverlay: loadingOverlaySlotRecipe,
|
|
8023
|
+
suiPersona: personaSlotRecipe,
|
|
8024
|
+
suiGridList: gridListSlotRecipe,
|
|
8025
|
+
suiNavbar: navbarSlotRecipe,
|
|
8026
|
+
suiSidebar: sidebarSlotRecipe,
|
|
8027
|
+
suiSidebarNavItem: sidebarNavItemSlotRecipe
|
|
7651
8028
|
};
|
|
7652
8029
|
|
|
7653
8030
|
// src/theme/text-styles.ts
|
|
@@ -7733,187 +8110,9 @@ var borders = defineTokens4.borders({
|
|
|
7733
8110
|
xl: { value: "8px solid" }
|
|
7734
8111
|
});
|
|
7735
8112
|
|
|
7736
|
-
// src/theme/tokens/colors.ts
|
|
7737
|
-
import { defineTokens as defineTokens5 } from "@chakra-ui/react";
|
|
7738
|
-
var colors = defineTokens5.colors({
|
|
7739
|
-
transparent: { value: "transparent" },
|
|
7740
|
-
current: { value: "currentColor" },
|
|
7741
|
-
black: { value: "#09090B" },
|
|
7742
|
-
white: { value: "#FFFFFF" },
|
|
7743
|
-
whiteAlpha: {
|
|
7744
|
-
50: { value: "rgba(255, 255, 255, 0.04)" },
|
|
7745
|
-
100: { value: "rgba(255, 255, 255, 0.06)" },
|
|
7746
|
-
200: { value: "rgba(255, 255, 255, 0.08)" },
|
|
7747
|
-
300: { value: "rgba(255, 255, 255, 0.16)" },
|
|
7748
|
-
400: { value: "rgba(255, 255, 255, 0.24)" },
|
|
7749
|
-
500: { value: "rgba(255, 255, 255, 0.36)" },
|
|
7750
|
-
600: { value: "rgba(255, 255, 255, 0.48)" },
|
|
7751
|
-
700: { value: "rgba(255, 255, 255, 0.64)" },
|
|
7752
|
-
800: { value: "rgba(255, 255, 255, 0.80)" },
|
|
7753
|
-
900: { value: "rgba(255, 255, 255, 0.92)" },
|
|
7754
|
-
950: { value: "rgba(255, 255, 255, 0.95)" }
|
|
7755
|
-
},
|
|
7756
|
-
blackAlpha: {
|
|
7757
|
-
50: { value: "rgba(0, 0, 0, 0.04)" },
|
|
7758
|
-
100: { value: "rgba(0, 0, 0, 0.06)" },
|
|
7759
|
-
200: { value: "rgba(0, 0, 0, 0.08)" },
|
|
7760
|
-
300: { value: "rgba(0, 0, 0, 0.16)" },
|
|
7761
|
-
400: { value: "rgba(0, 0, 0, 0.24)" },
|
|
7762
|
-
500: { value: "rgba(0, 0, 0, 0.36)" },
|
|
7763
|
-
600: { value: "rgba(0, 0, 0, 0.48)" },
|
|
7764
|
-
700: { value: "rgba(0, 0, 0, 0.64)" },
|
|
7765
|
-
800: { value: "rgba(0, 0, 0, 0.80)" },
|
|
7766
|
-
900: { value: "rgba(0, 0, 0, 0.92)" },
|
|
7767
|
-
950: { value: "rgba(0, 0, 0, 0.95)" }
|
|
7768
|
-
},
|
|
7769
|
-
gray: {
|
|
7770
|
-
50: { value: "#fafafa" },
|
|
7771
|
-
100: { value: "#f4f4f5" },
|
|
7772
|
-
200: { value: "#e4e4e7" },
|
|
7773
|
-
300: { value: "#d4d4d8" },
|
|
7774
|
-
400: { value: "#a1a1aa" },
|
|
7775
|
-
500: { value: "#71717a" },
|
|
7776
|
-
600: { value: "#52525b" },
|
|
7777
|
-
700: { value: "#3f3f46" },
|
|
7778
|
-
800: { value: "#27272a" },
|
|
7779
|
-
900: { value: "#18181b" },
|
|
7780
|
-
950: { value: "#111111" }
|
|
7781
|
-
},
|
|
7782
|
-
red: {
|
|
7783
|
-
50: { value: "#fef2f2" },
|
|
7784
|
-
100: { value: "#fee2e2" },
|
|
7785
|
-
200: { value: "#fecaca" },
|
|
7786
|
-
300: { value: "#fca5a5" },
|
|
7787
|
-
400: { value: "#f87171" },
|
|
7788
|
-
500: { value: "#ef4444" },
|
|
7789
|
-
600: { value: "#dc2626" },
|
|
7790
|
-
700: { value: "#991919" },
|
|
7791
|
-
800: { value: "#511111" },
|
|
7792
|
-
900: { value: "#300c0c" },
|
|
7793
|
-
950: { value: "#1f0808" }
|
|
7794
|
-
},
|
|
7795
|
-
orange: {
|
|
7796
|
-
50: { value: "#fff7ed" },
|
|
7797
|
-
100: { value: "#ffedd5" },
|
|
7798
|
-
200: { value: "#fed7aa" },
|
|
7799
|
-
300: { value: "#fdba74" },
|
|
7800
|
-
400: { value: "#fb923c" },
|
|
7801
|
-
500: { value: "#f97316" },
|
|
7802
|
-
600: { value: "#ea580c" },
|
|
7803
|
-
700: { value: "#92310a" },
|
|
7804
|
-
800: { value: "#6c2710" },
|
|
7805
|
-
900: { value: "#3b1106" },
|
|
7806
|
-
950: { value: "#220a04" }
|
|
7807
|
-
},
|
|
7808
|
-
yellow: {
|
|
7809
|
-
50: { value: "#fefce8" },
|
|
7810
|
-
100: { value: "#fef9c3" },
|
|
7811
|
-
200: { value: "#fef08a" },
|
|
7812
|
-
300: { value: "#fde047" },
|
|
7813
|
-
400: { value: "#facc15" },
|
|
7814
|
-
500: { value: "#eab308" },
|
|
7815
|
-
600: { value: "#ca8a04" },
|
|
7816
|
-
700: { value: "#845209" },
|
|
7817
|
-
800: { value: "#713f12" },
|
|
7818
|
-
900: { value: "#422006" },
|
|
7819
|
-
950: { value: "#281304" }
|
|
7820
|
-
},
|
|
7821
|
-
green: {
|
|
7822
|
-
50: { value: "#f0fdf4" },
|
|
7823
|
-
100: { value: "#dcfce7" },
|
|
7824
|
-
200: { value: "#bbf7d0" },
|
|
7825
|
-
300: { value: "#86efac" },
|
|
7826
|
-
400: { value: "#4ade80" },
|
|
7827
|
-
500: { value: "#22c55e" },
|
|
7828
|
-
600: { value: "#16a34a" },
|
|
7829
|
-
700: { value: "#116932" },
|
|
7830
|
-
800: { value: "#124a28" },
|
|
7831
|
-
900: { value: "#042713" },
|
|
7832
|
-
950: { value: "#03190c" }
|
|
7833
|
-
},
|
|
7834
|
-
teal: {
|
|
7835
|
-
50: { value: "#f0fdfa" },
|
|
7836
|
-
100: { value: "#ccfbf1" },
|
|
7837
|
-
200: { value: "#99f6e4" },
|
|
7838
|
-
300: { value: "#5eead4" },
|
|
7839
|
-
400: { value: "#2dd4bf" },
|
|
7840
|
-
500: { value: "#14b8a6" },
|
|
7841
|
-
600: { value: "#0d9488" },
|
|
7842
|
-
700: { value: "#0c5d56" },
|
|
7843
|
-
800: { value: "#114240" },
|
|
7844
|
-
900: { value: "#032726" },
|
|
7845
|
-
950: { value: "#021716" }
|
|
7846
|
-
},
|
|
7847
|
-
blue: {
|
|
7848
|
-
50: { value: "#eff6ff" },
|
|
7849
|
-
100: { value: "#dbeafe" },
|
|
7850
|
-
200: { value: "#bfdbfe" },
|
|
7851
|
-
300: { value: "#a3cfff" },
|
|
7852
|
-
400: { value: "#60a5fa" },
|
|
7853
|
-
500: { value: "#3b82f6" },
|
|
7854
|
-
600: { value: "#2563eb" },
|
|
7855
|
-
700: { value: "#173da6" },
|
|
7856
|
-
800: { value: "#1a3478" },
|
|
7857
|
-
900: { value: "#14204a" },
|
|
7858
|
-
950: { value: "#0c142e" }
|
|
7859
|
-
},
|
|
7860
|
-
cyan: {
|
|
7861
|
-
50: { value: "#ecfeff" },
|
|
7862
|
-
100: { value: "#cffafe" },
|
|
7863
|
-
200: { value: "#a5f3fc" },
|
|
7864
|
-
300: { value: "#67e8f9" },
|
|
7865
|
-
400: { value: "#22d3ee" },
|
|
7866
|
-
500: { value: "#06b6d4" },
|
|
7867
|
-
600: { value: "#0891b2" },
|
|
7868
|
-
700: { value: "#0c5c72" },
|
|
7869
|
-
800: { value: "#134152" },
|
|
7870
|
-
900: { value: "#072a38" },
|
|
7871
|
-
950: { value: "#051b24" }
|
|
7872
|
-
},
|
|
7873
|
-
indigo: {
|
|
7874
|
-
50: { value: "#eef2ff" },
|
|
7875
|
-
100: { value: "#e0e7ff" },
|
|
7876
|
-
200: { value: "#c7d2fe" },
|
|
7877
|
-
300: { value: "#a5b4fc" },
|
|
7878
|
-
400: { value: "#818cf8" },
|
|
7879
|
-
500: { value: "#6366f1" },
|
|
7880
|
-
600: { value: "#4f46e5" },
|
|
7881
|
-
700: { value: "#4338ca" },
|
|
7882
|
-
800: { value: "#3730a3" },
|
|
7883
|
-
900: { value: "#312e81" },
|
|
7884
|
-
950: { value: "#1e1b4b" }
|
|
7885
|
-
},
|
|
7886
|
-
purple: {
|
|
7887
|
-
50: { value: "#faf5ff" },
|
|
7888
|
-
100: { value: "#f3e8ff" },
|
|
7889
|
-
200: { value: "#e9d5ff" },
|
|
7890
|
-
300: { value: "#d8b4fe" },
|
|
7891
|
-
400: { value: "#c084fc" },
|
|
7892
|
-
500: { value: "#a855f7" },
|
|
7893
|
-
600: { value: "#9333ea" },
|
|
7894
|
-
700: { value: "#641ba3" },
|
|
7895
|
-
800: { value: "#4a1772" },
|
|
7896
|
-
900: { value: "#2f0553" },
|
|
7897
|
-
950: { value: "#1a032e" }
|
|
7898
|
-
},
|
|
7899
|
-
pink: {
|
|
7900
|
-
50: { value: "#fdf2f8" },
|
|
7901
|
-
100: { value: "#fce7f3" },
|
|
7902
|
-
200: { value: "#fbcfe8" },
|
|
7903
|
-
300: { value: "#f9a8d4" },
|
|
7904
|
-
400: { value: "#f472b6" },
|
|
7905
|
-
500: { value: "#ec4899" },
|
|
7906
|
-
600: { value: "#db2777" },
|
|
7907
|
-
700: { value: "#a41752" },
|
|
7908
|
-
800: { value: "#6d0e34" },
|
|
7909
|
-
900: { value: "#45061f" },
|
|
7910
|
-
950: { value: "#2c0514" }
|
|
7911
|
-
}
|
|
7912
|
-
});
|
|
7913
|
-
|
|
7914
8113
|
// src/theme/tokens/cursor.ts
|
|
7915
|
-
import { defineTokens as
|
|
7916
|
-
var cursor =
|
|
8114
|
+
import { defineTokens as defineTokens5 } from "@chakra-ui/react";
|
|
8115
|
+
var cursor = defineTokens5.cursor({
|
|
7917
8116
|
button: { value: "pointer" },
|
|
7918
8117
|
checkbox: { value: "default" },
|
|
7919
8118
|
disabled: { value: "not-allowed" },
|
|
@@ -7925,8 +8124,8 @@ var cursor = defineTokens6.cursor({
|
|
|
7925
8124
|
});
|
|
7926
8125
|
|
|
7927
8126
|
// src/theme/tokens/durations.ts
|
|
7928
|
-
import { defineTokens as
|
|
7929
|
-
var durations =
|
|
8127
|
+
import { defineTokens as defineTokens6 } from "@chakra-ui/react";
|
|
8128
|
+
var durations = defineTokens6.durations({
|
|
7930
8129
|
fastest: { value: "50ms" },
|
|
7931
8130
|
faster: { value: "100ms" },
|
|
7932
8131
|
fast: { value: "150ms" },
|
|
@@ -7937,8 +8136,8 @@ var durations = defineTokens7.durations({
|
|
|
7937
8136
|
});
|
|
7938
8137
|
|
|
7939
8138
|
// src/theme/tokens/easings.ts
|
|
7940
|
-
import { defineTokens as
|
|
7941
|
-
var easings =
|
|
8139
|
+
import { defineTokens as defineTokens7 } from "@chakra-ui/react";
|
|
8140
|
+
var easings = defineTokens7.easings({
|
|
7942
8141
|
"ease-in": { value: "cubic-bezier(0.42, 0, 1, 1)" },
|
|
7943
8142
|
"ease-out": { value: "cubic-bezier(0, 0, 0.58, 1)" },
|
|
7944
8143
|
"ease-in-out": { value: "cubic-bezier(0.42, 0, 0.58, 1)" },
|
|
@@ -7948,8 +8147,8 @@ var easings = defineTokens8.easings({
|
|
|
7948
8147
|
});
|
|
7949
8148
|
|
|
7950
8149
|
// src/theme/tokens/font-sizes.ts
|
|
7951
|
-
import { defineTokens as
|
|
7952
|
-
var fontSizes =
|
|
8150
|
+
import { defineTokens as defineTokens8 } from "@chakra-ui/react";
|
|
8151
|
+
var fontSizes = defineTokens8.fontSizes({
|
|
7953
8152
|
"2xs": { value: scaleToken("0.65rem") },
|
|
7954
8153
|
xs: { value: scaleToken("0.725rem") },
|
|
7955
8154
|
sm: { value: scaleToken("0.875rem") },
|
|
@@ -7967,8 +8166,8 @@ var fontSizes = defineTokens9.fontSizes({
|
|
|
7967
8166
|
});
|
|
7968
8167
|
|
|
7969
8168
|
// src/theme/tokens/font-weights.ts
|
|
7970
|
-
import { defineTokens as
|
|
7971
|
-
var fontWeights =
|
|
8169
|
+
import { defineTokens as defineTokens9 } from "@chakra-ui/react";
|
|
8170
|
+
var fontWeights = defineTokens9.fontWeights({
|
|
7972
8171
|
thin: { value: "100" },
|
|
7973
8172
|
extralight: { value: "200" },
|
|
7974
8173
|
light: { value: "300" },
|
|
@@ -7981,9 +8180,9 @@ var fontWeights = defineTokens10.fontWeights({
|
|
|
7981
8180
|
});
|
|
7982
8181
|
|
|
7983
8182
|
// src/theme/tokens/fonts.ts
|
|
7984
|
-
import { defineTokens as
|
|
8183
|
+
import { defineTokens as defineTokens10 } from "@chakra-ui/react";
|
|
7985
8184
|
var fallback = `-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`;
|
|
7986
|
-
var fonts =
|
|
8185
|
+
var fonts = defineTokens10.fonts({
|
|
7987
8186
|
heading: {
|
|
7988
8187
|
value: `Inter Variable, Inter, ${fallback}`
|
|
7989
8188
|
},
|
|
@@ -8155,8 +8354,8 @@ var keyframes = defineKeyframes({
|
|
|
8155
8354
|
});
|
|
8156
8355
|
|
|
8157
8356
|
// src/theme/tokens/letter-spacing.ts
|
|
8158
|
-
import { defineTokens as
|
|
8159
|
-
var letterSpacings =
|
|
8357
|
+
import { defineTokens as defineTokens11 } from "@chakra-ui/react";
|
|
8358
|
+
var letterSpacings = defineTokens11.letterSpacings({
|
|
8160
8359
|
tighter: { value: "-0.05em" },
|
|
8161
8360
|
tight: { value: "-0.025em" },
|
|
8162
8361
|
wide: { value: "0.025em" },
|
|
@@ -8165,8 +8364,8 @@ var letterSpacings = defineTokens12.letterSpacings({
|
|
|
8165
8364
|
});
|
|
8166
8365
|
|
|
8167
8366
|
// src/theme/tokens/line-heights.ts
|
|
8168
|
-
import { defineTokens as
|
|
8169
|
-
var lineHeights =
|
|
8367
|
+
import { defineTokens as defineTokens12 } from "@chakra-ui/react";
|
|
8368
|
+
var lineHeights = defineTokens12.lineHeights({
|
|
8170
8369
|
shorter: { value: scaleToken("1.25") },
|
|
8171
8370
|
short: { value: scaleToken("1.375") },
|
|
8172
8371
|
moderate: { value: scaleToken("1.5") },
|
|
@@ -8183,8 +8382,8 @@ var lineHeights = defineTokens13.lineHeights({
|
|
|
8183
8382
|
});
|
|
8184
8383
|
|
|
8185
8384
|
// src/theme/tokens/radius.ts
|
|
8186
|
-
import { defineTokens as
|
|
8187
|
-
var radii =
|
|
8385
|
+
import { defineTokens as defineTokens13 } from "@chakra-ui/react";
|
|
8386
|
+
var radii = defineTokens13.radii({
|
|
8188
8387
|
"2xs": {
|
|
8189
8388
|
value: radiusToken("0.0625rem")
|
|
8190
8389
|
},
|
|
@@ -8200,11 +8399,11 @@ var radii = defineTokens14.radii({
|
|
|
8200
8399
|
});
|
|
8201
8400
|
|
|
8202
8401
|
// src/theme/tokens/sizes.ts
|
|
8203
|
-
import { defineTokens as
|
|
8402
|
+
import { defineTokens as defineTokens15 } from "@chakra-ui/react";
|
|
8204
8403
|
|
|
8205
8404
|
// src/theme/tokens/spacing.ts
|
|
8206
|
-
import { defineTokens as
|
|
8207
|
-
var spacing =
|
|
8405
|
+
import { defineTokens as defineTokens14 } from "@chakra-ui/react";
|
|
8406
|
+
var spacing = defineTokens14.spacing({
|
|
8208
8407
|
0.5: { value: scaleToken("0.125rem") },
|
|
8209
8408
|
1: { value: scaleToken("0.25rem") },
|
|
8210
8409
|
1.5: { value: scaleToken("0.375rem") },
|
|
@@ -8240,7 +8439,7 @@ var spacing = defineTokens15.spacing({
|
|
|
8240
8439
|
});
|
|
8241
8440
|
|
|
8242
8441
|
// src/theme/tokens/sizes.ts
|
|
8243
|
-
var largeSizes =
|
|
8442
|
+
var largeSizes = defineTokens15.sizes({
|
|
8244
8443
|
"3xs": { value: "14rem" },
|
|
8245
8444
|
"2xs": { value: "16rem" },
|
|
8246
8445
|
xs: { value: "20rem" },
|
|
@@ -8256,7 +8455,7 @@ var largeSizes = defineTokens16.sizes({
|
|
|
8256
8455
|
"7xl": { value: "80rem" },
|
|
8257
8456
|
"8xl": { value: "90rem" }
|
|
8258
8457
|
});
|
|
8259
|
-
var namedSizes =
|
|
8458
|
+
var namedSizes = defineTokens15.sizes({
|
|
8260
8459
|
max: { value: "max-content" },
|
|
8261
8460
|
min: { value: "min-content" },
|
|
8262
8461
|
fit: { value: "fit-content" },
|
|
@@ -8271,7 +8470,7 @@ var namedSizes = defineTokens16.sizes({
|
|
|
8271
8470
|
vw: { value: "100vw" },
|
|
8272
8471
|
vh: { value: "100vh" }
|
|
8273
8472
|
});
|
|
8274
|
-
var fractionalSizes =
|
|
8473
|
+
var fractionalSizes = defineTokens15.sizes({
|
|
8275
8474
|
"1/2": { value: "50%" },
|
|
8276
8475
|
"1/3": { value: "33.333333%" },
|
|
8277
8476
|
"2/3": { value: "66.666667%" },
|
|
@@ -8298,7 +8497,7 @@ var fractionalSizes = defineTokens16.sizes({
|
|
|
8298
8497
|
"10/12": { value: "83.333333%" },
|
|
8299
8498
|
"11/12": { value: "91.666667%" }
|
|
8300
8499
|
});
|
|
8301
|
-
var sizes =
|
|
8500
|
+
var sizes = defineTokens15.sizes({
|
|
8302
8501
|
...largeSizes,
|
|
8303
8502
|
...spacing,
|
|
8304
8503
|
...fractionalSizes,
|
|
@@ -8306,8 +8505,8 @@ var sizes = defineTokens16.sizes({
|
|
|
8306
8505
|
});
|
|
8307
8506
|
|
|
8308
8507
|
// src/theme/tokens/z-indices.ts
|
|
8309
|
-
import { defineTokens as
|
|
8310
|
-
var zIndices =
|
|
8508
|
+
import { defineTokens as defineTokens16 } from "@chakra-ui/react";
|
|
8509
|
+
var zIndices = defineTokens16.zIndex({
|
|
8311
8510
|
// Local elements, eg a badge of an avatar.
|
|
8312
8511
|
"layer-1": {
|
|
8313
8512
|
value: 1
|
|
@@ -8388,11 +8587,51 @@ var defaultSystem = createSystem(defaultConfig);
|
|
|
8388
8587
|
// src/index.ts
|
|
8389
8588
|
import { createSystem as createSystem2 } from "@chakra-ui/react";
|
|
8390
8589
|
export {
|
|
8590
|
+
AppShell,
|
|
8591
|
+
Avatar,
|
|
8592
|
+
AvatarGroup,
|
|
8593
|
+
breadcrumb_exports as Breadcrumb,
|
|
8594
|
+
Button,
|
|
8595
|
+
Checkbox,
|
|
8596
|
+
CloseButton,
|
|
8597
|
+
Command,
|
|
8598
|
+
namespace_exports as Dialog,
|
|
8599
|
+
namespace_exports2 as Drawer,
|
|
8600
|
+
EmptyState,
|
|
8601
|
+
grid_list_exports as GridList,
|
|
8602
|
+
IconBadge,
|
|
8603
|
+
InputGroup,
|
|
8604
|
+
Link,
|
|
8605
|
+
loading_overlay_exports as LoadingOverlay,
|
|
8606
|
+
menu_exports as Menu,
|
|
8607
|
+
navbar_exports as Navbar,
|
|
8608
|
+
NumberInput,
|
|
8609
|
+
PasswordInput,
|
|
8610
|
+
Persona,
|
|
8611
|
+
PersonaAvatar,
|
|
8612
|
+
PinInput,
|
|
8613
|
+
Radio,
|
|
8614
|
+
RadioGroup,
|
|
8615
|
+
SearchInput,
|
|
8616
|
+
SegmentedControl,
|
|
8617
|
+
namespace_exports3 as Select,
|
|
8618
|
+
sidebar_exports as Sidebar,
|
|
8619
|
+
Spinner,
|
|
8620
|
+
steps_exports as Steps,
|
|
8391
8621
|
SuiContext,
|
|
8392
8622
|
SuiProvider,
|
|
8623
|
+
Switch,
|
|
8624
|
+
Toaster,
|
|
8625
|
+
Tooltip,
|
|
8393
8626
|
createSystem2 as createSystem,
|
|
8394
8627
|
defaultConfig,
|
|
8628
|
+
defaultPresenceOptions,
|
|
8395
8629
|
defaultSystem,
|
|
8630
|
+
toast,
|
|
8396
8631
|
useLink,
|
|
8632
|
+
useLoadingOverlayStyles,
|
|
8633
|
+
useSidebar,
|
|
8634
|
+
useSidebarItemStyles,
|
|
8635
|
+
useSidebarStyles,
|
|
8397
8636
|
useSui
|
|
8398
8637
|
};
|