@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,41 +0,0 @@
|
|
|
1
|
-
import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
|
|
2
|
-
export const appShellSlotRecipe = defineSlotRecipe({
|
|
3
|
-
className: 'sui-app-shell',
|
|
4
|
-
slots: ['root', 'content', 'main'],
|
|
5
|
-
base: {
|
|
6
|
-
root: {
|
|
7
|
-
display: 'flex',
|
|
8
|
-
flexDirection: 'column',
|
|
9
|
-
height: '100dvh',
|
|
10
|
-
},
|
|
11
|
-
content: {
|
|
12
|
-
display: 'flex',
|
|
13
|
-
flex: 1,
|
|
14
|
-
minWidth: 0,
|
|
15
|
-
minHeight: 0,
|
|
16
|
-
},
|
|
17
|
-
main: {
|
|
18
|
-
display: 'flex',
|
|
19
|
-
flex: 1,
|
|
20
|
-
flexDirection: 'column',
|
|
21
|
-
minWidth: 0,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
variants: {
|
|
25
|
-
fullscreen: {
|
|
26
|
-
true: {
|
|
27
|
-
root: {
|
|
28
|
-
position: 'fixed',
|
|
29
|
-
inset: 0,
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
variant: {
|
|
34
|
-
plain: {},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
defaultVariants: {
|
|
38
|
-
fullscreen: false,
|
|
39
|
-
variant: 'plain',
|
|
40
|
-
},
|
|
41
|
-
});
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export declare const avatarSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"root" | "image" | "fallback", {
|
|
2
|
-
size: {
|
|
3
|
-
full: {
|
|
4
|
-
root: {
|
|
5
|
-
'--avatar-size': "100%";
|
|
6
|
-
'--avatar-font-size': "calc(var(--tag-avatar-size) / 2)";
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
'2xs': {
|
|
10
|
-
root: {
|
|
11
|
-
'--avatar-size': "sizes.4";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
xs: {
|
|
15
|
-
root: {
|
|
16
|
-
'--avatar-size': "sizes.5";
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
sm: {
|
|
20
|
-
root: {
|
|
21
|
-
'--avatar-size': "sizes.6";
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
md: {
|
|
25
|
-
root: {
|
|
26
|
-
'--avatar-size': "sizes.9";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
lg: {
|
|
30
|
-
root: {
|
|
31
|
-
'--avatar-size': "sizes.12";
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
xl: {
|
|
35
|
-
root: {
|
|
36
|
-
'--avatar-size': "sizes.16";
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
'2xl': {
|
|
40
|
-
root: {
|
|
41
|
-
'--avatar-size': "sizes.20";
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
variant: {
|
|
46
|
-
solid: {
|
|
47
|
-
root: {
|
|
48
|
-
bg: "colorPalette.solid";
|
|
49
|
-
color: "colorPalette.contrast";
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
subtle: {
|
|
53
|
-
root: {
|
|
54
|
-
bg: "colorPalette.muted";
|
|
55
|
-
color: "colorPalette.fg";
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
outline: {
|
|
59
|
-
root: {
|
|
60
|
-
color: "colorPalette.fg";
|
|
61
|
-
borderWidth: "1px";
|
|
62
|
-
borderColor: "colorPalette.muted";
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
shape: {
|
|
67
|
-
square: {};
|
|
68
|
-
rounded: {
|
|
69
|
-
root: {
|
|
70
|
-
'--avatar-radius': "radii.indicator.md";
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
full: {
|
|
74
|
-
root: {
|
|
75
|
-
'--avatar-radius': "radii.full";
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
borderless: {
|
|
80
|
-
true: {
|
|
81
|
-
root: {
|
|
82
|
-
'&[data-group-item]': {
|
|
83
|
-
borderWidth: "0px";
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}>;
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { avatarAnatomy } from '@chakra-ui/react/anatomy';
|
|
2
|
-
import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
|
|
3
|
-
export const avatarSlotRecipe = defineSlotRecipe({
|
|
4
|
-
slots: avatarAnatomy.keys(),
|
|
5
|
-
className: 'chakra-avatar',
|
|
6
|
-
base: {
|
|
7
|
-
root: {
|
|
8
|
-
'--avatar-font-size': 'calc(var(--avatar-size) / 2)',
|
|
9
|
-
display: 'inline-flex',
|
|
10
|
-
alignItems: 'center',
|
|
11
|
-
justifyContent: 'center',
|
|
12
|
-
fontWeight: 'medium',
|
|
13
|
-
position: 'relative',
|
|
14
|
-
verticalAlign: 'top',
|
|
15
|
-
flexShrink: '0',
|
|
16
|
-
userSelect: 'none',
|
|
17
|
-
width: 'var(--avatar-size)',
|
|
18
|
-
height: 'var(--avatar-size)',
|
|
19
|
-
fontSize: 'var(--avatar-font-size)',
|
|
20
|
-
borderRadius: 'var(--avatar-radius)',
|
|
21
|
-
'&[data-group-item]': {
|
|
22
|
-
borderWidth: '2px',
|
|
23
|
-
borderColor: 'bg',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
image: {
|
|
27
|
-
width: '100%',
|
|
28
|
-
height: '100%',
|
|
29
|
-
objectFit: 'cover',
|
|
30
|
-
borderRadius: 'var(--avatar-radius)',
|
|
31
|
-
},
|
|
32
|
-
fallback: {
|
|
33
|
-
lineHeight: '1',
|
|
34
|
-
textTransform: 'uppercase',
|
|
35
|
-
fontWeight: 'medium',
|
|
36
|
-
fontSize: 'var(--avatar-font-size)',
|
|
37
|
-
borderRadius: 'var(--avatar-radius)',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
variants: {
|
|
41
|
-
size: {
|
|
42
|
-
full: {
|
|
43
|
-
root: {
|
|
44
|
-
'--avatar-size': '100%',
|
|
45
|
-
'--avatar-font-size': 'calc(var(--tag-avatar-size) / 2)',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
'2xs': {
|
|
49
|
-
root: {
|
|
50
|
-
'--avatar-size': 'sizes.4',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
xs: {
|
|
54
|
-
root: {
|
|
55
|
-
'--avatar-size': 'sizes.5',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
sm: {
|
|
59
|
-
root: {
|
|
60
|
-
'--avatar-size': 'sizes.6',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
md: {
|
|
64
|
-
root: {
|
|
65
|
-
'--avatar-size': 'sizes.9',
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
lg: {
|
|
69
|
-
root: {
|
|
70
|
-
'--avatar-size': 'sizes.12',
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
xl: {
|
|
74
|
-
root: {
|
|
75
|
-
'--avatar-size': 'sizes.16',
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
'2xl': {
|
|
79
|
-
root: {
|
|
80
|
-
'--avatar-size': 'sizes.20',
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
variant: {
|
|
85
|
-
solid: {
|
|
86
|
-
root: {
|
|
87
|
-
bg: 'colorPalette.solid',
|
|
88
|
-
color: 'colorPalette.contrast',
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
subtle: {
|
|
92
|
-
root: {
|
|
93
|
-
bg: 'colorPalette.muted',
|
|
94
|
-
color: 'colorPalette.fg',
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
|
-
outline: {
|
|
98
|
-
root: {
|
|
99
|
-
color: 'colorPalette.fg',
|
|
100
|
-
borderWidth: '1px',
|
|
101
|
-
borderColor: 'colorPalette.muted',
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
shape: {
|
|
106
|
-
square: {},
|
|
107
|
-
rounded: {
|
|
108
|
-
root: { '--avatar-radius': 'radii.indicator.md' },
|
|
109
|
-
},
|
|
110
|
-
full: {
|
|
111
|
-
root: { '--avatar-radius': 'radii.full' },
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
borderless: {
|
|
115
|
-
true: {
|
|
116
|
-
root: {
|
|
117
|
-
'&[data-group-item]': {
|
|
118
|
-
borderWidth: '0px',
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
defaultVariants: {
|
|
125
|
-
size: 'md',
|
|
126
|
-
shape: 'full',
|
|
127
|
-
variant: 'solid',
|
|
128
|
-
},
|
|
129
|
-
});
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export declare const badgeRecipe: import("@chakra-ui/react").RecipeDefinition<{
|
|
2
|
-
variant: {
|
|
3
|
-
solid: {
|
|
4
|
-
bg: "colorPalette.solid";
|
|
5
|
-
color: "colorPalette.contrast";
|
|
6
|
-
};
|
|
7
|
-
subtle: {
|
|
8
|
-
bg: "colorPalette.subtle";
|
|
9
|
-
color: "colorPalette.fg";
|
|
10
|
-
};
|
|
11
|
-
outline: {
|
|
12
|
-
color: "colorPalette.fg";
|
|
13
|
-
shadow: "inset 0 0 0px 1px var(--shadow-color)";
|
|
14
|
-
shadowColor: "colorPalette.subtle";
|
|
15
|
-
};
|
|
16
|
-
surface: {
|
|
17
|
-
bg: "colorPalette.muted/20";
|
|
18
|
-
color: "colorPalette.fg";
|
|
19
|
-
shadow: "inset 0 0 0px 1px var(--shadow-color)";
|
|
20
|
-
shadowColor: "colorPalette.subtle";
|
|
21
|
-
};
|
|
22
|
-
plain: {
|
|
23
|
-
color: "colorPalette.fg";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
size: {
|
|
27
|
-
xs: {
|
|
28
|
-
textStyle: "2xs";
|
|
29
|
-
px: "1";
|
|
30
|
-
minH: "4";
|
|
31
|
-
};
|
|
32
|
-
sm: {
|
|
33
|
-
textStyle: "xs";
|
|
34
|
-
px: "1.5";
|
|
35
|
-
minH: "5";
|
|
36
|
-
};
|
|
37
|
-
md: {
|
|
38
|
-
textStyle: "sm";
|
|
39
|
-
px: "2";
|
|
40
|
-
minH: "6";
|
|
41
|
-
};
|
|
42
|
-
lg: {
|
|
43
|
-
textStyle: "sm";
|
|
44
|
-
px: "2.5";
|
|
45
|
-
minH: "7";
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
}>;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineRecipe } from '@chakra-ui/react/styled-system';
|
|
2
|
-
export const badgeRecipe = defineRecipe({
|
|
3
|
-
className: 'chakra-badge',
|
|
4
|
-
base: {
|
|
5
|
-
display: 'inline-flex',
|
|
6
|
-
alignItems: 'center',
|
|
7
|
-
borderRadius: 'full',
|
|
8
|
-
gap: '1',
|
|
9
|
-
fontWeight: 'medium',
|
|
10
|
-
fontVariantNumeric: 'tabular-nums',
|
|
11
|
-
whiteSpace: 'nowrap',
|
|
12
|
-
userSelect: 'none',
|
|
13
|
-
},
|
|
14
|
-
variants: {
|
|
15
|
-
variant: {
|
|
16
|
-
solid: {
|
|
17
|
-
bg: 'colorPalette.solid',
|
|
18
|
-
color: 'colorPalette.contrast',
|
|
19
|
-
},
|
|
20
|
-
subtle: {
|
|
21
|
-
bg: 'colorPalette.subtle',
|
|
22
|
-
color: 'colorPalette.fg',
|
|
23
|
-
},
|
|
24
|
-
outline: {
|
|
25
|
-
color: 'colorPalette.fg',
|
|
26
|
-
shadow: 'inset 0 0 0px 1px var(--shadow-color)',
|
|
27
|
-
shadowColor: 'colorPalette.subtle',
|
|
28
|
-
},
|
|
29
|
-
surface: {
|
|
30
|
-
bg: 'colorPalette.muted/20',
|
|
31
|
-
color: 'colorPalette.fg',
|
|
32
|
-
shadow: 'inset 0 0 0px 1px var(--shadow-color)',
|
|
33
|
-
shadowColor: 'colorPalette.subtle',
|
|
34
|
-
},
|
|
35
|
-
plain: {
|
|
36
|
-
color: 'colorPalette.fg',
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
size: {
|
|
40
|
-
xs: {
|
|
41
|
-
textStyle: '2xs',
|
|
42
|
-
px: '1',
|
|
43
|
-
minH: '4',
|
|
44
|
-
},
|
|
45
|
-
sm: {
|
|
46
|
-
textStyle: 'xs',
|
|
47
|
-
px: '1.5',
|
|
48
|
-
minH: '5',
|
|
49
|
-
},
|
|
50
|
-
md: {
|
|
51
|
-
textStyle: 'sm',
|
|
52
|
-
px: '2',
|
|
53
|
-
minH: '6',
|
|
54
|
-
},
|
|
55
|
-
lg: {
|
|
56
|
-
textStyle: 'sm',
|
|
57
|
-
px: '2.5',
|
|
58
|
-
minH: '7',
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
defaultVariants: {
|
|
63
|
-
variant: 'subtle',
|
|
64
|
-
size: 'sm',
|
|
65
|
-
},
|
|
66
|
-
});
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export declare const blockquoteSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "root" | "icon" | "caption", {
|
|
2
|
-
justify: {
|
|
3
|
-
start: {
|
|
4
|
-
root: {
|
|
5
|
-
alignItems: "flex-start";
|
|
6
|
-
textAlign: "start";
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
center: {
|
|
10
|
-
root: {
|
|
11
|
-
alignItems: "center";
|
|
12
|
-
textAlign: "center";
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
end: {
|
|
16
|
-
root: {
|
|
17
|
-
alignItems: "flex-end";
|
|
18
|
-
textAlign: "end";
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
variant: {
|
|
23
|
-
subtle: {
|
|
24
|
-
root: {
|
|
25
|
-
paddingX: "5";
|
|
26
|
-
borderStartWidth: "4px";
|
|
27
|
-
borderStartColor: "colorPalette.muted";
|
|
28
|
-
};
|
|
29
|
-
icon: {
|
|
30
|
-
color: "colorPalette.fg";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
solid: {
|
|
34
|
-
root: {
|
|
35
|
-
paddingX: "5";
|
|
36
|
-
borderStartWidth: "4px";
|
|
37
|
-
borderStartColor: "colorPalette.solid";
|
|
38
|
-
};
|
|
39
|
-
icon: {
|
|
40
|
-
color: "colorPalette.solid";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
plain: {
|
|
44
|
-
root: {
|
|
45
|
-
paddingX: "5";
|
|
46
|
-
};
|
|
47
|
-
icon: {
|
|
48
|
-
color: "colorPalette.solid";
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
}>;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { blockquoteAnatomy } from '@chakra-ui/react/anatomy';
|
|
2
|
-
import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
|
|
3
|
-
export const blockquoteSlotRecipe = defineSlotRecipe({
|
|
4
|
-
className: 'chakra-blockquote',
|
|
5
|
-
slots: blockquoteAnatomy.keys(),
|
|
6
|
-
base: {
|
|
7
|
-
root: {
|
|
8
|
-
position: 'relative',
|
|
9
|
-
display: 'flex',
|
|
10
|
-
flexDirection: 'column',
|
|
11
|
-
gap: '2',
|
|
12
|
-
},
|
|
13
|
-
caption: {
|
|
14
|
-
textStyle: 'sm',
|
|
15
|
-
color: 'fg.muted',
|
|
16
|
-
},
|
|
17
|
-
icon: {
|
|
18
|
-
boxSize: '5',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
variants: {
|
|
22
|
-
justify: {
|
|
23
|
-
start: {
|
|
24
|
-
root: {
|
|
25
|
-
alignItems: 'flex-start',
|
|
26
|
-
textAlign: 'start',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
center: {
|
|
30
|
-
root: {
|
|
31
|
-
alignItems: 'center',
|
|
32
|
-
textAlign: 'center',
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
end: {
|
|
36
|
-
root: {
|
|
37
|
-
alignItems: 'flex-end',
|
|
38
|
-
textAlign: 'end',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
variant: {
|
|
43
|
-
subtle: {
|
|
44
|
-
root: {
|
|
45
|
-
paddingX: '5',
|
|
46
|
-
borderStartWidth: '4px',
|
|
47
|
-
borderStartColor: 'colorPalette.muted',
|
|
48
|
-
},
|
|
49
|
-
icon: {
|
|
50
|
-
color: 'colorPalette.fg',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
solid: {
|
|
54
|
-
root: {
|
|
55
|
-
paddingX: '5',
|
|
56
|
-
borderStartWidth: '4px',
|
|
57
|
-
borderStartColor: 'colorPalette.solid',
|
|
58
|
-
},
|
|
59
|
-
icon: {
|
|
60
|
-
color: 'colorPalette.solid',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
plain: {
|
|
64
|
-
root: {
|
|
65
|
-
paddingX: '5',
|
|
66
|
-
},
|
|
67
|
-
icon: {
|
|
68
|
-
color: 'colorPalette.solid',
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
defaultVariants: {
|
|
74
|
-
variant: 'subtle',
|
|
75
|
-
justify: 'start',
|
|
76
|
-
},
|
|
77
|
-
});
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export declare const breadcrumbSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"link" | "root" | "item" | "separator" | "currentLink" | "list" | "ellipsis", {
|
|
2
|
-
variant: {
|
|
3
|
-
underline: {
|
|
4
|
-
link: {
|
|
5
|
-
color: "colorPalette.fg";
|
|
6
|
-
textDecoration: "underline";
|
|
7
|
-
textUnderlineOffset: "0.2em";
|
|
8
|
-
textDecorationColor: "colorPalette.muted";
|
|
9
|
-
};
|
|
10
|
-
currentLink: {
|
|
11
|
-
color: "colorPalette.fg";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
plain: {
|
|
15
|
-
link: {
|
|
16
|
-
color: "fg.muted";
|
|
17
|
-
_hover: {
|
|
18
|
-
color: "fg";
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
currentLink: {
|
|
22
|
-
color: "fg";
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
size: {
|
|
27
|
-
sm: {
|
|
28
|
-
list: {
|
|
29
|
-
gap: "1";
|
|
30
|
-
textStyle: "xs";
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
md: {
|
|
34
|
-
list: {
|
|
35
|
-
gap: "1.5";
|
|
36
|
-
textStyle: "sm";
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
lg: {
|
|
40
|
-
list: {
|
|
41
|
-
gap: "2";
|
|
42
|
-
textStyle: "md";
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { breadcrumbAnatomy } from '@chakra-ui/react/anatomy';
|
|
2
|
-
import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
|
|
3
|
-
export const breadcrumbSlotRecipe = defineSlotRecipe({
|
|
4
|
-
className: 'chakra-breadcrumb',
|
|
5
|
-
slots: breadcrumbAnatomy.keys(),
|
|
6
|
-
base: {
|
|
7
|
-
list: {
|
|
8
|
-
display: 'flex',
|
|
9
|
-
alignItems: 'center',
|
|
10
|
-
wordBreak: 'break-word',
|
|
11
|
-
color: 'fg.muted',
|
|
12
|
-
},
|
|
13
|
-
link: {
|
|
14
|
-
outline: '0',
|
|
15
|
-
textDecoration: 'none',
|
|
16
|
-
borderRadius: 'control.sm',
|
|
17
|
-
focusRing: 'outside',
|
|
18
|
-
display: 'inline-flex',
|
|
19
|
-
alignItems: 'center',
|
|
20
|
-
gap: '2',
|
|
21
|
-
},
|
|
22
|
-
item: {
|
|
23
|
-
display: 'inline-flex',
|
|
24
|
-
alignItems: 'center',
|
|
25
|
-
},
|
|
26
|
-
separator: {
|
|
27
|
-
color: 'fg.muted',
|
|
28
|
-
opacity: '0.8',
|
|
29
|
-
_icon: {
|
|
30
|
-
boxSize: '1em',
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
ellipsis: {
|
|
34
|
-
display: 'inline-flex',
|
|
35
|
-
alignItems: 'center',
|
|
36
|
-
justifyContent: 'center',
|
|
37
|
-
_icon: {
|
|
38
|
-
boxSize: '1em',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
variants: {
|
|
43
|
-
variant: {
|
|
44
|
-
underline: {
|
|
45
|
-
link: {
|
|
46
|
-
color: 'colorPalette.fg',
|
|
47
|
-
textDecoration: 'underline',
|
|
48
|
-
textUnderlineOffset: '0.2em',
|
|
49
|
-
textDecorationColor: 'colorPalette.muted',
|
|
50
|
-
},
|
|
51
|
-
currentLink: {
|
|
52
|
-
color: 'colorPalette.fg',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
plain: {
|
|
56
|
-
link: {
|
|
57
|
-
color: 'fg.muted',
|
|
58
|
-
_hover: { color: 'fg' },
|
|
59
|
-
},
|
|
60
|
-
currentLink: {
|
|
61
|
-
color: 'fg',
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
size: {
|
|
66
|
-
sm: {
|
|
67
|
-
list: {
|
|
68
|
-
gap: '1',
|
|
69
|
-
textStyle: 'xs',
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
md: {
|
|
73
|
-
list: {
|
|
74
|
-
gap: '1.5',
|
|
75
|
-
textStyle: 'sm',
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
lg: {
|
|
79
|
-
list: {
|
|
80
|
-
gap: '2',
|
|
81
|
-
textStyle: 'md',
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
defaultVariants: {
|
|
87
|
-
variant: 'plain',
|
|
88
|
-
size: 'md',
|
|
89
|
-
},
|
|
90
|
-
});
|