@tamagui/animations-react-native 1.128.0 → 1.129.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/animations-react-native",
3
- "version": "1.128.0",
3
+ "version": "1.129.0",
4
4
  "source": "src/index.ts",
5
5
  "removeSideEffects": true,
6
6
  "sideEffects": [
@@ -29,12 +29,12 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@tamagui/constants": "1.128.0",
33
- "@tamagui/use-presence": "1.128.0",
34
- "@tamagui/web": "1.128.0"
32
+ "@tamagui/constants": "1.129.0",
33
+ "@tamagui/use-presence": "1.129.0",
34
+ "@tamagui/web": "1.129.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@tamagui/build": "1.128.0",
37
+ "@tamagui/build": "1.129.0",
38
38
  "react": "*",
39
39
  "react-native": "^0.79.2"
40
40
  },
@@ -1,8 +1,12 @@
1
1
  import type { AnimationDriver, UniversalAnimatedNumber, UseAnimatedNumberReaction, UseAnimatedNumberStyle } from "@tamagui/web";
2
2
  import { Animated, type Text, type View } from "react-native";
3
3
  type AnimationsConfig<A extends Object = any> = { [Key in keyof A] : AnimationConfig };
4
- type SpringConfig = { type?: "spring" } & Partial<Pick<Animated.SpringAnimationConfig, "delay" | "bounciness" | "damping" | "friction" | "mass" | "overshootClamping" | "speed" | "stiffness" | "tension" | "velocity">>;
5
- type TimingConfig = { type: "timing" } & Partial<Animated.TimingAnimationConfig>;
4
+ type SpringConfig = {
5
+ type?: "spring";
6
+ } & Partial<Pick<Animated.SpringAnimationConfig, "delay" | "bounciness" | "damping" | "friction" | "mass" | "overshootClamping" | "speed" | "stiffness" | "tension" | "velocity">>;
7
+ type TimingConfig = {
8
+ type: "timing";
9
+ } & Partial<Animated.TimingAnimationConfig>;
6
10
  type AnimationConfig = SpringConfig | TimingConfig;
7
11
  export declare const AnimatedView: Animated.AnimatedComponent<typeof View>;
8
12
  export declare const AnimatedText: Animated.AnimatedComponent<typeof Text>;
@@ -1,5 +1,5 @@
1
1
  {
2
- "mappings": "AAEA,cAEE,iBAEA,yBACA,2BACA,8BACK,cAAc;AAGrB,SAAS,eAAe,WAAW,YAAY,cAAc;KAExD,iBAAiB,UAAU,mBAAmB,aAAa,KAAI;KAE/D,eAAe,EAAE,OAAO,SAAU,IAAG,QACxC,KACE,SAAS,uBACP,UACA,eACA,YACA,aACA,SACA,sBACA,UACA,cACA,YACA;KAID,eAAe,EAAE,MAAM,SAAU,IAAG,QAAQ,SAAS;KAErD,kBAAkB,eAAe;AAiCtC,OAAO,cAAMA,cAAc,SAAS,yBAAyB;AAC7D,OAAO,cAAMC,cAAc,SAAS,yBAAyB;AAE7D,OAAO,iBAAS,kBACdC,kBACC,wBAAwB,SAAS;KA2D/B,gBAAgB,wBAAwB,SAAS;AAEtD,OAAO,cAAMC,2BAA2B,0BAA0B;AAgBlE,OAAO,cAAMC,wBAAwB,uBAAuB;AAO5D,OAAO,iBAAS,iBAAiB,UAAU,kBACzCC,YAAY,IACX,gBAAgB",
2
+ "mappings": "AAEA,cAEE,iBAEA,yBACA,2BACA,8BACK,cAAc;AAGrB,SAAS,eAAe,WAAW,YAAY,cAAc;KAExD,iBAAiB,UAAU,mBAAmB,aAAa,KAAI;KAE/D,eAAe;CAAE,OAAO;AAAU,IAAG,QACxC,KACE,SAAS,uBACP,UACA,eACA,YACA,aACA,SACA,sBACA,UACA,cACA,YACA;KAID,eAAe;CAAE,MAAM;AAAU,IAAG,QAAQ,SAAS;KAErD,kBAAkB,eAAe;AAiCtC,OAAO,cAAMA,cAAc,SAAS,yBAAyB;AAC7D,OAAO,cAAMC,cAAc,SAAS,yBAAyB;AAE7D,OAAO,iBAAS,kBACdC,kBACC,wBAAwB,SAAS;KA2D/B,gBAAgB,wBAAwB,SAAS;AAEtD,OAAO,cAAMC,2BAA2B,0BAA0B;AAgBlE,OAAO,cAAMC,wBAAwB,uBAAuB;AAO5D,OAAO,iBAAS,iBAAiB,UAAU,kBACzCC,YAAY,IACX,gBAAgB",
3
3
  "names": [
4
4
  "AnimatedView: Animated.AnimatedComponent<typeof View>",
5
5
  "AnimatedText: Animated.AnimatedComponent<typeof Text>",