@plasmicpkgs/antd 0.0.54 → 0.0.55
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.
|
@@ -633,10 +633,32 @@ function registerDropdownButton(loader, customDropdownButtonMeta) {
|
|
|
633
633
|
doRegisterComponent(DropdownButton, customDropdownButtonMeta != null ? customDropdownButtonMeta : dropdownButtonMeta);
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
+
function sortObjectKeys(obj) {
|
|
637
|
+
return Object.fromEntries(Object.entries(obj).sort());
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
function sortProps(props) {
|
|
641
|
+
return sortObjectKeys(props);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
var commonHtmlAttributes = {
|
|
645
|
+
"aria-label": {
|
|
646
|
+
type: "string",
|
|
647
|
+
description: "The ARIA label for this input"
|
|
648
|
+
},
|
|
649
|
+
"aria-labelledby": {
|
|
650
|
+
type: "string",
|
|
651
|
+
description: "Identifies the element(s) that labels this input"
|
|
652
|
+
},
|
|
653
|
+
name: {
|
|
654
|
+
type: "string",
|
|
655
|
+
description: "The HTML name of the input"
|
|
656
|
+
}
|
|
657
|
+
};
|
|
636
658
|
var inputMeta = {
|
|
637
659
|
name: "AntdInput",
|
|
638
660
|
displayName: "Antd Input",
|
|
639
|
-
props: {
|
|
661
|
+
props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
|
|
640
662
|
addonAfter: {
|
|
641
663
|
type: "slot",
|
|
642
664
|
hidePlaceholder: true
|
|
@@ -696,7 +718,7 @@ var inputMeta = {
|
|
|
696
718
|
editOnly: true,
|
|
697
719
|
uncontrolledProp: "defaultValue"
|
|
698
720
|
}
|
|
699
|
-
},
|
|
721
|
+
})),
|
|
700
722
|
importPath: "antd/lib/input",
|
|
701
723
|
importName: "Input",
|
|
702
724
|
isDefaultExport: true
|
|
@@ -711,7 +733,7 @@ function registerInput(loader, customInputMeta) {
|
|
|
711
733
|
var inputTextAreaMeta = {
|
|
712
734
|
name: "AntdInputTextArea",
|
|
713
735
|
displayName: "Antd Input Text Area",
|
|
714
|
-
props: {
|
|
736
|
+
props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
|
|
715
737
|
allowClear: {
|
|
716
738
|
type: "boolean",
|
|
717
739
|
description: "If allow to remove input content with clear icon",
|
|
@@ -753,7 +775,7 @@ var inputTextAreaMeta = {
|
|
|
753
775
|
editOnly: true,
|
|
754
776
|
uncontrolledProp: "defaultValue"
|
|
755
777
|
}
|
|
756
|
-
},
|
|
778
|
+
})),
|
|
757
779
|
importPath: "antd/lib/input/TextArea",
|
|
758
780
|
importName: "TextArea",
|
|
759
781
|
isDefaultExport: true,
|
|
@@ -769,7 +791,7 @@ function registerInputTextArea(loader, customInputTextAreaMeta) {
|
|
|
769
791
|
var inputSearchMeta = {
|
|
770
792
|
name: "AntdInputSearch",
|
|
771
793
|
displayName: "Antd Input Search",
|
|
772
|
-
props: {
|
|
794
|
+
props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
|
|
773
795
|
addonBefore: {
|
|
774
796
|
type: "slot",
|
|
775
797
|
hidePlaceholder: true
|
|
@@ -833,7 +855,7 @@ var inputSearchMeta = {
|
|
|
833
855
|
editOnly: true,
|
|
834
856
|
uncontrolledProp: "defaultValue"
|
|
835
857
|
}
|
|
836
|
-
},
|
|
858
|
+
})),
|
|
837
859
|
importPath: "antd/lib/input/Search",
|
|
838
860
|
importName: "Search",
|
|
839
861
|
isDefaultExport: true,
|
|
@@ -849,7 +871,7 @@ function registerInputSearch(loader, customInputSearchMeta) {
|
|
|
849
871
|
var inputPasswordMeta = {
|
|
850
872
|
name: "AntdInputPassword",
|
|
851
873
|
displayName: "Antd Input Password",
|
|
852
|
-
props: {
|
|
874
|
+
props: /*#__PURE__*/sortProps( /*#__PURE__*/_extends({}, commonHtmlAttributes, {
|
|
853
875
|
addonAfter: {
|
|
854
876
|
type: "slot",
|
|
855
877
|
hidePlaceholder: true
|
|
@@ -909,7 +931,7 @@ var inputPasswordMeta = {
|
|
|
909
931
|
description: "Whether show toggle button",
|
|
910
932
|
defaultValueHint: true
|
|
911
933
|
}
|
|
912
|
-
},
|
|
934
|
+
})),
|
|
913
935
|
importPath: "antd/lib/input/Password",
|
|
914
936
|
importName: "Password",
|
|
915
937
|
isDefaultExport: true,
|