ics-ui-kit 0.1.0-alpha.12 → 0.1.0-alpha.13

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 (227) hide show
  1. package/dist/Button-DQtBfU9y.js +57 -0
  2. package/dist/Button-DQtBfU9y.js.map +1 -0
  3. package/dist/{Button-DhfE69q0.js → ButtonBase-BEM8SNmT.js} +27 -56
  4. package/dist/ButtonBase-BEM8SNmT.js.map +1 -0
  5. package/dist/CarouselItem-pSHe0ufN.js +1500 -0
  6. package/dist/CarouselItem-pSHe0ufN.js.map +1 -0
  7. package/dist/CheckboxField-i_-dPpFM.js +370 -0
  8. package/dist/CheckboxField-i_-dPpFM.js.map +1 -0
  9. package/dist/Divider-C0Ss5GJT.js +47 -0
  10. package/dist/{Divider-D3NvaU8c.js.map → Divider-C0Ss5GJT.js.map} +1 -1
  11. package/dist/Field-3XJNFTql.js +78 -0
  12. package/dist/Field-3XJNFTql.js.map +1 -0
  13. package/dist/FieldLabel-CAbVan3E.js +97 -0
  14. package/dist/FieldLabel-CAbVan3E.js.map +1 -0
  15. package/dist/FormBody-4HptEjhb.js +103 -0
  16. package/dist/FormBody-4HptEjhb.js.map +1 -0
  17. package/dist/{IconButton-BUPs2kEo.js → IconButton-BkBsOIf5.js} +15 -15
  18. package/dist/{IconButton-BUPs2kEo.js.map → IconButton-BkBsOIf5.js.map} +1 -1
  19. package/dist/ImagePlaceholder-CNAKQWTh.js +45 -0
  20. package/dist/ImagePlaceholder-CNAKQWTh.js.map +1 -0
  21. package/dist/ImagePreview-DHi7A8md.js +156 -0
  22. package/dist/ImagePreview-DHi7A8md.js.map +1 -0
  23. package/dist/ImageUploader-46sxdmt5.js +123 -0
  24. package/dist/ImageUploader-46sxdmt5.js.map +1 -0
  25. package/dist/IsolatedStylesWrapper-WgaoHh7y.js +179 -0
  26. package/dist/IsolatedStylesWrapper-WgaoHh7y.js.map +1 -0
  27. package/dist/Modal-D33MSQot.js +125 -0
  28. package/dist/Modal-D33MSQot.js.map +1 -0
  29. package/dist/ScrollShadowContainer-ByNH68Kg.js +636 -0
  30. package/dist/ScrollShadowContainer-ByNH68Kg.js.map +1 -0
  31. package/dist/Toggle-7AlEmn8A.js +104 -0
  32. package/dist/Toggle-7AlEmn8A.js.map +1 -0
  33. package/dist/ToggleGroup-CT453MNp.js +200 -0
  34. package/dist/ToggleGroup-CT453MNp.js.map +1 -0
  35. package/dist/Tooltip-C4BbGF2_.js +372 -0
  36. package/dist/Tooltip-C4BbGF2_.js.map +1 -0
  37. package/dist/{bundle-mjs-D6wdQkGI.js → bundle-mjs-LhQum_e3.js} +676 -425
  38. package/dist/bundle-mjs-LhQum_e3.js.map +1 -0
  39. package/dist/check-C-TqZgvb.js.map +1 -1
  40. package/dist/chevron-right-CobOebzi.js.map +1 -1
  41. package/dist/components/badge.js +1 -1
  42. package/dist/components/button/icon-button/IconButton.stories.d.ts +330 -2
  43. package/dist/components/button/loading-button/LoadingButton.d.ts +249 -0
  44. package/dist/components/button/loading-button/LoadingButton.stories.d.ts +219 -0
  45. package/dist/components/button.js +6 -5
  46. package/dist/components/button.js.map +1 -1
  47. package/dist/components/carousel.js +65 -1532
  48. package/dist/components/carousel.js.map +1 -1
  49. package/dist/components/checkbox.js +1 -1
  50. package/dist/components/divider/content-divider/ContentDivider.d.ts +14 -0
  51. package/dist/components/divider/content-divider/ContentDivider.stories.d.ts +7 -0
  52. package/dist/components/divider/index.d.ts +1 -0
  53. package/dist/components/divider.js +45 -2
  54. package/dist/components/divider.js.map +1 -1
  55. package/dist/components/drawer/templates/drawer-footer-template/DrawerFooterTemplate.d.ts +3 -0
  56. package/dist/components/drawer.js +450 -447
  57. package/dist/components/drawer.js.map +1 -1
  58. package/dist/components/dropdown.js +37 -33
  59. package/dist/components/dropdown.js.map +1 -1
  60. package/dist/components/empty-state/EmptyState.d.ts +2 -2
  61. package/dist/components/empty-state.js +1 -1
  62. package/dist/components/empty-state.js.map +1 -1
  63. package/dist/components/field/Field.d.ts +35 -0
  64. package/dist/components/field.js +1 -1
  65. package/dist/components/form/components/form-header/FormHeader.d.ts +2 -2
  66. package/dist/components/form.js +289 -288
  67. package/dist/components/form.js.map +1 -1
  68. package/dist/components/gallery/Gallery.d.ts +21 -0
  69. package/dist/components/gallery/Gallery.stories.d.ts +26 -0
  70. package/dist/components/gallery/index.d.ts +1 -0
  71. package/dist/components/gallery.d.ts +2 -0
  72. package/dist/components/gallery.js +130 -0
  73. package/dist/components/gallery.js.map +1 -0
  74. package/dist/components/icon-tooltip/IconTooltip.d.ts +2 -1
  75. package/dist/components/image-placeholder.js +2 -42
  76. package/dist/components/image-placeholder.js.map +1 -1
  77. package/dist/components/image-preview/ImagePreview.d.ts +6 -6
  78. package/dist/components/image-preview.js +2 -136
  79. package/dist/components/image-preview.js.map +1 -1
  80. package/dist/components/image-uploader.js +2 -118
  81. package/dist/components/image-uploader.js.map +1 -1
  82. package/dist/components/input/file-input/FileInput.d.ts +3 -1
  83. package/dist/components/input-otp.js +1 -1
  84. package/dist/components/input-otp.js.map +1 -1
  85. package/dist/components/input.js +176 -195
  86. package/dist/components/input.js.map +1 -1
  87. package/dist/components/isolated-styles-wrapper/IsolatedStylesWrapper.d.ts +1 -1
  88. package/dist/components/label/Label.stories.d.ts +0 -2
  89. package/dist/components/label/field-label/FieldLabel.d.ts +11 -0
  90. package/dist/components/label/field-label/FieldLabel.stories.d.ts +1 -0
  91. package/dist/components/label/field-label/components/RequiredIcon.d.ts +5 -0
  92. package/dist/components/label.js +1 -1
  93. package/dist/components/loading/Loading.d.ts +4 -4
  94. package/dist/components/loading.js +2 -2
  95. package/dist/components/loading.js.map +1 -1
  96. package/dist/components/modal.js +12 -122
  97. package/dist/components/modal.js.map +1 -1
  98. package/dist/components/option-group.js +1 -1
  99. package/dist/components/popover.js +34 -31
  100. package/dist/components/popover.js.map +1 -1
  101. package/dist/components/scheduler.js +11 -11
  102. package/dist/components/scheduler.js.map +1 -1
  103. package/dist/components/scroll-shadow-container/ScrollShadowContainer.d.ts +1 -0
  104. package/dist/components/scroll-shadow-container.js +1 -1
  105. package/dist/components/select.js +487 -519
  106. package/dist/components/select.js.map +1 -1
  107. package/dist/components/shortcut/Shortcut.d.ts +14 -14
  108. package/dist/components/shortcut/Shortcut.stories.d.ts +7 -7
  109. package/dist/components/shortcut.js +16 -16
  110. package/dist/components/shortcut.js.map +1 -1
  111. package/dist/components/skeleton/Skeleton.d.ts +1 -0
  112. package/dist/components/skeleton/Skeleton.stories.d.ts +7 -0
  113. package/dist/components/skeleton/index.d.ts +1 -0
  114. package/dist/components/skeleton.d.ts +2 -0
  115. package/dist/components/skeleton.js +33 -0
  116. package/dist/components/skeleton.js.map +1 -0
  117. package/dist/components/switch.js +147 -126
  118. package/dist/components/switch.js.map +1 -1
  119. package/dist/components/tabs.js +9 -8
  120. package/dist/components/tabs.js.map +1 -1
  121. package/dist/components/tag.js +3 -3
  122. package/dist/components/toast.js +4 -4
  123. package/dist/components/toast.js.map +1 -1
  124. package/dist/components/toggle-group.js +1 -1
  125. package/dist/components/toggle.js +1 -1
  126. package/dist/components/tooltip/Tooltip.stories.d.ts +7 -0
  127. package/dist/components/tooltip/index.d.ts +1 -0
  128. package/dist/components/tooltip.d.ts +2 -0
  129. package/dist/components/tooltip.js +8 -0
  130. package/dist/components/tooltip.js.map +1 -0
  131. package/dist/createLucideIcon-DgrNxRV5.js.map +1 -1
  132. package/dist/design-tokens.source.json +1 -1
  133. package/dist/download-CVOGyQ0e.js.map +1 -1
  134. package/dist/downloadFile-yZV-aaO2.js +15 -0
  135. package/dist/downloadFile-yZV-aaO2.js.map +1 -0
  136. package/dist/index-B6K06mzp.js +67 -0
  137. package/dist/index-B6K06mzp.js.map +1 -0
  138. package/dist/index-BCZIl2rL.js +68 -0
  139. package/dist/index-BCZIl2rL.js.map +1 -0
  140. package/dist/index-BZPx6jYI.js.map +1 -1
  141. package/dist/index-Bj6ZBhqh.js +105 -0
  142. package/dist/index-Bj6ZBhqh.js.map +1 -0
  143. package/dist/index-ByaXH_ih.js.map +1 -1
  144. package/dist/index-CACw01gt.js +702 -0
  145. package/dist/index-CACw01gt.js.map +1 -0
  146. package/dist/index-COBL2CQB.js +14 -0
  147. package/dist/index-COBL2CQB.js.map +1 -0
  148. package/dist/index-CR-odn5-.js.map +1 -1
  149. package/dist/{index-BjbwEU_d.js → index-ClwWa5fz.js} +20 -20
  150. package/dist/index-ClwWa5fz.js.map +1 -0
  151. package/dist/{index-DwbC6luJ.js → index-Cx4x7Bv2.js} +52 -50
  152. package/dist/index-Cx4x7Bv2.js.map +1 -0
  153. package/dist/index-CzNelU6n.js +55 -0
  154. package/dist/index-CzNelU6n.js.map +1 -0
  155. package/dist/index-DBsc8nMF.js +43 -0
  156. package/dist/index-DBsc8nMF.js.map +1 -0
  157. package/dist/index-Mbnk_gHS.js +102 -0
  158. package/dist/index-Mbnk_gHS.js.map +1 -0
  159. package/dist/index-bhXb51Q1.js +215 -0
  160. package/dist/index-bhXb51Q1.js.map +1 -0
  161. package/dist/index-n71RB2rx.js +1592 -0
  162. package/dist/index-n71RB2rx.js.map +1 -0
  163. package/dist/index-rKs9bXHr.js +7 -0
  164. package/dist/index-rKs9bXHr.js.map +1 -0
  165. package/dist/lib/utils/file/downloadFile.d.ts +2 -0
  166. package/dist/lib/utils/image/imageConverter.d.ts +23 -0
  167. package/dist/styles-scoped.css +72 -18
  168. package/dist/styles.css +72 -18
  169. package/dist/{utils-DGzAmwok.js → utils-BK4mPzkB.js} +2 -2
  170. package/dist/utils-BK4mPzkB.js.map +1 -0
  171. package/dist/x-JgjNP5oH.js.map +1 -1
  172. package/package.json +1 -1
  173. package/dist/Button-DhfE69q0.js.map +0 -1
  174. package/dist/CheckboxField-CL1Tc7P4.js +0 -257
  175. package/dist/CheckboxField-CL1Tc7P4.js.map +0 -1
  176. package/dist/Divider-D3NvaU8c.js +0 -46
  177. package/dist/Field-COOo8o9f.js +0 -80
  178. package/dist/Field-COOo8o9f.js.map +0 -1
  179. package/dist/FieldLabel-BGxT_RaE.js +0 -64
  180. package/dist/FieldLabel-BGxT_RaE.js.map +0 -1
  181. package/dist/FormBody-DM52shm4.js +0 -101
  182. package/dist/FormBody-DM52shm4.js.map +0 -1
  183. package/dist/IsolatedStylesWrapper-B_Qu75eR.js +0 -555
  184. package/dist/IsolatedStylesWrapper-B_Qu75eR.js.map +0 -1
  185. package/dist/ScrollShadowContainer-DSKr3_fV.js +0 -690
  186. package/dist/ScrollShadowContainer-DSKr3_fV.js.map +0 -1
  187. package/dist/Toggle-BuYtICWv.js +0 -129
  188. package/dist/Toggle-BuYtICWv.js.map +0 -1
  189. package/dist/ToggleGroup-CMyUAz04.js +0 -467
  190. package/dist/ToggleGroup-CMyUAz04.js.map +0 -1
  191. package/dist/bundle-mjs-D6wdQkGI.js.map +0 -1
  192. package/dist/floating-ui.react-dom-CWfR7VfF.js +0 -1346
  193. package/dist/floating-ui.react-dom-CWfR7VfF.js.map +0 -1
  194. package/dist/index-0WznJ1QS.js +0 -276
  195. package/dist/index-0WznJ1QS.js.map +0 -1
  196. package/dist/index-BjbwEU_d.js.map +0 -1
  197. package/dist/index-BqriTm0o.js +0 -47
  198. package/dist/index-BqriTm0o.js.map +0 -1
  199. package/dist/index-C6bvrqL8.js +0 -563
  200. package/dist/index-C6bvrqL8.js.map +0 -1
  201. package/dist/index-C6t9z3on.js +0 -97
  202. package/dist/index-C6t9z3on.js.map +0 -1
  203. package/dist/index-CaQG3DzJ.js +0 -64
  204. package/dist/index-CaQG3DzJ.js.map +0 -1
  205. package/dist/index-ChTGHCkY.js +0 -255
  206. package/dist/index-ChTGHCkY.js.map +0 -1
  207. package/dist/index-D808y1pT.js +0 -178
  208. package/dist/index-D808y1pT.js.map +0 -1
  209. package/dist/index-DE3fiSzl.js +0 -28
  210. package/dist/index-DE3fiSzl.js.map +0 -1
  211. package/dist/index-DPws5oAn.js +0 -90
  212. package/dist/index-DPws5oAn.js.map +0 -1
  213. package/dist/index-DeUgDpdG.js +0 -80
  214. package/dist/index-DeUgDpdG.js.map +0 -1
  215. package/dist/index-DvquTpxI.js +0 -140
  216. package/dist/index-DvquTpxI.js.map +0 -1
  217. package/dist/index-DwbC6luJ.js.map +0 -1
  218. package/dist/index-Ncxt32Wo.js +0 -174
  219. package/dist/index-Ncxt32Wo.js.map +0 -1
  220. package/dist/index-U7y6nBZR.js +0 -179
  221. package/dist/index-U7y6nBZR.js.map +0 -1
  222. package/dist/index-pysSAa5G.js +0 -57
  223. package/dist/index-pysSAa5G.js.map +0 -1
  224. package/dist/tooltip-DI3_ZKNk.js +0 -365
  225. package/dist/tooltip-DI3_ZKNk.js.map +0 -1
  226. package/dist/utils-DGzAmwok.js.map +0 -1
  227. /package/dist/components/{ui/tooltip.d.ts → tooltip/Tooltip.d.ts} +0 -0
@@ -1,6 +1,334 @@
1
- import { Meta, StoryObj } from '@storybook/react';
1
+ import { StoryObj } from '@storybook/react';
2
2
  import { IconButton } from './IconButton';
3
- declare const meta: Meta<typeof IconButton>;
3
+ import { ForwardRefExoticComponent, ButtonHTMLAttributes, ReactNode, RefAttributes } from 'react';
4
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
5
+ import { TVConfig } from 'tailwind-variants/dist/config.js';
6
+ import { LucideIcon } from 'lucide-react';
7
+ declare const meta: {
8
+ component: ForwardRefExoticComponent< ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<TVReturnType<{
9
+ variant: {
10
+ primary: string;
11
+ secondary: string;
12
+ outline: string;
13
+ ghost: string;
14
+ link: string;
15
+ text: string;
16
+ };
17
+ status: {
18
+ default: string;
19
+ info: string;
20
+ success: string;
21
+ warning: string;
22
+ error: string;
23
+ };
24
+ size: {
25
+ xs: string;
26
+ sm: string;
27
+ md: string;
28
+ lg: string;
29
+ xl: string;
30
+ };
31
+ }, undefined, "inline-flex shrink-0 cursor-pointer select-none items-center justify-center rounded-md font-medium text-primary-fg transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50", TVConfig<{
32
+ variant: {
33
+ primary: string;
34
+ secondary: string;
35
+ outline: string;
36
+ ghost: string;
37
+ link: string;
38
+ text: string;
39
+ };
40
+ status: {
41
+ default: string;
42
+ info: string;
43
+ success: string;
44
+ warning: string;
45
+ error: string;
46
+ };
47
+ size: {
48
+ xs: string;
49
+ sm: string;
50
+ md: string;
51
+ lg: string;
52
+ xl: string;
53
+ };
54
+ }, {
55
+ variant: {
56
+ primary: string;
57
+ secondary: string;
58
+ outline: string;
59
+ ghost: string;
60
+ link: string;
61
+ text: string;
62
+ };
63
+ status: {
64
+ default: string;
65
+ info: string;
66
+ success: string;
67
+ warning: string;
68
+ error: string;
69
+ };
70
+ size: {
71
+ xs: string;
72
+ sm: string;
73
+ md: string;
74
+ lg: string;
75
+ xl: string;
76
+ };
77
+ }>, {
78
+ variant: {
79
+ primary: string;
80
+ secondary: string;
81
+ outline: string;
82
+ ghost: string;
83
+ link: string;
84
+ text: string;
85
+ };
86
+ status: {
87
+ default: string;
88
+ info: string;
89
+ success: string;
90
+ warning: string;
91
+ error: string;
92
+ };
93
+ size: {
94
+ xs: string;
95
+ sm: string;
96
+ md: string;
97
+ lg: string;
98
+ xl: string;
99
+ };
100
+ }, undefined, TVReturnType<{
101
+ variant: {
102
+ primary: string;
103
+ secondary: string;
104
+ outline: string;
105
+ ghost: string;
106
+ link: string;
107
+ text: string;
108
+ };
109
+ status: {
110
+ default: string;
111
+ info: string;
112
+ success: string;
113
+ warning: string;
114
+ error: string;
115
+ };
116
+ size: {
117
+ xs: string;
118
+ sm: string;
119
+ md: string;
120
+ lg: string;
121
+ xl: string;
122
+ };
123
+ }, undefined, "inline-flex shrink-0 cursor-pointer select-none items-center justify-center rounded-md font-medium text-primary-fg transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50", TVConfig<{
124
+ variant: {
125
+ primary: string;
126
+ secondary: string;
127
+ outline: string;
128
+ ghost: string;
129
+ link: string;
130
+ text: string;
131
+ };
132
+ status: {
133
+ default: string;
134
+ info: string;
135
+ success: string;
136
+ warning: string;
137
+ error: string;
138
+ };
139
+ size: {
140
+ xs: string;
141
+ sm: string;
142
+ md: string;
143
+ lg: string;
144
+ xl: string;
145
+ };
146
+ }, {
147
+ variant: {
148
+ primary: string;
149
+ secondary: string;
150
+ outline: string;
151
+ ghost: string;
152
+ link: string;
153
+ text: string;
154
+ };
155
+ status: {
156
+ default: string;
157
+ info: string;
158
+ success: string;
159
+ warning: string;
160
+ error: string;
161
+ };
162
+ size: {
163
+ xs: string;
164
+ sm: string;
165
+ md: string;
166
+ lg: string;
167
+ xl: string;
168
+ };
169
+ }>, unknown, unknown, undefined>>> & {
170
+ asChild?: boolean;
171
+ } & VariantProps<TVReturnType<{
172
+ size: {
173
+ xs: {
174
+ container: string;
175
+ icon: string;
176
+ };
177
+ sm: {
178
+ container: string;
179
+ icon: string;
180
+ };
181
+ md: {
182
+ container: string;
183
+ };
184
+ lg: {
185
+ container: string;
186
+ };
187
+ xl: {
188
+ container: string;
189
+ };
190
+ };
191
+ }, {
192
+ container: string;
193
+ icon: string;
194
+ }, undefined, TVConfig<{
195
+ size: {
196
+ xs: {
197
+ container: string;
198
+ icon: string;
199
+ };
200
+ sm: {
201
+ container: string;
202
+ icon: string;
203
+ };
204
+ md: {
205
+ container: string;
206
+ };
207
+ lg: {
208
+ container: string;
209
+ };
210
+ xl: {
211
+ container: string;
212
+ };
213
+ };
214
+ }, {
215
+ size: {
216
+ xs: {
217
+ container: string;
218
+ icon: string;
219
+ };
220
+ sm: {
221
+ container: string;
222
+ icon: string;
223
+ };
224
+ md: {
225
+ container: string;
226
+ };
227
+ lg: {
228
+ container: string;
229
+ };
230
+ xl: {
231
+ container: string;
232
+ };
233
+ };
234
+ }>, {
235
+ size: {
236
+ xs: {
237
+ container: string;
238
+ icon: string;
239
+ };
240
+ sm: {
241
+ container: string;
242
+ icon: string;
243
+ };
244
+ md: {
245
+ container: string;
246
+ };
247
+ lg: {
248
+ container: string;
249
+ };
250
+ xl: {
251
+ container: string;
252
+ };
253
+ };
254
+ }, {
255
+ container: string;
256
+ icon: string;
257
+ }, TVReturnType<{
258
+ size: {
259
+ xs: {
260
+ container: string;
261
+ icon: string;
262
+ };
263
+ sm: {
264
+ container: string;
265
+ icon: string;
266
+ };
267
+ md: {
268
+ container: string;
269
+ };
270
+ lg: {
271
+ container: string;
272
+ };
273
+ xl: {
274
+ container: string;
275
+ };
276
+ };
277
+ }, {
278
+ container: string;
279
+ icon: string;
280
+ }, undefined, TVConfig<{
281
+ size: {
282
+ xs: {
283
+ container: string;
284
+ icon: string;
285
+ };
286
+ sm: {
287
+ container: string;
288
+ icon: string;
289
+ };
290
+ md: {
291
+ container: string;
292
+ };
293
+ lg: {
294
+ container: string;
295
+ };
296
+ xl: {
297
+ container: string;
298
+ };
299
+ };
300
+ }, {
301
+ size: {
302
+ xs: {
303
+ container: string;
304
+ icon: string;
305
+ };
306
+ sm: {
307
+ container: string;
308
+ icon: string;
309
+ };
310
+ md: {
311
+ container: string;
312
+ };
313
+ lg: {
314
+ container: string;
315
+ };
316
+ xl: {
317
+ container: string;
318
+ };
319
+ };
320
+ }>, unknown, unknown, undefined>>> & {
321
+ icon: LucideIcon;
322
+ iconClassName?: string;
323
+ } & {
324
+ children?: ReactNode | undefined;
325
+ } & RefAttributes<HTMLButtonElement>>;
326
+ parameters: {
327
+ layout: string;
328
+ };
329
+ tags: string[];
330
+ };
4
331
  export default meta;
5
332
  type Story = StoryObj<typeof IconButton>;
6
333
  export declare const Default: Story;
334
+ export declare const Showcase: Story;
@@ -0,0 +1,249 @@
1
+ import { default as React } from 'react';
2
+ import { VariantProps, TVReturnType, ClassValue } from 'tailwind-variants';
3
+ import { ButtonBaseProps } from '../button-base/ButtonBase';
4
+ import { TVConfig } from 'tailwind-variants/dist/config.js';
5
+ declare const loadingButtonVariants: TVReturnType<{
6
+ [key: string]: {
7
+ [key: string]: ClassValue | {
8
+ icon?: ClassValue;
9
+ };
10
+ };
11
+ } | {
12
+ [x: string]: {
13
+ [x: string]: ClassValue | {
14
+ icon?: ClassValue;
15
+ };
16
+ };
17
+ } | {}, {
18
+ icon: string;
19
+ }, undefined, TVConfig<unknown, {
20
+ [key: string]: {
21
+ [key: string]: ClassValue | {
22
+ icon?: ClassValue;
23
+ };
24
+ };
25
+ } | {}>, {
26
+ [key: string]: {
27
+ [key: string]: ClassValue | {
28
+ icon?: ClassValue;
29
+ };
30
+ };
31
+ } | {}, {
32
+ icon: string;
33
+ }, TVReturnType<unknown, {
34
+ icon: string;
35
+ }, undefined, TVConfig<unknown, {
36
+ [key: string]: {
37
+ [key: string]: ClassValue | {
38
+ icon?: ClassValue;
39
+ };
40
+ };
41
+ } | {}>, unknown, unknown, undefined>>;
42
+ export type LoadingButtonProps = ButtonBaseProps & VariantProps<typeof loadingButtonVariants> & {
43
+ text?: string;
44
+ };
45
+ export declare const LoadingButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps< TVReturnType<{
46
+ variant: {
47
+ primary: string;
48
+ secondary: string;
49
+ outline: string;
50
+ ghost: string;
51
+ link: string;
52
+ text: string;
53
+ };
54
+ status: {
55
+ default: string;
56
+ info: string;
57
+ success: string;
58
+ warning: string;
59
+ error: string;
60
+ };
61
+ size: {
62
+ xs: string;
63
+ sm: string;
64
+ md: string;
65
+ lg: string;
66
+ xl: string;
67
+ };
68
+ }, undefined, "inline-flex shrink-0 cursor-pointer select-none items-center justify-center rounded-md font-medium text-primary-fg transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50", TVConfig<{
69
+ variant: {
70
+ primary: string;
71
+ secondary: string;
72
+ outline: string;
73
+ ghost: string;
74
+ link: string;
75
+ text: string;
76
+ };
77
+ status: {
78
+ default: string;
79
+ info: string;
80
+ success: string;
81
+ warning: string;
82
+ error: string;
83
+ };
84
+ size: {
85
+ xs: string;
86
+ sm: string;
87
+ md: string;
88
+ lg: string;
89
+ xl: string;
90
+ };
91
+ }, {
92
+ variant: {
93
+ primary: string;
94
+ secondary: string;
95
+ outline: string;
96
+ ghost: string;
97
+ link: string;
98
+ text: string;
99
+ };
100
+ status: {
101
+ default: string;
102
+ info: string;
103
+ success: string;
104
+ warning: string;
105
+ error: string;
106
+ };
107
+ size: {
108
+ xs: string;
109
+ sm: string;
110
+ md: string;
111
+ lg: string;
112
+ xl: string;
113
+ };
114
+ }>, {
115
+ variant: {
116
+ primary: string;
117
+ secondary: string;
118
+ outline: string;
119
+ ghost: string;
120
+ link: string;
121
+ text: string;
122
+ };
123
+ status: {
124
+ default: string;
125
+ info: string;
126
+ success: string;
127
+ warning: string;
128
+ error: string;
129
+ };
130
+ size: {
131
+ xs: string;
132
+ sm: string;
133
+ md: string;
134
+ lg: string;
135
+ xl: string;
136
+ };
137
+ }, undefined, TVReturnType<{
138
+ variant: {
139
+ primary: string;
140
+ secondary: string;
141
+ outline: string;
142
+ ghost: string;
143
+ link: string;
144
+ text: string;
145
+ };
146
+ status: {
147
+ default: string;
148
+ info: string;
149
+ success: string;
150
+ warning: string;
151
+ error: string;
152
+ };
153
+ size: {
154
+ xs: string;
155
+ sm: string;
156
+ md: string;
157
+ lg: string;
158
+ xl: string;
159
+ };
160
+ }, undefined, "inline-flex shrink-0 cursor-pointer select-none items-center justify-center rounded-md font-medium text-primary-fg transition-all focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-primary disabled:pointer-events-none disabled:opacity-50", TVConfig<{
161
+ variant: {
162
+ primary: string;
163
+ secondary: string;
164
+ outline: string;
165
+ ghost: string;
166
+ link: string;
167
+ text: string;
168
+ };
169
+ status: {
170
+ default: string;
171
+ info: string;
172
+ success: string;
173
+ warning: string;
174
+ error: string;
175
+ };
176
+ size: {
177
+ xs: string;
178
+ sm: string;
179
+ md: string;
180
+ lg: string;
181
+ xl: string;
182
+ };
183
+ }, {
184
+ variant: {
185
+ primary: string;
186
+ secondary: string;
187
+ outline: string;
188
+ ghost: string;
189
+ link: string;
190
+ text: string;
191
+ };
192
+ status: {
193
+ default: string;
194
+ info: string;
195
+ success: string;
196
+ warning: string;
197
+ error: string;
198
+ };
199
+ size: {
200
+ xs: string;
201
+ sm: string;
202
+ md: string;
203
+ lg: string;
204
+ xl: string;
205
+ };
206
+ }>, unknown, unknown, undefined>>> & {
207
+ asChild?: boolean;
208
+ } & VariantProps< TVReturnType<{
209
+ [key: string]: {
210
+ [key: string]: ClassValue | {
211
+ icon?: ClassValue;
212
+ };
213
+ };
214
+ } | {
215
+ [x: string]: {
216
+ [x: string]: ClassValue | {
217
+ icon?: ClassValue;
218
+ };
219
+ };
220
+ } | {}, {
221
+ icon: string;
222
+ }, undefined, TVConfig<unknown, {
223
+ [key: string]: {
224
+ [key: string]: ClassValue | {
225
+ icon?: ClassValue;
226
+ };
227
+ };
228
+ } | {}>, {
229
+ [key: string]: {
230
+ [key: string]: ClassValue | {
231
+ icon?: ClassValue;
232
+ };
233
+ };
234
+ } | {}, {
235
+ icon: string;
236
+ }, TVReturnType<unknown, {
237
+ icon: string;
238
+ }, undefined, TVConfig<unknown, {
239
+ [key: string]: {
240
+ [key: string]: ClassValue | {
241
+ icon?: ClassValue;
242
+ };
243
+ };
244
+ } | {}>, unknown, unknown, undefined>>> & {
245
+ text?: string;
246
+ } & {
247
+ children?: React.ReactNode | undefined;
248
+ } & React.RefAttributes<HTMLButtonElement>>;
249
+ export {};