@saas-ui/react 3.0.0-next.44 → 3.0.0-next.47
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/dist/.tsbuildinfo.json +1 -1
- package/dist/colors.d.ts +1 -1
- package/dist/colors.js +1 -1
- package/dist/components/command/command.d.ts +1 -1
- package/dist/components/grid-list/grid-list.d.ts +1 -1
- package/dist/components/persona/persona-composed.d.ts +1 -1
- package/dist/components/persona/persona.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/preset.d.ts +1 -3
- package/dist/preset.js +1 -10
- package/package.json +3 -2
- package/dist/components/accordion/accordion.recipe.d.ts +0 -84
- package/dist/components/accordion/accordion.recipe.js +0 -148
- package/dist/components/action-bar/action-bar.recipe.d.ts +0 -1
- package/dist/components/action-bar/action-bar.recipe.js +0 -56
- package/dist/components/alert/alert.recipe.d.ts +0 -120
- package/dist/components/alert/alert.recipe.js +0 -149
- package/dist/components/app-shell/app-shell.recipe.d.ts +0 -13
- package/dist/components/app-shell/app-shell.recipe.js +0 -41
- package/dist/components/avatar/avatar.recipe.d.ts +0 -88
- package/dist/components/avatar/avatar.recipe.js +0 -129
- package/dist/components/badge/badge.recipe.d.ts +0 -48
- package/dist/components/badge/badge.recipe.js +0 -66
- package/dist/components/blockquote/blockquote.recipe.d.ts +0 -52
- package/dist/components/blockquote/blockquote.recipe.js +0 -77
- package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +0 -46
- package/dist/components/breadcrumb/breadcrumb.recipe.js +0 -90
- package/dist/components/button/button.recipe.d.ts +0 -141
- package/dist/components/button/button.recipe.js +0 -185
- package/dist/components/card/card.recipe.d.ts +0 -78
- package/dist/components/card/card.recipe.js +0 -133
- package/dist/components/checkbox/checkbox.recipe.d.ts +0 -80
- package/dist/components/checkbox/checkbox.recipe.js +0 -64
- package/dist/components/checkbox-card/checkbox-card.recipe.d.ts +0 -188
- package/dist/components/checkbox-card/checkbox-card.recipe.js +0 -202
- package/dist/components/checkmark/checkmark.recipe.d.ts +0 -54
- package/dist/components/checkmark/checkmark.recipe.js +0 -80
- package/dist/components/code/code.recipe.d.ts +0 -48
- package/dist/components/code/code.recipe.js +0 -14
- package/dist/components/collapsible/collapsible.recipe.d.ts +0 -1
- package/dist/components/collapsible/collapsible.recipe.js +0 -19
- package/dist/components/combobox/combobox.recipe.d.ts +0 -144
- package/dist/components/combobox/combobox.recipe.js +0 -292
- package/dist/components/command/command.recipe.d.ts +0 -15
- package/dist/components/command/command.recipe.js +0 -34
- package/dist/components/container/container.recipe.d.ts +0 -14
- package/dist/components/container/container.recipe.js +0 -25
- package/dist/components/data-list/data-list.recipe.d.ts +0 -55
- package/dist/components/data-list/data-list.recipe.js +0 -78
- package/dist/components/dialog/dialog.recipe.d.ts +0 -166
- package/dist/components/dialog/dialog.recipe.js +0 -256
- package/dist/components/drawer/drawer.recipe.d.ts +0 -113
- package/dist/components/drawer/drawer.recipe.js +0 -202
- package/dist/components/editable/editable.recipe.d.ts +0 -37
- package/dist/components/editable/editable.recipe.js +0 -89
- package/dist/components/empty-state/empty-state.recipe.d.ts +0 -83
- package/dist/components/empty-state/empty-state.recipe.js +0 -137
- package/dist/components/field/field.recipe.d.ts +0 -29
- package/dist/components/field/field.recipe.js +0 -74
- package/dist/components/fieldset/fieldset.recipe.d.ts +0 -37
- package/dist/components/fieldset/fieldset.recipe.js +0 -59
- package/dist/components/file-upload/file-upload.recipe.d.ts +0 -1
- package/dist/components/file-upload/file-upload.recipe.js +0 -90
- package/dist/components/grid-list/grid-list.recipe.d.ts +0 -60
- package/dist/components/grid-list/grid-list.recipe.js +0 -131
- package/dist/components/heading/heading.recipe.d.ts +0 -59
- package/dist/components/heading/heading.recipe.js +0 -70
- package/dist/components/hover-card/hover-card.recipe.d.ts +0 -28
- package/dist/components/hover-card/hover-card.recipe.js +0 -70
- package/dist/components/icon/icon.recipe.d.ts +0 -25
- package/dist/components/icon/icon.recipe.js +0 -27
- package/dist/components/icon-badge/icon-badge.recipe.d.ts +0 -43
- package/dist/components/icon-badge/icon-badge.recipe.js +0 -57
- package/dist/components/input/input.recipe.d.ts +0 -66
- package/dist/components/input/input.recipe.js +0 -93
- package/dist/components/input-addon/input-addon.recipe.d.ts +0 -56
- package/dist/components/input-addon/input-addon.recipe.js +0 -36
- package/dist/components/kbd/kbd.recipe.d.ts +0 -36
- package/dist/components/kbd/kbd.recipe.js +0 -56
- package/dist/components/link/link.recipe.d.ts +0 -18
- package/dist/components/link/link.recipe.js +0 -34
- package/dist/components/list/list.recipe.d.ts +0 -38
- package/dist/components/list/list.recipe.js +0 -62
- package/dist/components/loading-overlay/loading-overlay.recipe.d.ts +0 -26
- package/dist/components/loading-overlay/loading-overlay.recipe.js +0 -51
- package/dist/components/mark/mark.recipe.d.ts +0 -16
- package/dist/components/mark/mark.recipe.js +0 -25
- package/dist/components/menu/menu.recipe.d.ts +0 -58
- package/dist/components/menu/menu.recipe.js +0 -133
- package/dist/components/native-select/native-select.recipe.d.ts +0 -90
- package/dist/components/native-select/native-select.recipe.js +0 -134
- package/dist/components/navbar/navbar.recipe.d.ts +0 -46
- package/dist/components/navbar/navbar.recipe.js +0 -124
- package/dist/components/number-input/number-input.recipe.d.ts +0 -144
- package/dist/components/number-input/number-input.recipe.js +0 -111
- package/dist/components/page/page.recipe.d.ts +0 -61
- package/dist/components/page/page.recipe.js +0 -99
- package/dist/components/persona/persona.recipe.d.ts +0 -104
- package/dist/components/persona/persona.recipe.js +0 -106
- package/dist/components/pin-input/pin-input.recipe.d.ts +0 -236
- package/dist/components/pin-input/pin-input.recipe.js +0 -32
- package/dist/components/popover/popover.recipe.d.ts +0 -24
- package/dist/components/popover/popover.recipe.js +0 -84
- package/dist/components/progress/progress.recipe.d.ts +0 -82
- package/dist/components/progress/progress.recipe.js +0 -121
- package/dist/components/progress-circle/progress-circle.recipe.d.ts +0 -49
- package/dist/components/progress-circle/progress-circle.recipe.js +0 -91
- package/dist/components/radio/radiomark.recipe.d.ts +0 -56
- package/dist/components/radio/radiomark.recipe.js +0 -95
- package/dist/components/radio-card/radio-card.recipe.d.ts +0 -191
- package/dist/components/radio-card/radio-card.recipe.js +0 -209
- package/dist/components/radio-group/radio-group.recipe.d.ts +0 -77
- package/dist/components/radio-group/radio-group.recipe.js +0 -61
- package/dist/components/rating-group/rating-group.recipe.d.ts +0 -24
- package/dist/components/rating-group/rating-group.recipe.js +0 -83
- package/dist/components/section/section.recipe.d.ts +0 -27
- package/dist/components/section/section.recipe.js +0 -63
- package/dist/components/segmented-control/segment-group.recipe.d.ts +0 -48
- package/dist/components/segmented-control/segment-group.recipe.js +0 -127
- package/dist/components/select/select.recipe.d.ts +0 -155
- package/dist/components/select/select.recipe.js +0 -285
- package/dist/components/separator/separator.recipe.d.ts +0 -37
- package/dist/components/separator/separator.recipe.js +0 -50
- package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +0 -67
- package/dist/components/sidebar/sidebar-nav-item.recipe.js +0 -118
- package/dist/components/sidebar/sidebar.recipe.d.ts +0 -108
- package/dist/components/sidebar/sidebar.recipe.js +0 -280
- package/dist/components/skeleton/skeleton.recipe.d.ts +0 -41
- package/dist/components/skeleton/skeleton.recipe.js +0 -50
- package/dist/components/skip-nav-link/skip-nav-link.recipe.d.ts +0 -1
- package/dist/components/skip-nav-link/skip-nav-link.recipe.js +0 -31
- package/dist/components/slider/slider.recipe.d.ts +0 -101
- package/dist/components/slider/slider.recipe.js +0 -175
- package/dist/components/spinner/spinner.recipe.d.ts +0 -22
- package/dist/components/spinner/spinner.recipe.js +0 -31
- package/dist/components/stat/stat.recipe.d.ts +0 -19
- package/dist/components/stat/stat.recipe.js +0 -76
- package/dist/components/status/status.recipe.d.ts +0 -19
- package/dist/components/status/status.recipe.js +0 -44
- package/dist/components/steps/steps.recipe.d.ts +0 -142
- package/dist/components/steps/steps.recipe.js +0 -213
- package/dist/components/switch/switch.recipe.d.ts +0 -77
- package/dist/components/switch/switch.recipe.js +0 -157
- package/dist/components/table/table.recipe.d.ts +0 -121
- package/dist/components/table/table.recipe.js +0 -161
- package/dist/components/tabs/tabs.recipe.d.ts +0 -263
- package/dist/components/tabs/tabs.recipe.js +0 -332
- package/dist/components/tag/tag.recipe.d.ts +0 -95
- package/dist/components/tag/tag.recipe.js +0 -154
- package/dist/components/textarea/textarea.recipe.d.ts +0 -65
- package/dist/components/textarea/textarea.recipe.js +0 -90
- package/dist/components/timeline/timeline.recipe.d.ts +0 -62
- package/dist/components/timeline/timeline.recipe.js +0 -134
- package/dist/components/toaster/toast.recipe.d.ts +0 -1
- package/dist/components/toaster/toast.recipe.js +0 -90
- package/dist/components/tooltip/tooltip.recipe.d.ts +0 -10
- package/dist/components/tooltip/tooltip.recipe.js +0 -52
- package/dist/theme/animation-styles.d.ts +0 -1
- package/dist/theme/animation-styles.js +0 -49
- package/dist/theme/breakpoints.d.ts +0 -10
- package/dist/theme/breakpoints.js +0 -8
- package/dist/theme/conditions.d.ts +0 -18
- package/dist/theme/conditions.js +0 -19
- package/dist/theme/fluid-font-sizes.d.ts +0 -0
- package/dist/theme/fluid-font-sizes.js +0 -61
- package/dist/theme/global-css.d.ts +0 -1
- package/dist/theme/global-css.js +0 -56
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.js +0 -72
- package/dist/theme/layer-styles.d.ts +0 -1
- package/dist/theme/layer-styles.js +0 -133
- package/dist/theme/recipes.d.ts +0 -861
- package/dist/theme/recipes.js +0 -44
- package/dist/theme/semantic-tokens/colors.d.ts +0 -1298
- package/dist/theme/semantic-tokens/colors.js +0 -687
- package/dist/theme/semantic-tokens/radii.d.ts +0 -44
- package/dist/theme/semantic-tokens/radii.js +0 -39
- package/dist/theme/semantic-tokens/shadows.d.ts +0 -56
- package/dist/theme/semantic-tokens/shadows.js +0 -57
- package/dist/theme/slot-recipes.d.ts +0 -4030
- package/dist/theme/slot-recipes.js +0 -108
- package/dist/theme/text-styles.d.ts +0 -1
- package/dist/theme/text-styles.js +0 -82
- package/dist/theme/tokens/animations.d.ts +0 -14
- package/dist/theme/tokens/animations.js +0 -7
- package/dist/theme/tokens/aspect-ratios.d.ts +0 -20
- package/dist/theme/tokens/aspect-ratios.js +0 -9
- package/dist/theme/tokens/blurs.d.ts +0 -26
- package/dist/theme/tokens/blurs.js +0 -11
- package/dist/theme/tokens/borders.d.ts +0 -17
- package/dist/theme/tokens/borders.js +0 -8
- package/dist/theme/tokens/colors.d.ts +0 -820
- package/dist/theme/tokens/colors.js +0 -306
- package/dist/theme/tokens/cursor.d.ts +0 -26
- package/dist/theme/tokens/cursor.js +0 -11
- package/dist/theme/tokens/durations.d.ts +0 -23
- package/dist/theme/tokens/durations.js +0 -10
- package/dist/theme/tokens/easings.d.ts +0 -20
- package/dist/theme/tokens/easings.js +0 -9
- package/dist/theme/tokens/font-sizes.d.ts +0 -44
- package/dist/theme/tokens/font-sizes.js +0 -18
- package/dist/theme/tokens/font-weights.d.ts +0 -29
- package/dist/theme/tokens/font-weights.js +0 -12
- package/dist/theme/tokens/fonts.d.ts +0 -11
- package/dist/theme/tokens/fonts.js +0 -13
- package/dist/theme/tokens/keyframes.d.ts +0 -1
- package/dist/theme/tokens/keyframes.js +0 -157
- package/dist/theme/tokens/letter-spacing.d.ts +0 -56
- package/dist/theme/tokens/letter-spacing.js +0 -21
- package/dist/theme/tokens/line-heights.d.ts +0 -77
- package/dist/theme/tokens/line-heights.js +0 -29
- package/dist/theme/tokens/radius.d.ts +0 -32
- package/dist/theme/tokens/radius.js +0 -15
- package/dist/theme/tokens/sizes.d.ts +0 -257
- package/dist/theme/tokens/sizes.js +0 -66
- package/dist/theme/tokens/spacing.d.ts +0 -101
- package/dist/theme/tokens/spacing.js +0 -37
- package/dist/theme/tokens/z-indices.d.ts +0 -53
- package/dist/theme/tokens/z-indices.js +0 -32
- package/dist/theme/utilities.d.ts +0 -10
- package/dist/theme/utilities.js +0 -49
- package/dist/theme/utils.d.ts +0 -19
- package/dist/theme/utils.js +0 -34
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { defineKeyframes } from '@chakra-ui/react';
|
|
2
|
-
export const keyframes = defineKeyframes({
|
|
3
|
-
spin: {
|
|
4
|
-
'0%': { transform: 'rotate(0deg)' },
|
|
5
|
-
'100%': { transform: 'rotate(360deg)' },
|
|
6
|
-
},
|
|
7
|
-
pulse: {
|
|
8
|
-
'50%': { opacity: '0.5' },
|
|
9
|
-
},
|
|
10
|
-
ping: {
|
|
11
|
-
'75%, 100%': {
|
|
12
|
-
transform: 'scale(2)',
|
|
13
|
-
opacity: '0',
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
bounce: {
|
|
17
|
-
'0%, 100%': {
|
|
18
|
-
transform: 'translateY(-25%)',
|
|
19
|
-
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
|
|
20
|
-
},
|
|
21
|
-
'50%': {
|
|
22
|
-
transform: 'none',
|
|
23
|
-
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
'bg-position': {
|
|
27
|
-
from: { backgroundPosition: 'var(--animate-from, 1rem) 0' },
|
|
28
|
-
to: { backgroundPosition: 'var(--animate-to, 0) 0' },
|
|
29
|
-
},
|
|
30
|
-
position: {
|
|
31
|
-
from: {
|
|
32
|
-
insetInlineStart: 'var(--animate-from-x)',
|
|
33
|
-
insetBlockStart: 'var(--animate-from-y)',
|
|
34
|
-
},
|
|
35
|
-
to: {
|
|
36
|
-
insetInlineStart: 'var(--animate-to-x)',
|
|
37
|
-
insetBlockStart: 'var(--animate-to-y)',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
'circular-progress': {
|
|
41
|
-
'0%': {
|
|
42
|
-
strokeDasharray: '1, 400',
|
|
43
|
-
strokeDashoffset: '0',
|
|
44
|
-
},
|
|
45
|
-
'50%': {
|
|
46
|
-
strokeDasharray: '400, 400',
|
|
47
|
-
strokeDashoffset: '-100%',
|
|
48
|
-
},
|
|
49
|
-
'100%': {
|
|
50
|
-
strokeDasharray: '400, 400',
|
|
51
|
-
strokeDashoffset: '-260%',
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
// collapse
|
|
55
|
-
'expand-height': {
|
|
56
|
-
from: { height: '0' },
|
|
57
|
-
to: { height: 'var(--height)' },
|
|
58
|
-
},
|
|
59
|
-
'collapse-height': {
|
|
60
|
-
from: { height: 'var(--height)' },
|
|
61
|
-
to: { height: '0' },
|
|
62
|
-
},
|
|
63
|
-
'expand-width': {
|
|
64
|
-
from: { width: '0' },
|
|
65
|
-
to: { width: 'var(--width)' },
|
|
66
|
-
},
|
|
67
|
-
'collapse-width': {
|
|
68
|
-
from: { height: 'var(--width)' },
|
|
69
|
-
to: { height: '0' },
|
|
70
|
-
},
|
|
71
|
-
// fade
|
|
72
|
-
'fade-in': {
|
|
73
|
-
from: { opacity: 0 },
|
|
74
|
-
to: { opacity: 1 },
|
|
75
|
-
},
|
|
76
|
-
'fade-out': {
|
|
77
|
-
from: { opacity: 1 },
|
|
78
|
-
to: { opacity: 0 },
|
|
79
|
-
},
|
|
80
|
-
// slide from (full)
|
|
81
|
-
'slide-from-left-full': {
|
|
82
|
-
from: { translate: '-100% 0' },
|
|
83
|
-
to: { translate: '0 0' },
|
|
84
|
-
},
|
|
85
|
-
'slide-from-right-full': {
|
|
86
|
-
from: { translate: '100% 0' },
|
|
87
|
-
to: { translate: '0 0' },
|
|
88
|
-
},
|
|
89
|
-
'slide-from-top-full': {
|
|
90
|
-
from: { translate: '0 -100%' },
|
|
91
|
-
to: { translate: '0 0' },
|
|
92
|
-
},
|
|
93
|
-
'slide-from-bottom-full': {
|
|
94
|
-
from: { translate: '0 100%' },
|
|
95
|
-
to: { translate: '0 0' },
|
|
96
|
-
},
|
|
97
|
-
// slide to (full)
|
|
98
|
-
'slide-to-left-full': {
|
|
99
|
-
from: { translate: '0 0' },
|
|
100
|
-
to: { translate: '-100% 0' },
|
|
101
|
-
},
|
|
102
|
-
'slide-to-right-full': {
|
|
103
|
-
from: { translate: '0 0' },
|
|
104
|
-
to: { translate: '100% 0' },
|
|
105
|
-
},
|
|
106
|
-
'slide-to-top-full': {
|
|
107
|
-
from: { translate: '0 0' },
|
|
108
|
-
to: { translate: '0 -100%' },
|
|
109
|
-
},
|
|
110
|
-
'slide-to-bottom-full': {
|
|
111
|
-
from: { translate: '0 0' },
|
|
112
|
-
to: { translate: '0 100%' },
|
|
113
|
-
},
|
|
114
|
-
// slide from
|
|
115
|
-
'slide-from-top': {
|
|
116
|
-
'0%': { translate: '0 -0.5rem' },
|
|
117
|
-
to: { translate: '0' },
|
|
118
|
-
},
|
|
119
|
-
'slide-from-bottom': {
|
|
120
|
-
'0%': { translate: '0 0.5rem' },
|
|
121
|
-
to: { translate: '0' },
|
|
122
|
-
},
|
|
123
|
-
'slide-from-left': {
|
|
124
|
-
'0%': { translate: '-0.5rem 0' },
|
|
125
|
-
to: { translate: '0' },
|
|
126
|
-
},
|
|
127
|
-
'slide-from-right': {
|
|
128
|
-
'0%': { translate: '0.5rem 0' },
|
|
129
|
-
to: { translate: '0' },
|
|
130
|
-
},
|
|
131
|
-
// slide to
|
|
132
|
-
'slide-to-top': {
|
|
133
|
-
'0%': { translate: '0' },
|
|
134
|
-
to: { translate: '0 -0.5rem' },
|
|
135
|
-
},
|
|
136
|
-
'slide-to-bottom': {
|
|
137
|
-
'0%': { translate: '0' },
|
|
138
|
-
to: { translate: '0 0.5rem' },
|
|
139
|
-
},
|
|
140
|
-
'slide-to-left': {
|
|
141
|
-
'0%': { translate: '0' },
|
|
142
|
-
to: { translate: '-0.5rem 0' },
|
|
143
|
-
},
|
|
144
|
-
'slide-to-right': {
|
|
145
|
-
'0%': { translate: '0' },
|
|
146
|
-
to: { translate: '0.5rem 0' },
|
|
147
|
-
},
|
|
148
|
-
// scale
|
|
149
|
-
'scale-in': {
|
|
150
|
-
from: { scale: '0.95' },
|
|
151
|
-
to: { scale: '1' },
|
|
152
|
-
},
|
|
153
|
-
'scale-out': {
|
|
154
|
-
from: { scale: '1' },
|
|
155
|
-
to: { scale: '0.95' },
|
|
156
|
-
},
|
|
157
|
-
});
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export declare const letterSpacings: {
|
|
2
|
-
tightest: {
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
5
|
-
tighter: {
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
tight: {
|
|
9
|
-
value: string;
|
|
10
|
-
};
|
|
11
|
-
normal: {
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
wide: {
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
wider: {
|
|
18
|
-
value: string;
|
|
19
|
-
};
|
|
20
|
-
widest: {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
'heading.xs': {
|
|
24
|
-
value: string;
|
|
25
|
-
};
|
|
26
|
-
'heading.sm': {
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
'heading.md': {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
'heading.lg': {
|
|
33
|
-
value: string;
|
|
34
|
-
};
|
|
35
|
-
'heading.xl': {
|
|
36
|
-
value: string;
|
|
37
|
-
};
|
|
38
|
-
'heading.2xl': {
|
|
39
|
-
value: string;
|
|
40
|
-
};
|
|
41
|
-
'heading.3xl': {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
'heading.4xl': {
|
|
45
|
-
value: string;
|
|
46
|
-
};
|
|
47
|
-
'heading.5xl': {
|
|
48
|
-
value: string;
|
|
49
|
-
};
|
|
50
|
-
'heading.6xl': {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
'heading.7xl': {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineTokens } from '@chakra-ui/react';
|
|
2
|
-
export const letterSpacings = defineTokens.letterSpacings({
|
|
3
|
-
tightest: { value: '-0.05em' },
|
|
4
|
-
tighter: { value: '-0.025em' },
|
|
5
|
-
tight: { value: '-0.0125em' },
|
|
6
|
-
normal: { value: '0' },
|
|
7
|
-
wide: { value: '0.0125em' },
|
|
8
|
-
wider: { value: '0.025em' },
|
|
9
|
-
widest: { value: '0.05em' },
|
|
10
|
-
'heading.xs': { value: '0.0025em' },
|
|
11
|
-
'heading.sm': { value: '0' },
|
|
12
|
-
'heading.md': { value: '0' },
|
|
13
|
-
'heading.lg': { value: '-0.0025em' },
|
|
14
|
-
'heading.xl': { value: '-0.005' },
|
|
15
|
-
'heading.2xl': { value: '-0.00625em' },
|
|
16
|
-
'heading.3xl': { value: '-0.0075em' },
|
|
17
|
-
'heading.4xl': { value: '-0.01em' },
|
|
18
|
-
'heading.5xl': { value: '-0.025em' },
|
|
19
|
-
'heading.6xl': { value: '-0.03em' },
|
|
20
|
-
'heading.7xl': { value: '-0.035em' },
|
|
21
|
-
});
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export declare const lineHeights: {
|
|
2
|
-
'2xs': {
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
5
|
-
xs: {
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
sm: {
|
|
9
|
-
value: string;
|
|
10
|
-
};
|
|
11
|
-
md: {
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
lg: {
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
xl: {
|
|
18
|
-
value: string;
|
|
19
|
-
};
|
|
20
|
-
'2xl': {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
'3xl': {
|
|
24
|
-
value: string;
|
|
25
|
-
};
|
|
26
|
-
'4xl': {
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
'5xl': {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
'6xl': {
|
|
33
|
-
value: string;
|
|
34
|
-
};
|
|
35
|
-
'7xl': {
|
|
36
|
-
value: string;
|
|
37
|
-
};
|
|
38
|
-
'8xl': {
|
|
39
|
-
value: string;
|
|
40
|
-
};
|
|
41
|
-
'9xl': {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
'heading.xs': {
|
|
45
|
-
value: string;
|
|
46
|
-
};
|
|
47
|
-
'heading.sm': {
|
|
48
|
-
value: string;
|
|
49
|
-
};
|
|
50
|
-
'heading.md': {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
'heading.lg': {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
'heading.xl': {
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
'heading.2xl': {
|
|
60
|
-
value: string;
|
|
61
|
-
};
|
|
62
|
-
'heading.3xl': {
|
|
63
|
-
value: string;
|
|
64
|
-
};
|
|
65
|
-
'heading.4xl': {
|
|
66
|
-
value: string;
|
|
67
|
-
};
|
|
68
|
-
'heading.5xl': {
|
|
69
|
-
value: string;
|
|
70
|
-
};
|
|
71
|
-
'heading.6xl': {
|
|
72
|
-
value: string;
|
|
73
|
-
};
|
|
74
|
-
'heading.7xl': {
|
|
75
|
-
value: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineTokens } from '@chakra-ui/react';
|
|
2
|
-
import { scaleToken } from "../utils.js";
|
|
3
|
-
export const lineHeights = defineTokens.lineHeights({
|
|
4
|
-
'2xs': { value: scaleToken('0.845rem') }, // 1.25
|
|
5
|
-
xs: { value: scaleToken('1rem') }, //1.33
|
|
6
|
-
sm: { value: scaleToken('1.1375rem') }, // 1.4
|
|
7
|
-
md: { value: scaleToken('1.26rem') }, // 1.44
|
|
8
|
-
lg: { value: scaleToken('1.5rem') }, // 1.5
|
|
9
|
-
xl: { value: scaleToken('1.62rem') }, // 1.44
|
|
10
|
-
'2xl': { value: scaleToken('1.75rem') }, // 1.4
|
|
11
|
-
'3xl': { value: scaleToken('1.95rem') }, // 1.3
|
|
12
|
-
'4xl': { value: scaleToken('2.345rem') }, // 1.25
|
|
13
|
-
'5xl': { value: scaleToken('2.7rem') }, // 1.2
|
|
14
|
-
'6xl': { value: scaleToken('3.45rem') }, // 1.15
|
|
15
|
-
'7xl': { value: scaleToken('4.125rem') }, // 1.1
|
|
16
|
-
'8xl': { value: scaleToken('4.5rem') }, // 1
|
|
17
|
-
'9xl': { value: scaleToken('6rem') }, // 1
|
|
18
|
-
'heading.xs': { value: scaleToken('0.95rem') }, // 1.33
|
|
19
|
-
'heading.sm': { value: scaleToken('1rem') }, // 1.28
|
|
20
|
-
'heading.md': { value: scaleToken('1.20rem') }, // 1.375
|
|
21
|
-
'heading.lg': { value: scaleToken('1.33rem') }, // 1.33
|
|
22
|
-
'heading.xl': { value: scaleToken('1.46rem') }, // 1.3
|
|
23
|
-
'heading.2xl': { value: scaleToken('1.55rem') }, // 1.25
|
|
24
|
-
'heading.3xl': { value: scaleToken('1.8rem') }, // 1.2
|
|
25
|
-
'heading.4xl': { value: scaleToken('2.15rem') }, // 1.15
|
|
26
|
-
'heading.5xl': { value: scaleToken('2.475rem') }, // 1.1
|
|
27
|
-
'heading.6xl': { value: scaleToken('3rem') }, // 1
|
|
28
|
-
'heading.7xl': { value: scaleToken('3.75rem') }, // 1
|
|
29
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const radii: {
|
|
2
|
-
'2xs': {
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
5
|
-
xs: {
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
sm: {
|
|
9
|
-
value: string;
|
|
10
|
-
};
|
|
11
|
-
md: {
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
lg: {
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
xl: {
|
|
18
|
-
value: string;
|
|
19
|
-
};
|
|
20
|
-
'2xl': {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
'3xl': {
|
|
24
|
-
value: string;
|
|
25
|
-
};
|
|
26
|
-
'4xl': {
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
full: {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineTokens } from '@chakra-ui/react';
|
|
2
|
-
export const radii = defineTokens.radii({
|
|
3
|
-
'2xs': {
|
|
4
|
-
value: '0.15rem',
|
|
5
|
-
},
|
|
6
|
-
xs: { value: '0.2rem' },
|
|
7
|
-
sm: { value: '0.25rem' },
|
|
8
|
-
md: { value: '0.375rem' },
|
|
9
|
-
lg: { value: '0.5rem' },
|
|
10
|
-
xl: { value: '0.75rem' },
|
|
11
|
-
'2xl': { value: '1rem' },
|
|
12
|
-
'3xl': { value: '1.5rem' },
|
|
13
|
-
'4xl': { value: '2rem' },
|
|
14
|
-
full: { value: '9999px' },
|
|
15
|
-
});
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
export declare const sizes: {
|
|
2
|
-
max: {
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
5
|
-
min: {
|
|
6
|
-
value: string;
|
|
7
|
-
};
|
|
8
|
-
fit: {
|
|
9
|
-
value: string;
|
|
10
|
-
};
|
|
11
|
-
prose: {
|
|
12
|
-
value: string;
|
|
13
|
-
};
|
|
14
|
-
full: {
|
|
15
|
-
value: string;
|
|
16
|
-
};
|
|
17
|
-
dvh: {
|
|
18
|
-
value: string;
|
|
19
|
-
};
|
|
20
|
-
svh: {
|
|
21
|
-
value: string;
|
|
22
|
-
};
|
|
23
|
-
lvh: {
|
|
24
|
-
value: string;
|
|
25
|
-
};
|
|
26
|
-
dvw: {
|
|
27
|
-
value: string;
|
|
28
|
-
};
|
|
29
|
-
svw: {
|
|
30
|
-
value: string;
|
|
31
|
-
};
|
|
32
|
-
lvw: {
|
|
33
|
-
value: string;
|
|
34
|
-
};
|
|
35
|
-
vw: {
|
|
36
|
-
value: string;
|
|
37
|
-
};
|
|
38
|
-
vh: {
|
|
39
|
-
value: string;
|
|
40
|
-
};
|
|
41
|
-
'1/2': {
|
|
42
|
-
value: string;
|
|
43
|
-
};
|
|
44
|
-
'1/3': {
|
|
45
|
-
value: string;
|
|
46
|
-
};
|
|
47
|
-
'2/3': {
|
|
48
|
-
value: string;
|
|
49
|
-
};
|
|
50
|
-
'1/4': {
|
|
51
|
-
value: string;
|
|
52
|
-
};
|
|
53
|
-
'3/4': {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
'1/5': {
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
'2/5': {
|
|
60
|
-
value: string;
|
|
61
|
-
};
|
|
62
|
-
'3/5': {
|
|
63
|
-
value: string;
|
|
64
|
-
};
|
|
65
|
-
'4/5': {
|
|
66
|
-
value: string;
|
|
67
|
-
};
|
|
68
|
-
'1/6': {
|
|
69
|
-
value: string;
|
|
70
|
-
};
|
|
71
|
-
'2/6': {
|
|
72
|
-
value: string;
|
|
73
|
-
};
|
|
74
|
-
'3/6': {
|
|
75
|
-
value: string;
|
|
76
|
-
};
|
|
77
|
-
'4/6': {
|
|
78
|
-
value: string;
|
|
79
|
-
};
|
|
80
|
-
'5/6': {
|
|
81
|
-
value: string;
|
|
82
|
-
};
|
|
83
|
-
'1/12': {
|
|
84
|
-
value: string;
|
|
85
|
-
};
|
|
86
|
-
'2/12': {
|
|
87
|
-
value: string;
|
|
88
|
-
};
|
|
89
|
-
'3/12': {
|
|
90
|
-
value: string;
|
|
91
|
-
};
|
|
92
|
-
'4/12': {
|
|
93
|
-
value: string;
|
|
94
|
-
};
|
|
95
|
-
'5/12': {
|
|
96
|
-
value: string;
|
|
97
|
-
};
|
|
98
|
-
'6/12': {
|
|
99
|
-
value: string;
|
|
100
|
-
};
|
|
101
|
-
'7/12': {
|
|
102
|
-
value: string;
|
|
103
|
-
};
|
|
104
|
-
'8/12': {
|
|
105
|
-
value: string;
|
|
106
|
-
};
|
|
107
|
-
'9/12': {
|
|
108
|
-
value: string;
|
|
109
|
-
};
|
|
110
|
-
'10/12': {
|
|
111
|
-
value: string;
|
|
112
|
-
};
|
|
113
|
-
'11/12': {
|
|
114
|
-
value: string;
|
|
115
|
-
};
|
|
116
|
-
0.5: {
|
|
117
|
-
value: string;
|
|
118
|
-
};
|
|
119
|
-
1: {
|
|
120
|
-
value: string;
|
|
121
|
-
};
|
|
122
|
-
1.5: {
|
|
123
|
-
value: string;
|
|
124
|
-
};
|
|
125
|
-
2: {
|
|
126
|
-
value: string;
|
|
127
|
-
};
|
|
128
|
-
2.5: {
|
|
129
|
-
value: string;
|
|
130
|
-
};
|
|
131
|
-
3: {
|
|
132
|
-
value: string;
|
|
133
|
-
};
|
|
134
|
-
3.5: {
|
|
135
|
-
value: string;
|
|
136
|
-
};
|
|
137
|
-
4: {
|
|
138
|
-
value: string;
|
|
139
|
-
};
|
|
140
|
-
4.5: {
|
|
141
|
-
value: string;
|
|
142
|
-
};
|
|
143
|
-
5: {
|
|
144
|
-
value: string;
|
|
145
|
-
};
|
|
146
|
-
6: {
|
|
147
|
-
value: string;
|
|
148
|
-
};
|
|
149
|
-
7: {
|
|
150
|
-
value: string;
|
|
151
|
-
};
|
|
152
|
-
8: {
|
|
153
|
-
value: string;
|
|
154
|
-
};
|
|
155
|
-
9: {
|
|
156
|
-
value: string;
|
|
157
|
-
};
|
|
158
|
-
10: {
|
|
159
|
-
value: string;
|
|
160
|
-
};
|
|
161
|
-
12: {
|
|
162
|
-
value: string;
|
|
163
|
-
};
|
|
164
|
-
14: {
|
|
165
|
-
value: string;
|
|
166
|
-
};
|
|
167
|
-
16: {
|
|
168
|
-
value: string;
|
|
169
|
-
};
|
|
170
|
-
20: {
|
|
171
|
-
value: string;
|
|
172
|
-
};
|
|
173
|
-
24: {
|
|
174
|
-
value: string;
|
|
175
|
-
};
|
|
176
|
-
28: {
|
|
177
|
-
value: string;
|
|
178
|
-
};
|
|
179
|
-
32: {
|
|
180
|
-
value: string;
|
|
181
|
-
};
|
|
182
|
-
36: {
|
|
183
|
-
value: string;
|
|
184
|
-
};
|
|
185
|
-
40: {
|
|
186
|
-
value: string;
|
|
187
|
-
};
|
|
188
|
-
44: {
|
|
189
|
-
value: string;
|
|
190
|
-
};
|
|
191
|
-
48: {
|
|
192
|
-
value: string;
|
|
193
|
-
};
|
|
194
|
-
52: {
|
|
195
|
-
value: string;
|
|
196
|
-
};
|
|
197
|
-
56: {
|
|
198
|
-
value: string;
|
|
199
|
-
};
|
|
200
|
-
60: {
|
|
201
|
-
value: string;
|
|
202
|
-
};
|
|
203
|
-
64: {
|
|
204
|
-
value: string;
|
|
205
|
-
};
|
|
206
|
-
72: {
|
|
207
|
-
value: string;
|
|
208
|
-
};
|
|
209
|
-
80: {
|
|
210
|
-
value: string;
|
|
211
|
-
};
|
|
212
|
-
96: {
|
|
213
|
-
value: string;
|
|
214
|
-
};
|
|
215
|
-
'3xs': {
|
|
216
|
-
value: string;
|
|
217
|
-
};
|
|
218
|
-
'2xs': {
|
|
219
|
-
value: string;
|
|
220
|
-
};
|
|
221
|
-
xs: {
|
|
222
|
-
value: string;
|
|
223
|
-
};
|
|
224
|
-
sm: {
|
|
225
|
-
value: string;
|
|
226
|
-
};
|
|
227
|
-
md: {
|
|
228
|
-
value: string;
|
|
229
|
-
};
|
|
230
|
-
lg: {
|
|
231
|
-
value: string;
|
|
232
|
-
};
|
|
233
|
-
xl: {
|
|
234
|
-
value: string;
|
|
235
|
-
};
|
|
236
|
-
'2xl': {
|
|
237
|
-
value: string;
|
|
238
|
-
};
|
|
239
|
-
'3xl': {
|
|
240
|
-
value: string;
|
|
241
|
-
};
|
|
242
|
-
'4xl': {
|
|
243
|
-
value: string;
|
|
244
|
-
};
|
|
245
|
-
'5xl': {
|
|
246
|
-
value: string;
|
|
247
|
-
};
|
|
248
|
-
'6xl': {
|
|
249
|
-
value: string;
|
|
250
|
-
};
|
|
251
|
-
'7xl': {
|
|
252
|
-
value: string;
|
|
253
|
-
};
|
|
254
|
-
'8xl': {
|
|
255
|
-
value: string;
|
|
256
|
-
};
|
|
257
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineTokens } from '@chakra-ui/react';
|
|
2
|
-
import { spacing } from "./spacing.js";
|
|
3
|
-
const largeSizes = defineTokens.sizes({
|
|
4
|
-
'3xs': { value: '14rem' },
|
|
5
|
-
'2xs': { value: '16rem' },
|
|
6
|
-
xs: { value: '20rem' },
|
|
7
|
-
sm: { value: '24rem' },
|
|
8
|
-
md: { value: '28rem' },
|
|
9
|
-
lg: { value: '32rem' },
|
|
10
|
-
xl: { value: '36rem' },
|
|
11
|
-
'2xl': { value: '42rem' },
|
|
12
|
-
'3xl': { value: '48rem' },
|
|
13
|
-
'4xl': { value: '56rem' },
|
|
14
|
-
'5xl': { value: '64rem' },
|
|
15
|
-
'6xl': { value: '72rem' },
|
|
16
|
-
'7xl': { value: '80rem' },
|
|
17
|
-
'8xl': { value: '90rem' },
|
|
18
|
-
});
|
|
19
|
-
const namedSizes = defineTokens.sizes({
|
|
20
|
-
max: { value: 'max-content' },
|
|
21
|
-
min: { value: 'min-content' },
|
|
22
|
-
fit: { value: 'fit-content' },
|
|
23
|
-
prose: { value: '60ch' },
|
|
24
|
-
full: { value: '100%' },
|
|
25
|
-
dvh: { value: '100dvh' },
|
|
26
|
-
svh: { value: '100svh' },
|
|
27
|
-
lvh: { value: '100lvh' },
|
|
28
|
-
dvw: { value: '100dvw' },
|
|
29
|
-
svw: { value: '100svw' },
|
|
30
|
-
lvw: { value: '100lvw' },
|
|
31
|
-
vw: { value: '100vw' },
|
|
32
|
-
vh: { value: '100vh' },
|
|
33
|
-
});
|
|
34
|
-
const fractionalSizes = defineTokens.sizes({
|
|
35
|
-
'1/2': { value: '50%' },
|
|
36
|
-
'1/3': { value: '33.333333%' },
|
|
37
|
-
'2/3': { value: '66.666667%' },
|
|
38
|
-
'1/4': { value: '25%' },
|
|
39
|
-
'3/4': { value: '75%' },
|
|
40
|
-
'1/5': { value: '20%' },
|
|
41
|
-
'2/5': { value: '40%' },
|
|
42
|
-
'3/5': { value: '60%' },
|
|
43
|
-
'4/5': { value: '80%' },
|
|
44
|
-
'1/6': { value: '16.666667%' },
|
|
45
|
-
'2/6': { value: '33.333333%' },
|
|
46
|
-
'3/6': { value: '50%' },
|
|
47
|
-
'4/6': { value: '66.666667%' },
|
|
48
|
-
'5/6': { value: '83.333333%' },
|
|
49
|
-
'1/12': { value: '8.333333%' },
|
|
50
|
-
'2/12': { value: '16.666667%' },
|
|
51
|
-
'3/12': { value: '25%' },
|
|
52
|
-
'4/12': { value: '33.333333%' },
|
|
53
|
-
'5/12': { value: '41.666667%' },
|
|
54
|
-
'6/12': { value: '50%' },
|
|
55
|
-
'7/12': { value: '58.333333%' },
|
|
56
|
-
'8/12': { value: '66.666667%' },
|
|
57
|
-
'9/12': { value: '75%' },
|
|
58
|
-
'10/12': { value: '83.333333%' },
|
|
59
|
-
'11/12': { value: '91.666667%' },
|
|
60
|
-
});
|
|
61
|
-
export const sizes = defineTokens.sizes({
|
|
62
|
-
...largeSizes,
|
|
63
|
-
...spacing,
|
|
64
|
-
...fractionalSizes,
|
|
65
|
-
...namedSizes,
|
|
66
|
-
});
|