@tamagui/config 1.13.2 → 1.13.4
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 +1 -35
- package/dist/cjs/animations.css.js.map +2 -2
- package/dist/cjs/animations.js +1 -57
- package/dist/cjs/animations.js.map +2 -2
- package/dist/cjs/animations.reanimated.js +1 -58
- package/dist/cjs/animations.reanimated.js.map +2 -2
- package/dist/cjs/createGenericFont.js +1 -61
- package/dist/cjs/createGenericFont.js.map +2 -2
- package/dist/cjs/index.js +1 -20
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/media.js +1 -59
- package/dist/cjs/media.js.map +2 -2
- package/dist/cjs/tamagui.config.js +1 -137
- package/dist/cjs/tamagui.config.js.map +2 -2
- package/dist/esm/animations.css.js +1 -11
- package/dist/esm/animations.css.js.map +2 -2
- package/dist/esm/animations.css.mjs +1 -11
- package/dist/esm/animations.css.mjs.map +2 -2
- package/dist/esm/animations.js +1 -33
- package/dist/esm/animations.js.map +2 -2
- package/dist/esm/animations.mjs +1 -33
- package/dist/esm/animations.mjs.map +2 -2
- package/dist/esm/animations.reanimated.js +1 -34
- package/dist/esm/animations.reanimated.js.map +2 -2
- package/dist/esm/animations.reanimated.mjs +1 -34
- package/dist/esm/animations.reanimated.mjs.map +2 -2
- package/dist/esm/createGenericFont.js +1 -37
- package/dist/esm/createGenericFont.js.map +2 -2
- package/dist/esm/createGenericFont.mjs +1 -37
- package/dist/esm/createGenericFont.mjs.map +2 -2
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -3
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/media.js +1 -32
- package/dist/esm/media.js.map +2 -2
- package/dist/esm/media.mjs +1 -32
- package/dist/esm/media.mjs.map +2 -2
- package/dist/esm/tamagui.config.js +1 -112
- package/dist/esm/tamagui.config.js.map +2 -2
- package/dist/esm/tamagui.config.mjs +1 -112
- package/dist/esm/tamagui.config.mjs.map +2 -2
- package/package.json +11 -11
package/dist/esm/animations.js
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const animations = createAnimations({
|
|
3
|
-
"100ms": {
|
|
4
|
-
type: "timing",
|
|
5
|
-
duration: 100
|
|
6
|
-
},
|
|
7
|
-
bouncy: {
|
|
8
|
-
damping: 9,
|
|
9
|
-
mass: 0.9,
|
|
10
|
-
stiffness: 150
|
|
11
|
-
},
|
|
12
|
-
lazy: {
|
|
13
|
-
damping: 18,
|
|
14
|
-
stiffness: 50
|
|
15
|
-
},
|
|
16
|
-
slow: {
|
|
17
|
-
damping: 15,
|
|
18
|
-
stiffness: 40
|
|
19
|
-
},
|
|
20
|
-
quick: {
|
|
21
|
-
damping: 20,
|
|
22
|
-
mass: 1.2,
|
|
23
|
-
stiffness: 250
|
|
24
|
-
},
|
|
25
|
-
tooltip: {
|
|
26
|
-
damping: 10,
|
|
27
|
-
mass: 0.9,
|
|
28
|
-
stiffness: 100
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
animations
|
|
33
|
-
};
|
|
1
|
+
import{createAnimations as s}from"@tamagui/animations-react-native";const n=s({"100ms":{type:"timing",duration:100},bouncy:{damping:9,mass:.9,stiffness:150},lazy:{damping:18,stiffness:50},slow:{damping:15,stiffness:40},quick:{damping:20,mass:1.2,stiffness:250},tooltip:{damping:10,mass:.9,stiffness:100}});export{n as animations};
|
|
34
2
|
//# sourceMappingURL=animations.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.ts"],
|
|
4
4
|
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n '100ms': {\n type: 'timing',\n duration: 100,\n },\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,oBAAAA,MAAwB,mCAE1B,MAAMC,EAAaD,EAAiB,CACzC,QAAS,CACP,KAAM,SACN,SAAU,GACZ,EACA,OAAQ,CACN,QAAS,EACT,KAAM,GACN,UAAW,GACb,EACA,KAAM,CACJ,QAAS,GACT,UAAW,EACb,EACA,KAAM,CACJ,QAAS,GACT,UAAW,EACb,EACA,MAAO,CACL,QAAS,GACT,KAAM,IACN,UAAW,GACb,EACA,QAAS,CACP,QAAS,GACT,KAAM,GACN,UAAW,GACb,CACF,CAAC",
|
|
6
|
+
"names": ["createAnimations", "animations"]
|
|
7
7
|
}
|
package/dist/esm/animations.mjs
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const animations = createAnimations({
|
|
3
|
-
"100ms": {
|
|
4
|
-
type: "timing",
|
|
5
|
-
duration: 100
|
|
6
|
-
},
|
|
7
|
-
bouncy: {
|
|
8
|
-
damping: 9,
|
|
9
|
-
mass: 0.9,
|
|
10
|
-
stiffness: 150
|
|
11
|
-
},
|
|
12
|
-
lazy: {
|
|
13
|
-
damping: 18,
|
|
14
|
-
stiffness: 50
|
|
15
|
-
},
|
|
16
|
-
slow: {
|
|
17
|
-
damping: 15,
|
|
18
|
-
stiffness: 40
|
|
19
|
-
},
|
|
20
|
-
quick: {
|
|
21
|
-
damping: 20,
|
|
22
|
-
mass: 1.2,
|
|
23
|
-
stiffness: 250
|
|
24
|
-
},
|
|
25
|
-
tooltip: {
|
|
26
|
-
damping: 10,
|
|
27
|
-
mass: 0.9,
|
|
28
|
-
stiffness: 100
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
export {
|
|
32
|
-
animations
|
|
33
|
-
};
|
|
1
|
+
import{createAnimations as s}from"@tamagui/animations-react-native";const n=s({"100ms":{type:"timing",duration:100},bouncy:{damping:9,mass:.9,stiffness:150},lazy:{damping:18,stiffness:50},slow:{damping:15,stiffness:40},quick:{damping:20,mass:1.2,stiffness:250},tooltip:{damping:10,mass:.9,stiffness:100}});export{n as animations};
|
|
34
2
|
//# sourceMappingURL=animations.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.ts"],
|
|
4
4
|
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-react-native'\n\nexport const animations = createAnimations({\n '100ms': {\n type: 'timing',\n duration: 100,\n },\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n damping: 18,\n stiffness: 50,\n },\n slow: {\n damping: 15,\n stiffness: 40,\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,oBAAAA,MAAwB,mCAE1B,MAAMC,EAAaD,EAAiB,CACzC,QAAS,CACP,KAAM,SACN,SAAU,GACZ,EACA,OAAQ,CACN,QAAS,EACT,KAAM,GACN,UAAW,GACb,EACA,KAAM,CACJ,QAAS,GACT,UAAW,EACb,EACA,KAAM,CACJ,QAAS,GACT,UAAW,EACb,EACA,MAAO,CACL,QAAS,GACT,KAAM,IACN,UAAW,GACb,EACA,QAAS,CACP,QAAS,GACT,KAAM,GACN,UAAW,GACb,CACF,CAAC",
|
|
6
|
+
"names": ["createAnimations", "animations"]
|
|
7
7
|
}
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const animations = createAnimations({
|
|
3
|
-
bouncy: {
|
|
4
|
-
type: "spring",
|
|
5
|
-
damping: 9,
|
|
6
|
-
mass: 0.9,
|
|
7
|
-
stiffness: 150
|
|
8
|
-
},
|
|
9
|
-
lazy: {
|
|
10
|
-
type: "spring",
|
|
11
|
-
damping: 18,
|
|
12
|
-
stiffness: 50
|
|
13
|
-
},
|
|
14
|
-
slow: {
|
|
15
|
-
type: "spring",
|
|
16
|
-
damping: 15,
|
|
17
|
-
stiffness: 40
|
|
18
|
-
},
|
|
19
|
-
quick: {
|
|
20
|
-
type: "spring",
|
|
21
|
-
damping: 20,
|
|
22
|
-
mass: 1.2,
|
|
23
|
-
stiffness: 250
|
|
24
|
-
},
|
|
25
|
-
tooltip: {
|
|
26
|
-
type: "spring",
|
|
27
|
-
damping: 10,
|
|
28
|
-
mass: 0.9,
|
|
29
|
-
stiffness: 100
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
animations
|
|
34
|
-
};
|
|
1
|
+
import{createAnimations as s}from"@tamagui/animations-reanimated";const n=s({bouncy:{type:"spring",damping:9,mass:.9,stiffness:150},lazy:{type:"spring",damping:18,stiffness:50},slow:{type:"spring",damping:15,stiffness:40},quick:{type:"spring",damping:20,mass:1.2,stiffness:250},tooltip:{type:"spring",damping:10,mass:.9,stiffness:100}});export{n as animations};
|
|
35
2
|
//# sourceMappingURL=animations.reanimated.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.reanimated.ts"],
|
|
4
4
|
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-reanimated'\n\nexport const animations = createAnimations({\n bouncy: {\n type: 'spring',\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n type: 'spring',\n damping: 18,\n stiffness: 50,\n },\n slow: {\n type: 'spring',\n damping: 15,\n stiffness: 40,\n },\n quick: {\n type: 'spring',\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n type: 'spring',\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,oBAAAA,MAAwB,iCAE1B,MAAMC,EAAaD,EAAiB,CACzC,OAAQ,CACN,KAAM,SACN,QAAS,EACT,KAAM,GACN,UAAW,GACb,EACA,KAAM,CACJ,KAAM,SACN,QAAS,GACT,UAAW,EACb,EACA,KAAM,CACJ,KAAM,SACN,QAAS,GACT,UAAW,EACb,EACA,MAAO,CACL,KAAM,SACN,QAAS,GACT,KAAM,IACN,UAAW,GACb,EACA,QAAS,CACP,KAAM,SACN,QAAS,GACT,KAAM,GACN,UAAW,GACb,CACF,CAAC",
|
|
6
|
+
"names": ["createAnimations", "animations"]
|
|
7
7
|
}
|
|
@@ -1,35 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const animations = createAnimations({
|
|
3
|
-
bouncy: {
|
|
4
|
-
type: "spring",
|
|
5
|
-
damping: 9,
|
|
6
|
-
mass: 0.9,
|
|
7
|
-
stiffness: 150
|
|
8
|
-
},
|
|
9
|
-
lazy: {
|
|
10
|
-
type: "spring",
|
|
11
|
-
damping: 18,
|
|
12
|
-
stiffness: 50
|
|
13
|
-
},
|
|
14
|
-
slow: {
|
|
15
|
-
type: "spring",
|
|
16
|
-
damping: 15,
|
|
17
|
-
stiffness: 40
|
|
18
|
-
},
|
|
19
|
-
quick: {
|
|
20
|
-
type: "spring",
|
|
21
|
-
damping: 20,
|
|
22
|
-
mass: 1.2,
|
|
23
|
-
stiffness: 250
|
|
24
|
-
},
|
|
25
|
-
tooltip: {
|
|
26
|
-
type: "spring",
|
|
27
|
-
damping: 10,
|
|
28
|
-
mass: 0.9,
|
|
29
|
-
stiffness: 100
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
animations
|
|
34
|
-
};
|
|
1
|
+
import{createAnimations as s}from"@tamagui/animations-reanimated";const n=s({bouncy:{type:"spring",damping:9,mass:.9,stiffness:150},lazy:{type:"spring",damping:18,stiffness:50},slow:{type:"spring",damping:15,stiffness:40},quick:{type:"spring",damping:20,mass:1.2,stiffness:250},tooltip:{type:"spring",damping:10,mass:.9,stiffness:100}});export{n as animations};
|
|
35
2
|
//# sourceMappingURL=animations.reanimated.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/animations.reanimated.ts"],
|
|
4
4
|
"sourcesContent": ["import { createAnimations } from '@tamagui/animations-reanimated'\n\nexport const animations = createAnimations({\n bouncy: {\n type: 'spring',\n damping: 9,\n mass: 0.9,\n stiffness: 150,\n },\n lazy: {\n type: 'spring',\n damping: 18,\n stiffness: 50,\n },\n slow: {\n type: 'spring',\n damping: 15,\n stiffness: 40,\n },\n quick: {\n type: 'spring',\n damping: 20,\n mass: 1.2,\n stiffness: 250,\n },\n tooltip: {\n type: 'spring',\n damping: 10,\n mass: 0.9,\n stiffness: 100,\n },\n})\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,oBAAAA,MAAwB,iCAE1B,MAAMC,EAAaD,EAAiB,CACzC,OAAQ,CACN,KAAM,SACN,QAAS,EACT,KAAM,GACN,UAAW,GACb,EACA,KAAM,CACJ,KAAM,SACN,QAAS,GACT,UAAW,EACb,EACA,KAAM,CACJ,KAAM,SACN,QAAS,GACT,UAAW,EACb,EACA,MAAO,CACL,KAAM,SACN,QAAS,GACT,KAAM,IACN,UAAW,GACb,EACA,QAAS,CACP,KAAM,SACN,QAAS,GACT,KAAM,GACN,UAAW,GACb,CACF,CAAC",
|
|
6
|
+
"names": ["createAnimations", "animations"]
|
|
7
7
|
}
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const 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, font = {}, {
|
|
21
|
-
sizeLineHeight = (val) => val * 1.35
|
|
22
|
-
} = {}) {
|
|
23
|
-
const size = font.size || genericFontSizes;
|
|
24
|
-
return createFont({
|
|
25
|
-
family,
|
|
26
|
-
size,
|
|
27
|
-
lineHeight: Object.fromEntries(
|
|
28
|
-
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])
|
|
29
|
-
),
|
|
30
|
-
weight: { 0: "300" },
|
|
31
|
-
letterSpacing: { 4: 0 },
|
|
32
|
-
...font
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
createGenericFont
|
|
37
|
-
};
|
|
1
|
+
import{createFont as s}from"@tamagui/web";const c={1:10,2:11,3:12,4:14,5:15,6:16,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124};function m(n,t={},{sizeLineHeight:i=e=>e*1.35}={}){const e=t.size||c;return s({family:n,size:e,lineHeight:Object.fromEntries(Object.entries(e).map(([r,o])=>[r,i(+o)])),weight:{0:"300"},letterSpacing:{4:0},...t})}export{m as createGenericFont};
|
|
38
2
|
//# sourceMappingURL=createGenericFont.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/createGenericFont.ts"],
|
|
4
4
|
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/web'\n\nconst genericFontSizes = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n} as const\n\nexport function createGenericFont<A extends GenericFont<keyof typeof genericFontSizes>>(\n family: string,\n font: Partial<A> = {},\n {\n sizeLineHeight = (val) => val * 1.35,\n }: {\n sizeLineHeight?: (val: number) => number\n } = {}\n): A {\n const size = font.size || genericFontSizes\n return createFont({\n family,\n size,\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])\n ) as typeof size,\n weight: { 0: '300' },\n letterSpacing: { 4: 0 },\n ...(font as any),\n })\n}\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAsB,cAAAA,MAAkB,eAExC,MAAMC,EAAmB,CACvB,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,IACJ,GAAI,GACN,EAEO,SAASC,EACdC,EACAC,EAAmB,CAAC,EACpB,CACE,eAAAC,EAAkBC,GAAQA,EAAM,IAClC,EAEI,CAAC,EACF,CACH,MAAMC,EAAOH,EAAK,MAAQH,EAC1B,OAAOD,EAAW,CAChB,OAAAG,EACA,KAAAI,EACA,WAAY,OAAO,YACjB,OAAO,QAAQA,CAAI,EAAE,IAAI,CAAC,CAACC,EAAGC,CAAC,IAAM,CAACD,EAAGH,EAAe,CAACI,CAAC,CAAC,CAAC,CAC9D,EACA,OAAQ,CAAE,EAAG,KAAM,EACnB,cAAe,CAAE,EAAG,CAAE,EACtB,GAAIL,CACN,CAAC,CACH",
|
|
6
|
+
"names": ["createFont", "genericFontSizes", "createGenericFont", "family", "font", "sizeLineHeight", "val", "size", "k", "v"]
|
|
7
7
|
}
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const 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, font = {}, {
|
|
21
|
-
sizeLineHeight = (val) => val * 1.35
|
|
22
|
-
} = {}) {
|
|
23
|
-
const size = font.size || genericFontSizes;
|
|
24
|
-
return createFont({
|
|
25
|
-
family,
|
|
26
|
-
size,
|
|
27
|
-
lineHeight: Object.fromEntries(
|
|
28
|
-
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])
|
|
29
|
-
),
|
|
30
|
-
weight: { 0: "300" },
|
|
31
|
-
letterSpacing: { 4: 0 },
|
|
32
|
-
...font
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
createGenericFont
|
|
37
|
-
};
|
|
1
|
+
import{createFont as s}from"@tamagui/web";const c={1:10,2:11,3:12,4:14,5:15,6:16,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124};function m(n,t={},{sizeLineHeight:i=e=>e*1.35}={}){const e=t.size||c;return s({family:n,size:e,lineHeight:Object.fromEntries(Object.entries(e).map(([r,o])=>[r,i(+o)])),weight:{0:"300"},letterSpacing:{4:0},...t})}export{m as createGenericFont};
|
|
38
2
|
//# sourceMappingURL=createGenericFont.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/createGenericFont.ts"],
|
|
4
4
|
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/web'\n\nconst genericFontSizes = {\n 1: 10,\n 2: 11,\n 3: 12,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n} as const\n\nexport function createGenericFont<A extends GenericFont<keyof typeof genericFontSizes>>(\n family: string,\n font: Partial<A> = {},\n {\n sizeLineHeight = (val) => val * 1.35,\n }: {\n sizeLineHeight?: (val: number) => number\n } = {}\n): A {\n const size = font.size || genericFontSizes\n return createFont({\n family,\n size,\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])\n ) as typeof size,\n weight: { 0: '300' },\n letterSpacing: { 4: 0 },\n ...(font as any),\n })\n}\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAsB,cAAAA,MAAkB,eAExC,MAAMC,EAAmB,CACvB,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,IACJ,GAAI,GACN,EAEO,SAASC,EACdC,EACAC,EAAmB,CAAC,EACpB,CACE,eAAAC,EAAkBC,GAAQA,EAAM,IAClC,EAEI,CAAC,EACF,CACH,MAAMC,EAAOH,EAAK,MAAQH,EAC1B,OAAOD,EAAW,CAChB,OAAAG,EACA,KAAAI,EACA,WAAY,OAAO,YACjB,OAAO,QAAQA,CAAI,EAAE,IAAI,CAAC,CAACC,EAAGC,CAAC,IAAM,CAACD,EAAGH,EAAe,CAACI,CAAC,CAAC,CAAC,CAC9D,EACA,OAAQ,CAAE,EAAG,KAAM,EACnB,cAAe,CAAE,EAAG,CAAE,EACtB,GAAIL,CACN,CAAC,CACH",
|
|
6
|
+
"names": ["createFont", "genericFontSizes", "createGenericFont", "family", "font", "sizeLineHeight", "val", "size", "k", "v"]
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx"],
|
|
4
4
|
"sourcesContent": ["export * from './tamagui.config'\nexport * from './media'\nexport * from './createGenericFont'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,mBACd,WAAc,UACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.mjs
CHANGED
package/dist/esm/index.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx"],
|
|
4
4
|
"sourcesContent": ["export * from './tamagui.config'\nexport * from './media'\nexport * from './createGenericFont'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,mBACd,WAAc,UACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/media.js
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const demoMedia = [500, 620, 780, 900];
|
|
3
|
-
const widths = [660, 800, 1020, 1280];
|
|
4
|
-
const media = createMedia({
|
|
5
|
-
// for site
|
|
6
|
-
xl: { maxWidth: 1650 },
|
|
7
|
-
lg: { maxWidth: 1280 },
|
|
8
|
-
md: { maxWidth: 1020 },
|
|
9
|
-
sm: { maxWidth: 800 },
|
|
10
|
-
xs: { maxWidth: 660 },
|
|
11
|
-
xxs: { maxWidth: 390 },
|
|
12
|
-
gtXs: { minWidth: 660 + 1 },
|
|
13
|
-
gtSm: { minWidth: 800 + 1 },
|
|
14
|
-
gtMd: { minWidth: 1020 + 1 },
|
|
15
|
-
gtLg: { minWidth: 1280 + 1 },
|
|
16
|
-
gtXl: { minWidth: 1650 + 1 }
|
|
17
|
-
});
|
|
18
|
-
const mediaQueryDefaultActive = {
|
|
19
|
-
xl: true,
|
|
20
|
-
lg: true,
|
|
21
|
-
md: true,
|
|
22
|
-
sm: true,
|
|
23
|
-
xs: true,
|
|
24
|
-
// false
|
|
25
|
-
xxs: false
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
demoMedia,
|
|
29
|
-
media,
|
|
30
|
-
mediaQueryDefaultActive,
|
|
31
|
-
widths
|
|
32
|
-
};
|
|
1
|
+
import{createMedia as t}from"@tamagui/react-native-media-driver";const m=[500,620,780,900],d=[660,800,1020,1280],e=t({xl:{maxWidth:1650},lg:{maxWidth:1280},md:{maxWidth:1020},sm:{maxWidth:800},xs:{maxWidth:660},xxs:{maxWidth:390},gtXs:{minWidth:660+1},gtSm:{minWidth:800+1},gtMd:{minWidth:1020+1},gtLg:{minWidth:1280+1},gtXl:{minWidth:1650+1}}),x={xl:!0,lg:!0,md:!0,sm:!0,xs:!0,xxs:!1};export{m as demoMedia,e as media,x as mediaQueryDefaultActive,d as widths};
|
|
33
2
|
//# sourceMappingURL=media.js.map
|
package/dist/esm/media.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/media.ts"],
|
|
4
4
|
"sourcesContent": ["import { createMedia } from '@tamagui/react-native-media-driver'\n\nexport const demoMedia = [500, 620, 780, 900]\nexport const widths = [660, 800, 1020, 1280]\n\n// note order is important!\n// earlier defined = less important\n\nexport const media = createMedia({\n // for site\n xl: { maxWidth: 1650 },\n lg: { maxWidth: 1280 },\n md: { maxWidth: 1020 },\n sm: { maxWidth: 800 },\n xs: { maxWidth: 660 },\n xxs: { maxWidth: 390 },\n gtXs: { minWidth: 660 + 1 },\n gtSm: { minWidth: 800 + 1 },\n gtMd: { minWidth: 1020 + 1 },\n gtLg: { minWidth: 1280 + 1 },\n gtXl: { minWidth: 1650 + 1 },\n})\n\n// note all the non \"gt\" ones should be true to start to match mobile-first\n// were aiming for \"xs\" to be the default to \"gtXs\" true too\nexport const mediaQueryDefaultActive = {\n xl: true,\n lg: true,\n md: true,\n sm: true,\n xs: true,\n // false\n xxs: false,\n}\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,eAAAA,MAAmB,qCAErB,MAAMC,EAAY,CAAC,IAAK,IAAK,IAAK,GAAG,EAC/BC,EAAS,CAAC,IAAK,IAAK,KAAM,IAAI,EAK9BC,EAAQH,EAAY,CAE/B,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,GAAI,EACpB,GAAI,CAAE,SAAU,GAAI,EACpB,IAAK,CAAE,SAAU,GAAI,EACrB,KAAM,CAAE,SAAU,IAAM,CAAE,EAC1B,KAAM,CAAE,SAAU,IAAM,CAAE,EAC1B,KAAM,CAAE,SAAU,KAAO,CAAE,EAC3B,KAAM,CAAE,SAAU,KAAO,CAAE,EAC3B,KAAM,CAAE,SAAU,KAAO,CAAE,CAC7B,CAAC,EAIYI,EAA0B,CACrC,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GAEJ,IAAK,EACP",
|
|
6
|
+
"names": ["createMedia", "demoMedia", "widths", "media", "mediaQueryDefaultActive"]
|
|
7
7
|
}
|
package/dist/esm/media.mjs
CHANGED
|
@@ -1,33 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
const demoMedia = [500, 620, 780, 900];
|
|
3
|
-
const widths = [660, 800, 1020, 1280];
|
|
4
|
-
const media = createMedia({
|
|
5
|
-
// for site
|
|
6
|
-
xl: { maxWidth: 1650 },
|
|
7
|
-
lg: { maxWidth: 1280 },
|
|
8
|
-
md: { maxWidth: 1020 },
|
|
9
|
-
sm: { maxWidth: 800 },
|
|
10
|
-
xs: { maxWidth: 660 },
|
|
11
|
-
xxs: { maxWidth: 390 },
|
|
12
|
-
gtXs: { minWidth: 660 + 1 },
|
|
13
|
-
gtSm: { minWidth: 800 + 1 },
|
|
14
|
-
gtMd: { minWidth: 1020 + 1 },
|
|
15
|
-
gtLg: { minWidth: 1280 + 1 },
|
|
16
|
-
gtXl: { minWidth: 1650 + 1 }
|
|
17
|
-
});
|
|
18
|
-
const mediaQueryDefaultActive = {
|
|
19
|
-
xl: true,
|
|
20
|
-
lg: true,
|
|
21
|
-
md: true,
|
|
22
|
-
sm: true,
|
|
23
|
-
xs: true,
|
|
24
|
-
// false
|
|
25
|
-
xxs: false
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
demoMedia,
|
|
29
|
-
media,
|
|
30
|
-
mediaQueryDefaultActive,
|
|
31
|
-
widths
|
|
32
|
-
};
|
|
1
|
+
import{createMedia as t}from"@tamagui/react-native-media-driver";const m=[500,620,780,900],d=[660,800,1020,1280],e=t({xl:{maxWidth:1650},lg:{maxWidth:1280},md:{maxWidth:1020},sm:{maxWidth:800},xs:{maxWidth:660},xxs:{maxWidth:390},gtXs:{minWidth:660+1},gtSm:{minWidth:800+1},gtMd:{minWidth:1020+1},gtLg:{minWidth:1280+1},gtXl:{minWidth:1650+1}}),x={xl:!0,lg:!0,md:!0,sm:!0,xs:!0,xxs:!1};export{m as demoMedia,e as media,x as mediaQueryDefaultActive,d as widths};
|
|
33
2
|
//# sourceMappingURL=media.mjs.map
|
package/dist/esm/media.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/media.ts"],
|
|
4
4
|
"sourcesContent": ["import { createMedia } from '@tamagui/react-native-media-driver'\n\nexport const demoMedia = [500, 620, 780, 900]\nexport const widths = [660, 800, 1020, 1280]\n\n// note order is important!\n// earlier defined = less important\n\nexport const media = createMedia({\n // for site\n xl: { maxWidth: 1650 },\n lg: { maxWidth: 1280 },\n md: { maxWidth: 1020 },\n sm: { maxWidth: 800 },\n xs: { maxWidth: 660 },\n xxs: { maxWidth: 390 },\n gtXs: { minWidth: 660 + 1 },\n gtSm: { minWidth: 800 + 1 },\n gtMd: { minWidth: 1020 + 1 },\n gtLg: { minWidth: 1280 + 1 },\n gtXl: { minWidth: 1650 + 1 },\n})\n\n// note all the non \"gt\" ones should be true to start to match mobile-first\n// were aiming for \"xs\" to be the default to \"gtXs\" true too\nexport const mediaQueryDefaultActive = {\n xl: true,\n lg: true,\n md: true,\n sm: true,\n xs: true,\n // false\n xxs: false,\n}\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,eAAAA,MAAmB,qCAErB,MAAMC,EAAY,CAAC,IAAK,IAAK,IAAK,GAAG,EAC/BC,EAAS,CAAC,IAAK,IAAK,KAAM,IAAI,EAK9BC,EAAQH,EAAY,CAE/B,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,IAAK,EACrB,GAAI,CAAE,SAAU,GAAI,EACpB,GAAI,CAAE,SAAU,GAAI,EACpB,IAAK,CAAE,SAAU,GAAI,EACrB,KAAM,CAAE,SAAU,IAAM,CAAE,EAC1B,KAAM,CAAE,SAAU,IAAM,CAAE,EAC1B,KAAM,CAAE,SAAU,KAAO,CAAE,EAC3B,KAAM,CAAE,SAAU,KAAO,CAAE,EAC3B,KAAM,CAAE,SAAU,KAAO,CAAE,CAC7B,CAAC,EAIYI,EAA0B,CACrC,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GAEJ,IAAK,EACP",
|
|
6
|
+
"names": ["createMedia", "demoMedia", "widths", "media", "mediaQueryDefaultActive"]
|
|
7
7
|
}
|
|
@@ -1,113 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { createSilkscreenFont } from "@tamagui/font-silkscreen";
|
|
3
|
-
import { shorthands } from "@tamagui/shorthands";
|
|
4
|
-
import { themes, tokens } from "@tamagui/themes";
|
|
5
|
-
import { animations } from "./animations";
|
|
6
|
-
import { createGenericFont } from "./createGenericFont";
|
|
7
|
-
import { media, mediaQueryDefaultActive } from "./media";
|
|
8
|
-
export * from "./animations";
|
|
9
|
-
const systemFamily = process.env.TAMAGUI_TARGET === "native" ? "Inter" : '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"';
|
|
10
|
-
const silkscreenFont = createSilkscreenFont();
|
|
11
|
-
const headingFont = createInterFont(
|
|
12
|
-
{
|
|
13
|
-
size: {
|
|
14
|
-
5: 13,
|
|
15
|
-
6: 15,
|
|
16
|
-
9: 32,
|
|
17
|
-
10: 44
|
|
18
|
-
},
|
|
19
|
-
transform: {
|
|
20
|
-
6: "uppercase",
|
|
21
|
-
7: "none"
|
|
22
|
-
},
|
|
23
|
-
weight: {
|
|
24
|
-
6: "400",
|
|
25
|
-
7: "700"
|
|
26
|
-
},
|
|
27
|
-
color: {
|
|
28
|
-
6: "$colorFocus",
|
|
29
|
-
7: "$color"
|
|
30
|
-
},
|
|
31
|
-
letterSpacing: {
|
|
32
|
-
5: 2,
|
|
33
|
-
6: 1,
|
|
34
|
-
7: 0,
|
|
35
|
-
8: 0,
|
|
36
|
-
9: -1,
|
|
37
|
-
10: -1.5,
|
|
38
|
-
12: -2,
|
|
39
|
-
14: -3,
|
|
40
|
-
15: -4
|
|
41
|
-
},
|
|
42
|
-
// for native
|
|
43
|
-
face: {
|
|
44
|
-
700: { normal: "InterBold" },
|
|
45
|
-
800: { normal: "InterBold" },
|
|
46
|
-
900: { normal: "InterBold" }
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{ sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
|
|
50
|
-
);
|
|
51
|
-
const bodyFont = createInterFont(
|
|
52
|
-
{
|
|
53
|
-
family: systemFamily,
|
|
54
|
-
weight: {
|
|
55
|
-
1: "500",
|
|
56
|
-
7: "600"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
sizeSize: (size) => Math.round(size),
|
|
61
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
const monoFont = createGenericFont(
|
|
65
|
-
`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`,
|
|
66
|
-
{
|
|
67
|
-
weight: {
|
|
68
|
-
1: "500"
|
|
69
|
-
},
|
|
70
|
-
size: {
|
|
71
|
-
1: 11,
|
|
72
|
-
2: 12,
|
|
73
|
-
3: 13,
|
|
74
|
-
4: 14,
|
|
75
|
-
5: 16,
|
|
76
|
-
6: 18,
|
|
77
|
-
7: 20,
|
|
78
|
-
8: 22,
|
|
79
|
-
9: 30,
|
|
80
|
-
10: 42,
|
|
81
|
-
11: 52,
|
|
82
|
-
12: 62,
|
|
83
|
-
13: 72,
|
|
84
|
-
14: 92,
|
|
85
|
-
15: 114,
|
|
86
|
-
16: 124
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
sizeLineHeight: (x) => x * 1.5
|
|
91
|
-
}
|
|
92
|
-
);
|
|
93
|
-
const config = {
|
|
94
|
-
shouldAddPrefersColorThemes: true,
|
|
95
|
-
themeClassNameOnRoot: true,
|
|
96
|
-
animations,
|
|
97
|
-
themes,
|
|
98
|
-
media,
|
|
99
|
-
shorthands,
|
|
100
|
-
tokens,
|
|
101
|
-
fonts: {
|
|
102
|
-
// noto: notoFont as any,
|
|
103
|
-
heading: headingFont,
|
|
104
|
-
body: bodyFont,
|
|
105
|
-
mono: monoFont,
|
|
106
|
-
silkscreen: silkscreenFont
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
config.mediaQueryDefaultActive = mediaQueryDefaultActive;
|
|
110
|
-
export {
|
|
111
|
-
config
|
|
112
|
-
};
|
|
1
|
+
import{createInterFont as e}from"@tamagui/font-inter";import{createSilkscreenFont as t}from"@tamagui/font-silkscreen";import{shorthands as n}from"@tamagui/shorthands";import{themes as r,tokens as i}from"@tamagui/themes";import{animations as s}from"./animations";import{createGenericFont as m}from"./createGenericFont";import{media as a,mediaQueryDefaultActive as l}from"./media";export*from"./animations";const c=process.env.TAMAGUI_TARGET==="native"?"Inter":'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',p=t(),d=e({size:{5:13,6:15,9:32,10:44},transform:{6:"uppercase",7:"none"},weight:{6:"400",7:"700"},color:{6:"$colorFocus",7:"$color"},letterSpacing:{5:2,6:1,7:0,8:0,9:-1,10:-1.5,12:-2,14:-3,15:-4},face:{700:{normal:"InterBold"},800:{normal:"InterBold"},900:{normal:"InterBold"}}},{sizeLineHeight:o=>Math.round(o*1.1+(o<30?10:5))}),f=e({family:c,weight:{1:"500",7:"600"}},{sizeSize:o=>Math.round(o),sizeLineHeight:o=>Math.round(o*1.1+(o>=12?8:4))}),h=m('"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',{weight:{1:"500"},size:{1:11,2:12,3:13,4:14,5:16,6:18,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124}},{sizeLineHeight:o=>o*1.5}),g={shouldAddPrefersColorThemes:!0,themeClassNameOnRoot:!0,animations:s,themes:r,media:a,shorthands:n,tokens:i,fonts:{heading:d,body:f,mono:h,silkscreen:p}};g.mediaQueryDefaultActive=l;export{g as config};
|
|
113
2
|
//# sourceMappingURL=tamagui.config.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tamagui.config.ts"],
|
|
4
4
|
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/themes'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media, mediaQueryDefaultActive } from './media'\n\nexport * from './animations'\n\nconst systemFamily =\n process.env.TAMAGUI_TARGET === 'native'\n ? 'Inter'\n : '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont(\n {\n size: {\n 5: 13,\n 6: 15,\n 9: 32,\n 10: 44,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1.5,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n // for native\n face: {\n 700: { normal: 'InterBold' },\n 800: { normal: 'InterBold' },\n 900: { normal: 'InterBold' },\n },\n },\n { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }\n)\n\nconst bodyFont = createInterFont(\n {\n family: systemFamily,\n weight: {\n 1: '500',\n 7: '600',\n },\n },\n {\n sizeSize: (size) => Math.round(size),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4)),\n }\n)\n\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`,\n {\n weight: {\n 1: '500',\n },\n size: {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\n 7: 20,\n 8: 22,\n 9: 30,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124,\n },\n },\n {\n sizeLineHeight: (x) => x * 1.5,\n }\n)\n\nexport const config = {\n shouldAddPrefersColorThemes: true,\n themeClassNameOnRoot: true,\n animations,\n themes,\n media,\n shorthands,\n tokens,\n fonts: {\n // noto: notoFont as any,\n heading: headingFont,\n body: bodyFont,\n mono: monoFont,\n silkscreen: silkscreenFont,\n },\n}\n\n// @ts-ignore bad types\nconfig.mediaQueryDefaultActive = mediaQueryDefaultActive\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,mBAAAA,MAAuB,sBAChC,OAAS,wBAAAC,MAA4B,2BACrC,OAAS,cAAAC,MAAkB,sBAC3B,OAAS,UAAAC,EAAQ,UAAAC,MAAc,kBAE/B,OAAS,cAAAC,MAAkB,eAC3B,OAAS,qBAAAC,MAAyB,sBAClC,OAAS,SAAAC,EAAO,2BAAAC,MAA+B,UAE/C,WAAc,eAEd,MAAMC,EACJ,QAAQ,IAAI,iBAAmB,SAC3B,QACA,gJAEAC,EAAiBT,EAAqB,EACtCU,EAAcX,EAClB,CACE,KAAM,CACJ,EAAG,GACH,EAAG,GACH,EAAG,GACH,GAAI,EACN,EACA,UAAW,CACT,EAAG,YACH,EAAG,MACL,EACA,OAAQ,CACN,EAAG,MACH,EAAG,KACL,EACA,MAAO,CACL,EAAG,cACH,EAAG,QACL,EACA,cAAe,CACb,EAAG,EACH,EAAG,EACH,EAAG,EACH,EAAG,EACH,EAAG,GACH,GAAI,KACJ,GAAI,GACJ,GAAI,GACJ,GAAI,EACN,EAEA,KAAM,CACJ,IAAK,CAAE,OAAQ,WAAY,EAC3B,IAAK,CAAE,OAAQ,WAAY,EAC3B,IAAK,CAAE,OAAQ,WAAY,CAC7B,CACF,EACA,CAAE,eAAiBY,GAAS,KAAK,MAAMA,EAAO,KAAOA,EAAO,GAAK,GAAK,EAAE,CAAE,CAC5E,EAEMC,EAAWb,EACf,CACE,OAAQS,EACR,OAAQ,CACN,EAAG,MACH,EAAG,KACL,CACF,EACA,CACE,SAAWG,GAAS,KAAK,MAAMA,CAAI,EACnC,eAAiBA,GAAS,KAAK,MAAMA,EAAO,KAAOA,GAAQ,GAAK,EAAI,EAAE,CACxE,CACF,EAEME,EAAWR,EACf,6FACA,CACE,OAAQ,CACN,EAAG,KACL,EACA,KAAM,CACJ,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,EAAG,GACH,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,GACJ,GAAI,IACJ,GAAI,GACN,CACF,EACA,CACE,eAAiBS,GAAMA,EAAI,GAC7B,CACF,EAEaC,EAAS,CACpB,4BAA6B,GAC7B,qBAAsB,GACtB,WAAAX,EACA,OAAAF,EACA,MAAAI,EACA,WAAAL,EACA,OAAAE,EACA,MAAO,CAEL,QAASO,EACT,KAAME,EACN,KAAMC,EACN,WAAYJ,CACd,CACF,EAGAM,EAAO,wBAA0BR",
|
|
6
|
+
"names": ["createInterFont", "createSilkscreenFont", "shorthands", "themes", "tokens", "animations", "createGenericFont", "media", "mediaQueryDefaultActive", "systemFamily", "silkscreenFont", "headingFont", "size", "bodyFont", "monoFont", "x", "config"]
|
|
7
7
|
}
|