@micromag/core 0.3.753 → 0.3.757
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/hooks.js +4 -0
- package/package.json +3 -3
package/es/hooks.js
CHANGED
|
@@ -282,7 +282,11 @@ function useDragProgress() {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
}, [wantedProgress]);
|
|
285
|
+
var transitioning = useMemo(function () {
|
|
286
|
+
return wantedProgress !== progress.get() || progress.isAnimating || dragging;
|
|
287
|
+
}, [wantedProgress, progress.isAnimating, dragging]);
|
|
285
288
|
return {
|
|
289
|
+
transitioning: transitioning,
|
|
286
290
|
bind: bind,
|
|
287
291
|
dragging: dragging,
|
|
288
292
|
progress: progress,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.757",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"@panneau/element-media-card": "^3.0.300",
|
|
112
112
|
"@panneau/element-media-player": "^3.0.300",
|
|
113
113
|
"@panneau/element-modal": "^3.0.300",
|
|
114
|
-
"@panneau/fields": "^3.0.
|
|
114
|
+
"@panneau/fields": "^3.0.306",
|
|
115
115
|
"@panneau/filters": "^3.0.301",
|
|
116
116
|
"@panneau/medias": "^3.0.300",
|
|
117
117
|
"@panneau/uppy": "^3.0.162",
|
|
@@ -159,5 +159,5 @@
|
|
|
159
159
|
"access": "public",
|
|
160
160
|
"registry": "https://registry.npmjs.org/"
|
|
161
161
|
},
|
|
162
|
-
"gitHead": "
|
|
162
|
+
"gitHead": "9f1f9aa6e7a767417e33e420bc6c0e1581d40087"
|
|
163
163
|
}
|