@saas-ui/react 3.0.0-next.44 → 3.0.0-next.48

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.
Files changed (223) hide show
  1. package/dist/.tsbuildinfo.json +1 -1
  2. package/dist/colors.d.ts +1 -1
  3. package/dist/colors.js +1 -1
  4. package/dist/components/command/command.d.ts +1 -1
  5. package/dist/components/grid-list/grid-list.d.ts +1 -1
  6. package/dist/components/persona/persona-composed.d.ts +1 -1
  7. package/dist/components/persona/persona.d.ts +1 -1
  8. package/dist/index.d.ts +1 -1
  9. package/dist/preset.d.ts +1 -3
  10. package/dist/preset.js +1 -10
  11. package/package.json +4 -3
  12. package/dist/components/accordion/accordion.recipe.d.ts +0 -84
  13. package/dist/components/accordion/accordion.recipe.js +0 -148
  14. package/dist/components/action-bar/action-bar.recipe.d.ts +0 -1
  15. package/dist/components/action-bar/action-bar.recipe.js +0 -56
  16. package/dist/components/alert/alert.recipe.d.ts +0 -120
  17. package/dist/components/alert/alert.recipe.js +0 -149
  18. package/dist/components/app-shell/app-shell.recipe.d.ts +0 -13
  19. package/dist/components/app-shell/app-shell.recipe.js +0 -41
  20. package/dist/components/avatar/avatar.recipe.d.ts +0 -88
  21. package/dist/components/avatar/avatar.recipe.js +0 -129
  22. package/dist/components/badge/badge.recipe.d.ts +0 -48
  23. package/dist/components/badge/badge.recipe.js +0 -66
  24. package/dist/components/blockquote/blockquote.recipe.d.ts +0 -52
  25. package/dist/components/blockquote/blockquote.recipe.js +0 -77
  26. package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +0 -46
  27. package/dist/components/breadcrumb/breadcrumb.recipe.js +0 -90
  28. package/dist/components/button/button.recipe.d.ts +0 -141
  29. package/dist/components/button/button.recipe.js +0 -185
  30. package/dist/components/card/card.recipe.d.ts +0 -78
  31. package/dist/components/card/card.recipe.js +0 -133
  32. package/dist/components/checkbox/checkbox.recipe.d.ts +0 -80
  33. package/dist/components/checkbox/checkbox.recipe.js +0 -64
  34. package/dist/components/checkbox-card/checkbox-card.recipe.d.ts +0 -188
  35. package/dist/components/checkbox-card/checkbox-card.recipe.js +0 -202
  36. package/dist/components/checkmark/checkmark.recipe.d.ts +0 -54
  37. package/dist/components/checkmark/checkmark.recipe.js +0 -80
  38. package/dist/components/code/code.recipe.d.ts +0 -48
  39. package/dist/components/code/code.recipe.js +0 -14
  40. package/dist/components/collapsible/collapsible.recipe.d.ts +0 -1
  41. package/dist/components/collapsible/collapsible.recipe.js +0 -19
  42. package/dist/components/combobox/combobox.recipe.d.ts +0 -144
  43. package/dist/components/combobox/combobox.recipe.js +0 -292
  44. package/dist/components/command/command.recipe.d.ts +0 -15
  45. package/dist/components/command/command.recipe.js +0 -34
  46. package/dist/components/container/container.recipe.d.ts +0 -14
  47. package/dist/components/container/container.recipe.js +0 -25
  48. package/dist/components/data-list/data-list.recipe.d.ts +0 -55
  49. package/dist/components/data-list/data-list.recipe.js +0 -78
  50. package/dist/components/dialog/dialog.recipe.d.ts +0 -166
  51. package/dist/components/dialog/dialog.recipe.js +0 -256
  52. package/dist/components/drawer/drawer.recipe.d.ts +0 -113
  53. package/dist/components/drawer/drawer.recipe.js +0 -202
  54. package/dist/components/editable/editable.recipe.d.ts +0 -37
  55. package/dist/components/editable/editable.recipe.js +0 -89
  56. package/dist/components/empty-state/empty-state.recipe.d.ts +0 -83
  57. package/dist/components/empty-state/empty-state.recipe.js +0 -137
  58. package/dist/components/field/field.recipe.d.ts +0 -29
  59. package/dist/components/field/field.recipe.js +0 -74
  60. package/dist/components/fieldset/fieldset.recipe.d.ts +0 -37
  61. package/dist/components/fieldset/fieldset.recipe.js +0 -59
  62. package/dist/components/file-upload/file-upload.recipe.d.ts +0 -1
  63. package/dist/components/file-upload/file-upload.recipe.js +0 -90
  64. package/dist/components/grid-list/grid-list.recipe.d.ts +0 -60
  65. package/dist/components/grid-list/grid-list.recipe.js +0 -131
  66. package/dist/components/heading/heading.recipe.d.ts +0 -59
  67. package/dist/components/heading/heading.recipe.js +0 -70
  68. package/dist/components/hover-card/hover-card.recipe.d.ts +0 -28
  69. package/dist/components/hover-card/hover-card.recipe.js +0 -70
  70. package/dist/components/icon/icon.recipe.d.ts +0 -25
  71. package/dist/components/icon/icon.recipe.js +0 -27
  72. package/dist/components/icon-badge/icon-badge.recipe.d.ts +0 -43
  73. package/dist/components/icon-badge/icon-badge.recipe.js +0 -57
  74. package/dist/components/input/input.recipe.d.ts +0 -66
  75. package/dist/components/input/input.recipe.js +0 -93
  76. package/dist/components/input-addon/input-addon.recipe.d.ts +0 -56
  77. package/dist/components/input-addon/input-addon.recipe.js +0 -36
  78. package/dist/components/kbd/kbd.recipe.d.ts +0 -36
  79. package/dist/components/kbd/kbd.recipe.js +0 -56
  80. package/dist/components/link/link.recipe.d.ts +0 -18
  81. package/dist/components/link/link.recipe.js +0 -34
  82. package/dist/components/list/list.recipe.d.ts +0 -38
  83. package/dist/components/list/list.recipe.js +0 -62
  84. package/dist/components/loading-overlay/loading-overlay.recipe.d.ts +0 -26
  85. package/dist/components/loading-overlay/loading-overlay.recipe.js +0 -51
  86. package/dist/components/mark/mark.recipe.d.ts +0 -16
  87. package/dist/components/mark/mark.recipe.js +0 -25
  88. package/dist/components/menu/menu.recipe.d.ts +0 -58
  89. package/dist/components/menu/menu.recipe.js +0 -133
  90. package/dist/components/native-select/native-select.recipe.d.ts +0 -90
  91. package/dist/components/native-select/native-select.recipe.js +0 -134
  92. package/dist/components/navbar/navbar.recipe.d.ts +0 -46
  93. package/dist/components/navbar/navbar.recipe.js +0 -124
  94. package/dist/components/number-input/number-input.recipe.d.ts +0 -144
  95. package/dist/components/number-input/number-input.recipe.js +0 -111
  96. package/dist/components/page/page.recipe.d.ts +0 -61
  97. package/dist/components/page/page.recipe.js +0 -99
  98. package/dist/components/persona/persona.recipe.d.ts +0 -104
  99. package/dist/components/persona/persona.recipe.js +0 -106
  100. package/dist/components/pin-input/pin-input.recipe.d.ts +0 -236
  101. package/dist/components/pin-input/pin-input.recipe.js +0 -32
  102. package/dist/components/popover/popover.recipe.d.ts +0 -24
  103. package/dist/components/popover/popover.recipe.js +0 -84
  104. package/dist/components/progress/progress.recipe.d.ts +0 -82
  105. package/dist/components/progress/progress.recipe.js +0 -121
  106. package/dist/components/progress-circle/progress-circle.recipe.d.ts +0 -49
  107. package/dist/components/progress-circle/progress-circle.recipe.js +0 -91
  108. package/dist/components/radio/radiomark.recipe.d.ts +0 -56
  109. package/dist/components/radio/radiomark.recipe.js +0 -95
  110. package/dist/components/radio-card/radio-card.recipe.d.ts +0 -191
  111. package/dist/components/radio-card/radio-card.recipe.js +0 -209
  112. package/dist/components/radio-group/radio-group.recipe.d.ts +0 -77
  113. package/dist/components/radio-group/radio-group.recipe.js +0 -61
  114. package/dist/components/rating-group/rating-group.recipe.d.ts +0 -24
  115. package/dist/components/rating-group/rating-group.recipe.js +0 -83
  116. package/dist/components/section/section.recipe.d.ts +0 -27
  117. package/dist/components/section/section.recipe.js +0 -63
  118. package/dist/components/segmented-control/segment-group.recipe.d.ts +0 -48
  119. package/dist/components/segmented-control/segment-group.recipe.js +0 -127
  120. package/dist/components/select/select.recipe.d.ts +0 -155
  121. package/dist/components/select/select.recipe.js +0 -285
  122. package/dist/components/separator/separator.recipe.d.ts +0 -37
  123. package/dist/components/separator/separator.recipe.js +0 -50
  124. package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +0 -67
  125. package/dist/components/sidebar/sidebar-nav-item.recipe.js +0 -118
  126. package/dist/components/sidebar/sidebar.recipe.d.ts +0 -108
  127. package/dist/components/sidebar/sidebar.recipe.js +0 -280
  128. package/dist/components/skeleton/skeleton.recipe.d.ts +0 -41
  129. package/dist/components/skeleton/skeleton.recipe.js +0 -50
  130. package/dist/components/skip-nav-link/skip-nav-link.recipe.d.ts +0 -1
  131. package/dist/components/skip-nav-link/skip-nav-link.recipe.js +0 -31
  132. package/dist/components/slider/slider.recipe.d.ts +0 -101
  133. package/dist/components/slider/slider.recipe.js +0 -175
  134. package/dist/components/spinner/spinner.recipe.d.ts +0 -22
  135. package/dist/components/spinner/spinner.recipe.js +0 -31
  136. package/dist/components/stat/stat.recipe.d.ts +0 -19
  137. package/dist/components/stat/stat.recipe.js +0 -76
  138. package/dist/components/status/status.recipe.d.ts +0 -19
  139. package/dist/components/status/status.recipe.js +0 -44
  140. package/dist/components/steps/steps.recipe.d.ts +0 -142
  141. package/dist/components/steps/steps.recipe.js +0 -213
  142. package/dist/components/switch/switch.recipe.d.ts +0 -77
  143. package/dist/components/switch/switch.recipe.js +0 -157
  144. package/dist/components/table/table.recipe.d.ts +0 -121
  145. package/dist/components/table/table.recipe.js +0 -161
  146. package/dist/components/tabs/tabs.recipe.d.ts +0 -263
  147. package/dist/components/tabs/tabs.recipe.js +0 -332
  148. package/dist/components/tag/tag.recipe.d.ts +0 -95
  149. package/dist/components/tag/tag.recipe.js +0 -154
  150. package/dist/components/textarea/textarea.recipe.d.ts +0 -65
  151. package/dist/components/textarea/textarea.recipe.js +0 -90
  152. package/dist/components/timeline/timeline.recipe.d.ts +0 -62
  153. package/dist/components/timeline/timeline.recipe.js +0 -134
  154. package/dist/components/toaster/toast.recipe.d.ts +0 -1
  155. package/dist/components/toaster/toast.recipe.js +0 -90
  156. package/dist/components/tooltip/tooltip.recipe.d.ts +0 -10
  157. package/dist/components/tooltip/tooltip.recipe.js +0 -52
  158. package/dist/theme/animation-styles.d.ts +0 -1
  159. package/dist/theme/animation-styles.js +0 -49
  160. package/dist/theme/breakpoints.d.ts +0 -10
  161. package/dist/theme/breakpoints.js +0 -8
  162. package/dist/theme/conditions.d.ts +0 -18
  163. package/dist/theme/conditions.js +0 -19
  164. package/dist/theme/fluid-font-sizes.d.ts +0 -0
  165. package/dist/theme/fluid-font-sizes.js +0 -61
  166. package/dist/theme/global-css.d.ts +0 -1
  167. package/dist/theme/global-css.js +0 -56
  168. package/dist/theme/index.d.ts +0 -1
  169. package/dist/theme/index.js +0 -72
  170. package/dist/theme/layer-styles.d.ts +0 -1
  171. package/dist/theme/layer-styles.js +0 -133
  172. package/dist/theme/recipes.d.ts +0 -861
  173. package/dist/theme/recipes.js +0 -44
  174. package/dist/theme/semantic-tokens/colors.d.ts +0 -1298
  175. package/dist/theme/semantic-tokens/colors.js +0 -687
  176. package/dist/theme/semantic-tokens/radii.d.ts +0 -44
  177. package/dist/theme/semantic-tokens/radii.js +0 -39
  178. package/dist/theme/semantic-tokens/shadows.d.ts +0 -56
  179. package/dist/theme/semantic-tokens/shadows.js +0 -57
  180. package/dist/theme/slot-recipes.d.ts +0 -4030
  181. package/dist/theme/slot-recipes.js +0 -108
  182. package/dist/theme/text-styles.d.ts +0 -1
  183. package/dist/theme/text-styles.js +0 -82
  184. package/dist/theme/tokens/animations.d.ts +0 -14
  185. package/dist/theme/tokens/animations.js +0 -7
  186. package/dist/theme/tokens/aspect-ratios.d.ts +0 -20
  187. package/dist/theme/tokens/aspect-ratios.js +0 -9
  188. package/dist/theme/tokens/blurs.d.ts +0 -26
  189. package/dist/theme/tokens/blurs.js +0 -11
  190. package/dist/theme/tokens/borders.d.ts +0 -17
  191. package/dist/theme/tokens/borders.js +0 -8
  192. package/dist/theme/tokens/colors.d.ts +0 -820
  193. package/dist/theme/tokens/colors.js +0 -306
  194. package/dist/theme/tokens/cursor.d.ts +0 -26
  195. package/dist/theme/tokens/cursor.js +0 -11
  196. package/dist/theme/tokens/durations.d.ts +0 -23
  197. package/dist/theme/tokens/durations.js +0 -10
  198. package/dist/theme/tokens/easings.d.ts +0 -20
  199. package/dist/theme/tokens/easings.js +0 -9
  200. package/dist/theme/tokens/font-sizes.d.ts +0 -44
  201. package/dist/theme/tokens/font-sizes.js +0 -18
  202. package/dist/theme/tokens/font-weights.d.ts +0 -29
  203. package/dist/theme/tokens/font-weights.js +0 -12
  204. package/dist/theme/tokens/fonts.d.ts +0 -11
  205. package/dist/theme/tokens/fonts.js +0 -13
  206. package/dist/theme/tokens/keyframes.d.ts +0 -1
  207. package/dist/theme/tokens/keyframes.js +0 -157
  208. package/dist/theme/tokens/letter-spacing.d.ts +0 -56
  209. package/dist/theme/tokens/letter-spacing.js +0 -21
  210. package/dist/theme/tokens/line-heights.d.ts +0 -77
  211. package/dist/theme/tokens/line-heights.js +0 -29
  212. package/dist/theme/tokens/radius.d.ts +0 -32
  213. package/dist/theme/tokens/radius.js +0 -15
  214. package/dist/theme/tokens/sizes.d.ts +0 -257
  215. package/dist/theme/tokens/sizes.js +0 -66
  216. package/dist/theme/tokens/spacing.d.ts +0 -101
  217. package/dist/theme/tokens/spacing.js +0 -37
  218. package/dist/theme/tokens/z-indices.d.ts +0 -53
  219. package/dist/theme/tokens/z-indices.js +0 -32
  220. package/dist/theme/utilities.d.ts +0 -10
  221. package/dist/theme/utilities.js +0 -49
  222. package/dist/theme/utils.d.ts +0 -19
  223. package/dist/theme/utils.js +0 -34
@@ -1,59 +0,0 @@
1
- import { fieldsetAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const fieldsetSlotRecipe = defineSlotRecipe({
4
- className: 'fieldset',
5
- slots: [...fieldsetAnatomy.keys(), 'content'],
6
- base: {
7
- root: {
8
- display: 'flex',
9
- flexDirection: 'column',
10
- width: 'full',
11
- },
12
- content: {
13
- display: 'flex',
14
- flexDirection: 'column',
15
- width: 'full',
16
- },
17
- legend: {
18
- color: 'fg',
19
- fontWeight: 'medium',
20
- _disabled: {
21
- opacity: '0.5',
22
- },
23
- },
24
- helperText: {
25
- color: 'fg.muted',
26
- textStyle: 'sm',
27
- },
28
- errorText: {
29
- display: 'inline-flex',
30
- alignItems: 'center',
31
- color: 'fg.error',
32
- gap: '2',
33
- fontWeight: 'medium',
34
- textStyle: 'sm',
35
- },
36
- },
37
- variants: {
38
- size: {
39
- sm: {
40
- root: { spaceY: '2' },
41
- content: { gap: '1.5' },
42
- legend: { textStyle: 'sm' },
43
- },
44
- md: {
45
- root: { spaceY: '4' },
46
- content: { gap: '4' },
47
- legend: { textStyle: 'sm' },
48
- },
49
- lg: {
50
- root: { spaceY: '6' },
51
- content: { gap: '4' },
52
- legend: { textStyle: 'md' },
53
- },
54
- },
55
- },
56
- defaultVariants: {
57
- size: 'md',
58
- },
59
- });
@@ -1 +0,0 @@
1
- export declare const fileUploadSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "item" | "itemContent" | "trigger" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "dropzoneContent" | "fileText", import("@chakra-ui/react").SlotRecipeVariantRecord<"label" | "root" | "item" | "itemContent" | "trigger" | "itemGroup" | "clearTrigger" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "dropzoneContent" | "fileText">>;
@@ -1,90 +0,0 @@
1
- import { fileUploadAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const fileUploadSlotRecipe = defineSlotRecipe({
4
- className: 'chakra-file-upload',
5
- slots: fileUploadAnatomy.keys(),
6
- base: {
7
- root: {
8
- display: 'flex',
9
- flexDirection: 'column',
10
- gap: '4',
11
- width: '100%',
12
- alignItems: 'flex-start',
13
- },
14
- label: {
15
- fontWeight: 'medium',
16
- textStyle: 'sm',
17
- },
18
- dropzone: {
19
- background: 'bg',
20
- borderRadius: 'panel.md',
21
- borderWidth: '1px',
22
- borderStyle: 'dashed',
23
- display: 'flex',
24
- alignItems: 'center',
25
- flexDirection: 'column',
26
- gap: '4',
27
- justifyContent: 'center',
28
- p: '4',
29
- transition: 'backgrounds',
30
- focusVisibleRing: 'outside',
31
- _dragging: {
32
- bg: 'colorPalette.subtle',
33
- borderStyle: 'solid',
34
- borderColor: 'colorPalette.solid',
35
- },
36
- },
37
- dropzoneContent: {
38
- display: 'flex',
39
- flexDirection: 'column',
40
- alignItems: 'center',
41
- textAlign: 'center',
42
- gap: '4',
43
- textStyle: 'sm',
44
- },
45
- item: {
46
- textStyle: 'sm',
47
- animationName: 'fade-in',
48
- animationDuration: 'moderate',
49
- background: 'bg',
50
- borderRadius: 'panel.md',
51
- borderWidth: '1px',
52
- width: '100%',
53
- display: 'flex',
54
- alignItems: 'center',
55
- gap: '3',
56
- px: '4',
57
- py: '2',
58
- },
59
- itemGroup: {
60
- width: '100%',
61
- display: 'flex',
62
- flexDirection: 'column',
63
- gap: '3',
64
- },
65
- itemName: {
66
- color: 'fg',
67
- fontWeight: 'medium',
68
- lineClamp: '1',
69
- },
70
- itemContent: {
71
- display: 'flex',
72
- flexDirection: 'column',
73
- gap: '0.5',
74
- flex: '1',
75
- },
76
- itemSizeText: {
77
- color: 'fg.muted',
78
- textStyle: 'xs',
79
- },
80
- itemDeleteTrigger: {
81
- alignSelf: 'flex-start',
82
- },
83
- itemPreviewImage: {
84
- width: '10',
85
- height: '10',
86
- objectFit: 'scale-down',
87
- },
88
- },
89
- defaultVariants: {},
90
- });
@@ -1,60 +0,0 @@
1
- import { type RecipeVariantProps } from '@chakra-ui/react/styled-system';
2
- export declare const gridListSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"cell" | "root" | "item" | "header", {
3
- interactive: {
4
- true: {
5
- item: {
6
- cursor: "button";
7
- transitionProperty: "bg";
8
- transitionDuration: "fast";
9
- _hover: {
10
- bg: "bg.subtle";
11
- };
12
- _active: {
13
- bg: "bg.subtle";
14
- };
15
- };
16
- };
17
- };
18
- variant: {
19
- simple: {};
20
- rounded: {
21
- item: {
22
- borderRadius: "md";
23
- mb: number;
24
- };
25
- };
26
- };
27
- size: {
28
- sm: {
29
- root: {
30
- textStyle: "sm";
31
- py: number;
32
- };
33
- item: {
34
- py: number;
35
- px: number;
36
- gap: number;
37
- };
38
- header: {
39
- py: number;
40
- px: number;
41
- };
42
- };
43
- md: {
44
- root: {
45
- textStyle: "md";
46
- py: number;
47
- };
48
- item: {
49
- py: number;
50
- px: number;
51
- gap: number;
52
- };
53
- header: {
54
- py: number;
55
- px: number;
56
- };
57
- };
58
- };
59
- }>;
60
- export type GridListVariantProps = RecipeVariantProps<typeof gridListSlotRecipe>;
@@ -1,131 +0,0 @@
1
- import { defineSlotRecipe, } from '@chakra-ui/react/styled-system';
2
- export const gridListSlotRecipe = defineSlotRecipe({
3
- className: 'sui-grid-list',
4
- slots: ['root', 'item', 'header', 'cell'],
5
- base: {
6
- root: {
7
- position: 'relative',
8
- },
9
- item: {
10
- display: 'flex',
11
- flexDirection: 'row',
12
- alignItems: 'center',
13
- justifyContent: 'space-between',
14
- flex: 1,
15
- userSelect: 'none',
16
- borderRadius: 'inherit',
17
- outline: 'none',
18
- _focusVisible: {
19
- boxShadow: 'outline',
20
- },
21
- _disabled: {
22
- cursor: 'disabled',
23
- opacity: 0.5,
24
- _hover: {
25
- bg: 'transparent',
26
- _dark: {
27
- bg: 'transparent',
28
- },
29
- },
30
- _active: {
31
- bg: 'transparent',
32
- _dark: {
33
- bg: 'transparent',
34
- },
35
- },
36
- },
37
- },
38
- header: {
39
- display: 'flex',
40
- flexDirection: 'row',
41
- position: 'sticky',
42
- fontWeight: 'medium',
43
- color: 'fg.subtle',
44
- },
45
- cell: {
46
- flexShrink: 0,
47
- },
48
- },
49
- variants: {
50
- interactive: {
51
- true: {
52
- item: {
53
- cursor: 'button',
54
- transitionProperty: 'bg',
55
- transitionDuration: 'fast',
56
- _hover: {
57
- bg: 'bg.subtle',
58
- },
59
- _active: {
60
- bg: 'bg.subtle',
61
- },
62
- },
63
- },
64
- },
65
- variant: {
66
- simple: {},
67
- rounded: {
68
- item: {
69
- borderRadius: 'md',
70
- mb: 0.5,
71
- },
72
- },
73
- },
74
- size: {
75
- sm: {
76
- root: {
77
- textStyle: 'sm',
78
- py: 0.5,
79
- },
80
- item: {
81
- py: 1,
82
- px: 2,
83
- gap: 1,
84
- },
85
- header: {
86
- py: 0.5,
87
- px: 2,
88
- },
89
- },
90
- md: {
91
- root: {
92
- textStyle: 'md',
93
- py: 1,
94
- },
95
- item: {
96
- py: 2,
97
- px: 3,
98
- gap: 2,
99
- },
100
- header: {
101
- py: 1,
102
- px: 3,
103
- },
104
- },
105
- },
106
- },
107
- compoundVariants: [
108
- {
109
- variant: 'rounded',
110
- size: 'sm',
111
- css: {
112
- root: {
113
- p: 1,
114
- },
115
- },
116
- },
117
- {
118
- variant: 'rounded',
119
- size: 'md',
120
- css: {
121
- root: {
122
- p: 2,
123
- },
124
- },
125
- },
126
- ],
127
- defaultVariants: {
128
- variant: 'simple',
129
- size: 'md',
130
- },
131
- });
@@ -1,59 +0,0 @@
1
- export declare const headingRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- size: {
3
- xs: {
4
- fontSize: "xs";
5
- lineHeight: "heading.xs";
6
- letterSpacing: "heading.xs";
7
- };
8
- sm: {
9
- fontSize: "sm";
10
- lineHeight: "heading.sm";
11
- letterSpacing: "heading.sm";
12
- };
13
- md: {
14
- fontSize: "md";
15
- lineHeight: "heading.md";
16
- letterSpacing: "heading.md";
17
- };
18
- lg: {
19
- fontSize: "lg";
20
- lineHeight: "heading.lg";
21
- letterSpacing: "heading.lg";
22
- };
23
- xl: {
24
- fontSize: "xl";
25
- lineHeight: "heading.xl";
26
- letterSpacing: "heading.xl";
27
- };
28
- '2xl': {
29
- fontSize: "2xl";
30
- lineHeight: "heading.2xl";
31
- letterSpacing: "heading.2xl";
32
- };
33
- '3xl': {
34
- fontSize: "3xl";
35
- lineHeight: "heading.3xl";
36
- letterSpacing: "heading.3xl";
37
- };
38
- '4xl': {
39
- fontSize: "4xl";
40
- lineHeight: "heading.4xl";
41
- letterSpacing: "heading.4xl";
42
- };
43
- '5xl': {
44
- fontSize: "5xl";
45
- lineHeight: "heading.5xl";
46
- letterSpacing: "heading.5xl";
47
- };
48
- '6xl': {
49
- fontSize: "6xl";
50
- lineHeight: "heading.6xl";
51
- letterSpacing: "heading.6xl";
52
- };
53
- '7xl': {
54
- fontSize: "7xl";
55
- lineHeight: "heading.7xl";
56
- letterSpacing: "heading.7xl";
57
- };
58
- };
59
- }>;
@@ -1,70 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const headingRecipe = defineRecipe({
3
- className: 'chakra-heading',
4
- base: {
5
- fontFamily: 'heading',
6
- fontWeight: 'semibold',
7
- },
8
- variants: {
9
- size: {
10
- xs: {
11
- fontSize: 'xs',
12
- lineHeight: 'heading.xs',
13
- letterSpacing: 'heading.xs',
14
- },
15
- sm: {
16
- fontSize: 'sm',
17
- lineHeight: 'heading.sm',
18
- letterSpacing: 'heading.sm',
19
- },
20
- md: {
21
- fontSize: 'md',
22
- lineHeight: 'heading.md',
23
- letterSpacing: 'heading.md',
24
- },
25
- lg: {
26
- fontSize: 'lg',
27
- lineHeight: 'heading.lg',
28
- letterSpacing: 'heading.lg',
29
- },
30
- xl: {
31
- fontSize: 'xl',
32
- lineHeight: 'heading.xl',
33
- letterSpacing: 'heading.xl',
34
- },
35
- '2xl': {
36
- fontSize: '2xl',
37
- lineHeight: 'heading.2xl',
38
- letterSpacing: 'heading.2xl',
39
- },
40
- '3xl': {
41
- fontSize: '3xl',
42
- lineHeight: 'heading.3xl',
43
- letterSpacing: 'heading.3xl',
44
- },
45
- '4xl': {
46
- fontSize: '4xl',
47
- lineHeight: 'heading.4xl',
48
- letterSpacing: 'heading.4xl',
49
- },
50
- '5xl': {
51
- fontSize: '5xl',
52
- lineHeight: 'heading.5xl',
53
- letterSpacing: 'heading.5xl',
54
- },
55
- '6xl': {
56
- fontSize: '6xl',
57
- lineHeight: 'heading.6xl',
58
- letterSpacing: 'heading.6xl',
59
- },
60
- '7xl': {
61
- fontSize: '7xl',
62
- lineHeight: 'heading.7xl',
63
- letterSpacing: 'heading.7xl',
64
- },
65
- },
66
- },
67
- defaultVariants: {
68
- size: 'xl',
69
- },
70
- });
@@ -1,28 +0,0 @@
1
- export declare const hoverCardSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "positioner" | "trigger" | "arrow" | "arrowTip", {
2
- size: {
3
- xs: {
4
- content: {
5
- padding: "3";
6
- borderRadius: "panel.sm";
7
- };
8
- };
9
- sm: {
10
- content: {
11
- padding: "4";
12
- borderRadius: "panel.md";
13
- };
14
- };
15
- md: {
16
- content: {
17
- padding: "5";
18
- borderRadius: "panel.md";
19
- };
20
- };
21
- lg: {
22
- content: {
23
- padding: "6";
24
- borderRadius: "panel.lg";
25
- };
26
- };
27
- };
28
- }>;
@@ -1,70 +0,0 @@
1
- import { hoverCardAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const hoverCardSlotRecipe = defineSlotRecipe({
4
- className: 'chakra-hover-card',
5
- slots: hoverCardAnatomy.keys(),
6
- base: {
7
- content: {
8
- position: 'relative',
9
- display: 'flex',
10
- flexDirection: 'column',
11
- textStyle: 'sm',
12
- '--hovercard-bg': 'colors.bg.panel',
13
- bg: 'var(--hovercard-bg)',
14
- maxWidth: '80',
15
- '--hover-card-z-index': 'zIndex.layer-2',
16
- zIndex: 'calc(var(--hover-card-z-index) + var(--layer-index, 0))',
17
- transformOrigin: 'var(--transform-origin)',
18
- borderWidth: '1px',
19
- outline: '0',
20
- layerStyle: 'overlay',
21
- _open: {
22
- animationStyle: 'slide-fade-in',
23
- animationDuration: 'fast',
24
- },
25
- _closed: {
26
- animationStyle: 'slide-fade-out',
27
- animationDuration: 'faster',
28
- },
29
- },
30
- arrow: {
31
- '--arrow-size': 'sizes.3',
32
- '--arrow-background': 'var(--hovercard-bg)',
33
- },
34
- arrowTip: {
35
- borderTopWidth: '0.5px',
36
- borderInlineStartWidth: '0.5px',
37
- },
38
- },
39
- variants: {
40
- size: {
41
- xs: {
42
- content: {
43
- padding: '3',
44
- borderRadius: 'panel.sm',
45
- },
46
- },
47
- sm: {
48
- content: {
49
- padding: '4',
50
- borderRadius: 'panel.md',
51
- },
52
- },
53
- md: {
54
- content: {
55
- padding: '5',
56
- borderRadius: 'panel.md',
57
- },
58
- },
59
- lg: {
60
- content: {
61
- padding: '6',
62
- borderRadius: 'panel.lg',
63
- },
64
- },
65
- },
66
- },
67
- defaultVariants: {
68
- size: 'md',
69
- },
70
- });
@@ -1,25 +0,0 @@
1
- export declare const iconRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- size: {
3
- inherit: {
4
- '--icon-size': "1em";
5
- };
6
- xs: {
7
- '--icon-size': "sizes.3";
8
- };
9
- sm: {
10
- '--icon-size': "sizes.4";
11
- };
12
- md: {
13
- '--icon-size': "sizes.5";
14
- };
15
- lg: {
16
- '--icon-size': "sizes.6";
17
- };
18
- xl: {
19
- '--icon-size': "sizes.7";
20
- };
21
- '2xl': {
22
- '--icon-size': "sizes.8";
23
- };
24
- };
25
- }>;
@@ -1,27 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const iconRecipe = defineRecipe({
3
- className: 'chakra-icon',
4
- base: {
5
- display: 'inline-block',
6
- lineHeight: '1em',
7
- flexShrink: '0',
8
- color: 'currentcolor',
9
- verticalAlign: 'middle',
10
- width: 'var(--icon-size)',
11
- height: 'var(--icon-size)',
12
- },
13
- variants: {
14
- size: {
15
- inherit: { '--icon-size': '1em' },
16
- xs: { '--icon-size': 'sizes.3' },
17
- sm: { '--icon-size': 'sizes.4' },
18
- md: { '--icon-size': 'sizes.5' },
19
- lg: { '--icon-size': 'sizes.6' },
20
- xl: { '--icon-size': 'sizes.7' },
21
- '2xl': { '--icon-size': 'sizes.8' },
22
- },
23
- },
24
- defaultVariants: {
25
- size: 'inherit',
26
- },
27
- });
@@ -1,43 +0,0 @@
1
- export declare const iconBadgeRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- variant: {
3
- outline: {
4
- borderWidth: "1px";
5
- borderColor: "colorPalette.subtle";
6
- color: "colorPalette.fg";
7
- };
8
- solid: {
9
- bg: "colorPalette.solid";
10
- color: "white";
11
- };
12
- subtle: {
13
- bg: "colorPalette.subtle";
14
- color: "colorPalette.fg";
15
- };
16
- };
17
- size: {
18
- sm: {
19
- borderRadius: "sm";
20
- fontSize: "0.9em";
21
- w: number;
22
- h: number;
23
- };
24
- md: {
25
- borderRadius: "md";
26
- fontSize: "1.1em";
27
- w: number;
28
- h: number;
29
- };
30
- lg: {
31
- borderRadius: "md";
32
- fontSize: "1.3em";
33
- w: number;
34
- h: number;
35
- };
36
- xl: {
37
- borderRadius: "md";
38
- fontSize: "1.5em";
39
- w: number;
40
- h: number;
41
- };
42
- };
43
- }>;