From 67a719c56ce36520091301d18ca61ee98cf3718e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20Born=C3=B6?= Date: Sat, 18 Feb 2023 07:44:37 +0100 Subject: [PATCH] Update next/font/google data (#46040) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm build && pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) --- packages/font/src/google/font-data.json | 85 ++++++++++++++++++- packages/font/src/google/index.ts | 107 +++++++++++++++++++++++- 2 files changed, 190 insertions(+), 2 deletions(-) diff --git a/packages/font/src/google/font-data.json b/packages/font/src/google/font-data.json index e526ccd0d4..212fdd2972 100644 --- a/packages/font/src/google/font-data.json +++ b/packages/font/src/google/font-data.json @@ -3592,6 +3592,11 @@ "styles": ["normal"], "subsets": ["latin", "latin-ext"] }, + "Gajraj One": { + "weights": ["400"], + "styles": ["normal"], + "subsets": ["devanagari", "latin", "latin-ext"] + }, "Galada": { "weights": ["400"], "styles": ["normal"], @@ -3799,6 +3804,11 @@ "styles": ["normal"], "subsets": ["devanagari", "latin", "latin-ext"] }, + "Gloock": { + "weights": ["400"], + "styles": ["normal"], + "subsets": ["cyrillic-ext", "latin", "latin-ext"] + }, "Gloria Hallelujah": { "weights": ["400"], "styles": ["normal"], @@ -5089,6 +5099,30 @@ "styles": ["normal"], "subsets": ["latin"] }, + "Labrada": { + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], + "styles": ["normal", "italic"], + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext", "vietnamese"] + }, "Lacquer": { "weights": ["400"], "styles": ["normal"], @@ -6441,6 +6475,11 @@ "styles": ["normal"], "subsets": ["latin", "latin-ext", "vietnamese"] }, + "Mynerve": { + "weights": ["400"], + "styles": ["normal"], + "subsets": ["greek", "latin", "latin-ext", "vietnamese"] + }, "Mystery Quest": { "weights": ["400"], "styles": ["normal"], @@ -9405,6 +9444,19 @@ "styles": ["normal", "italic"], "subsets": ["cyrillic", "cyrillic-ext", "latin", "vietnamese"] }, + "Phudu": { + "weights": ["300", "400", "500", "600", "700", "800", "900", "variable"], + "styles": ["normal"], + "axes": [ + { + "tag": "wght", + "min": 300, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"] + }, "Piazzolla": { "weights": [ "100", @@ -10760,6 +10812,37 @@ "styles": ["normal"], "subsets": ["latin", "latin-ext", "vietnamese"] }, + "Shantell Sans": { + "weights": ["300", "400", "500", "600", "700", "800", "variable"], + "styles": ["normal", "italic"], + "axes": [ + { + "tag": "BNCE", + "min": -100, + "max": 100, + "defaultValue": 0 + }, + { + "tag": "INFM", + "min": 0, + "max": 100, + "defaultValue": 0 + }, + { + "tag": "SPAC", + "min": 0, + "max": 100, + "defaultValue": 0 + }, + { + "tag": "wght", + "min": 300, + "max": 800, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"] + }, "Shanti": { "weights": ["400"], "styles": ["normal"], @@ -11930,7 +12013,7 @@ "Unica One": { "weights": ["400"], "styles": ["normal"], - "subsets": ["latin", "latin-ext"] + "subsets": ["latin", "latin-ext", "vietnamese"] }, "UnifrakturCook": { "weights": ["700"], diff --git a/packages/font/src/google/index.ts b/packages/font/src/google/index.ts index 53d7cb0bd4..11a882006d 100644 --- a/packages/font/src/google/index.ts +++ b/packages/font/src/google/index.ts @@ -6541,6 +6541,18 @@ export declare function Gafata< adjustFontFallback?: boolean subsets?: Array<'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Gajraj_One< + T extends CssVariable | undefined = undefined +>(options: { + weight: '400' | Array<'400'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'devanagari' | 'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Galada< T extends CssVariable | undefined = undefined >(options: { @@ -6894,6 +6906,18 @@ export declare function Glegoo< adjustFontFallback?: boolean subsets?: Array<'devanagari' | 'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Gloock< + T extends CssVariable | undefined = undefined +>(options: { + weight: '400' | Array<'400'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Gloria_Hallelujah< T extends CssVariable | undefined = undefined >(options: { @@ -9539,6 +9563,31 @@ export declare function La_Belle_Aurore< adjustFontFallback?: boolean subsets?: Array<'latin'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Labrada< + T extends CssVariable | undefined = undefined +>(options?: { + weight?: + | '100' + | '200' + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | '900' + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > + style?: 'normal' | 'italic' | Array<'normal' | 'italic'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Lacquer< T extends CssVariable | undefined = undefined >(options: { @@ -12060,6 +12109,18 @@ export declare function My_Soul< adjustFontFallback?: boolean subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Mynerve< + T extends CssVariable | undefined = undefined +>(options: { + weight: '400' | Array<'400'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'greek' | 'latin' | 'latin-ext' | 'vietnamese'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Mystery_Quest< T extends CssVariable | undefined = undefined >(options: { @@ -16681,6 +16742,27 @@ export declare function Philosopher< adjustFontFallback?: boolean subsets?: Array<'cyrillic' | 'cyrillic-ext' | 'latin' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Phudu< + T extends CssVariable | undefined = undefined +>(options?: { + weight?: + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | '900' + | 'variable' + | Array<'300' | '400' | '500' | '600' | '700' | '800' | '900'> + style?: 'normal' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Piazzolla< T extends CssVariable | undefined = undefined >(options?: { @@ -19167,6 +19249,29 @@ export declare function Shalimar< adjustFontFallback?: boolean subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Shantell_Sans< + T extends CssVariable | undefined = undefined +>(options?: { + weight?: + | '300' + | '400' + | '500' + | '600' + | '700' + | '800' + | 'variable' + | Array<'300' | '400' | '500' | '600' | '700' | '800'> + style?: 'normal' | 'italic' | Array<'normal' | 'italic'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array< + 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese' + > + axes?: ('BNCE' | 'INFM' | 'SPAC')[] +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Shanti< T extends CssVariable | undefined = undefined >(options: { @@ -21363,7 +21468,7 @@ export declare function Unica_One< preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'latin' | 'latin-ext'> + subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function UnifrakturCook< T extends CssVariable | undefined = undefined