diff --git a/packages/font/src/google/font-data.json b/packages/font/src/google/font-data.json index 02d12e2231810..bfa950f0f7046 100644 --- a/packages/font/src/google/font-data.json +++ b/packages/font/src/google/font-data.json @@ -4,6 +4,11 @@ "styles": ["normal", "italic"], "subsets": ["latin", "latin-ext"] }, + "ADLaM Display": { + "weights": ["400"], + "styles": ["normal"], + "subsets": ["adlam", "latin", "latin-ext"] + }, "Abel": { "weights": ["400"], "styles": ["normal"], @@ -7769,9 +7774,28 @@ "subsets": ["gurmukhi", "latin", "latin-ext"] }, "Noto Sans HK": { - "weights": ["100", "300", "400", "500", "700", "900"], + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], "styles": ["normal"], - "subsets": ["latin"] + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"] }, "Noto Sans Hanifi Rohingya": { "weights": ["400", "500", "600", "700", "variable"], @@ -7834,12 +7858,12 @@ "Noto Sans Indic Siyaq Numbers": { "weights": ["400"], "styles": ["normal"], - "subsets": ["indic-siyaq-numbers"] + "subsets": ["indic-siyaq-numbers", "latin", "latin-ext"] }, "Noto Sans Inscriptional Pahlavi": { "weights": ["400"], "styles": ["normal"], - "subsets": ["inscriptional-pahlavi"] + "subsets": ["inscriptional-pahlavi", "latin", "latin-ext"] }, "Noto Sans Inscriptional Parthian": { "weights": ["400"], @@ -7884,9 +7908,28 @@ "subsets": ["javanese", "latin", "latin-ext"] }, "Noto Sans KR": { - "weights": ["100", "300", "400", "500", "700", "900"], + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], "styles": ["normal"], - "subsets": ["latin"] + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"] }, "Noto Sans Kaithi": { "weights": ["400"], @@ -8147,7 +8190,7 @@ "Noto Sans Mayan Numerals": { "weights": ["400"], "styles": ["normal"], - "subsets": ["mayan-numerals"] + "subsets": ["latin", "latin-ext", "mayan-numerals"] }, "Noto Sans Medefaidrin": { "weights": ["400", "500", "600", "700", "variable"], @@ -8454,9 +8497,28 @@ "subsets": ["latin", "latin-ext", "runic"] }, "Noto Sans SC": { - "weights": ["100", "300", "400", "500", "700", "900"], + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], "styles": ["normal"], - "subsets": ["latin"] + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"] }, "Noto Sans Samaritan": { "weights": ["400"], @@ -8637,9 +8699,28 @@ "subsets": ["latin", "latin-ext", "syriac"] }, "Noto Sans TC": { - "weights": ["100", "300", "400", "500", "700", "900"], + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], "styles": ["normal"], - "subsets": ["latin"] + "axes": [ + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"] }, "Noto Sans Tagalog": { "weights": ["400"], @@ -12478,8 +12559,16 @@ "subsets": ["latin", "latin-ext", "thai", "vietnamese"] }, "Teko": { - "weights": ["300", "400", "500", "600", "700"], + "weights": ["300", "400", "500", "600", "700", "variable"], "styles": ["normal"], + "axes": [ + { + "tag": "wght", + "min": 300, + "max": 700, + "defaultValue": 400 + } + ], "subsets": ["devanagari", "latin", "latin-ext"] }, "Tektur": { @@ -13189,6 +13278,42 @@ "styles": ["normal"], "subsets": ["latin", "latin-ext", "vietnamese"] }, + "Wavefont": { + "weights": [ + "100", + "200", + "300", + "400", + "500", + "600", + "700", + "800", + "900", + "variable" + ], + "styles": ["normal"], + "axes": [ + { + "tag": "ROND", + "min": 0, + "max": 100, + "defaultValue": 100 + }, + { + "tag": "YELA", + "min": -100, + "max": 100, + "defaultValue": -100 + }, + { + "tag": "wght", + "min": 100, + "max": 900, + "defaultValue": 400 + } + ], + "subsets": ["latin", "latin-ext"] + }, "Wellfleet": { "weights": ["400"], "styles": ["normal"], diff --git a/packages/font/src/google/index.ts b/packages/font/src/google/index.ts index 1cb4e52760236..2bd917b6e734d 100644 --- a/packages/font/src/google/index.ts +++ b/packages/font/src/google/index.ts @@ -19,6 +19,18 @@ export declare function ABeeZee< adjustFontFallback?: boolean subsets?: Array<'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function ADLaM_Display< + 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<'adlam' | 'latin' | 'latin-ext'> +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Abel< T extends CssVariable | undefined = undefined >(options: { @@ -13928,22 +13940,28 @@ export declare function Noto_Sans_Gurmukhi< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_HK< T extends CssVariable | undefined = undefined ->(options: { - weight: +>(options?: { + weight?: | '100' + | '200' | '300' | '400' | '500' + | '600' | '700' + | '800' | '900' - | Array<'100' | '300' | '400' | '500' | '700' | '900'> + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > style?: 'normal' | Array<'normal'> display?: Display variable?: T preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'latin'> + subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Hanifi_Rohingya< T extends CssVariable | undefined = undefined @@ -14035,7 +14053,7 @@ export declare function Noto_Sans_Indic_Siyaq_Numbers< preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'indic-siyaq-numbers'> + subsets?: Array<'indic-siyaq-numbers' | 'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Inscriptional_Pahlavi< T extends CssVariable | undefined = undefined @@ -14047,7 +14065,7 @@ export declare function Noto_Sans_Inscriptional_Pahlavi< preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'inscriptional-pahlavi'> + subsets?: Array<'inscriptional-pahlavi' | 'latin' | 'latin-ext'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Inscriptional_Parthian< T extends CssVariable | undefined = undefined @@ -14106,22 +14124,28 @@ export declare function Noto_Sans_Javanese< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_KR< T extends CssVariable | undefined = undefined ->(options: { - weight: +>(options?: { + weight?: | '100' + | '200' | '300' | '400' | '500' + | '600' | '700' + | '800' | '900' - | Array<'100' | '300' | '400' | '500' | '700' | '900'> + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > style?: 'normal' | Array<'normal'> display?: Display variable?: T preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'latin'> + subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Kaithi< T extends CssVariable | undefined = undefined @@ -14491,7 +14515,7 @@ export declare function Noto_Sans_Mayan_Numerals< preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'mayan-numerals'> + subsets?: Array<'latin' | 'latin-ext' | 'mayan-numerals'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Medefaidrin< T extends CssVariable | undefined = undefined @@ -15048,22 +15072,28 @@ export declare function Noto_Sans_Runic< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_SC< T extends CssVariable | undefined = undefined ->(options: { - weight: +>(options?: { + weight?: | '100' + | '200' | '300' | '400' | '500' + | '600' | '700' + | '800' | '900' - | Array<'100' | '300' | '400' | '500' | '700' | '900'> + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > style?: 'normal' | Array<'normal'> display?: Display variable?: T preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'latin'> + subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Samaritan< T extends CssVariable | undefined = undefined @@ -15324,22 +15354,28 @@ export declare function Noto_Sans_Syriac_Eastern< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_TC< T extends CssVariable | undefined = undefined ->(options: { - weight: +>(options?: { + weight?: | '100' + | '200' | '300' | '400' | '500' + | '600' | '700' + | '800' | '900' - | Array<'100' | '300' | '400' | '500' | '700' | '900'> + | 'variable' + | Array< + '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' + > style?: 'normal' | Array<'normal'> display?: Display variable?: T preload?: boolean fallback?: string[] adjustFontFallback?: boolean - subsets?: Array<'latin'> + subsets?: Array<'cyrillic' | 'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable export declare function Noto_Sans_Tagalog< T extends CssVariable | undefined = undefined @@ -21783,13 +21819,14 @@ export declare function Taviraj< }): T extends undefined ? NextFont : NextFontWithVariable export declare function Teko< T extends CssVariable | undefined = undefined ->(options: { - weight: +>(options?: { + weight?: | '300' | '400' | '500' | '600' | '700' + | 'variable' | Array<'300' | '400' | '500' | '600' | '700'> style?: 'normal' | Array<'normal'> display?: Display @@ -22997,6 +23034,32 @@ export declare function Waterfall< adjustFontFallback?: boolean subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> }): T extends undefined ? NextFont : NextFontWithVariable +export declare function Wavefont< + 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' | Array<'normal'> + display?: Display + variable?: T + preload?: boolean + fallback?: string[] + adjustFontFallback?: boolean + subsets?: Array<'latin' | 'latin-ext'> + axes?: ('ROND' | 'YELA')[] +}): T extends undefined ? NextFont : NextFontWithVariable export declare function Wellfleet< T extends CssVariable | undefined = undefined >(options: {