@veracity/vui 0.0.15 → 0.2.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 (195) hide show
  1. package/avatar/avatar.js +2 -2
  2. package/box/box.js +1 -1
  3. package/button/button.d.ts +7 -1
  4. package/button/button.js +56 -23
  5. package/button/button.types.d.ts +8 -6
  6. package/button/buttonIcon.d.ts +3 -0
  7. package/{alert/alertText.js → button/buttonIcon.js} +9 -9
  8. package/button/buttonText.d.ts +3 -0
  9. package/button/buttonText.js +30 -0
  10. package/button/buttons.d.ts +4 -3
  11. package/button/buttons.js +4 -3
  12. package/button/consts.js +3 -2
  13. package/button/context.d.ts +2 -2
  14. package/button/context.js +4 -4
  15. package/button/index.d.ts +2 -2
  16. package/button/index.js +2 -2
  17. package/button/theme.d.ts +79 -41
  18. package/button/theme.js +85 -46
  19. package/{button → buttonGroup}/buttonGroup.d.ts +3 -1
  20. package/{button → buttonGroup}/buttonGroup.js +4 -2
  21. package/buttonGroup/context.d.ts +4 -0
  22. package/buttonGroup/context.js +23 -0
  23. package/buttonGroup/helpers.d.ts +3 -0
  24. package/buttonGroup/helpers.js +10 -0
  25. package/buttonGroup/index.d.ts +4 -0
  26. package/{alert → buttonGroup}/index.js +4 -8
  27. package/card/card.d.ts +3 -0
  28. package/{tile/tile.js → card/card.js} +8 -7
  29. package/{tile/tile.types.d.ts → card/card.types.d.ts} +1 -1
  30. package/card/index.d.ts +3 -0
  31. package/{tile → card}/index.js +4 -4
  32. package/card/theme.d.ts +6 -0
  33. package/card/theme.js +10 -0
  34. package/checkbox/checkbox.js +4 -4
  35. package/checkbox/checkbox.types.d.ts +1 -1
  36. package/checkbox/checkboxGroup.types.d.ts +1 -1
  37. package/core/globalStyle.d.ts +4 -1
  38. package/core/globalStyle.js +7 -3
  39. package/core/index.d.ts +2 -0
  40. package/core/index.js +5 -1
  41. package/core/styled.d.ts +4 -0
  42. package/core/styled.js +80 -0
  43. package/core/types/component.d.ts +12 -12
  44. package/core/types/index.d.ts +1 -0
  45. package/core/types/index.js +1 -0
  46. package/core/types/styled.d.ts +11 -0
  47. package/core/utils.d.ts +2 -2
  48. package/core/utils.js +7 -7
  49. package/core/v.d.ts +182 -0
  50. package/core/v.js +6 -0
  51. package/core/vuiProvider.d.ts +13 -2
  52. package/core/vuiProvider.js +1 -1
  53. package/divider/divider.types.d.ts +1 -1
  54. package/heading/heading.types.d.ts +2 -1
  55. package/icon/helpers.d.ts +2 -3
  56. package/icon/helpers.js +6 -8
  57. package/icon/icon.js +3 -2
  58. package/icon/icon.types.d.ts +4 -2
  59. package/icons/library.js +1 -1
  60. package/icons/types.d.ts +1 -1
  61. package/image/image.d.ts +3 -0
  62. package/image/image.js +38 -0
  63. package/image/image.types.d.ts +5 -0
  64. package/image/index.d.ts +3 -0
  65. package/{label → image}/index.js +4 -4
  66. package/image/theme.d.ts +6 -0
  67. package/image/theme.js +10 -0
  68. package/index.d.ts +6 -3
  69. package/index.js +6 -3
  70. package/input/context.d.ts +4 -0
  71. package/{alert → input}/context.js +4 -4
  72. package/input/index.d.ts +2 -0
  73. package/input/index.js +2 -0
  74. package/input/input.d.ts +7 -2
  75. package/input/input.js +33 -22
  76. package/input/input.types.d.ts +7 -3
  77. package/input/inputIcon.d.ts +3 -0
  78. package/input/inputIcon.js +30 -0
  79. package/input/inputInput.d.ts +5 -0
  80. package/input/inputInput.js +36 -0
  81. package/input/theme.d.ts +40 -15
  82. package/input/theme.js +40 -16
  83. package/list/index.d.ts +3 -1
  84. package/list/index.js +3 -1
  85. package/list/list.d.ts +2 -0
  86. package/list/list.js +3 -1
  87. package/list/list.types.d.ts +19 -1
  88. package/list/listHeading.d.ts +2 -2
  89. package/list/listHeading.js +2 -2
  90. package/list/listIcon.js +1 -1
  91. package/list/listItem.d.ts +1 -1
  92. package/list/listItem.js +8 -5
  93. package/list/listText.d.ts +3 -0
  94. package/list/listText.js +30 -0
  95. package/list/theme.d.ts +20 -6
  96. package/list/theme.js +26 -12
  97. package/notification/consts.d.ts +2 -0
  98. package/{alert → notification}/consts.js +7 -7
  99. package/notification/context.d.ts +4 -0
  100. package/notification/context.js +23 -0
  101. package/notification/index.d.ts +8 -0
  102. package/notification/index.js +25 -0
  103. package/notification/notification.d.ts +13 -0
  104. package/{alert/alert.js → notification/notification.js} +25 -25
  105. package/notification/notification.types.d.ts +20 -0
  106. package/notification/notificationButton.d.ts +3 -0
  107. package/{alert/alertButton.js → notification/notificationButton.js} +8 -8
  108. package/notification/notificationIcon.d.ts +3 -0
  109. package/{alert/alertIcon.js → notification/notificationIcon.js} +9 -9
  110. package/notification/notificationText.d.ts +3 -0
  111. package/notification/notificationText.js +30 -0
  112. package/notification/notificationTitle.d.ts +3 -0
  113. package/notification/notificationTitle.js +30 -0
  114. package/{alert → notification}/theme.d.ts +0 -15
  115. package/{alert → notification}/theme.js +1 -22
  116. package/package.json +2 -3
  117. package/panel/index.d.ts +3 -0
  118. package/panel/index.js +20 -0
  119. package/panel/panel.d.ts +3 -0
  120. package/panel/panel.js +39 -0
  121. package/panel/panel.types.d.ts +4 -0
  122. package/{tile → panel}/theme.d.ts +1 -8
  123. package/{tile → panel}/theme.js +4 -11
  124. package/radio/radio.js +4 -4
  125. package/radio/radio.types.d.ts +1 -1
  126. package/radio/radioGroup.types.d.ts +1 -1
  127. package/skeleton/skeleton.types.d.ts +1 -0
  128. package/spinner/spinner.types.d.ts +1 -0
  129. package/svg/cache.js +1 -5
  130. package/svg/svg.js +2 -3
  131. package/switch/index.d.ts +0 -1
  132. package/switch/index.js +0 -1
  133. package/switch/switch.js +6 -6
  134. package/switch/switch.types.d.ts +19 -4
  135. package/switch/switchButton.d.ts +2 -2
  136. package/switch/switchButton.js +18 -19
  137. package/switch/theme.d.ts +41 -46
  138. package/switch/theme.js +50 -72
  139. package/system/borders.d.ts +3 -1
  140. package/system/custom.d.ts +24 -7
  141. package/system/custom.js +33 -13
  142. package/system/system.d.ts +2 -2
  143. package/system/system.js +1 -1
  144. package/t/t.types.d.ts +2 -1
  145. package/tag/context.d.ts +4 -0
  146. package/tag/context.js +23 -0
  147. package/tag/index.d.ts +6 -0
  148. package/tag/index.js +23 -0
  149. package/tag/tag.d.ts +11 -0
  150. package/tag/tag.js +99 -0
  151. package/{label/label.types.d.ts → tag/tag.types.d.ts} +6 -7
  152. package/tag/tag.types.js +2 -0
  153. package/tag/tagIcon.d.ts +3 -0
  154. package/{alert/alertTitle.js → tag/tagIcon.js} +9 -9
  155. package/tag/tagText.d.ts +3 -0
  156. package/tag/tagText.js +30 -0
  157. package/tag/theme.d.ts +65 -0
  158. package/tag/theme.js +78 -0
  159. package/textarea/textarea.js +2 -1
  160. package/textarea/textarea.types.d.ts +1 -0
  161. package/theme/components.d.ts +291 -223
  162. package/theme/components.js +32 -28
  163. package/theme/defaultTheme.d.ts +291 -223
  164. package/utils/assertion.d.ts +14 -0
  165. package/utils/assertion.js +34 -0
  166. package/utils/index.d.ts +1 -0
  167. package/utils/index.js +1 -0
  168. package/utils/object.d.ts +5 -18
  169. package/utils/object.js +17 -50
  170. package/utils/types.d.ts +2 -0
  171. package/alert/alert.d.ts +0 -13
  172. package/alert/alert.types.d.ts +0 -20
  173. package/alert/alertButton.d.ts +0 -3
  174. package/alert/alertIcon.d.ts +0 -3
  175. package/alert/alertText.d.ts +0 -3
  176. package/alert/alertTitle.d.ts +0 -3
  177. package/alert/consts.d.ts +0 -2
  178. package/alert/context.d.ts +0 -4
  179. package/alert/index.d.ts +0 -8
  180. package/label/index.d.ts +0 -3
  181. package/label/label.d.ts +0 -5
  182. package/label/label.js +0 -71
  183. package/label/theme.d.ts +0 -61
  184. package/label/theme.js +0 -107
  185. package/list/listItem.types.d.ts +0 -16
  186. package/switch/switchButton.types.d.ts +0 -19
  187. package/tile/index.d.ts +0 -3
  188. package/tile/tile.d.ts +0 -3
  189. /package/{button → buttonGroup}/buttonGroup.types.d.ts +0 -0
  190. /package/{button → buttonGroup}/buttonGroup.types.js +0 -0
  191. /package/{alert/alert.types.js → card/card.types.js} +0 -0
  192. /package/{label/label.types.js → core/types/styled.js} +0 -0
  193. /package/{list/listItem.types.js → image/image.types.js} +0 -0
  194. /package/{switch/switchButton.types.js → notification/notification.types.js} +0 -0
  195. /package/{tile/tile.types.js → panel/panel.types.js} +0 -0
@@ -161,48 +161,6 @@ declare const defaultTheme: {
161
161
  transitions: {};
162
162
  zIndices: {};
163
163
  components: {
164
- Alert: {
165
- defaultProps: {
166
- colorScheme: string;
167
- variant: string;
168
- };
169
- parts: string[];
170
- sizes: {};
171
- variants: {
172
- solid: (props: import("..").Dict<any>) => {
173
- container: {
174
- bg: string;
175
- color: string;
176
- };
177
- button: {
178
- bg: string;
179
- hoverBg: string;
180
- };
181
- icon: {};
182
- message: {};
183
- text: {};
184
- title: {};
185
- };
186
- subtle: (props: import("..").Dict<any>) => {
187
- container: {
188
- bg: string;
189
- borderColor: string;
190
- borderWidth: number;
191
- color: string;
192
- };
193
- button: {
194
- color: string;
195
- hoverBg: string;
196
- activeBg: string;
197
- variant: string;
198
- };
199
- icon: {};
200
- message: {};
201
- text: {};
202
- title: {};
203
- };
204
- };
205
- };
206
164
  Avatar: {
207
165
  defaultProps: {
208
166
  colorScheme: string;
@@ -265,66 +223,109 @@ declare const defaultTheme: {
265
223
  size: string;
266
224
  variant: string;
267
225
  };
226
+ parts: string[];
268
227
  sizes: {
269
228
  xs: {
270
- fontSize: string;
271
- h: number;
272
- iconSize: string;
273
- minW: number;
274
- spaceX: number;
229
+ container: {
230
+ fontSize: string;
231
+ h: number;
232
+ minW: number;
233
+ spaceX: number;
234
+ };
235
+ icon: {
236
+ size: string;
237
+ };
238
+ text: {};
275
239
  };
276
240
  sm: {
277
- fontSize: string;
278
- h: number;
279
- iconSize: string;
280
- minW: number;
281
- spaceX: number;
241
+ container: {
242
+ fontSize: string;
243
+ h: number;
244
+ minW: number;
245
+ spaceX: number;
246
+ };
247
+ icon: {
248
+ size: string;
249
+ };
250
+ text: {};
282
251
  };
283
252
  md: {
284
- fontSize: string;
285
- h: number;
286
- iconSize: string;
287
- minW: number;
288
- spaceX: number;
253
+ container: {
254
+ fontSize: string;
255
+ h: number;
256
+ minW: number;
257
+ spaceX: number;
258
+ };
259
+ icon: {
260
+ size: string;
261
+ };
262
+ text: {};
289
263
  };
290
264
  lg: {
291
- fontSize: string;
292
- h: number;
293
- iconSize: string;
294
- minW: number;
295
- spaceX: number;
265
+ container: {
266
+ fontSize: string;
267
+ h: number;
268
+ minW: number;
269
+ spaceX: number;
270
+ };
271
+ icon: {
272
+ size: string;
273
+ };
274
+ text: {};
296
275
  };
297
276
  };
298
277
  variants: {
299
278
  outlined: (props: import("..").Dict<any>) => {
300
- hoverBg: string;
301
- activeBg: string;
302
- bg: string;
303
- color: string;
304
- borderColor: string;
305
- borderWidth: number;
279
+ container: {
280
+ borderColor: string;
281
+ hoverBorderColor: string;
282
+ hoverBg: string;
283
+ activeBg: string;
284
+ bg: string;
285
+ borderWidth: number;
286
+ color: string;
287
+ };
306
288
  };
307
289
  solid: (props: import("..").Dict<any>) => {
308
- borderColor: string;
309
- hoverBg: string;
310
- activeBg: string;
311
- bg: string;
312
- color: string;
290
+ container: {
291
+ hoverBg: string;
292
+ hoverBorderColor: string;
293
+ activeBg: string;
294
+ bg: string;
295
+ borderColor: string;
296
+ borderWidth: number;
297
+ color: string;
298
+ };
313
299
  };
314
300
  subtle: (props: import("..").Dict<any>) => {
315
- hoverBg: string;
316
- activeBg: string;
317
- bg: string;
318
- color: string;
301
+ container: {
302
+ hoverBg: string;
303
+ hoverBorderColor: string;
304
+ activeBg: string;
305
+ bg: string;
306
+ borderColor: string;
307
+ borderWidth: number;
308
+ color: string;
309
+ };
319
310
  };
320
311
  text: (props: import("..").Dict<any>) => {
321
- hoverBg: string;
322
- activeBg: string;
323
- bg: string;
324
- color: string;
312
+ container: {
313
+ hoverBg: string;
314
+ hoverBorderColor: string;
315
+ activeBg: string;
316
+ bg: string;
317
+ borderColor: string;
318
+ borderWidth: number;
319
+ color: string;
320
+ };
325
321
  };
326
322
  };
327
323
  };
324
+ Card: {
325
+ defaultProps: {};
326
+ sizes: {};
327
+ variants: {};
328
+ };
328
329
  Checkbox: {
329
330
  defaultProps: {
330
331
  colorScheme: string;
@@ -437,94 +438,69 @@ declare const defaultTheme: {
437
438
  };
438
439
  variants: {};
439
440
  };
441
+ Image: {
442
+ defaultProps: {};
443
+ sizes: {};
444
+ variants: {};
445
+ };
440
446
  Input: {
441
447
  defaultProps: {
442
448
  colorScheme: string;
443
449
  size: string;
444
450
  variant: string;
445
451
  };
452
+ parts: string[];
446
453
  sizes: {
447
454
  xs: {
448
- fontSize: string;
449
- h: number;
450
- iconSize: string;
455
+ container: {
456
+ fontSize: string;
457
+ h: number;
458
+ };
459
+ icon: {
460
+ size: string;
461
+ };
462
+ input: {};
451
463
  };
452
464
  sm: {
453
- fontSize: string;
454
- h: number;
455
- iconSize: string;
465
+ container: {
466
+ fontSize: string;
467
+ h: number;
468
+ };
469
+ icon: {
470
+ size: string;
471
+ };
472
+ input: {};
456
473
  };
457
474
  md: {
458
- fontSize: string;
459
- h: number;
460
- iconSize: string;
475
+ container: {
476
+ fontSize: string;
477
+ h: number;
478
+ };
479
+ icon: {
480
+ size: string;
481
+ };
482
+ input: {};
461
483
  };
462
484
  lg: {
463
- fontSize: string;
464
- h: number;
465
- iconSize: string;
485
+ container: {
486
+ fontSize: string;
487
+ h: number;
488
+ };
489
+ icon: {
490
+ size: string;
491
+ };
492
+ input: {};
466
493
  };
467
494
  };
468
495
  variants: {
469
496
  default: (props: import("..").Dict<any>) => {
470
- borderColor: string;
471
- focusWithinRing: number;
472
- focusWithinRingColor: string;
473
- };
474
- };
475
- };
476
- Label: {
477
- defaultProps: {
478
- colorScheme: string;
479
- size: string;
480
- variant: string;
481
- };
482
- sizes: {
483
- sm: {
484
- fontSize: string;
485
- h: number;
486
- iconSize: string;
487
- spaceX: number;
488
- };
489
- md: {
490
- fontSize: string;
491
- h: number;
492
- iconSize: string;
493
- spaceX: number;
494
- };
495
- lg: {
496
- fontSize: string;
497
- h: number;
498
- iconSize: string;
499
- spaceX: number;
500
- };
501
- };
502
- variants: {
503
- outlined: (props: import("..").Dict<any>) => {
504
- hoverBg: string;
505
- activeBg: string;
506
- bg: string;
507
- color: string;
508
- borderColor: string;
509
- borderWidth: number;
510
- };
511
- solid: (props: import("..").Dict<any>) => {
512
- hoverBg: string;
513
- activeBg: string;
514
- bg: string;
515
- color: string;
516
- };
517
- subtle: (props: import("..").Dict<any>) => {
518
- hoverBg: string;
519
- activeBg: string;
520
- bg: string;
521
- color: string;
522
- };
523
- text: (props: import("..").Dict<any>) => {
524
- hoverBg: string;
525
- activeBg: string;
526
- bg: string;
527
- color: string;
497
+ container: {
498
+ borderColor: string;
499
+ focusWithinRing: number;
500
+ focusWithinRingColor: string;
501
+ };
502
+ icon: {};
503
+ input: {};
528
504
  };
529
505
  };
530
506
  };
@@ -568,6 +544,8 @@ declare const defaultTheme: {
568
544
  parts: string[];
569
545
  sizes: {
570
546
  sm: {
547
+ container: {};
548
+ heading: {};
571
549
  icon: {
572
550
  size: string;
573
551
  };
@@ -575,8 +553,11 @@ declare const defaultTheme: {
575
553
  fontSize: string;
576
554
  h: number;
577
555
  };
556
+ text: {};
578
557
  };
579
558
  md: {
559
+ container: {};
560
+ heading: {};
580
561
  icon: {
581
562
  size: string;
582
563
  };
@@ -584,31 +565,40 @@ declare const defaultTheme: {
584
565
  fontSize: string;
585
566
  h: number;
586
567
  };
568
+ text: {};
587
569
  };
588
570
  lg: {
589
- icon: {
590
- size: string;
591
- };
571
+ container: {};
572
+ heading: {};
592
573
  item: {
593
574
  fontSize: string;
594
575
  h: number;
595
576
  };
596
- };
597
- xl: {
598
577
  icon: {
599
- scale: number;
578
+ size: string;
600
579
  };
580
+ text: {};
581
+ };
582
+ xl: {
583
+ container: {};
584
+ heading: {};
601
585
  item: {
602
586
  fontSize: string;
603
587
  h: number;
604
588
  };
589
+ icon: {
590
+ scale: number;
591
+ };
592
+ text: {};
605
593
  };
606
594
  };
607
595
  variants: {
608
596
  default: (props: import("..").Dict<any>) => {
609
597
  container: {};
598
+ heading: {};
610
599
  icon: {};
611
600
  item: import("..").Dict<any>;
601
+ text: {};
612
602
  };
613
603
  ordered: {
614
604
  container: {
@@ -636,6 +626,34 @@ declare const defaultTheme: {
636
626
  };
637
627
  };
638
628
  };
629
+ Notification: {
630
+ defaultProps: {
631
+ colorScheme: string;
632
+ variant: string;
633
+ };
634
+ parts: string[];
635
+ sizes: {};
636
+ variants: {
637
+ subtle: (props: import("..").Dict<any>) => {
638
+ container: {
639
+ bg: string;
640
+ borderColor: string;
641
+ borderWidth: number;
642
+ color: string;
643
+ };
644
+ button: {
645
+ color: string;
646
+ hoverBg: string;
647
+ activeBg: string;
648
+ variant: string;
649
+ };
650
+ icon: {};
651
+ message: {};
652
+ text: {};
653
+ title: {};
654
+ };
655
+ };
656
+ };
639
657
  P: {
640
658
  defaultProps: {
641
659
  size: string;
@@ -664,6 +682,21 @@ declare const defaultTheme: {
664
682
  };
665
683
  variants: {};
666
684
  };
685
+ Panel: {
686
+ defaultProps: {
687
+ variant: string;
688
+ };
689
+ sizes: {};
690
+ variants: {
691
+ elevated: {
692
+ shadow: string;
693
+ };
694
+ outlined: {
695
+ border: number;
696
+ borderColor: string;
697
+ };
698
+ };
699
+ };
667
700
  Radio: {
668
701
  defaultProps: {
669
702
  colorScheme: string;
@@ -813,75 +846,71 @@ declare const defaultTheme: {
813
846
  };
814
847
  parts: string[];
815
848
  sizes: {
816
- sm: (props: import("..").Dict<any>) => {
849
+ sm: () => {
850
+ container: {};
817
851
  button: {
818
852
  fontSize: string;
853
+ minW: number;
854
+ thumb: {
855
+ h: number;
856
+ w: number;
857
+ };
858
+ track: {
859
+ h: number;
860
+ };
819
861
  };
820
862
  label: {
821
863
  size: string;
822
864
  };
823
- thumb: {
824
- h: number;
825
- w: number;
826
- };
827
- track: {
828
- h: number;
829
- minW: number;
830
- };
831
865
  };
832
- md: (props: import("..").Dict<any>) => {
866
+ md: () => {
867
+ container: {};
833
868
  button: {
834
869
  fontSize: string;
870
+ minW: number;
871
+ thumb: {
872
+ h: number;
873
+ w: number;
874
+ };
875
+ track: {
876
+ h: number;
877
+ };
835
878
  };
836
879
  label: {
837
880
  size: string;
838
881
  };
839
- thumb: {
840
- h: number;
841
- w: number;
842
- };
843
- track: {
844
- h: number;
845
- minW: number;
846
- };
847
882
  };
848
- lg: (props: import("..").Dict<any>) => {
883
+ lg: () => {
884
+ container: {};
849
885
  button: {
850
886
  fontSize: string;
887
+ minW: number;
888
+ thumb: {
889
+ h: number;
890
+ w: number;
891
+ };
892
+ track: {
893
+ h: number;
894
+ };
851
895
  };
852
896
  label: {
853
897
  size: string;
854
898
  };
855
- thumb: {
856
- h: number;
857
- w: number;
858
- };
859
- track: {
860
- h: number;
861
- minW: number;
862
- };
863
899
  };
864
900
  };
865
901
  variants: {
866
902
  contained: (props: import("..").Dict<any>) => {
867
- thumb: {
868
- bg: string;
869
- };
870
- track: {
871
- bg: string;
872
- ring: number;
873
- };
874
- };
875
- thin: (props: import("..").Dict<any>) => {
876
- thumb: {
877
- bg: string;
878
- borderColor: string;
879
- borderWidth: number;
880
- ring: number;
881
- };
882
- track: {
883
- bg: string;
903
+ container: {};
904
+ button: {
905
+ thumb: {
906
+ bg: string;
907
+ };
908
+ track: {
909
+ bg: string;
910
+ ring: number;
911
+ };
884
912
  };
913
+ label: {};
885
914
  };
886
915
  };
887
916
  };
@@ -905,43 +934,82 @@ declare const defaultTheme: {
905
934
  };
906
935
  variants: {};
907
936
  };
908
- Textarea: {
937
+ Tag: {
909
938
  defaultProps: {
910
939
  colorScheme: string;
940
+ size: string;
911
941
  variant: string;
912
942
  };
913
943
  parts: string[];
914
- sizes: {};
944
+ sizes: {
945
+ sm: {
946
+ container: {
947
+ fontSize: string;
948
+ h: number;
949
+ spaceX: number;
950
+ };
951
+ icon: {
952
+ size: string;
953
+ };
954
+ text: {};
955
+ };
956
+ md: {
957
+ container: {
958
+ fontSize: string;
959
+ h: number;
960
+ spaceX: number;
961
+ };
962
+ icon: {
963
+ size: string;
964
+ };
965
+ text: {};
966
+ };
967
+ lg: {
968
+ container: {
969
+ fontSize: string;
970
+ h: number;
971
+ spaceX: number;
972
+ };
973
+ icon: {
974
+ size: string;
975
+ };
976
+ text: {};
977
+ };
978
+ };
915
979
  variants: {
916
- default: (props: import("..").Dict<any>) => {
917
- container: {};
918
- textarea: {
919
- borderColor: string;
920
- focusRing: number;
921
- focusRingColor: string;
980
+ solid: (props: import("..").Dict<any>) => {
981
+ container: {
982
+ hoverBg: string;
983
+ activeBg: string;
984
+ bg: string;
985
+ color: string;
986
+ };
987
+ };
988
+ subtle: (props: import("..").Dict<any>) => {
989
+ container: {
990
+ hoverBg: string;
991
+ activeBg: string;
992
+ bg: string;
993
+ color: string;
922
994
  };
923
995
  };
924
996
  };
925
997
  };
926
- Tile: {
998
+ Textarea: {
927
999
  defaultProps: {
1000
+ colorScheme: string;
928
1001
  variant: string;
929
1002
  };
1003
+ parts: string[];
930
1004
  sizes: {};
931
1005
  variants: {
932
- default: {
933
- bg: string;
934
- borderRadius: string;
935
- shadow: string;
936
- hoverShadow: string;
937
- p: number;
938
- };
939
- outlined: {
940
- bg: string;
941
- border: number;
942
- borderColor: string;
943
- borderRadius: string;
944
- p: number;
1006
+ default: (props: import("..").Dict<any>) => {
1007
+ container: {};
1008
+ textarea: {
1009
+ borderColor: string;
1010
+ focusRing: number;
1011
+ focusRingColor: string;
1012
+ };
945
1013
  };
946
1014
  };
947
1015
  };
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { Dict } from './types';
3
+ /** Is value an array. */
4
+ export declare function isArray<T>(value: any): value is T[];
5
+ /** Is value a function. */
6
+ export declare function isFunction<T>(value: any): value is T;
7
+ /** Is value a number. */
8
+ export declare function isNumber(value: any): value is number;
9
+ /** Is value an object. */
10
+ export declare function isObject(value: any): value is Dict;
11
+ /** Is value a valid ReactText - string or number */
12
+ export declare function isReactText(value: any): value is React.ReactText;
13
+ /** Is value a string */
14
+ export declare function isString(value: any): value is string;