Socket
Socket
Sign inDemoInstall

@react-spring/animated

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spring/animated - npm Package Compare versions

Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2

2

index.cjs.js

@@ -1,2 +0,2 @@

"use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib"),shared=require("@react-spring/shared"),globals=require("@react-spring/shared/globals"),React=require("react"),React__default=_interopDefault(React);function isAnimated(t){return t instanceof Animated}var Animated=function(){function t(){this.children=[]}return t.prototype.getAnimatedValue=function(){return this.getValue()},t.prototype.getPayload=function(){return this.payload||this},t.prototype.attach=function(){},t.prototype.detach=function(){},t.prototype.getChildren=function(){return this.children},t.prototype.addChild=function(t){0===this.children.length&&this.attach(),this.children.push(t)},t.prototype.removeChild=function(t){var e=this.children.indexOf(t);this.children.splice(e,1),0===this.children.length&&this.detach()},t}(),AnimatedArray=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tslib_1.__extends(e,t),e.prototype.attach=function(){var t=this;this.payload.forEach(function(e){return isAnimated(e)&&e.addChild(t)})},e.prototype.detach=function(){var t=this;this.payload.forEach(function(e){return isAnimated(e)&&e.removeChild(t)})},e}(Animated),AnimatedObject=function(t){function e(e){var n=t.call(this)||this;return n.payload=e,n}return tslib_1.__extends(e,t),e.prototype.getValue=function(t){void 0===t&&(t=!1);var e={};for(var n in this.payload){var a=this.payload[n];t&&!isAnimated(a)||(e[n]=isAnimated(a)?a[t?"getAnimatedValue":"getValue"]():a)}return e},e.prototype.getAnimatedValue=function(){return this.getValue(!0)},e.prototype.attach=function(){var t=this;Object.values(this.payload).forEach(function(e){return isAnimated(e)&&e.addChild(t)})},e.prototype.detach=function(){var t=this;Object.values(this.payload).forEach(function(e){return isAnimated(e)&&e.removeChild(t)})},e}(Animated);function addAnimatedStyles(t,e){"update"in t?e.add(t):t.getChildren().forEach(function(t){return addAnimatedStyles(t,e)})}var AnimatedValue=function(t){function e(e){var n=t.call(this)||this;return n.animatedStyles=new Set,n.done=!1,n.setValue=function(t,e){void 0===e&&(e=!0),n.value=t,e&&n.flush()},n.value=e,shared.is.num(e)&&(n.startPosition=e,n.lastPosition=e),n}return tslib_1.__extends(e,t),e.from=function(t){return isAnimated(t)?t:new e(t)},e.prototype.getValue=function(){return this.value},e.prototype.interpolate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return globals.createAnimatedInterpolation.apply(void 0,[this].concat(t))},e.prototype.reset=function(t){shared.is.num(this.value)&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=t?this.lastVelocity:void 0,this.lastTime=t?this.lastTime:void 0,this.startTime=globals.now()),this.done=!1,this.animatedStyles.clear()},e.prototype.clearStyles=function(){this.animatedStyles.clear()},e.prototype.flush=function(){0===this.animatedStyles.size&&addAnimatedStyles(this,this.animatedStyles),this.animatedStyles.forEach(function(t){return t.update()})},e}(Animated),AnimatedValueArray=function(t){function e(e){var n=t.call(this)||this;return n.payload=e,n}return tslib_1.__extends(e,t),e.prototype.getValue=function(){return this.payload.map(function(t){return t.getValue()})},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e=!0),shared.is.arr(t)?t.length===this.payload.length&&t.forEach(function(t,a){return n.payload[a].setValue(t,e)}):this.payload.forEach(function(n){return n.setValue(t,e)})},e.prototype.interpolate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return globals.createAnimatedInterpolation.apply(void 0,[this].concat(t))},e}(AnimatedArray),AnimatedInterpolation=function(t){function e(e,n){var a=t.call(this)||this;return a.calc=shared.createInterpolator.apply(void 0,n),a.payload=Array.isArray(e)?e.map(AnimatedValue.from):e instanceof AnimatedValueArray?e.getPayload():[e],a}return tslib_1.__extends(e,t),e.prototype.getValue=function(){var t=this.payload.map(function(t){return t.getValue()});return this.calc.apply(this,t)},e.prototype.interpolate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return globals.createAnimatedInterpolation.apply(void 0,[this].concat(t))},e}(AnimatedArray),AnimatedProps=function(t){function e(e,n){var a=t.call(this,e.style&&globals.createAnimatedStyle?tslib_1.__assign({},e,{style:globals.createAnimatedStyle(e.style)}):e)||this;return a.update=n,a.attach(),a}return tslib_1.__extends(e,t),e}(AnimatedObject),AnimatedStyle=function(t){function e(e){return void 0===e&&(e={}),t.call(this,e.transform&&globals.createAnimatedTransform?tslib_1.__assign({},e,{transform:globals.createAnimatedTransform(e.transform)}):e)||this}return tslib_1.__extends(e,t),e}(AnimatedObject),createAnimatedComponent=function(t){return React.forwardRef(function(e,n){var a=React.useRef(null),r=React.useRef(!0),i=React.useRef(null),o=shared.useForceUpdate(),s=React.useCallback(function(t){var e=i.current;return i.current=new AnimatedProps(t,function(){a.current&&!1===globals.applyAnimatedValues(a.current,i.current.getAnimatedValue())&&o()}),e&&e.detach(),i.current.getValue()},[]);shared.useOnce(function(){return function(){r.current=!1,i.current&&i.current.detach()}}),React.useImperativeHandle(n,function(){return globals.createAnimatedRef(a,r,o)});var l=s(e),u=(l.scrollTop,l.scrollLeft,tslib_1.__rest(l,["scrollTop","scrollLeft"]));return React__default.createElement(t,tslib_1.__assign({},u,{ref:function(t){return a.current=handleRef(t,n)}}))})};function withExtend(t,e){void 0===e&&(e={});var n=t,a=function(r,i){if(shared.is.arr(r))return r.forEach(function(t){return a(t)});if(shared.is.obj(r))for(var o in r)a(r[o],o);else{var s=shared.is.str(i)?i:shared.is.str(r)?r:r&&shared.is.str(r.displayName)?r.displayName:shared.is.fun(r)?r.name:"";e.lowercase&&(s=s[0].toLowerCase()+s.slice(1)),n[s]=t(r)}};return n.extend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.forEach(function(t){return a(t)}),n},n}function handleRef(t,e){return e&&(shared.is.fun(e)?e(t):shared.is.obj(e)&&(e.current=t)),t}Object.defineProperty(exports,"interpolate",{enumerable:!0,get:function(){return globals.createAnimatedInterpolation}}),exports.Animated=Animated,exports.AnimatedArray=AnimatedArray,exports.AnimatedInterpolation=AnimatedInterpolation,exports.AnimatedObject=AnimatedObject,exports.AnimatedProps=AnimatedProps,exports.AnimatedStyle=AnimatedStyle,exports.AnimatedValue=AnimatedValue,exports.AnimatedValueArray=AnimatedValueArray,exports.createAnimatedComponent=createAnimatedComponent,exports.isAnimated=isAnimated,exports.withExtend=withExtend;
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var shared=require("@react-spring/shared"),globals=require("@react-spring/shared/globals"),tslib_1=require("tslib"),React=require("react"),React__default=_interopDefault(React);function isAnimated(e){return e instanceof Animated}class Animated{constructor(){this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class AnimatedArray extends Animated{attach(){this.payload.forEach(e=>isAnimated(e)&&e.addChild(this))}detach(){this.payload.forEach(e=>isAnimated(e)&&e.removeChild(this))}}class AnimatedObject extends Animated{constructor(e){super(),this.payload=e}getValue(e=!1){const t={};for(const a in this.payload){const s=this.payload[a];e&&!isAnimated(s)||(t[a]=isAnimated(s)?s[e?"getAnimatedValue":"getValue"]():s)}return t}getAnimatedValue(){return this.getValue(!0)}attach(){Object.values(this.payload).forEach(e=>isAnimated(e)&&e.addChild(this))}detach(){Object.values(this.payload).forEach(e=>isAnimated(e)&&e.removeChild(this))}}function addAnimatedStyles(e,t){"update"in e?t.add(e):e.getChildren().forEach(e=>addAnimatedStyles(e,t))}class AnimatedValue extends Animated{constructor(e){super(),this.animatedStyles=new Set,this.done=!1,this.setValue=(e,t=!0)=>{this.value=e,t&&this.flush()},this.value=e,shared.is.num(e)&&(this.startPosition=e,this.lastPosition=e)}static from(e){return isAnimated(e)?e:new AnimatedValue(e)}getValue(){return this.value}interpolate(...e){return globals.createAnimatedInterpolation(this,...e)}reset(e){shared.is.num(this.value)&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e?this.lastVelocity:void 0,this.lastTime=e?this.lastTime:void 0,this.startTime=globals.now()),this.done=!1,this.animatedStyles.clear()}clearStyles(){this.animatedStyles.clear()}flush(){0===this.animatedStyles.size&&addAnimatedStyles(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}}class AnimatedValueArray extends AnimatedArray{constructor(e){super(),this.payload=e}getValue(){return this.payload.map(e=>e.getValue())}setValue(e,t=!0){shared.is.arr(e)?e.length===this.payload.length&&e.forEach((e,a)=>this.payload[a].setValue(e,t)):this.payload.forEach(a=>a.setValue(e,t))}interpolate(...e){return globals.createAnimatedInterpolation(this,...e)}}class AnimatedInterpolation extends AnimatedArray{constructor(e,t){super(),this.calc=shared.createInterpolator(...t),this.payload=Array.isArray(e)?e.map(AnimatedValue.from):e instanceof AnimatedValueArray?e.getPayload():[e]}getValue(){const e=this.payload.map(e=>e.getValue());return this.calc(...e)}interpolate(...e){return globals.createAnimatedInterpolation(this,...e)}}class AnimatedProps extends AnimatedObject{constructor(e,t){super(e.style&&globals.createAnimatedStyle?Object.assign({},e,{style:globals.createAnimatedStyle(e.style)}):e),this.update=t,this.attach()}}class AnimatedStyle extends AnimatedObject{constructor(e={}){super(e.transform&&globals.createAnimatedTransform?Object.assign({},e,{transform:globals.createAnimatedTransform(e.transform)}):e)}}const createAnimatedComponent=e=>React.forwardRef((t,a)=>{const s=React.useRef(null),r=React.useRef(!0),i=React.useRef(null),n=shared.useForceUpdate(),l=React.useCallback(e=>{const t=i.current;return i.current=new AnimatedProps(e,()=>{s.current&&!1===globals.applyAnimatedValues(s.current,i.current.getAnimatedValue())&&n()}),t&&t.detach(),i.current.getValue()},[]);shared.useOnce(()=>()=>{r.current=!1,i.current&&i.current.detach()}),React.useImperativeHandle(a,()=>globals.createAnimatedRef(s,r,n));const d=l(t),o=tslib_1.__rest(d,["scrollTop","scrollLeft"]);return React__default.createElement(e,Object.assign({},o,{ref:e=>s.current=handleRef(e,a)}))});function withExtend(e,t={}){const a=e,s=(r,i)=>{if(shared.is.arr(r))return r.forEach(e=>s(e));if(shared.is.obj(r)){for(const e in r)s(r[e],e);return}let n=shared.is.str(i)?i:shared.is.str(r)?r:r&&shared.is.str(r.displayName)?r.displayName:shared.is.fun(r)?r.name:"";t.lowercase&&(n=n[0].toLowerCase()+n.slice(1)),a[n]=e(r)};return a.extend=(...e)=>(e.forEach(e=>s(e)),a),a}function handleRef(e,t){return t&&(shared.is.fun(t)?t(e):shared.is.obj(t)&&(t.current=e)),e}Object.defineProperty(exports,"interpolate",{enumerable:!0,get:function(){return globals.createAnimatedInterpolation}}),exports.Animated=Animated,exports.AnimatedArray=AnimatedArray,exports.AnimatedInterpolation=AnimatedInterpolation,exports.AnimatedObject=AnimatedObject,exports.AnimatedProps=AnimatedProps,exports.AnimatedStyle=AnimatedStyle,exports.AnimatedValue=AnimatedValue,exports.AnimatedValueArray=AnimatedValueArray,exports.createAnimatedComponent=createAnimatedComponent,exports.isAnimated=isAnimated,exports.withExtend=withExtend;
//# sourceMappingURL=index.cjs.js.map

@@ -1,2 +0,2 @@

import{__extends as t,__assign as n,__rest as r}from"tslib";import{is as e,createInterpolator as o,useForceUpdate as i,useOnce as a}from"@react-spring/shared";import{createAnimatedInterpolation as u,now as c,createAnimatedStyle as l,createAnimatedTransform as s,createAnimatedRef as h,applyAnimatedValues as f}from"@react-spring/shared/globals";export{createAnimatedInterpolation as interpolate}from"@react-spring/shared/globals";import p,{forwardRef as d,useRef as y,useCallback as v,useImperativeHandle as m}from"react";function g(t){return t instanceof V}var V=function(){function t(){this.children=[]}return t.prototype.getAnimatedValue=function(){return this.getValue()},t.prototype.getPayload=function(){return this.payload||this},t.prototype.attach=function(){},t.prototype.detach=function(){},t.prototype.getChildren=function(){return this.children},t.prototype.addChild=function(t){0===this.children.length&&this.attach(),this.children.push(t)},t.prototype.removeChild=function(t){var n=this.children.indexOf(t);this.children.splice(n,1),0===this.children.length&&this.detach()},t}(),E=function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return t(r,n),r.prototype.attach=function(){var t=this;this.payload.forEach(function(n){return g(n)&&n.addChild(t)})},r.prototype.detach=function(){var t=this;this.payload.forEach(function(n){return g(n)&&n.removeChild(t)})},r}(V),C=function(n){function r(t){var r=n.call(this)||this;return r.payload=t,r}return t(r,n),r.prototype.getValue=function(t){void 0===t&&(t=!1);var n={};for(var r in this.payload){var e=this.payload[r];t&&!g(e)||(n[r]=g(e)?e[t?"getAnimatedValue":"getValue"]():e)}return n},r.prototype.getAnimatedValue=function(){return this.getValue(!0)},r.prototype.attach=function(){var t=this;Object.values(this.payload).forEach(function(n){return g(n)&&n.addChild(t)})},r.prototype.detach=function(){var t=this;Object.values(this.payload).forEach(function(n){return g(n)&&n.removeChild(t)})},r}(V);var S=function(n){function r(t){var r=n.call(this)||this;return r.animatedStyles=new Set,r.done=!1,r.setValue=function(t,n){void 0===n&&(n=!0),r.value=t,n&&r.flush()},r.value=t,e.num(t)&&(r.startPosition=t,r.lastPosition=t),r}return t(r,n),r.from=function(t){return g(t)?t:new r(t)},r.prototype.getValue=function(){return this.value},r.prototype.interpolate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u.apply(void 0,[this].concat(t))},r.prototype.reset=function(t){e.num(this.value)&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=t?this.lastVelocity:void 0,this.lastTime=t?this.lastTime:void 0,this.startTime=c()),this.done=!1,this.animatedStyles.clear()},r.prototype.clearStyles=function(){this.animatedStyles.clear()},r.prototype.flush=function(){0===this.animatedStyles.size&&function t(n,r){"update"in n?r.add(n):n.getChildren().forEach(function(n){return t(n,r)})}(this,this.animatedStyles),this.animatedStyles.forEach(function(t){return t.update()})},r}(V),b=function(n){function r(t){var r=n.call(this)||this;return r.payload=t,r}return t(r,n),r.prototype.getValue=function(){return this.payload.map(function(t){return t.getValue()})},r.prototype.setValue=function(t,n){var r=this;void 0===n&&(n=!0),e.arr(t)?t.length===this.payload.length&&t.forEach(function(t,e){return r.payload[e].setValue(t,n)}):this.payload.forEach(function(r){return r.setValue(t,n)})},r.prototype.interpolate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u.apply(void 0,[this].concat(t))},r}(E),A=function(n){function r(t,r){var e=n.call(this)||this;return e.calc=o.apply(void 0,r),e.payload=Array.isArray(t)?t.map(S.from):t instanceof b?t.getPayload():[t],e}return t(r,n),r.prototype.getValue=function(){var t=this.payload.map(function(t){return t.getValue()});return this.calc.apply(this,t)},r.prototype.interpolate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u.apply(void 0,[this].concat(t))},r}(E),P=function(r){function e(t,e){var o=r.call(this,t.style&&l?n({},t,{style:l(t.style)}):t)||this;return o.update=e,o.attach(),o}return t(e,r),e}(C),w=function(r){function e(t){return void 0===t&&(t={}),r.call(this,t.transform&&s?n({},t,{transform:s(t.transform)}):t)||this}return t(e,r),e}(C),T=function(t){return d(function(o,u){var c=y(null),l=y(!0),s=y(null),d=i(),g=v(function(t){var n=s.current;return s.current=new P(t,function(){c.current&&!1===f(c.current,s.current.getAnimatedValue())&&d()}),n&&n.detach(),s.current.getValue()},[]);a(function(){return function(){l.current=!1,s.current&&s.current.detach()}}),m(u,function(){return h(c,l,d)});var V=g(o),E=(V.scrollTop,V.scrollLeft,r(V,["scrollTop","scrollLeft"]));return p.createElement(t,n({},E,{ref:function(t){return c.current=function(t,n){n&&(e.fun(n)?n(t):e.obj(n)&&(n.current=t));return t}(t,u)}}))})};function j(t,n){void 0===n&&(n={});var r=t,o=function(i,a){if(e.arr(i))return i.forEach(function(t){return o(t)});if(e.obj(i))for(var u in i)o(i[u],u);else{var c=e.str(a)?a:e.str(i)?i:i&&e.str(i.displayName)?i.displayName:e.fun(i)?i.name:"";n.lowercase&&(c=c[0].toLowerCase()+c.slice(1)),r[c]=t(i)}};return r.extend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.forEach(function(t){return o(t)}),r},r}export{V as Animated,E as AnimatedArray,A as AnimatedInterpolation,C as AnimatedObject,P as AnimatedProps,w as AnimatedStyle,S as AnimatedValue,b as AnimatedValueArray,T as createAnimatedComponent,g as isAnimated,j as withExtend};
import{is as t,createInterpolator as e,useForceUpdate as s,useOnce as a}from"@react-spring/shared";import{createAnimatedInterpolation as r,now as i,createAnimatedStyle as n,createAnimatedTransform as l,createAnimatedRef as h,applyAnimatedValues as o}from"@react-spring/shared/globals";export{createAnimatedInterpolation as interpolate}from"@react-spring/shared/globals";import{__rest as c}from"tslib";import u,{forwardRef as d,useRef as p,useCallback as m,useImperativeHandle as f}from"react";function y(t){return t instanceof g}class g{constructor(){this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(t){0===this.children.length&&this.attach(),this.children.push(t)}removeChild(t){const e=this.children.indexOf(t);this.children.splice(e,1),0===this.children.length&&this.detach()}}class V extends g{attach(){this.payload.forEach(t=>y(t)&&t.addChild(this))}detach(){this.payload.forEach(t=>y(t)&&t.removeChild(this))}}class v extends g{constructor(t){super(),this.payload=t}getValue(t=!1){const e={};for(const s in this.payload){const a=this.payload[s];t&&!y(a)||(e[s]=y(a)?a[t?"getAnimatedValue":"getValue"]():a)}return e}getAnimatedValue(){return this.getValue(!0)}attach(){Object.values(this.payload).forEach(t=>y(t)&&t.addChild(this))}detach(){Object.values(this.payload).forEach(t=>y(t)&&t.removeChild(this))}}class x extends g{constructor(e){super(),this.animatedStyles=new Set,this.done=!1,this.setValue=(t,e=!0)=>{this.value=t,e&&this.flush()},this.value=e,t.num(e)&&(this.startPosition=e,this.lastPosition=e)}static from(t){return y(t)?t:new x(t)}getValue(){return this.value}interpolate(...t){return r(this,...t)}reset(e){t.num(this.value)&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e?this.lastVelocity:void 0,this.lastTime=e?this.lastTime:void 0,this.startTime=i()),this.done=!1,this.animatedStyles.clear()}clearStyles(){this.animatedStyles.clear()}flush(){0===this.animatedStyles.size&&function t(e,s){"update"in e?s.add(e):e.getChildren().forEach(e=>t(e,s))}(this,this.animatedStyles),this.animatedStyles.forEach(t=>t.update())}}class E extends V{constructor(t){super(),this.payload=t}getValue(){return this.payload.map(t=>t.getValue())}setValue(e,s=!0){t.arr(e)?e.length===this.payload.length&&e.forEach((t,e)=>this.payload[e].setValue(t,s)):this.payload.forEach(t=>t.setValue(e,s))}interpolate(...t){return r(this,...t)}}class b extends V{constructor(t,s){super(),this.calc=e(...s),this.payload=Array.isArray(t)?t.map(x.from):t instanceof E?t.getPayload():[t]}getValue(){const t=this.payload.map(t=>t.getValue());return this.calc(...t)}interpolate(...t){return r(this,...t)}}class C extends v{constructor(t,e){super(t.style&&n?Object.assign({},t,{style:n(t.style)}):t),this.update=e,this.attach()}}class S extends v{constructor(t={}){super(t.transform&&l?Object.assign({},t,{transform:l(t.transform)}):t)}}const j=e=>d((r,i)=>{const n=p(null),l=p(!0),d=p(null),y=s(),g=m(t=>{const e=d.current;return d.current=new C(t,()=>{n.current&&!1===o(n.current,d.current.getAnimatedValue())&&y()}),e&&e.detach(),d.current.getValue()},[]);a(()=>()=>{l.current=!1,d.current&&d.current.detach()}),f(i,()=>h(n,l,y));const V=g(r),v=c(V,["scrollTop","scrollLeft"]);return u.createElement(e,Object.assign({},v,{ref:e=>n.current=function(e,s){s&&(t.fun(s)?s(e):t.obj(s)&&(s.current=e));return e}(e,i)}))});function A(e,s={}){const a=e,r=(i,n)=>{if(t.arr(i))return i.forEach(t=>r(t));if(t.obj(i)){for(const t in i)r(i[t],t);return}let l=t.str(n)?n:t.str(i)?i:i&&t.str(i.displayName)?i.displayName:t.fun(i)?i.name:"";s.lowercase&&(l=l[0].toLowerCase()+l.slice(1)),a[l]=e(i)};return a.extend=(...t)=>(t.forEach(t=>r(t)),a),a}export{g as Animated,V as AnimatedArray,b as AnimatedInterpolation,v as AnimatedObject,C as AnimatedProps,S as AnimatedStyle,x as AnimatedValue,E as AnimatedValueArray,j as createAnimatedComponent,y as isAnimated,A as withExtend};
//# sourceMappingURL=index.js.map
{
"name": "@react-spring/animated",
"version": "0.0.1-alpha.1",
"description": "Fork of animated by vjeux",
"version": "0.0.1-alpha.2",
"description": "Animated component props for React",
"keywords": [

@@ -30,3 +30,3 @@ "animated",

"@babel/runtime": "^7.3.1",
"@react-spring/shared": "^0.0.1-alpha.1",
"@react-spring/shared": "^0.0.1-alpha.2",
"tslib": "^1.9.3"

@@ -33,0 +33,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc