ywana-core8 0.0.581 → 0.0.582

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.581",
3
+ "version": "0.0.582",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -251,7 +251,8 @@ export const CollectionTree = (props) => {
251
251
  <TreeNode key={node.name} icon={null} label={title} open={true}>
252
252
  {node.nodes ? renderNodes(node.nodes) : node.items.map(item => {
253
253
  const selected = pageContext.selected && item.id === pageContext.selected.id
254
- return <TreeItem icon={icon} key={item.id} id={item.id} label={item.name} onSelect={select} selected={selected}>item</TreeItem>
254
+ const actions = []
255
+ return <TreeItem icon={icon} key={item.id} id={item.id} label={item.name} onSelect={select} selected={selected} actions={actions} />
255
256
  })}
256
257
  </TreeNode>
257
258
  )
@@ -1,6 +1,7 @@
1
1
  export { TYPES, FORMATS, Content } from './ContentType'
2
2
  export { ContentForm } from './ContentForm'
3
3
  export { ContentEditor, TabbedContentEditor, CollectionEditor, TreededContentEditor, FieldEditor, ListEditor } from './ContentEditor'
4
+ export { ContentViewer } from './ContentViewer'
4
5
  export { CreateContentDialog } from './CreateContentDialog'
5
6
  export { EditContentDialog } from './EditContentDialog'
6
7
  export { CollectionPage, CollectionContext, CollectionTree, CollectionFilters } from './CollectionPage'