@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,236 +0,0 @@
1
- export declare const pinInputSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "control" | "root" | "input", {
2
- size: {
3
- sm: {
4
- input: {
5
- px: number;
6
- borderRadius: "control.sm";
7
- textStyle: "xs";
8
- '--input-height': "sizes.6";
9
- } | {
10
- px: number;
11
- borderRadius: "control.md";
12
- textStyle: "sm";
13
- '--input-height': "sizes.7";
14
- } | {
15
- px: number;
16
- borderRadius: "control.md";
17
- textStyle: "sm";
18
- '--input-height': "sizes.8";
19
- } | {
20
- px: number;
21
- borderRadius: "control.lg";
22
- textStyle: "md";
23
- '--input-height': "sizes.10";
24
- } | {
25
- px: number;
26
- borderRadius: "control.lg";
27
- textStyle: "md";
28
- '--input-height': "sizes.12";
29
- };
30
- };
31
- md: {
32
- input: {
33
- px: number;
34
- borderRadius: "control.sm";
35
- textStyle: "xs";
36
- '--input-height': "sizes.6";
37
- } | {
38
- px: number;
39
- borderRadius: "control.md";
40
- textStyle: "sm";
41
- '--input-height': "sizes.7";
42
- } | {
43
- px: number;
44
- borderRadius: "control.md";
45
- textStyle: "sm";
46
- '--input-height': "sizes.8";
47
- } | {
48
- px: number;
49
- borderRadius: "control.lg";
50
- textStyle: "md";
51
- '--input-height': "sizes.10";
52
- } | {
53
- px: number;
54
- borderRadius: "control.lg";
55
- textStyle: "md";
56
- '--input-height': "sizes.12";
57
- };
58
- };
59
- lg: {
60
- input: {
61
- px: number;
62
- borderRadius: "control.sm";
63
- textStyle: "xs";
64
- '--input-height': "sizes.6";
65
- } | {
66
- px: number;
67
- borderRadius: "control.md";
68
- textStyle: "sm";
69
- '--input-height': "sizes.7";
70
- } | {
71
- px: number;
72
- borderRadius: "control.md";
73
- textStyle: "sm";
74
- '--input-height': "sizes.8";
75
- } | {
76
- px: number;
77
- borderRadius: "control.lg";
78
- textStyle: "md";
79
- '--input-height': "sizes.10";
80
- } | {
81
- px: number;
82
- borderRadius: "control.lg";
83
- textStyle: "md";
84
- '--input-height': "sizes.12";
85
- };
86
- };
87
- xl: {
88
- input: {
89
- px: number;
90
- borderRadius: "control.sm";
91
- textStyle: "xs";
92
- '--input-height': "sizes.6";
93
- } | {
94
- px: number;
95
- borderRadius: "control.md";
96
- textStyle: "sm";
97
- '--input-height': "sizes.7";
98
- } | {
99
- px: number;
100
- borderRadius: "control.md";
101
- textStyle: "sm";
102
- '--input-height': "sizes.8";
103
- } | {
104
- px: number;
105
- borderRadius: "control.lg";
106
- textStyle: "md";
107
- '--input-height': "sizes.10";
108
- } | {
109
- px: number;
110
- borderRadius: "control.lg";
111
- textStyle: "md";
112
- '--input-height': "sizes.12";
113
- };
114
- };
115
- xs: {
116
- input: {
117
- px: number;
118
- borderRadius: "control.sm";
119
- textStyle: "xs";
120
- '--input-height': "sizes.6";
121
- } | {
122
- px: number;
123
- borderRadius: "control.md";
124
- textStyle: "sm";
125
- '--input-height': "sizes.7";
126
- } | {
127
- px: number;
128
- borderRadius: "control.md";
129
- textStyle: "sm";
130
- '--input-height': "sizes.8";
131
- } | {
132
- px: number;
133
- borderRadius: "control.lg";
134
- textStyle: "md";
135
- '--input-height': "sizes.10";
136
- } | {
137
- px: number;
138
- borderRadius: "control.lg";
139
- textStyle: "md";
140
- '--input-height': "sizes.12";
141
- };
142
- };
143
- };
144
- variant: {
145
- outline: {
146
- input: {
147
- bg: "transparent";
148
- borderWidth: "1px";
149
- borderColor: "border";
150
- focusVisibleRing: "inside";
151
- focusRingWidth: "0";
152
- _hover: {
153
- borderColor: "border.emphasized";
154
- _focusVisible: {
155
- borderColor: "var(--focus-ring-color)";
156
- };
157
- };
158
- } | {
159
- borderWidth: "1px";
160
- borderColor: "transparent";
161
- bg: "bg.muted";
162
- focusVisibleRing: "inside";
163
- } | {
164
- bg: "transparent";
165
- borderBottomWidth: "1px";
166
- borderBottomColor: "border";
167
- borderRadius: "0";
168
- px: "0";
169
- _focusVisible: {
170
- borderColor: "var(--focus-color)";
171
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
172
- };
173
- };
174
- };
175
- subtle: {
176
- input: {
177
- bg: "transparent";
178
- borderWidth: "1px";
179
- borderColor: "border";
180
- focusVisibleRing: "inside";
181
- focusRingWidth: "0";
182
- _hover: {
183
- borderColor: "border.emphasized";
184
- _focusVisible: {
185
- borderColor: "var(--focus-ring-color)";
186
- };
187
- };
188
- } | {
189
- borderWidth: "1px";
190
- borderColor: "transparent";
191
- bg: "bg.muted";
192
- focusVisibleRing: "inside";
193
- } | {
194
- bg: "transparent";
195
- borderBottomWidth: "1px";
196
- borderBottomColor: "border";
197
- borderRadius: "0";
198
- px: "0";
199
- _focusVisible: {
200
- borderColor: "var(--focus-color)";
201
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
202
- };
203
- };
204
- };
205
- flushed: {
206
- input: {
207
- bg: "transparent";
208
- borderWidth: "1px";
209
- borderColor: "border";
210
- focusVisibleRing: "inside";
211
- focusRingWidth: "0";
212
- _hover: {
213
- borderColor: "border.emphasized";
214
- _focusVisible: {
215
- borderColor: "var(--focus-ring-color)";
216
- };
217
- };
218
- } | {
219
- borderWidth: "1px";
220
- borderColor: "transparent";
221
- bg: "bg.muted";
222
- focusVisibleRing: "inside";
223
- } | {
224
- bg: "transparent";
225
- borderBottomWidth: "1px";
226
- borderBottomColor: "border";
227
- borderRadius: "0";
228
- px: "0";
229
- _focusVisible: {
230
- borderColor: "var(--focus-color)";
231
- boxShadow: "0px 1px 0px 0px var(--focus-color)";
232
- };
233
- };
234
- };
235
- };
236
- }>;
@@ -1,32 +0,0 @@
1
- import { pinInputAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- import { mapEntries } from "../../theme/utils.js";
4
- import { inputRecipe } from "../input/input.recipe.js";
5
- const { variants, defaultVariants } = inputRecipe;
6
- export const pinInputSlotRecipe = defineSlotRecipe({
7
- className: 'chakra-pin-input',
8
- slots: pinInputAnatomy.keys(),
9
- base: {
10
- input: {
11
- ...inputRecipe.base,
12
- textAlign: 'center',
13
- width: 'var(--input-height)',
14
- },
15
- },
16
- variants: {
17
- size: mapEntries(variants.size, (key, value) => [
18
- key,
19
- {
20
- input: {
21
- ...value,
22
- px: 0,
23
- },
24
- },
25
- ]),
26
- variant: mapEntries(variants.variant, (key, value) => [
27
- key,
28
- { input: value },
29
- ]),
30
- },
31
- defaultVariants: defaultVariants,
32
- });
@@ -1,24 +0,0 @@
1
- export declare const popoverSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"description" | "content" | "body" | "anchor" | "indicator" | "positioner" | "closeTrigger" | "title" | "header" | "footer" | "trigger" | "arrow" | "arrowTip", {
2
- size: {
3
- xs: {
4
- content: {
5
- '--popover-padding': "spacing.3";
6
- };
7
- };
8
- sm: {
9
- content: {
10
- '--popover-padding': "spacing.4";
11
- };
12
- };
13
- md: {
14
- content: {
15
- '--popover-padding': "spacing.5";
16
- };
17
- };
18
- lg: {
19
- content: {
20
- '--popover-padding': "spacing.6";
21
- };
22
- };
23
- };
24
- }>;
@@ -1,84 +0,0 @@
1
- import { popoverAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const popoverSlotRecipe = defineSlotRecipe({
4
- className: 'chakra-popover',
5
- slots: popoverAnatomy.keys(),
6
- base: {
7
- content: {
8
- layerStyle: 'overlay',
9
- position: 'relative',
10
- display: 'flex',
11
- flexDirection: 'column',
12
- textStyle: 'sm',
13
- '--popover-bg': 'colors.bg.panel',
14
- bg: 'var(--popover-bg)',
15
- '--popover-size': 'sizes.xs',
16
- '--popover-mobile-size': 'calc(100dvw - 1rem)',
17
- width: {
18
- base: 'min(var(--popover-mobile-size), var(--popover-size))',
19
- sm: 'var(--popover-size)',
20
- },
21
- '--popover-z-index': 'zIndex.layer-2',
22
- zIndex: 'calc(var(--popover-z-index) + var(--layer-index, 0))',
23
- outline: '0',
24
- transformOrigin: 'var(--transform-origin)',
25
- _open: {
26
- animationStyle: 'scale-fade-in',
27
- animationDuration: 'fast',
28
- },
29
- _closed: {
30
- animationStyle: 'scale-fade-out',
31
- animationDuration: 'faster',
32
- },
33
- },
34
- header: {
35
- paddingInline: 'var(--popover-padding)',
36
- paddingTop: 'var(--popover-padding)',
37
- },
38
- body: {
39
- padding: 'var(--popover-padding)',
40
- flex: '1',
41
- },
42
- footer: {
43
- display: 'flex',
44
- alignItems: 'center',
45
- paddingInline: 'var(--popover-padding)',
46
- paddingBottom: 'var(--popover-padding)',
47
- },
48
- arrow: {
49
- '--arrow-size': 'sizes.3',
50
- '--arrow-background': 'var(--popover-bg)',
51
- },
52
- arrowTip: {
53
- borderTopWidth: '1px',
54
- borderInlineStartWidth: '1px',
55
- },
56
- },
57
- variants: {
58
- size: {
59
- xs: {
60
- content: {
61
- '--popover-padding': 'spacing.3',
62
- },
63
- },
64
- sm: {
65
- content: {
66
- '--popover-padding': 'spacing.4',
67
- },
68
- },
69
- md: {
70
- content: {
71
- '--popover-padding': 'spacing.5',
72
- },
73
- },
74
- lg: {
75
- content: {
76
- '--popover-padding': 'spacing.6',
77
- },
78
- },
79
- },
80
- },
81
- defaultVariants: {
82
- size: 'md',
83
- },
84
- });
@@ -1,82 +0,0 @@
1
- export declare const progressSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "valueText" | "circle" | "track" | "range" | "view" | "circleTrack" | "circleRange", {
2
- variant: {
3
- outline: {
4
- track: {
5
- shadow: "inset";
6
- bgColor: "bg.subtle";
7
- };
8
- range: {
9
- bgColor: "colorPalette.solid";
10
- };
11
- };
12
- subtle: {
13
- track: {
14
- bgColor: "colorPalette.muted";
15
- };
16
- range: {
17
- bgColor: "colorPalette.solid/72";
18
- };
19
- };
20
- };
21
- shape: {
22
- square: {};
23
- rounded: {
24
- track: {
25
- borderRadius: "control.sm";
26
- };
27
- };
28
- full: {
29
- track: {
30
- borderRadius: "full";
31
- };
32
- };
33
- };
34
- striped: {
35
- true: {
36
- range: {
37
- backgroundImage: "linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)";
38
- backgroundSize: "var(--stripe-size) var(--stripe-size)";
39
- '--stripe-size': "1rem";
40
- '--stripe-color': {
41
- _light: "rgba(255, 255, 255, 0.3)";
42
- _dark: "rgba(0, 0, 0, 0.3)";
43
- };
44
- };
45
- };
46
- };
47
- animated: {
48
- true: {
49
- range: {
50
- '--animate-from': "var(--stripe-size)";
51
- animation: "bg-position 1s linear infinite";
52
- };
53
- };
54
- };
55
- size: {
56
- xs: {
57
- track: {
58
- h: "1.5";
59
- };
60
- };
61
- sm: {
62
- track: {
63
- h: "2";
64
- };
65
- };
66
- md: {
67
- track: {
68
- h: "2.5";
69
- };
70
- };
71
- lg: {
72
- track: {
73
- h: "3";
74
- };
75
- };
76
- xl: {
77
- track: {
78
- h: "4";
79
- };
80
- };
81
- };
82
- }>;
@@ -1,121 +0,0 @@
1
- import { progressAnatomy } from '@chakra-ui/react/anatomy';
2
- import { defineSlotRecipe } from '@chakra-ui/react/styled-system';
3
- export const progressSlotRecipe = defineSlotRecipe({
4
- slots: progressAnatomy.keys(),
5
- className: 'chakra-progress',
6
- base: {
7
- root: {
8
- colorPalette: 'accent',
9
- textStyle: 'sm',
10
- position: 'relative',
11
- },
12
- track: {
13
- overflow: 'hidden',
14
- position: 'relative',
15
- },
16
- range: {
17
- display: 'flex',
18
- alignItems: 'center',
19
- justifyContent: 'center',
20
- transitionProperty: 'width, height',
21
- transitionDuration: 'slow',
22
- height: '100%',
23
- bgColor: 'var(--track-color)',
24
- _indeterminate: {
25
- '--animate-from-x': '-40%',
26
- '--animate-to-x': '100%',
27
- position: 'absolute',
28
- willChange: 'left',
29
- minWidth: '50%',
30
- animation: 'position 1s ease infinite normal none running',
31
- backgroundImage: `linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)`,
32
- },
33
- },
34
- label: {
35
- display: 'inline-flex',
36
- fontWeight: 'medium',
37
- },
38
- valueText: {
39
- textStyle: 'xs',
40
- lineHeight: '1',
41
- fontWeight: 'medium',
42
- },
43
- },
44
- variants: {
45
- variant: {
46
- outline: {
47
- track: {
48
- shadow: 'inset',
49
- bgColor: 'bg.subtle',
50
- },
51
- range: {
52
- bgColor: 'colorPalette.solid',
53
- },
54
- },
55
- subtle: {
56
- track: {
57
- bgColor: 'colorPalette.muted',
58
- },
59
- range: {
60
- bgColor: 'colorPalette.solid/72',
61
- },
62
- },
63
- },
64
- shape: {
65
- square: {},
66
- rounded: {
67
- track: {
68
- borderRadius: 'control.sm',
69
- },
70
- },
71
- full: {
72
- track: {
73
- borderRadius: 'full',
74
- },
75
- },
76
- },
77
- striped: {
78
- true: {
79
- range: {
80
- backgroundImage: `linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)`,
81
- backgroundSize: `var(--stripe-size) var(--stripe-size)`,
82
- '--stripe-size': '1rem',
83
- '--stripe-color': {
84
- _light: 'rgba(255, 255, 255, 0.3)',
85
- _dark: 'rgba(0, 0, 0, 0.3)',
86
- },
87
- },
88
- },
89
- },
90
- animated: {
91
- true: {
92
- range: {
93
- '--animate-from': 'var(--stripe-size)',
94
- animation: 'bg-position 1s linear infinite',
95
- },
96
- },
97
- },
98
- size: {
99
- xs: {
100
- track: { h: '1.5' },
101
- },
102
- sm: {
103
- track: { h: '2' },
104
- },
105
- md: {
106
- track: { h: '2.5' },
107
- },
108
- lg: {
109
- track: { h: '3' },
110
- },
111
- xl: {
112
- track: { h: '4' },
113
- },
114
- },
115
- },
116
- defaultVariants: {
117
- variant: 'outline',
118
- size: 'md',
119
- shape: 'rounded',
120
- },
121
- });
@@ -1,49 +0,0 @@
1
- export declare const progressCircleSlotRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"label" | "root" | "valueText" | "circle" | "track" | "range" | "view" | "circleTrack" | "circleRange", {
2
- size: {
3
- xs: {
4
- circle: {
5
- '--size': "sizes.4";
6
- '--thickness': "3px";
7
- };
8
- valueText: {
9
- textStyle: "2xs";
10
- };
11
- };
12
- sm: {
13
- circle: {
14
- '--size': "sizes.6";
15
- '--thickness': "5px";
16
- };
17
- valueText: {
18
- textStyle: "2xs";
19
- };
20
- };
21
- md: {
22
- circle: {
23
- '--size': "sizes.10";
24
- '--thickness': "6px";
25
- };
26
- valueText: {
27
- textStyle: "xs";
28
- };
29
- };
30
- lg: {
31
- circle: {
32
- '--size': "sizes.14";
33
- '--thickness': "7px";
34
- };
35
- valueText: {
36
- textStyle: "sm";
37
- };
38
- };
39
- xl: {
40
- circle: {
41
- '--size': "sizes.16";
42
- '--thickness': "8px";
43
- };
44
- valueText: {
45
- textStyle: "sm";
46
- };
47
- };
48
- };
49
- }>;