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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/.tsbuildinfo.json +1 -1
  2. package/dist/colors.d.ts +1 -1
  3. package/dist/colors.js +1 -1
  4. package/dist/components/command/command.d.ts +1 -1
  5. package/dist/components/grid-list/grid-list.d.ts +1 -1
  6. package/dist/components/persona/persona-composed.d.ts +1 -1
  7. package/dist/components/persona/persona.d.ts +1 -1
  8. package/dist/index.d.ts +1 -1
  9. package/dist/preset.d.ts +1 -3
  10. package/dist/preset.js +1 -10
  11. package/package.json +4 -3
  12. package/dist/components/accordion/accordion.recipe.d.ts +0 -84
  13. package/dist/components/accordion/accordion.recipe.js +0 -148
  14. package/dist/components/action-bar/action-bar.recipe.d.ts +0 -1
  15. package/dist/components/action-bar/action-bar.recipe.js +0 -56
  16. package/dist/components/alert/alert.recipe.d.ts +0 -120
  17. package/dist/components/alert/alert.recipe.js +0 -149
  18. package/dist/components/app-shell/app-shell.recipe.d.ts +0 -13
  19. package/dist/components/app-shell/app-shell.recipe.js +0 -41
  20. package/dist/components/avatar/avatar.recipe.d.ts +0 -88
  21. package/dist/components/avatar/avatar.recipe.js +0 -129
  22. package/dist/components/badge/badge.recipe.d.ts +0 -48
  23. package/dist/components/badge/badge.recipe.js +0 -66
  24. package/dist/components/blockquote/blockquote.recipe.d.ts +0 -52
  25. package/dist/components/blockquote/blockquote.recipe.js +0 -77
  26. package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +0 -46
  27. package/dist/components/breadcrumb/breadcrumb.recipe.js +0 -90
  28. package/dist/components/button/button.recipe.d.ts +0 -141
  29. package/dist/components/button/button.recipe.js +0 -185
  30. package/dist/components/card/card.recipe.d.ts +0 -78
  31. package/dist/components/card/card.recipe.js +0 -133
  32. package/dist/components/checkbox/checkbox.recipe.d.ts +0 -80
  33. package/dist/components/checkbox/checkbox.recipe.js +0 -64
  34. package/dist/components/checkbox-card/checkbox-card.recipe.d.ts +0 -188
  35. package/dist/components/checkbox-card/checkbox-card.recipe.js +0 -202
  36. package/dist/components/checkmark/checkmark.recipe.d.ts +0 -54
  37. package/dist/components/checkmark/checkmark.recipe.js +0 -80
  38. package/dist/components/code/code.recipe.d.ts +0 -48
  39. package/dist/components/code/code.recipe.js +0 -14
  40. package/dist/components/collapsible/collapsible.recipe.d.ts +0 -1
  41. package/dist/components/collapsible/collapsible.recipe.js +0 -19
  42. package/dist/components/combobox/combobox.recipe.d.ts +0 -144
  43. package/dist/components/combobox/combobox.recipe.js +0 -292
  44. package/dist/components/command/command.recipe.d.ts +0 -15
  45. package/dist/components/command/command.recipe.js +0 -34
  46. package/dist/components/container/container.recipe.d.ts +0 -14
  47. package/dist/components/container/container.recipe.js +0 -25
  48. package/dist/components/data-list/data-list.recipe.d.ts +0 -55
  49. package/dist/components/data-list/data-list.recipe.js +0 -78
  50. package/dist/components/dialog/dialog.recipe.d.ts +0 -166
  51. package/dist/components/dialog/dialog.recipe.js +0 -256
  52. package/dist/components/drawer/drawer.recipe.d.ts +0 -113
  53. package/dist/components/drawer/drawer.recipe.js +0 -202
  54. package/dist/components/editable/editable.recipe.d.ts +0 -37
  55. package/dist/components/editable/editable.recipe.js +0 -89
  56. package/dist/components/empty-state/empty-state.recipe.d.ts +0 -83
  57. package/dist/components/empty-state/empty-state.recipe.js +0 -137
  58. package/dist/components/field/field.recipe.d.ts +0 -29
  59. package/dist/components/field/field.recipe.js +0 -74
  60. package/dist/components/fieldset/fieldset.recipe.d.ts +0 -37
  61. package/dist/components/fieldset/fieldset.recipe.js +0 -59
  62. package/dist/components/file-upload/file-upload.recipe.d.ts +0 -1
  63. package/dist/components/file-upload/file-upload.recipe.js +0 -90
  64. package/dist/components/grid-list/grid-list.recipe.d.ts +0 -60
  65. package/dist/components/grid-list/grid-list.recipe.js +0 -131
  66. package/dist/components/heading/heading.recipe.d.ts +0 -59
  67. package/dist/components/heading/heading.recipe.js +0 -70
  68. package/dist/components/hover-card/hover-card.recipe.d.ts +0 -28
  69. package/dist/components/hover-card/hover-card.recipe.js +0 -70
  70. package/dist/components/icon/icon.recipe.d.ts +0 -25
  71. package/dist/components/icon/icon.recipe.js +0 -27
  72. package/dist/components/icon-badge/icon-badge.recipe.d.ts +0 -43
  73. package/dist/components/icon-badge/icon-badge.recipe.js +0 -57
  74. package/dist/components/input/input.recipe.d.ts +0 -66
  75. package/dist/components/input/input.recipe.js +0 -93
  76. package/dist/components/input-addon/input-addon.recipe.d.ts +0 -56
  77. package/dist/components/input-addon/input-addon.recipe.js +0 -36
  78. package/dist/components/kbd/kbd.recipe.d.ts +0 -36
  79. package/dist/components/kbd/kbd.recipe.js +0 -56
  80. package/dist/components/link/link.recipe.d.ts +0 -18
  81. package/dist/components/link/link.recipe.js +0 -34
  82. package/dist/components/list/list.recipe.d.ts +0 -38
  83. package/dist/components/list/list.recipe.js +0 -62
  84. package/dist/components/loading-overlay/loading-overlay.recipe.d.ts +0 -26
  85. package/dist/components/loading-overlay/loading-overlay.recipe.js +0 -51
  86. package/dist/components/mark/mark.recipe.d.ts +0 -16
  87. package/dist/components/mark/mark.recipe.js +0 -25
  88. package/dist/components/menu/menu.recipe.d.ts +0 -58
  89. package/dist/components/menu/menu.recipe.js +0 -133
  90. package/dist/components/native-select/native-select.recipe.d.ts +0 -90
  91. package/dist/components/native-select/native-select.recipe.js +0 -134
  92. package/dist/components/navbar/navbar.recipe.d.ts +0 -46
  93. package/dist/components/navbar/navbar.recipe.js +0 -124
  94. package/dist/components/number-input/number-input.recipe.d.ts +0 -144
  95. package/dist/components/number-input/number-input.recipe.js +0 -111
  96. package/dist/components/page/page.recipe.d.ts +0 -61
  97. package/dist/components/page/page.recipe.js +0 -99
  98. package/dist/components/persona/persona.recipe.d.ts +0 -104
  99. package/dist/components/persona/persona.recipe.js +0 -106
  100. package/dist/components/pin-input/pin-input.recipe.d.ts +0 -236
  101. package/dist/components/pin-input/pin-input.recipe.js +0 -32
  102. package/dist/components/popover/popover.recipe.d.ts +0 -24
  103. package/dist/components/popover/popover.recipe.js +0 -84
  104. package/dist/components/progress/progress.recipe.d.ts +0 -82
  105. package/dist/components/progress/progress.recipe.js +0 -121
  106. package/dist/components/progress-circle/progress-circle.recipe.d.ts +0 -49
  107. package/dist/components/progress-circle/progress-circle.recipe.js +0 -91
  108. package/dist/components/radio/radiomark.recipe.d.ts +0 -56
  109. package/dist/components/radio/radiomark.recipe.js +0 -95
  110. package/dist/components/radio-card/radio-card.recipe.d.ts +0 -191
  111. package/dist/components/radio-card/radio-card.recipe.js +0 -209
  112. package/dist/components/radio-group/radio-group.recipe.d.ts +0 -77
  113. package/dist/components/radio-group/radio-group.recipe.js +0 -61
  114. package/dist/components/rating-group/rating-group.recipe.d.ts +0 -24
  115. package/dist/components/rating-group/rating-group.recipe.js +0 -83
  116. package/dist/components/section/section.recipe.d.ts +0 -27
  117. package/dist/components/section/section.recipe.js +0 -63
  118. package/dist/components/segmented-control/segment-group.recipe.d.ts +0 -48
  119. package/dist/components/segmented-control/segment-group.recipe.js +0 -127
  120. package/dist/components/select/select.recipe.d.ts +0 -155
  121. package/dist/components/select/select.recipe.js +0 -285
  122. package/dist/components/separator/separator.recipe.d.ts +0 -37
  123. package/dist/components/separator/separator.recipe.js +0 -50
  124. package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +0 -67
  125. package/dist/components/sidebar/sidebar-nav-item.recipe.js +0 -118
  126. package/dist/components/sidebar/sidebar.recipe.d.ts +0 -108
  127. package/dist/components/sidebar/sidebar.recipe.js +0 -280
  128. package/dist/components/skeleton/skeleton.recipe.d.ts +0 -41
  129. package/dist/components/skeleton/skeleton.recipe.js +0 -50
  130. package/dist/components/skip-nav-link/skip-nav-link.recipe.d.ts +0 -1
  131. package/dist/components/skip-nav-link/skip-nav-link.recipe.js +0 -31
  132. package/dist/components/slider/slider.recipe.d.ts +0 -101
  133. package/dist/components/slider/slider.recipe.js +0 -175
  134. package/dist/components/spinner/spinner.recipe.d.ts +0 -22
  135. package/dist/components/spinner/spinner.recipe.js +0 -31
  136. package/dist/components/stat/stat.recipe.d.ts +0 -19
  137. package/dist/components/stat/stat.recipe.js +0 -76
  138. package/dist/components/status/status.recipe.d.ts +0 -19
  139. package/dist/components/status/status.recipe.js +0 -44
  140. package/dist/components/steps/steps.recipe.d.ts +0 -142
  141. package/dist/components/steps/steps.recipe.js +0 -213
  142. package/dist/components/switch/switch.recipe.d.ts +0 -77
  143. package/dist/components/switch/switch.recipe.js +0 -157
  144. package/dist/components/table/table.recipe.d.ts +0 -121
  145. package/dist/components/table/table.recipe.js +0 -161
  146. package/dist/components/tabs/tabs.recipe.d.ts +0 -263
  147. package/dist/components/tabs/tabs.recipe.js +0 -332
  148. package/dist/components/tag/tag.recipe.d.ts +0 -95
  149. package/dist/components/tag/tag.recipe.js +0 -154
  150. package/dist/components/textarea/textarea.recipe.d.ts +0 -65
  151. package/dist/components/textarea/textarea.recipe.js +0 -90
  152. package/dist/components/timeline/timeline.recipe.d.ts +0 -62
  153. package/dist/components/timeline/timeline.recipe.js +0 -134
  154. package/dist/components/toaster/toast.recipe.d.ts +0 -1
  155. package/dist/components/toaster/toast.recipe.js +0 -90
  156. package/dist/components/tooltip/tooltip.recipe.d.ts +0 -10
  157. package/dist/components/tooltip/tooltip.recipe.js +0 -52
  158. package/dist/theme/animation-styles.d.ts +0 -1
  159. package/dist/theme/animation-styles.js +0 -49
  160. package/dist/theme/breakpoints.d.ts +0 -10
  161. package/dist/theme/breakpoints.js +0 -8
  162. package/dist/theme/conditions.d.ts +0 -18
  163. package/dist/theme/conditions.js +0 -19
  164. package/dist/theme/fluid-font-sizes.d.ts +0 -0
  165. package/dist/theme/fluid-font-sizes.js +0 -61
  166. package/dist/theme/global-css.d.ts +0 -1
  167. package/dist/theme/global-css.js +0 -56
  168. package/dist/theme/index.d.ts +0 -1
  169. package/dist/theme/index.js +0 -72
  170. package/dist/theme/layer-styles.d.ts +0 -1
  171. package/dist/theme/layer-styles.js +0 -133
  172. package/dist/theme/recipes.d.ts +0 -861
  173. package/dist/theme/recipes.js +0 -44
  174. package/dist/theme/semantic-tokens/colors.d.ts +0 -1298
  175. package/dist/theme/semantic-tokens/colors.js +0 -687
  176. package/dist/theme/semantic-tokens/radii.d.ts +0 -44
  177. package/dist/theme/semantic-tokens/radii.js +0 -39
  178. package/dist/theme/semantic-tokens/shadows.d.ts +0 -56
  179. package/dist/theme/semantic-tokens/shadows.js +0 -57
  180. package/dist/theme/slot-recipes.d.ts +0 -4030
  181. package/dist/theme/slot-recipes.js +0 -108
  182. package/dist/theme/text-styles.d.ts +0 -1
  183. package/dist/theme/text-styles.js +0 -82
  184. package/dist/theme/tokens/animations.d.ts +0 -14
  185. package/dist/theme/tokens/animations.js +0 -7
  186. package/dist/theme/tokens/aspect-ratios.d.ts +0 -20
  187. package/dist/theme/tokens/aspect-ratios.js +0 -9
  188. package/dist/theme/tokens/blurs.d.ts +0 -26
  189. package/dist/theme/tokens/blurs.js +0 -11
  190. package/dist/theme/tokens/borders.d.ts +0 -17
  191. package/dist/theme/tokens/borders.js +0 -8
  192. package/dist/theme/tokens/colors.d.ts +0 -820
  193. package/dist/theme/tokens/colors.js +0 -306
  194. package/dist/theme/tokens/cursor.d.ts +0 -26
  195. package/dist/theme/tokens/cursor.js +0 -11
  196. package/dist/theme/tokens/durations.d.ts +0 -23
  197. package/dist/theme/tokens/durations.js +0 -10
  198. package/dist/theme/tokens/easings.d.ts +0 -20
  199. package/dist/theme/tokens/easings.js +0 -9
  200. package/dist/theme/tokens/font-sizes.d.ts +0 -44
  201. package/dist/theme/tokens/font-sizes.js +0 -18
  202. package/dist/theme/tokens/font-weights.d.ts +0 -29
  203. package/dist/theme/tokens/font-weights.js +0 -12
  204. package/dist/theme/tokens/fonts.d.ts +0 -11
  205. package/dist/theme/tokens/fonts.js +0 -13
  206. package/dist/theme/tokens/keyframes.d.ts +0 -1
  207. package/dist/theme/tokens/keyframes.js +0 -157
  208. package/dist/theme/tokens/letter-spacing.d.ts +0 -56
  209. package/dist/theme/tokens/letter-spacing.js +0 -21
  210. package/dist/theme/tokens/line-heights.d.ts +0 -77
  211. package/dist/theme/tokens/line-heights.js +0 -29
  212. package/dist/theme/tokens/radius.d.ts +0 -32
  213. package/dist/theme/tokens/radius.js +0 -15
  214. package/dist/theme/tokens/sizes.d.ts +0 -257
  215. package/dist/theme/tokens/sizes.js +0 -66
  216. package/dist/theme/tokens/spacing.d.ts +0 -101
  217. package/dist/theme/tokens/spacing.js +0 -37
  218. package/dist/theme/tokens/z-indices.d.ts +0 -53
  219. package/dist/theme/tokens/z-indices.js +0 -32
  220. package/dist/theme/utilities.d.ts +0 -10
  221. package/dist/theme/utilities.js +0 -49
  222. package/dist/theme/utils.d.ts +0 -19
  223. package/dist/theme/utils.js +0 -34
@@ -1,188 +0,0 @@
1
- export declare const checkboxCardSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "label" | "control" | "indicator" | "root" | "addon", {
2
- size: {
3
- sm: {
4
- root: {
5
- textStyle: "sm";
6
- };
7
- control: {
8
- padding: "3";
9
- gap: "1.5";
10
- };
11
- addon: {
12
- px: "3";
13
- py: "1.5";
14
- borderTopWidth: "1px";
15
- };
16
- indicator: {
17
- boxSize: "3.5";
18
- } | undefined;
19
- };
20
- md: {
21
- root: {
22
- textStyle: "sm";
23
- };
24
- control: {
25
- padding: "4";
26
- gap: "2.5";
27
- };
28
- addon: {
29
- px: "4";
30
- py: "2";
31
- borderTopWidth: "1px";
32
- };
33
- indicator: {
34
- boxSize: "4";
35
- p: "0.5";
36
- } | undefined;
37
- };
38
- lg: {
39
- root: {
40
- textStyle: "md";
41
- };
42
- control: {
43
- padding: "4";
44
- gap: "3.5";
45
- };
46
- addon: {
47
- px: "4";
48
- py: "2";
49
- borderTopWidth: "1px";
50
- };
51
- indicator: {
52
- boxSize: "5";
53
- p: "0.5";
54
- } | undefined;
55
- };
56
- };
57
- variant: {
58
- surface: {
59
- root: {
60
- borderWidth: "1px";
61
- borderColor: "border";
62
- _checked: {
63
- bg: "colorPalette.subtle";
64
- color: "colorPalette.fg";
65
- borderColor: "colorPalette.muted";
66
- };
67
- _disabled: {
68
- bg: "bg.muted";
69
- };
70
- };
71
- indicator: {
72
- borderColor: "border.emphasized";
73
- '&:is([data-state=checked], [data-state=indeterminate])': {
74
- bg: "colorPalette.solid";
75
- color: "colorPalette.contrast";
76
- borderColor: "colorPalette.solid";
77
- };
78
- } | undefined;
79
- };
80
- subtle: {
81
- root: {
82
- bg: "bg.muted";
83
- };
84
- control: {
85
- _checked: {
86
- bg: "colorPalette.muted";
87
- color: "colorPalette.fg";
88
- };
89
- };
90
- indicator: {
91
- '&:is([data-state=checked], [data-state=indeterminate])': {
92
- color: "colorPalette.fg";
93
- };
94
- } | undefined;
95
- };
96
- outline: {
97
- root: {
98
- borderWidth: "1px";
99
- borderColor: "border";
100
- _checked: {
101
- boxShadow: "0 0 0 1px var(--shadow-color)";
102
- boxShadowColor: "colorPalette.solid";
103
- borderColor: "colorPalette.solid";
104
- };
105
- };
106
- indicator: {
107
- borderColor: "border.emphasized";
108
- '&:is([data-state=checked], [data-state=indeterminate])': {
109
- bg: "colorPalette.solid";
110
- color: "colorPalette.contrast";
111
- borderColor: "colorPalette.solid";
112
- };
113
- } | undefined;
114
- };
115
- solid: {
116
- root: {
117
- borderWidth: "1px";
118
- _checked: {
119
- bg: "colorPalette.solid";
120
- color: "colorPalette.contrast";
121
- borderColor: "colorPalette.solid";
122
- };
123
- };
124
- indicator: {
125
- borderColor: "border";
126
- color: "colorPalette.fg";
127
- '&:is([data-state=checked], [data-state=indeterminate])': {
128
- borderColor: "colorPalette.solid";
129
- };
130
- } | undefined;
131
- };
132
- };
133
- justify: {
134
- start: {
135
- root: {
136
- '--checkbox-card-justify': "flex-start";
137
- };
138
- };
139
- end: {
140
- root: {
141
- '--checkbox-card-justify': "flex-end";
142
- };
143
- };
144
- center: {
145
- root: {
146
- '--checkbox-card-justify': "center";
147
- };
148
- };
149
- };
150
- align: {
151
- start: {
152
- root: {
153
- '--checkbox-card-align': "flex-start";
154
- };
155
- content: {
156
- textAlign: "start";
157
- };
158
- };
159
- end: {
160
- root: {
161
- '--checkbox-card-align': "flex-end";
162
- };
163
- content: {
164
- textAlign: "end";
165
- };
166
- };
167
- center: {
168
- root: {
169
- '--checkbox-card-align': "center";
170
- };
171
- content: {
172
- textAlign: "center";
173
- };
174
- };
175
- };
176
- orientation: {
177
- vertical: {
178
- control: {
179
- flexDirection: "column";
180
- };
181
- };
182
- horizontal: {
183
- control: {
184
- flexDirection: "row";
185
- };
186
- };
187
- };
188
- }>;
@@ -1,202 +0,0 @@
1
- import { checkboxCardAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- import { checkmarkRecipe } from "../checkmark/checkmark.recipe.js";
4
- export const checkboxCardSlotRecipe = defineSlotRecipe({
5
- slots: checkboxCardAnatomy.keys(),
6
- className: 'chakra-checkbox-card',
7
- base: {
8
- root: {
9
- colorPalette: 'accent',
10
- display: 'flex',
11
- flexDirection: 'column',
12
- userSelect: 'none',
13
- position: 'relative',
14
- borderRadius: 'panel.md',
15
- flex: '1',
16
- focusVisibleRing: 'outside',
17
- _disabled: {
18
- opacity: '0.8',
19
- borderColor: 'border.subtle',
20
- },
21
- _invalid: {
22
- outline: '2px solid',
23
- outlineColor: 'border.error',
24
- },
25
- },
26
- control: {
27
- display: 'inline-flex',
28
- flex: '1',
29
- position: 'relative',
30
- borderRadius: 'panel.md',
31
- justifyContent: 'var(--checkbox-card-justify)',
32
- alignItems: 'var(--checkbox-card-align)',
33
- },
34
- label: {
35
- fontWeight: 'medium',
36
- display: 'flex',
37
- alignItems: 'center',
38
- gap: '2',
39
- _disabled: {
40
- opacity: '0.5',
41
- },
42
- },
43
- description: {
44
- opacity: '0.64',
45
- textStyle: 'sm',
46
- },
47
- addon: {
48
- _disabled: {
49
- opacity: '0.5',
50
- },
51
- },
52
- indicator: checkmarkRecipe.base,
53
- content: {
54
- display: 'flex',
55
- flexDirection: 'column',
56
- flex: '1',
57
- gap: '1',
58
- justifyContent: 'var(--checkbox-card-justify)',
59
- alignItems: 'var(--checkbox-card-align)',
60
- },
61
- },
62
- variants: {
63
- size: {
64
- sm: {
65
- root: {
66
- textStyle: 'sm',
67
- },
68
- control: {
69
- padding: '3',
70
- gap: '1.5',
71
- },
72
- addon: {
73
- px: '3',
74
- py: '1.5',
75
- borderTopWidth: '1px',
76
- },
77
- indicator: checkmarkRecipe.variants?.size.sm,
78
- },
79
- md: {
80
- root: {
81
- textStyle: 'sm',
82
- },
83
- control: {
84
- padding: '4',
85
- gap: '2.5',
86
- },
87
- addon: {
88
- px: '4',
89
- py: '2',
90
- borderTopWidth: '1px',
91
- },
92
- indicator: checkmarkRecipe.variants?.size.md,
93
- },
94
- lg: {
95
- root: {
96
- textStyle: 'md',
97
- },
98
- control: {
99
- padding: '4',
100
- gap: '3.5',
101
- },
102
- addon: {
103
- px: '4',
104
- py: '2',
105
- borderTopWidth: '1px',
106
- },
107
- indicator: checkmarkRecipe.variants?.size.lg,
108
- },
109
- },
110
- variant: {
111
- surface: {
112
- root: {
113
- borderWidth: '1px',
114
- borderColor: 'border',
115
- _checked: {
116
- bg: 'colorPalette.subtle',
117
- color: 'colorPalette.fg',
118
- borderColor: 'colorPalette.muted',
119
- },
120
- _disabled: {
121
- bg: 'bg.muted',
122
- },
123
- },
124
- indicator: checkmarkRecipe.variants?.variant.solid,
125
- },
126
- subtle: {
127
- root: {
128
- bg: 'bg.muted',
129
- },
130
- control: {
131
- _checked: {
132
- bg: 'colorPalette.muted',
133
- color: 'colorPalette.fg',
134
- },
135
- },
136
- indicator: checkmarkRecipe.variants?.variant.plain,
137
- },
138
- outline: {
139
- root: {
140
- borderWidth: '1px',
141
- borderColor: 'border',
142
- _checked: {
143
- boxShadow: '0 0 0 1px var(--shadow-color)',
144
- boxShadowColor: 'colorPalette.solid',
145
- borderColor: 'colorPalette.solid',
146
- },
147
- },
148
- indicator: checkmarkRecipe.variants?.variant.solid,
149
- },
150
- solid: {
151
- root: {
152
- borderWidth: '1px',
153
- _checked: {
154
- bg: 'colorPalette.solid',
155
- color: 'colorPalette.contrast',
156
- borderColor: 'colorPalette.solid',
157
- },
158
- },
159
- indicator: checkmarkRecipe.variants?.variant.inverted,
160
- },
161
- },
162
- justify: {
163
- start: {
164
- root: { '--checkbox-card-justify': 'flex-start' },
165
- },
166
- end: {
167
- root: { '--checkbox-card-justify': 'flex-end' },
168
- },
169
- center: {
170
- root: { '--checkbox-card-justify': 'center' },
171
- },
172
- },
173
- align: {
174
- start: {
175
- root: { '--checkbox-card-align': 'flex-start' },
176
- content: { textAlign: 'start' },
177
- },
178
- end: {
179
- root: { '--checkbox-card-align': 'flex-end' },
180
- content: { textAlign: 'end' },
181
- },
182
- center: {
183
- root: { '--checkbox-card-align': 'center' },
184
- content: { textAlign: 'center' },
185
- },
186
- },
187
- orientation: {
188
- vertical: {
189
- control: { flexDirection: 'column' },
190
- },
191
- horizontal: {
192
- control: { flexDirection: 'row' },
193
- },
194
- },
195
- },
196
- defaultVariants: {
197
- size: 'md',
198
- variant: 'outline',
199
- align: 'start',
200
- orientation: 'horizontal',
201
- },
202
- });
@@ -1,54 +0,0 @@
1
- export declare const checkmarkRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- size: {
3
- xs: {
4
- boxSize: "3";
5
- };
6
- sm: {
7
- boxSize: "3.5";
8
- };
9
- md: {
10
- boxSize: "4";
11
- p: "0.5";
12
- };
13
- lg: {
14
- boxSize: "5";
15
- p: "0.5";
16
- };
17
- };
18
- variant: {
19
- solid: {
20
- borderColor: "border.emphasized";
21
- '&:is([data-state=checked], [data-state=indeterminate])': {
22
- bg: "colorPalette.solid";
23
- color: "colorPalette.contrast";
24
- borderColor: "colorPalette.solid";
25
- };
26
- };
27
- outline: {
28
- borderColor: "border.emphasized";
29
- '&:is([data-state=checked], [data-state=indeterminate])': {
30
- color: "colorPalette.fg";
31
- borderColor: "colorPalette.solid";
32
- };
33
- };
34
- subtle: {
35
- bg: "colorPalette.muted";
36
- borderColor: "colorPalette.emphasized";
37
- '&:is([data-state=checked], [data-state=indeterminate])': {
38
- color: "colorPalette.fg";
39
- };
40
- };
41
- plain: {
42
- '&:is([data-state=checked], [data-state=indeterminate])': {
43
- color: "colorPalette.fg";
44
- };
45
- };
46
- inverted: {
47
- borderColor: "border";
48
- color: "colorPalette.fg";
49
- '&:is([data-state=checked], [data-state=indeterminate])': {
50
- borderColor: "colorPalette.solid";
51
- };
52
- };
53
- };
54
- }>;
@@ -1,80 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- export const checkmarkRecipe = defineRecipe({
3
- className: 'chakra-checkmark',
4
- base: {
5
- display: 'inline-flex',
6
- alignItems: 'center',
7
- justifyContent: 'center',
8
- flexShrink: '0',
9
- color: 'white',
10
- borderWidth: '1px',
11
- borderColor: 'transparent',
12
- borderRadius: 'control.md',
13
- focusVisibleRing: 'outside',
14
- _invalid: {
15
- colorPalette: 'red',
16
- borderColor: 'border.error',
17
- },
18
- _disabled: {
19
- opacity: '0.5',
20
- },
21
- },
22
- variants: {
23
- size: {
24
- xs: {
25
- boxSize: '3',
26
- },
27
- sm: {
28
- boxSize: '3.5',
29
- },
30
- md: {
31
- boxSize: '4',
32
- p: '0.5',
33
- },
34
- lg: {
35
- boxSize: '5',
36
- p: '0.5',
37
- },
38
- },
39
- variant: {
40
- solid: {
41
- borderColor: 'border.emphasized',
42
- '&:is([data-state=checked], [data-state=indeterminate])': {
43
- bg: 'colorPalette.solid',
44
- color: 'colorPalette.contrast',
45
- borderColor: 'colorPalette.solid',
46
- },
47
- },
48
- outline: {
49
- borderColor: 'border.emphasized',
50
- '&:is([data-state=checked], [data-state=indeterminate])': {
51
- color: 'colorPalette.fg',
52
- borderColor: 'colorPalette.solid',
53
- },
54
- },
55
- subtle: {
56
- bg: 'colorPalette.muted',
57
- borderColor: 'colorPalette.emphasized',
58
- '&:is([data-state=checked], [data-state=indeterminate])': {
59
- color: 'colorPalette.fg',
60
- },
61
- },
62
- plain: {
63
- '&:is([data-state=checked], [data-state=indeterminate])': {
64
- color: 'colorPalette.fg',
65
- },
66
- },
67
- inverted: {
68
- borderColor: 'border',
69
- color: 'colorPalette.fg',
70
- '&:is([data-state=checked], [data-state=indeterminate])': {
71
- borderColor: 'colorPalette.solid',
72
- },
73
- },
74
- },
75
- },
76
- defaultVariants: {
77
- variant: 'solid',
78
- size: 'md',
79
- },
80
- });
@@ -1,48 +0,0 @@
1
- export declare const codeRecipe: import("@chakra-ui/react").RecipeDefinition<{
2
- variant: {
3
- solid: {
4
- bg: "colorPalette.solid";
5
- color: "colorPalette.contrast";
6
- };
7
- subtle: {
8
- bg: "colorPalette.subtle";
9
- color: "colorPalette.fg";
10
- };
11
- outline: {
12
- color: "colorPalette.fg";
13
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
14
- shadowColor: "colorPalette.subtle";
15
- };
16
- surface: {
17
- bg: "colorPalette.muted/20";
18
- color: "colorPalette.fg";
19
- shadow: "inset 0 0 0px 1px var(--shadow-color)";
20
- shadowColor: "colorPalette.subtle";
21
- };
22
- plain: {
23
- color: "colorPalette.fg";
24
- };
25
- };
26
- size: {
27
- xs: {
28
- textStyle: "2xs";
29
- px: "1";
30
- minH: "4";
31
- };
32
- sm: {
33
- textStyle: "xs";
34
- px: "1.5";
35
- minH: "5";
36
- };
37
- md: {
38
- textStyle: "sm";
39
- px: "2";
40
- minH: "6";
41
- };
42
- lg: {
43
- textStyle: "sm";
44
- px: "2.5";
45
- minH: "7";
46
- };
47
- };
48
- }>;
@@ -1,14 +0,0 @@
1
- import { defineRecipe } from '@chakra-ui/react/styled-system';
2
- import { badgeRecipe } from "../badge/badge.recipe.js";
3
- const { variants, defaultVariants } = badgeRecipe;
4
- export const codeRecipe = defineRecipe({
5
- className: 'chakra-code',
6
- base: {
7
- fontFamily: 'mono',
8
- alignItems: 'center',
9
- display: 'inline-flex',
10
- borderRadius: 'indicator.md',
11
- },
12
- variants,
13
- defaultVariants,
14
- });
@@ -1 +0,0 @@
1
- export declare const collapsibleSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"content" | "indicator" | "root" | "trigger", import("@chakra-ui/react").SlotRecipeVariantRecord<"content" | "indicator" | "root" | "trigger">>;
@@ -1,19 +0,0 @@
1
- import { collapsibleAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const collapsibleSlotRecipe = defineSlotRecipe({
4
- slots: collapsibleAnatomy.keys(),
5
- className: 'chakra-collapsible',
6
- base: {
7
- content: {
8
- _open: {
9
- animationName: 'expand-height, fade-in',
10
- animationDuration: 'moderate',
11
- },
12
- _closed: {
13
- animationName: 'collapse-height, fade-out',
14
- animationDuration: 'moderate',
15
- overflow: 'hidden',
16
- },
17
- },
18
- },
19
- });