ywana-core8 0.0.621 → 0.0.622

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.621",
3
+ "version": "0.0.622",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -25,12 +25,12 @@ menu.collection-page>main.collection-filters {
25
25
  }
26
26
 
27
27
  menu.collection-page>.list {
28
- overflow:auto;
28
+ overflow: auto;
29
29
  }
30
30
 
31
31
  menu.collection-page>main {
32
32
  flex: 1;
33
- overflow:auto;
33
+ overflow: auto;
34
34
  }
35
35
 
36
36
  menu.collection-page>footer>.search-box {
@@ -47,4 +47,21 @@ main.collection-page>.content-editor {
47
47
  flex: 1;
48
48
  }
49
49
 
50
+ main.collection-page.dock-to-right {
51
+ display: grid;
52
+ grid-template-areas: "header header" "main dock" "footer dock";
53
+ grid-template-columns: 1fr auto;
54
+ grid-template-rows: auto 1fr auto;
55
+ }
56
+
57
+ main.collection-page.dock-to-right>header {
58
+ grid-area: header;
59
+ }
60
+
61
+ main.collection-page.dock-to-right>main {
62
+ grid-area: main;
63
+ }
50
64
 
65
+ main.collection-page.dock-to-right>article {
66
+ grid-area: dock;
67
+ }
@@ -24,6 +24,7 @@ export const CollectionPage = (props) => {
24
24
  autosave = false, delay = 1000,
25
25
  groupBy, levels, sorter,
26
26
  editor,
27
+ footer,
27
28
  children
28
29
  } = props
29
30
 
@@ -88,6 +89,9 @@ export const CollectionPage = (props) => {
88
89
  <CollectionEditor icon={icon} schema={schema} layout={editor} autosave={autosave} delay={delay} canDelete={canDelete} canEdit={canEdit} onReload={reloadSelection} />
89
90
  {children ? <article>{children}</article> : null}
90
91
  </main>
92
+ <footer>
93
+ {footer}
94
+ </footer>
91
95
  </Fragment>
92
96
  )
93
97
  }