@micromag/viewer 0.4.17 → 0.4.18

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.
Files changed (2) hide show
  1. package/es/index.js +3 -0
  2. package/package.json +4 -4
package/es/index.js CHANGED
@@ -2113,12 +2113,14 @@ function PlaybackControls(_ref) {
2113
2113
  });
2114
2114
  }, [controlsTheme, setCustomControlsTheme, defaultColor, defaultProgressColor]);
2115
2115
  var onPlay = useCallback(function () {
2116
+ console.log('onPlay');
2116
2117
  setPlaying(true);
2117
2118
  if (!controlsVisible && controls) {
2118
2119
  showControls();
2119
2120
  }
2120
2121
  }, [setPlaying, controlsVisible, showControls]);
2121
2122
  var onPause = useCallback(function () {
2123
+ console.log('onPause');
2122
2124
  setPlaying(false);
2123
2125
  if (!controlsVisible && controls) {
2124
2126
  showControls();
@@ -2787,6 +2789,7 @@ function Viewer(_ref) {
2787
2789
  _ref11$args = _slicedToArray(_ref11.args, 1),
2788
2790
  bindState = _ref11$args[0];
2789
2791
  setPointerDownTime(null);
2792
+ console.log('bindState', bindState);
2790
2793
  var _ref12 = bindState || {},
2791
2794
  _ref12$playing = _ref12.playing,
2792
2795
  currentPlaying = _ref12$playing === void 0 ? false : _ref12$playing,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/viewer",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -67,9 +67,9 @@
67
67
  "@micromag/element-scroll": "^0.4.17",
68
68
  "@micromag/element-share-options": "^0.4.17",
69
69
  "@micromag/element-webview": "^0.4.17",
70
- "@micromag/elements": "^0.4.17",
70
+ "@micromag/elements": "^0.4.18",
71
71
  "@micromag/intl": "^0.4.17",
72
- "@micromag/screens": "^0.4.17",
72
+ "@micromag/screens": "^0.4.18",
73
73
  "@react-spring/core": "^10.0.3",
74
74
  "@react-spring/web": "^10.0.3",
75
75
  "@use-gesture/react": "^10.3.0",
@@ -88,6 +88,6 @@
88
88
  "access": "public",
89
89
  "registry": "https://registry.npmjs.org/"
90
90
  },
91
- "gitHead": "d9c4b170763e7510eb07100538af44524ca9292c",
91
+ "gitHead": "3066e7aa469d2ab1bfcf106bcb5c3153a9636aca",
92
92
  "types": "es/index.d.ts"
93
93
  }