@firecms/core 3.0.0-alpha.63 → 3.0.0-alpha.64
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.d.ts +0 -1
- package/dist/index.es.js +288 -289
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/core/Scaffold.tsx +5 -8
- package/src/index.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firecms/core",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.64",
|
|
4
4
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
|
5
5
|
"funding": {
|
|
6
6
|
"url": "https://github.com/sponsors/firecmsco"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"generateIcons": "ts-node --esm src/icons/generateIcons.ts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@firecms/ui": "^3.0.0-alpha.
|
|
48
|
+
"@firecms/ui": "^3.0.0-alpha.64",
|
|
49
49
|
"@fontsource/ibm-plex-mono": "^5.0.8",
|
|
50
50
|
"@fontsource/roboto": "^5.0.8",
|
|
51
51
|
"@hello-pangea/dnd": "^16.5.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"dist",
|
|
117
117
|
"src"
|
|
118
118
|
],
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "da6a7aca05fc7b09614f9d67409881e0cefd27f2",
|
|
120
120
|
"publishConfig": {
|
|
121
121
|
"access": "public"
|
|
122
122
|
}
|
package/src/core/Scaffold.tsx
CHANGED
|
@@ -83,7 +83,6 @@ export const Scaffold = React.memo<PropsWithChildren<ScaffoldProps>>(
|
|
|
83
83
|
|
|
84
84
|
const largeLayout = useLargeLayout();
|
|
85
85
|
|
|
86
|
-
const navigation = useNavigationController();
|
|
87
86
|
const [drawerOpen, setDrawerOpen] = React.useState(false);
|
|
88
87
|
const [onHover, setOnHover] = React.useState(false);
|
|
89
88
|
|
|
@@ -124,13 +123,11 @@ export const Scaffold = React.memo<PropsWithChildren<ScaffoldProps>>(
|
|
|
124
123
|
hovered={onHover}
|
|
125
124
|
setDrawerOpen={setDrawerOpen}>
|
|
126
125
|
{includeDrawer && (
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
closeDrawer={handleDrawerClose}
|
|
133
|
-
{...drawerProps}/>)}
|
|
126
|
+
<Drawer
|
|
127
|
+
hovered={onHover}
|
|
128
|
+
drawerOpen={computedDrawerOpen}
|
|
129
|
+
closeDrawer={handleDrawerClose}
|
|
130
|
+
{...drawerProps}/> )}
|
|
134
131
|
</StyledDrawer>
|
|
135
132
|
|
|
136
133
|
<main
|