@micromag/editor 0.4.100 → 0.4.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/es/index.d.ts +7 -7
- package/package.json +5 -5
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default from 'react';
|
|
2
3
|
import { Story, StoryTheme, DeviceScreen, ViewerTheme, MenuItem, ScreenDefinition } from '@micromag/core';
|
|
3
|
-
import React from 'react';
|
|
4
4
|
|
|
5
5
|
interface EditorProps {
|
|
6
6
|
value?: Story | StoryTheme | null;
|
|
@@ -13,7 +13,7 @@ interface EditorProps {
|
|
|
13
13
|
onChange?: ((...args: unknown[]) => void) | null;
|
|
14
14
|
className?: string | null;
|
|
15
15
|
}
|
|
16
|
-
declare function Editor({ value, viewerTheme, isTheme, isCreateOpened, deviceScreens, mobileView: initialMobileView, onChange, fullscreen, className, }: EditorProps):
|
|
16
|
+
declare function Editor({ value, viewerTheme, isTheme, isCreateOpened, deviceScreens, mobileView: initialMobileView, onChange, fullscreen, className, }: EditorProps): react.JSX.Element;
|
|
17
17
|
|
|
18
18
|
interface EditorContainerProps extends EditorProps {
|
|
19
19
|
value?: Story | StoryTheme | null;
|
|
@@ -27,14 +27,14 @@ interface EditorContainerProps extends EditorProps {
|
|
|
27
27
|
googleMapsLibraries?: string[];
|
|
28
28
|
screenNamespaces?: string[] | null;
|
|
29
29
|
}
|
|
30
|
-
declare function EditorContainer({ value, memoryRouter, routes, basePath, uppy, googleApiKey, googleMapsLibraries, screenNamespaces, ...props }: EditorContainerProps):
|
|
30
|
+
declare function EditorContainer({ value, memoryRouter, routes, basePath, uppy, googleApiKey, googleMapsLibraries, screenNamespaces, ...props }: EditorContainerProps): react.JSX.Element;
|
|
31
31
|
|
|
32
32
|
interface ScreensMenuProps {
|
|
33
33
|
items?: MenuItem[];
|
|
34
34
|
withPreview?: boolean;
|
|
35
35
|
withPlaceholder?: boolean;
|
|
36
36
|
withName?: boolean;
|
|
37
|
-
settings?:
|
|
37
|
+
settings?: react__default.ReactNode | ((...args: unknown[]) => void);
|
|
38
38
|
sortable?: boolean;
|
|
39
39
|
isTree?: boolean;
|
|
40
40
|
isVertical?: boolean;
|
|
@@ -46,7 +46,7 @@ interface ScreensMenuProps {
|
|
|
46
46
|
onClickItem?: (...args: unknown[]) => void;
|
|
47
47
|
onOrderChange?: (...args: unknown[]) => void;
|
|
48
48
|
}
|
|
49
|
-
declare function ScreensMenu({ items, withPreview, withPlaceholder, withName, settings, isVertical, noWrap, className, itemClassName, buttonClassName, settingsClassName, sortable, isTree, onClickItem, onOrderChange, }: ScreensMenuProps):
|
|
49
|
+
declare function ScreensMenu({ items, withPreview, withPlaceholder, withName, settings, isVertical, noWrap, className, itemClassName, buttonClassName, settingsClassName, sortable, isTree, onClickItem, onOrderChange, }: ScreensMenuProps): react__default.JSX.Element;
|
|
50
50
|
|
|
51
51
|
interface ScreenTypesProps {
|
|
52
52
|
screens?: ScreenDefinition[];
|
|
@@ -55,7 +55,7 @@ interface ScreenTypesProps {
|
|
|
55
55
|
className?: string;
|
|
56
56
|
onClickItem?: (...args: unknown[]) => void;
|
|
57
57
|
}
|
|
58
|
-
declare function ScreenTypes({ screens, selectedTypes, legacyTypes, className, onClickItem, }: ScreenTypesProps):
|
|
58
|
+
declare function ScreenTypes({ screens, selectedTypes, legacyTypes, className, onClickItem, }: ScreenTypesProps): react.JSX.Element;
|
|
59
59
|
|
|
60
60
|
declare const createScreen: (definition: any, data?: {}) => any;
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.101",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
69
69
|
"@micromag/core": "^0.4.100",
|
|
70
70
|
"@micromag/elements": "^0.4.100",
|
|
71
|
-
"@micromag/fields": "^0.4.
|
|
72
|
-
"@micromag/screens": "^0.4.
|
|
73
|
-
"@micromag/viewer": "^0.4.
|
|
71
|
+
"@micromag/fields": "^0.4.101",
|
|
72
|
+
"@micromag/screens": "^0.4.101",
|
|
73
|
+
"@micromag/viewer": "^0.4.101",
|
|
74
74
|
"@panneau/modal-confirm": "^4.0.55",
|
|
75
75
|
"@panneau/uppy": "^4.0.55",
|
|
76
76
|
"classnames": "^2.2.6",
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"access": "public",
|
|
94
94
|
"registry": "https://registry.npmjs.org/"
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "88aec42cff116b686d2331bf397ba2ada2fa393d"
|
|
97
97
|
}
|