@micromag/viewer 0.4.27 → 0.4.29
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 +2 -3
- package/package.json +10 -10
package/es/index.js
CHANGED
|
@@ -2121,14 +2121,14 @@ function PlaybackControls(_ref) {
|
|
|
2121
2121
|
});
|
|
2122
2122
|
}, [controlsTheme, setCustomControlsTheme, defaultColor, defaultProgressColor]);
|
|
2123
2123
|
var onPlay = useCallback(function () {
|
|
2124
|
-
console.log('onPlay');
|
|
2124
|
+
// console.log('onPlay');
|
|
2125
2125
|
setPlaying(true);
|
|
2126
2126
|
if (!controlsVisible && controls) {
|
|
2127
2127
|
showControls();
|
|
2128
2128
|
}
|
|
2129
2129
|
}, [setPlaying, controlsVisible, showControls]);
|
|
2130
2130
|
var onPause = useCallback(function () {
|
|
2131
|
-
console.log('onPause');
|
|
2131
|
+
// console.log('onPause');
|
|
2132
2132
|
setPlaying(false);
|
|
2133
2133
|
if (!controlsVisible && controls) {
|
|
2134
2134
|
showControls();
|
|
@@ -2798,7 +2798,6 @@ function Viewer(_ref) {
|
|
|
2798
2798
|
_ref11$args = _slicedToArray(_ref11.args, 1),
|
|
2799
2799
|
bindState = _ref11$args[0];
|
|
2800
2800
|
setPointerDownTime(null);
|
|
2801
|
-
console.log('bindState', bindState);
|
|
2802
2801
|
var _ref12 = bindState || {},
|
|
2803
2802
|
_ref12$playing = _ref12.playing,
|
|
2804
2803
|
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.
|
|
3
|
+
"version": "0.4.29",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@babel/runtime": "^7.28.6",
|
|
64
64
|
"@folklore/routes": "^0.2.36",
|
|
65
|
-
"@micromag/core": "^0.4.
|
|
66
|
-
"@micromag/element-badge": "^0.4.
|
|
67
|
-
"@micromag/element-scroll": "^0.4.
|
|
68
|
-
"@micromag/element-share-options": "^0.4.
|
|
69
|
-
"@micromag/element-webview": "^0.4.
|
|
70
|
-
"@micromag/elements": "^0.4.
|
|
71
|
-
"@micromag/intl": "^0.4.
|
|
72
|
-
"@micromag/screens": "^0.4.
|
|
65
|
+
"@micromag/core": "^0.4.28",
|
|
66
|
+
"@micromag/element-badge": "^0.4.28",
|
|
67
|
+
"@micromag/element-scroll": "^0.4.28",
|
|
68
|
+
"@micromag/element-share-options": "^0.4.28",
|
|
69
|
+
"@micromag/element-webview": "^0.4.28",
|
|
70
|
+
"@micromag/elements": "^0.4.28",
|
|
71
|
+
"@micromag/intl": "^0.4.28",
|
|
72
|
+
"@micromag/screens": "^0.4.29",
|
|
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": "
|
|
91
|
+
"gitHead": "916ccd47c5782c43457310e7c72d0fa4f5ea6742",
|
|
92
92
|
"types": "es/index.d.ts"
|
|
93
93
|
}
|