@tamagui/animations-react-native 1.113.1 → 1.113.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.
@@ -4,33 +4,29 @@ import { isWeb, useIsomorphicLayoutEffect } from "@tamagui/constants";
4
4
  import { useEvent } from "@tamagui/web";
5
5
  import { Animated } from "react-native";
6
6
  var animatedStyleKey = {
7
- transform: !0,
8
- opacity: !0
9
- },
10
- colorStyleKey = {
11
- backgroundColor: !0,
12
- color: !0,
13
- borderColor: !0,
14
- borderLeftColor: !0,
15
- borderRightColor: !0,
16
- borderTopColor: !0,
17
- borderBottomColor: !0
18
- },
19
- costlyToAnimateStyleKey = {
20
- borderRadius: !0,
21
- borderTopLeftRadius: !0,
22
- borderTopRightRadius: !0,
23
- borderBottomLeftRadius: !0,
24
- borderBottomRightRadius: !0,
25
- borderWidth: !0,
26
- borderLeftWidth: !0,
27
- borderRightWidth: !0,
28
- borderTopWidth: !0,
29
- borderBottomWidth: !0,
30
- ...colorStyleKey
31
- },
32
- AnimatedView = Animated.View,
33
- AnimatedText = Animated.Text;
7
+ transform: !0,
8
+ opacity: !0
9
+ }, colorStyleKey = {
10
+ backgroundColor: !0,
11
+ color: !0,
12
+ borderColor: !0,
13
+ borderLeftColor: !0,
14
+ borderRightColor: !0,
15
+ borderTopColor: !0,
16
+ borderBottomColor: !0
17
+ }, costlyToAnimateStyleKey = {
18
+ borderRadius: !0,
19
+ borderTopLeftRadius: !0,
20
+ borderTopRightRadius: !0,
21
+ borderBottomLeftRadius: !0,
22
+ borderBottomRightRadius: !0,
23
+ borderWidth: !0,
24
+ borderLeftWidth: !0,
25
+ borderRightWidth: !0,
26
+ borderTopWidth: !0,
27
+ borderBottomWidth: !0,
28
+ ...colorStyleKey
29
+ }, AnimatedView = Animated.View, AnimatedText = Animated.Text;
34
30
  function useAnimatedNumber(initial) {
35
31
  var state = React.useRef(null);
36
32
  return state.current || (state.current = {
@@ -51,21 +47,15 @@ function useAnimatedNumber(initial) {
51
47
  (_state_current_composite = state.current.composite) === null || _state_current_composite === void 0 || _state_current_composite.stop(), state.current.composite = null;
52
48
  },
53
49
  setValue(next) {
54
- var {
55
- type,
56
- ...config
57
- } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
58
- type: "spring"
59
- },
60
- onFinish = arguments.length > 2 ? arguments[2] : void 0,
61
- val = state.current.val,
62
- handleFinish = onFinish ? function (param) {
63
- var {
64
- finished
65
- } = param;
66
- return finished ? onFinish() : null;
67
- } : void 0;
68
- if (type === "direct") val.setValue(next);else if (type === "spring") {
50
+ var { type, ...config } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
51
+ type: "spring"
52
+ }, onFinish = arguments.length > 2 ? arguments[2] : void 0, val = state.current.val, handleFinish = onFinish ? function(param) {
53
+ var { finished } = param;
54
+ return finished ? onFinish() : null;
55
+ } : void 0;
56
+ if (type === "direct")
57
+ val.setValue(next);
58
+ else if (type === "spring") {
69
59
  var _state_current_composite;
70
60
  (_state_current_composite = state.current.composite) === null || _state_current_composite === void 0 || _state_current_composite.stop();
71
61
  var composite = Animated.spring(val, {
@@ -88,18 +78,18 @@ function useAnimatedNumber(initial) {
88
78
  };
89
79
  }
90
80
  function useAnimatedNumberReaction(param, onValue) {
91
- var {
92
- value
93
- } = param,
94
- onChange = useEvent(function (current) {
95
- onValue(current.value);
96
- });
97
- React.useEffect(function () {
81
+ var { value } = param, onChange = useEvent(function(current) {
82
+ onValue(current.value);
83
+ });
84
+ React.useEffect(function() {
98
85
  var id = value.getInstance().addListener(onChange);
99
- return function () {
86
+ return function() {
100
87
  value.getInstance().removeListener(id);
101
88
  };
102
- }, [value, onChange]);
89
+ }, [
90
+ value,
91
+ onChange
92
+ ]);
103
93
  }
104
94
  function useAnimatedNumberStyle(value, getStyle) {
105
95
  return getStyle(value.getInstance());
@@ -115,151 +105,140 @@ function createAnimations(animations) {
115
105
  useAnimatedNumberStyle,
116
106
  usePresence,
117
107
  ResetPresence,
118
- useAnimations: function (param) {
119
- var {
120
- props,
121
- onDidAnimate,
122
- style,
123
- componentState,
124
- presence
125
- } = param,
126
- isExiting = presence?.[0] === !1,
127
- sendExitComplete = presence?.[1],
128
- animateStyles = React.useRef({}),
129
- animatedTranforms = React.useRef([]),
130
- animationsState = React.useRef(/* @__PURE__ */new WeakMap()),
131
- animateOnly = props.animateOnly || [],
132
- hasAnimateOnly = !!props.animateOnly,
133
- args = [JSON.stringify(style), componentState, isExiting, !!onDidAnimate],
134
- isThereNoNativeStyleKeys = React.useMemo(function () {
135
- return isWeb ? !0 : Object.keys(style).some(function (key) {
136
- return animateOnly.length ? !animatedStyleKey[key] && animateOnly.indexOf(key) === -1 : !animatedStyleKey[key];
137
- });
138
- }, args),
139
- res = React.useMemo(function () {
140
- var runners = [],
141
- completions = [],
142
- nonAnimatedStyle = {};
143
- for (var key in style) {
144
- var val = style[key];
145
- if (animatedStyleKey[key] == null && !costlyToAnimateStyleKey[key]) {
146
- nonAnimatedStyle[key] = val;
147
- continue;
148
- }
149
- if (hasAnimateOnly && !animateOnly.includes(key)) {
150
- nonAnimatedStyle[key] = val;
151
- continue;
152
- }
153
- if (key !== "transform") {
154
- animateStyles.current[key] = update(key, animateStyles.current[key], val);
108
+ useAnimations: function(param) {
109
+ var { props, onDidAnimate, style, componentState, presence } = param, isExiting = presence?.[0] === !1, sendExitComplete = presence?.[1], animateStyles = React.useRef({}), animatedTranforms = React.useRef([]), animationsState = React.useRef(/* @__PURE__ */ new WeakMap()), animateOnly = props.animateOnly || [], hasAnimateOnly = !!props.animateOnly, args = [
110
+ JSON.stringify(style),
111
+ componentState,
112
+ isExiting,
113
+ !!onDidAnimate
114
+ ], isThereNoNativeStyleKeys = React.useMemo(function() {
115
+ return isWeb ? !0 : Object.keys(style).some(function(key) {
116
+ return animateOnly.length ? !animatedStyleKey[key] && animateOnly.indexOf(key) === -1 : !animatedStyleKey[key];
117
+ });
118
+ }, args), res = React.useMemo(function() {
119
+ var runners = [], completions = [], nonAnimatedStyle = {};
120
+ for (var key in style) {
121
+ var val = style[key];
122
+ if (animatedStyleKey[key] == null && !costlyToAnimateStyleKey[key]) {
123
+ nonAnimatedStyle[key] = val;
124
+ continue;
125
+ }
126
+ if (hasAnimateOnly && !animateOnly.includes(key)) {
127
+ nonAnimatedStyle[key] = val;
128
+ continue;
129
+ }
130
+ if (key !== "transform") {
131
+ animateStyles.current[key] = update(key, animateStyles.current[key], val);
132
+ continue;
133
+ }
134
+ if (val) {
135
+ if (typeof val == "string") {
136
+ console.warn("Warning: Tamagui can't animate string transforms yet!");
155
137
  continue;
156
138
  }
157
- if (val) {
158
- if (typeof val == "string") {
159
- console.warn("Warning: Tamagui can't animate string transforms yet!");
160
- continue;
139
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
140
+ try {
141
+ for (var _iterator = val.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
142
+ var [index, transform] = _step.value, _animatedTranforms_current_index;
143
+ if (transform) {
144
+ var tkey = Object.keys(transform)[0], currentTransform = (_animatedTranforms_current_index = animatedTranforms.current[index]) === null || _animatedTranforms_current_index === void 0 ? void 0 : _animatedTranforms_current_index[tkey];
145
+ animatedTranforms.current[index] = {
146
+ [tkey]: update(tkey, currentTransform, transform[tkey])
147
+ }, animatedTranforms.current = [
148
+ ...animatedTranforms.current
149
+ ];
150
+ }
161
151
  }
162
- var _iteratorNormalCompletion = !0,
163
- _didIteratorError = !1,
164
- _iteratorError = void 0;
152
+ } catch (err) {
153
+ _didIteratorError = !0, _iteratorError = err;
154
+ } finally {
165
155
  try {
166
- for (var _iterator = val.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
167
- var [index, transform] = _step.value,
168
- _animatedTranforms_current_index;
169
- if (transform) {
170
- var tkey = Object.keys(transform)[0],
171
- currentTransform = (_animatedTranforms_current_index = animatedTranforms.current[index]) === null || _animatedTranforms_current_index === void 0 ? void 0 : _animatedTranforms_current_index[tkey];
172
- animatedTranforms.current[index] = {
173
- [tkey]: update(tkey, currentTransform, transform[tkey])
174
- }, animatedTranforms.current = [...animatedTranforms.current];
175
- }
176
- }
177
- } catch (err) {
178
- _didIteratorError = !0, _iteratorError = err;
156
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
179
157
  } finally {
180
- try {
181
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
182
- } finally {
183
- if (_didIteratorError) throw _iteratorError;
184
- }
158
+ if (_didIteratorError)
159
+ throw _iteratorError;
185
160
  }
186
161
  }
187
162
  }
188
- var animatedStyle = {
189
- ...Object.fromEntries(Object.entries(animateStyles.current).map(function (param2) {
190
- var [k, v] = param2,
191
- _animationsState_current_get;
192
- return [k, ((_animationsState_current_get = animationsState.current.get(v)) === null || _animationsState_current_get === void 0 ? void 0 : _animationsState_current_get.interpolation) || v];
193
- })),
194
- transform: animatedTranforms.current.map(function (r) {
195
- var _animationsState_current_get,
196
- key2 = Object.keys(r)[0],
197
- val2 = ((_animationsState_current_get = animationsState.current.get(r[key2])) === null || _animationsState_current_get === void 0 ? void 0 : _animationsState_current_get.interpolation) || r[key2];
198
- return {
199
- [key2]: val2
200
- };
201
- })
202
- };
203
- return {
204
- runners,
205
- completions,
206
- style: [nonAnimatedStyle, animatedStyle]
207
- };
208
- function update(key2, animated, valIn) {
209
- var isColorStyleKey = colorStyleKey[key2],
210
- [val2, type] = isColorStyleKey ? [0, void 0] : getValue(valIn),
211
- animateToValue = val2,
212
- value = animated || new Animated.Value(val2),
213
- curInterpolation = animationsState.current.get(value),
214
- interpolateArgs;
215
- if (type) {
216
- var _curInterpolation_current;
217
- interpolateArgs = getInterpolated((_curInterpolation_current = curInterpolation?.current) !== null && _curInterpolation_current !== void 0 ? _curInterpolation_current : value._value, val2, type), animationsState.current.set(value, {
218
- interpolation: value.interpolate(interpolateArgs),
219
- current: val2
220
- });
221
- }
222
- if (isColorStyleKey && (animateToValue = curInterpolation?.animateToValue ? 0 : 1, interpolateArgs = getColorInterpolated(curInterpolation?.current,
223
- // valIn is the next color
224
- valIn, animateToValue), animationsState.current.set(value, {
225
- current: valIn,
163
+ }
164
+ var animatedStyle = {
165
+ ...Object.fromEntries(Object.entries(animateStyles.current).map(function(param2) {
166
+ var [k, v] = param2, _animationsState_current_get;
167
+ return [
168
+ k,
169
+ ((_animationsState_current_get = animationsState.current.get(v)) === null || _animationsState_current_get === void 0 ? void 0 : _animationsState_current_get.interpolation) || v
170
+ ];
171
+ })),
172
+ transform: animatedTranforms.current.map(function(r) {
173
+ var _animationsState_current_get, key2 = Object.keys(r)[0], val2 = ((_animationsState_current_get = animationsState.current.get(r[key2])) === null || _animationsState_current_get === void 0 ? void 0 : _animationsState_current_get.interpolation) || r[key2];
174
+ return {
175
+ [key2]: val2
176
+ };
177
+ })
178
+ };
179
+ return {
180
+ runners,
181
+ completions,
182
+ style: [
183
+ nonAnimatedStyle,
184
+ animatedStyle
185
+ ]
186
+ };
187
+ function update(key2, animated, valIn) {
188
+ var isColorStyleKey = colorStyleKey[key2], [val2, type] = isColorStyleKey ? [
189
+ 0,
190
+ void 0
191
+ ] : getValue(valIn), animateToValue = val2, value = animated || new Animated.Value(val2), curInterpolation = animationsState.current.get(value), interpolateArgs;
192
+ if (type) {
193
+ var _curInterpolation_current;
194
+ interpolateArgs = getInterpolated((_curInterpolation_current = curInterpolation?.current) !== null && _curInterpolation_current !== void 0 ? _curInterpolation_current : value._value, val2, type), animationsState.current.set(value, {
226
195
  interpolation: value.interpolate(interpolateArgs),
227
- animateToValue: curInterpolation?.animateToValue ? 0 : 1
228
- })), value) {
229
- var animationConfig = getAnimationConfig(key2, animations, props.animation),
230
- resolve,
231
- promise = new Promise(function (res2) {
232
- resolve = res2;
233
- });
234
- completions.push(promise), runners.push(function () {
235
- value.stopAnimation();
236
- function getAnimation() {
237
- return Animated[animationConfig.type || "spring"](value, {
238
- toValue: animateToValue,
239
- useNativeDriver: !isWeb && !isThereNoNativeStyleKeys,
240
- ...animationConfig
241
- });
242
- }
243
- var animation = animationConfig.delay ? Animated.sequence([Animated.delay(animationConfig.delay), getAnimation()]) : getAnimation();
244
- animation.start(function (param2) {
245
- var {
246
- finished
247
- } = param2;
248
- finished && resolve();
196
+ current: val2
197
+ });
198
+ }
199
+ if (isColorStyleKey && (animateToValue = curInterpolation?.animateToValue ? 0 : 1, interpolateArgs = getColorInterpolated(
200
+ curInterpolation?.current,
201
+ // valIn is the next color
202
+ valIn,
203
+ animateToValue
204
+ ), animationsState.current.set(value, {
205
+ current: valIn,
206
+ interpolation: value.interpolate(interpolateArgs),
207
+ animateToValue: curInterpolation?.animateToValue ? 0 : 1
208
+ })), value) {
209
+ var animationConfig = getAnimationConfig(key2, animations, props.animation), resolve, promise = new Promise(function(res2) {
210
+ resolve = res2;
211
+ });
212
+ completions.push(promise), runners.push(function() {
213
+ value.stopAnimation();
214
+ function getAnimation() {
215
+ return Animated[animationConfig.type || "spring"](value, {
216
+ toValue: animateToValue,
217
+ useNativeDriver: !isWeb && !isThereNoNativeStyleKeys,
218
+ ...animationConfig
249
219
  });
220
+ }
221
+ var animation = animationConfig.delay ? Animated.sequence([
222
+ Animated.delay(animationConfig.delay),
223
+ getAnimation()
224
+ ]) : getAnimation();
225
+ animation.start(function(param2) {
226
+ var { finished } = param2;
227
+ finished && resolve();
250
228
  });
251
- }
252
- return process.env.NODE_ENV === "development" && props.debug === "verbose" && console.info(" \u{1F4A0} animate", key2, `from (${value._value}) to`, valIn, `(${val2})`, "type", type, "interpolate", interpolateArgs), value;
229
+ });
253
230
  }
254
- }, args);
255
- return useIsomorphicLayoutEffect(function () {
256
- res.runners.forEach(function (r) {
231
+ return process.env.NODE_ENV === "development" && props.debug === "verbose" && console.info(" \u{1F4A0} animate", key2, `from (${value._value}) to`, valIn, `(${val2})`, "type", type, "interpolate", interpolateArgs), value;
232
+ }
233
+ }, args);
234
+ return useIsomorphicLayoutEffect(function() {
235
+ res.runners.forEach(function(r) {
257
236
  return r();
258
237
  });
259
238
  var cancel = !1;
260
- return Promise.all(res.completions).then(function () {
239
+ return Promise.all(res.completions).then(function() {
261
240
  cancel || (onDidAnimate?.(), isExiting && sendExitComplete?.());
262
- }), function () {
241
+ }), function() {
263
242
  cancel = !0;
264
243
  };
265
244
  }, args), process.env.NODE_ENV === "development" && props.debug === "verbose" && console.info("Animated", {
@@ -271,8 +250,13 @@ function createAnimations(animations) {
271
250
  };
272
251
  }
273
252
  function getColorInterpolated(currentColor, nextColor, animateToValue) {
274
- var inputRange = [0, 1],
275
- outputRange = [currentColor || nextColor, nextColor];
253
+ var inputRange = [
254
+ 0,
255
+ 1
256
+ ], outputRange = [
257
+ currentColor || nextColor,
258
+ nextColor
259
+ ];
276
260
  return animateToValue === 0 && outputRange.reverse(), {
277
261
  inputRange,
278
262
  outputRange
@@ -281,27 +265,29 @@ function getColorInterpolated(currentColor, nextColor, animateToValue) {
281
265
  function getInterpolated(current, next) {
282
266
  var postfix = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "deg";
283
267
  next === current && (current = next - 1e-9);
284
- var inputRange = [current, next],
285
- outputRange = [`${current}${postfix}`, `${next}${postfix}`];
268
+ var inputRange = [
269
+ current,
270
+ next
271
+ ], outputRange = [
272
+ `${current}${postfix}`,
273
+ `${next}${postfix}`
274
+ ];
286
275
  return next < current && (inputRange.reverse(), outputRange.reverse()), {
287
276
  inputRange,
288
277
  outputRange
289
278
  };
290
279
  }
291
280
  function getAnimationConfig(key, animations, animation) {
292
- if (typeof animation == "string") return animations[animation];
293
- var type = "",
294
- extraConf,
295
- shortKey = transformShorthands[key];
281
+ if (typeof animation == "string")
282
+ return animations[animation];
283
+ var type = "", extraConf, shortKey = transformShorthands[key];
296
284
  if (Array.isArray(animation)) {
297
285
  var _animation_, _animation_1;
298
286
  type = animation[0];
299
- var _animation__key,
300
- conf = (_animation__key = (_animation_ = animation[1]) === null || _animation_ === void 0 ? void 0 : _animation_[key]) !== null && _animation__key !== void 0 ? _animation__key : (_animation_1 = animation[1]) === null || _animation_1 === void 0 ? void 0 : _animation_1[shortKey];
287
+ var _animation__key, conf = (_animation__key = (_animation_ = animation[1]) === null || _animation_ === void 0 ? void 0 : _animation_[key]) !== null && _animation__key !== void 0 ? _animation__key : (_animation_1 = animation[1]) === null || _animation_1 === void 0 ? void 0 : _animation_1[shortKey];
301
288
  conf && (typeof conf == "string" ? type = conf : (type = conf.type || type, extraConf = conf));
302
289
  } else {
303
- var _animation_key,
304
- val = (_animation_key = animation?.[key]) !== null && _animation_key !== void 0 ? _animation_key : animation?.[shortKey];
290
+ var _animation_key, val = (_animation_key = animation?.[key]) !== null && _animation_key !== void 0 ? _animation_key : animation?.[shortKey];
305
291
  type = val?.type, extraConf = val;
306
292
  }
307
293
  var found = animations[type];
@@ -318,10 +304,22 @@ var transformShorthands = {
318
304
  };
319
305
  function getValue(input) {
320
306
  var isColor = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
321
- if (typeof input != "string") return [input];
322
- var _input_match,
323
- [_, number, after] = (_input_match = input.match(/([-0-9]+)(deg|%|px)/)) !== null && _input_match !== void 0 ? _input_match : [];
324
- return [+number, after];
307
+ if (typeof input != "string")
308
+ return [
309
+ input
310
+ ];
311
+ var _input_match, [_, number, after] = (_input_match = input.match(/([-0-9]+)(deg|%|px)/)) !== null && _input_match !== void 0 ? _input_match : [];
312
+ return [
313
+ +number,
314
+ after
315
+ ];
325
316
  }
326
- export { AnimatedText, AnimatedView, createAnimations, useAnimatedNumber, useAnimatedNumberReaction, useAnimatedNumberStyle };
327
- //# sourceMappingURL=createAnimations.native.js.map
317
+ export {
318
+ AnimatedText,
319
+ AnimatedView,
320
+ createAnimations,
321
+ useAnimatedNumber,
322
+ useAnimatedNumberReaction,
323
+ useAnimatedNumberStyle
324
+ };
325
+ //# sourceMappingURL=createAnimations.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["React","ResetPresence","usePresence","isWeb","useIsomorphicLayoutEffect","useEvent","Animated","animatedStyleKey","transform","opacity","colorStyleKey","backgroundColor","color","borderColor","borderLeftColor","borderRightColor","borderTopColor","borderBottomColor","costlyToAnimateStyleKey","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","AnimatedView","View","AnimatedText","Text","useAnimatedNumber","initial","state","useRef","current","composite","val","Value","strategy","type","getInstance","getValue","_value","stop","_state_current_composite","setValue","next","config","arguments","length","onFinish","handleFinish","param","finished","spring","toValue","useNativeDriver","start","_state_current_composite1","composite1","timing","useAnimatedNumberReaction","onValue","value","onChange","useEffect","id","addListener","removeListener","useAnimatedNumberStyle","getStyle","createAnimations","animations","isReactNative","useAnimations","props","onDidAnimate","style","componentState","presence","isExiting","sendExitComplete","animateStyles","animatedTranforms","animationsState","WeakMap","animateOnly","hasAnimateOnly","args","JSON","stringify","isThereNoNativeStyleKeys","useMemo","Object","keys","some","key","indexOf","res","runners","completions","nonAnimatedStyle","includes","update","console","warn","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","entries","Symbol","iterator","_step","done","index","_animatedTranforms_current_index","tkey","currentTransform","err","return","animatedStyle","fromEntries","map","param2","k","v","_animationsState_current_get","get","interpolation","r","key2","val2","animated","valIn","isColorStyleKey","animateToValue","curInterpolation","interpolateArgs","_curInterpolation_current","getInterpolated","set","interpolate","getColorInterpolated","animationConfig","getAnimationConfig","animation","resolve","promise","Promise","res2","push","stopAnimation","getAnimation","delay","sequence","process","env","NODE_ENV","debug","info","forEach","cancel","all","then","response","inputStyle","currentColor","nextColor","inputRange","outputRange","reverse"],"sources":["../../src/createAnimations.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAClB,SAASC,aAAA,EAAeC,WAAA,QAAmB;AAC3C,SAASC,KAAA,EAAOC,yBAAA,QAAiC;AAOjD,SAASC,QAAA,QAAgB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C,MAAA,GAAU,CAAC;QAClB,OAAMb,OAAO,CAAAc,GAAA,CAAUjE,GAAC,CAAAE,WAAY,EAAAgE,IAAA,aAAe;UAC/CF,MACE,KAAOtF,YAAS,MAClBI,SAAO,IAAAC,gBAEc;QAI3B,CAAO;UACCiF,MAAM;QACZ;MAEF,GAAA1E,IAAA,GAAAoE,OAAA,CAAAC,GAAA,CAAAC,QAAA,sBAAAnF,KAAA,CAAAoF,KAAA,kBAAAvD,OAAA,CAAAwD,IAAA;QAEAK,QAAO,EAAAnE,GAAA;QADOoE,UAAW,EAAAzF,KAAI;QAGxBG;MACL,IAAAkB,GAAA;IACF;EAGA;AAA4B;AACvB,SACA6C,qBAAAwB,YAAA,EAAAC,SAAA,EAAAhC,cAAA;EACH,IAAAiC,UAAY,IACZ,GACF,EAEA;IAAAC,WAAS,GAAS,CAChBH,YAAW,IAAAC,SAAU,EACnBA,SAAQ,CAEV;EACA,OAAOhC,cAAU,KAAK,KAAAkC,WAAA,CAAAC,OAAA;IACxBF,UAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/core/animations-react-native/src/createAnimations.tsx"],
4
+ "mappings": "AAAA,OAAOA,WAAW;AAClB,SAASC,eAAeC,mBAAmB;AAC3C,SAASC,OAAOC,iCAAiC;AAOjD,SAASC,gBAAgB;AAEzB,SAASC,gBAAgB;AAwBzB,IAAMC,mBAAmB;EACvBC,WAAW;EACXC,SAAS;AACX,GAEMC,gBAAgB;EACpBC,iBAAiB;EACjBC,OAAO;EACPC,aAAa;EACbC,iBAAiB;EACjBC,kBAAkB;EAClBC,gBAAgB;EAChBC,mBAAmB;AACrB,GAGMC,0BAA0B;EAC9BC,cAAc;EACdC,qBAAqB;EACrBC,sBAAsB;EACtBC,wBAAwB;EACxBC,yBAAyB;EACzBC,aAAa;EACbC,iBAAiB;EACjBC,kBAAkB;EAClBC,gBAAgB;EAChBC,mBAAmB;EACnB,GAAGlB;AAEL,GAEamB,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AAA;AAEpB,MAAIvF,OAAO,IACPgH,WACEC,WAAWC,oBAAoB/D,GAAAA;AACrC,MAAIgE,MAAMC,QAAQ7B,SAAAA,GAAY;QAEfA,aAAuBA;AADpCvF,WAAOuF,UAAU,CAAA;QACJA,iBAAP8B,QAAO9B,mBAAAA,cAAAA,UAAU,CAAA,OAAE,QAAZA,gBAAAA,SAAAA,SAAAA,YAAepC,GAAAA,OAAI,QAAnBoC,oBAAAA,SAAAA,mBAAuBA,eAAAA,UAAU,CAAA,OAAE,QAAZA,iBAAAA,SAAAA,SAAAA,aAAe0B,QAAAA;AACnD,IAAII,SACE,OAAOA,QAAS,WAClBrH,OAAOqH,QAEPrH,OAAQqH,KAAarH,QAAQA,MAC7BgH,YAAYK;EAGlB,OAAO;QACO9B,gBAAN1F,OAAM0F,iBAAAA,YAAYpC,GAAAA,OAAI,QAAhBoC,mBAAAA,SAAAA,iBAAoBA,YAAY0B,QAAAA;AAC5CjH,WAAOH,KAAKG,MACZgH,YAAYnH;EACd;AACA,MAAMyH,QAAQ3F,WAAW3B,IAAAA;AACzB,SAAO;IACL,GAAGsH;IACH,GAAGN;EACL;AACF;AAGA,IAAME,sBAAsB;EAC1BK,GAAG;EACHC,GAAG;EACHC,YAAY;EACZC,YAAY;AACd;AAEA,SAASxH,SAASyH,OAAsB;MAAEC,UAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAU;AAClD,MAAI,OAAOD,SAAU;AACnB,WAAO;MAACA;;MAEiBA,cAArB,CAACE,GAAGC,QAAQC,KAAAA,KAASJ,eAAAA,MAAMK,MAAM,qBAAA,OAAA,QAAZL,iBAAAA,SAAAA,eAAsC,CAAA;AACjE,SAAO;IAAC,CAACG;IAAQC;;AACnB;",
5
+ "names": ["React", "ResetPresence", "usePresence", "isWeb", "useIsomorphicLayoutEffect", "useEvent", "Animated", "animatedStyleKey", "transform", "opacity", "colorStyleKey", "backgroundColor", "color", "borderColor", "borderLeftColor", "borderRightColor", "borderTopColor", "borderBottomColor", "costlyToAnimateStyleKey", "borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderWidth", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth", "AnimatedView", "View", "AnimatedText", "Text", "useAnimatedNumber", "initial", "state", "useRef", "current", "composite", "val", "Value", "strategy", "type", "getInstance", "getValue", "stop", "setValue", "next", "config", "onFinish", "handleFinish", "finished", "undefined", "spring", "toValue", "useNativeDriver", "start", "timing", "useAnimatedNumberReaction", "onValue", "value", "onChange", "useEffect", "id", "addListener", "removeListener", "useAnimatedNumberStyle", "getStyle", "createAnimations", "animations", "isReactNative", "useAnimations", "props", "onDidAnimate", "style", "componentState", "presence", "isExiting", "sendExitComplete", "animateStyles", "animatedTranforms", "animationsState", "WeakMap", "animateOnly", "hasAnimateOnly", "args", "JSON", "stringify", "isThereNoNativeStyleKeys", "useMemo", "Object", "keys", "some", "key", "length", "indexOf", "res", "runners", "completions", "nonAnimatedStyle", "includes", "update", "console", "warn", "entries", "index", "tkey", "currentTransform", "animatedStyle", "fromEntries", "map", "param", "k", "v", "get", "interpolation", "r", "animated", "valIn", "isColorStyleKey", "animateToValue", "curInterpolation", "interpolateArgs", "getInterpolated", "set", "interpolate", "getColorInterpolated", "animationConfig", "getAnimationConfig", "animation", "resolve", "promise", "Promise", "push", "stopAnimation", "getAnimation", "delay", "sequence", "process", "env", "NODE_ENV", "info", "forEach", "cancel", "all", "then", "response", "inputStyle", "currentColor", "nextColor", "inputRange", "outputRange", "reverse", "postfix", "extraConf", "shortKey", "transformShorthands", "Array", "isArray", "conf", "found", "x", "y", "translateX", "translateY", "input", "isColor", "_", "number", "after", "match"]
6
+ }
@@ -1,2 +1,3 @@
1
- export * from "./createAnimations.native.js";
2
- //# sourceMappingURL=index.native.js.map
1
+
2
+ export * from "./createAnimations";
3
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAEA,cAAc","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/core/animations-react-native/src/index.ts"],
4
+ "mappings": "AAAA,OAAO;AAEP,cAAc;",
5
+ "names": []
6
+ }
@@ -1,2 +1,2 @@
1
1
  typeof requestAnimationFrame > "u" && (globalThis.requestAnimationFrame = setImmediate);
2
- //# sourceMappingURL=polyfill.native.js.map
2
+ //# sourceMappingURL=polyfill.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["requestAnimationFrame","globalThis","setImmediate"],"sources":["../../src/polyfill.ts"],"sourcesContent":[null],"mappings":"AACI,OAAOA,qBAAA,GAA0B,QACnCC,UAAA,CAAWD,qBAAA,GAA2BE,YAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Users/n8/tamagui/code/core/animations-react-native/src/polyfill.ts"],
4
+ "mappings": "AACI,OAAOA,wBAA0B,QACnCC,WAAW,wBAA2BC;",
5
+ "names": ["requestAnimationFrame", "globalThis", "setImmediate"]
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/animations-react-native",
3
- "version": "1.113.1",
3
+ "version": "1.113.2",
4
4
  "source": "src/index.ts",
5
5
  "removeSideEffects": true,
6
6
  "sideEffects": [
@@ -26,12 +26,12 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@tamagui/constants": "1.113.1",
30
- "@tamagui/use-presence": "1.113.1",
31
- "@tamagui/web": "1.113.1"
29
+ "@tamagui/constants": "1.113.2",
30
+ "@tamagui/use-presence": "1.113.2",
31
+ "@tamagui/web": "1.113.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@tamagui/build": "1.113.1",
34
+ "@tamagui/build": "1.113.2",
35
35
  "react": "^18.2.0 || ^19.0.0",
36
36
  "react-native": "0.74.1"
37
37
  },