@micromag/editor 0.4.15 → 0.4.17
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 +1 -1
- package/es/index.js +4 -2
- package/package.json +7 -7
package/es/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface EditorContainerProps {
|
|
|
29
29
|
declare function EditorContainer({ value, memoryRouter, routes, basePath, uppy, googleApiKey, googleMapsLibraries, screenNamespaces, ...props }: EditorContainerProps): react_jsx_runtime.JSX.Element;
|
|
30
30
|
|
|
31
31
|
declare function ScreensMenu({ items, withPreview, withPlaceholder, withName, settings, isVertical, noWrap, className, itemClassName, buttonClassName, settingsClassName, sortable, isTree, onClickItem, onOrderChange, }: {
|
|
32
|
-
items?:
|
|
32
|
+
items?: never[];
|
|
33
33
|
withPreview?: boolean;
|
|
34
34
|
withPlaceholder?: boolean;
|
|
35
35
|
withName?: boolean;
|
package/es/index.js
CHANGED
|
@@ -1018,9 +1018,10 @@ function DeviceButton(_ref) {
|
|
|
1018
1018
|
var styles$d = {"container":"micromag-editor-menus-devices-container","button":"micromag-editor-menus-devices-button"};
|
|
1019
1019
|
|
|
1020
1020
|
var _excluded$6 = ["id"];
|
|
1021
|
+
var emptyArray$1 = [];
|
|
1021
1022
|
function DevicesMenu(_ref) {
|
|
1022
1023
|
var _ref$items = _ref.items,
|
|
1023
|
-
items = _ref$items === void 0 ?
|
|
1024
|
+
items = _ref$items === void 0 ? emptyArray$1 : _ref$items,
|
|
1024
1025
|
_ref$className = _ref.className,
|
|
1025
1026
|
className = _ref$className === void 0 ? null : _ref$className,
|
|
1026
1027
|
_ref$onClickItem = _ref.onClickItem,
|
|
@@ -2418,9 +2419,10 @@ var styles$5 = {"items":"micromag-editor-menus-screens-items","item":"micromag-e
|
|
|
2418
2419
|
|
|
2419
2420
|
var _excluded$3 = ["className", "screen", "type", "title", "onClick", "active", "href"],
|
|
2420
2421
|
_excluded2 = ["id", "screen", "href"];
|
|
2422
|
+
var emptyArray = [];
|
|
2421
2423
|
function ScreensMenu(_ref) {
|
|
2422
2424
|
var _ref$items = _ref.items,
|
|
2423
|
-
items = _ref$items === void 0 ?
|
|
2425
|
+
items = _ref$items === void 0 ? emptyArray : _ref$items,
|
|
2424
2426
|
_ref$withPreview = _ref.withPreview,
|
|
2425
2427
|
withPreview = _ref$withPreview === void 0 ? false : _ref$withPreview,
|
|
2426
2428
|
_ref$withPlaceholder = _ref.withPlaceholder,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
70
70
|
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
71
71
|
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
72
|
-
"@micromag/core": "^0.4.
|
|
73
|
-
"@micromag/elements": "^0.4.
|
|
74
|
-
"@micromag/fields": "^0.4.
|
|
75
|
-
"@micromag/screens": "^0.4.
|
|
76
|
-
"@micromag/viewer": "^0.4.
|
|
72
|
+
"@micromag/core": "^0.4.17",
|
|
73
|
+
"@micromag/elements": "^0.4.17",
|
|
74
|
+
"@micromag/fields": "^0.4.17",
|
|
75
|
+
"@micromag/screens": "^0.4.17",
|
|
76
|
+
"@micromag/viewer": "^0.4.17",
|
|
77
77
|
"@panneau/uppy": "^4.0.21",
|
|
78
78
|
"classnames": "^2.2.6",
|
|
79
79
|
"lodash": "^4.17.23",
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
"access": "public",
|
|
88
88
|
"registry": "https://registry.npmjs.org/"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "d9c4b170763e7510eb07100538af44524ca9292c",
|
|
91
91
|
"types": "es/index.d.ts"
|
|
92
92
|
}
|