Update all non-major dependencies (#9766)
* Update all non-major dependencies * Prettier * Revert axe-core * Revert axe-core --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5e21ca43ec
commit
307df9d2c3
5 changed files with 377 additions and 298 deletions
|
@ -26,7 +26,7 @@ const HIGH_CONTRAST_THEMES: Record<string, string> = {
|
|||
light: "light-high-contrast",
|
||||
};
|
||||
|
||||
interface IFontFaces extends Omit<Record<typeof allowedFontFaceProps[number], string>, "src"> {
|
||||
interface IFontFaces extends Omit<Record<(typeof allowedFontFaceProps)[number], string>, "src"> {
|
||||
src: {
|
||||
format: string;
|
||||
url: string;
|
||||
|
@ -145,9 +145,9 @@ function generateCustomFontFaceCSS(faces: IFontFaces[]): string {
|
|||
return "";
|
||||
})
|
||||
.join(", ");
|
||||
const props = Object.keys(face).filter((prop: typeof allowedFontFaceProps[number]) =>
|
||||
const props = Object.keys(face).filter((prop: (typeof allowedFontFaceProps)[number]) =>
|
||||
allowedFontFaceProps.includes(prop),
|
||||
) as Array<typeof allowedFontFaceProps[number]>;
|
||||
) as Array<(typeof allowedFontFaceProps)[number]>;
|
||||
const body = props
|
||||
.map((prop) => {
|
||||
let value: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue