@thednp/tween 0.0.4 → 0.0.5
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/README.md +1 -1
- package/dist/preact/preact.d.mts +1 -1
- package/dist/preact/preact.mjs +1 -1
- package/dist/react/react.d.mts +1 -1
- package/dist/react/react.mjs +1 -1
- package/dist/solid/solid.d.mts +1 -1
- package/dist/solid/solid.mjs +1 -1
- package/dist/svelte/tween.svelte.d.ts +1 -1
- package/dist/svelte/tween.svelte.js +1 -1
- package/dist/tween/index.d.mts +1 -1
- package/dist/tween/index.mjs +6 -3
- package/dist/tween/index.mjs.map +1 -1
- package/dist/tween.min.js +3 -3
- package/dist/tween.min.js.map +1 -1
- package/dist/vue/vue.d.mts +1 -1
- package/dist/vue/vue.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Your favorite framework isn't listed? [Let us know](https://github.com/thednp/tw
|
|
|
29
29
|
* **Predictable outcomes** through upfront value validation — invalid values prevent animation start with clear feedback
|
|
30
30
|
* **Production-ready validation system** catches configuration errors before they break your app
|
|
31
31
|
* **Natural reverse playback** via inverted easing (no `reverseEasing` option or `valuesStart` reassignment)
|
|
32
|
-
* **Extensible interpolation** with built-in [extensions](wiki/Extend.md)
|
|
32
|
+
* **Extensible interpolation** with built-in [extensions](wiki/Extend.md) for custom per-property validators and interpolators
|
|
33
33
|
|
|
34
34
|
### Performance Optimizations
|
|
35
35
|
|
package/dist/preact/preact.d.mts
CHANGED
package/dist/preact/preact.mjs
CHANGED
package/dist/react/react.d.mts
CHANGED
package/dist/react/react.mjs
CHANGED
package/dist/solid/solid.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @thednp/tween primitives for SolidJS v0.0.
|
|
2
|
+
* @thednp/tween primitives for SolidJS v0.0.5 (https://github.com/thednp/tween)
|
|
3
3
|
* Copyright 2026 © thednp
|
|
4
4
|
* Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
|
|
5
5
|
*/
|
package/dist/solid/solid.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @thednp/tween primitives for SolidJS v0.0.
|
|
2
|
+
* @thednp/tween primitives for SolidJS v0.0.5 (https://github.com/thednp/tween)
|
|
3
3
|
* Copyright 2026 © thednp
|
|
4
4
|
* Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
|
|
5
5
|
*/
|
package/dist/tween/index.d.mts
CHANGED
package/dist/tween/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @thednp/tween v0.0.
|
|
2
|
+
* @thednp/tween v0.0.5 (https://github.com/thednp/tween)
|
|
3
3
|
* Copyright 2026 © thednp
|
|
4
4
|
* Licensed under MIT (https://github.com/thednp/tween/blob/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -909,7 +909,10 @@ function addToQueue(newItem) {
|
|
|
909
909
|
*/
|
|
910
910
|
function removeFromQueue(removedItem) {
|
|
911
911
|
const idx = Queue.indexOf(removedItem);
|
|
912
|
-
if (idx > -1)
|
|
912
|
+
if (idx > -1) {
|
|
913
|
+
Queue.splice(idx, 1);
|
|
914
|
+
queueLength--;
|
|
915
|
+
}
|
|
913
916
|
}
|
|
914
917
|
|
|
915
918
|
//#endregion
|
|
@@ -1943,7 +1946,7 @@ var Timeline = class {
|
|
|
1943
1946
|
|
|
1944
1947
|
//#endregion
|
|
1945
1948
|
//#region package.json
|
|
1946
|
-
var version = "0.0.
|
|
1949
|
+
var version = "0.0.5";
|
|
1947
1950
|
|
|
1948
1951
|
//#endregion
|
|
1949
1952
|
export { Easing, Queue, Runtime, Timeline, Tween, addToQueue, arrayConfig, deepAssign, deproxy, dummyInstance, eulerToAxisAngle, interpolateArray, interpolateObject, interpolatePath, interpolateTransform, isArray, isDeepObject, isFunction, isNumber, isObject, isPathLike, isPlainObject, isServer, isString, isTransformLike, isValidArray, isValidPath, isValidTransformArray, now, objectConfig, objectHasProp, pathArrayConfig, pathToString, removeFromQueue, roundTo, setNow, transformConfig, transformToString, validateArray, validateObject, validatePath, validateTransform, validateValues, version };
|