ywana-core8 0.0.388 → 0.0.389

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.388",
3
+ "version": "0.0.389",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -245,6 +245,7 @@ export const StringEditor = ({ field, value = '', onChange, content, outlined })
245
245
 
246
246
  function renderFormat(format, options) {
247
247
  switch (format) {
248
+ case FORMATS.COLOR: return <div>COLOR PICKER</div>
248
249
  case FORMATS.HTML: return <Editor id={id} value={value} onChange={change} content={content} />
249
250
  case FORMATS.DATE: return <TextField outlined={outlined} id={id} type="date" label={label} value={value} onChange={change} readOnly={!editable} />
250
251
  default:
@@ -21,6 +21,7 @@ export const FORMATS = {
21
21
  HTML: 'HTML',
22
22
  URL: 'URL',
23
23
  IMG: 'IMG',
24
+ COLOR: 'COLOR'
24
25
  }
25
26
 
26
27
  /**