Comparing version 1.0.1 to 1.1.0-beta.1
144
font.d.ts
@@ -5,7 +5,12 @@ import { NextFontWithVariable } from "next/dist/compiled/@next/font"; | ||
/** | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* @deprecated - Import from `geist/font/sans` instead. | ||
* | ||
* Geist Sans variable font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
@@ -20,8 +25,57 @@ * | ||
export const GeistSans: NextFontWithVariable; | ||
/** | ||
* @deprecated - Import from `geist/font/sans-non-variable` instead. | ||
* | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
* @deprecated Use `GeistSans` instead | ||
*/ | ||
export const GeistSansNonVariable: NextFontWithVariable; | ||
/** | ||
* @deprecated - Import from `geist/font/mono` instead. | ||
* | ||
* Geist Mono variable font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900. | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistMono: NextFontWithVariable; | ||
/** | ||
* @deprecated - Import from `geist/font/mono-non-variable` instead. | ||
* | ||
* Geist Mono font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* Included weights: 100, 200, 300, 400, 500, 600, 700, 800, 900 | ||
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900. | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
@@ -35,3 +89,87 @@ * | ||
*/ | ||
export const GeistMonoNonVariable: NextFontWithVariable; | ||
} | ||
declare module "geist/font/mono" { | ||
/** | ||
* Geist Mono variable font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900. | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistMono: NextFontWithVariable; | ||
} | ||
declare module "geist/font/mono-non-variable" { | ||
/** | ||
* Geist Mono font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistMono`—approximately 30kb—is preferred in almost all cases. Use `GeistMonoNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900. | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistMonoNonVariable: NextFontWithVariable; | ||
} | ||
declare module "geist/font/sans" { | ||
/** | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900 | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistSans: NextFontWithVariable; | ||
} | ||
declare module "geist/font/sans-non-variable" { | ||
/** | ||
* Geist Sans font, with `className` and `variable` properties, | ||
* meant to be attached to DOM elements via `className` | ||
* | ||
* `GeistSans`—approximately 30kb—is preferred in almost all cases. Use `GeistSansNonVariable`—approximately | ||
* 300kb—if you need to support browsers that {@link https://caniuse.com/variable-fonts cannot display variable fonts} | ||
* | ||
* Included weights: 100 through 900. | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#app-router View App Router Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#with-tailwind-css View Tailwind Example} | ||
* | ||
* * {@link https://www.npmjs.com/package/geist?activeTab=readme#pages-router View Pages Router Example} | ||
* | ||
* * {@link https://github.com/vercel/geist-font/releases Download Font Files} | ||
*/ | ||
export const GeistSansNonVariable: NextFontWithVariable; | ||
} |
{ | ||
"name": "geist", | ||
"version": "1.0.1", | ||
"version": "1.1.0-beta.1", | ||
"description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.", | ||
@@ -32,2 +32,22 @@ "main": "./dist/font.js", | ||
"default": "./dist/index.d.ts" | ||
}, | ||
"./font/mono": { | ||
"import": "./dist/mono.js", | ||
"require": "./dist/mono.js", | ||
"default": "./dist/index.d.ts" | ||
}, | ||
"./font/mono-non-variable": { | ||
"import": "./dist/mono-non-variable.js", | ||
"require": "./dist/mono-non-variable.js", | ||
"default": "./dist/index.d.ts" | ||
}, | ||
"./font/sans": { | ||
"import": "./dist/sans.js", | ||
"require": "./dist/sans.js", | ||
"default": "./dist/index.d.ts" | ||
}, | ||
"./font/sans-non-variable": { | ||
"import": "./dist/sans-non-variable.js", | ||
"require": "./dist/sans-non-variable.js", | ||
"default": "./dist/index.d.ts" | ||
} | ||
@@ -34,0 +54,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
731066
34
432
1
1