@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,74 +0,0 @@
1
- import { fieldAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const fieldSlotRecipe = defineSlotRecipe({
4
- className: 'chakra-field',
5
- slots: fieldAnatomy.keys(),
6
- base: {
7
- requiredIndicator: {
8
- color: 'fg.error',
9
- lineHeight: '1',
10
- },
11
- root: {
12
- display: 'flex',
13
- width: '100%',
14
- position: 'relative',
15
- gap: '1.5',
16
- },
17
- label: {
18
- display: 'flex',
19
- alignItems: 'center',
20
- textAlign: 'start',
21
- textStyle: 'sm',
22
- fontWeight: 'medium',
23
- gap: '1',
24
- userSelect: 'none',
25
- _disabled: {
26
- opacity: '0.5',
27
- },
28
- },
29
- errorText: {
30
- display: 'inline-flex',
31
- alignItems: 'center',
32
- fontWeight: 'medium',
33
- gap: '1',
34
- color: 'fg.error',
35
- textStyle: 'xs',
36
- },
37
- helperText: {
38
- color: 'fg.muted',
39
- textStyle: 'xs',
40
- },
41
- },
42
- variants: {
43
- orientation: {
44
- vertical: {
45
- root: {
46
- flexDirection: 'column',
47
- alignItems: 'flex-start',
48
- },
49
- },
50
- horizontal: {
51
- root: {
52
- display: 'grid',
53
- gridTemplateColumns: 'var(--field-label-width, 8rem) 1fr',
54
- alignItems: 'center',
55
- '&:has(textarea)': {
56
- alignItems: 'flex-start',
57
- '& label': {
58
- pt: 1.5,
59
- },
60
- },
61
- },
62
- helperText: {
63
- gridColumn: 2,
64
- },
65
- errorText: {
66
- gridColumn: 2,
67
- },
68
- },
69
- },
70
- },
71
- defaultVariants: {
72
- orientation: 'vertical',
73
- },
74
- });
@@ -1,37 +0,0 @@
1
- export declare const fieldsetSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "root" | "errorText" | "helperText" | "legend", {
2
- size: {
3
- sm: {
4
- root: {
5
- spaceY: "2";
6
- };
7
- content: {
8
- gap: "1.5";
9
- };
10
- legend: {
11
- textStyle: "sm";
12
- };
13
- };
14
- md: {
15
- root: {
16
- spaceY: "4";
17
- };
18
- content: {
19
- gap: "4";
20
- };
21
- legend: {
22
- textStyle: "sm";
23
- };
24
- };
25
- lg: {
26
- root: {
27
- spaceY: "6";
28
- };
29
- content: {
30
- gap: "4";
31
- };
32
- legend: {
33
- textStyle: "md";
34
- };
35
- };
36
- };
37
- }>;
@@ -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
- });