ywana-core8 0.0.395 → 0.0.396
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/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +11 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +11 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +1 -0
- package/src/domain/ContentType.js +2 -1
package/dist/index.cjs
CHANGED
@@ -1210,7 +1210,8 @@ var FORMATS = {
|
|
1210
1210
|
HTML: 'HTML',
|
1211
1211
|
URL: 'URL',
|
1212
1212
|
IMG: 'IMG',
|
1213
|
-
COLOR: 'COLOR'
|
1213
|
+
COLOR: 'COLOR',
|
1214
|
+
TOKENS: 'TOKENS'
|
1214
1215
|
};
|
1215
1216
|
/**
|
1216
1217
|
* CHECK
|
@@ -4146,6 +4147,15 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4146
4147
|
readOnly: !editable
|
4147
4148
|
});
|
4148
4149
|
|
4150
|
+
case FORMATS.TOKENS:
|
4151
|
+
return /*#__PURE__*/React__default["default"].createElement(TokenField, {
|
4152
|
+
id: id,
|
4153
|
+
label: label,
|
4154
|
+
onChange: change,
|
4155
|
+
readOnly: !editable,
|
4156
|
+
options: options
|
4157
|
+
});
|
4158
|
+
|
4149
4159
|
default:
|
4150
4160
|
return options ? /*#__PURE__*/React__default["default"].createElement(DropDown, {
|
4151
4161
|
outlined: outlined,
|