ywana-core8 0.0.801 → 0.0.802

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.801",
3
+ "version": "0.0.802",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -219,7 +219,7 @@ export const FieldEditor = ({ field, onChange, content, outlined = false, onRelo
219
219
  * Entity Editor
220
220
  */
221
221
  const EntityEditor = ({ field, value = {}, onChange }) => {
222
- const { id, item, label } = field
222
+ const { id, item, label, outlined=false } = field
223
223
  const content = new Content(item, value)
224
224
 
225
225
  function change(fid, value) {
@@ -258,7 +258,7 @@ const EntityEditor = ({ field, value = {}, onChange }) => {
258
258
  <section key={title}>
259
259
  {title && title.length > 0 ? <header>{title}</header> : null}
260
260
  <main>
261
- {filtered.map((field) => <FieldEditor key={field.id} field={field} onChange={change} outlined={true} content={content} />)}
261
+ {filtered.map((field) => <FieldEditor key={field.id} field={field} onChange={change} outlined={outlined} content={content} />)}
262
262
  </main>
263
263
  </section>
264
264
  ) : null