@icos-desktop/react-components 2.0.0-beta.1 → 2.0.0-beta.1.0.1
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/build/index.esm.js +2 -2
- package/build/index.js +2 -2
- package/build/index.umd.js +2 -2
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -223303,7 +223303,7 @@ var styles$s = {"container":"SenseCreate-module_container__Lxdyb"};
|
|
223303
223303
|
styleInject(css_248z$t);
|
223304
223304
|
|
223305
223305
|
var SenseCreate = function (props) {
|
223306
|
-
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor;
|
223306
|
+
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor, downloadTextColor = props.downloadTextColor, uploadTextColor = props.uploadTextColor, uploadHintColor = props.uploadHintColor, uploadFileNameColor = props.uploadFileNameColor, bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth, uploadImgColor = props.uploadImgColor, fileImgColor = props.fileImgColor, deleteImgColor = props.deleteImgColor;
|
223307
223307
|
// 新建方式
|
223308
223308
|
var _a = useState('single'), createType = _a[0], setCreateType = _a[1];
|
223309
223309
|
var handleChangeCreateType = function (e) {
|
@@ -223314,7 +223314,7 @@ var SenseCreate = function (props) {
|
|
223314
223314
|
return React__default.createElement(SenseEdit, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223315
223315
|
}
|
223316
223316
|
if (createType === 'upload') {
|
223317
|
-
return React__default.createElement(SenseUpload, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223317
|
+
return (React__default.createElement(SenseUpload, { downloadTextColor: downloadTextColor, uploadTextColor: uploadTextColor, uploadHintColor: uploadHintColor, uploadFileNameColor: uploadFileNameColor, bottomBgColor: bottomBgColor, bottomBorderStyle: bottomBorderStyle, bottomBorderColor: bottomBorderColor, bottomBorderWidth: bottomBorderWidth, uploadImgColor: uploadImgColor, fileImgColor: fileImgColor, deleteImgColor: deleteImgColor, bookId: bookId, onCancel: onCancel, onSuccess: onSuccess }));
|
223318
223318
|
}
|
223319
223319
|
return null;
|
223320
223320
|
};
|
package/build/index.js
CHANGED
@@ -223323,7 +223323,7 @@ var styles$s = {"container":"SenseCreate-module_container__Lxdyb"};
|
|
223323
223323
|
styleInject(css_248z$t);
|
223324
223324
|
|
223325
223325
|
var SenseCreate = function (props) {
|
223326
|
-
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor;
|
223326
|
+
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor, downloadTextColor = props.downloadTextColor, uploadTextColor = props.uploadTextColor, uploadHintColor = props.uploadHintColor, uploadFileNameColor = props.uploadFileNameColor, bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth, uploadImgColor = props.uploadImgColor, fileImgColor = props.fileImgColor, deleteImgColor = props.deleteImgColor;
|
223327
223327
|
// 新建方式
|
223328
223328
|
var _a = React.useState('single'), createType = _a[0], setCreateType = _a[1];
|
223329
223329
|
var handleChangeCreateType = function (e) {
|
@@ -223334,7 +223334,7 @@ var SenseCreate = function (props) {
|
|
223334
223334
|
return React.createElement(SenseEdit, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223335
223335
|
}
|
223336
223336
|
if (createType === 'upload') {
|
223337
|
-
return React.createElement(SenseUpload, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223337
|
+
return (React.createElement(SenseUpload, { downloadTextColor: downloadTextColor, uploadTextColor: uploadTextColor, uploadHintColor: uploadHintColor, uploadFileNameColor: uploadFileNameColor, bottomBgColor: bottomBgColor, bottomBorderStyle: bottomBorderStyle, bottomBorderColor: bottomBorderColor, bottomBorderWidth: bottomBorderWidth, uploadImgColor: uploadImgColor, fileImgColor: fileImgColor, deleteImgColor: deleteImgColor, bookId: bookId, onCancel: onCancel, onSuccess: onSuccess }));
|
223338
223338
|
}
|
223339
223339
|
return null;
|
223340
223340
|
};
|
package/build/index.umd.js
CHANGED
@@ -223324,7 +223324,7 @@ ${indent}columns: ${matrix.columns}
|
|
223324
223324
|
styleInject(css_248z$t);
|
223325
223325
|
|
223326
223326
|
var SenseCreate = function (props) {
|
223327
|
-
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor;
|
223327
|
+
var bookId = props.bookId, onCancel = props.onCancel, onSuccess = props.onSuccess, textColor = props.textColor, downloadTextColor = props.downloadTextColor, uploadTextColor = props.uploadTextColor, uploadHintColor = props.uploadHintColor, uploadFileNameColor = props.uploadFileNameColor, bottomBgColor = props.bottomBgColor, bottomBorderStyle = props.bottomBorderStyle, bottomBorderColor = props.bottomBorderColor, bottomBorderWidth = props.bottomBorderWidth, uploadImgColor = props.uploadImgColor, fileImgColor = props.fileImgColor, deleteImgColor = props.deleteImgColor;
|
223328
223328
|
// 新建方式
|
223329
223329
|
var _a = React.useState('single'), createType = _a[0], setCreateType = _a[1];
|
223330
223330
|
var handleChangeCreateType = function (e) {
|
@@ -223335,7 +223335,7 @@ ${indent}columns: ${matrix.columns}
|
|
223335
223335
|
return React.createElement(SenseEdit, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223336
223336
|
}
|
223337
223337
|
if (createType === 'upload') {
|
223338
|
-
return React.createElement(SenseUpload, { bookId: bookId, onCancel: onCancel, onSuccess: onSuccess });
|
223338
|
+
return (React.createElement(SenseUpload, { downloadTextColor: downloadTextColor, uploadTextColor: uploadTextColor, uploadHintColor: uploadHintColor, uploadFileNameColor: uploadFileNameColor, bottomBgColor: bottomBgColor, bottomBorderStyle: bottomBorderStyle, bottomBorderColor: bottomBorderColor, bottomBorderWidth: bottomBorderWidth, uploadImgColor: uploadImgColor, fileImgColor: fileImgColor, deleteImgColor: deleteImgColor, bookId: bookId, onCancel: onCancel, onSuccess: onSuccess }));
|
223339
223339
|
}
|
223340
223340
|
return null;
|
223341
223341
|
};
|