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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +3 -2
  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,57 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const iconBadgeRecipe = defineRecipe({
3
- className: 'sui-icon-badge',
4
- base: {
5
- colorPalette: 'gray',
6
- display: 'inline-flex',
7
- alignItems: 'center',
8
- justifyContent: 'center',
9
- },
10
- variants: {
11
- variant: {
12
- outline: {
13
- borderWidth: '1px',
14
- borderColor: 'colorPalette.subtle',
15
- color: 'colorPalette.fg',
16
- },
17
- solid: {
18
- bg: 'colorPalette.solid',
19
- color: 'white',
20
- },
21
- subtle: {
22
- bg: 'colorPalette.subtle',
23
- color: 'colorPalette.fg',
24
- },
25
- },
26
- size: {
27
- sm: {
28
- borderRadius: 'sm',
29
- fontSize: '0.9em',
30
- w: 6,
31
- h: 6,
32
- },
33
- md: {
34
- borderRadius: 'md',
35
- fontSize: '1.1em',
36
- w: 8,
37
- h: 8,
38
- },
39
- lg: {
40
- borderRadius: 'md',
41
- fontSize: '1.3em',
42
- w: 10,
43
- h: 10,
44
- },
45
- xl: {
46
- borderRadius: 'md',
47
- fontSize: '1.5em',
48
- w: 12,
49
- h: 12,
50
- },
51
- },
52
- },
53
- defaultVariants: {
54
- variant: 'outline',
55
- size: 'md',
56
- },
57
- });
@@ -1,66 +0,0 @@
1
- export declare const inputRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- size: {
3
- xs: {
4
- borderRadius: "control.sm";
5
- textStyle: "xs";
6
- px: "2";
7
- '--input-height': "sizes.6";
8
- };
9
- sm: {
10
- borderRadius: "control.md";
11
- textStyle: "sm";
12
- px: "2.5";
13
- '--input-height': "sizes.7";
14
- };
15
- md: {
16
- borderRadius: "control.md";
17
- textStyle: "sm";
18
- px: "3";
19
- '--input-height': "sizes.8";
20
- };
21
- lg: {
22
- borderRadius: "control.lg";
23
- textStyle: "md";
24
- px: "4.5";
25
- '--input-height': "sizes.10";
26
- };
27
- xl: {
28
- borderRadius: "control.lg";
29
- textStyle: "md";
30
- px: "6";
31
- '--input-height': "sizes.12";
32
- };
33
- };
34
- variant: {
35
- outline: {
36
- bg: "transparent";
37
- borderWidth: "1px";
38
- borderColor: "border";
39
- focusVisibleRing: "inside";
40
- focusRingWidth: "0";
41
- _hover: {
42
- borderColor: "border.emphasized";
43
- _focusVisible: {
44
- borderColor: "var(--focus-ring-color)";
45
- };
46
- };
47
- };
48
- subtle: {
49
- borderWidth: "1px";
50
- borderColor: "transparent";
51
- bg: "bg.muted";
52
- focusVisibleRing: "inside";
53
- };
54
- flushed: {
55
- bg: "transparent";
56
- borderBottomWidth: "1px";
57
- borderBottomColor: "border";
58
- borderRadius: "0";
59
- px: "0";
60
- _focusVisible: {
61
- borderColor: "var(--focus-color)";
62
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
63
- };
64
- };
65
- };
66
- }>;
@@ -1,93 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const inputRecipe = defineRecipe({
3
- className: 'chakra-input',
4
- base: {
5
- width: '100%',
6
- minWidth: '0',
7
- outline: '0',
8
- position: 'relative',
9
- appearance: 'none',
10
- textAlign: 'start',
11
- _disabled: {
12
- layerStyle: 'disabled',
13
- },
14
- height: 'var(--input-height)',
15
- minW: 'var(--input-height)',
16
- '--focus-color': 'colors.colorPalette.focusRing',
17
- '--error-color': 'colors.border.error',
18
- _invalid: {
19
- focusRingColor: 'var(--error-color)',
20
- borderColor: 'var(--error-color)',
21
- },
22
- },
23
- variants: {
24
- size: {
25
- xs: {
26
- borderRadius: 'control.sm',
27
- textStyle: 'xs',
28
- px: '2',
29
- '--input-height': 'sizes.6',
30
- },
31
- sm: {
32
- borderRadius: 'control.md',
33
- textStyle: 'sm',
34
- px: '2.5',
35
- '--input-height': 'sizes.7',
36
- },
37
- md: {
38
- borderRadius: 'control.md',
39
- textStyle: 'sm',
40
- px: '3',
41
- '--input-height': 'sizes.8',
42
- },
43
- lg: {
44
- borderRadius: 'control.lg',
45
- textStyle: 'md',
46
- px: '4.5',
47
- '--input-height': 'sizes.10',
48
- },
49
- xl: {
50
- borderRadius: 'control.lg',
51
- textStyle: 'md',
52
- px: '6',
53
- '--input-height': 'sizes.12',
54
- },
55
- },
56
- variant: {
57
- outline: {
58
- bg: 'transparent',
59
- borderWidth: '1px',
60
- borderColor: 'border',
61
- focusVisibleRing: 'inside',
62
- focusRingWidth: '0',
63
- _hover: {
64
- borderColor: 'border.emphasized',
65
- _focusVisible: {
66
- borderColor: 'var(--focus-ring-color)',
67
- },
68
- },
69
- },
70
- subtle: {
71
- borderWidth: '1px',
72
- borderColor: 'transparent',
73
- bg: 'bg.muted',
74
- focusVisibleRing: 'inside',
75
- },
76
- flushed: {
77
- bg: 'transparent',
78
- borderBottomWidth: '1px',
79
- borderBottomColor: 'border',
80
- borderRadius: '0',
81
- px: '0',
82
- _focusVisible: {
83
- borderColor: 'var(--focus-color)',
84
- boxShadow: '0px 1px 0px 0px var(--focus-color)',
85
- },
86
- },
87
- },
88
- },
89
- defaultVariants: {
90
- size: 'md',
91
- variant: 'outline',
92
- },
93
- });
@@ -1,56 +0,0 @@
1
- export declare const inputAddonRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- size: {
3
- xs: {
4
- borderRadius: "control.sm";
5
- textStyle: "xs";
6
- px: "2";
7
- '--input-height': "sizes.6";
8
- };
9
- sm: {
10
- borderRadius: "control.md";
11
- textStyle: "sm";
12
- px: "2.5";
13
- '--input-height': "sizes.7";
14
- };
15
- md: {
16
- borderRadius: "control.md";
17
- textStyle: "sm";
18
- px: "3";
19
- '--input-height': "sizes.8";
20
- };
21
- lg: {
22
- borderRadius: "control.lg";
23
- textStyle: "md";
24
- px: "4.5";
25
- '--input-height': "sizes.10";
26
- };
27
- xl: {
28
- borderRadius: "control.lg";
29
- textStyle: "md";
30
- px: "6";
31
- '--input-height': "sizes.12";
32
- };
33
- };
34
- variant: {
35
- outline: {
36
- border: "1px solid";
37
- borderColor: "border";
38
- bg: "bg.muted";
39
- };
40
- subtle: {
41
- border: "2px solid";
42
- borderColor: "transparent";
43
- bg: {
44
- _light: "gray.100";
45
- _dark: "white/10";
46
- };
47
- };
48
- flushed: {
49
- borderBottom: "1px solid";
50
- borderColor: "inherit";
51
- borderRadius: "0";
52
- px: "0";
53
- bg: "transparent";
54
- };
55
- };
56
- }>;
@@ -1,36 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- import { inputRecipe } from "../input/input.recipe.js";
3
- export const inputAddonRecipe = defineRecipe({
4
- className: 'chakra-input-addon',
5
- base: {
6
- flex: '0 0 auto',
7
- width: 'auto',
8
- height: 'var(--input-height)',
9
- display: 'flex',
10
- alignItems: 'center',
11
- whiteSpace: 'nowrap',
12
- },
13
- variants: {
14
- size: inputRecipe.variants.size,
15
- variant: {
16
- outline: {
17
- border: '1px solid',
18
- borderColor: 'border',
19
- bg: 'bg.muted',
20
- },
21
- subtle: {
22
- border: '2px solid',
23
- borderColor: 'transparent',
24
- bg: { _light: 'gray.100', _dark: 'white/10' },
25
- },
26
- flushed: {
27
- borderBottom: '1px solid',
28
- borderColor: 'inherit',
29
- borderRadius: '0',
30
- px: '0',
31
- bg: 'transparent',
32
- },
33
- },
34
- },
35
- defaultVariants: inputRecipe.defaultVariants,
36
- });
@@ -1,36 +0,0 @@
1
- export declare const kbdRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- variant: {
3
- raised: {
4
- bg: "colorPalette.subtle";
5
- color: "colorPalette.fg";
6
- borderWidth: "1px";
7
- borderBottomWidth: "2px";
8
- borderColor: "colorPalette.muted";
9
- };
10
- outline: {
11
- borderWidth: "1px";
12
- color: "colorPalette.fg";
13
- };
14
- subtle: {
15
- bg: "colorPalette.subtle";
16
- color: "colorPalette.fg";
17
- };
18
- plain: {
19
- color: "colorPalette.fg";
20
- };
21
- };
22
- size: {
23
- sm: {
24
- textStyle: "xs";
25
- height: "4.5";
26
- };
27
- md: {
28
- textStyle: "xs";
29
- height: "5";
30
- };
31
- lg: {
32
- textStyle: "sm";
33
- height: "6";
34
- };
35
- };
36
- }>;
@@ -1,56 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const kbdRecipe = defineRecipe({
3
- className: 'chakra-kbd',
4
- base: {
5
- display: 'inline-flex',
6
- alignItems: 'center',
7
- fontWeight: 'medium',
8
- fontFamily: 'body',
9
- flexShrink: '0',
10
- whiteSpace: 'nowrap',
11
- wordSpacing: '-0.5em',
12
- userSelect: 'none',
13
- px: '1',
14
- borderRadius: 'indicator.md',
15
- },
16
- variants: {
17
- variant: {
18
- raised: {
19
- bg: 'colorPalette.subtle',
20
- color: 'colorPalette.fg',
21
- borderWidth: '1px',
22
- borderBottomWidth: '2px',
23
- borderColor: 'colorPalette.muted',
24
- },
25
- outline: {
26
- borderWidth: '1px',
27
- color: 'colorPalette.fg',
28
- },
29
- subtle: {
30
- bg: 'colorPalette.subtle',
31
- color: 'colorPalette.fg',
32
- },
33
- plain: {
34
- color: 'colorPalette.fg',
35
- },
36
- },
37
- size: {
38
- sm: {
39
- textStyle: 'xs',
40
- height: '4.5',
41
- },
42
- md: {
43
- textStyle: 'xs',
44
- height: '5',
45
- },
46
- lg: {
47
- textStyle: 'sm',
48
- height: '6',
49
- },
50
- },
51
- },
52
- defaultVariants: {
53
- size: 'md',
54
- variant: 'subtle',
55
- },
56
- });
@@ -1,18 +0,0 @@
1
- export declare const linkRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- variant: {
3
- underline: {
4
- color: "colorPalette.fg";
5
- textDecoration: "underline";
6
- textUnderlineOffset: "3px";
7
- textDecorationColor: "currentColor/20";
8
- };
9
- plain: {
10
- color: "colorPalette.fg";
11
- _hover: {
12
- textDecoration: "underline";
13
- textUnderlineOffset: "3px";
14
- textDecorationColor: "currentColor/20";
15
- };
16
- };
17
- };
18
- }>;
@@ -1,34 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const linkRecipe = defineRecipe({
3
- className: 'chakra-link',
4
- base: {
5
- display: 'inline-flex',
6
- alignItems: 'center',
7
- outline: 'none',
8
- gap: '1.5',
9
- cursor: 'pointer',
10
- borderRadius: 'control.sm',
11
- focusRing: 'outside',
12
- },
13
- variants: {
14
- variant: {
15
- underline: {
16
- color: 'colorPalette.fg',
17
- textDecoration: 'underline',
18
- textUnderlineOffset: '3px',
19
- textDecorationColor: 'currentColor/20',
20
- },
21
- plain: {
22
- color: 'colorPalette.fg',
23
- _hover: {
24
- textDecoration: 'underline',
25
- textUnderlineOffset: '3px',
26
- textDecorationColor: 'currentColor/20',
27
- },
28
- },
29
- },
30
- },
31
- defaultVariants: {
32
- variant: 'plain',
33
- },
34
- });
@@ -1,38 +0,0 @@
1
- export declare const listSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"indicator" | "root" | "item", {
2
- variant: {
3
- marker: {
4
- root: {
5
- listStyle: "revert";
6
- listStylePosition: "inside";
7
- };
8
- item: {
9
- _marker: {
10
- color: "fg.subtle";
11
- };
12
- };
13
- };
14
- plain: {
15
- item: {
16
- alignItems: "flex-start";
17
- display: "inline-flex";
18
- };
19
- };
20
- };
21
- align: {
22
- center: {
23
- item: {
24
- alignItems: "center";
25
- };
26
- };
27
- start: {
28
- item: {
29
- alignItems: "flex-start";
30
- };
31
- };
32
- end: {
33
- item: {
34
- alignItems: "flex-end";
35
- };
36
- };
37
- };
38
- }>;
@@ -1,62 +0,0 @@
1
- import { listAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const listSlotRecipe = defineSlotRecipe({
4
- className: 'chakra-list',
5
- slots: listAnatomy.keys(),
6
- base: {
7
- root: {
8
- display: 'flex',
9
- flexDirection: 'column',
10
- gap: 'var(--list-gap)',
11
- '& :where(ul, ol)': {
12
- marginTop: 'var(--list-gap)',
13
- },
14
- },
15
- item: {
16
- whiteSpace: 'normal',
17
- display: 'list-item',
18
- },
19
- indicator: {
20
- marginEnd: '2',
21
- minHeight: '1lh',
22
- flexShrink: 0,
23
- display: 'inline-block',
24
- verticalAlign: 'middle',
25
- },
26
- },
27
- variants: {
28
- variant: {
29
- marker: {
30
- root: {
31
- listStyle: 'revert',
32
- listStylePosition: 'inside',
33
- },
34
- item: {
35
- _marker: {
36
- color: 'fg.subtle',
37
- },
38
- },
39
- },
40
- plain: {
41
- item: {
42
- alignItems: 'flex-start',
43
- display: 'inline-flex',
44
- },
45
- },
46
- },
47
- align: {
48
- center: {
49
- item: { alignItems: 'center' },
50
- },
51
- start: {
52
- item: { alignItems: 'flex-start' },
53
- },
54
- end: {
55
- item: { alignItems: 'flex-end' },
56
- },
57
- },
58
- },
59
- defaultVariants: {
60
- variant: 'marker',
61
- },
62
- });
@@ -1,26 +0,0 @@
1
- export declare const loadingOverlaySlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"text" | "root", {
2
- variant: {
3
- fill: {
4
- root: {
5
- flex: number;
6
- height: "100%";
7
- bg: "currentBg";
8
- };
9
- };
10
- fullscreen: {
11
- root: {
12
- position: "fixed";
13
- inset: number;
14
- zIndex: "modal";
15
- bg: "bg";
16
- };
17
- };
18
- overlay: {
19
- root: {
20
- position: "absolute";
21
- inset: number;
22
- bg: "currentBg/50";
23
- };
24
- };
25
- };
26
- }>;
@@ -1,51 +0,0 @@
1
- import { defineSlotRecipe } from '@chakra-ui/react';
2
- export const loadingOverlaySlotRecipe = defineSlotRecipe({
3
- className: 'sui-loading-overlay',
4
- slots: ['root', 'text'],
5
- base: {
6
- root: {
7
- display: 'flex',
8
- flexDirection: 'column',
9
- alignItems: 'center',
10
- justifyContent: 'center',
11
- p: 4,
12
- transitionProperty: 'opacity',
13
- transitionDuration: 'slower',
14
- _open: {
15
- opacity: 1,
16
- },
17
- _closed: {
18
- opacity: 0,
19
- },
20
- },
21
- },
22
- variants: {
23
- variant: {
24
- fill: {
25
- root: {
26
- flex: 1,
27
- height: '100%',
28
- bg: 'currentBg',
29
- },
30
- },
31
- fullscreen: {
32
- root: {
33
- position: 'fixed',
34
- inset: 0,
35
- zIndex: 'modal',
36
- bg: 'bg',
37
- },
38
- },
39
- overlay: {
40
- root: {
41
- position: 'absolute',
42
- inset: 0,
43
- bg: 'currentBg/50',
44
- },
45
- },
46
- },
47
- },
48
- defaultVariants: {
49
- variant: 'fill',
50
- },
51
- });
@@ -1,16 +0,0 @@
1
- export declare const markRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- variant: {
3
- subtle: {
4
- bg: "colorPalette.subtle";
5
- color: "inherit";
6
- };
7
- solid: {
8
- bg: "colorPalette.solid";
9
- color: "colorPalette.contrast";
10
- };
11
- text: {
12
- fontWeight: "medium";
13
- };
14
- plain: {};
15
- };
16
- }>;
@@ -1,25 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const markRecipe = defineRecipe({
3
- className: 'chakra-mark',
4
- base: {
5
- bg: 'transparent',
6
- color: 'inherit',
7
- whiteSpace: 'nowrap',
8
- },
9
- variants: {
10
- variant: {
11
- subtle: {
12
- bg: 'colorPalette.subtle',
13
- color: 'inherit',
14
- },
15
- solid: {
16
- bg: 'colorPalette.solid',
17
- color: 'colorPalette.contrast',
18
- },
19
- text: {
20
- fontWeight: 'medium',
21
- },
22
- plain: {},
23
- },
24
- },
25
- });