ywana-core8 0.0.70 → 0.0.71

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.70",
3
+ "version": "0.0.71",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -143,7 +143,7 @@ export const TreededContentEditor = ({ content, filter, onChange }) => {
143
143
  </header>
144
144
  <Tree>
145
145
  {nodes.map((node, index) => (
146
- <TreeNode icon="folder" label={node.label} actions={[<Icon small icon="add" clickable action={add} />]}>
146
+ <TreeNode icon="folder" label={node.label} actions={[<Icon size="small" icon="add" clickable action={add} />]}>
147
147
  {
148
148
  value[node.id] ? value[node.id].map((field, index) => <TreeItem icon={field.icon || "description"} label={field.name || field.label} onSelect={() => select(index, field, node)} />) : null
149
149
  }
@@ -362,7 +362,7 @@ export const CollectionEditor = ({ field, value = [], onChange }) => {
362
362
  ...item,
363
363
  id: index,
364
364
  actions: [
365
- <Icon icon='delete' clickable action={() => remove(index)} small />
365
+ <Icon icon='delete' clickable action={() => remove(index)} size="small" />
366
366
  ]
367
367
  }))
368
368
 
package/src/html/tree.css CHANGED
@@ -10,7 +10,6 @@
10
10
 
11
11
  .tree-item{
12
12
  margin: 0;
13
- padding: .5rem 0;
14
13
  display: flex;
15
14
  align-items: center;
16
15
  font: 1rem;