@tamagui/config-default 2.0.0-rc.4 → 2.0.0-rc.40
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/animations.cjs +28 -26
- package/dist/animations.native.js +52 -50
- package/dist/animations.native.js.map +1 -1
- package/dist/index.cjs +238 -232
- package/dist/index.native.js +244 -242
- package/dist/index.native.js.map +1 -1
- package/package.json +7 -7
- package/dist/animations.js +0 -36
- package/dist/animations.js.map +0 -6
- package/dist/index.js +0 -221
- package/dist/index.js.map +0 -6
package/dist/animations.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var animations_exports = {};
|
|
22
24
|
__export(animations_exports, {
|
|
@@ -24,19 +26,19 @@ __export(animations_exports, {
|
|
|
24
26
|
});
|
|
25
27
|
module.exports = __toCommonJS(animations_exports);
|
|
26
28
|
var import_animations_css = require("@tamagui/animations-css");
|
|
27
|
-
const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)";
|
|
30
|
+
const animations = (0, import_animations_css.createAnimations)({
|
|
31
|
+
"75ms": "ease-in 75ms",
|
|
32
|
+
"100ms": "ease-in 100ms",
|
|
33
|
+
"200ms": "ease-in 200ms",
|
|
34
|
+
bouncy: "ease-in 200ms",
|
|
35
|
+
superBouncy: "ease-in 500ms",
|
|
36
|
+
lazy: "ease-in 1000ms",
|
|
37
|
+
medium: "ease-in 300ms",
|
|
38
|
+
slow: "ease-in 500ms",
|
|
39
|
+
quick: `${smoothBezier} 400ms`,
|
|
40
|
+
quicker: `${smoothBezier} 300ms`,
|
|
41
|
+
quickest: `${smoothBezier} 200ms`,
|
|
42
|
+
tooltip: "ease-in 400ms",
|
|
43
|
+
select: "ease-in 150ms"
|
|
44
|
+
});
|
|
@@ -5,64 +5,66 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var animations_native_exports = {};
|
|
24
26
|
__export(animations_native_exports, {
|
|
25
27
|
animations: () => animations
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(animations_native_exports);
|
|
28
|
-
var import_animations_react_native = require("@tamagui/animations-react-native")
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
30
|
+
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
31
|
+
var animations = (0, import_animations_react_native.createAnimations)({
|
|
32
|
+
"100ms": {
|
|
33
|
+
type: "timing",
|
|
34
|
+
duration: 100
|
|
35
|
+
},
|
|
36
|
+
bouncy: {
|
|
37
|
+
damping: 9,
|
|
38
|
+
mass: 0.9,
|
|
39
|
+
stiffness: 150
|
|
40
|
+
},
|
|
41
|
+
lazy: {
|
|
42
|
+
damping: 18,
|
|
43
|
+
stiffness: 50
|
|
44
|
+
},
|
|
45
|
+
medium: {
|
|
46
|
+
damping: 15,
|
|
47
|
+
stiffness: 120,
|
|
48
|
+
mass: 1
|
|
49
|
+
},
|
|
50
|
+
slow: {
|
|
51
|
+
damping: 15,
|
|
52
|
+
stiffness: 40
|
|
53
|
+
},
|
|
54
|
+
quick: {
|
|
55
|
+
damping: 20,
|
|
56
|
+
mass: 1.2,
|
|
57
|
+
stiffness: 250
|
|
58
|
+
},
|
|
59
|
+
tooltip: {
|
|
60
|
+
damping: 10,
|
|
61
|
+
mass: 0.9,
|
|
62
|
+
stiffness: 100
|
|
63
|
+
},
|
|
64
|
+
select: {
|
|
65
|
+
damping: 45,
|
|
66
|
+
mass: 0.5,
|
|
67
|
+
stiffness: 1e3
|
|
68
|
+
}
|
|
69
|
+
});
|
|
68
70
|
//# sourceMappingURL=animations.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["animations_native_exports","__export","animations","module","exports","__toCommonJS","import_animations_react_native","require","createAnimations","type","duration","bouncy","damping","mass","stiffness","lazy","medium","slow","quick","tooltip","select"],"sources":["../src/animations.native.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["animations_native_exports","__export","animations","module","exports","__toCommonJS","import_animations_react_native","require","createAnimations","type","duration","bouncy","damping","mass","stiffness","lazy","medium","slow","quick","tooltip","select"],"sources":["../src/animations.native.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,yBAAA;AAAA,IAAAM,8BAAA,GAAiCC,OAAA;AAC1B,IAAIL,UAAA,OAAaI,8BAAA,CAAAE,gBAAA,EAAiB;EACrC,SAAS;IACLC,IAAA,EAAM;IACNC,QAAA,EAAU;EACd;EACAC,MAAA,EAAQ;IACJC,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAC,IAAA,EAAM;IACFH,OAAA,EAAS;IACTE,SAAA,EAAW;EACf;EACAE,MAAA,EAAQ;IACJJ,OAAA,EAAS;IACTE,SAAA,EAAW;IACXD,IAAA,EAAM;EACV;EACAI,IAAA,EAAM;IACFL,OAAA,EAAS;IACTE,SAAA,EAAW;EACf;EACAI,KAAA,EAAO;IACHN,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAK,OAAA,EAAS;IACLP,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAM,MAAA,EAAQ;IACJR,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;AACJ,CAAC","ignoreList":[]}
|