Unverified Commit 2085dac9 authored by Hannes Bornö's avatar Hannes Bornö Committed by GitHub

Update @next/font/google fonts (#43385)

Add new fonts and font variations.

## 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)
Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 758990dc
...@@ -146,6 +146,29 @@ ...@@ -146,6 +146,29 @@
"weights": ["400"], "weights": ["400"],
"styles": ["normal"] "styles": ["normal"]
}, },
"Alexandria": {
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
]
},
"Alfa Slab One": { "Alfa Slab One": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"] "styles": ["normal"]
...@@ -764,19 +787,36 @@ ...@@ -764,19 +787,36 @@
"styles": ["normal"] "styles": ["normal"]
}, },
"Asap": { "Asap": {
"weights": ["400", "500", "600", "700", "variable"], "weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
"axes": [ "axes": [
{
"tag": "wdth",
"min": 75,
"max": 125,
"defaultValue": 100
},
{ {
"tag": "wght", "tag": "wght",
"min": 400, "min": 100,
"max": 700, "max": 900,
"defaultValue": 400 "defaultValue": 400
} }
] ]
}, },
"Asap Condensed": { "Asap Condensed": {
"weights": ["400", "500", "600", "700"], "weights": ["200", "300", "400", "500", "600", "700", "800", "900"],
"styles": ["normal", "italic"] "styles": ["normal", "italic"]
}, },
"Asar": { "Asar": {
...@@ -1821,8 +1861,27 @@ ...@@ -1821,8 +1861,27 @@
"styles": ["normal"] "styles": ["normal"]
}, },
"Chivo": { "Chivo": {
"weights": ["300", "400", "700", "900"], "weights": [
"styles": ["normal", "italic"] "100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
]
}, },
"Chonburi": { "Chonburi": {
"weights": ["400"], "weights": ["400"],
...@@ -2668,7 +2727,7 @@ ...@@ -2668,7 +2727,7 @@
}, },
"Figtree": { "Figtree": {
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"], "weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
"styles": ["normal"], "styles": ["normal", "italic"],
"axes": [ "axes": [
{ {
"tag": "wght", "tag": "wght",
...@@ -7168,6 +7227,18 @@ ...@@ -7168,6 +7227,18 @@
} }
] ]
}, },
"Noto Serif Khojki": {
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
]
},
"Noto Serif Lao": { "Noto Serif Lao": {
"weights": [ "weights": [
"100", "100",
......
...@@ -254,7 +254,7 @@ export declare function Alatsi< ...@@ -254,7 +254,7 @@ export declare function Alatsi<
preload?: boolean preload?: boolean
fallback?: string[] fallback?: string[]
adjustFontFallback?: boolean adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Albert_Sans< export declare function Albert_Sans<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
...@@ -439,6 +439,31 @@ export declare function Alex_Brush< ...@@ -439,6 +439,31 @@ export declare function Alex_Brush<
adjustFontFallback?: boolean adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Alexandria<
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<'arabic' | 'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Alfa_Slab_One< export declare function Alfa_Slab_One<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
>(options: { >(options: {
...@@ -1469,12 +1494,19 @@ export declare function Asap< ...@@ -1469,12 +1494,19 @@ export declare function Asap<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
>(options?: { >(options?: {
weight?: weight?:
| '100'
| '200'
| '300'
| '400' | '400'
| '500' | '500'
| '600' | '600'
| '700' | '700'
| '800'
| '900'
| 'variable' | 'variable'
| Array<'400' | '500' | '600' | '700'> | Array<
'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'
>
style?: 'normal' | 'italic' | Array<'normal' | 'italic'> style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display display?: Display
variable?: T variable?: T
...@@ -1482,11 +1514,21 @@ export declare function Asap< ...@@ -1482,11 +1514,21 @@ export declare function Asap<
fallback?: string[] fallback?: string[]
adjustFontFallback?: boolean adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'> subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
axes?: 'wdth'[]
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Asap_Condensed< export declare function Asap_Condensed<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
>(options: { >(options: {
weight: '400' | '500' | '600' | '700' | Array<'400' | '500' | '600' | '700'> weight:
| '200'
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| '900'
| Array<'200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'>
style?: 'normal' | 'italic' | Array<'normal' | 'italic'> style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display display?: Display
variable?: T variable?: T
...@@ -3888,15 +3930,28 @@ export declare function Chilanka< ...@@ -3888,15 +3930,28 @@ export declare function Chilanka<
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Chivo< export declare function Chivo<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
>(options: { >(options?: {
weight: '300' | '400' | '700' | '900' | Array<'300' | '400' | '700' | '900'> 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'> style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display display?: Display
variable?: T variable?: T
preload?: boolean preload?: boolean
fallback?: string[] fallback?: string[]
adjustFontFallback?: boolean adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext'> subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Chonburi< export declare function Chonburi<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
...@@ -5879,7 +5934,7 @@ export declare function Figtree< ...@@ -5879,7 +5934,7 @@ export declare function Figtree<
| '900' | '900'
| 'variable' | 'variable'
| Array<'300' | '400' | '500' | '600' | '700' | '800' | '900'> | Array<'300' | '400' | '500' | '600' | '700' | '800' | '900'>
style?: 'normal' | Array<'normal'> style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display display?: Display
variable?: T variable?: T
preload?: boolean preload?: boolean
...@@ -14243,7 +14298,7 @@ export declare function Noto_Sans_Sharada< ...@@ -14243,7 +14298,7 @@ export declare function Noto_Sans_Sharada<
preload?: boolean preload?: boolean
fallback?: string[] fallback?: string[]
adjustFontFallback?: boolean adjustFontFallback?: boolean
subsets?: Array<'sharada'> subsets?: Array<'latin' | 'latin-ext' | 'sharada'>
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Sans_Shavian< export declare function Noto_Sans_Shavian<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
...@@ -15171,6 +15226,24 @@ export declare function Noto_Serif_Khmer< ...@@ -15171,6 +15226,24 @@ export declare function Noto_Serif_Khmer<
subsets?: Array<'khmer' | 'latin' | 'latin-ext'> subsets?: Array<'khmer' | 'latin' | 'latin-ext'>
axes?: 'wdth'[] axes?: 'wdth'[]
}): T extends undefined ? NextFont : NextFontWithVariable }): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Serif_Khojki<
T extends CssVariable | undefined = undefined
>(options?: {
weight?:
| '400'
| '500'
| '600'
| '700'
| 'variable'
| Array<'400' | '500' | '600' | '700'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'khojki' | 'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Serif_Lao< export declare function Noto_Serif_Lao<
T extends CssVariable | undefined = undefined T extends CssVariable | undefined = undefined
>(options?: { >(options?: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment