@clicktap/ui 0.12.2 → 0.12.4

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 (198) hide show
  1. package/assets/components__Accordion-bf458c79.js +1 -0
  2. package/assets/components__Avatar-bf458c79.js +1 -0
  3. package/assets/components__Badge-58d47e35.js +1 -0
  4. package/assets/components__Breadcrumbs-1bd342d3.js +1 -0
  5. package/assets/components__Button-c2e432c0.js +1 -0
  6. package/assets/components__Card-bf458c79.js +1 -0
  7. package/assets/components__Checkbox-1bd342d3.js +1 -0
  8. package/assets/components__Collapsible-5fad3ae3.js +1 -0
  9. package/assets/components__Container-eb405456.js +1 -0
  10. package/assets/components__ContextMenu-c2fbde59.js +1 -0
  11. package/assets/components__CreditCardExpirationInput-1bd342d3.js +1 -0
  12. package/assets/components__CreditCardInput-b7aa7dad.js +1 -0
  13. package/assets/components__DateInput-1bd342d3.js +1 -0
  14. package/assets/components__Dialog-2edbd3f4.js +1 -0
  15. package/assets/components__DialogTrigger-a3536f7a.js +1 -0
  16. package/assets/components__Divider-4bb7a5a5.js +1 -0
  17. package/assets/components__Drawer-7ee16468.js +1 -0
  18. package/assets/components__Input-1bd342d3.js +1 -0
  19. package/assets/components__Link-1bd342d3.js +1 -0
  20. package/assets/components__Loader-bdc0430a.js +1 -0
  21. package/assets/components__Meter-6bd8c479.js +1 -0
  22. package/assets/components__Modal-1bd342d3.js +1 -0
  23. package/assets/components__ModalOverlay-894317ac.js +1 -0
  24. package/assets/components__NumberInput-1bd342d3.js +1 -0
  25. package/assets/components__PinInput-b7aa7dad.js +1 -0
  26. package/assets/components__Progressbar-6bd8c479.js +1 -0
  27. package/assets/components__Radio-1bd342d3.js +1 -0
  28. package/assets/components__Select-2af7c27f.js +1 -0
  29. package/assets/components__Slider-1bd342d3.js +1 -0
  30. package/assets/components__Switch-1bd342d3.js +1 -0
  31. package/assets/components__Tabs-776e5e7f.js +1 -0
  32. package/assets/components__TimeInput-1bd342d3.js +1 -0
  33. package/assets/components__ToggleButton-1bd342d3.js +1 -0
  34. package/assets/components__Tooltip-ab4c14a9.js +1 -0
  35. package/assets/hooks__useEnterExitAnimation-90b2d97c.js +1 -0
  36. package/assets/types__SlotsToClasses-4ed993c7.js +1 -0
  37. package/assets/utils__cn-1dfef8e7.js +1 -0
  38. package/assets/utils__defaultTheme-4ed993c7.js +1 -0
  39. package/{Accordion → components/Accordion}/Accordion.d.ts +1 -1
  40. package/components/Accordion/index.d.ts +3 -0
  41. package/{Avatar → components/Avatar}/Avatar.d.ts +1 -1
  42. package/components/Avatar/Avatar.types.d.ts +2 -0
  43. package/{Avatar → components/Avatar}/AvatarGroup/AvatarGroup.d.ts +2 -2
  44. package/{Avatar/AvatarGroup/types.d.ts → components/Avatar/AvatarGroup/AvatarGroup.types.d.ts} +1 -1
  45. package/components/Avatar/index.d.ts +4 -0
  46. package/{Badge → components/Badge}/Badge.d.ts +1 -1
  47. package/components/Badge/Badge.types.d.ts +2 -0
  48. package/components/Badge/index.d.ts +2 -0
  49. package/components/Breadcrumbs/BreadcrumbEllipsis.d.ts +3 -0
  50. package/components/Breadcrumbs/BreadcrumbEllipsis.types.d.ts +2 -0
  51. package/components/Breadcrumbs/BreadcrumbItem.d.ts +3 -0
  52. package/components/Breadcrumbs/BreadcrumbItem.types.d.ts +2 -0
  53. package/components/Breadcrumbs/BreadcrumbLink.d.ts +3 -0
  54. package/components/Breadcrumbs/BreadcrumbLink.types.d.ts +2 -0
  55. package/components/Breadcrumbs/BreadcrumbSeparator.d.ts +3 -0
  56. package/components/Breadcrumbs/BreadcrumbSeparator.types.d.ts +6 -0
  57. package/{Breadcrumbs → components/Breadcrumbs}/Breadcrumbs.d.ts +1 -1
  58. package/components/Breadcrumbs/Breadcrumbs.types.d.ts +2 -0
  59. package/components/Breadcrumbs/index.d.ts +10 -0
  60. package/{Button/types.d.ts → components/Button/Button.types.d.ts} +1 -1
  61. package/components/Button/index.d.ts +2 -0
  62. package/components/Card/Card.d.ts +3 -0
  63. package/components/Card/Card.types.d.ts +2 -0
  64. package/components/Card/index.d.ts +2 -0
  65. package/components/Checkbox/Checkbox.d.ts +11 -0
  66. package/components/Checkbox/Checkbox.types.d.ts +10 -0
  67. package/components/Checkbox/index.d.ts +2 -0
  68. package/{Collapsible → components/Collapsible}/Collapsible.d.ts +1 -1
  69. package/components/Collapsible/Collapsible.types.d.ts +2 -0
  70. package/{Collapsible → components/Collapsible}/CollapsibleTrigger.d.ts +2 -1
  71. package/{Collapsible/types.d.ts → components/Collapsible/CollapsibleTrigger.types.d.ts} +1 -2
  72. package/components/Collapsible/index.d.ts +4 -0
  73. package/components/Container/Container.d.ts +5 -0
  74. package/components/Container/Container.types.d.ts +2 -0
  75. package/components/Container/index.d.ts +2 -0
  76. package/components/ContextMenu/ContextMenu.d.ts +11 -0
  77. package/components/ContextMenu/ContextMenu.types.d.ts +15 -0
  78. package/components/ContextMenu/index.d.ts +2 -0
  79. package/{CreditCardExpirationInput → components/CreditCardExpirationInput}/CreditCardExpirationInput.d.ts +1 -9
  80. package/components/CreditCardExpirationInput/CreditCardExpirationInput.types.d.ts +9 -0
  81. package/components/CreditCardExpirationInput/index.d.ts +2 -0
  82. package/{CreditCardInput → components/CreditCardInput}/CreditCardInput.d.ts +1 -11
  83. package/components/CreditCardInput/CreditCardInput.types.d.ts +11 -0
  84. package/components/CreditCardInput/index.d.ts +2 -0
  85. package/components/DateInput/DateInput.d.ts +11 -0
  86. package/components/DateInput/DateInput.types.d.ts +8 -0
  87. package/components/DateInput/index.d.ts +2 -0
  88. package/components/Dialog/Dialog.d.ts +10 -0
  89. package/components/Dialog/Dialog.types.d.ts +8 -0
  90. package/components/Dialog/index.d.ts +2 -0
  91. package/components/DialogTrigger/DialogTrigger.d.ts +10 -0
  92. package/components/DialogTrigger/DialogTrigger.types.d.ts +4 -0
  93. package/components/DialogTrigger/index.d.ts +2 -0
  94. package/{Divider → components/Divider}/Divider.d.ts +1 -1
  95. package/components/Divider/index.d.ts +2 -0
  96. package/components/Drawer/Drawer.d.ts +12 -0
  97. package/components/Drawer/Drawer.types.d.ts +10 -0
  98. package/components/Drawer/index.d.ts +2 -0
  99. package/components/Input/Input.d.ts +12 -0
  100. package/components/Input/Input.types.d.ts +9 -0
  101. package/components/Input/index.d.ts +2 -0
  102. package/{Link → components/Link}/Link.d.ts +1 -1
  103. package/components/Link/Link.types.d.ts +2 -0
  104. package/components/Link/index.d.ts +2 -0
  105. package/{Loader/CircularEasing → components/Loader}/CircularEasing.d.ts +1 -1
  106. package/{Loader/CircularEasing/types.d.ts → components/Loader/CircularEasing.types.d.ts} +1 -1
  107. package/{Loader/Pulse → components/Loader}/Pulse.d.ts +1 -4
  108. package/components/Loader/Pulse.types.d.ts +4 -0
  109. package/components/Loader/index.d.ts +4 -0
  110. package/{Meter → components/Meter}/Meter.d.ts +1 -7
  111. package/components/Meter/Meter.types.d.ts +7 -0
  112. package/components/Meter/index.d.ts +2 -0
  113. package/components/Modal/Modal.d.ts +3 -0
  114. package/components/Modal/Modal.types.d.ts +5 -0
  115. package/components/Modal/index.d.ts +2 -0
  116. package/components/ModalOverlay/ModalOverlay.d.ts +10 -0
  117. package/components/ModalOverlay/ModalOverlay.types.d.ts +14 -0
  118. package/components/ModalOverlay/index.d.ts +2 -0
  119. package/{NumberInput → components/NumberInput}/NumberInput.d.ts +1 -13
  120. package/components/NumberInput/NumberInput.types.d.ts +13 -0
  121. package/components/NumberInput/index.d.ts +2 -0
  122. package/{PinInput → components/PinInput}/PinInput.d.ts +1 -17
  123. package/components/PinInput/PinInput.types.d.ts +17 -0
  124. package/components/PinInput/index.d.ts +2 -0
  125. package/{Progressbar/CircularProgressbar → components/Progressbar}/CircularProgressbar.d.ts +1 -1
  126. package/{Progressbar/CircularProgressbar/types.d.ts → components/Progressbar/CircularProgressbar.types.d.ts} +1 -1
  127. package/{Progressbar/LinearProgressbar → components/Progressbar}/LinearProgressbar.d.ts +1 -1
  128. package/{Progressbar/LinearProgressbar/types.d.ts → components/Progressbar/LinearProgressbar.types.d.ts} +1 -1
  129. package/components/Progressbar/index.d.ts +4 -0
  130. package/components/Radio/Radio.d.ts +10 -0
  131. package/components/Radio/Radio.types.d.ts +11 -0
  132. package/components/Radio/index.d.ts +2 -0
  133. package/components/Select/Option.d.ts +3 -0
  134. package/components/Select/Option.types.d.ts +2 -0
  135. package/components/Select/Select.d.ts +20 -0
  136. package/components/Select/Select.types.d.ts +21 -0
  137. package/components/Select/index.d.ts +4 -0
  138. package/{Slider → components/Slider}/Slider.d.ts +1 -8
  139. package/components/Slider/Slider.types.d.ts +8 -0
  140. package/components/Slider/index.d.ts +2 -0
  141. package/{Switch → components/Switch}/Switch.d.ts +2 -2
  142. package/components/Switch/Switch.types.d.ts +3 -0
  143. package/components/Switch/index.d.ts +2 -0
  144. package/{Tabs → components/Tabs}/Tab.d.ts +4 -4
  145. package/components/Tabs/Tab.types.d.ts +5 -0
  146. package/{Tabs → components/Tabs}/TabList.d.ts +1 -1
  147. package/components/Tabs/TabList.types.d.ts +10 -0
  148. package/{Tabs → components/Tabs}/TabPanel.d.ts +1 -1
  149. package/components/Tabs/TabPanel.types.d.ts +2 -0
  150. package/{Tabs → components/Tabs}/Tabs.d.ts +2 -1
  151. package/components/Tabs/Tabs.types.d.ts +2 -0
  152. package/components/Tabs/index.d.ts +8 -0
  153. package/{TimeInput → components/TimeInput}/TimeInput.d.ts +1 -1
  154. package/{TimeInput/types.d.ts → components/TimeInput/TimeInput.types.d.ts} +1 -1
  155. package/components/TimeInput/index.d.ts +2 -0
  156. package/{ToggleButton → components/ToggleButton}/ToggleButton.d.ts +1 -1
  157. package/components/ToggleButton/index.d.ts +2 -0
  158. package/components/Tooltip/Tooltip.d.ts +3 -0
  159. package/components/Tooltip/Tooltip.types.d.ts +2 -0
  160. package/components/Tooltip/index.d.ts +2 -0
  161. package/hooks/useEnterExitAnimation.d.ts +5 -0
  162. package/package.json +2 -1
  163. package/{types.d.ts → types/SlotsToClasses.d.ts} +1 -1
  164. package/{utils.d.ts → utils/cn.d.ts} +1 -1
  165. package/utils/defaultTheme.d.ts +501 -0
  166. package/Accordion/index.d.ts +0 -2
  167. package/Avatar/types.d.ts +0 -6
  168. package/Badge/types.d.ts +0 -3
  169. package/Breadcrumbs/BreadcrumbEllipsis.d.ts +0 -3
  170. package/Breadcrumbs/BreadcrumbItem.d.ts +0 -3
  171. package/Breadcrumbs/BreadcrumbLink.d.ts +0 -3
  172. package/Breadcrumbs/BreadcrumbSeparator.d.ts +0 -3
  173. package/Breadcrumbs/types.d.ts +0 -10
  174. package/Card/Card.d.ts +0 -4
  175. package/Checkbox/Checkbox.d.ts +0 -20
  176. package/Container/Container.d.ts +0 -3
  177. package/ContextMenu/ContextMenu.d.ts +0 -24
  178. package/DateInput/DateInput.d.ts +0 -18
  179. package/Dialog/Dialog.d.ts +0 -3
  180. package/Drawer/Drawer.d.ts +0 -11
  181. package/Input/Input.d.ts +0 -21
  182. package/Loader/index.d.ts +0 -2
  183. package/Modal/Modal.d.ts +0 -7
  184. package/ModalOverlay/ModalOverlay.d.ts +0 -3
  185. package/NavigationMenu/NavigationMenu.d.ts +0 -2
  186. package/Progressbar/index.d.ts +0 -2
  187. package/Radio/Radio.d.ts +0 -20
  188. package/Select/Option.d.ts +0 -3
  189. package/Select/Select.d.ts +0 -40
  190. package/Tabs/types.d.ts +0 -13
  191. package/Tooltip/Tooltip.d.ts +0 -4
  192. package/index.d.ts +0 -47
  193. package/index.js +0 -39
  194. package/index.mjs +0 -15759
  195. package/style.css +0 -1
  196. /package/{Button → components/Button}/Button.d.ts +0 -0
  197. /package/{Divider/types.d.ts → components/Divider/Divider.types.d.ts} +0 -0
  198. /package/{ToggleButton/types.d.ts → components/ToggleButton/ToggleButton.types.d.ts} +0 -0
@@ -0,0 +1,501 @@
1
+ import type { MergeDeep, PartialDeep } from 'type-fest';
2
+ export declare const defaultTheme: {
3
+ fontFamily: {
4
+ sans: string[];
5
+ serif: string[];
6
+ monospace: string[];
7
+ };
8
+ fontSize: {
9
+ xs: (string | {
10
+ lineHeight: string;
11
+ })[];
12
+ sm: (string | {
13
+ lineHeight: string;
14
+ })[];
15
+ base: (string | {
16
+ lineHeight: string;
17
+ })[];
18
+ lg: (string | {
19
+ lineHeight: string;
20
+ })[];
21
+ xl: (string | {
22
+ lineHeight: string;
23
+ })[];
24
+ '2xl': (string | {
25
+ lineHeight: string;
26
+ })[];
27
+ '3xl': (string | {
28
+ lineHeight: string;
29
+ })[];
30
+ '4xl': (string | {
31
+ lineHeight: string;
32
+ })[];
33
+ '5xl': (string | {
34
+ lineHeight: string;
35
+ })[];
36
+ '6xl': (string | {
37
+ lineHeight: string;
38
+ })[];
39
+ '7xl': (string | {
40
+ lineHeight: string;
41
+ })[];
42
+ '8xl': (string | {
43
+ lineHeight: string;
44
+ })[];
45
+ '9xl': (string | {
46
+ lineHeight: string;
47
+ })[];
48
+ };
49
+ fontWeight: {
50
+ thin: number;
51
+ extralight: number;
52
+ light: number;
53
+ normal: number;
54
+ medium: number;
55
+ semibold: number;
56
+ bold: number;
57
+ extrabold: number;
58
+ black: number;
59
+ };
60
+ letterSpacing: {
61
+ tighter: string;
62
+ tight: string;
63
+ normal: string;
64
+ wide: string;
65
+ wider: string;
66
+ widest: string;
67
+ };
68
+ lineHeight: {
69
+ 3: string;
70
+ 4: string;
71
+ 5: string;
72
+ 6: string;
73
+ 7: string;
74
+ 8: string;
75
+ 9: string;
76
+ 10: string;
77
+ none: string;
78
+ tight: string;
79
+ snug: string;
80
+ normal: string;
81
+ relaxed: string;
82
+ loose: string;
83
+ };
84
+ borderRadius: {
85
+ 0.5: string;
86
+ 1: string;
87
+ 1.5: string;
88
+ 2: string;
89
+ };
90
+ listStyleType: {
91
+ none: string;
92
+ disc: string;
93
+ decimal: string;
94
+ };
95
+ screens: {
96
+ sm: string;
97
+ md: string;
98
+ lg: string;
99
+ xl: string;
100
+ '2xl': string;
101
+ };
102
+ colors: {
103
+ primary: string;
104
+ secondary: string;
105
+ tertiary: string;
106
+ background: string;
107
+ inherit: string;
108
+ current: string;
109
+ transparent: string;
110
+ black: string;
111
+ white: string;
112
+ slate: {
113
+ 50: string;
114
+ 100: string;
115
+ 200: string;
116
+ 300: string;
117
+ 400: string;
118
+ 500: string;
119
+ 600: string;
120
+ 700: string;
121
+ 800: string;
122
+ 900: string;
123
+ };
124
+ gray: {
125
+ 50: string;
126
+ 100: string;
127
+ 200: string;
128
+ 300: string;
129
+ 400: string;
130
+ 500: string;
131
+ 600: string;
132
+ 700: string;
133
+ 800: string;
134
+ 900: string;
135
+ };
136
+ zinc: {
137
+ 50: string;
138
+ 100: string;
139
+ 200: string;
140
+ 300: string;
141
+ 400: string;
142
+ 500: string;
143
+ 600: string;
144
+ 700: string;
145
+ 800: string;
146
+ 900: string;
147
+ };
148
+ neutral: {
149
+ 50: string;
150
+ 100: string;
151
+ 200: string;
152
+ 300: string;
153
+ 400: string;
154
+ 500: string;
155
+ 600: string;
156
+ 700: string;
157
+ 800: string;
158
+ 900: string;
159
+ };
160
+ stone: {
161
+ 50: string;
162
+ 100: string;
163
+ 200: string;
164
+ 300: string;
165
+ 400: string;
166
+ 500: string;
167
+ 600: string;
168
+ 700: string;
169
+ 800: string;
170
+ 900: string;
171
+ };
172
+ red: {
173
+ 50: string;
174
+ 100: string;
175
+ 200: string;
176
+ 300: string;
177
+ 400: string;
178
+ 500: string;
179
+ 600: string;
180
+ 700: string;
181
+ 800: string;
182
+ 900: string;
183
+ };
184
+ orange: {
185
+ 50: string;
186
+ 100: string;
187
+ 200: string;
188
+ 300: string;
189
+ 400: string;
190
+ 500: string;
191
+ 600: string;
192
+ 700: string;
193
+ 800: string;
194
+ 900: string;
195
+ };
196
+ amber: {
197
+ 50: string;
198
+ 100: string;
199
+ 200: string;
200
+ 300: string;
201
+ 400: string;
202
+ 500: string;
203
+ 600: string;
204
+ 700: string;
205
+ 800: string;
206
+ 900: string;
207
+ };
208
+ yellow: {
209
+ 50: string;
210
+ 100: string;
211
+ 200: string;
212
+ 300: string;
213
+ 400: string;
214
+ 500: string;
215
+ 600: string;
216
+ 700: string;
217
+ 800: string;
218
+ 900: string;
219
+ };
220
+ lime: {
221
+ 50: string;
222
+ 100: string;
223
+ 200: string;
224
+ 300: string;
225
+ 400: string;
226
+ 500: string;
227
+ 600: string;
228
+ 700: string;
229
+ 800: string;
230
+ 900: string;
231
+ };
232
+ green: {
233
+ 50: string;
234
+ 100: string;
235
+ 200: string;
236
+ 300: string;
237
+ 400: string;
238
+ 500: string;
239
+ 600: string;
240
+ 700: string;
241
+ 800: string;
242
+ 900: string;
243
+ };
244
+ emerald: {
245
+ 50: string;
246
+ 100: string;
247
+ 200: string;
248
+ 300: string;
249
+ 400: string;
250
+ 500: string;
251
+ 600: string;
252
+ 700: string;
253
+ 800: string;
254
+ 900: string;
255
+ };
256
+ teal: {
257
+ 50: string;
258
+ 100: string;
259
+ 200: string;
260
+ 300: string;
261
+ 400: string;
262
+ 500: string;
263
+ 600: string;
264
+ 700: string;
265
+ 800: string;
266
+ 900: string;
267
+ };
268
+ cyan: {
269
+ 50: string;
270
+ 100: string;
271
+ 200: string;
272
+ 300: string;
273
+ 400: string;
274
+ 500: string;
275
+ 600: string;
276
+ 700: string;
277
+ 800: string;
278
+ 900: string;
279
+ };
280
+ sky: {
281
+ 50: string;
282
+ 100: string;
283
+ 200: string;
284
+ 300: string;
285
+ 400: string;
286
+ 500: string;
287
+ 600: string;
288
+ 700: string;
289
+ 800: string;
290
+ 900: string;
291
+ };
292
+ blue: {
293
+ 50: string;
294
+ 100: string;
295
+ 200: string;
296
+ 300: string;
297
+ 400: string;
298
+ 500: string;
299
+ 600: string;
300
+ 700: string;
301
+ 800: string;
302
+ 900: string;
303
+ };
304
+ indigo: {
305
+ 50: string;
306
+ 100: string;
307
+ 200: string;
308
+ 300: string;
309
+ 400: string;
310
+ 500: string;
311
+ 600: string;
312
+ 700: string;
313
+ 800: string;
314
+ 900: string;
315
+ };
316
+ violet: {
317
+ 50: string;
318
+ 100: string;
319
+ 200: string;
320
+ 300: string;
321
+ 400: string;
322
+ 500: string;
323
+ 600: string;
324
+ 700: string;
325
+ 800: string;
326
+ 900: string;
327
+ };
328
+ purple: {
329
+ 50: string;
330
+ 100: string;
331
+ 200: string;
332
+ 300: string;
333
+ 400: string;
334
+ 500: string;
335
+ 600: string;
336
+ 700: string;
337
+ 800: string;
338
+ 900: string;
339
+ };
340
+ fuchsia: {
341
+ 50: string;
342
+ 100: string;
343
+ 200: string;
344
+ 300: string;
345
+ 400: string;
346
+ 500: string;
347
+ 600: string;
348
+ 700: string;
349
+ 800: string;
350
+ 900: string;
351
+ };
352
+ pink: {
353
+ 50: string;
354
+ 100: string;
355
+ 200: string;
356
+ 300: string;
357
+ 400: string;
358
+ 500: string;
359
+ 600: string;
360
+ 700: string;
361
+ 800: string;
362
+ 900: string;
363
+ };
364
+ rose: {
365
+ 50: string;
366
+ 100: string;
367
+ 200: string;
368
+ 300: string;
369
+ 400: string;
370
+ 500: string;
371
+ 600: string;
372
+ 700: string;
373
+ 800: string;
374
+ 900: string;
375
+ };
376
+ };
377
+ spacing: {
378
+ px: string;
379
+ 0: string;
380
+ 0.5: string;
381
+ 1: string;
382
+ 1.5: string;
383
+ 2: string;
384
+ 2.5: string;
385
+ 3: string;
386
+ 3.5: string;
387
+ 4: string;
388
+ 5: string;
389
+ 6: string;
390
+ 7: string;
391
+ 8: string;
392
+ 9: string;
393
+ 10: string;
394
+ 11: string;
395
+ 12: string;
396
+ 14: string;
397
+ 16: string;
398
+ 20: string;
399
+ 24: string;
400
+ 28: string;
401
+ 32: string;
402
+ 36: string;
403
+ 40: string;
404
+ 44: string;
405
+ 48: string;
406
+ 52: string;
407
+ 56: string;
408
+ 60: string;
409
+ 64: string;
410
+ 72: string;
411
+ 80: string;
412
+ 96: string;
413
+ };
414
+ height: {
415
+ auto: string;
416
+ px: string;
417
+ 0: string;
418
+ 0.5: string;
419
+ 1: string;
420
+ 1.5: string;
421
+ 2: string;
422
+ 2.5: string;
423
+ 3: string;
424
+ 3.5: string;
425
+ 4: string;
426
+ 5: string;
427
+ 6: string;
428
+ 7: string;
429
+ 8: string;
430
+ 9: string;
431
+ 10: string;
432
+ 11: string;
433
+ 12: string;
434
+ 14: string;
435
+ 16: string;
436
+ 20: string;
437
+ 24: string;
438
+ 28: string;
439
+ 32: string;
440
+ 36: string;
441
+ 40: string;
442
+ 44: string;
443
+ 48: string;
444
+ 52: string;
445
+ 56: string;
446
+ 60: string;
447
+ 64: string;
448
+ 72: string;
449
+ 80: string;
450
+ 96: string;
451
+ '1/2': string;
452
+ '1/3': string;
453
+ '2/3': string;
454
+ '1/4': string;
455
+ '2/4': string;
456
+ '3/4': string;
457
+ '1/5': string;
458
+ '2/5': string;
459
+ '3/5': string;
460
+ '4/5': string;
461
+ '1/6': string;
462
+ '2/6': string;
463
+ '3/6': string;
464
+ '4/6': string;
465
+ '5/6': string;
466
+ full: string;
467
+ screen: string;
468
+ min: string;
469
+ max: string;
470
+ fit: string;
471
+ };
472
+ components: {
473
+ button: {
474
+ primary: {
475
+ color: string;
476
+ backgroundColor: string;
477
+ };
478
+ };
479
+ Card: {
480
+ border: string;
481
+ padding: string;
482
+ backgroundColor: string;
483
+ borderRadius: string;
484
+ boxShadow: string;
485
+ };
486
+ 'Card.Content': {
487
+ padding: number;
488
+ fontSize: string;
489
+ };
490
+ 'Card.Header': {
491
+ fontSize: string;
492
+ fontWeight: string;
493
+ marginBottom: string;
494
+ };
495
+ };
496
+ };
497
+ export type Theme = typeof defaultTheme;
498
+ /**
499
+ * Performs a deep merge of source into target
500
+ */
501
+ export declare function mergeTheme<T extends Record<string, any>, S extends PartialDeep<T>>(target: T, source: S): MergeDeep<T, S>;
@@ -1,2 +0,0 @@
1
- export * from './Accordion';
2
- export { AccordionItem } from '@nextui-org/accordion';
package/Avatar/types.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { AvatarProps as NextAvatarProps } from '@nextui-org/avatar';
2
- export type AvatarProps = Omit<NextAvatarProps, 'color'>;
3
- export interface RootProps {
4
- isInGroup: boolean;
5
- isGrid: boolean;
6
- }
package/Badge/types.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { BadgeProps as NextBadgeProps } from '@nextui-org/badge';
2
- export type BadgeProps = Omit<NextBadgeProps, 'color | disableOutline'>;
3
- export type BadgeWrapperProps = Pick<BadgeProps, 'placement' | 'shape'>;
@@ -1,3 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- export declare function BreadcrumbEllipsis({ children, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
3
- export default BreadcrumbEllipsis;
@@ -1,3 +0,0 @@
1
- import { BreadcrumbProps } from 'react-aria-components';
2
- export declare function BreadcrumbItem({ children, className, ...props }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
3
- export default BreadcrumbItem;
@@ -1,3 +0,0 @@
1
- import { LinkProps } from 'react-aria-components';
2
- export declare function BreadcrumbLink({ children, className, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
3
- export default BreadcrumbLink;
@@ -1,3 +0,0 @@
1
- import { BreadcrumbItemProps } from './types';
2
- export declare function BreadcrumbSeparator({ children, className, ...props }: BreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
3
- export default BreadcrumbSeparator;
@@ -1,10 +0,0 @@
1
- import { BreadcrumbProps, type BreadcrumbsProps as AriaBreadcrumbsProps, LinkProps } from 'react-aria-components';
2
- import React, { ReactNode } from 'react';
3
- export interface Breadcrumb extends LinkProps {
4
- name: string;
5
- component?: ReactNode;
6
- }
7
- export interface BreadcrumbItemProps extends Omit<BreadcrumbProps, 'children'>, React.RefAttributes<HTMLLIElement> {
8
- children?: ReactNode;
9
- }
10
- export type BreadcrumbsProps<T extends object> = Omit<AriaBreadcrumbsProps<T>, 'items'>;
package/Card/Card.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { PropsWithChildren, HTMLAttributes } from 'react';
2
- type CardProps = HTMLAttributes<HTMLDivElement>;
3
- export declare function Card({ children, className, ...props }: PropsWithChildren<CardProps>): import("react/jsx-runtime").JSX.Element;
4
- export default Card;
@@ -1,20 +0,0 @@
1
- import { CheckboxProps as UiCheckboxProps, CheckboxRenderProps } from 'react-aria-components';
2
- import { ReactNode } from 'react';
3
- import type { SlotsToClasses } from '../types';
4
- interface CheckboxSlots {
5
- control?: ReactNode | ((values: CheckboxRenderProps) => ReactNode);
6
- }
7
- export interface CheckboxProps extends UiCheckboxProps {
8
- slots?: CheckboxSlots;
9
- classNames?: SlotsToClasses<'control'>;
10
- }
11
- export declare function Checkbox({ children, slots, className, classNames, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
12
- export declare namespace Checkbox {
13
- var defaultProps: {
14
- slots: {
15
- control: undefined;
16
- };
17
- classNames: undefined;
18
- };
19
- }
20
- export default Checkbox;
@@ -1,3 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- export declare const Container: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
3
- export default Container;
@@ -1,24 +0,0 @@
1
- import { PopoverProps as AriaPopoverProps } from 'react-aria-components';
2
- import { Dispatch, Key, SetStateAction, ReactNode } from 'react';
3
- import { MotionStyle } from 'framer-motion';
4
- import type { SlotsToClasses } from '../types';
5
- export type ContextMenuAnimationState = 'unmounted' | 'hidden' | 'visible';
6
- interface PopoverProps extends Omit<AriaPopoverProps, 'children' | 'style'> {
7
- animation: ContextMenuAnimationState;
8
- children: ReactNode;
9
- onAction?: (key: Key) => void;
10
- setAnimation: Dispatch<SetStateAction<ContextMenuAnimationState>>;
11
- key?: Key | null;
12
- classNames?: SlotsToClasses<'menu'>;
13
- style?: MotionStyle;
14
- }
15
- export declare function ContextMenu({ children, key, onAction, setAnimation, animation, className, classNames, ...props }: PopoverProps): import("react/jsx-runtime").JSX.Element;
16
- export declare namespace ContextMenu {
17
- var defaultProps: {
18
- key: undefined;
19
- onAction: undefined;
20
- classNames: undefined;
21
- style: undefined;
22
- };
23
- }
24
- export default ContextMenu;
@@ -1,18 +0,0 @@
1
- import type { DateFieldProps, DateValue, ValidationResult } from 'react-aria-components';
2
- import type { SlotsToClasses } from '../types';
3
- interface DateInputProps extends DateFieldProps<DateValue> {
4
- label?: string;
5
- description?: string;
6
- errorMessage?: string | ((validation: ValidationResult) => string);
7
- classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error' | 'segment'>;
8
- }
9
- export declare function DateInput({ label, description, errorMessage, className, classNames, ...props }: DateInputProps): import("react/jsx-runtime").JSX.Element;
10
- export declare namespace DateInput {
11
- var defaultProps: {
12
- label: undefined;
13
- description: undefined;
14
- errorMessage: undefined;
15
- classNames: undefined;
16
- };
17
- }
18
- export default DateInput;
@@ -1,3 +0,0 @@
1
- import { DialogProps } from 'react-aria-components';
2
- export declare function Dialog({ className, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
3
- export default Dialog;
@@ -1,11 +0,0 @@
1
- import { DialogProps } from 'react-aria-components';
2
- export type DrawerProps = DialogProps & {
3
- direction?: 'top' | 'right' | 'bottom' | 'left';
4
- };
5
- export declare function Drawer({ direction, className, ...props }: DrawerProps): import("react/jsx-runtime").JSX.Element;
6
- export declare namespace Drawer {
7
- var defaultProps: {
8
- direction: string;
9
- };
10
- }
11
- export default Drawer;
package/Input/Input.d.ts DELETED
@@ -1,21 +0,0 @@
1
- import { TextFieldProps, ValidationResult } from 'react-aria-components';
2
- import type { SlotsToClasses } from '../types';
3
- export interface MyTextFieldProps extends TextFieldProps {
4
- label?: string;
5
- description?: string;
6
- errorMessage?: string | ((validation: ValidationResult) => string);
7
- placeholder?: string;
8
- classNames?: SlotsToClasses<'label' | 'input' | 'description' | 'error'>;
9
- }
10
- export declare const InputSharedClasses: string[];
11
- export declare function Input({ label, description, errorMessage, placeholder, className, classNames, ...props }: MyTextFieldProps): import("react/jsx-runtime").JSX.Element;
12
- export declare namespace Input {
13
- var defaultProps: {
14
- label: undefined;
15
- description: undefined;
16
- errorMessage: undefined;
17
- placeholder: undefined;
18
- classNames: undefined;
19
- };
20
- }
21
- export default Input;
package/Loader/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './CircularEasing/CircularEasing';
2
- export * from './Pulse/Pulse';
package/Modal/Modal.d.ts DELETED
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { ModalOverlayProps } from 'react-aria-components';
3
- interface ModalProps extends Omit<ModalOverlayProps, 'children'> {
4
- children: React.ReactNode;
5
- }
6
- export declare function Modal({ children, className, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element;
7
- export default Modal;
@@ -1,3 +0,0 @@
1
- import { ModalOverlayProps } from 'react-aria-components';
2
- export declare function ModalOverlay({ className, ...props }: ModalOverlayProps): import("react/jsx-runtime").JSX.Element;
3
- export default ModalOverlay;
@@ -1,2 +0,0 @@
1
- export declare function NavigationMenu(): import("react/jsx-runtime").JSX.Element;
2
- export default NavigationMenu;
@@ -1,2 +0,0 @@
1
- export * from './CircularProgressbar/CircularProgressbar';
2
- export * from './LinearProgressbar/LinearProgressbar';