@micromag/editor 0.3.55 → 0.3.58
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.js +6 -6
- package/lib/index.js +6 -6
- package/package.json +8 -8
package/es/index.js
CHANGED
|
@@ -3605,7 +3605,7 @@ var FormsProvider = function FormsProvider(props) {
|
|
|
3605
3605
|
FormsProvider.propTypes = propTypes$1;
|
|
3606
3606
|
FormsProvider.defaultProps = defaultProps$1;
|
|
3607
3607
|
|
|
3608
|
-
var _excluded = ["value", "memoryRouter", "routes", "basePath", "uppy", "googleApiKey", "googleMapsLibraries", "
|
|
3608
|
+
var _excluded = ["value", "memoryRouter", "routes", "basePath", "uppy", "googleApiKey", "googleMapsLibraries", "screenNamespaces"];
|
|
3609
3609
|
var propTypes = {
|
|
3610
3610
|
value: PropTypes.oneOfType([PropTypes$1.story, PropTypes$1.theme]),
|
|
3611
3611
|
routes: routes,
|
|
@@ -3616,7 +3616,7 @@ var propTypes = {
|
|
|
3616
3616
|
}),
|
|
3617
3617
|
googleApiKey: PropTypes.string,
|
|
3618
3618
|
googleMapsLibraries: PropTypes.arrayOf(PropTypes.string),
|
|
3619
|
-
|
|
3619
|
+
screenNamespaces: PropTypes.arrayOf(PropTypes.string)
|
|
3620
3620
|
};
|
|
3621
3621
|
var defaultProps = {
|
|
3622
3622
|
value: null,
|
|
@@ -3626,7 +3626,7 @@ var defaultProps = {
|
|
|
3626
3626
|
uppy: null,
|
|
3627
3627
|
googleApiKey: null,
|
|
3628
3628
|
googleMapsLibraries: ['places'],
|
|
3629
|
-
|
|
3629
|
+
screenNamespaces: null
|
|
3630
3630
|
};
|
|
3631
3631
|
|
|
3632
3632
|
var EditorContainer = function EditorContainer(_ref) {
|
|
@@ -3637,7 +3637,7 @@ var EditorContainer = function EditorContainer(_ref) {
|
|
|
3637
3637
|
uppy = _ref.uppy,
|
|
3638
3638
|
googleApiKey = _ref.googleApiKey,
|
|
3639
3639
|
googleMapsLibraries = _ref.googleMapsLibraries,
|
|
3640
|
-
|
|
3640
|
+
screenNamespaces = _ref.screenNamespaces,
|
|
3641
3641
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
3642
3642
|
|
|
3643
3643
|
var Router = memoryRouter ? MemoryRouter : BrowserRouter;
|
|
@@ -3652,8 +3652,8 @@ var EditorContainer = function EditorContainer(_ref) {
|
|
|
3652
3652
|
}, /*#__PURE__*/React.createElement(UppyProvider, uppy, /*#__PURE__*/React.createElement(StoryProvider, {
|
|
3653
3653
|
story: value
|
|
3654
3654
|
}, /*#__PURE__*/React.createElement(ScreensProvider, {
|
|
3655
|
-
|
|
3656
|
-
|
|
3655
|
+
filterNamespaces: true,
|
|
3656
|
+
namespaces: screenNamespaces
|
|
3657
3657
|
}, /*#__PURE__*/React.createElement(GoogleKeysProvider, {
|
|
3658
3658
|
apiKey: googleApiKey
|
|
3659
3659
|
}, /*#__PURE__*/React.createElement(GoogleMapsClientProvider, {
|
package/lib/index.js
CHANGED
|
@@ -3625,7 +3625,7 @@ var FormsProvider = function FormsProvider(props) {
|
|
|
3625
3625
|
FormsProvider.propTypes = propTypes$1;
|
|
3626
3626
|
FormsProvider.defaultProps = defaultProps$1;
|
|
3627
3627
|
|
|
3628
|
-
var _excluded = ["value", "memoryRouter", "routes", "basePath", "uppy", "googleApiKey", "googleMapsLibraries", "
|
|
3628
|
+
var _excluded = ["value", "memoryRouter", "routes", "basePath", "uppy", "googleApiKey", "googleMapsLibraries", "screenNamespaces"];
|
|
3629
3629
|
var propTypes = {
|
|
3630
3630
|
value: PropTypes__default["default"].oneOfType([core.PropTypes.story, core.PropTypes.theme]),
|
|
3631
3631
|
routes: routes,
|
|
@@ -3636,7 +3636,7 @@ var propTypes = {
|
|
|
3636
3636
|
}),
|
|
3637
3637
|
googleApiKey: PropTypes__default["default"].string,
|
|
3638
3638
|
googleMapsLibraries: PropTypes__default["default"].arrayOf(PropTypes__default["default"].string),
|
|
3639
|
-
|
|
3639
|
+
screenNamespaces: PropTypes__default["default"].arrayOf(PropTypes__default["default"].string)
|
|
3640
3640
|
};
|
|
3641
3641
|
var defaultProps = {
|
|
3642
3642
|
value: null,
|
|
@@ -3646,7 +3646,7 @@ var defaultProps = {
|
|
|
3646
3646
|
uppy: null,
|
|
3647
3647
|
googleApiKey: null,
|
|
3648
3648
|
googleMapsLibraries: ['places'],
|
|
3649
|
-
|
|
3649
|
+
screenNamespaces: null
|
|
3650
3650
|
};
|
|
3651
3651
|
|
|
3652
3652
|
var EditorContainer = function EditorContainer(_ref) {
|
|
@@ -3657,7 +3657,7 @@ var EditorContainer = function EditorContainer(_ref) {
|
|
|
3657
3657
|
uppy = _ref.uppy,
|
|
3658
3658
|
googleApiKey = _ref.googleApiKey,
|
|
3659
3659
|
googleMapsLibraries = _ref.googleMapsLibraries,
|
|
3660
|
-
|
|
3660
|
+
screenNamespaces = _ref.screenNamespaces,
|
|
3661
3661
|
props = _objectWithoutProperties__default["default"](_ref, _excluded);
|
|
3662
3662
|
|
|
3663
3663
|
var Router = memoryRouter ? reactRouter.MemoryRouter : reactRouterDom.BrowserRouter;
|
|
@@ -3672,8 +3672,8 @@ var EditorContainer = function EditorContainer(_ref) {
|
|
|
3672
3672
|
}, /*#__PURE__*/React__default["default"].createElement(contexts.UppyProvider, uppy, /*#__PURE__*/React__default["default"].createElement(contexts.StoryProvider, {
|
|
3673
3673
|
story: value
|
|
3674
3674
|
}, /*#__PURE__*/React__default["default"].createElement(screens.ScreensProvider, {
|
|
3675
|
-
|
|
3676
|
-
|
|
3675
|
+
filterNamespaces: true,
|
|
3676
|
+
namespaces: screenNamespaces
|
|
3677
3677
|
}, /*#__PURE__*/React__default["default"].createElement(contexts.GoogleKeysProvider, {
|
|
3678
3678
|
apiKey: googleApiKey
|
|
3679
3679
|
}, /*#__PURE__*/React__default["default"].createElement(contexts.GoogleMapsClientProvider, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.58",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"@dnd-kit/core": "^5.0.1",
|
|
59
59
|
"@dnd-kit/sortable": "^6.0.0",
|
|
60
60
|
"@dnd-kit/utilities": "^3.1.0",
|
|
61
|
-
"@folklore/size": "^0.1.
|
|
61
|
+
"@folklore/size": "^0.1.20",
|
|
62
62
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
63
63
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
64
64
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
65
|
-
"@micromag/core": "^0.3.
|
|
66
|
-
"@micromag/elements": "^0.3.
|
|
67
|
-
"@micromag/fields": "^0.3.
|
|
68
|
-
"@micromag/screens": "^0.3.
|
|
69
|
-
"@micromag/viewer": "^0.3.
|
|
65
|
+
"@micromag/core": "^0.3.58",
|
|
66
|
+
"@micromag/elements": "^0.3.58",
|
|
67
|
+
"@micromag/fields": "^0.3.58",
|
|
68
|
+
"@micromag/screens": "^0.3.58",
|
|
69
|
+
"@micromag/viewer": "^0.3.58",
|
|
70
70
|
"classnames": "^2.2.6",
|
|
71
71
|
"lodash": "^4.17.21",
|
|
72
72
|
"prop-types": "^15.7.2",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "80fc5af53d50e031d2516967d52ca61e789d52de"
|
|
85
85
|
}
|