code7-leia 0.1.124 → 0.1.125
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/code7-leia.cjs.development.js +4 -4
- package/dist/code7-leia.cjs.development.js.map +1 -1
- package/dist/code7-leia.cjs.production.min.js +1 -1
- package/dist/code7-leia.cjs.production.min.js.map +1 -1
- package/dist/code7-leia.esm.js +4 -4
- package/dist/code7-leia.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FileArea/components/AreaUpload/index.tsx +1 -3
- package/src/components/MultiSelect/index.tsx +2 -2
|
@@ -1022,11 +1022,11 @@ var MultiSelect = function MultiSelect(_ref) {
|
|
|
1022
1022
|
};
|
|
1023
1023
|
return React__default.createElement("form", null, React__default.createElement(MultiSelectWrapper, null, React__default.createElement(SelectBox, {
|
|
1024
1024
|
onClick: showCheckboxes
|
|
1025
|
-
}, React__default.createElement("select", null,
|
|
1025
|
+
}, React__default.createElement("select", null, options.map(function (option, index) {
|
|
1026
1026
|
return React__default.createElement("option", {
|
|
1027
1027
|
key: index,
|
|
1028
|
-
value: option
|
|
1029
|
-
}, option);
|
|
1028
|
+
value: option.value
|
|
1029
|
+
}, option.label);
|
|
1030
1030
|
})), React__default.createElement(OverSelect, null, React__default.createElement("input", {
|
|
1031
1031
|
type: "text",
|
|
1032
1032
|
placeholder: "Add new option",
|
|
@@ -1130,7 +1130,7 @@ var AreaUpload = function AreaUpload(_ref) {
|
|
|
1130
1130
|
isDragActive = _useDropzone.isDragActive,
|
|
1131
1131
|
isDragAccept = _useDropzone.isDragAccept,
|
|
1132
1132
|
isDragReject = _useDropzone.isDragReject;
|
|
1133
|
-
return React__default.createElement(React__default.Fragment, null,
|
|
1133
|
+
return React__default.createElement(React__default.Fragment, null, multipleFile || (myFiles == null ? void 0 : myFiles.length) === 0 || !file ? React__default.createElement(Container$2, Object.assign({}, getRootProps({
|
|
1134
1134
|
isDragActive: isDragActive,
|
|
1135
1135
|
isDragAccept: isDragAccept,
|
|
1136
1136
|
isDragReject: isDragReject
|