@micromag/viewer 0.3.470 → 0.3.472

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 CHANGED
@@ -2274,7 +2274,7 @@ function PlaybackControls(_ref) {
2274
2274
  }]
2275
2275
  });
2276
2276
  return /*#__PURE__*/React.createElement("div", {
2277
- className: classNames([styles$1.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className !== null), styles$1.withPlayPause, controls && !seekBarOnly), styles$1.withSuggestPlay, controlsSuggestPlay), styles$1.withMute, hasMedia || controls), styles$1.withSeekBar, controls), styles$1.withSeekBarOnly, seekBarOnly), styles$1.isCollapsed, isCollapsed), styles$1.isMuted, muted), collapsedClassName, collapsedClassName !== null && isCollapsed)])
2277
+ className: classNames([styles$1.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className !== null), styles$1.withPlayPause, controls && (!seekBarOnly || !playing)), styles$1.withSuggestPlay, controlsSuggestPlay), styles$1.withMute, hasMedia || controls), styles$1.withSeekBar, controls), styles$1.withSeekBarOnly, seekBarOnly), styles$1.isCollapsed, isCollapsed), styles$1.isMuted, muted), collapsedClassName, collapsedClassName !== null && isCollapsed)])
2278
2278
  }, controlsSuggestPlay && !finalShowLoading ? /*#__PURE__*/React.createElement(Button$1, {
2279
2279
  className: classNames([styles$1.suggest]),
2280
2280
  style: {
package/lib/index.js CHANGED
@@ -2278,7 +2278,7 @@ function PlaybackControls(_ref) {
2278
2278
  }]
2279
2279
  });
2280
2280
  return /*#__PURE__*/React.createElement("div", {
2281
- className: classNames([styles$1.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className !== null), styles$1.withPlayPause, controls && !seekBarOnly), styles$1.withSuggestPlay, controlsSuggestPlay), styles$1.withMute, hasMedia || controls), styles$1.withSeekBar, controls), styles$1.withSeekBarOnly, seekBarOnly), styles$1.isCollapsed, isCollapsed), styles$1.isMuted, muted), collapsedClassName, collapsedClassName !== null && isCollapsed)])
2281
+ className: classNames([styles$1.container, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, className, className !== null), styles$1.withPlayPause, controls && (!seekBarOnly || !playing)), styles$1.withSuggestPlay, controlsSuggestPlay), styles$1.withMute, hasMedia || controls), styles$1.withSeekBar, controls), styles$1.withSeekBarOnly, seekBarOnly), styles$1.isCollapsed, isCollapsed), styles$1.isMuted, muted), collapsedClassName, collapsedClassName !== null && isCollapsed)])
2282
2282
  }, controlsSuggestPlay && !finalShowLoading ? /*#__PURE__*/React.createElement(components.Button, {
2283
2283
  className: classNames([styles$1.suggest]),
2284
2284
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/viewer",
3
- "version": "0.3.470",
3
+ "version": "0.3.472",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -67,10 +67,10 @@
67
67
  "@micromag/element-scroll": "^0.3.465",
68
68
  "@micromag/element-share-options": "^0.3.465",
69
69
  "@micromag/element-webview": "^0.3.465",
70
- "@micromag/elements": "^0.3.465",
70
+ "@micromag/elements": "^0.3.471",
71
71
  "@micromag/fields": "^0.3.465",
72
72
  "@micromag/intl": "^0.3.465",
73
- "@micromag/screens": "^0.3.470",
73
+ "@micromag/screens": "^0.3.471",
74
74
  "@react-spring/core": "^9.6.1",
75
75
  "@react-spring/web": "^9.6.1",
76
76
  "@use-gesture/react": "^10.3.0",
@@ -90,5 +90,5 @@
90
90
  "access": "public",
91
91
  "registry": "https://registry.npmjs.org/"
92
92
  },
93
- "gitHead": "b2073c3e09a30a83291727255e0195d3bd2051bd"
93
+ "gitHead": "b5d890ffe7c85fa1d14c13673a5d144afe06bf53"
94
94
  }