@tamagui/font-inter
Advanced tools
Comparing version 1.0.0-beta.0.211 to 1.0.0-beta.1
@@ -47,3 +47,3 @@ var __defProp = Object.defineProperty; | ||
} = {}) => { | ||
const size = Object.fromEntries(Object.entries(__spreadValues(__spreadValues({}, defaultSizes), font.size)).map(([k, v]) => [k, sizeSize(v)])); | ||
const size = Object.fromEntries(Object.entries(__spreadValues(__spreadValues({}, defaultSizes), font.size)).map(([k, v]) => [k, sizeSize(+v)])); | ||
return (0, import_core.createFont)(__spreadProps(__spreadValues({ | ||
@@ -50,0 +50,0 @@ family: import_react_native.Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", |
@@ -12,3 +12,3 @@ var __defProp = Object.defineProperty; | ||
...font.size | ||
}).map(([k, v]) => [k, sizeSize(v)])); | ||
}).map(([k, v]) => [k, sizeSize(+v)])); | ||
return createFont({ | ||
@@ -15,0 +15,0 @@ family: Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", |
@@ -12,3 +12,3 @@ var __defProp = Object.defineProperty; | ||
...font.size | ||
}).map(([k, v]) => [k, sizeSize(v)])); | ||
}).map(([k, v]) => [k, sizeSize(+v)])); | ||
return createFont({ | ||
@@ -15,0 +15,0 @@ family: Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", |
{ | ||
"name": "@tamagui/font-inter", | ||
"version": "1.0.0-beta.0.211+a49cc7ea", | ||
"version": "1.0.0-beta.1", | ||
"typings": "types", | ||
@@ -21,4 +21,4 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.0-beta.0.211+a49cc7ea", | ||
"@tamagui/colors": "^1.0.0-beta.0.211+a49cc7ea" | ||
"@tamagui/build": "^1.0.0-beta.1", | ||
"@tamagui/colors": "^1.0.0-beta.1" | ||
}, | ||
@@ -25,0 +25,0 @@ "publishConfig": { |
@@ -1,25 +0,5 @@ | ||
import { GenericFont } from '@tamagui/core'; | ||
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, }?: { | ||
sizeLineHeight?: ((fontSize: number) => number) | undefined; | ||
sizeSize?: ((size: number) => number) | undefined; | ||
}) => GenericFont<keyof typeof defaultSizes>; | ||
declare const defaultSizes: { | ||
readonly 1: 11; | ||
readonly 2: 12; | ||
readonly 3: 13; | ||
readonly 4: 14; | ||
readonly 5: 17; | ||
readonly 6: 18; | ||
readonly 7: 20; | ||
readonly 8: 23; | ||
readonly 9: 30; | ||
readonly 10: 45; | ||
readonly 11: 58; | ||
readonly 12: 64; | ||
readonly 13: 72; | ||
readonly 14: 92; | ||
readonly 15: 114; | ||
readonly 16: 134; | ||
}; | ||
export {}; | ||
}) => GenericFont<11 | 12 | 13 | 14 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16>; | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
1195588
11
1
1669