@tamagui/font-inter
Advanced tools
Comparing version 1.0.0-beta.181 to 1.0.0-beta.193
@@ -49,3 +49,3 @@ var __defProp = Object.defineProperty; | ||
family: import_react_native.Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", | ||
lineHeight: Object.fromEntries(Object.entries(font.size || size).map(([k, v]) => [k, sizeLineHeight((0, import_core.getVariableValue)(v))])), | ||
lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight((0, import_core.getVariableValue)(v))])), | ||
weight: { | ||
@@ -52,0 +52,0 @@ 4: "300" |
@@ -14,3 +14,3 @@ var __defProp = Object.defineProperty; | ||
family: Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", | ||
lineHeight: Object.fromEntries(Object.entries(font.size || size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])), | ||
lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])), | ||
weight: { | ||
@@ -17,0 +17,0 @@ 4: "300" |
@@ -14,3 +14,3 @@ var __defProp = Object.defineProperty; | ||
family: Platform.OS == "web" ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter", | ||
lineHeight: Object.fromEntries(Object.entries(font.size || size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])), | ||
lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])), | ||
weight: { | ||
@@ -17,0 +17,0 @@ 4: "300" |
{ | ||
"name": "@tamagui/font-inter", | ||
"version": "1.0.0-beta.181+fff2a5b2", | ||
"version": "1.0.0-beta.193+14c13acd", | ||
"typings": "types", | ||
@@ -21,4 +21,4 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "^1.0.0-beta.181+fff2a5b2", | ||
"@tamagui/colors": "^1.0.0-beta.181+fff2a5b2" | ||
"@tamagui/build": "^1.0.0-beta.193+14c13acd", | ||
"@tamagui/colors": "^1.0.0-beta.193+14c13acd" | ||
}, | ||
@@ -28,3 +28,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "fff2a5b25ea3881d499e5376cd166f58556acaba" | ||
"gitHead": "14c13acd9143e76d975e7a6c311d4a5f3a00bced" | ||
} |
@@ -1,5 +0,4 @@ | ||
import { GenericFont } from '@tamagui/core'; | ||
export declare const createInterFont: <A extends GenericFont<12 | 13 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15>>(font?: Partial<A>, { sizeLineHeight, }?: { | ||
export declare const createInterFont: <A extends GenericFont<12 | 13 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15>>(font?: { [Key in keyof Partial<A>]?: Partial<A[Key]> | undefined; }, { sizeLineHeight, }?: { | ||
sizeLineHeight?: ((fontSize: number) => number) | undefined; | ||
}) => A; | ||
}) => GenericFont<12 | 13 | 14 | 16 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15>; | ||
//# 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
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
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
1195590
1665