@tamagui/config 1.113.0 → 1.113.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/esm/animations.css.native.js +4 -2
- package/dist/esm/animations.css.native.js.map +6 -1
- package/dist/esm/animations.native.js +4 -2
- package/dist/esm/animations.native.js.map +6 -1
- package/dist/esm/animations.reanimated.native.js +4 -2
- package/dist/esm/animations.reanimated.native.js.map +6 -1
- package/dist/esm/animationsCSS.native.js +18 -17
- package/dist/esm/animationsCSS.native.js.map +6 -1
- package/dist/esm/animationsReactNative.native.js +4 -2
- package/dist/esm/animationsReactNative.native.js.map +6 -1
- package/dist/esm/animationsReanimated.native.js +4 -2
- package/dist/esm/animationsReanimated.native.js.map +6 -1
- package/dist/esm/config.native.js +7 -5
- package/dist/esm/config.native.js.map +6 -1
- package/dist/esm/createGenericFont.native.js +12 -11
- package/dist/esm/createGenericFont.native.js.map +6 -1
- package/dist/esm/fonts.native.js +93 -95
- package/dist/esm/fonts.native.js.map +6 -1
- package/dist/esm/index.native.js +11 -8
- package/dist/esm/index.native.js.map +6 -1
- package/dist/esm/index.reanimated.native.js +7 -5
- package/dist/esm/index.reanimated.native.js.map +6 -1
- package/dist/esm/media.native.js +61 -49
- package/dist/esm/media.native.js.map +6 -1
- package/dist/esm/v2-base.native.js +7 -5
- package/dist/esm/v2-base.native.js.map +6 -1
- package/dist/esm/v2-native.js +5 -3
- package/dist/esm/v2-native.js.map +6 -1
- package/dist/esm/v2-reanimated.native.js +5 -3
- package/dist/esm/v2-reanimated.native.js.map +6 -1
- package/dist/esm/v2.native.js +5 -3
- package/dist/esm/v2.native.js.map +6 -1
- package/dist/esm/v3-animations.native.js +4 -2
- package/dist/esm/v3-animations.native.js.map +6 -1
- package/dist/esm/v3.native.js +39 -31
- package/dist/esm/v3.native.js.map +6 -1
- package/package.json +12 -12
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animations.css.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,wBAAwB;AAE1B,IAAMC,aAAaD,iBAAiB;EACzC,SAAS;EACTE,QAAQ;EACRC,MAAM;EACNC,MAAM;EACNC,QAAQ;EACRC,OAAO;EACPC,SAAS;AACX,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "animations", "bouncy", "lazy", "slow", "medium", "quick", "tooltip"]
|
|
6
|
+
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animations.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,wBAAwB;AAE1B,IAAMC,aAAaD,iBAAiB;EACzC,SAAS;IACPE,MAAM;IACNC,UAAU;EACZ;EACAC,QAAQ;IACNC,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAC,MAAM;IACJH,SAAS;IACTE,WAAW;EACb;EACAE,QAAQ;IACNJ,SAAS;IACTE,WAAW;IACXD,MAAM;EACR;EACAI,MAAM;IACJL,SAAS;IACTE,WAAW;EACb;EACAI,OAAO;IACLN,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAK,SAAS;IACPP,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;AACF,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "animations", "type", "duration", "bouncy", "damping", "mass", "stiffness", "lazy", "medium", "slow", "quick", "tooltip"]
|
|
6
|
+
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animations.reanimated.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,wBAAwB;AAE1B,IAAMC,aAAaD,iBAAiB;EACzC,SAAS;IACPE,MAAM;IACNC,UAAU;EACZ;EACAC,QAAQ;IACNF,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAC,MAAM;IACJN,MAAM;IACNG,SAAS;IACTE,WAAW;EACb;EACAE,QAAQ;IACNJ,SAAS;IACTE,WAAW;IACXD,MAAM;EACR;EACAI,MAAM;IACJR,MAAM;IACNG,SAAS;IACTE,WAAW;EACb;EACAI,OAAO;IACLT,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAK,SAAS;IACPV,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;AACF,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "animations", "type", "duration", "bouncy", "damping", "mass", "stiffness", "lazy", "medium", "slow", "quick", "tooltip"]
|
|
6
|
+
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { createAnimations as c1 } from "@tamagui/animations-css";
|
|
2
|
-
var smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
var smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)", animationsCSS = c1({
|
|
3
|
+
"75ms": "ease-in 75ms",
|
|
4
|
+
"100ms": "ease-in 100ms",
|
|
5
|
+
"200ms": "ease-in 200ms",
|
|
6
|
+
bouncy: "ease-in 200ms",
|
|
7
|
+
superBouncy: "ease-in 500ms",
|
|
8
|
+
lazy: "ease-in 1000ms",
|
|
9
|
+
medium: "ease-in 300ms",
|
|
10
|
+
slow: "ease-in 500ms",
|
|
11
|
+
quick: `${smoothBezier} 400ms`,
|
|
12
|
+
quicker: `${smoothBezier} 300ms`,
|
|
13
|
+
quickest: `${smoothBezier} 200ms`,
|
|
14
|
+
tooltip: "ease-in 400ms"
|
|
15
|
+
});
|
|
16
|
+
export {
|
|
17
|
+
animationsCSS
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=animationsCSS.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animationsCSS.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,oBAAoBC,UAAU;AAEvC,IAAMC,eAAe,4CAERC,gBAAgBF,GAAG;EAC9B,QAAQ;EACR,SAAS;EACT,SAAS;EACTG,QAAQ;EACRC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,MAAM;EACNC,OAAO,GAAGP,YAAAA;EACVQ,SAAS,GAAGR,YAAAA;EACZS,UAAU,GAAGT,YAAAA;EACbU,SAAS;AACX,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "c1", "smoothBezier", "animationsCSS", "bouncy", "superBouncy", "lazy", "medium", "slow", "quick", "quicker", "quickest", "tooltip"]
|
|
6
|
+
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animationsReactNative.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,oBAAoBC,UAAU;AAEhC,IAAMC,wBAAwBD,GAAG;EACtC,QAAQ;IACNE,MAAM;IACNC,UAAU;EACZ;EACA,SAAS;IACPD,MAAM;IACNC,UAAU;EACZ;EACA,SAAS;IACPD,MAAM;IACNC,UAAU;EACZ;EACAC,aAAa;IACXF,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAC,QAAQ;IACNN,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAE,MAAM;IACJP,MAAM;IACNG,SAAS;IACTE,WAAW;EACb;EACAG,QAAQ;IACNL,SAAS;IACTE,WAAW;IACXD,MAAM;EACR;EACAK,SAAS;IACPT,MAAM;IACNG,SAAS;IACTE,WAAW;EACb;EACAK,MAAM;IACJV,MAAM;IACNG,SAAS;IACTE,WAAW;EACb;EACAM,OAAO;IACLX,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAO,SAAS;IACPZ,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAQ,SAAS;IACPb,MAAM;IACNG,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAS,UAAU;IACRX,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;AACF,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "c2", "animationsReactNative", "type", "duration", "superBouncy", "damping", "mass", "stiffness", "bouncy", "lazy", "medium", "slowest", "slow", "quick", "tooltip", "quicker", "quickest"]
|
|
6
|
+
}
|
|
@@ -56,5 +56,7 @@ var animationsReanimated = createAnimations({
|
|
|
56
56
|
stiffness: 300
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
export {
|
|
60
|
-
|
|
59
|
+
export {
|
|
60
|
+
animationsReanimated
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=animationsReanimated.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/animationsReanimated.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,wBAAwB;AAE1B,IAAMC,uBAAuBD,iBAAiB;EACnD,QAAQ;IACNE,MAAM;IACNC,UAAU;EACZ;EACA,SAAS;IACPD,MAAM;IACNC,UAAU;EACZ;EACA,SAAS;IACPD,MAAM;IACNC,UAAU;EACZ;EACAC,aAAa;IACXC,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAC,QAAQ;IACNH,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAE,QAAQ;IACNJ,SAAS;IACTE,WAAW;IACXD,MAAM;EACR;EACAI,MAAM;IACJL,SAAS;IACTE,WAAW;EACb;EACAI,MAAM;IACJN,SAAS;IACTE,WAAW;EACb;EACAK,OAAO;IACLP,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAM,SAAS;IACPR,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAO,SAAS;IACPT,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAQ,UAAU;IACRV,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;AACF,CAAA;",
|
|
5
|
+
"names": ["createAnimations", "animationsReanimated", "type", "duration", "superBouncy", "damping", "mass", "stiffness", "bouncy", "medium", "lazy", "slow", "quick", "tooltip", "quicker", "quickest"]
|
|
6
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands";
|
|
2
2
|
import { themes, tokens } from "@tamagui/themes";
|
|
3
|
-
import { fonts } from "./fonts
|
|
4
|
-
import { media, mediaQueryDefaultActive } from "./media
|
|
3
|
+
import { fonts } from "./fonts";
|
|
4
|
+
import { media, mediaQueryDefaultActive } from "./media";
|
|
5
5
|
var configWithoutAnimations = {
|
|
6
6
|
themes,
|
|
7
7
|
media,
|
|
8
8
|
shorthands,
|
|
9
9
|
tokens,
|
|
10
10
|
fonts,
|
|
11
|
-
selectionStyles: function
|
|
11
|
+
selectionStyles: function(theme) {
|
|
12
12
|
return theme.color5 ? {
|
|
13
13
|
backgroundColor: theme.color5,
|
|
14
14
|
color: theme.color11
|
|
@@ -21,5 +21,7 @@ var configWithoutAnimations = {
|
|
|
21
21
|
mediaQueryDefaultActive
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
export {
|
|
25
|
-
|
|
24
|
+
export {
|
|
25
|
+
configWithoutAnimations
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/config.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,QAAQC,cAAc;AAG/B,SAASC,aAAa;AACtB,SAASC,OAAOC,+BAA+B;AAExC,IAAMC,0BAA0B;EACrCL;EACAG;EACAJ;EACAE;EACAC;EACAI,iBAAiB,SAACC,OAAAA;WAChBA,MAAMC,SACF;MACEC,iBAAiBF,MAAMC;MACvBE,OAAOH,MAAMI;IACf,IACA;;EAENC,UAAU;IACRC,aAAa;IACbC,6BAA6B;IAC7BC,sBAAsB;IACtBX;EACF;AACF;",
|
|
5
|
+
"names": ["shorthands", "themes", "tokens", "fonts", "media", "mediaQueryDefaultActive", "configWithoutAnimations", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "settings", "defaultFont", "shouldAddPrefersColorThemes", "themeClassNameOnRoot"]
|
|
6
|
+
}
|
|
@@ -18,19 +18,18 @@ var genericFontSizes = {
|
|
|
18
18
|
16: 124
|
|
19
19
|
};
|
|
20
20
|
function createGenericFont(family) {
|
|
21
|
-
var font = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return val * 1.35;
|
|
25
|
-
}
|
|
26
|
-
} = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
|
|
27
|
-
size = font.size || genericFontSizes;
|
|
21
|
+
var font = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, { sizeLineHeight = function(val) {
|
|
22
|
+
return val * 1.35;
|
|
23
|
+
} } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, size = font.size || genericFontSizes;
|
|
28
24
|
return createFont({
|
|
29
25
|
family,
|
|
30
26
|
size,
|
|
31
|
-
lineHeight: Object.fromEntries(Object.entries(size).map(function
|
|
27
|
+
lineHeight: Object.fromEntries(Object.entries(size).map(function(param) {
|
|
32
28
|
var [k, v] = param;
|
|
33
|
-
return [
|
|
29
|
+
return [
|
|
30
|
+
k,
|
|
31
|
+
sizeLineHeight(+v)
|
|
32
|
+
];
|
|
34
33
|
})),
|
|
35
34
|
weight: {
|
|
36
35
|
0: "300"
|
|
@@ -41,5 +40,7 @@ function createGenericFont(family) {
|
|
|
41
40
|
...font
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
|
-
export {
|
|
45
|
-
|
|
43
|
+
export {
|
|
44
|
+
createGenericFont
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=createGenericFont.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/createGenericFont.ts"],
|
|
4
|
+
"mappings": "AACA,SAASA,kBAAkB;AAE3B,IAAMC,mBAAmB;EACvB,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,QAAc;MACdC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAmB,CAAC,GACpB,EACEC,iBAAiB,SAACC,KAAAA;WAAQA,MAAM;IAAI,IADtC,UAAA,SAAA,KAAA,UAAA,CAAA,MAAA,SAAA,UAAA,CAAA,IAII,CAAC,GAECC,OAAOH,KAAKG,QAAQN;AAC1B,SAAOD,WAAW;IAChBG;IACAI;IACAC,YAAYC,OAAOC,YACjBD,OAAOE,QAAQJ,IAAAA,EAAMK,IAAI,SAAA,OAAA;UAAC,CAACC,GAAGC,CAAAA,IAAE;aAAK;QAACD;QAAGR,eAAe,CAACS,CAAAA;;;IAE3DC,QAAQ;MAAE,GAAG;IAAM;IACnBC,eAAe;MAAE,GAAG;IAAE;IACtB,GAAIZ;EACN,CAAA;AACF;",
|
|
5
|
+
"names": ["createFont", "genericFontSizes", "createGenericFont", "family", "font", "sizeLineHeight", "val", "size", "lineHeight", "Object", "fromEntries", "entries", "map", "k", "v", "weight", "letterSpacing"]
|
|
6
|
+
}
|
package/dist/esm/fonts.native.js
CHANGED
|
@@ -1,100 +1,98 @@
|
|
|
1
1
|
import { createInterFont } from "@tamagui/font-inter";
|
|
2
2
|
import { createSilkscreenFont } from "@tamagui/font-silkscreen";
|
|
3
|
-
import { createGenericFont } from "./createGenericFont
|
|
4
|
-
var silkscreenFont = createSilkscreenFont(),
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
import { createGenericFont } from "./createGenericFont";
|
|
4
|
+
var silkscreenFont = createSilkscreenFont(), headingFont = createInterFont({
|
|
5
|
+
size: {
|
|
6
|
+
5: 13,
|
|
7
|
+
6: 15,
|
|
8
|
+
9: 32,
|
|
9
|
+
10: 44
|
|
10
|
+
},
|
|
11
|
+
transform: {
|
|
12
|
+
6: "uppercase",
|
|
13
|
+
7: "none"
|
|
14
|
+
},
|
|
15
|
+
weight: {
|
|
16
|
+
6: "400",
|
|
17
|
+
7: "700"
|
|
18
|
+
},
|
|
19
|
+
color: {
|
|
20
|
+
6: "$colorFocus",
|
|
21
|
+
7: "$color"
|
|
22
|
+
},
|
|
23
|
+
letterSpacing: {
|
|
24
|
+
5: 2,
|
|
25
|
+
6: 1,
|
|
26
|
+
7: 0,
|
|
27
|
+
8: 0,
|
|
28
|
+
9: -1,
|
|
29
|
+
10: -1.5,
|
|
30
|
+
12: -2,
|
|
31
|
+
14: -3,
|
|
32
|
+
15: -4
|
|
33
|
+
},
|
|
34
|
+
// for native
|
|
35
|
+
face: {
|
|
36
|
+
700: {
|
|
37
|
+
normal: "InterBold"
|
|
11
38
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
7: "none"
|
|
39
|
+
800: {
|
|
40
|
+
normal: "InterBold"
|
|
15
41
|
},
|
|
16
|
-
|
|
17
|
-
|
|
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;
|
|
42
|
+
900: {
|
|
43
|
+
normal: "InterBold"
|
|
90
44
|
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
45
|
+
}
|
|
46
|
+
}, {
|
|
47
|
+
sizeLineHeight: function(size) {
|
|
48
|
+
return Math.round(size * 1.1 + (size < 30 ? 10 : 5));
|
|
49
|
+
}
|
|
50
|
+
}), bodyFont = createInterFont({
|
|
51
|
+
weight: {
|
|
52
|
+
1: "400",
|
|
53
|
+
7: "600"
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
sizeSize: function(size) {
|
|
57
|
+
return Math.round(size);
|
|
58
|
+
},
|
|
59
|
+
sizeLineHeight: function(size) {
|
|
60
|
+
return Math.round(size * 1.1 + (size >= 12 ? 8 : 4));
|
|
61
|
+
}
|
|
62
|
+
}), monoFont = createGenericFont('"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace', {
|
|
63
|
+
weight: {
|
|
64
|
+
1: "500"
|
|
65
|
+
},
|
|
66
|
+
size: {
|
|
67
|
+
1: 11,
|
|
68
|
+
2: 12,
|
|
69
|
+
3: 13,
|
|
70
|
+
4: 14,
|
|
71
|
+
5: 16,
|
|
72
|
+
6: 18,
|
|
73
|
+
7: 20,
|
|
74
|
+
8: 22,
|
|
75
|
+
9: 30,
|
|
76
|
+
10: 42,
|
|
77
|
+
11: 52,
|
|
78
|
+
12: 62,
|
|
79
|
+
13: 72,
|
|
80
|
+
14: 92,
|
|
81
|
+
15: 114,
|
|
82
|
+
16: 124
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
sizeLineHeight: function(x) {
|
|
86
|
+
return x * 1.5;
|
|
87
|
+
}
|
|
88
|
+
}), fonts = {
|
|
89
|
+
// noto: notoFont as any,
|
|
90
|
+
heading: headingFont,
|
|
91
|
+
body: bodyFont,
|
|
92
|
+
mono: monoFont,
|
|
93
|
+
silkscreen: silkscreenFont
|
|
94
|
+
};
|
|
95
|
+
export {
|
|
96
|
+
fonts
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=fonts.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/fonts.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,uBAAuB;AAChC,SAASC,4BAA4B;AAErC,SAASC,yBAAyB;AAElC,IAAMC,iBAAiBF,qBAAAA,GAEjBG,cAAcJ,gBAClB;EACEK,MAAM;IACJ,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;EACN;EACAC,WAAW;IACT,GAAG;IACH,GAAG;EACL;EACAC,QAAQ;IACN,GAAG;IACH,GAAG;EACL;EACAC,OAAO;IACL,GAAG;IACH,GAAG;EACL;EACAC,eAAe;IACb,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;EACN;;EAEAC,MAAM;IACJ,KAAK;MAAEC,QAAQ;IAAY;IAC3B,KAAK;MAAEA,QAAQ;IAAY;IAC3B,KAAK;MAAEA,QAAQ;IAAY;EAC7B;AACF,GACA;EAAEC,gBAAgB,SAACP,MAAAA;WAASQ,KAAKC,MAAMT,OAAO,OAAOA,OAAO,KAAK,KAAK,EAAA;;AAAI,CAAA,GAGtEU,WAAWf,gBACf;EACEO,QAAQ;IACN,GAAG;IACH,GAAG;EACL;AACF,GACA;EACES,UAAU,SAACX,MAAAA;WAASQ,KAAKC,MAAMT,IAAAA;;EAC/BO,gBAAgB,SAACP,MAAAA;WAASQ,KAAKC,MAAMT,OAAO,OAAOA,QAAQ,KAAK,IAAI,EAAA;;AACtE,CAAA,GAGIY,WAAWf,kBACf,8FACA;EACEK,QAAQ;IACN,GAAG;EACL;EACAF,MAAM;IACJ,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;EACN;AACF,GACA;EACEO,gBAAgB,SAACM,GAAAA;WAAMA,IAAI;;AAC7B,CAAA,GAGWC,QAAQ;;EAEnBC,SAAShB;EACTiB,MAAMN;EACNO,MAAML;EACNM,YAAYpB;AACd;",
|
|
5
|
+
"names": ["createInterFont", "createSilkscreenFont", "createGenericFont", "silkscreenFont", "headingFont", "size", "transform", "weight", "color", "letterSpacing", "face", "normal", "sizeLineHeight", "Math", "round", "bodyFont", "sizeSize", "monoFont", "x", "fonts", "heading", "body", "mono", "silkscreen"]
|
|
6
|
+
}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { themes } from "@tamagui/themes";
|
|
2
|
-
import { animations } from "./animations
|
|
3
|
-
import { configWithoutAnimations } from "./config
|
|
4
|
-
import { configWithoutAnimations as configWithoutAnimations2 } from "./config
|
|
5
|
-
export * from "./media
|
|
6
|
-
export * from "./createGenericFont
|
|
7
|
-
export * from "./animations
|
|
2
|
+
import { animations } from "./animations";
|
|
3
|
+
import { configWithoutAnimations } from "./config";
|
|
4
|
+
import { configWithoutAnimations as configWithoutAnimations2 } from "./config";
|
|
5
|
+
export * from "./media";
|
|
6
|
+
export * from "./createGenericFont";
|
|
7
|
+
export * from "./animations";
|
|
8
8
|
var config = {
|
|
9
9
|
...configWithoutAnimations,
|
|
10
10
|
// fixes typescript exporting this using internal /types/ path
|
|
11
11
|
themes,
|
|
12
12
|
animations
|
|
13
13
|
};
|
|
14
|
-
export {
|
|
15
|
-
|
|
14
|
+
export {
|
|
15
|
+
config,
|
|
16
|
+
configWithoutAnimations2 as configWithoutAnimations
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/index.tsx"],
|
|
4
|
+
"mappings": "AAAA,SAASA,cAAc;AAEvB,SAASC,kBAAkB;AAC3B,SAASC,+BAA+B;AAExC,SAASA,2BAAAA,gCAA+B;AACxC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAMC,SAAS;EACpB,GAAGD;;EAEHF;EACAC;AACF;",
|
|
5
|
+
"names": ["themes", "animations", "configWithoutAnimations", "config"]
|
|
6
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { animations } from "./animations.reanimated";
|
|
2
|
-
import { configWithoutAnimations } from "./config
|
|
3
|
-
export * from "./media
|
|
4
|
-
export * from "./createGenericFont
|
|
2
|
+
import { configWithoutAnimations } from "./config";
|
|
3
|
+
export * from "./media";
|
|
4
|
+
export * from "./createGenericFont";
|
|
5
5
|
export * from "./animations.reanimated";
|
|
6
6
|
var config = {
|
|
7
7
|
...configWithoutAnimations,
|
|
8
8
|
animations
|
|
9
9
|
};
|
|
10
|
-
export {
|
|
11
|
-
|
|
10
|
+
export {
|
|
11
|
+
config
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.reanimated.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/index.reanimated.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,+BAA+B;AACxC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAMC,SAAS;EACpB,GAAGD;EACHD;AACF;",
|
|
5
|
+
"names": ["animations", "configWithoutAnimations", "config"]
|
|
6
|
+
}
|
package/dist/esm/media.native.js
CHANGED
|
@@ -1,50 +1,62 @@
|
|
|
1
1
|
import { createMedia } from "@tamagui/react-native-media-driver";
|
|
2
|
-
var demoMedia = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
2
|
+
var demoMedia = [
|
|
3
|
+
500,
|
|
4
|
+
620,
|
|
5
|
+
780,
|
|
6
|
+
900
|
|
7
|
+
], widths = [
|
|
8
|
+
660,
|
|
9
|
+
800,
|
|
10
|
+
1020,
|
|
11
|
+
1280
|
|
12
|
+
], media = createMedia({
|
|
13
|
+
// for site
|
|
14
|
+
xl: {
|
|
15
|
+
maxWidth: 1650
|
|
16
|
+
},
|
|
17
|
+
lg: {
|
|
18
|
+
maxWidth: 1280
|
|
19
|
+
},
|
|
20
|
+
md: {
|
|
21
|
+
maxWidth: 1020
|
|
22
|
+
},
|
|
23
|
+
sm: {
|
|
24
|
+
maxWidth: 800
|
|
25
|
+
},
|
|
26
|
+
xs: {
|
|
27
|
+
maxWidth: 660
|
|
28
|
+
},
|
|
29
|
+
xxs: {
|
|
30
|
+
maxWidth: 390
|
|
31
|
+
},
|
|
32
|
+
gtXs: {
|
|
33
|
+
minWidth: 661
|
|
34
|
+
},
|
|
35
|
+
gtSm: {
|
|
36
|
+
minWidth: 801
|
|
37
|
+
},
|
|
38
|
+
gtMd: {
|
|
39
|
+
minWidth: 1021
|
|
40
|
+
},
|
|
41
|
+
gtLg: {
|
|
42
|
+
minWidth: 1281
|
|
43
|
+
},
|
|
44
|
+
gtXl: {
|
|
45
|
+
minWidth: 1651
|
|
46
|
+
}
|
|
47
|
+
}), mediaQueryDefaultActive = {
|
|
48
|
+
xl: !0,
|
|
49
|
+
lg: !0,
|
|
50
|
+
md: !0,
|
|
51
|
+
sm: !0,
|
|
52
|
+
xs: !0,
|
|
53
|
+
// false
|
|
54
|
+
xxs: !1
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
demoMedia,
|
|
58
|
+
media,
|
|
59
|
+
mediaQueryDefaultActive,
|
|
60
|
+
widths
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=media.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/media.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,mBAAmB;AAErB,IAAMC,YAAY;EAAC;EAAK;EAAK;EAAK;GAC5BC,SAAS;EAAC;EAAK;EAAK;EAAM;GAK1BC,QAAQH,YAAY;;EAE/BI,IAAI;IAAEC,UAAU;EAAK;EACrBC,IAAI;IAAED,UAAU;EAAK;EACrBE,IAAI;IAAEF,UAAU;EAAK;EACrBG,IAAI;IAAEH,UAAU;EAAI;EACpBI,IAAI;IAAEJ,UAAU;EAAI;EACpBK,KAAK;IAAEL,UAAU;EAAI;EACrBM,MAAM;IAAEC,UAAU;EAAQ;EAC1BC,MAAM;IAAED,UAAU;EAAQ;EAC1BE,MAAM;IAAEF,UAAU;EAAS;EAC3BG,MAAM;IAAEH,UAAU;EAAS;EAC3BI,MAAM;IAAEJ,UAAU;EAAS;AAC7B,CAAA,GAIaK,0BAA0B;EACrCb,IAAI;EACJE,IAAI;EACJC,IAAI;EACJC,IAAI;EACJC,IAAI;;EAEJC,KAAK;AACP;",
|
|
5
|
+
"names": ["createMedia", "demoMedia", "widths", "media", "xl", "maxWidth", "lg", "md", "sm", "xs", "xxs", "gtXs", "minWidth", "gtSm", "gtMd", "gtLg", "gtXl", "mediaQueryDefaultActive"]
|
|
6
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands";
|
|
2
2
|
import { tokens } from "@tamagui/themes/v2";
|
|
3
3
|
import { themes } from "@tamagui/themes/v2-themes";
|
|
4
|
-
import { fonts } from "./fonts
|
|
5
|
-
import { media, mediaQueryDefaultActive } from "./media
|
|
4
|
+
import { fonts } from "./fonts";
|
|
5
|
+
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
6
|
var config = {
|
|
7
7
|
themes,
|
|
8
8
|
media,
|
|
9
9
|
shorthands,
|
|
10
10
|
tokens,
|
|
11
11
|
fonts,
|
|
12
|
-
selectionStyles: function
|
|
12
|
+
selectionStyles: function(theme) {
|
|
13
13
|
return theme.color5 ? {
|
|
14
14
|
backgroundColor: theme.color5,
|
|
15
15
|
color: theme.color11
|
|
@@ -22,5 +22,7 @@ var config = {
|
|
|
22
22
|
mediaQueryDefaultActive
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
export {
|
|
26
|
-
|
|
25
|
+
export {
|
|
26
|
+
config
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=v2-base.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v2-base.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,cAAc;AACvB,SAASC,cAAc;AAGvB,SAASC,aAAa;AACtB,SAASC,OAAOC,+BAA+B;AAExC,IAAMC,SAAS;EACpBJ;EACAE;EACAJ;EACAC;EACAE;EACAI,iBAAiB,SAACC,OAAAA;WAChBA,MAAMC,SACF;MACEC,iBAAiBF,MAAMC;MACvBE,OAAOH,MAAMI;IACf,IACA;;EACNC,UAAU;IACRC,aAAa;IACbC,6BAA6B;IAC7BC,sBAAsB;IACtBX;EACF;AACF;",
|
|
5
|
+
"names": ["shorthands", "tokens", "themes", "fonts", "media", "mediaQueryDefaultActive", "config", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "settings", "defaultFont", "shouldAddPrefersColorThemes", "themeClassNameOnRoot"]
|
|
6
|
+
}
|
package/dist/esm/v2-native.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { animations } from "./animations
|
|
2
|
-
import { config as configBase } from "./v2-base
|
|
1
|
+
import { animations } from "./animations";
|
|
2
|
+
import { config as configBase } from "./v2-base";
|
|
3
3
|
var config = {
|
|
4
4
|
...configBase,
|
|
5
5
|
animations
|
|
6
6
|
};
|
|
7
|
-
export {
|
|
7
|
+
export {
|
|
8
|
+
config
|
|
9
|
+
};
|
|
8
10
|
//# sourceMappingURL=v2-native.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v2-native.ts"],
|
|
4
|
+
"mappings": "AAEA,SAASA,kBAAkB;AAC3B,SAASC,UAAUC,kBAAkB;AAE9B,IAAMD,SAAS;EACpB,GAAGC;EACHF;AACF;",
|
|
5
|
+
"names": ["animations", "config", "configBase"]
|
|
6
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { animations } from "./animations.reanimated";
|
|
2
|
-
import { config as configBase } from "./v2-base
|
|
2
|
+
import { config as configBase } from "./v2-base";
|
|
3
3
|
var config = {
|
|
4
4
|
...configBase,
|
|
5
5
|
animations
|
|
6
6
|
};
|
|
7
|
-
export {
|
|
8
|
-
|
|
7
|
+
export {
|
|
8
|
+
config
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=v2-reanimated.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v2-reanimated.ts"],
|
|
4
|
+
"mappings": "AAEA,SAASA,kBAAkB;AAC3B,SAASC,UAAUC,kBAAkB;AAE9B,IAAMD,SAAS;EACpB,GAAGC;EACHF;AACF;",
|
|
5
|
+
"names": ["animations", "config", "configBase"]
|
|
6
|
+
}
|
package/dist/esm/v2.native.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { animations } from "./animations
|
|
2
|
-
import { config as configBase } from "./v2-base
|
|
1
|
+
import { animations } from "./animations";
|
|
2
|
+
import { config as configBase } from "./v2-base";
|
|
3
3
|
var config = {
|
|
4
4
|
...configBase,
|
|
5
5
|
animations
|
|
6
6
|
};
|
|
7
|
-
export {
|
|
7
|
+
export {
|
|
8
|
+
config
|
|
9
|
+
};
|
|
8
10
|
//# sourceMappingURL=v2.native.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v2.native.ts"],
|
|
4
|
+
"mappings": "AAEA,SAASA,kBAAkB;AAC3B,SAASC,UAAUC,kBAAkB;AAE9B,IAAMD,SAAS;EACpB,GAAGC;EACHF;AACF;",
|
|
5
|
+
"names": ["animations", "config", "configBase"]
|
|
6
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { animationsReactNative } from "./animationsReactNative
|
|
2
|
-
export {
|
|
1
|
+
import { animationsReactNative } from "./animationsReactNative";
|
|
2
|
+
export {
|
|
3
|
+
animationsReactNative as animations
|
|
4
|
+
};
|
|
3
5
|
//# sourceMappingURL=v3-animations.native.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v3-animations.native.ts"],
|
|
4
|
+
"mappings": "AAAA,SAAkCA,6BAAkB;",
|
|
5
|
+
"names": ["animations"]
|
|
6
|
+
}
|
package/dist/esm/v3.native.js
CHANGED
|
@@ -1,37 +1,45 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands/v2";
|
|
2
2
|
import { tokens, themes as themesIn } from "@tamagui/themes/v3-themes";
|
|
3
|
-
import { animations } from "./v3-animations
|
|
4
|
-
import { fonts } from "./fonts
|
|
5
|
-
import { media, mediaQueryDefaultActive } from "./media
|
|
6
|
-
import { animations as animations2 } from "./v3-animations
|
|
3
|
+
import { animations } from "./v3-animations";
|
|
4
|
+
import { fonts } from "./fonts";
|
|
5
|
+
import { media, mediaQueryDefaultActive } from "./media";
|
|
6
|
+
import { animations as animations2 } from "./v3-animations";
|
|
7
7
|
import { tokens as tokens2, themes } from "@tamagui/themes/v3-themes";
|
|
8
8
|
import { shorthands as shorthands2 } from "@tamagui/shorthands/v2";
|
|
9
|
-
import { fonts as fonts2 } from "./fonts
|
|
10
|
-
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media
|
|
9
|
+
import { fonts as fonts2 } from "./fonts";
|
|
10
|
+
import { media as media2, mediaQueryDefaultActive as mediaQueryDefaultActive2 } from "./media";
|
|
11
11
|
var _globalThis, _global;
|
|
12
12
|
(_globalThis = globalThis)[_global = "global"] || (_globalThis[_global] = globalThis);
|
|
13
|
-
var selectionStyles = function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
13
|
+
var selectionStyles = function(theme) {
|
|
14
|
+
return theme.color5 ? {
|
|
15
|
+
backgroundColor: theme.color5,
|
|
16
|
+
color: theme.color11
|
|
17
|
+
} : null;
|
|
18
|
+
}, themes2 = process.env.TAMAGUI_OPTIMIZE_THEMES === "true" ? {} : themesIn, config = {
|
|
19
|
+
animations,
|
|
20
|
+
themes: themes2,
|
|
21
|
+
media,
|
|
22
|
+
shorthands,
|
|
23
|
+
tokens,
|
|
24
|
+
fonts,
|
|
25
|
+
selectionStyles,
|
|
26
|
+
settings: {
|
|
27
|
+
mediaQueryDefaultActive,
|
|
28
|
+
defaultFont: "body",
|
|
29
|
+
fastSchemeChange: !0,
|
|
30
|
+
shouldAddPrefersColorThemes: !0,
|
|
31
|
+
themeClassNameOnRoot: !0
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
animations2 as animations,
|
|
36
|
+
config,
|
|
37
|
+
fonts2 as fonts,
|
|
38
|
+
media2 as media,
|
|
39
|
+
mediaQueryDefaultActive2 as mediaQueryDefaultActive,
|
|
40
|
+
selectionStyles,
|
|
41
|
+
shorthands2 as shorthands,
|
|
42
|
+
themes,
|
|
43
|
+
tokens2 as tokens
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=v3.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/config/src/v3.ts"],
|
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,QAAQC,UAAUC,gBAAgB;AAC3C,SAASC,kBAAkB;AAG3B,SAASC,aAAa;AACtB,SAASC,OAAOC,+BAA+B;AAK/C,SAASH,cAAAA,mBAAkB;AAC3B,SAASH,UAAAA,SAAQC,cAAc;AAC/B,SAASF,cAAAA,mBAAkB;AAC3B,SAASK,SAAAA,cAAa;AACtB,SAASC,SAAAA,QAAOC,2BAAAA,gCAA+B;IAN/CC,aAAW;CAAXA,cAAAA,YAAW,UAAA,QAAA,MAAXA,YAAW,OAAA,IAAcA;AAQlB,IAAMC,kBAAkB,SAACC,OAAAA;SAC9BA,MAAMC,SACF;IACEC,iBAAiBF,MAAMC;IACvBE,OAAOH,MAAMI;EACf,IACA;GAGAZ,UACJa,QAAQC,IAAIC,4BAA4B,SAAU,CAAC,IAAwBd,UAEhEe,SAAS;EACpBd;EACAF,QAAAA;EACAI;EACAN;EACAC;EACAI;EACAI;EACAU,UAAU;IACRZ;IACAa,aAAa;IACbC,kBAAkB;IAClBC,6BAA6B;IAC7BC,sBAAsB;EACxB;AACF;",
|
|
5
|
+
"names": ["shorthands", "tokens", "themes", "themesIn", "animations", "fonts", "media", "mediaQueryDefaultActive", "globalThis", "selectionStyles", "theme", "color5", "backgroundColor", "color", "color11", "process", "env", "TAMAGUI_OPTIMIZE_THEMES", "config", "settings", "defaultFont", "fastSchemeChange", "shouldAddPrefersColorThemes", "themeClassNameOnRoot"]
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config",
|
|
3
|
-
"version": "1.113.
|
|
3
|
+
"version": "1.113.2",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@tamagui/animations-css": "1.113.
|
|
63
|
-
"@tamagui/animations-moti": "1.113.
|
|
64
|
-
"@tamagui/animations-react-native": "1.113.
|
|
65
|
-
"@tamagui/colors": "1.113.
|
|
66
|
-
"@tamagui/font-inter": "1.113.
|
|
67
|
-
"@tamagui/font-silkscreen": "1.113.
|
|
68
|
-
"@tamagui/react-native-media-driver": "1.113.
|
|
69
|
-
"@tamagui/shorthands": "1.113.
|
|
70
|
-
"@tamagui/themes": "1.113.
|
|
71
|
-
"@tamagui/web": "1.113.
|
|
62
|
+
"@tamagui/animations-css": "1.113.2",
|
|
63
|
+
"@tamagui/animations-moti": "1.113.2",
|
|
64
|
+
"@tamagui/animations-react-native": "1.113.2",
|
|
65
|
+
"@tamagui/colors": "1.113.2",
|
|
66
|
+
"@tamagui/font-inter": "1.113.2",
|
|
67
|
+
"@tamagui/font-silkscreen": "1.113.2",
|
|
68
|
+
"@tamagui/react-native-media-driver": "1.113.2",
|
|
69
|
+
"@tamagui/shorthands": "1.113.2",
|
|
70
|
+
"@tamagui/themes": "1.113.2",
|
|
71
|
+
"@tamagui/web": "1.113.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@tamagui/build": "1.113.
|
|
74
|
+
"@tamagui/build": "1.113.2"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|