@plasmicpkgs/antd 0.0.10 → 0.0.14

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.
package/dist/antd.esm.js CHANGED
@@ -26,37 +26,45 @@ var buttonMeta = {
26
26
  type: {
27
27
  type: "choice",
28
28
  options: ["default", "primary", "ghost", "dashed", "link", "text"],
29
- description: "Can be set to primary, ghost, dashed, link, text, default"
29
+ description: "Can be set to primary, ghost, dashed, link, text, default",
30
+ defaultValueHint: "default"
30
31
  },
31
32
  size: {
32
33
  type: "choice",
33
34
  options: ["small", "medium", "large"],
34
- description: "Set the size of button"
35
+ description: "Set the size of button",
36
+ defaultValueHint: "medium"
35
37
  },
36
38
  shape: {
37
39
  type: "choice",
38
40
  options: ["default", "circle", "round"],
39
- description: "Can be set button shape"
41
+ description: "Can be set button shape",
42
+ defaultValueHint: "default"
40
43
  },
41
44
  disabled: {
42
45
  type: "boolean",
43
- description: "Disabled state of button"
46
+ description: "Disabled state of button",
47
+ defaultValueHint: false
44
48
  },
45
49
  ghost: {
46
50
  type: "boolean",
47
- description: "Make background transparent and invert text and border colors"
51
+ description: "Make background transparent and invert text and border colors",
52
+ defaultValueHint: false
48
53
  },
49
54
  danger: {
50
55
  type: "boolean",
51
- description: "Set the danger status of button"
56
+ description: "Set the danger status of button",
57
+ defaultValueHint: false
52
58
  },
53
59
  block: {
54
60
  type: "boolean",
55
- description: "Option to fit button width to its parent width"
61
+ description: "Option to fit button width to its parent width",
62
+ defaultValueHint: false
56
63
  },
57
64
  loading: {
58
65
  type: "boolean",
59
- description: "Set the loading status of button"
66
+ description: "Set the loading status of button",
67
+ defaultValueHint: false
60
68
  },
61
69
  href: {
62
70
  type: "string",
@@ -65,7 +73,11 @@ var buttonMeta = {
65
73
  target: {
66
74
  type: "choice",
67
75
  options: ["_blank", "_self", "_parent", "_top"],
68
- description: "Same as target attribute of a, works when href is specified"
76
+ description: "Same as target attribute of a, works when href is specified",
77
+ hidden: function hidden(props) {
78
+ return !props.href;
79
+ },
80
+ defaultValueHint: "_self"
69
81
  },
70
82
  children: {
71
83
  type: "slot",
@@ -184,21 +196,25 @@ var checkboxMeta = {
184
196
  props: {
185
197
  autoFocus: {
186
198
  type: "boolean",
187
- description: "If get focus when component mounted"
199
+ description: "If get focus when component mounted",
200
+ defaultValueHint: false
188
201
  },
189
202
  checked: {
190
203
  type: "boolean",
191
204
  editOnly: true,
192
205
  uncontrolledProp: "defaultChecked",
193
- description: "Specifies the initial state: whether or not the checkbox is selected"
206
+ description: "Specifies the initial state: whether or not the checkbox is selected",
207
+ defaultValueHint: false
194
208
  },
195
209
  disabled: {
196
210
  type: "boolean",
197
- description: "If disable checkbox"
211
+ description: "If disable checkbox",
212
+ defaultValueHint: false
198
213
  },
199
214
  indeterminate: {
200
215
  type: "boolean",
201
- description: "The indeterminate checked state of checkbox"
216
+ description: "The indeterminate checked state of checkbox",
217
+ defaultValueHint: false
202
218
  },
203
219
  value: {
204
220
  type: "string",
@@ -215,7 +231,7 @@ var checkboxMeta = {
215
231
  importPath: "antd/lib/checkbox/Checkbox",
216
232
  importName: "Checkbox",
217
233
  defaultStyles: {
218
- marginLeft: "0"
234
+ marginLeft: 0
219
235
  },
220
236
  isDefaultExport: true
221
237
  };
@@ -232,7 +248,8 @@ var checkboxGroupMeta = {
232
248
  props: {
233
249
  disabled: {
234
250
  type: "boolean",
235
- description: "If disable all checkboxes"
251
+ description: "If disable all checkboxes",
252
+ defaultValueHint: false
236
253
  },
237
254
  value: {
238
255
  type: "choice",
@@ -287,20 +304,24 @@ var carouselMeta = {
287
304
  props: {
288
305
  autoplay: {
289
306
  type: "boolean",
290
- description: "Whether to scroll automatically"
307
+ description: "Whether to scroll automatically",
308
+ defaultValueHint: false
291
309
  },
292
310
  dotPosition: {
293
311
  type: "choice",
294
312
  options: ["top", "bottom", "left", "right"],
295
- description: "The position of the dots"
313
+ description: "The position of the dots",
314
+ defaultValueHint: "bottom"
296
315
  },
297
316
  dots: {
298
317
  type: "boolean",
299
- description: "Whether to show the dots at the bottom of the gallery"
318
+ description: "Whether to show the dots at the bottom of the gallery",
319
+ defaultValueHint: true
300
320
  },
301
321
  effect: {
302
322
  type: "choice",
303
- options: ["scrollx", "fade"]
323
+ options: ["scrollx", "fade"],
324
+ defaultValueHint: "scrollx"
304
325
  },
305
326
  children: {
306
327
  type: "slot",
@@ -343,7 +364,8 @@ var collapstePanelMeta = {
343
364
  },
344
365
  forceRender: {
345
366
  type: "boolean",
346
- description: "Forced render of content on panel, instead of lazy rending after clicking on header"
367
+ description: "Forced render of content on panel, instead of lazy rending after clicking on header",
368
+ defaultValueHint: false
347
369
  },
348
370
  header: {
349
371
  type: "slot",
@@ -358,7 +380,8 @@ var collapstePanelMeta = {
358
380
  },
359
381
  showArrow: {
360
382
  type: "boolean",
361
- description: "If false, panel will not show arrow icon"
383
+ description: "If false, panel will not show arrow icon",
384
+ defaultValueHint: true
362
385
  },
363
386
  children: {
364
387
  type: "slot",
@@ -386,7 +409,8 @@ var collapsteMeta = {
386
409
  props: {
387
410
  accordion: {
388
411
  type: "boolean",
389
- description: "If true, Collapse renders as Accordion"
412
+ description: "If true, Collapse renders as Accordion",
413
+ defaultValueHint: false
390
414
  },
391
415
  activeKey: {
392
416
  type: "choice",
@@ -407,7 +431,8 @@ var collapsteMeta = {
407
431
  },
408
432
  bordered: {
409
433
  type: "boolean",
410
- description: "Toggles rendering of the border around the collapse block"
434
+ description: "Toggles rendering of the border around the collapse block",
435
+ defaultValueHint: true
411
436
  },
412
437
  collapsible: {
413
438
  type: "choice",
@@ -417,11 +442,13 @@ var collapsteMeta = {
417
442
  expandIconPosition: {
418
443
  type: "choice",
419
444
  options: ["left", "right"],
420
- description: "Set expand icon position"
445
+ description: "Set expand icon position",
446
+ defaultValueHint: "left"
421
447
  },
422
448
  ghost: {
423
449
  type: "boolean",
424
- description: "Make the collapse borderless and its background transparent"
450
+ description: "Make the collapse borderless and its background transparent",
451
+ defaultValueHint: false
425
452
  },
426
453
  children: {
427
454
  type: "slot",
@@ -468,11 +495,13 @@ var dropdownMeta = {
468
495
  props: {
469
496
  arrow: {
470
497
  type: "boolean",
471
- description: "Whether the dropdown arrow should be visible"
498
+ description: "Whether the dropdown arrow should be visible",
499
+ defaultValueHint: false
472
500
  },
473
501
  disabled: {
474
502
  type: "boolean",
475
- description: "Whether the dropdown menu is disabled"
503
+ description: "Whether the dropdown menu is disabled",
504
+ defaultValueHint: false
476
505
  },
477
506
  overlay: {
478
507
  type: "slot",
@@ -485,17 +514,20 @@ var dropdownMeta = {
485
514
  placement: {
486
515
  type: "choice",
487
516
  options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
488
- description: "Placement of popup menu"
517
+ description: "Placement of popup menu",
518
+ defaultValueHint: "bottomLeft"
489
519
  },
490
520
  trigger: {
491
521
  type: "choice",
492
522
  options: ["click", "hover", "contextMenu"],
493
- description: "The trigger mode which executes the dropdown action"
523
+ description: "The trigger mode which executes the dropdown action",
524
+ defaultValueHint: "hover"
494
525
  },
495
526
  visible: {
496
527
  type: "boolean",
497
528
  description: "Toggle visibility of dropdown menu in Plasmic Editor",
498
- editOnly: true
529
+ editOnly: true,
530
+ defaultValueHint: false
499
531
  },
500
532
  children: {
501
533
  type: "slot",
@@ -521,7 +553,8 @@ var dropdownButtonMeta = {
521
553
  props: {
522
554
  disabled: {
523
555
  type: "boolean",
524
- description: "Whether the dropdown menu is disabled"
556
+ description: "Whether the dropdown menu is disabled",
557
+ defaultValueHint: false
525
558
  },
526
559
  icon: {
527
560
  type: "slot",
@@ -538,27 +571,32 @@ var dropdownButtonMeta = {
538
571
  placement: {
539
572
  type: "choice",
540
573
  options: ["bottomLeft", "bottomCenter", "bottomRight", "topLeft", "topCenter", "topRight"],
541
- description: "Placement of popup menu"
574
+ description: "Placement of popup menu",
575
+ defaultValueHint: "bottomLeft"
542
576
  },
543
577
  size: {
544
578
  type: "choice",
545
579
  options: ["small", "medium", "large"],
546
- description: "Set the size of button"
580
+ description: "Set the size of button",
581
+ defaultValueHint: "medium"
547
582
  },
548
583
  trigger: {
549
584
  type: "choice",
550
585
  options: ["click", "hover", "contextMenu"],
551
- description: "The trigger mode which executes the dropdown action"
586
+ description: "The trigger mode which executes the dropdown action",
587
+ defaultValueHint: "hover"
552
588
  },
553
589
  type: {
554
590
  type: "choice",
555
591
  options: ["default", "primary", "ghost", "dashed", "link", "text"],
556
- description: "Can be set to primary, ghost, dashed, link, text, default"
592
+ description: "Can be set to primary, ghost, dashed, link, text, default",
593
+ defaultValueHint: "default"
557
594
  },
558
595
  visible: {
559
596
  type: "boolean",
560
597
  description: "Toggle visibility of dropdown menu in Plasmic Editor",
561
- editOnly: true
598
+ editOnly: true,
599
+ defaultValueHint: false
562
600
  },
563
601
  children: {
564
602
  type: "slot",
@@ -595,15 +633,18 @@ var inputMeta = {
595
633
  },
596
634
  allowClear: {
597
635
  type: "boolean",
598
- description: "If allow to remove input content with clear icon"
636
+ description: "If allow to remove input content with clear icon",
637
+ defaultValueHint: false
599
638
  },
600
639
  bordered: {
601
640
  type: "boolean",
602
- description: "Whether has border style"
641
+ description: "Whether has border style",
642
+ defaultValueHint: true
603
643
  },
604
644
  disabled: {
605
645
  type: "boolean",
606
- description: "Whether the input is disabled"
646
+ description: "Whether the input is disabled",
647
+ defaultValueHint: false
607
648
  },
608
649
  id: {
609
650
  type: "string",
@@ -624,7 +665,8 @@ var inputMeta = {
624
665
  size: {
625
666
  type: "choice",
626
667
  options: ["small", "middle", "large"],
627
- description: "The size of the input box"
668
+ description: "The size of the input box",
669
+ defaultValueHint: "middle,"
628
670
  },
629
671
  suffix: {
630
672
  type: "slot",
@@ -632,7 +674,8 @@ var inputMeta = {
632
674
  },
633
675
  type: {
634
676
  type: "string",
635
- description: "The type of input"
677
+ description: "The type of input",
678
+ defaultValueHint: "text"
636
679
  },
637
680
  value: {
638
681
  type: "string",
@@ -656,7 +699,8 @@ var inputTextAreaMeta = {
656
699
  props: {
657
700
  allowClear: {
658
701
  type: "boolean",
659
- description: "If allow to remove input content with clear icon"
702
+ description: "If allow to remove input content with clear icon",
703
+ defaultValueHint: false
660
704
  },
661
705
  autoSize: {
662
706
  type: "object",
@@ -664,15 +708,18 @@ var inputTextAreaMeta = {
664
708
  },
665
709
  disabled: {
666
710
  type: "boolean",
667
- description: "Whether the input is disabled"
711
+ description: "Whether the input is disabled",
712
+ defaultValueHint: false
668
713
  },
669
714
  bordered: {
670
715
  type: "boolean",
671
- description: "Whether has border style"
716
+ description: "Whether has border style",
717
+ defaultValueHint: true
672
718
  },
673
719
  showCount: {
674
720
  type: "boolean",
675
- description: "Whether show text count"
721
+ description: "Whether show text count",
722
+ defaultValueHint: false
676
723
  },
677
724
  id: {
678
725
  type: "string",
@@ -714,15 +761,18 @@ var inputSearchMeta = {
714
761
  },
715
762
  allowClear: {
716
763
  type: "boolean",
717
- description: "If allow to remove input content with clear icon"
764
+ description: "If allow to remove input content with clear icon",
765
+ defaultValueHint: false
718
766
  },
719
767
  bordered: {
720
768
  type: "boolean",
721
- description: "Whether has border style"
769
+ description: "Whether has border style",
770
+ defaultValueHint: true
722
771
  },
723
772
  disabled: {
724
773
  type: "boolean",
725
- description: "Whether the input is disabled"
774
+ description: "Whether the input is disabled",
775
+ defaultValueHint: false
726
776
  },
727
777
  enterButton: {
728
778
  type: "slot",
@@ -734,7 +784,8 @@ var inputSearchMeta = {
734
784
  },
735
785
  loading: {
736
786
  type: "boolean",
737
- description: "Search box with loading"
787
+ description: "Search box with loading",
788
+ defaultValueHint: false
738
789
  },
739
790
  maxLength: {
740
791
  type: "number",
@@ -751,7 +802,8 @@ var inputSearchMeta = {
751
802
  size: {
752
803
  type: "choice",
753
804
  options: ["small", "middle", "large"],
754
- description: "The size of the input box"
805
+ description: "The size of the input box",
806
+ defaultValueHint: "middle"
755
807
  },
756
808
  suffix: {
757
809
  type: "slot",
@@ -793,15 +845,18 @@ var inputPasswordMeta = {
793
845
  },
794
846
  allowClear: {
795
847
  type: "boolean",
796
- description: "If allow to remove input content with clear icon"
848
+ description: "If allow to remove input content with clear icon",
849
+ defaultValueHint: false
797
850
  },
798
851
  bordered: {
799
852
  type: "boolean",
800
- description: "Whether has border style"
853
+ description: "Whether has border style",
854
+ defaultValueHint: true
801
855
  },
802
856
  disabled: {
803
857
  type: "boolean",
804
- description: "Whether the input is disabled"
858
+ description: "Whether the input is disabled",
859
+ defaultValueHint: false
805
860
  },
806
861
  id: {
807
862
  type: "string",
@@ -822,7 +877,8 @@ var inputPasswordMeta = {
822
877
  size: {
823
878
  type: "choice",
824
879
  options: ["small", "middle", "large"],
825
- description: "The size of the input box"
880
+ description: "The size of the input box",
881
+ defaultValueHint: "middle"
826
882
  },
827
883
  type: {
828
884
  type: "string",
@@ -835,7 +891,8 @@ var inputPasswordMeta = {
835
891
  },
836
892
  visibilityToggle: {
837
893
  type: "boolean",
838
- description: "Whether show toggle button"
894
+ description: "Whether show toggle button",
895
+ defaultValueHint: true
839
896
  }
840
897
  },
841
898
  importPath: "antd/lib/input/Password",
@@ -856,12 +913,14 @@ var inputGroupMeta = {
856
913
  props: {
857
914
  compact: {
858
915
  type: "boolean",
859
- description: "Whether use compact style"
916
+ description: "Whether use compact style",
917
+ defaultValueHint: false
860
918
  },
861
919
  size: {
862
920
  type: "choice",
863
921
  options: ["small", "default", "large"],
864
- description: "The size of Input.Group specifies the size of the included Input fields"
922
+ description: "The size of Input.Group specifies the size of the included Input fields",
923
+ defaultValueHint: "default"
865
924
  },
866
925
  children: {
867
926
  type: "slot",
@@ -893,7 +952,8 @@ var menuDividerMeta = {
893
952
  props: {
894
953
  dashed: {
895
954
  type: "boolean",
896
- description: "Whether line is dashed"
955
+ description: "Whether line is dashed",
956
+ defaultValueHint: false
897
957
  }
898
958
  },
899
959
  importPath: "antd/lib/menu/MenuDivider",
@@ -914,11 +974,13 @@ var menuItemMeta = {
914
974
  props: {
915
975
  danger: {
916
976
  type: "boolean",
917
- description: "Display the danger style"
977
+ description: "Display the danger style",
978
+ defaultValueHint: false
918
979
  },
919
980
  disabled: {
920
981
  type: "boolean",
921
- description: "Whether disabled select"
982
+ description: "Whether disabled select",
983
+ defaultValueHint: false
922
984
  },
923
985
  key: {
924
986
  type: "string",
@@ -986,7 +1048,8 @@ var subMenuMeta = {
986
1048
  props: {
987
1049
  disabled: {
988
1050
  type: "boolean",
989
- description: "Whether sub-menu is disabled"
1051
+ description: "Whether sub-menu is disabled",
1052
+ defaultValueHint: false
990
1053
  },
991
1054
  key: {
992
1055
  type: "string",
@@ -1003,13 +1066,19 @@ var subMenuMeta = {
1003
1066
  children: {
1004
1067
  type: "slot",
1005
1068
  allowedComponents: ["AntdMenuItem", "AntdMenuDivider", "AntdMenuItemGroup", "AntdSubMenu"],
1006
- defaultValue: [{
1007
- type: "component",
1008
- name: "AntdMenuItem",
1009
- props: {
1010
- key: "subMenuItemKey"
1011
- }
1012
- }]
1069
+ defaultValue: /*#__PURE__*/[1, 2].map(function (i) {
1070
+ return {
1071
+ type: "component",
1072
+ name: "AntdMenuItem",
1073
+ props: {
1074
+ key: "subMenuItemKey" + i,
1075
+ children: [{
1076
+ type: "text",
1077
+ value: "Sub-menu item " + i
1078
+ }]
1079
+ }
1080
+ };
1081
+ })
1013
1082
  }
1014
1083
  },
1015
1084
  importPath: "antd/lib/menu/SubMenu",
@@ -1034,20 +1103,24 @@ var menuMeta = {
1034
1103
  },
1035
1104
  forceSubMenuRender: {
1036
1105
  type: "boolean",
1037
- description: "Render submenu into DOM before it becomes visible"
1106
+ description: "Render submenu into DOM before it becomes visible",
1107
+ defaultValueHint: false
1038
1108
  },
1039
1109
  inlineIndent: {
1040
1110
  type: "number",
1041
- description: "Indent (in pixels) of inline menu items on each level"
1111
+ description: "Indent (in pixels) of inline menu items on each level",
1112
+ defaultValueHint: 24
1042
1113
  },
1043
1114
  mode: {
1044
1115
  type: "choice",
1045
1116
  options: ["horizontal", "vertical", "inline"],
1046
- description: "Type of menu"
1117
+ description: "Type of menu",
1118
+ defaultValueHint: "vertical"
1047
1119
  },
1048
1120
  multiple: {
1049
1121
  type: "boolean",
1050
- description: "Allows selection of multiple items"
1122
+ description: "Allows selection of multiple items",
1123
+ defaultValueHint: false
1051
1124
  },
1052
1125
  openKeys: {
1053
1126
  type: "choice",
@@ -1071,7 +1144,8 @@ var menuMeta = {
1071
1144
  },
1072
1145
  selectable: {
1073
1146
  type: "boolean",
1074
- description: "Allows selecting menu items"
1147
+ description: "Allows selecting menu items",
1148
+ defaultValueHint: true
1075
1149
  },
1076
1150
  selectedKeys: {
1077
1151
  type: "choice",
@@ -1091,21 +1165,25 @@ var menuMeta = {
1091
1165
  },
1092
1166
  subMenuCloseDelay: {
1093
1167
  type: "number",
1094
- description: "Delay time to hide submenu when mouse leaves (in seconds)"
1168
+ description: "Delay time to hide submenu when mouse leaves (in seconds)",
1169
+ defaultValueHint: 0.1
1095
1170
  },
1096
1171
  subMenuOpenDelay: {
1097
1172
  type: "number",
1098
- description: "Delay time to show submenu when mouse enters, (in seconds)"
1173
+ description: "Delay time to show submenu when mouse enters, (in seconds)",
1174
+ defaultValueHint: 0
1099
1175
  },
1100
1176
  theme: {
1101
1177
  type: "choice",
1102
1178
  options: ["light", "dark"],
1103
- description: "Color theme of the menu"
1179
+ description: "Color theme of the menu",
1180
+ defaultValueHint: "light"
1104
1181
  },
1105
1182
  triggerSubMenuAction: {
1106
1183
  type: "choice",
1107
1184
  options: ["hover", "click"],
1108
- description: "Which action can trigger submenu open/close"
1185
+ description: "Which action can trigger submenu open/close",
1186
+ defaultValueHint: "hover"
1109
1187
  },
1110
1188
  children: {
1111
1189
  type: "slot",
@@ -1137,7 +1215,8 @@ var optionMeta = {
1137
1215
  props: {
1138
1216
  disabled: {
1139
1217
  type: "boolean",
1140
- description: "Disable this option"
1218
+ description: "Disable this option",
1219
+ defaultValueHint: false
1141
1220
  },
1142
1221
  title: {
1143
1222
  type: "string",
@@ -1207,25 +1286,43 @@ var selectMeta = {
1207
1286
  name: "AntdSelect",
1208
1287
  displayName: "Antd Select",
1209
1288
  props: {
1289
+ allowClear: {
1290
+ type: "boolean",
1291
+ description: "Show clear button",
1292
+ defaultValueHint: false
1293
+ },
1294
+ autoClearSearchValue: {
1295
+ type: "boolean",
1296
+ description: "Whether the current search will be cleared on selecting an item",
1297
+ defaultValueHint: true,
1298
+ hidden: function hidden(props) {
1299
+ return props.mode !== "multiple" && props.mode !== "tags";
1300
+ }
1301
+ },
1210
1302
  autoFocus: {
1211
1303
  type: "boolean",
1212
- description: "Get focus by default"
1304
+ description: "Get focus by default",
1305
+ defaultValueHint: false
1213
1306
  },
1214
1307
  bordered: {
1215
1308
  type: "boolean",
1216
- description: "Whether has border style"
1309
+ description: "Whether has border style",
1310
+ defaultValueHint: true
1217
1311
  },
1218
1312
  disabled: {
1219
1313
  type: "boolean",
1220
- description: "Whether disabled select"
1314
+ description: "Whether disabled select",
1315
+ defaultValueHint: false
1221
1316
  },
1222
1317
  listHeight: {
1223
1318
  type: "number",
1224
- description: "Config popup height"
1319
+ description: "Config popup height",
1320
+ defaultValueHint: 256
1225
1321
  },
1226
1322
  loading: {
1227
1323
  type: "boolean",
1228
- description: "Indicate loading state"
1324
+ description: "Indicate loading state",
1325
+ defaultValueHint: false
1229
1326
  },
1230
1327
  mode: {
1231
1328
  type: "choice",
@@ -1236,7 +1333,8 @@ var selectMeta = {
1236
1333
  type: "boolean",
1237
1334
  editOnly: true,
1238
1335
  uncontrolledProp: "defaultOpen",
1239
- description: "Initial open state of dropdown"
1336
+ description: "Initial open state of dropdown",
1337
+ defaultValueHint: false
1240
1338
  },
1241
1339
  placeholder: {
1242
1340
  type: "slot",
@@ -1247,16 +1345,19 @@ var selectMeta = {
1247
1345
  },
1248
1346
  showArrow: {
1249
1347
  type: "boolean",
1250
- description: "Whether to show the drop-down arrow"
1348
+ description: "Whether to show the drop-down arrow",
1349
+ defaultValueHint: true
1251
1350
  },
1252
1351
  showSearch: {
1253
1352
  type: "boolean",
1254
- description: "Whether show search input in single mode"
1353
+ description: "Whether show search input in single mode",
1354
+ defaultValueHint: false
1255
1355
  },
1256
1356
  size: {
1257
1357
  type: "choice",
1258
1358
  options: ["large", "middle", "small"],
1259
- description: "Set mode of Select"
1359
+ description: "Set mode of Select",
1360
+ defaultValueHint: "middle"
1260
1361
  },
1261
1362
  value: {
1262
1363
  type: "choice",
@@ -1277,7 +1378,8 @@ var selectMeta = {
1277
1378
  },
1278
1379
  virtual: {
1279
1380
  type: "boolean",
1280
- description: "Disable virtual scroll when set to false"
1381
+ description: "Disable virtual scroll when set to false",
1382
+ defaultValueHint: true
1281
1383
  },
1282
1384
  children: {
1283
1385
  type: "slot",
@@ -1343,31 +1445,38 @@ var sliderMeta = {
1343
1445
  props: {
1344
1446
  max: {
1345
1447
  type: "number",
1346
- description: "The maximum value the slider can slide to"
1448
+ description: "The maximum value the slider can slide to",
1449
+ defaultValueHint: 100
1347
1450
  },
1348
1451
  min: {
1349
1452
  type: "number",
1350
- description: "The minimum value the slider can slide to"
1453
+ description: "The minimum value the slider can slide to",
1454
+ defaultValueHint: 0
1351
1455
  },
1352
1456
  included: {
1353
1457
  type: "boolean",
1354
- description: "Make effect when marks not null, true means containment and false means coordinative"
1458
+ description: "Make effect when marks not null, true means containment and false means coordinative",
1459
+ defaultValueHint: true
1355
1460
  },
1356
1461
  disabled: {
1357
1462
  type: "boolean",
1358
- description: "If true, the slider will not be interactable"
1463
+ description: "If true, the slider will not be interactable",
1464
+ defaultValueHint: false
1359
1465
  },
1360
1466
  range: {
1361
1467
  type: "boolean",
1362
- description: "Dual thumb mode"
1468
+ description: "Dual thumb mode",
1469
+ defaultValueHint: false
1363
1470
  },
1364
1471
  reverse: {
1365
1472
  type: "boolean",
1366
- description: "Reverse the component"
1473
+ description: "Reverse the component",
1474
+ defaultValueHint: false
1367
1475
  },
1368
1476
  vertical: {
1369
1477
  type: "boolean",
1370
- description: "If true, the slider will be vertical"
1478
+ description: "If true, the slider will be vertical",
1479
+ defaultValueHint: false
1371
1480
  },
1372
1481
  value: {
1373
1482
  type: "number",
@@ -1416,21 +1525,25 @@ var switchMeta = {
1416
1525
  props: {
1417
1526
  autoFocus: {
1418
1527
  type: "boolean",
1419
- description: "Whether get focus when component mounted"
1528
+ description: "Whether get focus when component mounted",
1529
+ defaultValueHint: false
1420
1530
  },
1421
1531
  checked: {
1422
1532
  type: "boolean",
1423
1533
  editOnly: true,
1424
1534
  uncontrolledProp: "defaultChecked",
1425
- description: "Whether to set the initial state"
1535
+ description: "Whether to set the initial state",
1536
+ defaultValueHint: false
1426
1537
  },
1427
1538
  disabled: {
1428
1539
  type: "boolean",
1429
- description: "Disable switch"
1540
+ description: "Disable switch",
1541
+ defaultValueHint: false
1430
1542
  },
1431
1543
  loading: {
1432
1544
  type: "boolean",
1433
- description: "Loading state of switch"
1545
+ description: "Loading state of switch",
1546
+ defaultValueHint: false
1434
1547
  },
1435
1548
  checkedChildren: {
1436
1549
  type: "slot",
@@ -1445,7 +1558,8 @@ var switchMeta = {
1445
1558
  size: {
1446
1559
  type: "choice",
1447
1560
  options: ["small", "default"],
1448
- description: "The size of the Switch"
1561
+ description: "The size of the Switch",
1562
+ defaultValueHint: "default"
1449
1563
  }
1450
1564
  },
1451
1565
  importPath: "antd",
@@ -1480,6 +1594,16 @@ var tabPaneMeta = {
1480
1594
  description: "Wether the tab can be closed or not. Only works for editable tabs",
1481
1595
  defaultValueHint: true
1482
1596
  },
1597
+ disabled: {
1598
+ type: "boolean",
1599
+ description: "Disabled state of tab",
1600
+ defaultValueHint: false
1601
+ },
1602
+ forceRender: {
1603
+ type: "boolean",
1604
+ description: "Forced render of content in tabs, not lazy render after clicking on tabs",
1605
+ defaultValueHint: false
1606
+ },
1483
1607
  closeIcon: {
1484
1608
  type: "slot",
1485
1609
  hidePlaceholder: true