@plasmicpkgs/antd 2.0.36 → 2.0.38
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/.tsbuildinfo +1 -1
- package/dist/antd.esm.js +33 -21
- package/dist/index.js +33 -21
- package/dist/index.js.map +1 -1
- package/dist/registerCheckbox.d.ts +3 -7
- package/dist/registerInput.d.ts +3 -7
- package/package.json +3 -3
- package/skinny/registerCheckbox.d.ts +3 -7
- package/skinny/registerCheckbox.js +9 -9
- package/skinny/registerCheckbox.js.map +1 -1
- package/skinny/registerInput.d.ts +3 -7
- package/skinny/registerInput.js +24 -12
- package/skinny/registerInput.js.map +1 -1
package/dist/antd.esm.js
CHANGED
|
@@ -208,15 +208,11 @@ class CheckboxWrapper extends React.Component {
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
const checkboxHelpers = {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
onChangeArgsToValue: (e) => e.target.checked
|
|
215
|
-
}
|
|
211
|
+
states: {
|
|
212
|
+
value: {
|
|
213
|
+
onChangeArgsToValue: (e) => e.target.checked
|
|
216
214
|
}
|
|
217
|
-
}
|
|
218
|
-
importName: "checkboxHelpers",
|
|
219
|
-
importPath: "@plasmicpkgs/plasmic-antd/registerCheckbox"
|
|
215
|
+
}
|
|
220
216
|
};
|
|
221
217
|
const checkboxMeta = {
|
|
222
218
|
name: "AntdCheckbox",
|
|
@@ -273,7 +269,11 @@ const checkboxMeta = {
|
|
|
273
269
|
valueProp: "checked"
|
|
274
270
|
}
|
|
275
271
|
},
|
|
276
|
-
componentHelpers:
|
|
272
|
+
componentHelpers: {
|
|
273
|
+
helpers: checkboxHelpers,
|
|
274
|
+
importName: "checkboxHelpers",
|
|
275
|
+
importPath: "@plasmicpkgs/antd/skinny/registerCheckbox"
|
|
276
|
+
},
|
|
277
277
|
importPath: "antd/lib/checkbox/Checkbox",
|
|
278
278
|
importName: "Checkbox",
|
|
279
279
|
defaultStyles: {
|
|
@@ -710,15 +710,11 @@ const commonHtmlAttributes = {
|
|
|
710
710
|
}
|
|
711
711
|
};
|
|
712
712
|
const inputHelpers = {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
onChangeArgsToValue: (e) => e.target.value
|
|
717
|
-
}
|
|
713
|
+
states: {
|
|
714
|
+
value: {
|
|
715
|
+
onChangeArgsToValue: (e) => e.target.value
|
|
718
716
|
}
|
|
719
|
-
}
|
|
720
|
-
importName: "inputHelpers",
|
|
721
|
-
importPath: "@plasmicpkgs/plasmic-antd/registerInput"
|
|
717
|
+
}
|
|
722
718
|
};
|
|
723
719
|
const inputMeta = {
|
|
724
720
|
name: "AntdInput",
|
|
@@ -799,7 +795,11 @@ const inputMeta = {
|
|
|
799
795
|
valueProp: "value"
|
|
800
796
|
}
|
|
801
797
|
},
|
|
802
|
-
componentHelpers:
|
|
798
|
+
componentHelpers: {
|
|
799
|
+
helpers: inputHelpers,
|
|
800
|
+
importName: "inputHelpers",
|
|
801
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
802
|
+
},
|
|
803
803
|
importPath: "antd/lib/input",
|
|
804
804
|
importName: "Input",
|
|
805
805
|
isDefaultExport: true
|
|
@@ -869,7 +869,11 @@ const inputTextAreaMeta = {
|
|
|
869
869
|
valueProp: "value"
|
|
870
870
|
}
|
|
871
871
|
},
|
|
872
|
-
componentHelpers:
|
|
872
|
+
componentHelpers: {
|
|
873
|
+
helpers: inputHelpers,
|
|
874
|
+
importName: "inputHelpers",
|
|
875
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
876
|
+
},
|
|
873
877
|
importPath: "antd/lib/input/TextArea",
|
|
874
878
|
importName: "TextArea",
|
|
875
879
|
isDefaultExport: true,
|
|
@@ -962,7 +966,11 @@ const inputSearchMeta = {
|
|
|
962
966
|
valueProp: "value"
|
|
963
967
|
}
|
|
964
968
|
},
|
|
965
|
-
componentHelpers:
|
|
969
|
+
componentHelpers: {
|
|
970
|
+
helpers: inputHelpers,
|
|
971
|
+
importName: "inputHelpers",
|
|
972
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
973
|
+
},
|
|
966
974
|
importPath: "antd/lib/input/Search",
|
|
967
975
|
importName: "Search",
|
|
968
976
|
isDefaultExport: true,
|
|
@@ -1051,7 +1059,11 @@ const inputPasswordMeta = {
|
|
|
1051
1059
|
valueProp: "value"
|
|
1052
1060
|
}
|
|
1053
1061
|
},
|
|
1054
|
-
componentHelpers:
|
|
1062
|
+
componentHelpers: {
|
|
1063
|
+
helpers: inputHelpers,
|
|
1064
|
+
importName: "inputHelpers",
|
|
1065
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
1066
|
+
},
|
|
1055
1067
|
importPath: "antd/lib/input/Password",
|
|
1056
1068
|
importName: "Password",
|
|
1057
1069
|
isDefaultExport: true,
|
package/dist/index.js
CHANGED
|
@@ -238,15 +238,11 @@ class CheckboxWrapper extends React__default.default.Component {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
const checkboxHelpers = {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
onChangeArgsToValue: (e) => e.target.checked
|
|
245
|
-
}
|
|
241
|
+
states: {
|
|
242
|
+
value: {
|
|
243
|
+
onChangeArgsToValue: (e) => e.target.checked
|
|
246
244
|
}
|
|
247
|
-
}
|
|
248
|
-
importName: "checkboxHelpers",
|
|
249
|
-
importPath: "@plasmicpkgs/plasmic-antd/registerCheckbox"
|
|
245
|
+
}
|
|
250
246
|
};
|
|
251
247
|
const checkboxMeta = {
|
|
252
248
|
name: "AntdCheckbox",
|
|
@@ -303,7 +299,11 @@ const checkboxMeta = {
|
|
|
303
299
|
valueProp: "checked"
|
|
304
300
|
}
|
|
305
301
|
},
|
|
306
|
-
componentHelpers:
|
|
302
|
+
componentHelpers: {
|
|
303
|
+
helpers: checkboxHelpers,
|
|
304
|
+
importName: "checkboxHelpers",
|
|
305
|
+
importPath: "@plasmicpkgs/antd/skinny/registerCheckbox"
|
|
306
|
+
},
|
|
307
307
|
importPath: "antd/lib/checkbox/Checkbox",
|
|
308
308
|
importName: "Checkbox",
|
|
309
309
|
defaultStyles: {
|
|
@@ -740,15 +740,11 @@ const commonHtmlAttributes = {
|
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
742
|
const inputHelpers = {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
onChangeArgsToValue: (e) => e.target.value
|
|
747
|
-
}
|
|
743
|
+
states: {
|
|
744
|
+
value: {
|
|
745
|
+
onChangeArgsToValue: (e) => e.target.value
|
|
748
746
|
}
|
|
749
|
-
}
|
|
750
|
-
importName: "inputHelpers",
|
|
751
|
-
importPath: "@plasmicpkgs/plasmic-antd/registerInput"
|
|
747
|
+
}
|
|
752
748
|
};
|
|
753
749
|
const inputMeta = {
|
|
754
750
|
name: "AntdInput",
|
|
@@ -829,7 +825,11 @@ const inputMeta = {
|
|
|
829
825
|
valueProp: "value"
|
|
830
826
|
}
|
|
831
827
|
},
|
|
832
|
-
componentHelpers:
|
|
828
|
+
componentHelpers: {
|
|
829
|
+
helpers: inputHelpers,
|
|
830
|
+
importName: "inputHelpers",
|
|
831
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
832
|
+
},
|
|
833
833
|
importPath: "antd/lib/input",
|
|
834
834
|
importName: "Input",
|
|
835
835
|
isDefaultExport: true
|
|
@@ -899,7 +899,11 @@ const inputTextAreaMeta = {
|
|
|
899
899
|
valueProp: "value"
|
|
900
900
|
}
|
|
901
901
|
},
|
|
902
|
-
componentHelpers:
|
|
902
|
+
componentHelpers: {
|
|
903
|
+
helpers: inputHelpers,
|
|
904
|
+
importName: "inputHelpers",
|
|
905
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
906
|
+
},
|
|
903
907
|
importPath: "antd/lib/input/TextArea",
|
|
904
908
|
importName: "TextArea",
|
|
905
909
|
isDefaultExport: true,
|
|
@@ -992,7 +996,11 @@ const inputSearchMeta = {
|
|
|
992
996
|
valueProp: "value"
|
|
993
997
|
}
|
|
994
998
|
},
|
|
995
|
-
componentHelpers:
|
|
999
|
+
componentHelpers: {
|
|
1000
|
+
helpers: inputHelpers,
|
|
1001
|
+
importName: "inputHelpers",
|
|
1002
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
1003
|
+
},
|
|
996
1004
|
importPath: "antd/lib/input/Search",
|
|
997
1005
|
importName: "Search",
|
|
998
1006
|
isDefaultExport: true,
|
|
@@ -1081,7 +1089,11 @@ const inputPasswordMeta = {
|
|
|
1081
1089
|
valueProp: "value"
|
|
1082
1090
|
}
|
|
1083
1091
|
},
|
|
1084
|
-
componentHelpers:
|
|
1092
|
+
componentHelpers: {
|
|
1093
|
+
helpers: inputHelpers,
|
|
1094
|
+
importName: "inputHelpers",
|
|
1095
|
+
importPath: "@plasmicpkgs/antd/skinny/registerInput"
|
|
1096
|
+
},
|
|
1085
1097
|
importPath: "antd/lib/input/Password",
|
|
1086
1098
|
importName: "Password",
|
|
1087
1099
|
isDefaultExport: true,
|