@tamagui/config 1.111.7 → 1.111.9
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/esm/animations.css.native.js +2 -4
- package/dist/esm/animations.css.native.js.map +1 -6
- package/dist/esm/animations.native.js +2 -4
- package/dist/esm/animations.native.js.map +1 -6
- package/dist/esm/animations.reanimated.native.js +2 -4
- package/dist/esm/animations.reanimated.native.js.map +1 -6
- package/dist/esm/animationsCSS.native.js +17 -18
- package/dist/esm/animationsCSS.native.js.map +1 -6
- package/dist/esm/animationsReactNative.native.js +2 -4
- package/dist/esm/animationsReactNative.native.js.map +1 -6
- package/dist/esm/animationsReanimated.native.js +2 -4
- package/dist/esm/animationsReanimated.native.js.map +1 -6
- package/dist/esm/config.native.js +5 -7
- package/dist/esm/config.native.js.map +1 -6
- package/dist/esm/createGenericFont.native.js +11 -12
- package/dist/esm/createGenericFont.native.js.map +1 -6
- package/dist/esm/fonts.native.js +95 -93
- package/dist/esm/fonts.native.js.map +1 -6
- package/dist/esm/index.native.js +8 -11
- package/dist/esm/index.native.js.map +1 -6
- package/dist/esm/index.reanimated.native.js +5 -7
- package/dist/esm/index.reanimated.native.js.map +1 -6
- package/dist/esm/media.native.js +49 -61
- package/dist/esm/media.native.js.map +1 -6
- package/dist/esm/v2-base.native.js +5 -7
- package/dist/esm/v2-base.native.js.map +1 -6
- package/dist/esm/v2-native.js +3 -5
- package/dist/esm/v2-native.js.map +1 -6
- package/dist/esm/v2-reanimated.native.js +3 -5
- package/dist/esm/v2-reanimated.native.js.map +1 -6
- package/dist/esm/v2.native.js +3 -5
- package/dist/esm/v2.native.js.map +1 -6
- package/dist/esm/v3-animations.native.js +2 -4
- package/dist/esm/v3-animations.native.js.map +1 -6
- package/dist/esm/v3.native.js +31 -39
- package/dist/esm/v3.native.js.map +1 -6
- package/package.json +18 -18
- package/dist/esm/animations.css.native.mjs +0 -12
- package/dist/esm/animations.css.native.mjs.map +0 -1
- package/dist/esm/animations.native.mjs +0 -37
- package/dist/esm/animations.native.mjs.map +0 -1
- package/dist/esm/animations.reanimated.native.mjs +0 -42
- package/dist/esm/animations.reanimated.native.mjs.map +0 -1
- package/dist/esm/animationsCSS.native.mjs +0 -18
- package/dist/esm/animationsCSS.native.mjs.map +0 -1
- package/dist/esm/animationsReactNative.native.mjs +0 -72
- package/dist/esm/animationsReactNative.native.mjs.map +0 -1
- package/dist/esm/animationsReanimated.native.mjs +0 -60
- package/dist/esm/animationsReanimated.native.mjs.map +0 -1
- package/dist/esm/config.native.mjs +0 -25
- package/dist/esm/config.native.mjs.map +0 -1
- package/dist/esm/createGenericFont.native.mjs +0 -45
- package/dist/esm/createGenericFont.native.mjs.map +0 -1
- package/dist/esm/fonts.native.mjs +0 -100
- package/dist/esm/fonts.native.mjs.map +0 -1
- package/dist/esm/index.native.mjs +0 -15
- package/dist/esm/index.native.mjs.map +0 -1
- package/dist/esm/index.reanimated.native.mjs +0 -11
- package/dist/esm/index.reanimated.native.mjs.map +0 -1
- package/dist/esm/media.native.mjs +0 -50
- package/dist/esm/media.native.mjs.map +0 -1
- package/dist/esm/v2-base.native.mjs +0 -26
- package/dist/esm/v2-base.native.mjs.map +0 -1
- package/dist/esm/v2-native.mjs +0 -8
- package/dist/esm/v2-native.mjs.map +0 -1
- package/dist/esm/v2-reanimated.native.mjs +0 -8
- package/dist/esm/v2-reanimated.native.mjs.map +0 -1
- package/dist/esm/v2.native.mjs +0 -8
- package/dist/esm/v2.native.mjs.map +0 -1
- package/dist/esm/v3-animations.native.mjs +0 -3
- package/dist/esm/v3-animations.native.mjs.map +0 -1
- package/dist/esm/v3.native.mjs +0 -37
- package/dist/esm/v3.native.mjs.map +0 -1
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { createFont } from "@tamagui/web";
|
|
2
|
-
var genericFontSizes = {
|
|
3
|
-
1: 10,
|
|
4
|
-
2: 11,
|
|
5
|
-
3: 12,
|
|
6
|
-
4: 14,
|
|
7
|
-
5: 15,
|
|
8
|
-
6: 16,
|
|
9
|
-
7: 20,
|
|
10
|
-
8: 22,
|
|
11
|
-
9: 30,
|
|
12
|
-
10: 42,
|
|
13
|
-
11: 52,
|
|
14
|
-
12: 62,
|
|
15
|
-
13: 72,
|
|
16
|
-
14: 92,
|
|
17
|
-
15: 114,
|
|
18
|
-
16: 124
|
|
19
|
-
};
|
|
20
|
-
function createGenericFont(family) {
|
|
21
|
-
var font = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
22
|
-
{
|
|
23
|
-
sizeLineHeight = function (val) {
|
|
24
|
-
return val * 1.35;
|
|
25
|
-
}
|
|
26
|
-
} = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
|
|
27
|
-
size = font.size || genericFontSizes;
|
|
28
|
-
return createFont({
|
|
29
|
-
family,
|
|
30
|
-
size,
|
|
31
|
-
lineHeight: Object.fromEntries(Object.entries(size).map(function (param) {
|
|
32
|
-
var [k, v] = param;
|
|
33
|
-
return [k, sizeLineHeight(+v)];
|
|
34
|
-
})),
|
|
35
|
-
weight: {
|
|
36
|
-
0: "300"
|
|
37
|
-
},
|
|
38
|
-
letterSpacing: {
|
|
39
|
-
4: 0
|
|
40
|
-
},
|
|
41
|
-
...font
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
export { createGenericFont };
|
|
45
|
-
//# sourceMappingURL=createGenericFont.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createFont","genericFontSizes","createGenericFont","family","font","arguments","length","sizeLineHeight","val","size","lineHeight","Object","fromEntries","entries","map","param","k","v","weight"],"sources":["../../src/createGenericFont.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,UAAA,QAAkB;AAE3B,IAAAC,gBAAM;EACJ,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;AACN;AAEO,SAASC,kBACdC,MAAA,EACA;EAEE,IAAAC,IAAA,GAAAC,SAAkB,CAAAC,MAAQ,QAAMD,SAAA,iBAAAA,SAAA;IAAA;MAAAE,cAAA,YAAAA,CAAAC,GAAA;QAG9B,OACDA,GAAA;MACH;IAAA,IAAMH,SAAO,CAAAC,MAAK,IAAQ,IAAAD,SAAA,iBAAAA,SAAA;IAAAI,IAAA,GAAAL,IAAA,CAAAK,IAAA,IAAAR,gBAAA;EAC1B,OAAOD,UAAA,CAAW;IAChBG,MAAA;IACAM,IAAA;IACAC,UAAA,EAAYC,MAAA,CAAOC,WAAA,CAAAD,MAAA,CAAAE,OAAA,CAAAJ,IAAA,EAAAK,GAAA,WAAAC,KAAA;MACjB,KAAAC,CAAA,EAAOC,CAAA,IAAAF,KAAQ;MACjB,QACAC,CAAA,EACAT,cAAiB,EAAGU,CAAA,CAAE,CAClB;IACL;IACHC,MAAA","ignoreList":[]}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { createInterFont } from "@tamagui/font-inter";
|
|
2
|
-
import { createSilkscreenFont } from "@tamagui/font-silkscreen";
|
|
3
|
-
import { createGenericFont } from "./createGenericFont.native.mjs";
|
|
4
|
-
var silkscreenFont = createSilkscreenFont(),
|
|
5
|
-
headingFont = createInterFont({
|
|
6
|
-
size: {
|
|
7
|
-
5: 13,
|
|
8
|
-
6: 15,
|
|
9
|
-
9: 32,
|
|
10
|
-
10: 44
|
|
11
|
-
},
|
|
12
|
-
transform: {
|
|
13
|
-
6: "uppercase",
|
|
14
|
-
7: "none"
|
|
15
|
-
},
|
|
16
|
-
weight: {
|
|
17
|
-
6: "400",
|
|
18
|
-
7: "700"
|
|
19
|
-
},
|
|
20
|
-
color: {
|
|
21
|
-
6: "$colorFocus",
|
|
22
|
-
7: "$color"
|
|
23
|
-
},
|
|
24
|
-
letterSpacing: {
|
|
25
|
-
5: 2,
|
|
26
|
-
6: 1,
|
|
27
|
-
7: 0,
|
|
28
|
-
8: 0,
|
|
29
|
-
9: -1,
|
|
30
|
-
10: -1.5,
|
|
31
|
-
12: -2,
|
|
32
|
-
14: -3,
|
|
33
|
-
15: -4
|
|
34
|
-
},
|
|
35
|
-
// for native
|
|
36
|
-
face: {
|
|
37
|
-
700: {
|
|
38
|
-
normal: "InterBold"
|
|
39
|
-
},
|
|
40
|
-
800: {
|
|
41
|
-
normal: "InterBold"
|
|
42
|
-
},
|
|
43
|
-
900: {
|
|
44
|
-
normal: "InterBold"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}, {
|
|
48
|
-
sizeLineHeight: function (size) {
|
|
49
|
-
return Math.round(size * 1.1 + (size < 30 ? 10 : 5));
|
|
50
|
-
}
|
|
51
|
-
}),
|
|
52
|
-
bodyFont = createInterFont({
|
|
53
|
-
weight: {
|
|
54
|
-
1: "400",
|
|
55
|
-
7: "600"
|
|
56
|
-
}
|
|
57
|
-
}, {
|
|
58
|
-
sizeSize: function (size) {
|
|
59
|
-
return Math.round(size);
|
|
60
|
-
},
|
|
61
|
-
sizeLineHeight: function (size) {
|
|
62
|
-
return Math.round(size * 1.1 + (size >= 12 ? 8 : 4));
|
|
63
|
-
}
|
|
64
|
-
}),
|
|
65
|
-
monoFont = createGenericFont('"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace', {
|
|
66
|
-
weight: {
|
|
67
|
-
1: "500"
|
|
68
|
-
},
|
|
69
|
-
size: {
|
|
70
|
-
1: 11,
|
|
71
|
-
2: 12,
|
|
72
|
-
3: 13,
|
|
73
|
-
4: 14,
|
|
74
|
-
5: 16,
|
|
75
|
-
6: 18,
|
|
76
|
-
7: 20,
|
|
77
|
-
8: 22,
|
|
78
|
-
9: 30,
|
|
79
|
-
10: 42,
|
|
80
|
-
11: 52,
|
|
81
|
-
12: 62,
|
|
82
|
-
13: 72,
|
|
83
|
-
14: 92,
|
|
84
|
-
15: 114,
|
|
85
|
-
16: 124
|
|
86
|
-
}
|
|
87
|
-
}, {
|
|
88
|
-
sizeLineHeight: function (x) {
|
|
89
|
-
return x * 1.5;
|
|
90
|
-
}
|
|
91
|
-
}),
|
|
92
|
-
fonts = {
|
|
93
|
-
// noto: notoFont as any,
|
|
94
|
-
heading: headingFont,
|
|
95
|
-
body: bodyFont,
|
|
96
|
-
mono: monoFont,
|
|
97
|
-
silkscreen: silkscreenFont
|
|
98
|
-
};
|
|
99
|
-
export { fonts };
|
|
100
|
-
//# sourceMappingURL=fonts.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createInterFont","createSilkscreenFont","createGenericFont","silkscreenFont","headingFont","size","transform","weight","color","letterSpacing","face","normal","sizeLineHeight","Math","round","bodyFont","sizeSize","monoFont","x","fonts"],"sources":["../../src/fonts.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,eAAA,QAAuB;AAChC,SAASC,oBAAA,QAA4B;AAErC,SAASC,iBAAA,QAAyB;AAElC,IAAAC,cAAM,GAAAF,oBAAiB;EAAqBG,WAEtC,GAAAJ,eAAc;IAClBK,IAAA;MACE;MAAM,GACJ,EAAG;MAAA,GACH,EAAG;MAAA,EACH;IAAG;IACCC,SACN;MACA,cAAW;MAAA,GACT;IAAG;IACAC,MACL;MACA,QAAQ;MAAA,GACN;IAAG;IACAC,KACL;MACA,gBAAO;MAAA,GACL;IAAG;IACAC,aACL;MACA;MAAe,GACb;MAAG,GACH;MAAG,GACH;MAAG,GACH,EAAG;MAAA,EACH,GAAG;MAAA,EACH,IAAI;MAAA,EACJ,IAAI;MAAA,EACJ;IAAI;IACA;IACNC,IAAA;MAEA;QACEC,MAAK,EAAE;MAAoB;MACA,GAC3B;QACFA,MAAA;MACF;MACE;QAGEA,MAAA,EAAW;MACf;IAAA;EACU;IACHC,cACA,WAAAA,CAAAP,IAAA;MACL,OAAAQ,IAAA,CAAAC,KAAA,CAAAT,IAAA,UAAAA,IAAA;IACF;EAAA,EACA;EAAAU,QAAA,GAAAf,eAAA;IAAAO,MACE;MACA;MACF;IACF;EAEiB,GACf;IACAS,QAAA,WAAAA,CAAAX,IAAA;MACE,OAAAQ,IAAQ,CAAAC,KAAA,CAAAT,IAAA;IAAA;IACHO,cACL,WAAAA,CAAAP,IAAA;MACA,OAAMQ,IAAA,CAAAC,KAAA,CAAAT,IAAA,UAAAA,IAAA;IAAA;EACD;EAAAY,QACA,GAAAf,iBAAA;IAAAK,MACH,EAAG;MAAA,GACH;IAAG;IACAF,IACH;MAAG,GACH,EAAG;MAAA,GACH,EAAG;MAAA,GACH,EAAG;MAAA,GACH;MAAI,GACJ;MAAI,GACJ;MAAI,GACJ;MAAI,GACJ;MAAI,GACJ;MAAI,EACJ,IAAI;MACN;MACF;MACA;MACE;MACF;MAGW;IAAQ;EAAA,GAEnB;IACAO,cAAM,WAAAA,CAAAM,CAAA;MACN,OAAMA,CAAA;IACN;EACF;EAAAC,KAAA","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { themes } from "@tamagui/themes";
|
|
2
|
-
import { animations } from "./animations.native.mjs";
|
|
3
|
-
import { configWithoutAnimations } from "./config.native.mjs";
|
|
4
|
-
import { configWithoutAnimations as configWithoutAnimations2 } from "./config.native.mjs";
|
|
5
|
-
export * from "./media.native.mjs";
|
|
6
|
-
export * from "./createGenericFont.native.mjs";
|
|
7
|
-
export * from "./animations.native.mjs";
|
|
8
|
-
var config = {
|
|
9
|
-
...configWithoutAnimations,
|
|
10
|
-
// fixes typescript exporting this using internal /types/ path
|
|
11
|
-
themes,
|
|
12
|
-
animations
|
|
13
|
-
};
|
|
14
|
-
export { config, configWithoutAnimations2 as configWithoutAnimations };
|
|
15
|
-
//# sourceMappingURL=index.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["themes","animations","configWithoutAnimations","configWithoutAnimations2","config"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":"AAAA,SAASA,MAAA,QAAc;AAEvB,SAASC,UAAA,QAAkB;AAC3B,SAASC,uBAAA,QAA+B;AAExC,SAASA,uBAAA,IAAAC,wBAAA,QAA+B;AACxC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAAC,MAAM;EACX,GAAGF,uBAAA;EAAA;EAEHF,MAAA;EACAC;AACF","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { animations } from "./animations.reanimated";
|
|
2
|
-
import { configWithoutAnimations } from "./config.native.mjs";
|
|
3
|
-
export * from "./media.native.mjs";
|
|
4
|
-
export * from "./createGenericFont.native.mjs";
|
|
5
|
-
export * from "./animations.reanimated";
|
|
6
|
-
var config = {
|
|
7
|
-
...configWithoutAnimations,
|
|
8
|
-
animations
|
|
9
|
-
};
|
|
10
|
-
export { config };
|
|
11
|
-
//# sourceMappingURL=index.reanimated.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["animations","configWithoutAnimations","config"],"sources":["../../src/index.reanimated.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,uBAAA,QAA+B;AACxC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAAC,MAAM;EACX,GAAGD,uBAAA;EACHD;AACF","ignoreList":[]}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { createMedia } from "@tamagui/react-native-media-driver";
|
|
2
|
-
var demoMedia = [500, 620, 780, 900],
|
|
3
|
-
widths = [660, 800, 1020, 1280],
|
|
4
|
-
media = createMedia({
|
|
5
|
-
// for site
|
|
6
|
-
xl: {
|
|
7
|
-
maxWidth: 1650
|
|
8
|
-
},
|
|
9
|
-
lg: {
|
|
10
|
-
maxWidth: 1280
|
|
11
|
-
},
|
|
12
|
-
md: {
|
|
13
|
-
maxWidth: 1020
|
|
14
|
-
},
|
|
15
|
-
sm: {
|
|
16
|
-
maxWidth: 800
|
|
17
|
-
},
|
|
18
|
-
xs: {
|
|
19
|
-
maxWidth: 660
|
|
20
|
-
},
|
|
21
|
-
xxs: {
|
|
22
|
-
maxWidth: 390
|
|
23
|
-
},
|
|
24
|
-
gtXs: {
|
|
25
|
-
minWidth: 661
|
|
26
|
-
},
|
|
27
|
-
gtSm: {
|
|
28
|
-
minWidth: 801
|
|
29
|
-
},
|
|
30
|
-
gtMd: {
|
|
31
|
-
minWidth: 1021
|
|
32
|
-
},
|
|
33
|
-
gtLg: {
|
|
34
|
-
minWidth: 1281
|
|
35
|
-
},
|
|
36
|
-
gtXl: {
|
|
37
|
-
minWidth: 1651
|
|
38
|
-
}
|
|
39
|
-
}),
|
|
40
|
-
mediaQueryDefaultActive = {
|
|
41
|
-
xl: !0,
|
|
42
|
-
lg: !0,
|
|
43
|
-
md: !0,
|
|
44
|
-
sm: !0,
|
|
45
|
-
xs: !0,
|
|
46
|
-
// false
|
|
47
|
-
xxs: !1
|
|
48
|
-
};
|
|
49
|
-
export { demoMedia, media, mediaQueryDefaultActive, widths };
|
|
50
|
-
//# sourceMappingURL=media.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createMedia","demoMedia","widths","media","xl","maxWidth","lg","md","sm"],"sources":["../../src/media.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,WAAA,QAAmB;AAErB,IAAAC,SAAM,IAMoB,KAE/B,KACA,KACA,IAAqB;EACrBC,MAAM,IACN,KACA,KACA,MACA,KAA0B;EAC1BC,KAAM,GAAEH,WAAU;IAClB;IACAI,EAAA;MAKWC,QAAA;IACX;IACAC,EAAA,EAAI;MACJD,QAAI;IACJ;IACAE,EAAA,EAAI;MAAAF,QAAA;IAEJ;IACFG,EAAA","ignoreList":[]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { shorthands } from "@tamagui/shorthands";
|
|
2
|
-
import { tokens } from "@tamagui/themes/v2";
|
|
3
|
-
import { themes } from "@tamagui/themes/v2-themes";
|
|
4
|
-
import { fonts } from "./fonts.native.mjs";
|
|
5
|
-
import { media, mediaQueryDefaultActive } from "./media.native.mjs";
|
|
6
|
-
var config = {
|
|
7
|
-
themes,
|
|
8
|
-
media,
|
|
9
|
-
shorthands,
|
|
10
|
-
tokens,
|
|
11
|
-
fonts,
|
|
12
|
-
selectionStyles: function (theme) {
|
|
13
|
-
return theme.color5 ? {
|
|
14
|
-
backgroundColor: theme.color5,
|
|
15
|
-
color: theme.color11
|
|
16
|
-
} : null;
|
|
17
|
-
},
|
|
18
|
-
settings: {
|
|
19
|
-
defaultFont: "body",
|
|
20
|
-
shouldAddPrefersColorThemes: !0,
|
|
21
|
-
themeClassNameOnRoot: !0,
|
|
22
|
-
mediaQueryDefaultActive
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export { config };
|
|
26
|
-
//# sourceMappingURL=v2-base.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["shorthands","tokens","themes","fonts","media","mediaQueryDefaultActive","config","selectionStyles","theme","color5","backgroundColor","color","color11","settings","defaultFont","shouldAddPrefersColorThemes","themeClassNameOnRoot"],"sources":["../../src/v2-base.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,MAAA,QAAc;AACvB,SAASC,MAAA,QAAc;AAGvB,SAASC,KAAA,QAAa;AACtB,SAASC,KAAA,EAAOC,uBAAA,QAA+B;AAExC,IAAAC,MAAM;EACXJ,MAAA;EACAE,KAAA;EACAJ,UAAA;EACAC,MAAA;EACAE,KAAA;EACAI,eAAA,EAAiB,SAAAA,CAACC,KAChB;IAEM,OAAAA,KAAA,CAAAC,MAAiB;MACjBC,eAAa,EAAAF,KAAA,CAAAC,MAAA;MAEfE,KAAA,EAAAH,KAAA,CAAAI;IACN,QAAU;EAAA;EACKC,QACb;IACAC,WAAA;IACAC,2BAAA;IACFC,oBAAA;IACFX","ignoreList":[]}
|
package/dist/esm/v2-native.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["animations","config","configBase"],"sources":["../../src/Users/n8/tamagui/code/core/config/src/v2-native.ts"],"sourcesContent":[null],"mappings":"AAEA,SAASA,UAAA,QAAkB;AAC3B,SAASC,MAAA,IAAUC,UAAA,QAAkB;AAE9B,IAAMD,MAAA,GAAS;EACpB,GAAGC,UAAA;EACHF;AACF","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["animations","config","configBase"],"sources":["../../src/v2-reanimated.ts"],"sourcesContent":[null],"mappings":"AAEA,SAASA,UAAA,QAAkB;AAC3B,SAASC,MAAA,IAAUC,UAAA,QAAkB;AAE9B,IAAAD,MAAM;EACX,GAAGC,UAAA;EACHF;AACF","ignoreList":[]}
|
package/dist/esm/v2.native.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["animations","config","configBase"],"sources":["../../src/Users/n8/tamagui/code/core/config/src/v2.native.ts"],"sourcesContent":[null],"mappings":"AAEA,SAASA,UAAA,QAAkB;AAC3B,SAASC,MAAA,IAAUC,UAAA,QAAkB;AAE9B,IAAMD,MAAA,GAAS;EACpB,GAAGC,UAAA;EACHF;AACF","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["animationsReactNative"],"sources":["../../src/Users/n8/tamagui/code/core/config/src/v3-animations.native.ts"],"sourcesContent":[null],"mappings":"AAAA,SAAkCA,qBAAA,QAAkB","ignoreList":[]}
|
package/dist/esm/v3.native.mjs
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { shorthands } from "@tamagui/shorthands/v2";
|
|
2
|
-
import { tokens, themes as themesIn } from "@tamagui/themes/v3-themes";
|
|
3
|
-
import { animations } from "./v3-animations.native.mjs";
|
|
4
|
-
import { fonts } from "./fonts.native.mjs";
|
|
5
|
-
import { media, mediaQueryDefaultActive } from "./media.native.mjs";
|
|
6
|
-
import { animations as animations2 } from "./v3-animations.native.mjs";
|
|
7
|
-
import { tokens as tokens2, themes } from "@tamagui/themes/v3-themes";
|
|
8
|
-
import { shorthands as shorthands2 } from "@tamagui/shorthands/v2";
|
|
9
|
-
import { fonts as fonts2 } from "./fonts.native.mjs";
|
|
10
|
-
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media.native.mjs";
|
|
11
|
-
var _globalThis, _global;
|
|
12
|
-
(_globalThis = globalThis)[_global = "global"] || (_globalThis[_global] = globalThis);
|
|
13
|
-
var selectionStyles = function (theme) {
|
|
14
|
-
return theme.color5 ? {
|
|
15
|
-
backgroundColor: theme.color5,
|
|
16
|
-
color: theme.color11
|
|
17
|
-
} : null;
|
|
18
|
-
},
|
|
19
|
-
themes2 = process.env.TAMAGUI_OPTIMIZE_THEMES === "true" ? {} : themesIn,
|
|
20
|
-
config = {
|
|
21
|
-
animations,
|
|
22
|
-
themes: themes2,
|
|
23
|
-
media,
|
|
24
|
-
shorthands,
|
|
25
|
-
tokens,
|
|
26
|
-
fonts,
|
|
27
|
-
selectionStyles,
|
|
28
|
-
settings: {
|
|
29
|
-
mediaQueryDefaultActive,
|
|
30
|
-
defaultFont: "body",
|
|
31
|
-
fastSchemeChange: !0,
|
|
32
|
-
shouldAddPrefersColorThemes: !0,
|
|
33
|
-
themeClassNameOnRoot: !0
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
export { animations2 as animations, config, fonts2 as fonts, media2 as media, mediaQueryDefaultActive2 as mediaQueryDefaultActive, selectionStyles, shorthands2 as shorthands, themes, tokens2 as tokens };
|
|
37
|
-
//# sourceMappingURL=v3.native.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["shorthands","tokens","themes","themesIn","animations","fonts","media","mediaQueryDefaultActive","animations2","tokens2","shorthands2","fonts2","media2","mediaQueryDefaultActive2","_globalThis","_global","globalThis","selectionStyles","theme","color5","backgroundColor","color","color11","themes2","process","env","TAMAGUI_OPTIMIZE_THEMES","config","settings","defaultFont","fastSchemeChange","shouldAddPrefersColorThemes"],"sources":["../../src/v3.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,MAAA,EAAQC,MAAA,IAAUC,QAAA,QAAgB;AAC3C,SAASC,UAAA,QAAkB;AAG3B,SAASC,KAAA,QAAa;AACtB,SAASC,KAAA,EAAOC,uBAAA,QAA+B;AAK/C,SAASH,UAAA,IAAAI,WAAA,QAAkB;AAC3B,SAASP,MAAA,IAAAQ,OAAA,EAAQP,MAAA,QAAc;AAC/B,SAASF,UAAA,IAAAU,WAAA,QAAkB;AAC3B,SAASL,KAAA,IAAAM,MAAA,QAAa;AACtB,SAASL,KAAA,IAAAM,MAAA,EAAOL,uBAAA,IAAAM,wBAAA,QAA+B;AAN/C,IAAAC,WAAW,EAAAC,OAAc;AAQlB,CAAAD,WAAM,GAAAE,UAAmB,EAAAD,OAAA,GAC9B,QAAM,MACFD,WAAA,CAAAC,OAAA,IAAAC,UAAA;AAAA,IACEC,eAAiB,YAAAA,CAAMC,KAAA;IACvB,OAAOA,KAAA,CAAMC,MAAA;MAEfC,eAGA,EACJF,KAAA,CAAAC,MAAY;MAGZE,KAAA,EAAAH,KAAA,CAAAI;IACA;EAAA;EACAC,OAAA,GAAAC,OAAA,CAAAC,GAAA,CAAAC,uBAAA,mBAAAvB,QAAA;EAAAwB,MAAA;IACAvB,UAAA;IACAF,MAAA,EAAAqB,OAAA;IACAjB,KAAA;IACAN,UAAA;IACAC,MAAA;IAAUI,KACR;IAAAY,eACa;IAAAW,QACb;MACArB,uBAAA;MACAsB,WAAA;MACFC,gBAAA;MACFC,2BAAA","ignoreList":[]}
|