@manifest-editor/shell 1.0.2 → 1.0.4

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 CHANGED
@@ -3479,9 +3479,9 @@ var CenterPanel2 = import_styled_components12.default.div`
3479
3479
  flex: 1 1 0;
3480
3480
  background: #e3e7f0;
3481
3481
  // background: #efefef;
3482
- box-shadow:
3483
- inset 0 3px 2px 0 rgba(0, 0, 0, 0.04),
3484
- inset 0 1px 0 0 rgba(0, 0, 0, 0.14);
3482
+ // box-shadow:
3483
+ // inset 0 3px 2px 0 rgba(0, 0, 0, 0.04),
3484
+ // inset 0 1px 0 0 rgba(0, 0, 0, 0.14);
3485
3485
  padding-top: 1px;
3486
3486
  // background: linear-gradient(0deg, rgba(251, 242, 237, 1) 0%, rgba(240, 229, 245, 1) 50%, rgba(236, 245, 255, 1) 100%);
3487
3487
 
@@ -3572,7 +3572,7 @@ var PanelSideMenu = import_styled_components12.default.div`
3572
3572
  flex-direction: column;
3573
3573
  width: 3em;
3574
3574
  /* width: 3.35em;
3575
- padding: 0.3em;
3575
+ padding: 0.3em;
3576
3576
  gap: 0.3em; */
3577
3577
  `;
3578
3578
  var PanelSideMenuItem = import_styled_components12.default.button`
@@ -4136,7 +4136,7 @@ var Layout = (0, import_react27.memo)(function Layout2(props) {
4136
4136
  ] }) })
4137
4137
  ] });
4138
4138
  }
4139
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(OuterWrapper, { className: props.className, children: [
4139
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(OuterWrapper, { className: `manifest-editor ${props.className}`, children: [
4140
4140
  props.hideHeader ? null : /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Header2, { children: [
4141
4141
  props.header || null,
4142
4142
  props.menu ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("menu", { children: props.menu }) : null
@@ -4694,7 +4694,8 @@ function ShellProvider({
4694
4694
  children,
4695
4695
  theme,
4696
4696
  previews,
4697
- resource
4697
+ resource,
4698
+ editing
4698
4699
  }) {
4699
4700
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ErrorBoundary2, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_iiif_vault13.ImageServiceLoaderContext.Provider, { value: imageServiceLoader, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AppResourceProvider, { resource, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PreviewVaultContext, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_styled_components14.ThemeProvider, { theme: theme || defaultTheme, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ConfigProvider, { config, saveConfig, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(EditingStack, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(LayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PreviewProvider, { previews: previews || [], configs: config?.previews || previewConfigs, children }) }) }) }) }) }) }) }) });
4700
4701
  }