@firecms/core 3.0.0-canary.100 → 3.0.0-canary.101
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.es.js +5 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
- package/src/app/Scaffold.tsx +5 -2
package/dist/index.umd.js
CHANGED
|
@@ -19569,6 +19569,7 @@
|
|
|
19569
19569
|
setDrawerOpen(false);
|
|
19570
19570
|
}, []);
|
|
19571
19571
|
const computedDrawerOpen = drawerOpen || Boolean(largeLayout && autoOpenDrawer && onHover);
|
|
19572
|
+
const hasAppBar = Boolean(appBarChildren);
|
|
19572
19573
|
return /* @__PURE__ */ jsxRuntime.jsx(AppContext.Provider, { value: {
|
|
19573
19574
|
logo,
|
|
19574
19575
|
hasDrawer: includeDrawer,
|
|
@@ -19609,11 +19610,13 @@
|
|
|
19609
19610
|
{
|
|
19610
19611
|
className: "flex flex-col flex-grow overflow-auto",
|
|
19611
19612
|
children: [
|
|
19612
|
-
/* @__PURE__ */ jsxRuntime.jsx(DrawerHeader, {}),
|
|
19613
|
+
hasAppBar && /* @__PURE__ */ jsxRuntime.jsx(DrawerHeader, {}),
|
|
19613
19614
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19614
19615
|
"div",
|
|
19615
19616
|
{
|
|
19616
|
-
className: ui.cls(ui.defaultBorderMixin, "flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1"
|
|
19617
|
+
className: ui.cls(ui.defaultBorderMixin, "flex-grow overflow-auto lg:m-0 lg:mx-4 lg:mb-4 lg:rounded-lg lg:border lg:border-solid m-0 mt-1", {
|
|
19618
|
+
"lg:mt-4": !hasAppBar
|
|
19619
|
+
}),
|
|
19617
19620
|
children: /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { children: otherChildren })
|
|
19618
19621
|
}
|
|
19619
19622
|
)
|