@tamagui/font-inter 1.14.9 → 1.15.0
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 +4 -4
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/font-inter",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.15.0",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"subset": "node -r esbuild-register subset.ts",
|
|
18
18
|
"watch": "tamagui-build --watch",
|
|
19
19
|
"lint": "../../node_modules/.bin/rome check src",
|
|
20
|
-
"lint:fix": "../../node_modules/.bin/rome check --apply
|
|
20
|
+
"lint:fix": "../../node_modules/.bin/rome check --apply src",
|
|
21
21
|
"clean": "tamagui-build clean",
|
|
22
22
|
"clean:build": "tamagui-build clean:build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@tamagui/core": "1.
|
|
25
|
+
"@tamagui/core": "1.15.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tamagui/build": "1.
|
|
28
|
+
"@tamagui/build": "1.15.0",
|
|
29
29
|
"subset-font": "^1.6.1"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
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
|
|
2
|
+
export declare const createInterFont: <A extends GenericFont = GenericFont<11 | 12 | 13 | 14 | 16 | 1 | 2 | 3 | 4 | "true" | 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
|
}) => A;
|