@tamagui/config 1.116.0 → 1.116.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.
- package/dist/cjs/animations.css.js +30 -0
- package/dist/cjs/animations.js +55 -0
- package/dist/cjs/animations.reanimated.js +60 -0
- package/dist/cjs/animationsCSS.js +35 -0
- package/dist/cjs/animationsReactNative.js +90 -0
- package/dist/cjs/animationsReanimated.js +78 -0
- package/dist/cjs/config.js +38 -0
- package/dist/cjs/createGenericFont.js +54 -0
- package/dist/cjs/fonts.js +106 -0
- package/dist/cjs/index.js +31 -0
- package/dist/cjs/index.reanimated.js +28 -0
- package/dist/cjs/media.js +46 -0
- package/dist/cjs/v2-base.js +38 -0
- package/dist/cjs/v2-reanimated.js +25 -0
- package/dist/cjs/v2.js +25 -0
- package/dist/cjs/v3-animations.js +21 -0
- package/dist/cjs/v3.js +49 -0
- package/package.json +12 -12
- package/dist/cjs/v2-native.cjs +0 -31
- package/dist/cjs/v2-native.cjs.map +0 -6
- package/dist/cjs/v2.native.cjs +0 -31
- package/dist/cjs/v2.native.cjs.map +0 -6
- package/dist/cjs/v3-animations.native.cjs +0 -26
- package/dist/cjs/v3-animations.native.cjs.map +0 -6
- /package/dist/cjs/{animations.css.cjs.map → animations.css.js.map} +0 -0
- /package/dist/cjs/{animations.cjs.map → animations.js.map} +0 -0
- /package/dist/cjs/{animations.reanimated.cjs.map → animations.reanimated.js.map} +0 -0
- /package/dist/cjs/{animationsCSS.cjs.map → animationsCSS.js.map} +0 -0
- /package/dist/cjs/{animationsReactNative.cjs.map → animationsReactNative.js.map} +0 -0
- /package/dist/cjs/{animationsReanimated.cjs.map → animationsReanimated.js.map} +0 -0
- /package/dist/cjs/{config.cjs.map → config.js.map} +0 -0
- /package/dist/cjs/{createGenericFont.cjs.map → createGenericFont.js.map} +0 -0
- /package/dist/cjs/{fonts.cjs.map → fonts.js.map} +0 -0
- /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{index.reanimated.cjs.map → index.reanimated.js.map} +0 -0
- /package/dist/cjs/{media.cjs.map → media.js.map} +0 -0
- /package/dist/cjs/{v2-base.cjs.map → v2-base.js.map} +0 -0
- /package/dist/cjs/{v2-reanimated.cjs.map → v2-reanimated.js.map} +0 -0
- /package/dist/cjs/{v2.cjs.map → v2.js.map} +0 -0
- /package/dist/cjs/{v3-animations.cjs.map → v3-animations.js.map} +0 -0
- /package/dist/cjs/{v3.cjs.map → v3.js.map} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animations_css_exports = {};
|
|
16
|
+
__export(animations_css_exports, {
|
|
17
|
+
animations: () => animations
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animations_css_exports);
|
|
20
|
+
var import_animations_css = require("@tamagui/animations-css");
|
|
21
|
+
const animations = (0, import_animations_css.createAnimations)({
|
|
22
|
+
"100ms": "ease-in 100ms",
|
|
23
|
+
bouncy: "ease-in 200ms",
|
|
24
|
+
lazy: "ease-in 600ms",
|
|
25
|
+
slow: "ease-in 500ms",
|
|
26
|
+
medium: "ease-in 300ms",
|
|
27
|
+
quick: "ease-in 100ms",
|
|
28
|
+
tooltip: "ease-in 400ms"
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=animations.css.js.map
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animations_exports = {};
|
|
16
|
+
__export(animations_exports, {
|
|
17
|
+
animations: () => animations
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animations_exports);
|
|
20
|
+
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
21
|
+
const animations = (0, import_animations_react_native.createAnimations)({
|
|
22
|
+
"100ms": {
|
|
23
|
+
type: "timing",
|
|
24
|
+
duration: 100
|
|
25
|
+
},
|
|
26
|
+
bouncy: {
|
|
27
|
+
damping: 9,
|
|
28
|
+
mass: 0.9,
|
|
29
|
+
stiffness: 150
|
|
30
|
+
},
|
|
31
|
+
lazy: {
|
|
32
|
+
damping: 18,
|
|
33
|
+
stiffness: 50
|
|
34
|
+
},
|
|
35
|
+
medium: {
|
|
36
|
+
damping: 15,
|
|
37
|
+
stiffness: 120,
|
|
38
|
+
mass: 1
|
|
39
|
+
},
|
|
40
|
+
slow: {
|
|
41
|
+
damping: 15,
|
|
42
|
+
stiffness: 40
|
|
43
|
+
},
|
|
44
|
+
quick: {
|
|
45
|
+
damping: 20,
|
|
46
|
+
mass: 1.2,
|
|
47
|
+
stiffness: 250
|
|
48
|
+
},
|
|
49
|
+
tooltip: {
|
|
50
|
+
damping: 10,
|
|
51
|
+
mass: 0.9,
|
|
52
|
+
stiffness: 100
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=animations.js.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animations_reanimated_exports = {};
|
|
16
|
+
__export(animations_reanimated_exports, {
|
|
17
|
+
animations: () => animations
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animations_reanimated_exports);
|
|
20
|
+
var import_animations_moti = require("@tamagui/animations-moti");
|
|
21
|
+
const animations = (0, import_animations_moti.createAnimations)({
|
|
22
|
+
"100ms": {
|
|
23
|
+
type: "timing",
|
|
24
|
+
duration: 100
|
|
25
|
+
},
|
|
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
|
+
medium: {
|
|
38
|
+
damping: 15,
|
|
39
|
+
stiffness: 120,
|
|
40
|
+
mass: 1
|
|
41
|
+
},
|
|
42
|
+
slow: {
|
|
43
|
+
type: "spring",
|
|
44
|
+
damping: 15,
|
|
45
|
+
stiffness: 40
|
|
46
|
+
},
|
|
47
|
+
quick: {
|
|
48
|
+
type: "spring",
|
|
49
|
+
damping: 20,
|
|
50
|
+
mass: 1.2,
|
|
51
|
+
stiffness: 250
|
|
52
|
+
},
|
|
53
|
+
tooltip: {
|
|
54
|
+
type: "spring",
|
|
55
|
+
damping: 10,
|
|
56
|
+
mass: 0.9,
|
|
57
|
+
stiffness: 100
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=animations.reanimated.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animationsCSS_exports = {};
|
|
16
|
+
__export(animationsCSS_exports, {
|
|
17
|
+
animationsCSS: () => animationsCSS
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animationsCSS_exports);
|
|
20
|
+
var import_animations_css = require("@tamagui/animations-css");
|
|
21
|
+
const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)", animationsCSS = (0, import_animations_css.createAnimations)({
|
|
22
|
+
"75ms": "ease-in 75ms",
|
|
23
|
+
"100ms": "ease-in 100ms",
|
|
24
|
+
"200ms": "ease-in 200ms",
|
|
25
|
+
bouncy: "ease-in 200ms",
|
|
26
|
+
superBouncy: "ease-in 500ms",
|
|
27
|
+
lazy: "ease-in 1000ms",
|
|
28
|
+
medium: "ease-in 300ms",
|
|
29
|
+
slow: "ease-in 500ms",
|
|
30
|
+
quick: `${smoothBezier} 400ms`,
|
|
31
|
+
quicker: `${smoothBezier} 300ms`,
|
|
32
|
+
quickest: `${smoothBezier} 200ms`,
|
|
33
|
+
tooltip: "ease-in 400ms"
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=animationsCSS.js.map
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animationsReactNative_exports = {};
|
|
16
|
+
__export(animationsReactNative_exports, {
|
|
17
|
+
animationsReactNative: () => animationsReactNative
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animationsReactNative_exports);
|
|
20
|
+
var import_animations_react_native = require("@tamagui/animations-react-native");
|
|
21
|
+
const animationsReactNative = (0, import_animations_react_native.createAnimations)({
|
|
22
|
+
"75ms": {
|
|
23
|
+
type: "timing",
|
|
24
|
+
duration: 75
|
|
25
|
+
},
|
|
26
|
+
"100ms": {
|
|
27
|
+
type: "timing",
|
|
28
|
+
duration: 100
|
|
29
|
+
},
|
|
30
|
+
"200ms": {
|
|
31
|
+
type: "timing",
|
|
32
|
+
duration: 200
|
|
33
|
+
},
|
|
34
|
+
superBouncy: {
|
|
35
|
+
type: "spring",
|
|
36
|
+
damping: 5,
|
|
37
|
+
mass: 0.7,
|
|
38
|
+
stiffness: 200
|
|
39
|
+
},
|
|
40
|
+
bouncy: {
|
|
41
|
+
type: "spring",
|
|
42
|
+
damping: 9,
|
|
43
|
+
mass: 0.9,
|
|
44
|
+
stiffness: 150
|
|
45
|
+
},
|
|
46
|
+
lazy: {
|
|
47
|
+
type: "spring",
|
|
48
|
+
damping: 18,
|
|
49
|
+
stiffness: 50
|
|
50
|
+
},
|
|
51
|
+
medium: {
|
|
52
|
+
damping: 15,
|
|
53
|
+
stiffness: 120,
|
|
54
|
+
mass: 1
|
|
55
|
+
},
|
|
56
|
+
slowest: {
|
|
57
|
+
type: "spring",
|
|
58
|
+
damping: 15,
|
|
59
|
+
stiffness: 10
|
|
60
|
+
},
|
|
61
|
+
slow: {
|
|
62
|
+
type: "spring",
|
|
63
|
+
damping: 15,
|
|
64
|
+
stiffness: 40
|
|
65
|
+
},
|
|
66
|
+
quick: {
|
|
67
|
+
type: "spring",
|
|
68
|
+
damping: 20,
|
|
69
|
+
mass: 1.2,
|
|
70
|
+
stiffness: 250
|
|
71
|
+
},
|
|
72
|
+
tooltip: {
|
|
73
|
+
type: "spring",
|
|
74
|
+
damping: 10,
|
|
75
|
+
mass: 0.9,
|
|
76
|
+
stiffness: 100
|
|
77
|
+
},
|
|
78
|
+
quicker: {
|
|
79
|
+
type: "spring",
|
|
80
|
+
damping: 20,
|
|
81
|
+
mass: 1,
|
|
82
|
+
stiffness: 250
|
|
83
|
+
},
|
|
84
|
+
quickest: {
|
|
85
|
+
damping: 14,
|
|
86
|
+
mass: 0.1,
|
|
87
|
+
stiffness: 380
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
//# sourceMappingURL=animationsReactNative.js.map
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var animationsReanimated_exports = {};
|
|
16
|
+
__export(animationsReanimated_exports, {
|
|
17
|
+
animationsReanimated: () => animationsReanimated
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(animationsReanimated_exports);
|
|
20
|
+
var import_animations_moti = require("@tamagui/animations-moti");
|
|
21
|
+
const animationsReanimated = (0, import_animations_moti.createAnimations)({
|
|
22
|
+
"75ms": {
|
|
23
|
+
type: "timing",
|
|
24
|
+
duration: 75
|
|
25
|
+
},
|
|
26
|
+
"100ms": {
|
|
27
|
+
type: "timing",
|
|
28
|
+
duration: 100
|
|
29
|
+
},
|
|
30
|
+
"200ms": {
|
|
31
|
+
type: "timing",
|
|
32
|
+
duration: 200
|
|
33
|
+
},
|
|
34
|
+
superBouncy: {
|
|
35
|
+
damping: 5,
|
|
36
|
+
mass: 0.7,
|
|
37
|
+
stiffness: 200
|
|
38
|
+
},
|
|
39
|
+
bouncy: {
|
|
40
|
+
damping: 9,
|
|
41
|
+
mass: 0.9,
|
|
42
|
+
stiffness: 150
|
|
43
|
+
},
|
|
44
|
+
medium: {
|
|
45
|
+
damping: 15,
|
|
46
|
+
stiffness: 120,
|
|
47
|
+
mass: 1
|
|
48
|
+
},
|
|
49
|
+
lazy: {
|
|
50
|
+
damping: 18,
|
|
51
|
+
stiffness: 50
|
|
52
|
+
},
|
|
53
|
+
slow: {
|
|
54
|
+
damping: 15,
|
|
55
|
+
stiffness: 40
|
|
56
|
+
},
|
|
57
|
+
quick: {
|
|
58
|
+
damping: 20,
|
|
59
|
+
mass: 1.2,
|
|
60
|
+
stiffness: 250
|
|
61
|
+
},
|
|
62
|
+
tooltip: {
|
|
63
|
+
damping: 10,
|
|
64
|
+
mass: 0.9,
|
|
65
|
+
stiffness: 100
|
|
66
|
+
},
|
|
67
|
+
quicker: {
|
|
68
|
+
damping: 20,
|
|
69
|
+
mass: 0.7,
|
|
70
|
+
stiffness: 250
|
|
71
|
+
},
|
|
72
|
+
quickest: {
|
|
73
|
+
damping: 5,
|
|
74
|
+
mass: 0.2,
|
|
75
|
+
stiffness: 300
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=animationsReanimated.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var config_exports = {};
|
|
16
|
+
__export(config_exports, {
|
|
17
|
+
configWithoutAnimations: () => configWithoutAnimations
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(config_exports);
|
|
20
|
+
var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"), import_fonts = require("./fonts"), import_media = require("./media");
|
|
21
|
+
const configWithoutAnimations = {
|
|
22
|
+
themes: import_themes.themes,
|
|
23
|
+
media: import_media.media,
|
|
24
|
+
shorthands: import_shorthands.shorthands,
|
|
25
|
+
tokens: import_themes.tokens,
|
|
26
|
+
fonts: import_fonts.fonts,
|
|
27
|
+
selectionStyles: (theme) => theme.color5 ? {
|
|
28
|
+
backgroundColor: theme.color5,
|
|
29
|
+
color: theme.color11
|
|
30
|
+
} : null,
|
|
31
|
+
settings: {
|
|
32
|
+
defaultFont: "body",
|
|
33
|
+
shouldAddPrefersColorThemes: !0,
|
|
34
|
+
themeClassNameOnRoot: !0,
|
|
35
|
+
mediaQueryDefaultActive: import_media.mediaQueryDefaultActive
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var createGenericFont_exports = {};
|
|
16
|
+
__export(createGenericFont_exports, {
|
|
17
|
+
createGenericFont: () => createGenericFont
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(createGenericFont_exports);
|
|
20
|
+
var import_web = require("@tamagui/web");
|
|
21
|
+
const genericFontSizes = {
|
|
22
|
+
1: 10,
|
|
23
|
+
2: 11,
|
|
24
|
+
3: 12,
|
|
25
|
+
4: 14,
|
|
26
|
+
5: 15,
|
|
27
|
+
6: 16,
|
|
28
|
+
7: 20,
|
|
29
|
+
8: 22,
|
|
30
|
+
9: 30,
|
|
31
|
+
10: 42,
|
|
32
|
+
11: 52,
|
|
33
|
+
12: 62,
|
|
34
|
+
13: 72,
|
|
35
|
+
14: 92,
|
|
36
|
+
15: 114,
|
|
37
|
+
16: 124
|
|
38
|
+
};
|
|
39
|
+
function createGenericFont(family, font = {}, {
|
|
40
|
+
sizeLineHeight = (val) => val * 1.35
|
|
41
|
+
} = {}) {
|
|
42
|
+
const size = font.size || genericFontSizes;
|
|
43
|
+
return (0, import_web.createFont)({
|
|
44
|
+
family,
|
|
45
|
+
size,
|
|
46
|
+
lineHeight: Object.fromEntries(
|
|
47
|
+
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])
|
|
48
|
+
),
|
|
49
|
+
weight: { 0: "300" },
|
|
50
|
+
letterSpacing: { 4: 0 },
|
|
51
|
+
...font
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=createGenericFont.js.map
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var fonts_exports = {};
|
|
16
|
+
__export(fonts_exports, {
|
|
17
|
+
fonts: () => fonts
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(fonts_exports);
|
|
20
|
+
var import_font_inter = require("@tamagui/font-inter"), import_font_silkscreen = require("@tamagui/font-silkscreen"), import_createGenericFont = require("./createGenericFont");
|
|
21
|
+
const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)(), headingFont = (0, import_font_inter.createInterFont)(
|
|
22
|
+
{
|
|
23
|
+
size: {
|
|
24
|
+
5: 13,
|
|
25
|
+
6: 15,
|
|
26
|
+
9: 32,
|
|
27
|
+
10: 44
|
|
28
|
+
},
|
|
29
|
+
transform: {
|
|
30
|
+
6: "uppercase",
|
|
31
|
+
7: "none"
|
|
32
|
+
},
|
|
33
|
+
weight: {
|
|
34
|
+
6: "400",
|
|
35
|
+
7: "700"
|
|
36
|
+
},
|
|
37
|
+
color: {
|
|
38
|
+
6: "$colorFocus",
|
|
39
|
+
7: "$color"
|
|
40
|
+
},
|
|
41
|
+
letterSpacing: {
|
|
42
|
+
5: 2,
|
|
43
|
+
6: 1,
|
|
44
|
+
7: 0,
|
|
45
|
+
8: 0,
|
|
46
|
+
9: -1,
|
|
47
|
+
10: -1.5,
|
|
48
|
+
12: -2,
|
|
49
|
+
14: -3,
|
|
50
|
+
15: -4
|
|
51
|
+
},
|
|
52
|
+
// for native
|
|
53
|
+
face: {
|
|
54
|
+
700: { normal: "InterBold" },
|
|
55
|
+
800: { normal: "InterBold" },
|
|
56
|
+
900: { normal: "InterBold" }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
60
|
+
), bodyFont = (0, import_font_inter.createInterFont)(
|
|
61
|
+
{
|
|
62
|
+
weight: {
|
|
63
|
+
1: "400",
|
|
64
|
+
7: "600"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
sizeSize: (size) => Math.round(size),
|
|
69
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
|
|
70
|
+
}
|
|
71
|
+
), monoFont = (0, import_createGenericFont.createGenericFont)(
|
|
72
|
+
'"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',
|
|
73
|
+
{
|
|
74
|
+
weight: {
|
|
75
|
+
1: "500"
|
|
76
|
+
},
|
|
77
|
+
size: {
|
|
78
|
+
1: 11,
|
|
79
|
+
2: 12,
|
|
80
|
+
3: 13,
|
|
81
|
+
4: 14,
|
|
82
|
+
5: 16,
|
|
83
|
+
6: 18,
|
|
84
|
+
7: 20,
|
|
85
|
+
8: 22,
|
|
86
|
+
9: 30,
|
|
87
|
+
10: 42,
|
|
88
|
+
11: 52,
|
|
89
|
+
12: 62,
|
|
90
|
+
13: 72,
|
|
91
|
+
14: 92,
|
|
92
|
+
15: 114,
|
|
93
|
+
16: 124
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
sizeLineHeight: (x) => x * 1.5
|
|
98
|
+
}
|
|
99
|
+
), fonts = {
|
|
100
|
+
// noto: notoFont as any,
|
|
101
|
+
heading: headingFont,
|
|
102
|
+
body: bodyFont,
|
|
103
|
+
mono: monoFont,
|
|
104
|
+
silkscreen: silkscreenFont
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=fonts.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var src_exports = {};
|
|
16
|
+
__export(src_exports, {
|
|
17
|
+
config: () => config,
|
|
18
|
+
configWithoutAnimations: () => import_config2.configWithoutAnimations
|
|
19
|
+
});
|
|
20
|
+
module.exports = __toCommonJS(src_exports);
|
|
21
|
+
var import_themes = require("@tamagui/themes"), import_animations = require("./animations"), import_config = require("./config"), import_config2 = require("./config");
|
|
22
|
+
__reExport(src_exports, require("./media"), module.exports);
|
|
23
|
+
__reExport(src_exports, require("./createGenericFont"), module.exports);
|
|
24
|
+
__reExport(src_exports, require("./animations"), module.exports);
|
|
25
|
+
const config = {
|
|
26
|
+
...import_config.configWithoutAnimations,
|
|
27
|
+
// fixes typescript exporting this using internal /types/ path
|
|
28
|
+
themes: import_themes.themes,
|
|
29
|
+
animations: import_animations.animations
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var index_reanimated_exports = {};
|
|
16
|
+
__export(index_reanimated_exports, {
|
|
17
|
+
config: () => config
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(index_reanimated_exports);
|
|
20
|
+
var import_animations = require("./animations.reanimated"), import_config = require("./config");
|
|
21
|
+
__reExport(index_reanimated_exports, require("./media"), module.exports);
|
|
22
|
+
__reExport(index_reanimated_exports, require("./createGenericFont"), module.exports);
|
|
23
|
+
__reExport(index_reanimated_exports, require("./animations.reanimated"), module.exports);
|
|
24
|
+
const config = {
|
|
25
|
+
...import_config.configWithoutAnimations,
|
|
26
|
+
animations: import_animations.animations
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=index.reanimated.js.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var media_exports = {};
|
|
16
|
+
__export(media_exports, {
|
|
17
|
+
demoMedia: () => demoMedia,
|
|
18
|
+
media: () => media,
|
|
19
|
+
mediaQueryDefaultActive: () => mediaQueryDefaultActive,
|
|
20
|
+
widths: () => widths
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(media_exports);
|
|
23
|
+
var import_react_native_media_driver = require("@tamagui/react-native-media-driver");
|
|
24
|
+
const demoMedia = [500, 620, 780, 900], widths = [660, 800, 1020, 1280], media = (0, import_react_native_media_driver.createMedia)({
|
|
25
|
+
// for site
|
|
26
|
+
xl: { maxWidth: 1650 },
|
|
27
|
+
lg: { maxWidth: 1280 },
|
|
28
|
+
md: { maxWidth: 1020 },
|
|
29
|
+
sm: { maxWidth: 800 },
|
|
30
|
+
xs: { maxWidth: 660 },
|
|
31
|
+
xxs: { maxWidth: 390 },
|
|
32
|
+
gtXs: { minWidth: 661 },
|
|
33
|
+
gtSm: { minWidth: 801 },
|
|
34
|
+
gtMd: { minWidth: 1021 },
|
|
35
|
+
gtLg: { minWidth: 1281 },
|
|
36
|
+
gtXl: { minWidth: 1651 }
|
|
37
|
+
}), mediaQueryDefaultActive = {
|
|
38
|
+
xl: !0,
|
|
39
|
+
lg: !0,
|
|
40
|
+
md: !0,
|
|
41
|
+
sm: !0,
|
|
42
|
+
xs: !0,
|
|
43
|
+
// false
|
|
44
|
+
xxs: !1
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=media.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var v2_base_exports = {};
|
|
16
|
+
__export(v2_base_exports, {
|
|
17
|
+
config: () => config
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(v2_base_exports);
|
|
20
|
+
var import_shorthands = require("@tamagui/shorthands"), import_v2 = require("@tamagui/themes/v2"), import_v2_themes = require("@tamagui/themes/v2-themes"), import_fonts = require("./fonts"), import_media = require("./media");
|
|
21
|
+
const config = {
|
|
22
|
+
themes: import_v2_themes.themes,
|
|
23
|
+
media: import_media.media,
|
|
24
|
+
shorthands: import_shorthands.shorthands,
|
|
25
|
+
tokens: import_v2.tokens,
|
|
26
|
+
fonts: import_fonts.fonts,
|
|
27
|
+
selectionStyles: (theme) => theme.color5 ? {
|
|
28
|
+
backgroundColor: theme.color5,
|
|
29
|
+
color: theme.color11
|
|
30
|
+
} : null,
|
|
31
|
+
settings: {
|
|
32
|
+
defaultFont: "body",
|
|
33
|
+
shouldAddPrefersColorThemes: !0,
|
|
34
|
+
themeClassNameOnRoot: !0,
|
|
35
|
+
mediaQueryDefaultActive: import_media.mediaQueryDefaultActive
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=v2-base.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var v2_reanimated_exports = {};
|
|
16
|
+
__export(v2_reanimated_exports, {
|
|
17
|
+
config: () => config
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(v2_reanimated_exports);
|
|
20
|
+
var import_animations = require("./animations.reanimated"), import_v2_base = require("./v2-base");
|
|
21
|
+
const config = {
|
|
22
|
+
...import_v2_base.config,
|
|
23
|
+
animations: import_animations.animations
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=v2-reanimated.js.map
|
package/dist/cjs/v2.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var v2_exports = {};
|
|
16
|
+
__export(v2_exports, {
|
|
17
|
+
config: () => config
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(v2_exports);
|
|
20
|
+
var import_animations = require("./animations.css"), import_v2_base = require("./v2-base");
|
|
21
|
+
const config = {
|
|
22
|
+
...import_v2_base.config,
|
|
23
|
+
animations: import_animations.animations
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=v2.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var v3_animations_exports = {};
|
|
16
|
+
__export(v3_animations_exports, {
|
|
17
|
+
animations: () => import_animationsCSS.animationsCSS
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(v3_animations_exports);
|
|
20
|
+
var import_animationsCSS = require("./animationsCSS");
|
|
21
|
+
//# sourceMappingURL=v3-animations.js.map
|
package/dist/cjs/v3.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var v3_exports = {};
|
|
16
|
+
__export(v3_exports, {
|
|
17
|
+
animations: () => import_v3_animations2.animations,
|
|
18
|
+
config: () => config,
|
|
19
|
+
fonts: () => import_fonts2.fonts,
|
|
20
|
+
media: () => import_media2.media,
|
|
21
|
+
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
22
|
+
selectionStyles: () => selectionStyles,
|
|
23
|
+
shorthands: () => import_v22.shorthands,
|
|
24
|
+
themes: () => import_v3_themes2.themes,
|
|
25
|
+
tokens: () => import_v3_themes2.tokens
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(v3_exports);
|
|
28
|
+
var import_v2 = require("@tamagui/shorthands/v2"), import_v3_themes = require("@tamagui/themes/v3-themes"), import_v3_animations = require("./v3-animations"), import_fonts = require("./fonts"), import_media = require("./media"), import_v3_animations2 = require("./v3-animations"), import_v3_themes2 = require("@tamagui/themes/v3-themes"), import_v22 = require("@tamagui/shorthands/v2"), import_fonts2 = require("./fonts"), import_media2 = require("./media");
|
|
29
|
+
globalThis.global ||= globalThis;
|
|
30
|
+
const selectionStyles = (theme) => theme.color5 ? {
|
|
31
|
+
backgroundColor: theme.color5,
|
|
32
|
+
color: theme.color11
|
|
33
|
+
} : null, themes2 = process.env.TAMAGUI_OPTIMIZE_THEMES === "true" ? {} : import_v3_themes.themes, config = {
|
|
34
|
+
animations: import_v3_animations.animations,
|
|
35
|
+
themes: themes2,
|
|
36
|
+
media: import_media.media,
|
|
37
|
+
shorthands: import_v2.shorthands,
|
|
38
|
+
tokens: import_v3_themes.tokens,
|
|
39
|
+
fonts: import_fonts.fonts,
|
|
40
|
+
selectionStyles,
|
|
41
|
+
settings: {
|
|
42
|
+
mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
|
|
43
|
+
defaultFont: "body",
|
|
44
|
+
fastSchemeChange: !0,
|
|
45
|
+
shouldAddPrefersColorThemes: !0,
|
|
46
|
+
themeClassNameOnRoot: !0
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=v3.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.2",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@tamagui/animations-css": "1.116.
|
|
64
|
-
"@tamagui/animations-moti": "1.116.
|
|
65
|
-
"@tamagui/animations-react-native": "1.116.
|
|
66
|
-
"@tamagui/colors": "1.116.
|
|
67
|
-
"@tamagui/font-inter": "1.116.
|
|
68
|
-
"@tamagui/font-silkscreen": "1.116.
|
|
69
|
-
"@tamagui/react-native-media-driver": "1.116.
|
|
70
|
-
"@tamagui/shorthands": "1.116.
|
|
71
|
-
"@tamagui/themes": "1.116.
|
|
72
|
-
"@tamagui/web": "1.116.
|
|
63
|
+
"@tamagui/animations-css": "1.116.2",
|
|
64
|
+
"@tamagui/animations-moti": "1.116.2",
|
|
65
|
+
"@tamagui/animations-react-native": "1.116.2",
|
|
66
|
+
"@tamagui/colors": "1.116.2",
|
|
67
|
+
"@tamagui/font-inter": "1.116.2",
|
|
68
|
+
"@tamagui/font-silkscreen": "1.116.2",
|
|
69
|
+
"@tamagui/react-native-media-driver": "1.116.2",
|
|
70
|
+
"@tamagui/shorthands": "1.116.2",
|
|
71
|
+
"@tamagui/themes": "1.116.2",
|
|
72
|
+
"@tamagui/web": "1.116.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@tamagui/build": "1.116.
|
|
75
|
+
"@tamagui/build": "1.116.2"
|
|
76
76
|
},
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
package/dist/cjs/v2-native.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var v2_native_exports = {};
|
|
22
|
-
__export(v2_native_exports, {
|
|
23
|
-
config: () => config
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(v2_native_exports);
|
|
26
|
-
var import_animations = require("./animations.cjs"),
|
|
27
|
-
import_v2_base = require("./v2-base.cjs");
|
|
28
|
-
const config = {
|
|
29
|
-
...import_v2_base.config,
|
|
30
|
-
animations: import_animations.animations
|
|
31
|
-
};
|
package/dist/cjs/v2.native.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var v2_native_exports = {};
|
|
22
|
-
__export(v2_native_exports, {
|
|
23
|
-
config: () => config
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(v2_native_exports);
|
|
26
|
-
var import_animations = require("./animations.cjs"),
|
|
27
|
-
import_v2_base = require("./v2-base.cjs");
|
|
28
|
-
const config = {
|
|
29
|
-
...import_v2_base.config,
|
|
30
|
-
animations: import_animations.animations
|
|
31
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value: !0
|
|
20
|
-
}), mod);
|
|
21
|
-
var v3_animations_native_exports = {};
|
|
22
|
-
__export(v3_animations_native_exports, {
|
|
23
|
-
animations: () => import_animationsReactNative.animationsReactNative
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(v3_animations_native_exports);
|
|
26
|
-
var import_animationsReactNative = require("./animationsReactNative.cjs");
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|