@okshaun/components 3.0.0 → 4.0.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 (67) hide show
  1. package/dist/icon-metadata.json +359 -42
  2. package/dist/index.js +12890 -5844
  3. package/dist/index.js.map +1 -1
  4. package/dist/panda.buildinfo.json +523 -501
  5. package/dist/{preset-BAn5LBiW.js → preset-BOFHjPdQ.js} +1986 -2045
  6. package/dist/preset-BOFHjPdQ.js.map +1 -0
  7. package/dist/preset.js +1 -1
  8. package/dist/specs/conditions.json +75 -51
  9. package/dist/specs/keyframes.json +22 -0
  10. package/dist/specs/recipes.json +222 -106
  11. package/dist/specs/semantic-tokens.json +152 -44
  12. package/dist/specs/tokens.json +16 -36
  13. package/dist/sprite.svg +1 -1
  14. package/dist/sprite.symbol.html +445 -44
  15. package/dist/styles.css +11268 -13251
  16. package/dist/svgs/cheese.svg +1 -0
  17. package/dist/svgs/collapse-vertical.svg +1 -0
  18. package/dist/svgs/expand-vertical.svg +1 -0
  19. package/dist/svgs/magnet.svg +1 -0
  20. package/dist/svgs/to-date-backward.svg +1 -0
  21. package/dist/svgs/to-date-forward.svg +1 -0
  22. package/dist/types/index.d.ts +2815 -288
  23. package/package.json +4 -2
  24. package/src/recipes/autocomplete.ts +266 -0
  25. package/src/recipes/badge.ts +25 -54
  26. package/src/recipes/button.ts +155 -316
  27. package/src/recipes/calendar.ts +91 -0
  28. package/src/recipes/card.ts +4 -70
  29. package/src/recipes/chip.ts +212 -266
  30. package/src/recipes/dateMenus.ts +40 -0
  31. package/src/recipes/dateTimeMenus.ts +43 -0
  32. package/src/recipes/kbd.ts +42 -39
  33. package/src/recipes/list.ts +11 -85
  34. package/src/recipes/listDensity.ts +66 -0
  35. package/src/recipes/listItem.ts +27 -166
  36. package/src/recipes/listItemGroup.ts +16 -16
  37. package/src/recipes/menu.ts +17 -3
  38. package/src/recipes/modal.ts +65 -65
  39. package/src/recipes/radio.ts +6 -6
  40. package/src/recipes/recipes-slot.ts +7 -2
  41. package/src/recipes/segmentedFields.ts +192 -0
  42. package/src/recipes/segmentedInputs.ts +109 -0
  43. package/src/recipes/tag.ts +218 -210
  44. package/src/recipes/text.ts +37 -19
  45. package/src/recipes/textInput.ts +103 -155
  46. package/src/recipes/themeSwitcher.ts +3 -3
  47. package/src/recipes/timeMenus.ts +110 -0
  48. package/src/recipes/toggle.ts +3 -1
  49. package/src/styles/primitives/shadows.ts +26 -60
  50. package/src/styles/primitives/zIndex.ts +1 -0
  51. package/src/styles/semantics/colors.ts +43 -0
  52. package/src/styles/semantics/shadows.ts +4 -30
  53. package/src/styles/semantics/zIndex.ts +2 -0
  54. package/src/styles/utilities/conditions.ts +61 -51
  55. package/src/styles/utilities/dropShadows.ts +51 -0
  56. package/src/styles/utilities/filters.ts +22 -7
  57. package/src/styles/utilities/globalStyle.ts +5 -2
  58. package/src/styles/utilities/index.ts +3 -0
  59. package/src/styles/utilities/keyframes.ts +27 -4
  60. package/src/styles/utilities/recipeGlobalStyles.ts +22 -0
  61. package/src/styles/utilities/shadowDefinitions.ts +112 -0
  62. package/src/utils/dsChain.ts +113 -0
  63. package/src/utils/dsComponent.ts +44 -0
  64. package/src/utils/dsPart.ts +41 -0
  65. package/dist/preset-BAn5LBiW.js.map +0 -1
  66. package/src/recipes/datePicker.ts +0 -234
  67. package/src/recipes/timePicker.ts +0 -216
@@ -37,8 +37,7 @@
37
37
  "overlay"
38
38
  ],
39
39
  "interactive": [
40
- "true",
41
- "false"
40
+ "true"
42
41
  ]
43
42
  },
44
43
  "defaultVariants": {
@@ -239,6 +238,9 @@
239
238
  "underline": [
240
239
  "true"
241
240
  ],
241
+ "dashedUnderline": [
242
+ "true"
243
+ ],
242
244
  "truncate": [
243
245
  "true"
244
246
  ],
@@ -279,24 +281,26 @@
279
281
  "label({ bold: true })",
280
282
  "label({ italic: true })",
281
283
  "label({ underline: true })",
284
+ "label({ dashedUnderline: true })",
282
285
  "label({ truncate: true })",
283
286
  "label({ allCaps: true })",
284
287
  "label({ size: '10' })",
285
288
  "label({ weight: 'light' })",
286
289
  "label({ _disabled: true })",
287
- "label({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
290
+ "label({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
288
291
  ],
289
292
  "jsxExamples": [
290
293
  "<Label family=\"heading\" />",
291
294
  "<Label bold={true} />",
292
295
  "<Label italic={true} />",
293
296
  "<Label underline={true} />",
297
+ "<Label dashedUnderline={true} />",
294
298
  "<Label truncate={true} />",
295
299
  "<Label allCaps={true} />",
296
300
  "<Label size=\"10\" />",
297
301
  "<Label weight=\"light\" />",
298
302
  "<Label _disabled={true} />",
299
- "<Label family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
303
+ "<Label family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
300
304
  ]
301
305
  },
302
306
  {
@@ -320,6 +324,9 @@
320
324
  "underline": [
321
325
  "true"
322
326
  ],
327
+ "dashedUnderline": [
328
+ "true"
329
+ ],
323
330
  "truncate": [
324
331
  "true"
325
332
  ],
@@ -347,9 +354,6 @@
347
354
  "medium",
348
355
  "bold",
349
356
  "black"
350
- ],
351
- "_disabled": [
352
- "true"
353
357
  ]
354
358
  },
355
359
  "defaultVariants": {
@@ -360,24 +364,24 @@
360
364
  "link({ bold: true })",
361
365
  "link({ italic: true })",
362
366
  "link({ underline: true })",
367
+ "link({ dashedUnderline: true })",
363
368
  "link({ truncate: true })",
364
369
  "link({ allCaps: true })",
365
370
  "link({ size: '10' })",
366
371
  "link({ weight: 'light' })",
367
- "link({ _disabled: true })",
368
- "link({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light', _disabled: true })"
372
+ "link({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
369
373
  ],
370
374
  "jsxExamples": [
371
375
  "<Link family=\"heading\" />",
372
376
  "<Link bold={true} />",
373
377
  "<Link italic={true} />",
374
378
  "<Link underline={true} />",
379
+ "<Link dashedUnderline={true} />",
375
380
  "<Link truncate={true} />",
376
381
  "<Link allCaps={true} />",
377
382
  "<Link size=\"10\" />",
378
383
  "<Link weight=\"light\" />",
379
- "<Link _disabled={true} />",
380
- "<Link family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" _disabled={true} />"
384
+ "<Link family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
381
385
  ]
382
386
  },
383
387
  {
@@ -459,10 +463,6 @@
459
463
  "name": "tag",
460
464
  "description": "",
461
465
  "variants": {
462
- "variant": [
463
- "default",
464
- "bold"
465
- ],
466
466
  "hue": [
467
467
  "gray",
468
468
  "red",
@@ -477,6 +477,10 @@
477
477
  "magenta",
478
478
  "tan"
479
479
  ],
480
+ "variant": [
481
+ "default",
482
+ "bold"
483
+ ],
480
484
  "iconBefore": [
481
485
  "true",
482
486
  "false"
@@ -495,20 +499,20 @@
495
499
  "hue": "gray"
496
500
  },
497
501
  "functionExamples": [
498
- "tag({ variant: 'default' })",
499
502
  "tag({ hue: 'gray' })",
503
+ "tag({ variant: 'default' })",
500
504
  "tag({ iconBefore: true })",
501
505
  "tag({ iconAfter: true })",
502
506
  "tag({ hasIcon: true })",
503
- "tag({ variant: 'default', hue: 'gray', iconBefore: true, iconAfter: true, hasIcon: true })"
507
+ "tag({ hue: 'gray', variant: 'default', iconBefore: true, iconAfter: true, hasIcon: true })"
504
508
  ],
505
509
  "jsxExamples": [
506
- "<Tag variant=\"default\" />",
507
510
  "<Tag hue=\"gray\" />",
511
+ "<Tag variant=\"default\" />",
508
512
  "<Tag iconBefore={true} />",
509
513
  "<Tag iconAfter={true} />",
510
514
  "<Tag hasIcon={true} />",
511
- "<Tag variant=\"default\" hue=\"gray\" iconBefore={true} iconAfter={true} hasIcon={true} />"
515
+ "<Tag hue=\"gray\" variant=\"default\" iconBefore={true} iconAfter={true} hasIcon={true} />"
512
516
  ]
513
517
  },
514
518
  {
@@ -532,6 +536,9 @@
532
536
  "underline": [
533
537
  "true"
534
538
  ],
539
+ "dashedUnderline": [
540
+ "true"
541
+ ],
535
542
  "truncate": [
536
543
  "true"
537
544
  ],
@@ -569,22 +576,24 @@
569
576
  "text({ bold: true })",
570
577
  "text({ italic: true })",
571
578
  "text({ underline: true })",
579
+ "text({ dashedUnderline: true })",
572
580
  "text({ truncate: true })",
573
581
  "text({ allCaps: true })",
574
582
  "text({ size: '10' })",
575
583
  "text({ weight: 'light' })",
576
- "text({ family: 'heading', bold: true, italic: true, underline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
584
+ "text({ family: 'heading', bold: true, italic: true, underline: true, dashedUnderline: true, truncate: true, allCaps: true, size: '10', weight: 'light' })"
577
585
  ],
578
586
  "jsxExamples": [
579
587
  "<Text family=\"heading\" />",
580
588
  "<Text bold={true} />",
581
589
  "<Text italic={true} />",
582
590
  "<Text underline={true} />",
591
+ "<Text dashedUnderline={true} />",
583
592
  "<Text truncate={true} />",
584
593
  "<Text allCaps={true} />",
585
594
  "<Text size=\"10\" />",
586
595
  "<Text weight=\"light\" />",
587
- "<Text family=\"heading\" bold={true} italic={true} underline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
596
+ "<Text family=\"heading\" bold={true} italic={true} underline={true} dashedUnderline={true} truncate={true} allCaps={true} size=\"10\" weight=\"light\" />"
588
597
  ]
589
598
  },
590
599
  {
@@ -639,6 +648,35 @@
639
648
  "<ToggleInput />"
640
649
  ]
641
650
  },
651
+ {
652
+ "name": "autocomplete",
653
+ "variants": {
654
+ "layer": [
655
+ "elevated",
656
+ "modalFloating"
657
+ ],
658
+ "size": [
659
+ "sm",
660
+ "md",
661
+ "lg",
662
+ "xl"
663
+ ]
664
+ },
665
+ "defaultVariants": {
666
+ "size": "md",
667
+ "layer": "elevated"
668
+ },
669
+ "functionExamples": [
670
+ "autocomplete({ layer: 'elevated' })",
671
+ "autocomplete({ size: 'sm' })",
672
+ "autocomplete({ layer: 'elevated', size: 'sm' })"
673
+ ],
674
+ "jsxExamples": [
675
+ "<Autocomplete layer=\"elevated\" />",
676
+ "<Autocomplete size=\"sm\" />",
677
+ "<Autocomplete layer=\"elevated\" size=\"sm\" />"
678
+ ]
679
+ },
642
680
  {
643
681
  "name": "avatar",
644
682
  "variants": {
@@ -733,15 +771,13 @@
733
771
  "name": "button",
734
772
  "variants": {
735
773
  "variant": [
736
- "default",
774
+ "standard",
737
775
  "primary",
738
- "ghost",
739
- "subtle",
740
776
  "hollow",
777
+ "ghost",
741
778
  "danger",
742
779
  "selected",
743
- "selectedBold",
744
- "selectedSubtle"
780
+ "selectedBold"
745
781
  ],
746
782
  "size": [
747
783
  "sm",
@@ -749,30 +785,49 @@
749
785
  "lg",
750
786
  "xl"
751
787
  ],
752
- "iconBefore": [
788
+ "before": [
753
789
  "true"
754
790
  ],
755
- "iconAfter": [
791
+ "after": [
756
792
  "true"
757
793
  ]
758
794
  },
759
795
  "defaultVariants": {
760
- "variant": "default",
796
+ "variant": "standard",
761
797
  "size": "md"
762
798
  },
763
799
  "functionExamples": [
764
- "button({ variant: 'default' })",
800
+ "button({ variant: 'standard' })",
765
801
  "button({ size: 'sm' })",
766
- "button({ iconBefore: true })",
767
- "button({ iconAfter: true })",
768
- "button({ variant: 'default', size: 'sm', iconBefore: true, iconAfter: true })"
802
+ "button({ before: true })",
803
+ "button({ after: true })",
804
+ "button({ variant: 'standard', size: 'sm', before: true, after: true })"
769
805
  ],
770
806
  "jsxExamples": [
771
- "<Button variant=\"default\" />",
807
+ "<Button variant=\"standard\" />",
772
808
  "<Button size=\"sm\" />",
773
- "<Button iconBefore={true} />",
774
- "<Button iconAfter={true} />",
775
- "<Button variant=\"default\" size=\"sm\" iconBefore={true} iconAfter={true} />"
809
+ "<Button before={true} />",
810
+ "<Button after={true} />",
811
+ "<Button variant=\"standard\" size=\"sm\" before={true} after={true} />"
812
+ ]
813
+ },
814
+ {
815
+ "name": "calendar",
816
+ "variants": {
817
+ "type": [
818
+ "days",
819
+ "months",
820
+ "years"
821
+ ]
822
+ },
823
+ "defaultVariants": {
824
+ "type": "days"
825
+ },
826
+ "functionExamples": [
827
+ "calendar({ type: 'days' })"
828
+ ],
829
+ "jsxExamples": [
830
+ "<Calendar type=\"days\" />"
776
831
  ]
777
832
  },
778
833
  {
@@ -824,22 +879,25 @@
824
879
  ]
825
880
  },
826
881
  {
827
- "name": "datePicker",
828
- "variants": {
829
- "size": [
830
- "sm",
831
- "md",
832
- "lg"
833
- ]
834
- },
835
- "defaultVariants": {
836
- "size": "md"
837
- },
882
+ "name": "dateMenus",
883
+ "variants": {},
884
+ "defaultVariants": {},
885
+ "functionExamples": [
886
+ "dateMenus()"
887
+ ],
888
+ "jsxExamples": [
889
+ "<DateMenus />"
890
+ ]
891
+ },
892
+ {
893
+ "name": "dateTimeMenus",
894
+ "variants": {},
895
+ "defaultVariants": {},
838
896
  "functionExamples": [
839
- "datePicker({ size: 'sm' })"
897
+ "dateTimeMenus()"
840
898
  ],
841
899
  "jsxExamples": [
842
- "<DatePicker size=\"sm\" />"
900
+ "<DateTimeMenus />"
843
901
  ]
844
902
  },
845
903
  {
@@ -875,15 +933,13 @@
875
933
  "name": "iconButton",
876
934
  "variants": {
877
935
  "variant": [
878
- "default",
936
+ "standard",
879
937
  "primary",
880
- "ghost",
881
- "subtle",
882
938
  "hollow",
939
+ "ghost",
883
940
  "danger",
884
941
  "selected",
885
- "selectedBold",
886
- "selectedSubtle"
942
+ "selectedBold"
887
943
  ],
888
944
  "size": [
889
945
  "sm",
@@ -893,35 +949,36 @@
893
949
  ]
894
950
  },
895
951
  "defaultVariants": {
896
- "variant": "default",
952
+ "variant": "standard",
897
953
  "size": "md"
898
954
  },
899
955
  "functionExamples": [
900
- "iconButton({ variant: 'default' })",
956
+ "iconButton({ variant: 'standard' })",
901
957
  "iconButton({ size: 'sm' })",
902
- "iconButton({ variant: 'default', size: 'sm' })"
958
+ "iconButton({ variant: 'standard', size: 'sm' })"
903
959
  ],
904
960
  "jsxExamples": [
905
- "<IconButton variant=\"default\" />",
961
+ "<IconButton variant=\"standard\" />",
906
962
  "<IconButton size=\"sm\" />",
907
- "<IconButton variant=\"default\" size=\"sm\" />"
963
+ "<IconButton variant=\"standard\" size=\"sm\" />"
908
964
  ]
909
965
  },
910
966
  {
911
967
  "name": "kbd",
912
968
  "variants": {
913
- "symbol": [
914
- "true"
969
+ "variant": [
970
+ "default",
971
+ "symbol"
915
972
  ]
916
973
  },
917
974
  "defaultVariants": {
918
- "symbol": false
975
+ "variant": "default"
919
976
  },
920
977
  "functionExamples": [
921
- "kbd({ symbol: true })"
978
+ "kbd({ variant: 'default' })"
922
979
  ],
923
980
  "jsxExamples": [
924
- "<Kbd symbol={true} />"
981
+ "<Kbd variant=\"default\" />"
925
982
  ]
926
983
  },
927
984
  {
@@ -972,8 +1029,7 @@
972
1029
  },
973
1030
  "defaultVariants": {
974
1031
  "variant": "default",
975
- "density": "compact",
976
- "selected": false
1032
+ "density": "compact"
977
1033
  },
978
1034
  "functionExamples": [
979
1035
  "listItem({ variant: 'default' })",
@@ -995,6 +1051,10 @@
995
1051
  {
996
1052
  "name": "menu",
997
1053
  "variants": {
1054
+ "layer": [
1055
+ "elevated",
1056
+ "modalFloating"
1057
+ ],
998
1058
  "density": [
999
1059
  "compact",
1000
1060
  "comfortable",
@@ -1005,56 +1065,51 @@
1005
1065
  ]
1006
1066
  },
1007
1067
  "defaultVariants": {
1008
- "density": "compact"
1068
+ "density": "compact",
1069
+ "layer": "elevated"
1009
1070
  },
1010
1071
  "functionExamples": [
1072
+ "menu({ layer: 'elevated' })",
1011
1073
  "menu({ density: 'compact' })",
1012
1074
  "menu({ panel: true })",
1013
- "menu({ density: 'compact', panel: true })"
1075
+ "menu({ layer: 'elevated', density: 'compact', panel: true })"
1014
1076
  ],
1015
1077
  "jsxExamples": [
1078
+ "<Menu layer=\"elevated\" />",
1016
1079
  "<Menu density=\"compact\" />",
1017
1080
  "<Menu panel={true} />",
1018
- "<Menu density=\"compact\" panel={true} />"
1081
+ "<Menu layer=\"elevated\" density=\"compact\" panel={true} />"
1019
1082
  ]
1020
1083
  },
1021
1084
  {
1022
1085
  "name": "modal",
1023
1086
  "variants": {
1024
- "position": [
1025
- "centered",
1026
- "top",
1027
- "bottom"
1028
- ],
1029
1087
  "size": [
1030
1088
  "sm",
1031
1089
  "md",
1032
1090
  "lg",
1033
1091
  "xl",
1034
1092
  "full",
1035
- "mobile"
1093
+ "fullPage"
1036
1094
  ],
1037
- "variant": [
1038
- "default",
1039
- "confirmation"
1095
+ "position": [
1096
+ "centered",
1097
+ "top"
1040
1098
  ]
1041
1099
  },
1042
1100
  "defaultVariants": {
1043
- "position": "centered",
1044
- "variant": "default",
1045
- "size": "md"
1101
+ "size": "md",
1102
+ "position": "centered"
1046
1103
  },
1047
1104
  "functionExamples": [
1048
- "modal({ position: 'centered' })",
1049
1105
  "modal({ size: 'sm' })",
1050
- "modal({ variant: 'default' })",
1051
- "modal({ position: 'centered', size: 'sm', variant: 'default' })"
1106
+ "modal({ position: 'centered' })",
1107
+ "modal({ size: 'sm', position: 'centered' })"
1052
1108
  ],
1053
1109
  "jsxExamples": [
1054
- "<Modal position=\"centered\" />",
1055
1110
  "<Modal size=\"sm\" />",
1056
- "<Modal variant=\"default\" />",
1057
- "<Modal position=\"centered\" size=\"sm\" variant=\"default\" />"
1111
+ "<Modal position=\"centered\" />",
1112
+ "<Modal size=\"sm\" position=\"centered\" />"
1058
1113
  ]
1059
1114
  },
1060
1115
  {
@@ -1068,6 +1123,71 @@
1068
1123
  "<Radio />"
1069
1124
  ]
1070
1125
  },
1126
+ {
1127
+ "name": "segmentedFields",
1128
+ "variants": {
1129
+ "size": [
1130
+ "sm",
1131
+ "md",
1132
+ "lg",
1133
+ "xl"
1134
+ ],
1135
+ "field": [
1136
+ "date",
1137
+ "time",
1138
+ "dateTime"
1139
+ ],
1140
+ "range": [
1141
+ "date",
1142
+ "time"
1143
+ ],
1144
+ "before": [
1145
+ "true"
1146
+ ],
1147
+ "after": [
1148
+ "true"
1149
+ ]
1150
+ },
1151
+ "defaultVariants": {
1152
+ "size": "md"
1153
+ },
1154
+ "functionExamples": [
1155
+ "segmentedFields({ size: 'sm' })",
1156
+ "segmentedFields({ field: 'date' })",
1157
+ "segmentedFields({ range: 'date' })",
1158
+ "segmentedFields({ before: true })",
1159
+ "segmentedFields({ after: true })",
1160
+ "segmentedFields({ size: 'sm', field: 'date', range: 'date', before: true, after: true })"
1161
+ ],
1162
+ "jsxExamples": [
1163
+ "<SegmentedFields size=\"sm\" />",
1164
+ "<SegmentedFields field=\"date\" />",
1165
+ "<SegmentedFields range=\"date\" />",
1166
+ "<SegmentedFields before={true} />",
1167
+ "<SegmentedFields after={true} />",
1168
+ "<SegmentedFields size=\"sm\" field=\"date\" range=\"date\" before={true} after={true} />"
1169
+ ]
1170
+ },
1171
+ {
1172
+ "name": "segmentedInputs",
1173
+ "variants": {
1174
+ "size": [
1175
+ "sm",
1176
+ "md",
1177
+ "lg",
1178
+ "xl"
1179
+ ]
1180
+ },
1181
+ "defaultVariants": {
1182
+ "size": "md"
1183
+ },
1184
+ "functionExamples": [
1185
+ "segmentedInputs({ size: 'sm' })"
1186
+ ],
1187
+ "jsxExamples": [
1188
+ "<SegmentedInputs size=\"sm\" />"
1189
+ ]
1190
+ },
1071
1191
  {
1072
1192
  "name": "select",
1073
1193
  "variants": {
@@ -1129,10 +1249,10 @@
1129
1249
  "lg",
1130
1250
  "xl"
1131
1251
  ],
1132
- "iconBefore": [
1252
+ "before": [
1133
1253
  "true"
1134
1254
  ],
1135
- "iconAfter": [
1255
+ "after": [
1136
1256
  "true"
1137
1257
  ],
1138
1258
  "autoSize": [
@@ -1144,36 +1264,32 @@
1144
1264
  },
1145
1265
  "functionExamples": [
1146
1266
  "textInput({ size: 'sm' })",
1147
- "textInput({ iconBefore: true })",
1148
- "textInput({ iconAfter: true })",
1267
+ "textInput({ before: true })",
1268
+ "textInput({ after: true })",
1149
1269
  "textInput({ autoSize: true })",
1150
- "textInput({ size: 'sm', iconBefore: true, iconAfter: true, autoSize: true })"
1270
+ "textInput({ size: 'sm', before: true, after: true, autoSize: true })"
1151
1271
  ],
1152
1272
  "jsxExamples": [
1153
1273
  "<TextInput size=\"sm\" />",
1154
- "<TextInput iconBefore={true} />",
1155
- "<TextInput iconAfter={true} />",
1274
+ "<TextInput before={true} />",
1275
+ "<TextInput after={true} />",
1156
1276
  "<TextInput autoSize={true} />",
1157
- "<TextInput size=\"sm\" iconBefore={true} iconAfter={true} autoSize={true} />"
1277
+ "<TextInput size=\"sm\" before={true} after={true} autoSize={true} />"
1158
1278
  ]
1159
1279
  },
1160
1280
  {
1161
- "name": "timePicker",
1281
+ "name": "timeMenus",
1162
1282
  "variants": {
1163
- "size": [
1164
- "sm",
1165
- "md",
1166
- "lg"
1283
+ "stretch": [
1284
+ "true"
1167
1285
  ]
1168
1286
  },
1169
- "defaultVariants": {
1170
- "size": "md"
1171
- },
1287
+ "defaultVariants": {},
1172
1288
  "functionExamples": [
1173
- "timePicker({ size: 'sm' })"
1289
+ "timeMenus({ stretch: true })"
1174
1290
  ],
1175
1291
  "jsxExamples": [
1176
- "<TimePicker size=\"sm\" />"
1292
+ "<TimeMenus stretch={true} />"
1177
1293
  ]
1178
1294
  },
1179
1295
  {