@tamagui/font-inter 1.0.1-beta.150 → 1.0.1-beta.151
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/package.json +5 -3
- package/types/index.d.ts +1 -1
- package/ttf/Inter.ttf +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/font-inter",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.151",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tamagui-build",
|
|
16
|
+
"subset": "node -r esbuild-register subset.ts",
|
|
16
17
|
"watch": "tamagui-build --watch",
|
|
17
18
|
"lint": "eslint",
|
|
18
19
|
"lint:fix": "yarn lint --fix",
|
|
@@ -20,10 +21,11 @@
|
|
|
20
21
|
"clean:build": "tamagui-build clean:build"
|
|
21
22
|
},
|
|
22
23
|
"dependencies": {
|
|
23
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
24
|
+
"@tamagui/core": "^1.0.1-beta.151"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
27
|
+
"@tamagui/build": "^1.0.1-beta.151",
|
|
28
|
+
"subset-font": "^1.6.1"
|
|
27
29
|
},
|
|
28
30
|
"publishConfig": {
|
|
29
31
|
"access": "public"
|
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GenericFont } from '@tamagui/core';
|
|
2
|
-
export declare const createInterFont: <A extends GenericFont<11 | 12 | 13 | 14 | 16 |
|
|
2
|
+
export declare const createInterFont: <A extends GenericFont<1 | 11 | 12 | 13 | 14 | 16 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15>>(font?: Partial<A> extends infer T ? { [Key in keyof T]?: Partial<A[Key]> | undefined; } : never, { sizeLineHeight, sizeSize, }?: {
|
|
3
3
|
sizeLineHeight?: ((fontSize: number) => number) | undefined;
|
|
4
4
|
sizeSize?: ((size: number) => number) | undefined;
|
|
5
5
|
}) => GenericFont<keyof typeof defaultSizes>;
|
package/ttf/Inter.ttf
DELETED
|
Binary file
|