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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -1
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -2
- package/src/html/tree.css +0 -1
package/package.json
CHANGED
@@ -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
|
|