@micromag/editor 0.4.96 → 0.4.98

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/es/index.d.ts CHANGED
@@ -2,20 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { Story, StoryTheme, DeviceScreen, ViewerTheme, MenuItem, ScreenDefinition } from '@micromag/core';
3
3
  import React from 'react';
4
4
 
5
- interface EditorContainerProps {
6
- value?: Story | StoryTheme | null;
7
- routes?: unknown;
8
- memoryRouter?: boolean;
9
- basePath?: string | null;
10
- uppy?: {
11
- transport?: string;
12
- } | null;
13
- googleApiKey?: string | null;
14
- googleMapsLibraries?: string[];
15
- screenNamespaces?: string[] | null;
16
- }
17
- declare function EditorContainer({ value, memoryRouter, routes, basePath, uppy, googleApiKey, googleMapsLibraries, screenNamespaces, ...props }: EditorContainerProps): react_jsx_runtime.JSX.Element;
18
-
19
5
  interface EditorProps {
20
6
  value?: Story | StoryTheme | null;
21
7
  deviceScreens?: DeviceScreen[];
@@ -29,6 +15,20 @@ interface EditorProps {
29
15
  }
30
16
  declare function Editor({ value, viewerTheme, isTheme, isCreateOpened, deviceScreens, mobileView: initialMobileView, onChange, fullscreen, className, }: EditorProps): react_jsx_runtime.JSX.Element;
31
17
 
18
+ interface EditorContainerProps extends EditorProps {
19
+ value?: Story | StoryTheme | null;
20
+ routes?: unknown;
21
+ memoryRouter?: boolean;
22
+ basePath?: string | null;
23
+ uppy?: {
24
+ transport?: string;
25
+ } | null;
26
+ googleApiKey?: string | null;
27
+ googleMapsLibraries?: string[];
28
+ screenNamespaces?: string[] | null;
29
+ }
30
+ declare function EditorContainer({ value, memoryRouter, routes, basePath, uppy, googleApiKey, googleMapsLibraries, screenNamespaces, ...props }: EditorContainerProps): react_jsx_runtime.JSX.Element;
31
+
32
32
  interface ScreensMenuProps {
33
33
  items?: MenuItem[];
34
34
  withPreview?: boolean;