ywana-core8 0.0.175 → 0.0.179

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.175",
3
+ "version": "0.0.179",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -70,6 +70,8 @@ export const TabbedContentEditor = ({ content, filter, grouped = false, onChange
70
70
 
71
71
  const sections = content.sections()
72
72
 
73
+ console.log("TabbedContentEditor",sections)
74
+
73
75
  return (
74
76
  <div className='content-editor tabbed'>
75
77
  <Tabs selected={tab} onChange={changeTab}>
@@ -180,6 +182,9 @@ export const FieldEditor = ({ field, onChange, content, outlined = false }) => {
180
182
  if (isHidden) {
181
183
  return null
182
184
  } else {
185
+
186
+ console.log("FieldEditor: ", label, value1)
187
+
183
188
  switch (type) {
184
189
  case TYPES.ENTITY:
185
190
  return <EntityEditor field={field} value={value1} onChange={change} />
@@ -218,7 +223,7 @@ const EntityEditor = ({ field, value = {}, onChange }) => {
218
223
 
219
224
  return (
220
225
  <div className='entity-editor'>
221
- <header>
226
+ <header>∂
222
227
  <Text use='caption'>{label}</Text>
223
228
  </header>
224
229
  <main>
@@ -259,7 +264,7 @@ export const StringEditor = ({ field, value = '', onChange, content, outlined })
259
264
  /**
260
265
  * Number Editor
261
266
  */
262
- const NumberEditor = ({ field, value, onChange }) => {
267
+ const NumberEditor = ({ field, value, onChange, outlined = false }) => {
263
268
  const { id, label, editable = true } = field
264
269
 
265
270
  function change(id, value) {
@@ -30,6 +30,7 @@
30
30
  position: absolute;
31
31
  top: 1.7rem;
32
32
  right: .2rem;
33
+ color: rgba(150,150,150,1);
33
34
  }
34
35
 
35
36
  .textfield-outlined > label {
@@ -33,6 +33,7 @@
33
33
  position: absolute;
34
34
  top: 1.7rem;
35
35
  right: .2rem;
36
+ color: rgba(150,150,150,1);
36
37
  }
37
38
 
38
39
  .textfield > label {