vap1 0.6.8 → 0.7.0
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.
|
@@ -217,7 +217,7 @@ var Color = function (_a) {
|
|
|
217
217
|
style.color = value;
|
|
218
218
|
style.fontWeight = 'bold';
|
|
219
219
|
}
|
|
220
|
-
return react_1.default.createElement(index_1.ColorPicker, __assign({}, colorProps, { disabled: isDisabled, value: value, onChange: function (
|
|
220
|
+
return react_1.default.createElement(index_1.ColorPicker, __assign({}, colorProps, { disabled: isDisabled, value: value, onChange: function (hex) { return setValue(editor, cmd, hex); } }),
|
|
221
221
|
react_1.default.createElement("span", { className: clazz.join(' '), style: style }));
|
|
222
222
|
};
|
|
223
223
|
exports.Color = Color;
|
|
@@ -235,7 +235,7 @@ var BgColor = function (_a) {
|
|
|
235
235
|
if (value) {
|
|
236
236
|
style.backgroundColor = value;
|
|
237
237
|
}
|
|
238
|
-
return react_1.default.createElement(index_1.ColorPicker, __assign({}, colorProps, { disabled: isDisabled, value: value, onChange: function (
|
|
238
|
+
return react_1.default.createElement(index_1.ColorPicker, __assign({}, colorProps, { disabled: isDisabled, value: value, onChange: function (hex) { return setValue(editor, cmd, hex); } }),
|
|
239
239
|
react_1.default.createElement("span", { className: clazz.join(' '), style: style }));
|
|
240
240
|
};
|
|
241
241
|
exports.BgColor = BgColor;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"vap1","version":"0.
|
|
1
|
+
{"name":"vap1","version":"0.7.0","description":"vap1, Both support MicroService and SAP FrameWork, Support IE>9","main":"index.js","author":"Xiang da","license":"ISC"}
|