ywana-core8 0.0.186 → 0.0.190
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -1
- package/src/css/theme.css +1 -1
- package/src/domain/ContentEditor.js +1 -3
- package/src/domain/ContentType.js +2 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ywana-core8",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.190",
|
4
4
|
"description": "ywana-core8",
|
5
5
|
"author": "Ernesto Roldan Garcia",
|
6
6
|
"license": "MIT",
|
@@ -15,6 +15,9 @@
|
|
15
15
|
"bugs": {
|
16
16
|
"url": "https://github.com/ywana/ywana-core8/issues"
|
17
17
|
},
|
18
|
+
"resolutions": {
|
19
|
+
"react-error-overlay": "6.0.9"
|
20
|
+
},
|
18
21
|
"peerDependencies": {
|
19
22
|
"react": "17.x",
|
20
23
|
"react-dom": "17.x"
|
@@ -29,6 +32,7 @@
|
|
29
32
|
"deep-equal": "^2.0.5",
|
30
33
|
"material-design-icons-iconfont": "^6.1.1",
|
31
34
|
"react-datepicker": "^4.6.0",
|
35
|
+
"react-error-overlay": "^6.0.10",
|
32
36
|
"react-notifications": "^1.7.3",
|
33
37
|
"react-switch": "^6.0.0",
|
34
38
|
"resumablejs": "^1.1.0"
|
package/src/css/theme.css
CHANGED
@@ -70,8 +70,6 @@ export const TabbedContentEditor = ({ content, filter, grouped = false, onChange
|
|
70
70
|
|
71
71
|
const sections = content.sections()
|
72
72
|
|
73
|
-
console.log("TabbedContentEditor",sections)
|
74
|
-
|
75
73
|
return (
|
76
74
|
<div className='content-editor tabbed'>
|
77
75
|
<Tabs selected={tab} onChange={changeTab}>
|
@@ -253,7 +251,7 @@ export const StringEditor = ({ field, value = '', onChange, content, outlined })
|
|
253
251
|
return (
|
254
252
|
<div className='field-editor string-editor'>
|
255
253
|
|
256
|
-
{ format === FORMATS.HTML ? <Editor value={value} onChange={change}/> : null}
|
254
|
+
{ format === FORMATS.HTML ? <Editor id={id} value={value} onChange={change} content={content}/> : null }
|
257
255
|
|
258
256
|
{
|
259
257
|
format === FORMATS.DATE ? <TextField outlined={outlined} id={id} type="date" label={label} value={value} onChange={change} readOnly={!editable} /> :
|