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/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -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 +1 -0
package/package.json
CHANGED
@@ -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:
|