ywana-core8 0.0.727 → 0.0.729

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.727",
3
+ "version": "0.0.729",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -33,7 +33,7 @@
33
33
  overflow: hidden;
34
34
  }
35
35
 
36
- .collection-page.ide .collection-editor {
36
+ .collection-page .collection-editor {
37
37
  grid-area: main;
38
38
  overflow: hidden;
39
39
  }
package/src/html/table.js CHANGED
@@ -256,6 +256,7 @@ const StringCellViewer = ({ id, value, format, options }) => {
256
256
 
257
257
  const option = options ? buildOptions().find(o => o.value === value) : null
258
258
  let text = option ? option.label : value
259
+ const className = option ? option.className : ''
259
260
  const locale = window.navigator.userLanguage || window.navigator.language;
260
261
  switch (format) {
261
262
  case FORMATS.COLOR:
@@ -275,7 +276,7 @@ const StringCellViewer = ({ id, value, format, options }) => {
275
276
  text = new Date(text).toLocaleString(locale, { year: 'hour', month: 'minute', day: 'second' });
276
277
  break;
277
278
  }
278
- return (<div className="field-editor string-viewer">{text}</div>)
279
+ return (<div className={`field-editor string-viewer ${className}`}>{text}</div>)
279
280
  }
280
281
 
281
282
  /**