@regardio/react 0.4.7 → 0.5.5

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 (172) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -8
  3. package/dist/{components/background-slideshow.js → background-slideshow/index.js} +2 -11
  4. package/dist/{components/blurry-gradient.js → blurry-gradient/index.js} +15 -9
  5. package/dist/{components/carousel.d.ts → carousel/index.d.ts} +17 -9
  6. package/dist/{components/carousel.js → carousel/index.js} +34 -30
  7. package/dist/{components/countdown.js → countdown/index.js} +2 -11
  8. package/dist/{components/generic-error.js → generic-error/index.js} +1 -1
  9. package/dist/grid/index.d.ts +1196 -0
  10. package/dist/grid/index.js +239 -0
  11. package/dist/heading/index.d.ts +24 -0
  12. package/dist/{components/heading.js → heading/index.js} +15 -34
  13. package/dist/highlight/index.d.ts +13 -0
  14. package/dist/{components/highlight.js → highlight/index.js} +9 -17
  15. package/dist/hooks/use-nonce.d.ts +1 -6
  16. package/dist/hooks/use-nonce.js +1 -6
  17. package/dist/{components/icon-button.js → icon-button/index.js} +1 -1
  18. package/dist/{components/if.js → if/index.js} +1 -1
  19. package/dist/{components/iframe.js → iframe/index.js} +2 -11
  20. package/dist/{components/link.d.ts → link/index.d.ts} +19 -13
  21. package/dist/{components/link.js → link/index.js} +31 -36
  22. package/dist/list/index.d.ts +69 -0
  23. package/dist/list/index.js +65 -0
  24. package/dist/{components/markdown-container.js → markdown-container/index.js} +3 -67
  25. package/dist/{components/password-input.js → password-input/index.js} +2 -11
  26. package/dist/{components/picture.js → picture/index.js} +2 -11
  27. package/dist/{components/protected-email.d.ts → protected-email/index.d.ts} +1 -1
  28. package/dist/{components/protected-email.js → protected-email/index.js} +1 -1
  29. package/dist/text/index.d.ts +20 -0
  30. package/dist/text/index.js +38 -0
  31. package/dist/utils/author/index.d.ts +3 -0
  32. package/dist/utils/author/index.js +33 -0
  33. package/dist/utils/text/index.d.ts +15 -0
  34. package/dist/utils/text/index.js +73 -0
  35. package/package.json +170 -187
  36. package/src/background-slideshow/background-slideshow.stories.tsx +137 -0
  37. package/src/{components → background-slideshow}/background-slideshow.tsx +3 -1
  38. package/src/background-slideshow/index.ts +2 -0
  39. package/src/{stories/BlurryGradient.stories.tsx → blurry-gradient/blurry-gradient.stories.tsx} +1 -1
  40. package/src/{components → blurry-gradient}/blurry-gradient.tsx +14 -8
  41. package/src/blurry-gradient/index.ts +2 -0
  42. package/src/carousel/carousel-content.tsx +16 -0
  43. package/src/carousel/carousel-item.tsx +23 -0
  44. package/src/carousel/carousel-next.tsx +22 -0
  45. package/src/carousel/carousel-previous.tsx +22 -0
  46. package/src/{components/carousel.tsx → carousel/carousel-root.tsx} +8 -78
  47. package/src/carousel/carousel.stories.tsx +135 -0
  48. package/src/carousel/index.parts.ts +5 -0
  49. package/src/carousel/index.ts +4 -0
  50. package/src/{stories/Countdown.stories.tsx → countdown/countdown.stories.tsx} +1 -1
  51. package/src/{components → countdown}/countdown.tsx +3 -7
  52. package/src/countdown/index.ts +1 -0
  53. package/src/{stories/GenericError.stories.tsx → generic-error/generic-error.stories.tsx} +1 -1
  54. package/src/{components → generic-error}/generic-error.tsx +2 -0
  55. package/src/generic-error/index.ts +2 -0
  56. package/src/grid/grid-item.tsx +188 -0
  57. package/src/grid/grid-root.tsx +72 -0
  58. package/src/grid/grid.stories.tsx +236 -0
  59. package/src/grid/index.parts.ts +2 -0
  60. package/src/grid/index.ts +5 -0
  61. package/src/{stories/Heading.stories.tsx → heading/heading.stories.tsx} +1 -1
  62. package/src/{components → heading}/heading.tsx +17 -25
  63. package/src/heading/index.ts +2 -0
  64. package/src/{stories/Highlight.stories.tsx → highlight/highlight.stories.tsx} +1 -1
  65. package/src/{components → highlight}/highlight.tsx +13 -9
  66. package/src/highlight/index.ts +2 -0
  67. package/src/hooks/use-nonce.ts +0 -10
  68. package/src/{stories/IconButton.stories.tsx → icon-button/icon-button.stories.tsx} +1 -1
  69. package/src/icon-button/index.ts +2 -0
  70. package/src/{stories/If.stories.tsx → if/if.stories.tsx} +1 -1
  71. package/src/if/index.ts +1 -0
  72. package/src/{stories/Iframe.stories.tsx → iframe/iframe.stories.tsx} +1 -1
  73. package/src/{components → iframe}/iframe.tsx +1 -1
  74. package/src/iframe/index.ts +2 -0
  75. package/src/link/index.ts +2 -0
  76. package/src/{stories/Link.stories.tsx → link/link.stories.tsx} +52 -1
  77. package/src/{components → link}/link.tsx +39 -28
  78. package/src/list/index.parts.ts +2 -0
  79. package/src/list/index.ts +4 -0
  80. package/src/list/list-item.tsx +63 -0
  81. package/src/list/list-root-context.ts +21 -0
  82. package/src/list/list-root.tsx +81 -0
  83. package/src/list/list.css +32 -0
  84. package/src/list/list.stories.tsx +119 -0
  85. package/src/list/list.test.tsx +168 -0
  86. package/src/markdown-container/index.ts +2 -0
  87. package/src/{stories/MarkdownContainer.stories.tsx → markdown-container/markdown-container.stories.tsx} +56 -1
  88. package/src/{components → markdown-container}/markdown-container.tsx +3 -1
  89. package/src/password-input/index.ts +2 -0
  90. package/src/{stories/PasswordInput.stories.tsx → password-input/password-input.stories.tsx} +1 -1
  91. package/src/{components → password-input}/password-input.tsx +4 -4
  92. package/src/picture/index.ts +2 -0
  93. package/src/{stories/Picture.stories.tsx → picture/picture.stories.tsx} +1 -1
  94. package/src/{components → picture}/picture.tsx +2 -4
  95. package/src/protected-email/index.ts +2 -0
  96. package/src/{stories/ProtectedEmail.stories.tsx → protected-email/protected-email.stories.tsx} +1 -1
  97. package/src/{components → protected-email}/protected-email.tsx +3 -1
  98. package/src/tailwind.css +10 -0
  99. package/src/text/index.ts +2 -0
  100. package/src/{stories/Text.stories.tsx → text/text.stories.tsx} +1 -1
  101. package/src/text/text.tsx +46 -0
  102. package/src/utils/author/author.tsx +36 -0
  103. package/src/utils/author/index.ts +1 -0
  104. package/src/utils/text/index.ts +1 -0
  105. package/src/utils/text/text.tsx +103 -0
  106. package/dist/components/box.d.ts +0 -20
  107. package/dist/components/box.js +0 -50
  108. package/dist/components/definition-list.d.ts +0 -43
  109. package/dist/components/definition-list.js +0 -89
  110. package/dist/components/heading.d.ts +0 -27
  111. package/dist/components/highlight.d.ts +0 -19
  112. package/dist/components/item.d.ts +0 -70
  113. package/dist/components/item.js +0 -512
  114. package/dist/components/leaflet-map.d.ts +0 -34
  115. package/dist/components/leaflet-map.js +0 -201
  116. package/dist/components/list-item.d.ts +0 -19
  117. package/dist/components/list-item.js +0 -37
  118. package/dist/components/maptiler-map.d.ts +0 -27
  119. package/dist/components/maptiler-map.js +0 -129
  120. package/dist/components/text.d.ts +0 -20
  121. package/dist/components/text.js +0 -45
  122. package/dist/components/unordered-list.d.ts +0 -19
  123. package/dist/components/unordered-list.js +0 -39
  124. package/dist/utils/author.d.ts +0 -9
  125. package/dist/utils/author.js +0 -55
  126. package/dist/utils/cn.d.ts +0 -9
  127. package/dist/utils/cn.js +0 -14
  128. package/dist/utils/is-route-active.d.ts +0 -19
  129. package/dist/utils/is-route-active.js +0 -56
  130. package/dist/utils/text.d.ts +0 -24
  131. package/dist/utils/text.js +0 -127
  132. package/src/components/box.tsx +0 -45
  133. package/src/components/definition-list.tsx +0 -90
  134. package/src/components/item.tsx +0 -340
  135. package/src/components/leaflet-map.tsx +0 -294
  136. package/src/components/link.test.tsx +0 -387
  137. package/src/components/list-item.tsx +0 -30
  138. package/src/components/maptiler-map.tsx +0 -181
  139. package/src/components/text.tsx +0 -38
  140. package/src/components/unordered-list.tsx +0 -32
  141. package/src/hooks/use-nonce.test.ts +0 -35
  142. package/src/stories/BackgroundSlideshow.stories.tsx +0 -68
  143. package/src/stories/Box.stories.tsx +0 -83
  144. package/src/stories/Carousel.stories.tsx +0 -95
  145. package/src/stories/DefinitionList.stories.tsx +0 -51
  146. package/src/stories/Item.stories.tsx +0 -79
  147. package/src/stories/ListItem.stories.tsx +0 -38
  148. package/src/stories/UnorderedList.stories.tsx +0 -73
  149. package/src/styles/tailwind.css +0 -7
  150. package/src/test-setup.ts +0 -1
  151. package/src/utils/author.test.ts +0 -54
  152. package/src/utils/author.tsx +0 -73
  153. package/src/utils/cn.test.ts +0 -48
  154. package/src/utils/cn.ts +0 -14
  155. package/src/utils/is-route-active.test.ts +0 -80
  156. package/src/utils/is-route-active.ts +0 -100
  157. package/src/utils/text.test.ts +0 -152
  158. package/src/utils/text.tsx +0 -209
  159. package/src/vite-env.d.ts +0 -1
  160. /package/dist/{components/background-slideshow.d.ts → background-slideshow/index.d.ts} +0 -0
  161. /package/dist/{components/blurry-gradient.d.ts → blurry-gradient/index.d.ts} +0 -0
  162. /package/dist/{components/countdown.d.ts → countdown/index.d.ts} +0 -0
  163. /package/dist/{components/generic-error.d.ts → generic-error/index.d.ts} +0 -0
  164. /package/dist/{components/icon-button.d.ts → icon-button/index.d.ts} +0 -0
  165. /package/dist/{components/if.d.ts → if/index.d.ts} +0 -0
  166. /package/dist/{components/iframe.d.ts → iframe/index.d.ts} +0 -0
  167. /package/dist/{components/markdown-container.d.ts → markdown-container/index.d.ts} +0 -0
  168. /package/dist/{components/password-input.d.ts → password-input/index.d.ts} +0 -0
  169. /package/dist/{components/picture.d.ts → picture/index.d.ts} +0 -0
  170. /package/src/{components → icon-button}/icon-button.tsx +0 -0
  171. /package/src/{components → if}/if.tsx +0 -0
  172. /package/src/{styles/storybook.css → storybook.css} +0 -0
@@ -0,0 +1,1196 @@
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 };