@tamagui/font-inter 1.0.1-beta.21 → 1.0.1-beta.210
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/css/100.css +1 -1
- package/css/200.css +1 -1
- package/css/300.css +1 -1
- package/css/400.css +1 -1
- package/css/500.css +1 -1
- package/css/600.css +1 -1
- package/css/700.css +1 -1
- package/css/800.css +1 -1
- package/css/900.css +1 -1
- package/dist/cjs/index.js +19 -29
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +14 -12
- package/dist/esm/index.js.map +2 -2
- package/dist/jsx/index.js +15 -12
- package/dist/jsx/index.js.map +7 -0
- package/otf/Inter-Black.otf +0 -0
- package/otf/Inter-BlackItalic.otf +0 -0
- package/otf/Inter-Bold.otf +0 -0
- package/otf/Inter-BoldItalic.otf +0 -0
- package/otf/Inter-ExtraBold.otf +0 -0
- package/otf/Inter-ExtraBoldItalic.otf +0 -0
- package/otf/Inter-ExtraLight.otf +0 -0
- package/otf/Inter-ExtraLightItalic.otf +0 -0
- package/otf/Inter-Italic.otf +0 -0
- package/otf/Inter-Light.otf +0 -0
- package/otf/Inter-LightItalic.otf +0 -0
- package/otf/Inter-Medium.otf +0 -0
- package/otf/Inter-MediumItalic.otf +0 -0
- package/otf/Inter-SemiBold.otf +0 -0
- package/otf/Inter-SemiBoldItalic.otf +0 -0
- package/otf/Inter-Thin.otf +0 -0
- package/otf/Inter-ThinItalic.otf +0 -0
- package/package.json +12 -4
- package/types/index.d.ts +2 -2
- package/woff2/Inter-Black.woff2 +0 -0
- package/woff2/Inter-BlackItalic.woff2 +0 -0
- package/woff2/Inter-Bold.woff2 +0 -0
- package/woff2/Inter-BoldItalic.woff2 +0 -0
- package/woff2/Inter-ExtraBold.woff2 +0 -0
- package/woff2/Inter-ExtraBoldItalic.woff2 +0 -0
- package/woff2/Inter-ExtraLight.woff2 +0 -0
- package/woff2/Inter-ExtraLightItalic.woff2 +0 -0
- package/woff2/Inter-Light.woff2 +0 -0
- package/woff2/Inter-LightItalic.woff2 +0 -0
- package/woff2/Inter-Medium.woff2 +0 -0
- package/woff2/Inter-MediumItalic.woff2 +0 -0
- package/woff2/Inter-Regular.woff2 +0 -0
- package/woff2/Inter-SemiBold.woff2 +0 -0
- package/woff2/Inter-SemiBoldItalic.woff2 +0 -0
- package/woff2/Inter-Thin.woff2 +0 -0
- package/woff2/Inter-ThinItalic.woff2 +0 -0
- package/ttf/Inter.ttf +0 -0
- package/types/index.d.ts.map +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/font-inter",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.1-beta.210",
|
|
4
|
+
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
7
7
|
"module:jsx": "dist/jsx",
|
|
@@ -9,16 +9,24 @@
|
|
|
9
9
|
"types",
|
|
10
10
|
"dist",
|
|
11
11
|
"css",
|
|
12
|
-
"
|
|
12
|
+
"otf",
|
|
13
|
+
"woff2"
|
|
13
14
|
],
|
|
14
15
|
"scripts": {
|
|
15
16
|
"build": "tamagui-build",
|
|
17
|
+
"subset": "node -r esbuild-register subset.ts",
|
|
16
18
|
"watch": "tamagui-build --watch",
|
|
19
|
+
"lint": "eslint",
|
|
20
|
+
"lint:fix": "yarn lint --fix",
|
|
17
21
|
"clean": "tamagui-build clean",
|
|
18
22
|
"clean:build": "tamagui-build clean:build"
|
|
19
23
|
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@tamagui/core": "^1.0.1-beta.210"
|
|
26
|
+
},
|
|
20
27
|
"devDependencies": {
|
|
21
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
28
|
+
"@tamagui/build": "^1.0.1-beta.210",
|
|
29
|
+
"subset-font": "^1.6.1"
|
|
22
30
|
},
|
|
23
31
|
"publishConfig": {
|
|
24
32
|
"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 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15
|
|
2
|
+
export declare const createInterFont: <A extends GenericFont<11 | 12 | 13 | 14 | 16 | 1 | 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>;
|
|
@@ -8,7 +8,7 @@ declare const defaultSizes: {
|
|
|
8
8
|
readonly 2: 12;
|
|
9
9
|
readonly 3: 13;
|
|
10
10
|
readonly 4: 14;
|
|
11
|
-
readonly 5:
|
|
11
|
+
readonly 5: 16;
|
|
12
12
|
readonly 6: 18;
|
|
13
13
|
readonly 7: 20;
|
|
14
14
|
readonly 8: 23;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ttf/Inter.ttf
DELETED
|
Binary file
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgC,MAAM,eAAe,CAAA;AAGzE,eAAO,MAAM,eAAe;iCAQI,MAAM,KAAK,MAAM;uBAC3B,MAAM,KAAK,MAAM;MAEpC,YAAY,MAAM,mBAAmB,CAyBvC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBR,CAAA"}
|