@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.
Files changed (53) hide show
  1. package/css/100.css +1 -1
  2. package/css/200.css +1 -1
  3. package/css/300.css +1 -1
  4. package/css/400.css +1 -1
  5. package/css/500.css +1 -1
  6. package/css/600.css +1 -1
  7. package/css/700.css +1 -1
  8. package/css/800.css +1 -1
  9. package/css/900.css +1 -1
  10. package/dist/cjs/index.js +19 -29
  11. package/dist/cjs/index.js.map +2 -2
  12. package/dist/esm/index.js +14 -12
  13. package/dist/esm/index.js.map +2 -2
  14. package/dist/jsx/index.js +15 -12
  15. package/dist/jsx/index.js.map +7 -0
  16. package/otf/Inter-Black.otf +0 -0
  17. package/otf/Inter-BlackItalic.otf +0 -0
  18. package/otf/Inter-Bold.otf +0 -0
  19. package/otf/Inter-BoldItalic.otf +0 -0
  20. package/otf/Inter-ExtraBold.otf +0 -0
  21. package/otf/Inter-ExtraBoldItalic.otf +0 -0
  22. package/otf/Inter-ExtraLight.otf +0 -0
  23. package/otf/Inter-ExtraLightItalic.otf +0 -0
  24. package/otf/Inter-Italic.otf +0 -0
  25. package/otf/Inter-Light.otf +0 -0
  26. package/otf/Inter-LightItalic.otf +0 -0
  27. package/otf/Inter-Medium.otf +0 -0
  28. package/otf/Inter-MediumItalic.otf +0 -0
  29. package/otf/Inter-SemiBold.otf +0 -0
  30. package/otf/Inter-SemiBoldItalic.otf +0 -0
  31. package/otf/Inter-Thin.otf +0 -0
  32. package/otf/Inter-ThinItalic.otf +0 -0
  33. package/package.json +12 -4
  34. package/types/index.d.ts +2 -2
  35. package/woff2/Inter-Black.woff2 +0 -0
  36. package/woff2/Inter-BlackItalic.woff2 +0 -0
  37. package/woff2/Inter-Bold.woff2 +0 -0
  38. package/woff2/Inter-BoldItalic.woff2 +0 -0
  39. package/woff2/Inter-ExtraBold.woff2 +0 -0
  40. package/woff2/Inter-ExtraBoldItalic.woff2 +0 -0
  41. package/woff2/Inter-ExtraLight.woff2 +0 -0
  42. package/woff2/Inter-ExtraLightItalic.woff2 +0 -0
  43. package/woff2/Inter-Light.woff2 +0 -0
  44. package/woff2/Inter-LightItalic.woff2 +0 -0
  45. package/woff2/Inter-Medium.woff2 +0 -0
  46. package/woff2/Inter-MediumItalic.woff2 +0 -0
  47. package/woff2/Inter-Regular.woff2 +0 -0
  48. package/woff2/Inter-SemiBold.woff2 +0 -0
  49. package/woff2/Inter-SemiBoldItalic.woff2 +0 -0
  50. package/woff2/Inter-Thin.woff2 +0 -0
  51. package/woff2/Inter-ThinItalic.woff2 +0 -0
  52. package/ttf/Inter.ttf +0 -0
  53. 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.21",
4
- "typings": "types",
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
- "ttf"
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.21"
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 | 16>>(font?: { [Key in keyof Partial<A>]?: Partial<A[Key]> | undefined; }, { sizeLineHeight, sizeSize, }?: {
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: 17;
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
package/ttf/Inter.ttf DELETED
Binary file
@@ -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"}