@saas-ui/react 3.0.0-next.43 → 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.
Files changed (261) 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/absolute-center/index.js +1 -0
  5. package/dist/components/action-bar/action-bar.js +1 -0
  6. package/dist/components/aspect-ratio/index.js +1 -0
  7. package/dist/components/blockquote/blockquote.js +1 -0
  8. package/dist/components/checkbox/checkbox.js +1 -0
  9. package/dist/components/checkbox-card/checkbox-card.js +1 -0
  10. package/dist/components/clipboard/clipboard.js +1 -0
  11. package/dist/components/close-button/close-button.js +1 -0
  12. package/dist/components/command/command.d.ts +1 -1
  13. package/dist/components/command/command.js +1 -0
  14. package/dist/components/dialog/dialog.js +1 -0
  15. package/dist/components/drawer/drawer.js +1 -0
  16. package/dist/components/empty-state/empty-state.js +1 -0
  17. package/dist/components/grid-list/grid-list.d.ts +1 -1
  18. package/dist/components/grid-list/grid-list.js +1 -0
  19. package/dist/components/hover-card/hover-card.js +1 -0
  20. package/dist/components/icon-button/icon-button.js +1 -0
  21. package/dist/components/info-tip/info-tip.js +1 -0
  22. package/dist/components/link/link.js +1 -0
  23. package/dist/components/loading-overlay/loading-overlay.js +1 -0
  24. package/dist/components/navbar/navbar.js +1 -0
  25. package/dist/components/number-input/number-input.js +1 -0
  26. package/dist/components/pagination/pagination.js +1 -0
  27. package/dist/components/persona/persona-composed.d.ts +1 -1
  28. package/dist/components/persona/persona.d.ts +1 -1
  29. package/dist/components/pin-input/pin-input.js +1 -0
  30. package/dist/components/popover/popover.js +1 -0
  31. package/dist/components/radio/radio.js +1 -0
  32. package/dist/components/radio-card/radio-card.js +1 -0
  33. package/dist/components/search-input/search-input.js +1 -0
  34. package/dist/components/sidebar/sidebar.js +1 -0
  35. package/dist/components/skeleton/skeleton.js +1 -0
  36. package/dist/components/slider/slider.js +1 -0
  37. package/dist/components/spinner/spinner.js +1 -0
  38. package/dist/components/stat/stat.js +1 -0
  39. package/dist/components/status/status.js +1 -0
  40. package/dist/components/steps/steps.js +1 -0
  41. package/dist/components/switch/switch.js +1 -0
  42. package/dist/components/tag/tag.js +1 -0
  43. package/dist/components/toggle-tip/toggle-tip.js +1 -0
  44. package/dist/components/tooltip/tooltip.js +1 -0
  45. package/dist/index.d.ts +1 -1
  46. package/dist/preset.d.ts +1 -3
  47. package/dist/preset.js +1 -10
  48. package/dist/provider/sui-provider.js +1 -0
  49. package/package.json +3 -2
  50. package/dist/components/accordion/accordion.recipe.d.ts +0 -84
  51. package/dist/components/accordion/accordion.recipe.js +0 -148
  52. package/dist/components/action-bar/action-bar.recipe.d.ts +0 -1
  53. package/dist/components/action-bar/action-bar.recipe.js +0 -56
  54. package/dist/components/alert/alert.recipe.d.ts +0 -120
  55. package/dist/components/alert/alert.recipe.js +0 -149
  56. package/dist/components/app-shell/app-shell.recipe.d.ts +0 -13
  57. package/dist/components/app-shell/app-shell.recipe.js +0 -41
  58. package/dist/components/avatar/avatar.recipe.d.ts +0 -88
  59. package/dist/components/avatar/avatar.recipe.js +0 -129
  60. package/dist/components/badge/badge.recipe.d.ts +0 -48
  61. package/dist/components/badge/badge.recipe.js +0 -66
  62. package/dist/components/blockquote/blockquote.recipe.d.ts +0 -52
  63. package/dist/components/blockquote/blockquote.recipe.js +0 -77
  64. package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +0 -46
  65. package/dist/components/breadcrumb/breadcrumb.recipe.js +0 -90
  66. package/dist/components/button/button.recipe.d.ts +0 -141
  67. package/dist/components/button/button.recipe.js +0 -185
  68. package/dist/components/card/card.recipe.d.ts +0 -78
  69. package/dist/components/card/card.recipe.js +0 -133
  70. package/dist/components/checkbox/checkbox.recipe.d.ts +0 -80
  71. package/dist/components/checkbox/checkbox.recipe.js +0 -64
  72. package/dist/components/checkbox-card/checkbox-card.recipe.d.ts +0 -188
  73. package/dist/components/checkbox-card/checkbox-card.recipe.js +0 -202
  74. package/dist/components/checkmark/checkmark.recipe.d.ts +0 -54
  75. package/dist/components/checkmark/checkmark.recipe.js +0 -80
  76. package/dist/components/code/code.recipe.d.ts +0 -48
  77. package/dist/components/code/code.recipe.js +0 -14
  78. package/dist/components/collapsible/collapsible.recipe.d.ts +0 -1
  79. package/dist/components/collapsible/collapsible.recipe.js +0 -19
  80. package/dist/components/combobox/combobox.recipe.d.ts +0 -144
  81. package/dist/components/combobox/combobox.recipe.js +0 -292
  82. package/dist/components/command/command.recipe.d.ts +0 -15
  83. package/dist/components/command/command.recipe.js +0 -34
  84. package/dist/components/container/container.recipe.d.ts +0 -14
  85. package/dist/components/container/container.recipe.js +0 -25
  86. package/dist/components/data-list/data-list.recipe.d.ts +0 -55
  87. package/dist/components/data-list/data-list.recipe.js +0 -78
  88. package/dist/components/dialog/dialog.recipe.d.ts +0 -166
  89. package/dist/components/dialog/dialog.recipe.js +0 -256
  90. package/dist/components/drawer/drawer.recipe.d.ts +0 -113
  91. package/dist/components/drawer/drawer.recipe.js +0 -202
  92. package/dist/components/editable/editable.recipe.d.ts +0 -37
  93. package/dist/components/editable/editable.recipe.js +0 -89
  94. package/dist/components/empty-state/empty-state.recipe.d.ts +0 -83
  95. package/dist/components/empty-state/empty-state.recipe.js +0 -137
  96. package/dist/components/field/field.recipe.d.ts +0 -29
  97. package/dist/components/field/field.recipe.js +0 -74
  98. package/dist/components/fieldset/fieldset.recipe.d.ts +0 -37
  99. package/dist/components/fieldset/fieldset.recipe.js +0 -59
  100. package/dist/components/file-upload/file-upload.recipe.d.ts +0 -1
  101. package/dist/components/file-upload/file-upload.recipe.js +0 -90
  102. package/dist/components/grid-list/grid-list.recipe.d.ts +0 -60
  103. package/dist/components/grid-list/grid-list.recipe.js +0 -131
  104. package/dist/components/heading/heading.recipe.d.ts +0 -59
  105. package/dist/components/heading/heading.recipe.js +0 -70
  106. package/dist/components/hover-card/hover-card.recipe.d.ts +0 -28
  107. package/dist/components/hover-card/hover-card.recipe.js +0 -70
  108. package/dist/components/icon/icon.recipe.d.ts +0 -25
  109. package/dist/components/icon/icon.recipe.js +0 -27
  110. package/dist/components/icon-badge/icon-badge.recipe.d.ts +0 -43
  111. package/dist/components/icon-badge/icon-badge.recipe.js +0 -57
  112. package/dist/components/input/input.recipe.d.ts +0 -66
  113. package/dist/components/input/input.recipe.js +0 -93
  114. package/dist/components/input-addon/input-addon.recipe.d.ts +0 -56
  115. package/dist/components/input-addon/input-addon.recipe.js +0 -36
  116. package/dist/components/kbd/kbd.recipe.d.ts +0 -36
  117. package/dist/components/kbd/kbd.recipe.js +0 -56
  118. package/dist/components/link/link.recipe.d.ts +0 -18
  119. package/dist/components/link/link.recipe.js +0 -34
  120. package/dist/components/list/list.recipe.d.ts +0 -38
  121. package/dist/components/list/list.recipe.js +0 -62
  122. package/dist/components/loading-overlay/loading-overlay.recipe.d.ts +0 -26
  123. package/dist/components/loading-overlay/loading-overlay.recipe.js +0 -51
  124. package/dist/components/mark/mark.recipe.d.ts +0 -16
  125. package/dist/components/mark/mark.recipe.js +0 -25
  126. package/dist/components/menu/menu.recipe.d.ts +0 -58
  127. package/dist/components/menu/menu.recipe.js +0 -133
  128. package/dist/components/native-select/native-select.recipe.d.ts +0 -90
  129. package/dist/components/native-select/native-select.recipe.js +0 -134
  130. package/dist/components/navbar/navbar.recipe.d.ts +0 -46
  131. package/dist/components/navbar/navbar.recipe.js +0 -124
  132. package/dist/components/number-input/number-input.recipe.d.ts +0 -144
  133. package/dist/components/number-input/number-input.recipe.js +0 -111
  134. package/dist/components/page/page.recipe.d.ts +0 -61
  135. package/dist/components/page/page.recipe.js +0 -99
  136. package/dist/components/persona/persona.recipe.d.ts +0 -104
  137. package/dist/components/persona/persona.recipe.js +0 -106
  138. package/dist/components/pin-input/pin-input.recipe.d.ts +0 -236
  139. package/dist/components/pin-input/pin-input.recipe.js +0 -32
  140. package/dist/components/popover/popover.recipe.d.ts +0 -24
  141. package/dist/components/popover/popover.recipe.js +0 -84
  142. package/dist/components/progress/progress.recipe.d.ts +0 -82
  143. package/dist/components/progress/progress.recipe.js +0 -121
  144. package/dist/components/progress-circle/progress-circle.recipe.d.ts +0 -49
  145. package/dist/components/progress-circle/progress-circle.recipe.js +0 -91
  146. package/dist/components/radio/radiomark.recipe.d.ts +0 -56
  147. package/dist/components/radio/radiomark.recipe.js +0 -95
  148. package/dist/components/radio-card/radio-card.recipe.d.ts +0 -191
  149. package/dist/components/radio-card/radio-card.recipe.js +0 -209
  150. package/dist/components/radio-group/radio-group.recipe.d.ts +0 -77
  151. package/dist/components/radio-group/radio-group.recipe.js +0 -61
  152. package/dist/components/rating-group/rating-group.recipe.d.ts +0 -24
  153. package/dist/components/rating-group/rating-group.recipe.js +0 -83
  154. package/dist/components/section/section.recipe.d.ts +0 -27
  155. package/dist/components/section/section.recipe.js +0 -63
  156. package/dist/components/segmented-control/segment-group.recipe.d.ts +0 -48
  157. package/dist/components/segmented-control/segment-group.recipe.js +0 -127
  158. package/dist/components/select/select.recipe.d.ts +0 -155
  159. package/dist/components/select/select.recipe.js +0 -285
  160. package/dist/components/separator/separator.recipe.d.ts +0 -37
  161. package/dist/components/separator/separator.recipe.js +0 -50
  162. package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +0 -67
  163. package/dist/components/sidebar/sidebar-nav-item.recipe.js +0 -118
  164. package/dist/components/sidebar/sidebar.recipe.d.ts +0 -108
  165. package/dist/components/sidebar/sidebar.recipe.js +0 -280
  166. package/dist/components/skeleton/skeleton.recipe.d.ts +0 -41
  167. package/dist/components/skeleton/skeleton.recipe.js +0 -50
  168. package/dist/components/skip-nav-link/skip-nav-link.recipe.d.ts +0 -1
  169. package/dist/components/skip-nav-link/skip-nav-link.recipe.js +0 -31
  170. package/dist/components/slider/slider.recipe.d.ts +0 -101
  171. package/dist/components/slider/slider.recipe.js +0 -175
  172. package/dist/components/spinner/spinner.recipe.d.ts +0 -22
  173. package/dist/components/spinner/spinner.recipe.js +0 -31
  174. package/dist/components/stat/stat.recipe.d.ts +0 -19
  175. package/dist/components/stat/stat.recipe.js +0 -76
  176. package/dist/components/status/status.recipe.d.ts +0 -19
  177. package/dist/components/status/status.recipe.js +0 -44
  178. package/dist/components/steps/steps.recipe.d.ts +0 -142
  179. package/dist/components/steps/steps.recipe.js +0 -213
  180. package/dist/components/switch/switch.recipe.d.ts +0 -77
  181. package/dist/components/switch/switch.recipe.js +0 -157
  182. package/dist/components/table/table.recipe.d.ts +0 -121
  183. package/dist/components/table/table.recipe.js +0 -161
  184. package/dist/components/tabs/tabs.recipe.d.ts +0 -263
  185. package/dist/components/tabs/tabs.recipe.js +0 -332
  186. package/dist/components/tag/tag.recipe.d.ts +0 -95
  187. package/dist/components/tag/tag.recipe.js +0 -154
  188. package/dist/components/textarea/textarea.recipe.d.ts +0 -65
  189. package/dist/components/textarea/textarea.recipe.js +0 -90
  190. package/dist/components/timeline/timeline.recipe.d.ts +0 -62
  191. package/dist/components/timeline/timeline.recipe.js +0 -134
  192. package/dist/components/toaster/toast.recipe.d.ts +0 -1
  193. package/dist/components/toaster/toast.recipe.js +0 -90
  194. package/dist/components/tooltip/tooltip.recipe.d.ts +0 -10
  195. package/dist/components/tooltip/tooltip.recipe.js +0 -52
  196. package/dist/theme/animation-styles.d.ts +0 -1
  197. package/dist/theme/animation-styles.js +0 -49
  198. package/dist/theme/breakpoints.d.ts +0 -10
  199. package/dist/theme/breakpoints.js +0 -8
  200. package/dist/theme/conditions.d.ts +0 -18
  201. package/dist/theme/conditions.js +0 -19
  202. package/dist/theme/fluid-font-sizes.d.ts +0 -0
  203. package/dist/theme/fluid-font-sizes.js +0 -61
  204. package/dist/theme/global-css.d.ts +0 -1
  205. package/dist/theme/global-css.js +0 -56
  206. package/dist/theme/index.d.ts +0 -1
  207. package/dist/theme/index.js +0 -72
  208. package/dist/theme/layer-styles.d.ts +0 -1
  209. package/dist/theme/layer-styles.js +0 -133
  210. package/dist/theme/recipes.d.ts +0 -861
  211. package/dist/theme/recipes.js +0 -44
  212. package/dist/theme/semantic-tokens/colors.d.ts +0 -1298
  213. package/dist/theme/semantic-tokens/colors.js +0 -687
  214. package/dist/theme/semantic-tokens/radii.d.ts +0 -44
  215. package/dist/theme/semantic-tokens/radii.js +0 -39
  216. package/dist/theme/semantic-tokens/shadows.d.ts +0 -56
  217. package/dist/theme/semantic-tokens/shadows.js +0 -57
  218. package/dist/theme/slot-recipes.d.ts +0 -4030
  219. package/dist/theme/slot-recipes.js +0 -108
  220. package/dist/theme/text-styles.d.ts +0 -1
  221. package/dist/theme/text-styles.js +0 -82
  222. package/dist/theme/tokens/animations.d.ts +0 -14
  223. package/dist/theme/tokens/animations.js +0 -7
  224. package/dist/theme/tokens/aspect-ratios.d.ts +0 -20
  225. package/dist/theme/tokens/aspect-ratios.js +0 -9
  226. package/dist/theme/tokens/blurs.d.ts +0 -26
  227. package/dist/theme/tokens/blurs.js +0 -11
  228. package/dist/theme/tokens/borders.d.ts +0 -17
  229. package/dist/theme/tokens/borders.js +0 -8
  230. package/dist/theme/tokens/colors.d.ts +0 -820
  231. package/dist/theme/tokens/colors.js +0 -306
  232. package/dist/theme/tokens/cursor.d.ts +0 -26
  233. package/dist/theme/tokens/cursor.js +0 -11
  234. package/dist/theme/tokens/durations.d.ts +0 -23
  235. package/dist/theme/tokens/durations.js +0 -10
  236. package/dist/theme/tokens/easings.d.ts +0 -20
  237. package/dist/theme/tokens/easings.js +0 -9
  238. package/dist/theme/tokens/font-sizes.d.ts +0 -44
  239. package/dist/theme/tokens/font-sizes.js +0 -18
  240. package/dist/theme/tokens/font-weights.d.ts +0 -29
  241. package/dist/theme/tokens/font-weights.js +0 -12
  242. package/dist/theme/tokens/fonts.d.ts +0 -11
  243. package/dist/theme/tokens/fonts.js +0 -13
  244. package/dist/theme/tokens/keyframes.d.ts +0 -1
  245. package/dist/theme/tokens/keyframes.js +0 -157
  246. package/dist/theme/tokens/letter-spacing.d.ts +0 -56
  247. package/dist/theme/tokens/letter-spacing.js +0 -21
  248. package/dist/theme/tokens/line-heights.d.ts +0 -77
  249. package/dist/theme/tokens/line-heights.js +0 -29
  250. package/dist/theme/tokens/radius.d.ts +0 -32
  251. package/dist/theme/tokens/radius.js +0 -15
  252. package/dist/theme/tokens/sizes.d.ts +0 -257
  253. package/dist/theme/tokens/sizes.js +0 -66
  254. package/dist/theme/tokens/spacing.d.ts +0 -101
  255. package/dist/theme/tokens/spacing.js +0 -37
  256. package/dist/theme/tokens/z-indices.d.ts +0 -53
  257. package/dist/theme/tokens/z-indices.js +0 -32
  258. package/dist/theme/utilities.d.ts +0 -10
  259. package/dist/theme/utilities.js +0 -49
  260. package/dist/theme/utils.d.ts +0 -19
  261. package/dist/theme/utils.js +0 -34
@@ -1,861 +0,0 @@
1
- export declare const recipes: {
2
- badge: import("@chakra-ui/react").RecipeDefinition<{
3
- variant: {
4
- solid: {
5
- bg: "colorPalette.solid";
6
- color: "colorPalette.contrast";
7
- };
8
- subtle: {
9
- bg: "colorPalette.subtle";
10
- color: "colorPalette.fg";
11
- };
12
- outline: {
13
- color: "colorPalette.fg";
14
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
15
- shadowColor: "colorPalette.subtle";
16
- };
17
- surface: {
18
- bg: "colorPalette.muted/20";
19
- color: "colorPalette.fg";
20
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
21
- shadowColor: "colorPalette.subtle";
22
- };
23
- plain: {
24
- color: "colorPalette.fg";
25
- };
26
- };
27
- size: {
28
- xs: {
29
- textStyle: "2xs";
30
- px: "1";
31
- minH: "4";
32
- };
33
- sm: {
34
- textStyle: "xs";
35
- px: "1.5";
36
- minH: "5";
37
- };
38
- md: {
39
- textStyle: "sm";
40
- px: "2";
41
- minH: "6";
42
- };
43
- lg: {
44
- textStyle: "sm";
45
- px: "2.5";
46
- minH: "7";
47
- };
48
- };
49
- }>;
50
- button: import("@chakra-ui/react").RecipeDefinition<{
51
- size: {
52
- xs: {
53
- gap: "1";
54
- h: "6";
55
- minW: "6";
56
- textStyle: "xs";
57
- borderRadius: "control.sm";
58
- px: "2";
59
- };
60
- sm: {
61
- gap: "2";
62
- h: "7";
63
- minW: "7";
64
- textStyle: "sm";
65
- borderRadius: "control.md";
66
- px: "2.5";
67
- };
68
- md: {
69
- gap: "2";
70
- h: "8";
71
- minW: "8";
72
- borderRadius: "control.md";
73
- textStyle: "sm";
74
- px: "3";
75
- };
76
- lg: {
77
- gap: "3";
78
- h: "10";
79
- minW: "10";
80
- borderRadius: "control.lg";
81
- textStyle: "md";
82
- px: "4.5";
83
- };
84
- xl: {
85
- gap: "3";
86
- h: "12";
87
- minW: "12";
88
- borderRadius: "control.lg";
89
- textStyle: "lg";
90
- px: "6";
91
- };
92
- };
93
- variant: {
94
- solid: {
95
- bg: "colorPalette.solid";
96
- boxShadow: "sm";
97
- color: "colorPalette.contrast";
98
- _hover: {
99
- bg: "colorPalette.solid/90";
100
- };
101
- _popupExpanded: {
102
- bg: string;
103
- };
104
- };
105
- subtle: {
106
- bg: "colorPalette.muted";
107
- color: "colorPalette.fg";
108
- _hover: {
109
- bg: "colorPalette.subtle";
110
- };
111
- _popupExpanded: {
112
- bg: string;
113
- };
114
- };
115
- glass: {
116
- bg: "colorPalette.solid";
117
- color: "colorPalette.contrast";
118
- '--btn-shadow': "shadows.sm";
119
- boxShadow: {
120
- base: "0 0 0 1px rgba(0,0,0,0.25) inset, 0px 2px 0px 0px rgba(255,255,255,0.2) inset, var(--btn-shadow)";
121
- _dark: " 0px 1px 0px 0px rgba(255,255,255,0.2) inset, var(--btn-shadow)";
122
- };
123
- textShadow: "0 1px 2px rgba(0,0,0,0.3)";
124
- overflow: "clip";
125
- _after: {
126
- content: "\"\"";
127
- position: "absolute";
128
- top: "0";
129
- left: "0";
130
- right: "0";
131
- bottom: "0";
132
- background: "linear-gradient(180deg, white 40%, rgba(0,0,0,0.2))";
133
- opacity: number;
134
- transitionProperty: "opacity";
135
- transitionDuration: "moderate";
136
- pointerEvents: "none";
137
- };
138
- _hover: {
139
- bg: "colorPalette.solid";
140
- _after: {
141
- background: "linear-gradient(180deg, rgba(255,255,255,0.8) 40%, rgba(0,0,0,0.6))";
142
- };
143
- };
144
- _popupExpanded: {
145
- bg: string;
146
- _after: {
147
- background: string;
148
- };
149
- };
150
- };
151
- surface: {
152
- bg: "colorPalette.muted/20";
153
- borderWidth: "1px";
154
- borderColor: "colorPalette.emphasized/90";
155
- color: "colorPalette.fg";
156
- shadow: "xs";
157
- _hover: {
158
- bg: "colorPalette.muted";
159
- borderColor: "colorPalette.emphasized";
160
- };
161
- _popupExpanded: {
162
- bg: string;
163
- borderColor: string;
164
- };
165
- };
166
- outline: {
167
- borderWidth: "0.5px";
168
- borderColor: "colorPalette.emphasized";
169
- color: "colorPalette.fg";
170
- _hover: {
171
- bg: "colorPalette.muted";
172
- };
173
- _popupExpanded: {
174
- bg: string;
175
- };
176
- };
177
- ghost: {
178
- color: "colorPalette.fg";
179
- _hover: {
180
- bg: "colorPalette.subtle";
181
- };
182
- _popupExpanded: {
183
- bg: string;
184
- };
185
- };
186
- plain: {
187
- color: "colorPalette.fg";
188
- };
189
- };
190
- }>;
191
- code: import("@chakra-ui/react").RecipeDefinition<{
192
- variant: {
193
- solid: {
194
- bg: "colorPalette.solid";
195
- color: "colorPalette.contrast";
196
- };
197
- subtle: {
198
- bg: "colorPalette.subtle";
199
- color: "colorPalette.fg";
200
- };
201
- outline: {
202
- color: "colorPalette.fg";
203
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
204
- shadowColor: "colorPalette.subtle";
205
- };
206
- surface: {
207
- bg: "colorPalette.muted/20";
208
- color: "colorPalette.fg";
209
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
210
- shadowColor: "colorPalette.subtle";
211
- };
212
- plain: {
213
- color: "colorPalette.fg";
214
- };
215
- };
216
- size: {
217
- xs: {
218
- textStyle: "2xs";
219
- px: "1";
220
- minH: "4";
221
- };
222
- sm: {
223
- textStyle: "xs";
224
- px: "1.5";
225
- minH: "5";
226
- };
227
- md: {
228
- textStyle: "sm";
229
- px: "2";
230
- minH: "6";
231
- };
232
- lg: {
233
- textStyle: "sm";
234
- px: "2.5";
235
- minH: "7";
236
- };
237
- };
238
- }>;
239
- container: import("@chakra-ui/react").RecipeDefinition<{
240
- centerContent: {
241
- true: {
242
- display: "flex";
243
- flexDirection: "column";
244
- alignItems: "center";
245
- };
246
- };
247
- fluid: {
248
- true: {
249
- maxWidth: "full";
250
- };
251
- };
252
- }>;
253
- heading: import("@chakra-ui/react").RecipeDefinition<{
254
- size: {
255
- xs: {
256
- fontSize: "xs";
257
- lineHeight: "heading.xs";
258
- letterSpacing: "heading.xs";
259
- };
260
- sm: {
261
- fontSize: "sm";
262
- lineHeight: "heading.sm";
263
- letterSpacing: "heading.sm";
264
- };
265
- md: {
266
- fontSize: "md";
267
- lineHeight: "heading.md";
268
- letterSpacing: "heading.md";
269
- };
270
- lg: {
271
- fontSize: "lg";
272
- lineHeight: "heading.lg";
273
- letterSpacing: "heading.lg";
274
- };
275
- xl: {
276
- fontSize: "xl";
277
- lineHeight: "heading.xl";
278
- letterSpacing: "heading.xl";
279
- };
280
- '2xl': {
281
- fontSize: "2xl";
282
- lineHeight: "heading.2xl";
283
- letterSpacing: "heading.2xl";
284
- };
285
- '3xl': {
286
- fontSize: "3xl";
287
- lineHeight: "heading.3xl";
288
- letterSpacing: "heading.3xl";
289
- };
290
- '4xl': {
291
- fontSize: "4xl";
292
- lineHeight: "heading.4xl";
293
- letterSpacing: "heading.4xl";
294
- };
295
- '5xl': {
296
- fontSize: "5xl";
297
- lineHeight: "heading.5xl";
298
- letterSpacing: "heading.5xl";
299
- };
300
- '6xl': {
301
- fontSize: "6xl";
302
- lineHeight: "heading.6xl";
303
- letterSpacing: "heading.6xl";
304
- };
305
- '7xl': {
306
- fontSize: "7xl";
307
- lineHeight: "heading.7xl";
308
- letterSpacing: "heading.7xl";
309
- };
310
- };
311
- }>;
312
- input: import("@chakra-ui/react").RecipeDefinition<{
313
- size: {
314
- xs: {
315
- borderRadius: "control.sm";
316
- textStyle: "xs";
317
- px: "2";
318
- '--input-height': "sizes.6";
319
- };
320
- sm: {
321
- borderRadius: "control.md";
322
- textStyle: "sm";
323
- px: "2.5";
324
- '--input-height': "sizes.7";
325
- };
326
- md: {
327
- borderRadius: "control.md";
328
- textStyle: "sm";
329
- px: "3";
330
- '--input-height': "sizes.8";
331
- };
332
- lg: {
333
- borderRadius: "control.lg";
334
- textStyle: "md";
335
- px: "4.5";
336
- '--input-height': "sizes.10";
337
- };
338
- xl: {
339
- borderRadius: "control.lg";
340
- textStyle: "md";
341
- px: "6";
342
- '--input-height': "sizes.12";
343
- };
344
- };
345
- variant: {
346
- outline: {
347
- bg: "transparent";
348
- borderWidth: "1px";
349
- borderColor: "border";
350
- focusVisibleRing: "inside";
351
- focusRingWidth: "0";
352
- _hover: {
353
- borderColor: "border.emphasized";
354
- _focusVisible: {
355
- borderColor: "var(--focus-ring-color)";
356
- };
357
- };
358
- };
359
- subtle: {
360
- borderWidth: "1px";
361
- borderColor: "transparent";
362
- bg: "bg.muted";
363
- focusVisibleRing: "inside";
364
- };
365
- flushed: {
366
- bg: "transparent";
367
- borderBottomWidth: "1px";
368
- borderBottomColor: "border";
369
- borderRadius: "0";
370
- px: "0";
371
- _focusVisible: {
372
- borderColor: "var(--focus-color)";
373
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
374
- };
375
- };
376
- };
377
- }>;
378
- inputAddon: import("@chakra-ui/react").RecipeDefinition<{
379
- size: {
380
- xs: {
381
- borderRadius: "control.sm";
382
- textStyle: "xs";
383
- px: "2";
384
- '--input-height': "sizes.6";
385
- };
386
- sm: {
387
- borderRadius: "control.md";
388
- textStyle: "sm";
389
- px: "2.5";
390
- '--input-height': "sizes.7";
391
- };
392
- md: {
393
- borderRadius: "control.md";
394
- textStyle: "sm";
395
- px: "3";
396
- '--input-height': "sizes.8";
397
- };
398
- lg: {
399
- borderRadius: "control.lg";
400
- textStyle: "md";
401
- px: "4.5";
402
- '--input-height': "sizes.10";
403
- };
404
- xl: {
405
- borderRadius: "control.lg";
406
- textStyle: "md";
407
- px: "6";
408
- '--input-height': "sizes.12";
409
- };
410
- };
411
- variant: {
412
- outline: {
413
- border: "1px solid";
414
- borderColor: "border";
415
- bg: "bg.muted";
416
- };
417
- subtle: {
418
- border: "2px solid";
419
- borderColor: "transparent";
420
- bg: {
421
- _light: "gray.100";
422
- _dark: "white/10";
423
- };
424
- };
425
- flushed: {
426
- borderBottom: "1px solid";
427
- borderColor: "inherit";
428
- borderRadius: "0";
429
- px: "0";
430
- bg: "transparent";
431
- };
432
- };
433
- }>;
434
- kbd: import("@chakra-ui/react").RecipeDefinition<{
435
- variant: {
436
- raised: {
437
- bg: "colorPalette.subtle";
438
- color: "colorPalette.fg";
439
- borderWidth: "1px";
440
- borderBottomWidth: "2px";
441
- borderColor: "colorPalette.muted";
442
- };
443
- outline: {
444
- borderWidth: "1px";
445
- color: "colorPalette.fg";
446
- };
447
- subtle: {
448
- bg: "colorPalette.subtle";
449
- color: "colorPalette.fg";
450
- };
451
- plain: {
452
- color: "colorPalette.fg";
453
- };
454
- };
455
- size: {
456
- sm: {
457
- textStyle: "xs";
458
- height: "4.5";
459
- };
460
- md: {
461
- textStyle: "xs";
462
- height: "5";
463
- };
464
- lg: {
465
- textStyle: "sm";
466
- height: "6";
467
- };
468
- };
469
- }>;
470
- link: import("@chakra-ui/react").RecipeDefinition<{
471
- variant: {
472
- underline: {
473
- color: "colorPalette.fg";
474
- textDecoration: "underline";
475
- textUnderlineOffset: "3px";
476
- textDecorationColor: "currentColor/20";
477
- };
478
- plain: {
479
- color: "colorPalette.fg";
480
- _hover: {
481
- textDecoration: "underline";
482
- textUnderlineOffset: "3px";
483
- textDecorationColor: "currentColor/20";
484
- };
485
- };
486
- };
487
- }>;
488
- mark: import("@chakra-ui/react").RecipeDefinition<{
489
- variant: {
490
- subtle: {
491
- bg: "colorPalette.subtle";
492
- color: "inherit";
493
- };
494
- solid: {
495
- bg: "colorPalette.solid";
496
- color: "colorPalette.contrast";
497
- };
498
- text: {
499
- fontWeight: "medium";
500
- };
501
- plain: {};
502
- };
503
- }>;
504
- separator: import("@chakra-ui/react").RecipeDefinition<{
505
- variant: {
506
- solid: {
507
- borderStyle: "solid";
508
- };
509
- dashed: {
510
- borderStyle: "dashed";
511
- };
512
- dotted: {
513
- borderStyle: "dotted";
514
- };
515
- };
516
- orientation: {
517
- vertical: {
518
- height: "100%";
519
- borderInlineStartWidth: "var(--separator-thickness)";
520
- };
521
- horizontal: {
522
- width: "100%";
523
- borderTopWidth: "var(--separator-thickness)";
524
- };
525
- };
526
- size: {
527
- xs: {
528
- '--separator-thickness': "0.5px";
529
- };
530
- sm: {
531
- '--separator-thickness': "1px";
532
- };
533
- md: {
534
- '--separator-thickness': "2px";
535
- };
536
- lg: {
537
- '--separator-thickness': "3px";
538
- };
539
- };
540
- }>;
541
- skeleton: import("@chakra-ui/react").RecipeDefinition<{
542
- loading: {
543
- true: {
544
- borderRadius: "panel.md";
545
- boxShadow: "none";
546
- backgroundClip: "padding-box";
547
- cursor: "default";
548
- color: "transparent";
549
- pointerEvents: "none";
550
- userSelect: "none";
551
- flexShrink: "0";
552
- '&::before, &::after, *': {
553
- visibility: "hidden";
554
- };
555
- };
556
- false: {
557
- background: "unset";
558
- animation: "fade-in var(--fade-duration, 0.1s) ease-out !important";
559
- };
560
- };
561
- variant: {
562
- pulse: {
563
- background: "bg.emphasized";
564
- animation: "pulse";
565
- animationDuration: "var(--duration, 1.2s)";
566
- };
567
- shine: {
568
- '--animate-from': "200%";
569
- '--animate-to': "-200%";
570
- '--start-color': "colors.bg.muted";
571
- '--end-color': "colors.bg.emphasized";
572
- backgroundImage: "linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))";
573
- backgroundSize: "400% 100%";
574
- animation: "bg-position var(--duration, 5s) ease-in-out infinite";
575
- };
576
- none: {
577
- animation: "none";
578
- background: "bg.muted";
579
- };
580
- };
581
- }>;
582
- skipNavLink: import("@chakra-ui/react").RecipeDefinition<import("@chakra-ui/react").RecipeVariantRecord>;
583
- spinner: import("@chakra-ui/react").RecipeDefinition<{
584
- size: {
585
- inherit: {
586
- '--spinner-size': "1em";
587
- };
588
- xs: {
589
- '--spinner-size': "sizes.3";
590
- };
591
- sm: {
592
- '--spinner-size': "sizes.4";
593
- };
594
- md: {
595
- '--spinner-size': "sizes.5";
596
- };
597
- lg: {
598
- '--spinner-size': "sizes.8";
599
- };
600
- xl: {
601
- '--spinner-size': "sizes.10";
602
- };
603
- };
604
- }>;
605
- textarea: import("@chakra-ui/react").RecipeDefinition<{
606
- size: {
607
- xs: {
608
- borderRadius: "control.sm";
609
- textStyle: "xs";
610
- px: "2";
611
- py: "1";
612
- scrollPaddingBottom: "1";
613
- };
614
- sm: {
615
- borderRadius: "control.md";
616
- textStyle: "sm";
617
- px: "2.5";
618
- py: "1.5";
619
- scrollPaddingBottom: "1.5";
620
- };
621
- md: {
622
- borderRadius: "control.md";
623
- textStyle: "sm";
624
- px: "3";
625
- py: "1.5";
626
- scrollPaddingBottom: "1.5";
627
- };
628
- lg: {
629
- borderRadius: "control.lg";
630
- textStyle: "md";
631
- px: "4";
632
- py: "2";
633
- scrollPaddingBottom: "2";
634
- };
635
- xl: {
636
- borderRadius: "control.lg";
637
- textStyle: "md";
638
- px: "4.5";
639
- py: "3.5";
640
- scrollPaddingBottom: "3.5";
641
- };
642
- };
643
- variant: {
644
- outline: {
645
- bg: "transparent";
646
- borderWidth: "1px";
647
- borderColor: "border";
648
- focusVisibleRing: "inside";
649
- focusRingWidth: number;
650
- };
651
- subtle: {
652
- borderWidth: "1px";
653
- borderColor: "transparent";
654
- bg: "bg.muted";
655
- focusVisibleRing: "inside";
656
- };
657
- flushed: {
658
- bg: "transparent";
659
- borderBottomWidth: "1px";
660
- borderBottomColor: "border";
661
- borderRadius: "0";
662
- px: "0";
663
- _focusVisible: {
664
- borderColor: "var(--focus-color)";
665
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
666
- };
667
- };
668
- };
669
- }>;
670
- icon: import("@chakra-ui/react").RecipeDefinition<{
671
- size: {
672
- inherit: {
673
- '--icon-size': "1em";
674
- };
675
- xs: {
676
- '--icon-size': "sizes.3";
677
- };
678
- sm: {
679
- '--icon-size': "sizes.4";
680
- };
681
- md: {
682
- '--icon-size': "sizes.5";
683
- };
684
- lg: {
685
- '--icon-size': "sizes.6";
686
- };
687
- xl: {
688
- '--icon-size': "sizes.7";
689
- };
690
- '2xl': {
691
- '--icon-size': "sizes.8";
692
- };
693
- };
694
- }>;
695
- checkmark: import("@chakra-ui/react").RecipeDefinition<{
696
- size: {
697
- xs: {
698
- boxSize: "3";
699
- };
700
- sm: {
701
- boxSize: "3.5";
702
- };
703
- md: {
704
- boxSize: "4";
705
- p: "0.5";
706
- };
707
- lg: {
708
- boxSize: "5";
709
- p: "0.5";
710
- };
711
- };
712
- variant: {
713
- solid: {
714
- borderColor: "border.emphasized";
715
- '&:is([data-state=checked], [data-state=indeterminate])': {
716
- bg: "colorPalette.solid";
717
- color: "colorPalette.contrast";
718
- borderColor: "colorPalette.solid";
719
- };
720
- };
721
- outline: {
722
- borderColor: "border.emphasized";
723
- '&:is([data-state=checked], [data-state=indeterminate])': {
724
- color: "colorPalette.fg";
725
- borderColor: "colorPalette.solid";
726
- };
727
- };
728
- subtle: {
729
- bg: "colorPalette.muted";
730
- borderColor: "colorPalette.emphasized";
731
- '&:is([data-state=checked], [data-state=indeterminate])': {
732
- color: "colorPalette.fg";
733
- };
734
- };
735
- plain: {
736
- '&:is([data-state=checked], [data-state=indeterminate])': {
737
- color: "colorPalette.fg";
738
- };
739
- };
740
- inverted: {
741
- borderColor: "border";
742
- color: "colorPalette.fg";
743
- '&:is([data-state=checked], [data-state=indeterminate])': {
744
- borderColor: "colorPalette.solid";
745
- };
746
- };
747
- };
748
- }>;
749
- radiomark: import("@chakra-ui/react").RecipeDefinition<{
750
- variant: {
751
- solid: {
752
- borderWidth: "1px";
753
- borderColor: "border";
754
- _checked: {
755
- bg: "colorPalette.solid";
756
- color: "colorPalette.contrast";
757
- borderColor: "colorPalette.solid";
758
- };
759
- };
760
- subtle: {
761
- borderWidth: "1px";
762
- bg: "colorPalette.muted";
763
- borderColor: "colorPalette.muted";
764
- color: "transparent";
765
- _checked: {
766
- color: "colorPalette.fg";
767
- };
768
- };
769
- outline: {
770
- borderWidth: "1px";
771
- borderColor: "inherit";
772
- _checked: {
773
- color: "colorPalette.fg";
774
- borderColor: "colorPalette.solid";
775
- };
776
- '& .dot': {
777
- scale: "0.6";
778
- };
779
- };
780
- inverted: {
781
- bg: "bg";
782
- borderWidth: "1px";
783
- borderColor: "inherit";
784
- _checked: {
785
- color: "colorPalette.solid";
786
- borderColor: "currentcolor";
787
- };
788
- };
789
- };
790
- size: {
791
- xs: {
792
- boxSize: "3";
793
- };
794
- sm: {
795
- boxSize: "3.5";
796
- };
797
- md: {
798
- boxSize: "4";
799
- };
800
- lg: {
801
- boxSize: "5";
802
- };
803
- };
804
- }>;
805
- suiCommand: import("@chakra-ui/react").RecipeDefinition<{
806
- size: {
807
- sm: {
808
- fontSize: "xs";
809
- };
810
- md: {
811
- fontSize: "sm";
812
- };
813
- lg: {
814
- fontSize: "md";
815
- };
816
- };
817
- }>;
818
- suiIconBadge: import("@chakra-ui/react").RecipeDefinition<{
819
- variant: {
820
- outline: {
821
- borderWidth: "1px";
822
- borderColor: "colorPalette.subtle";
823
- color: "colorPalette.fg";
824
- };
825
- solid: {
826
- bg: "colorPalette.solid";
827
- color: "white";
828
- };
829
- subtle: {
830
- bg: "colorPalette.subtle";
831
- color: "colorPalette.fg";
832
- };
833
- };
834
- size: {
835
- sm: {
836
- borderRadius: "sm";
837
- fontSize: "0.9em";
838
- w: number;
839
- h: number;
840
- };
841
- md: {
842
- borderRadius: "md";
843
- fontSize: "1.1em";
844
- w: number;
845
- h: number;
846
- };
847
- lg: {
848
- borderRadius: "md";
849
- fontSize: "1.3em";
850
- w: number;
851
- h: number;
852
- };
853
- xl: {
854
- borderRadius: "md";
855
- fontSize: "1.5em";
856
- w: number;
857
- h: number;
858
- };
859
- };
860
- }>;
861
- };