@micromag/core 0.3.752 → 0.3.755
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 +16 -16
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.755",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -100,20 +100,6 @@
|
|
|
100
100
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
101
101
|
},
|
|
102
102
|
"peerDependencies": {
|
|
103
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
104
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@babel/runtime": "^7.13.10",
|
|
108
|
-
"@folklore/fetch": "^0.1.17",
|
|
109
|
-
"@folklore/forms": "~0.0.23",
|
|
110
|
-
"@folklore/routes": "^0.2.36",
|
|
111
|
-
"@folklore/services": "^0.1.24",
|
|
112
|
-
"@folklore/size": "^0.1.20",
|
|
113
|
-
"@folklore/tracking": "~0.0.28",
|
|
114
|
-
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
115
|
-
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
116
|
-
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
117
103
|
"@panneau/displays": "^3.0.301",
|
|
118
104
|
"@panneau/element-button": "^3.0.300",
|
|
119
105
|
"@panneau/element-buttons": "^3.0.300",
|
|
@@ -129,6 +115,20 @@
|
|
|
129
115
|
"@panneau/filters": "^3.0.301",
|
|
130
116
|
"@panneau/medias": "^3.0.300",
|
|
131
117
|
"@panneau/uppy": "^3.0.162",
|
|
118
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
119
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
120
|
+
},
|
|
121
|
+
"dependencies": {
|
|
122
|
+
"@babel/runtime": "^7.13.10",
|
|
123
|
+
"@folklore/fetch": "^0.1.17",
|
|
124
|
+
"@folklore/forms": "~0.0.23",
|
|
125
|
+
"@folklore/routes": "^0.2.36",
|
|
126
|
+
"@folklore/services": "^0.1.24",
|
|
127
|
+
"@folklore/size": "^0.1.20",
|
|
128
|
+
"@folklore/tracking": "~0.0.28",
|
|
129
|
+
"@fortawesome/fontawesome-svg-core": "^6.5.2",
|
|
130
|
+
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
131
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
132
132
|
"@react-spring/core": "^9.6.1",
|
|
133
133
|
"@react-spring/web": "^9.6.1",
|
|
134
134
|
"@use-gesture/react": "^10.3.1",
|
|
@@ -159,5 +159,5 @@
|
|
|
159
159
|
"access": "public",
|
|
160
160
|
"registry": "https://registry.npmjs.org/"
|
|
161
161
|
},
|
|
162
|
-
"gitHead": "
|
|
162
|
+
"gitHead": "56016c3456a703961947dc66b2ff52d741691900"
|
|
163
163
|
}
|