@tamagui/config 1.15.32 → 1.15.34
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/dist/cjs/animations.moti.js +59 -0
- package/dist/cjs/animations.moti.js.map +6 -0
- package/dist/esm/animations.moti.js +35 -0
- package/dist/esm/animations.moti.js.map +6 -0
- package/dist/esm/animations.moti.mjs +35 -0
- package/dist/esm/animations.moti.mjs.map +6 -0
- package/package.json +11 -11
- package/src/animations.moti.ts +32 -0
- package/types/animations.moti.d.ts +31 -0
- package/types/animations.moti.d.ts.map +1 -0
- package/types/animations.reanimated copy.d.ts +31 -0
- package/types/tamagui.config.d.ts +7818 -7818
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var animations_moti_exports = {};
|
|
20
|
+
__export(animations_moti_exports, {
|
|
21
|
+
animations: () => animations
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(animations_moti_exports);
|
|
24
|
+
var import_animations_moti = require("@tamagui/animations-moti");
|
|
25
|
+
const animations = (0, import_animations_moti.createAnimations)({
|
|
26
|
+
bouncy: {
|
|
27
|
+
type: "spring",
|
|
28
|
+
damping: 9,
|
|
29
|
+
mass: 0.9,
|
|
30
|
+
stiffness: 150
|
|
31
|
+
},
|
|
32
|
+
lazy: {
|
|
33
|
+
type: "spring",
|
|
34
|
+
damping: 18,
|
|
35
|
+
stiffness: 50
|
|
36
|
+
},
|
|
37
|
+
slow: {
|
|
38
|
+
type: "spring",
|
|
39
|
+
damping: 15,
|
|
40
|
+
stiffness: 40
|
|
41
|
+
},
|
|
42
|
+
quick: {
|
|
43
|
+
type: "spring",
|
|
44
|
+
damping: 20,
|
|
45
|
+
mass: 1.2,
|
|
46
|
+
stiffness: 250
|
|
47
|
+
},
|
|
48
|
+
tooltip: {
|
|
49
|
+
type: "spring",
|
|
50
|
+
damping: 10,
|
|
51
|
+
mass: 0.9,
|
|
52
|
+
stiffness: 100
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
+
0 && (module.exports = {
|
|
57
|
+
animations
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=animations.moti.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animations.moti.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAiC;AAE1B,MAAM,iBAAa,yCAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createAnimations } from "@tamagui/animations-moti";
|
|
2
|
+
const animations = createAnimations({
|
|
3
|
+
bouncy: {
|
|
4
|
+
type: "spring",
|
|
5
|
+
damping: 9,
|
|
6
|
+
mass: 0.9,
|
|
7
|
+
stiffness: 150
|
|
8
|
+
},
|
|
9
|
+
lazy: {
|
|
10
|
+
type: "spring",
|
|
11
|
+
damping: 18,
|
|
12
|
+
stiffness: 50
|
|
13
|
+
},
|
|
14
|
+
slow: {
|
|
15
|
+
type: "spring",
|
|
16
|
+
damping: 15,
|
|
17
|
+
stiffness: 40
|
|
18
|
+
},
|
|
19
|
+
quick: {
|
|
20
|
+
type: "spring",
|
|
21
|
+
damping: 20,
|
|
22
|
+
mass: 1.2,
|
|
23
|
+
stiffness: 250
|
|
24
|
+
},
|
|
25
|
+
tooltip: {
|
|
26
|
+
type: "spring",
|
|
27
|
+
damping: 10,
|
|
28
|
+
mass: 0.9,
|
|
29
|
+
stiffness: 100
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
animations
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=animations.moti.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animations.moti.ts"],
|
|
4
|
+
"mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createAnimations } from "@tamagui/animations-moti";
|
|
2
|
+
const animations = createAnimations({
|
|
3
|
+
bouncy: {
|
|
4
|
+
type: "spring",
|
|
5
|
+
damping: 9,
|
|
6
|
+
mass: 0.9,
|
|
7
|
+
stiffness: 150
|
|
8
|
+
},
|
|
9
|
+
lazy: {
|
|
10
|
+
type: "spring",
|
|
11
|
+
damping: 18,
|
|
12
|
+
stiffness: 50
|
|
13
|
+
},
|
|
14
|
+
slow: {
|
|
15
|
+
type: "spring",
|
|
16
|
+
damping: 15,
|
|
17
|
+
stiffness: 40
|
|
18
|
+
},
|
|
19
|
+
quick: {
|
|
20
|
+
type: "spring",
|
|
21
|
+
damping: 20,
|
|
22
|
+
mass: 1.2,
|
|
23
|
+
stiffness: 250
|
|
24
|
+
},
|
|
25
|
+
tooltip: {
|
|
26
|
+
type: "spring",
|
|
27
|
+
damping: 10,
|
|
28
|
+
mass: 0.9,
|
|
29
|
+
stiffness: 100
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
animations
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=animations.moti.mjs.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animations.moti.ts"],
|
|
4
|
+
"mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.34",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@tamagui/animations-css": "1.15.
|
|
31
|
-
"@tamagui/animations-react-native": "1.15.
|
|
32
|
-
"@tamagui/colors": "1.15.
|
|
33
|
-
"@tamagui/font-inter": "1.15.
|
|
34
|
-
"@tamagui/font-silkscreen": "1.15.
|
|
35
|
-
"@tamagui/react-native-media-driver": "1.15.
|
|
36
|
-
"@tamagui/shorthands": "1.15.
|
|
37
|
-
"@tamagui/themes": "1.15.
|
|
38
|
-
"@tamagui/web": "1.15.
|
|
30
|
+
"@tamagui/animations-css": "1.15.34",
|
|
31
|
+
"@tamagui/animations-react-native": "1.15.34",
|
|
32
|
+
"@tamagui/colors": "1.15.34",
|
|
33
|
+
"@tamagui/font-inter": "1.15.34",
|
|
34
|
+
"@tamagui/font-silkscreen": "1.15.34",
|
|
35
|
+
"@tamagui/react-native-media-driver": "1.15.34",
|
|
36
|
+
"@tamagui/shorthands": "1.15.34",
|
|
37
|
+
"@tamagui/themes": "1.15.34",
|
|
38
|
+
"@tamagui/web": "1.15.34"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "1.15.
|
|
41
|
+
"@tamagui/build": "1.15.34"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createAnimations } from '@tamagui/animations-moti'
|
|
2
|
+
|
|
3
|
+
export const animations = createAnimations({
|
|
4
|
+
bouncy: {
|
|
5
|
+
type: 'spring',
|
|
6
|
+
damping: 9,
|
|
7
|
+
mass: 0.9,
|
|
8
|
+
stiffness: 150,
|
|
9
|
+
},
|
|
10
|
+
lazy: {
|
|
11
|
+
type: 'spring',
|
|
12
|
+
damping: 18,
|
|
13
|
+
stiffness: 50,
|
|
14
|
+
},
|
|
15
|
+
slow: {
|
|
16
|
+
type: 'spring',
|
|
17
|
+
damping: 15,
|
|
18
|
+
stiffness: 40,
|
|
19
|
+
},
|
|
20
|
+
quick: {
|
|
21
|
+
type: 'spring',
|
|
22
|
+
damping: 20,
|
|
23
|
+
mass: 1.2,
|
|
24
|
+
stiffness: 250,
|
|
25
|
+
},
|
|
26
|
+
tooltip: {
|
|
27
|
+
type: 'spring',
|
|
28
|
+
damping: 10,
|
|
29
|
+
mass: 0.9,
|
|
30
|
+
stiffness: 100,
|
|
31
|
+
},
|
|
32
|
+
})
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const animations: import("@tamagui/web").AnimationDriver<{
|
|
2
|
+
bouncy: {
|
|
3
|
+
type: "spring";
|
|
4
|
+
damping: number;
|
|
5
|
+
mass: number;
|
|
6
|
+
stiffness: number;
|
|
7
|
+
};
|
|
8
|
+
lazy: {
|
|
9
|
+
type: "spring";
|
|
10
|
+
damping: number;
|
|
11
|
+
stiffness: number;
|
|
12
|
+
};
|
|
13
|
+
slow: {
|
|
14
|
+
type: "spring";
|
|
15
|
+
damping: number;
|
|
16
|
+
stiffness: number;
|
|
17
|
+
};
|
|
18
|
+
quick: {
|
|
19
|
+
type: "spring";
|
|
20
|
+
damping: number;
|
|
21
|
+
mass: number;
|
|
22
|
+
stiffness: number;
|
|
23
|
+
};
|
|
24
|
+
tooltip: {
|
|
25
|
+
type: "spring";
|
|
26
|
+
damping: number;
|
|
27
|
+
mass: number;
|
|
28
|
+
stiffness: number;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
//# sourceMappingURL=animations.moti.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.moti.d.ts","sourceRoot":"","sources":["../src/animations.moti.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BrB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const animations: import("@tamagui/web").AnimationDriver<{
|
|
2
|
+
bouncy: {
|
|
3
|
+
type: "spring";
|
|
4
|
+
damping: number;
|
|
5
|
+
mass: number;
|
|
6
|
+
stiffness: number;
|
|
7
|
+
};
|
|
8
|
+
lazy: {
|
|
9
|
+
type: "spring";
|
|
10
|
+
damping: number;
|
|
11
|
+
stiffness: number;
|
|
12
|
+
};
|
|
13
|
+
slow: {
|
|
14
|
+
type: "spring";
|
|
15
|
+
damping: number;
|
|
16
|
+
stiffness: number;
|
|
17
|
+
};
|
|
18
|
+
quick: {
|
|
19
|
+
type: "spring";
|
|
20
|
+
damping: number;
|
|
21
|
+
mass: number;
|
|
22
|
+
stiffness: number;
|
|
23
|
+
};
|
|
24
|
+
tooltip: {
|
|
25
|
+
type: "spring";
|
|
26
|
+
damping: number;
|
|
27
|
+
mass: number;
|
|
28
|
+
stiffness: number;
|
|
29
|
+
};
|
|
30
|
+
}>;
|
|
31
|
+
//# sourceMappingURL=animations.reanimated%20copy.d.ts.map
|