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.modern.js
CHANGED
@@ -1202,7 +1202,8 @@ var FORMATS = {
|
|
1202
1202
|
HTML: 'HTML',
|
1203
1203
|
URL: 'URL',
|
1204
1204
|
IMG: 'IMG',
|
1205
|
-
COLOR: 'COLOR'
|
1205
|
+
COLOR: 'COLOR',
|
1206
|
+
TOKENS: 'TOKENS'
|
1206
1207
|
};
|
1207
1208
|
/**
|
1208
1209
|
* CHECK
|
@@ -4138,6 +4139,15 @@ var StringEditor = function StringEditor(_ref6) {
|
|
4138
4139
|
readOnly: !editable
|
4139
4140
|
});
|
4140
4141
|
|
4142
|
+
case FORMATS.TOKENS:
|
4143
|
+
return /*#__PURE__*/React.createElement(TokenField, {
|
4144
|
+
id: id,
|
4145
|
+
label: label,
|
4146
|
+
onChange: change,
|
4147
|
+
readOnly: !editable,
|
4148
|
+
options: options
|
4149
|
+
});
|
4150
|
+
|
4141
4151
|
default:
|
4142
4152
|
return options ? /*#__PURE__*/React.createElement(DropDown, {
|
4143
4153
|
outlined: outlined,
|