Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tamagui/font-inter

Package Overview
Dependencies
Maintainers
1
Versions
1136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/font-inter - npm Package Compare versions

Comparing version 1.0.0-beta.0.211 to 1.0.0-beta.1

2

dist/cjs/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc