@tamagui/font-inter 1.0.0-beta.217 → 1.0.0-beta.225
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/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/jsx/index.js +6 -6
- package/package.json +4 -4
package/dist/cjs/index.js
CHANGED
|
@@ -69,12 +69,12 @@ const createInterFont = /* @__PURE__ */ __name((font = {}) => {
|
|
|
69
69
|
7: 0,
|
|
70
70
|
8: -1,
|
|
71
71
|
9: -2,
|
|
72
|
-
10: -
|
|
73
|
-
11: -
|
|
74
|
-
12: -
|
|
75
|
-
13: -
|
|
76
|
-
14: -
|
|
77
|
-
15: -
|
|
72
|
+
10: -2,
|
|
73
|
+
11: -3,
|
|
74
|
+
12: -4,
|
|
75
|
+
13: -5,
|
|
76
|
+
14: -6,
|
|
77
|
+
15: -7
|
|
78
78
|
}
|
|
79
79
|
}, font));
|
|
80
80
|
}, "createInterFont");
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/core'\nimport { Platform } from 'react-native'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof size>>(\n font: Partial<A> = {}\n): A => {\n return createFont({\n family:\n Platform.OS == 'web'\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n size,\n lineHeight: {\n 1: 15,\n 2: 20,\n 3: 25,\n 4: 27,\n 5: 29,\n 6: 31,\n 7: 34,\n 8: 38,\n 9: 42,\n 10: 54,\n 11: 72,\n 12: 80,\n 13: 100,\n 14: 120,\n 15: 150,\n 16: 170,\n },\n weight: {\n 4: '300',\n 7: '600',\n 8: '700',\n },\n letterSpacing: {\n 4: 0,\n 7: 0,\n 8: -1,\n 9: -2,\n 10: -
|
|
4
|
+
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/core'\nimport { Platform } from 'react-native'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof size>>(\n font: Partial<A> = {}\n): A => {\n return createFont({\n family:\n Platform.OS == 'web'\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n size,\n lineHeight: {\n 1: 15,\n 2: 20,\n 3: 25,\n 4: 27,\n 5: 29,\n 6: 31,\n 7: 34,\n 8: 38,\n 9: 42,\n 10: 54,\n 11: 72,\n 12: 80,\n 13: 100,\n 14: 120,\n 15: 150,\n 16: 170,\n },\n weight: {\n 4: '300',\n 7: '600',\n 8: '700',\n },\n letterSpacing: {\n 4: 0,\n 7: 0,\n 8: -1,\n 9: -2,\n 10: -2,\n 11: -3,\n 12: -4,\n 13: -5,\n 14: -6,\n 15: -7,\n },\n ...(font as any),\n })\n}\n\nconst size = {\n 1: 10,\n 2: 12,\n 3: 14,\n 4: 15,\n 5: 16,\n 6: 17,\n 7: 21,\n 8: 25,\n 9: 30,\n 10: 45,\n 11: 58,\n 12: 68,\n 13: 82,\n 14: 102,\n 15: 124,\n 16: 144,\n} as const\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAwC;AACxC,0BAAyB;AAElB,MAAM,kBAAkB,wBAC7B,OAAmB,CAAC,MACd;AACN,SAAO,4BAAW;AAAA,IAChB,QACE,6BAAS,MAAM,QACX,0GACA;AAAA,IACN;AAAA,IACA,YAAY;AAAA,MACV,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,KACI,KACL;AACH,GA9C+B;AAgD/B,MAAM,OAAO;AAAA,EACX,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -34,12 +34,12 @@ const createInterFont = /* @__PURE__ */ __name((font = {}) => {
|
|
|
34
34
|
7: 0,
|
|
35
35
|
8: -1,
|
|
36
36
|
9: -2,
|
|
37
|
-
10: -
|
|
38
|
-
11: -
|
|
39
|
-
12: -
|
|
40
|
-
13: -
|
|
41
|
-
14: -
|
|
42
|
-
15: -
|
|
37
|
+
10: -2,
|
|
38
|
+
11: -3,
|
|
39
|
+
12: -4,
|
|
40
|
+
13: -5,
|
|
41
|
+
14: -6,
|
|
42
|
+
15: -7
|
|
43
43
|
},
|
|
44
44
|
...font
|
|
45
45
|
});
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/core'\nimport { Platform } from 'react-native'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof size>>(\n font: Partial<A> = {}\n): A => {\n return createFont({\n family:\n Platform.OS == 'web'\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n size,\n lineHeight: {\n 1: 15,\n 2: 20,\n 3: 25,\n 4: 27,\n 5: 29,\n 6: 31,\n 7: 34,\n 8: 38,\n 9: 42,\n 10: 54,\n 11: 72,\n 12: 80,\n 13: 100,\n 14: 120,\n 15: 150,\n 16: 170,\n },\n weight: {\n 4: '300',\n 7: '600',\n 8: '700',\n },\n letterSpacing: {\n 4: 0,\n 7: 0,\n 8: -1,\n 9: -2,\n 10: -
|
|
4
|
+
"sourcesContent": ["import { GenericFont, createFont } from '@tamagui/core'\nimport { Platform } from 'react-native'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof size>>(\n font: Partial<A> = {}\n): A => {\n return createFont({\n family:\n Platform.OS == 'web'\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n size,\n lineHeight: {\n 1: 15,\n 2: 20,\n 3: 25,\n 4: 27,\n 5: 29,\n 6: 31,\n 7: 34,\n 8: 38,\n 9: 42,\n 10: 54,\n 11: 72,\n 12: 80,\n 13: 100,\n 14: 120,\n 15: 150,\n 16: 170,\n },\n weight: {\n 4: '300',\n 7: '600',\n 8: '700',\n },\n letterSpacing: {\n 4: 0,\n 7: 0,\n 8: -1,\n 9: -2,\n 10: -2,\n 11: -3,\n 12: -4,\n 13: -5,\n 14: -6,\n 15: -7,\n },\n ...(font as any),\n })\n}\n\nconst size = {\n 1: 10,\n 2: 12,\n 3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"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -34,12 +34,12 @@ const createInterFont = /* @__PURE__ */ __name((font = {}) => {
|
|
|
34
34
|
7: 0,
|
|
35
35
|
8: -1,
|
|
36
36
|
9: -2,
|
|
37
|
-
10: -
|
|
38
|
-
11: -
|
|
39
|
-
12: -
|
|
40
|
-
13: -
|
|
41
|
-
14: -
|
|
42
|
-
15: -
|
|
37
|
+
10: -2,
|
|
38
|
+
11: -3,
|
|
39
|
+
12: -4,
|
|
40
|
+
13: -5,
|
|
41
|
+
14: -6,
|
|
42
|
+
15: -7
|
|
43
43
|
},
|
|
44
44
|
...font
|
|
45
45
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/font-inter",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.225+79278a33",
|
|
4
4
|
"typings": "types",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"clean:build": "tamagui-build clean:build"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tamagui/build": "^1.0.0-beta.
|
|
22
|
-
"@tamagui/colors": "^1.0.0-beta.
|
|
21
|
+
"@tamagui/build": "^1.0.0-beta.225+79278a33",
|
|
22
|
+
"@tamagui/colors": "^1.0.0-beta.225+79278a33"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "79278a336a83bc37b2fd40038ccbbfdfb4a565cd"
|
|
28
28
|
}
|