@micromag/viewer 0.3.783 → 0.3.784
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 -2
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -3783,10 +3783,11 @@ var defaultRoutes = {
|
|
|
3783
3783
|
screen: screen
|
|
3784
3784
|
};
|
|
3785
3785
|
|
|
3786
|
-
var _excluded = ["story", "paused", "screenComponents", "memoryRouter", "basePath", "routes", "withoutRouter", "googleApiKey", "visitor", "locale", "locales", "translations", "pathWithIndex", "trackingVariables", "trackingDisabled", "trackingPaused"];
|
|
3786
|
+
var _excluded = ["story", "paused", "muted", "screenComponents", "memoryRouter", "basePath", "routes", "withoutRouter", "googleApiKey", "visitor", "locale", "locales", "translations", "pathWithIndex", "trackingVariables", "trackingDisabled", "trackingPaused"];
|
|
3787
3787
|
var propTypes = {
|
|
3788
3788
|
story: PropTypes$1.story,
|
|
3789
3789
|
paused: PropTypes.bool,
|
|
3790
|
+
muted: PropTypes.bool,
|
|
3790
3791
|
screen: PropTypes.string,
|
|
3791
3792
|
screenComponents: PropTypes.objectOf(PropTypes.elementType),
|
|
3792
3793
|
memoryRouter: PropTypes.bool,
|
|
@@ -3807,6 +3808,7 @@ var propTypes = {
|
|
|
3807
3808
|
var defaultProps = {
|
|
3808
3809
|
story: null,
|
|
3809
3810
|
paused: false,
|
|
3811
|
+
muted: true,
|
|
3810
3812
|
screen: null,
|
|
3811
3813
|
screenComponents: null,
|
|
3812
3814
|
memoryRouter: false,
|
|
@@ -3827,6 +3829,7 @@ var defaultProps = {
|
|
|
3827
3829
|
var ViewerContainer = function ViewerContainer(_ref) {
|
|
3828
3830
|
var story = _ref.story,
|
|
3829
3831
|
paused = _ref.paused,
|
|
3832
|
+
muted = _ref.muted,
|
|
3830
3833
|
screenComponents = _ref.screenComponents,
|
|
3831
3834
|
memoryRouter = _ref.memoryRouter,
|
|
3832
3835
|
basePath = _ref.basePath,
|
|
@@ -3907,7 +3910,8 @@ var ViewerContainer = function ViewerContainer(_ref) {
|
|
|
3907
3910
|
}, /*#__PURE__*/React.createElement(VisitorProvider, {
|
|
3908
3911
|
visitor: visitor
|
|
3909
3912
|
}, /*#__PURE__*/React.createElement(PlaybackProvider, {
|
|
3910
|
-
paused: paused
|
|
3913
|
+
paused: paused,
|
|
3914
|
+
muted: muted
|
|
3911
3915
|
}, /*#__PURE__*/React.createElement(TrackingProvider, {
|
|
3912
3916
|
variables: finalTrackingVariables,
|
|
3913
3917
|
disabled: trackingDisabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.784",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public",
|
|
92
92
|
"registry": "https://registry.npmjs.org/"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "516257dfb521d7241096cd2e0d31aa6b08721640"
|
|
95
95
|
}
|