@threlte/flex 2.0.0-next.1 → 2.0.0-next.2
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.
|
@@ -21,7 +21,7 @@ const vec3 = new Vector3();
|
|
|
21
21
|
*/
|
|
22
22
|
const { width: computedWidth, height: computedHeight } = createUseDimensionsContext();
|
|
23
23
|
/**
|
|
24
|
-
* Reflowing inside
|
|
24
|
+
* Reflowing inside useTask automatically batches reflows to 1 per frame.
|
|
25
25
|
*/
|
|
26
26
|
const { start: reflow, stop } = useTask(Symbol('threlte-flex-reflow'), () => {
|
|
27
27
|
flexContext.emit('reflow:before');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@threlte/flex",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.2",
|
|
4
4
|
"author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"devDependencies": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"prettier-plugin-svelte": "^3.2.2",
|
|
21
21
|
"publint": "^0.2.7",
|
|
22
22
|
"rimraf": "^5.0.5",
|
|
23
|
-
"svelte": "^5.0.0-next.
|
|
23
|
+
"svelte": "^5.0.0-next.107",
|
|
24
24
|
"svelte-check": "^3.6.9",
|
|
25
25
|
"svelte-preprocess": "^5.1.3",
|
|
26
26
|
"svelte2tsx": "^0.7.6",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"tslib": "^2.6.2",
|
|
29
29
|
"typescript": "^5.4.5",
|
|
30
30
|
"vite": "^5.2.8",
|
|
31
|
-
"@threlte/core": "8.0.0-next.
|
|
32
|
-
"@threlte/extras": "9.0.0-next.
|
|
31
|
+
"@threlte/core": "8.0.0-next.4",
|
|
32
|
+
"@threlte/extras": "9.0.0-next.4"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"mitt": "^3.0.1",
|