@next/font
Advanced tools
Comparing version 13.4.4 to 13.4.7
@@ -1,2 +0,2 @@ | ||
declare type GoogleFontsMetadata = { | ||
type GoogleFontsMetadata = { | ||
[fontFamily: string]: { | ||
@@ -3,0 +3,0 @@ weights: string[]; |
@@ -1,2 +0,2 @@ | ||
declare type FontOptions = { | ||
type FontOptions = { | ||
fontFamily: string; | ||
@@ -3,0 +3,0 @@ weights: string[]; |
import type { CssVariable, Display, NextFont, NextFontWithVariable } from '../types'; | ||
declare type LocalFont<T extends CssVariable | undefined = undefined> = { | ||
type LocalFont<T extends CssVariable | undefined = undefined> = { | ||
src: string | Array<{ | ||
@@ -4,0 +4,0 @@ path: string; |
@@ -1,2 +0,2 @@ | ||
declare type FontOptions = { | ||
type FontOptions = { | ||
src: Array<{ | ||
@@ -3,0 +3,0 @@ path: string; |
@@ -1,4 +0,4 @@ | ||
export declare type CssVariable = `--${string}`; | ||
export declare type Display = 'auto' | 'block' | 'swap' | 'fallback' | 'optional'; | ||
export declare type NextFont = { | ||
export type CssVariable = `--${string}`; | ||
export type Display = 'auto' | 'block' | 'swap' | 'fallback' | 'optional'; | ||
export type NextFont = { | ||
className: string; | ||
@@ -11,4 +11,4 @@ style: { | ||
}; | ||
export declare type NextFontWithVariable = NextFont & { | ||
export type NextFontWithVariable = NextFont & { | ||
variable: string; | ||
}; |
{ | ||
"name": "@next/font", | ||
"version": "13.4.4", | ||
"version": "13.4.7", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "url": "vercel/next.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
2551254
57203