ywana-core8 0.0.969 → 0.0.970
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 +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +3 -0
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -414,6 +414,9 @@ const StringCellViewer = ({ id, value, format, options, action }) => {
|
|
414
414
|
const className = option ? option.className : ''
|
415
415
|
const locale = window.navigator.userLanguage || window.navigator.language;
|
416
416
|
switch (format) {
|
417
|
+
case FORMATS.TOKENS:
|
418
|
+
text = value.split(',').map(token => <span className="token">{token}</span>)
|
419
|
+
break;
|
417
420
|
case FORMATS.COLOR:
|
418
421
|
text = <input type="color" value={text} disabled />
|
419
422
|
case FORMATS.URL:
|