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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.969",
3
+ "version": "0.0.970",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
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: