@regardio/react 0.5.7 → 0.7.0

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 (214) hide show
  1. package/dist/background-slideshow/index.d.mts +34 -0
  2. package/dist/background-slideshow/index.mjs +110 -0
  3. package/dist/blurry-gradient/index.d.mts +16 -0
  4. package/dist/blurry-gradient/index.mjs +93 -0
  5. package/dist/button/index.d.mts +2 -0
  6. package/dist/button/index.mjs +3 -0
  7. package/dist/button-BiSQpBbc.mjs +129 -0
  8. package/dist/carousel/index.d.mts +74 -0
  9. package/dist/carousel/index.mjs +136 -0
  10. package/dist/checkbox/index.d.mts +28 -0
  11. package/dist/checkbox/index.mjs +70 -0
  12. package/dist/checkbox-group/index.d.mts +16 -0
  13. package/dist/checkbox-group/index.mjs +29 -0
  14. package/dist/chunk-BTpB_u-K.mjs +18 -0
  15. package/dist/countdown/index.d.mts +4 -0
  16. package/dist/countdown/index.mjs +58 -0
  17. package/dist/field/index.d.mts +68 -0
  18. package/dist/field/index.mjs +115 -0
  19. package/dist/fieldset/index.d.mts +34 -0
  20. package/dist/fieldset/index.mjs +61 -0
  21. package/dist/form/index.d.mts +21 -0
  22. package/dist/form/index.mjs +31 -0
  23. package/dist/generic-error/index.d.mts +44 -0
  24. package/dist/generic-error/index.mjs +57 -0
  25. package/dist/grid/index.d.mts +101 -0
  26. package/dist/grid/index.mjs +219 -0
  27. package/dist/heading/index.d.mts +27 -0
  28. package/dist/heading/index.mjs +28 -0
  29. package/dist/highlight/index.d.mts +17 -0
  30. package/dist/highlight/index.mjs +35 -0
  31. package/dist/hooks/use-current-route-data.d.mts +8 -0
  32. package/dist/hooks/use-current-route-data.mjs +22 -0
  33. package/dist/hooks/{use-focus-search.d.ts → use-focus-search.d.mts} +4 -3
  34. package/dist/hooks/use-focus-search.mjs +23 -0
  35. package/dist/hooks/use-matches-data.d.mts +10 -0
  36. package/dist/hooks/use-matches-data.mjs +23 -0
  37. package/dist/hooks/use-media-query.d.mts +9 -0
  38. package/dist/hooks/use-media-query.mjs +28 -0
  39. package/dist/hooks/use-mobile.d.mts +4 -0
  40. package/dist/hooks/use-mobile.mjs +22 -0
  41. package/dist/hooks/use-nonce.d.mts +6 -0
  42. package/dist/hooks/use-nonce.mjs +13 -0
  43. package/dist/hooks/use-orientation.d.mts +12 -0
  44. package/dist/hooks/use-orientation.mjs +32 -0
  45. package/dist/hooks/use-user.d.mts +53 -0
  46. package/dist/hooks/use-user.mjs +39 -0
  47. package/dist/icon-button/index.d.mts +28 -0
  48. package/dist/icon-button/index.mjs +36 -0
  49. package/dist/if/index.d.mts +13 -0
  50. package/dist/if/index.mjs +21 -0
  51. package/dist/iframe/index.d.mts +11 -0
  52. package/dist/iframe/index.mjs +15 -0
  53. package/dist/index-Bj5_XfEC.d.mts +29 -0
  54. package/dist/index-C_evL5vG.d.mts +35 -0
  55. package/dist/input/index.d.mts +2 -0
  56. package/dist/input/index.mjs +3 -0
  57. package/dist/input-CtR6aRVi.mjs +73 -0
  58. package/dist/link/index.d.mts +71 -0
  59. package/dist/link/index.mjs +129 -0
  60. package/dist/list/index.d.mts +72 -0
  61. package/dist/list/index.mjs +54 -0
  62. package/dist/markdown-container/index.d.mts +23 -0
  63. package/dist/markdown-container/index.mjs +71 -0
  64. package/dist/password-input/index.d.mts +23 -0
  65. package/dist/password-input/index.mjs +92 -0
  66. package/dist/picture/index.d.mts +39 -0
  67. package/dist/picture/index.mjs +3 -0
  68. package/dist/picture-DkX3W5zl.mjs +69 -0
  69. package/dist/protected-email/index.d.mts +24 -0
  70. package/dist/protected-email/index.mjs +37 -0
  71. package/dist/radio/index.d.mts +28 -0
  72. package/dist/radio/index.mjs +72 -0
  73. package/dist/radio-group/index.d.mts +16 -0
  74. package/dist/radio-group/index.mjs +29 -0
  75. package/dist/slider/index.d.mts +63 -0
  76. package/dist/slider/index.mjs +133 -0
  77. package/dist/switch/index.d.mts +29 -0
  78. package/dist/switch/index.mjs +87 -0
  79. package/dist/text/index.d.mts +25 -0
  80. package/dist/text/index.mjs +32 -0
  81. package/dist/text-EQC4zJbE.mjs +52 -0
  82. package/dist/toggle/index.d.mts +25 -0
  83. package/dist/toggle/index.mjs +82 -0
  84. package/dist/utils/author/index.d.mts +4 -0
  85. package/dist/utils/author/index.mjs +26 -0
  86. package/dist/utils/text/{index.d.ts → index.d.mts} +9 -8
  87. package/dist/utils/text/index.mjs +3 -0
  88. package/package.json +131 -83
  89. package/src/background-slideshow/background-slideshow.tsx +1 -2
  90. package/src/blurry-gradient/blurry-gradient.tsx +1 -1
  91. package/src/button/button.stories.tsx +161 -0
  92. package/src/button/button.test.tsx +73 -0
  93. package/src/button/button.tsx +118 -0
  94. package/src/button/index.ts +2 -0
  95. package/src/carousel/carousel-content.tsx +17 -14
  96. package/src/carousel/carousel-item.tsx +18 -18
  97. package/src/carousel/carousel-next.tsx +22 -17
  98. package/src/carousel/carousel-previous.tsx +22 -17
  99. package/src/carousel/carousel-root.tsx +91 -86
  100. package/src/checkbox/checkbox.stories.tsx +118 -0
  101. package/src/checkbox/checkbox.tsx +102 -0
  102. package/src/checkbox/index.ts +2 -0
  103. package/src/checkbox-group/checkbox-group.tsx +40 -0
  104. package/src/checkbox-group/index.ts +2 -0
  105. package/src/countdown/countdown.tsx +1 -1
  106. package/src/field/field.stories.tsx +105 -0
  107. package/src/field/field.test.tsx +61 -0
  108. package/src/field/field.tsx +186 -0
  109. package/src/field/index.ts +12 -0
  110. package/src/fieldset/fieldset.stories.tsx +204 -0
  111. package/src/fieldset/fieldset.test.tsx +63 -0
  112. package/src/fieldset/fieldset.tsx +86 -0
  113. package/src/fieldset/index.ts +7 -0
  114. package/src/form/form.stories.tsx +230 -0
  115. package/src/form/form.test.tsx +68 -0
  116. package/src/form/form.tsx +38 -0
  117. package/src/form/index.ts +2 -0
  118. package/src/generic-error/generic-error.tsx +2 -3
  119. package/src/grid/grid-item.tsx +77 -36
  120. package/src/grid/grid-root.tsx +49 -22
  121. package/src/heading/heading.tsx +7 -3
  122. package/src/highlight/highlight.tsx +1 -1
  123. package/src/hooks/use-current-route-data.ts +4 -2
  124. package/src/hooks/use-focus-search.ts +3 -1
  125. package/src/hooks/use-matches-data.ts +2 -0
  126. package/src/hooks/use-media-query.ts +2 -0
  127. package/src/hooks/use-mobile.ts +3 -1
  128. package/src/hooks/use-nonce.ts +3 -3
  129. package/src/hooks/use-orientation.ts +2 -0
  130. package/src/hooks/use-user.tsx +3 -2
  131. package/src/icon-button/icon-button.stories.tsx +128 -7
  132. package/src/icon-button/icon-button.test.tsx +152 -0
  133. package/src/icon-button/icon-button.tsx +43 -9
  134. package/src/if/if.tsx +3 -1
  135. package/src/input/index.ts +2 -0
  136. package/src/input/input.stories.tsx +151 -0
  137. package/src/input/input.test.tsx +65 -0
  138. package/src/input/input.tsx +113 -0
  139. package/src/link/link.tsx +4 -3
  140. package/src/list/list-item.tsx +10 -13
  141. package/src/list/list-root-context.ts +3 -3
  142. package/src/list/list-root.tsx +10 -13
  143. package/src/password-input/index.ts +1 -1
  144. package/src/password-input/password-input.tsx +104 -27
  145. package/src/protected-email/protected-email.tsx +6 -1
  146. package/src/radio/index.ts +2 -0
  147. package/src/radio/radio.tsx +103 -0
  148. package/src/radio-group/index.ts +2 -0
  149. package/src/radio-group/radio-group.tsx +40 -0
  150. package/src/slider/index.ts +18 -0
  151. package/src/slider/slider.tsx +201 -0
  152. package/src/switch/index.ts +2 -0
  153. package/src/switch/switch.stories.tsx +118 -0
  154. package/src/switch/switch.tsx +112 -0
  155. package/src/text/text.tsx +6 -1
  156. package/src/toggle/index.ts +2 -0
  157. package/src/toggle/toggle.stories.tsx +232 -0
  158. package/src/toggle/toggle.test.tsx +149 -0
  159. package/src/toggle/toggle.tsx +88 -0
  160. package/src/utils/text/text.tsx +8 -16
  161. package/dist/background-slideshow/index.d.ts +0 -24
  162. package/dist/background-slideshow/index.js +0 -165
  163. package/dist/blurry-gradient/index.d.ts +0 -16
  164. package/dist/blurry-gradient/index.js +0 -128
  165. package/dist/carousel/index.d.ts +0 -36
  166. package/dist/carousel/index.js +0 -171
  167. package/dist/countdown/index.d.ts +0 -5
  168. package/dist/countdown/index.js +0 -73
  169. package/dist/generic-error/index.d.ts +0 -43
  170. package/dist/generic-error/index.js +0 -47
  171. package/dist/grid/index.d.ts +0 -1196
  172. package/dist/grid/index.js +0 -239
  173. package/dist/heading/index.d.ts +0 -24
  174. package/dist/heading/index.js +0 -99
  175. package/dist/highlight/index.d.ts +0 -13
  176. package/dist/highlight/index.js +0 -59
  177. package/dist/hooks/use-current-route-data.d.ts +0 -7
  178. package/dist/hooks/use-current-route-data.js +0 -16
  179. package/dist/hooks/use-focus-search.js +0 -19
  180. package/dist/hooks/use-matches-data.d.ts +0 -9
  181. package/dist/hooks/use-matches-data.js +0 -15
  182. package/dist/hooks/use-media-query.d.ts +0 -8
  183. package/dist/hooks/use-media-query.js +0 -20
  184. package/dist/hooks/use-mobile.d.ts +0 -3
  185. package/dist/hooks/use-mobile.js +0 -19
  186. package/dist/hooks/use-nonce.d.ts +0 -7
  187. package/dist/hooks/use-nonce.js +0 -8
  188. package/dist/hooks/use-orientation.d.ts +0 -11
  189. package/dist/hooks/use-orientation.js +0 -29
  190. package/dist/hooks/use-user.d.ts +0 -50
  191. package/dist/hooks/use-user.js +0 -25
  192. package/dist/icon-button/index.d.ts +0 -9
  193. package/dist/icon-button/index.js +0 -17
  194. package/dist/if/index.d.ts +0 -10
  195. package/dist/if/index.js +0 -24
  196. package/dist/iframe/index.d.ts +0 -10
  197. package/dist/iframe/index.js +0 -17
  198. package/dist/link/index.d.ts +0 -55
  199. package/dist/link/index.js +0 -195
  200. package/dist/list/index.d.ts +0 -69
  201. package/dist/list/index.js +0 -65
  202. package/dist/markdown-container/index.d.ts +0 -22
  203. package/dist/markdown-container/index.js +0 -128
  204. package/dist/password-input/index.d.ts +0 -11
  205. package/dist/password-input/index.js +0 -46
  206. package/dist/picture/index.d.ts +0 -38
  207. package/dist/picture/index.js +0 -68
  208. package/dist/protected-email/index.d.ts +0 -20
  209. package/dist/protected-email/index.js +0 -30
  210. package/dist/text/index.d.ts +0 -20
  211. package/dist/text/index.js +0 -38
  212. package/dist/utils/author/index.d.ts +0 -3
  213. package/dist/utils/author/index.js +0 -33
  214. package/dist/utils/text/index.js +0 -73
@@ -1,1196 +0,0 @@
1
- import * as react from 'react';
2
- import { HTMLAttributes } from 'react';
3
- import * as tailwind_variants from 'tailwind-variants';
4
- import { VariantProps } from '@regardio/tailwind/utils';
5
-
6
- declare const gridItem: tailwind_variants.TVReturnType<{
7
- end: {
8
- 1: {
9
- root: string;
10
- };
11
- 2: {
12
- root: string;
13
- };
14
- 3: {
15
- root: string;
16
- };
17
- 4: {
18
- root: string;
19
- };
20
- 5: {
21
- root: string;
22
- };
23
- 6: {
24
- root: string;
25
- };
26
- 7: {
27
- root: string;
28
- };
29
- 8: {
30
- root: string;
31
- };
32
- 9: {
33
- root: string;
34
- };
35
- 10: {
36
- root: string;
37
- };
38
- 11: {
39
- root: string;
40
- };
41
- 12: {
42
- root: string;
43
- };
44
- 13: {
45
- root: string;
46
- };
47
- auto: {
48
- root: string;
49
- };
50
- };
51
- rowSpan: {
52
- 1: {
53
- root: string;
54
- };
55
- 2: {
56
- root: string;
57
- };
58
- 3: {
59
- root: string;
60
- };
61
- 4: {
62
- root: string;
63
- };
64
- 5: {
65
- root: string;
66
- };
67
- 6: {
68
- root: string;
69
- };
70
- full: {
71
- root: string;
72
- };
73
- };
74
- span: {
75
- 1: {
76
- root: string;
77
- };
78
- 2: {
79
- root: string;
80
- };
81
- 3: {
82
- root: string;
83
- };
84
- 4: {
85
- root: string;
86
- };
87
- 5: {
88
- root: string;
89
- };
90
- 6: {
91
- root: string;
92
- };
93
- 7: {
94
- root: string;
95
- };
96
- 8: {
97
- root: string;
98
- };
99
- 9: {
100
- root: string;
101
- };
102
- 10: {
103
- root: string;
104
- };
105
- 11: {
106
- root: string;
107
- };
108
- 12: {
109
- root: string;
110
- };
111
- full: {
112
- root: string;
113
- };
114
- };
115
- spanLg: {
116
- 1: {
117
- root: string;
118
- };
119
- 2: {
120
- root: string;
121
- };
122
- 3: {
123
- root: string;
124
- };
125
- 4: {
126
- root: string;
127
- };
128
- 5: {
129
- root: string;
130
- };
131
- 6: {
132
- root: string;
133
- };
134
- 7: {
135
- root: string;
136
- };
137
- 8: {
138
- root: string;
139
- };
140
- 9: {
141
- root: string;
142
- };
143
- 10: {
144
- root: string;
145
- };
146
- 11: {
147
- root: string;
148
- };
149
- 12: {
150
- root: string;
151
- };
152
- full: {
153
- root: string;
154
- };
155
- };
156
- spanMd: {
157
- 1: {
158
- root: string;
159
- };
160
- 2: {
161
- root: string;
162
- };
163
- 3: {
164
- root: string;
165
- };
166
- 4: {
167
- root: string;
168
- };
169
- 5: {
170
- root: string;
171
- };
172
- 6: {
173
- root: string;
174
- };
175
- 7: {
176
- root: string;
177
- };
178
- 8: {
179
- root: string;
180
- };
181
- 9: {
182
- root: string;
183
- };
184
- 10: {
185
- root: string;
186
- };
187
- 11: {
188
- root: string;
189
- };
190
- 12: {
191
- root: string;
192
- };
193
- full: {
194
- root: string;
195
- };
196
- };
197
- spanSm: {
198
- 1: {
199
- root: string;
200
- };
201
- 2: {
202
- root: string;
203
- };
204
- 3: {
205
- root: string;
206
- };
207
- 4: {
208
- root: string;
209
- };
210
- 5: {
211
- root: string;
212
- };
213
- 6: {
214
- root: string;
215
- };
216
- 7: {
217
- root: string;
218
- };
219
- 8: {
220
- root: string;
221
- };
222
- 9: {
223
- root: string;
224
- };
225
- 10: {
226
- root: string;
227
- };
228
- 11: {
229
- root: string;
230
- };
231
- 12: {
232
- root: string;
233
- };
234
- full: {
235
- root: string;
236
- };
237
- };
238
- spanXl: {
239
- 1: {
240
- root: string;
241
- };
242
- 2: {
243
- root: string;
244
- };
245
- 3: {
246
- root: string;
247
- };
248
- 4: {
249
- root: string;
250
- };
251
- 5: {
252
- root: string;
253
- };
254
- 6: {
255
- root: string;
256
- };
257
- 7: {
258
- root: string;
259
- };
260
- 8: {
261
- root: string;
262
- };
263
- 9: {
264
- root: string;
265
- };
266
- 10: {
267
- root: string;
268
- };
269
- 11: {
270
- root: string;
271
- };
272
- 12: {
273
- root: string;
274
- };
275
- full: {
276
- root: string;
277
- };
278
- };
279
- spanXs: {
280
- 1: {
281
- root: string;
282
- };
283
- 2: {
284
- root: string;
285
- };
286
- 3: {
287
- root: string;
288
- };
289
- 4: {
290
- root: string;
291
- };
292
- 5: {
293
- root: string;
294
- };
295
- 6: {
296
- root: string;
297
- };
298
- 7: {
299
- root: string;
300
- };
301
- 8: {
302
- root: string;
303
- };
304
- 9: {
305
- root: string;
306
- };
307
- 10: {
308
- root: string;
309
- };
310
- 11: {
311
- root: string;
312
- };
313
- 12: {
314
- root: string;
315
- };
316
- full: {
317
- root: string;
318
- };
319
- };
320
- start: {
321
- 1: {
322
- root: string;
323
- };
324
- 2: {
325
- root: string;
326
- };
327
- 3: {
328
- root: string;
329
- };
330
- 4: {
331
- root: string;
332
- };
333
- 5: {
334
- root: string;
335
- };
336
- 6: {
337
- root: string;
338
- };
339
- 7: {
340
- root: string;
341
- };
342
- 8: {
343
- root: string;
344
- };
345
- 9: {
346
- root: string;
347
- };
348
- 10: {
349
- root: string;
350
- };
351
- 11: {
352
- root: string;
353
- };
354
- 12: {
355
- root: string;
356
- };
357
- 13: {
358
- root: string;
359
- };
360
- auto: {
361
- root: string;
362
- };
363
- };
364
- }, {
365
- root: string[];
366
- }, undefined, {
367
- end: {
368
- 1: {
369
- root: string;
370
- };
371
- 2: {
372
- root: string;
373
- };
374
- 3: {
375
- root: string;
376
- };
377
- 4: {
378
- root: string;
379
- };
380
- 5: {
381
- root: string;
382
- };
383
- 6: {
384
- root: string;
385
- };
386
- 7: {
387
- root: string;
388
- };
389
- 8: {
390
- root: string;
391
- };
392
- 9: {
393
- root: string;
394
- };
395
- 10: {
396
- root: string;
397
- };
398
- 11: {
399
- root: string;
400
- };
401
- 12: {
402
- root: string;
403
- };
404
- 13: {
405
- root: string;
406
- };
407
- auto: {
408
- root: string;
409
- };
410
- };
411
- rowSpan: {
412
- 1: {
413
- root: string;
414
- };
415
- 2: {
416
- root: string;
417
- };
418
- 3: {
419
- root: string;
420
- };
421
- 4: {
422
- root: string;
423
- };
424
- 5: {
425
- root: string;
426
- };
427
- 6: {
428
- root: string;
429
- };
430
- full: {
431
- root: string;
432
- };
433
- };
434
- span: {
435
- 1: {
436
- root: string;
437
- };
438
- 2: {
439
- root: string;
440
- };
441
- 3: {
442
- root: string;
443
- };
444
- 4: {
445
- root: string;
446
- };
447
- 5: {
448
- root: string;
449
- };
450
- 6: {
451
- root: string;
452
- };
453
- 7: {
454
- root: string;
455
- };
456
- 8: {
457
- root: string;
458
- };
459
- 9: {
460
- root: string;
461
- };
462
- 10: {
463
- root: string;
464
- };
465
- 11: {
466
- root: string;
467
- };
468
- 12: {
469
- root: string;
470
- };
471
- full: {
472
- root: string;
473
- };
474
- };
475
- spanLg: {
476
- 1: {
477
- root: string;
478
- };
479
- 2: {
480
- root: string;
481
- };
482
- 3: {
483
- root: string;
484
- };
485
- 4: {
486
- root: string;
487
- };
488
- 5: {
489
- root: string;
490
- };
491
- 6: {
492
- root: string;
493
- };
494
- 7: {
495
- root: string;
496
- };
497
- 8: {
498
- root: string;
499
- };
500
- 9: {
501
- root: string;
502
- };
503
- 10: {
504
- root: string;
505
- };
506
- 11: {
507
- root: string;
508
- };
509
- 12: {
510
- root: string;
511
- };
512
- full: {
513
- root: string;
514
- };
515
- };
516
- spanMd: {
517
- 1: {
518
- root: string;
519
- };
520
- 2: {
521
- root: string;
522
- };
523
- 3: {
524
- root: string;
525
- };
526
- 4: {
527
- root: string;
528
- };
529
- 5: {
530
- root: string;
531
- };
532
- 6: {
533
- root: string;
534
- };
535
- 7: {
536
- root: string;
537
- };
538
- 8: {
539
- root: string;
540
- };
541
- 9: {
542
- root: string;
543
- };
544
- 10: {
545
- root: string;
546
- };
547
- 11: {
548
- root: string;
549
- };
550
- 12: {
551
- root: string;
552
- };
553
- full: {
554
- root: string;
555
- };
556
- };
557
- spanSm: {
558
- 1: {
559
- root: string;
560
- };
561
- 2: {
562
- root: string;
563
- };
564
- 3: {
565
- root: string;
566
- };
567
- 4: {
568
- root: string;
569
- };
570
- 5: {
571
- root: string;
572
- };
573
- 6: {
574
- root: string;
575
- };
576
- 7: {
577
- root: string;
578
- };
579
- 8: {
580
- root: string;
581
- };
582
- 9: {
583
- root: string;
584
- };
585
- 10: {
586
- root: string;
587
- };
588
- 11: {
589
- root: string;
590
- };
591
- 12: {
592
- root: string;
593
- };
594
- full: {
595
- root: string;
596
- };
597
- };
598
- spanXl: {
599
- 1: {
600
- root: string;
601
- };
602
- 2: {
603
- root: string;
604
- };
605
- 3: {
606
- root: string;
607
- };
608
- 4: {
609
- root: string;
610
- };
611
- 5: {
612
- root: string;
613
- };
614
- 6: {
615
- root: string;
616
- };
617
- 7: {
618
- root: string;
619
- };
620
- 8: {
621
- root: string;
622
- };
623
- 9: {
624
- root: string;
625
- };
626
- 10: {
627
- root: string;
628
- };
629
- 11: {
630
- root: string;
631
- };
632
- 12: {
633
- root: string;
634
- };
635
- full: {
636
- root: string;
637
- };
638
- };
639
- spanXs: {
640
- 1: {
641
- root: string;
642
- };
643
- 2: {
644
- root: string;
645
- };
646
- 3: {
647
- root: string;
648
- };
649
- 4: {
650
- root: string;
651
- };
652
- 5: {
653
- root: string;
654
- };
655
- 6: {
656
- root: string;
657
- };
658
- 7: {
659
- root: string;
660
- };
661
- 8: {
662
- root: string;
663
- };
664
- 9: {
665
- root: string;
666
- };
667
- 10: {
668
- root: string;
669
- };
670
- 11: {
671
- root: string;
672
- };
673
- 12: {
674
- root: string;
675
- };
676
- full: {
677
- root: string;
678
- };
679
- };
680
- start: {
681
- 1: {
682
- root: string;
683
- };
684
- 2: {
685
- root: string;
686
- };
687
- 3: {
688
- root: string;
689
- };
690
- 4: {
691
- root: string;
692
- };
693
- 5: {
694
- root: string;
695
- };
696
- 6: {
697
- root: string;
698
- };
699
- 7: {
700
- root: string;
701
- };
702
- 8: {
703
- root: string;
704
- };
705
- 9: {
706
- root: string;
707
- };
708
- 10: {
709
- root: string;
710
- };
711
- 11: {
712
- root: string;
713
- };
714
- 12: {
715
- root: string;
716
- };
717
- 13: {
718
- root: string;
719
- };
720
- auto: {
721
- root: string;
722
- };
723
- };
724
- }, {
725
- root: string[];
726
- }, tailwind_variants.TVReturnType<{
727
- end: {
728
- 1: {
729
- root: string;
730
- };
731
- 2: {
732
- root: string;
733
- };
734
- 3: {
735
- root: string;
736
- };
737
- 4: {
738
- root: string;
739
- };
740
- 5: {
741
- root: string;
742
- };
743
- 6: {
744
- root: string;
745
- };
746
- 7: {
747
- root: string;
748
- };
749
- 8: {
750
- root: string;
751
- };
752
- 9: {
753
- root: string;
754
- };
755
- 10: {
756
- root: string;
757
- };
758
- 11: {
759
- root: string;
760
- };
761
- 12: {
762
- root: string;
763
- };
764
- 13: {
765
- root: string;
766
- };
767
- auto: {
768
- root: string;
769
- };
770
- };
771
- rowSpan: {
772
- 1: {
773
- root: string;
774
- };
775
- 2: {
776
- root: string;
777
- };
778
- 3: {
779
- root: string;
780
- };
781
- 4: {
782
- root: string;
783
- };
784
- 5: {
785
- root: string;
786
- };
787
- 6: {
788
- root: string;
789
- };
790
- full: {
791
- root: string;
792
- };
793
- };
794
- span: {
795
- 1: {
796
- root: string;
797
- };
798
- 2: {
799
- root: string;
800
- };
801
- 3: {
802
- root: string;
803
- };
804
- 4: {
805
- root: string;
806
- };
807
- 5: {
808
- root: string;
809
- };
810
- 6: {
811
- root: string;
812
- };
813
- 7: {
814
- root: string;
815
- };
816
- 8: {
817
- root: string;
818
- };
819
- 9: {
820
- root: string;
821
- };
822
- 10: {
823
- root: string;
824
- };
825
- 11: {
826
- root: string;
827
- };
828
- 12: {
829
- root: string;
830
- };
831
- full: {
832
- root: string;
833
- };
834
- };
835
- spanLg: {
836
- 1: {
837
- root: string;
838
- };
839
- 2: {
840
- root: string;
841
- };
842
- 3: {
843
- root: string;
844
- };
845
- 4: {
846
- root: string;
847
- };
848
- 5: {
849
- root: string;
850
- };
851
- 6: {
852
- root: string;
853
- };
854
- 7: {
855
- root: string;
856
- };
857
- 8: {
858
- root: string;
859
- };
860
- 9: {
861
- root: string;
862
- };
863
- 10: {
864
- root: string;
865
- };
866
- 11: {
867
- root: string;
868
- };
869
- 12: {
870
- root: string;
871
- };
872
- full: {
873
- root: string;
874
- };
875
- };
876
- spanMd: {
877
- 1: {
878
- root: string;
879
- };
880
- 2: {
881
- root: string;
882
- };
883
- 3: {
884
- root: string;
885
- };
886
- 4: {
887
- root: string;
888
- };
889
- 5: {
890
- root: string;
891
- };
892
- 6: {
893
- root: string;
894
- };
895
- 7: {
896
- root: string;
897
- };
898
- 8: {
899
- root: string;
900
- };
901
- 9: {
902
- root: string;
903
- };
904
- 10: {
905
- root: string;
906
- };
907
- 11: {
908
- root: string;
909
- };
910
- 12: {
911
- root: string;
912
- };
913
- full: {
914
- root: string;
915
- };
916
- };
917
- spanSm: {
918
- 1: {
919
- root: string;
920
- };
921
- 2: {
922
- root: string;
923
- };
924
- 3: {
925
- root: string;
926
- };
927
- 4: {
928
- root: string;
929
- };
930
- 5: {
931
- root: string;
932
- };
933
- 6: {
934
- root: string;
935
- };
936
- 7: {
937
- root: string;
938
- };
939
- 8: {
940
- root: string;
941
- };
942
- 9: {
943
- root: string;
944
- };
945
- 10: {
946
- root: string;
947
- };
948
- 11: {
949
- root: string;
950
- };
951
- 12: {
952
- root: string;
953
- };
954
- full: {
955
- root: string;
956
- };
957
- };
958
- spanXl: {
959
- 1: {
960
- root: string;
961
- };
962
- 2: {
963
- root: string;
964
- };
965
- 3: {
966
- root: string;
967
- };
968
- 4: {
969
- root: string;
970
- };
971
- 5: {
972
- root: string;
973
- };
974
- 6: {
975
- root: string;
976
- };
977
- 7: {
978
- root: string;
979
- };
980
- 8: {
981
- root: string;
982
- };
983
- 9: {
984
- root: string;
985
- };
986
- 10: {
987
- root: string;
988
- };
989
- 11: {
990
- root: string;
991
- };
992
- 12: {
993
- root: string;
994
- };
995
- full: {
996
- root: string;
997
- };
998
- };
999
- spanXs: {
1000
- 1: {
1001
- root: string;
1002
- };
1003
- 2: {
1004
- root: string;
1005
- };
1006
- 3: {
1007
- root: string;
1008
- };
1009
- 4: {
1010
- root: string;
1011
- };
1012
- 5: {
1013
- root: string;
1014
- };
1015
- 6: {
1016
- root: string;
1017
- };
1018
- 7: {
1019
- root: string;
1020
- };
1021
- 8: {
1022
- root: string;
1023
- };
1024
- 9: {
1025
- root: string;
1026
- };
1027
- 10: {
1028
- root: string;
1029
- };
1030
- 11: {
1031
- root: string;
1032
- };
1033
- 12: {
1034
- root: string;
1035
- };
1036
- full: {
1037
- root: string;
1038
- };
1039
- };
1040
- start: {
1041
- 1: {
1042
- root: string;
1043
- };
1044
- 2: {
1045
- root: string;
1046
- };
1047
- 3: {
1048
- root: string;
1049
- };
1050
- 4: {
1051
- root: string;
1052
- };
1053
- 5: {
1054
- root: string;
1055
- };
1056
- 6: {
1057
- root: string;
1058
- };
1059
- 7: {
1060
- root: string;
1061
- };
1062
- 8: {
1063
- root: string;
1064
- };
1065
- 9: {
1066
- root: string;
1067
- };
1068
- 10: {
1069
- root: string;
1070
- };
1071
- 11: {
1072
- root: string;
1073
- };
1074
- 12: {
1075
- root: string;
1076
- };
1077
- 13: {
1078
- root: string;
1079
- };
1080
- auto: {
1081
- root: string;
1082
- };
1083
- };
1084
- }, {
1085
- root: string[];
1086
- }, undefined, unknown, unknown, undefined>>;
1087
- type GridItemVariants = VariantProps<typeof gridItem>;
1088
- interface GridItemProps extends HTMLAttributes<HTMLDivElement>, GridItemVariants {
1089
- classNames?: {
1090
- root?: string;
1091
- };
1092
- }
1093
- declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLDivElement>>;
1094
-
1095
- declare const grid: tailwind_variants.TVReturnType<{
1096
- align: {
1097
- center: {
1098
- root: string;
1099
- };
1100
- end: {
1101
- root: string;
1102
- };
1103
- start: {
1104
- root: string;
1105
- };
1106
- stretch: {
1107
- root: string;
1108
- };
1109
- };
1110
- flow: {
1111
- column: {
1112
- root: string;
1113
- };
1114
- dense: {
1115
- root: string;
1116
- };
1117
- row: {
1118
- root: string;
1119
- };
1120
- };
1121
- }, {
1122
- root: string[];
1123
- }, undefined, {
1124
- align: {
1125
- center: {
1126
- root: string;
1127
- };
1128
- end: {
1129
- root: string;
1130
- };
1131
- start: {
1132
- root: string;
1133
- };
1134
- stretch: {
1135
- root: string;
1136
- };
1137
- };
1138
- flow: {
1139
- column: {
1140
- root: string;
1141
- };
1142
- dense: {
1143
- root: string;
1144
- };
1145
- row: {
1146
- root: string;
1147
- };
1148
- };
1149
- }, {
1150
- root: string[];
1151
- }, tailwind_variants.TVReturnType<{
1152
- align: {
1153
- center: {
1154
- root: string;
1155
- };
1156
- end: {
1157
- root: string;
1158
- };
1159
- start: {
1160
- root: string;
1161
- };
1162
- stretch: {
1163
- root: string;
1164
- };
1165
- };
1166
- flow: {
1167
- column: {
1168
- root: string;
1169
- };
1170
- dense: {
1171
- root: string;
1172
- };
1173
- row: {
1174
- root: string;
1175
- };
1176
- };
1177
- }, {
1178
- root: string[];
1179
- }, undefined, unknown, unknown, undefined>>;
1180
- type GridVariants = VariantProps<typeof grid>;
1181
- interface GridContextValue {
1182
- styles: ReturnType<typeof grid>;
1183
- }
1184
- declare function useGrid(): GridContextValue;
1185
- interface GridRootProps extends HTMLAttributes<HTMLDivElement>, GridVariants {
1186
- classNames?: {
1187
- root?: string;
1188
- };
1189
- }
1190
- declare const GridRoot: react.ForwardRefExoticComponent<GridRootProps & react.RefAttributes<HTMLDivElement>>;
1191
-
1192
- declare namespace index_parts {
1193
- export { GridItem as Item, GridRoot as Root };
1194
- }
1195
-
1196
- export { index_parts as Grid, type GridItemProps, type GridItemVariants, type GridRootProps, gridItem, useGrid };