@yahoo/uds 3.146.0 → 3.147.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/styler.d.cts +43 -43
- package/dist/styles/styler.d.ts +43 -43
- package/dist/tailwind/utils/index.d.cts +2 -2
- package/dist/tailwind/utils/index.d.ts +2 -2
- package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.cjs +2 -2
- package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.js +2 -2
- package/dist/tailwind-internal/dist/base/addFontVars.cjs +2 -2
- package/dist/tailwind-internal/dist/base/addFontVars.js +2 -2
- package/dist/tailwind-internal/dist/index.d.cts +1 -1
- package/dist/tailwind-internal/dist/index.d.ts +1 -1
- package/dist/tailwind-internal/dist/plugins/typography.cjs +3 -3
- package/dist/tailwind-internal/dist/plugins/typography.js +3 -3
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.cjs +2 -2
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.cts +6 -0
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.ts +6 -0
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.js +2 -2
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.cts +7 -0
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.ts +7 -0
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.cjs +3 -2
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.cts +59 -58
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.ts +59 -58
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.js +3 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.cjs +2 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.cts +2 -1
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.ts +2 -1
- package/dist/tailwind-internal/dist/utils/getFontStyles.js +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/uds/generated/componentData.cjs +764 -764
- package/dist/uds/generated/componentData.js +764 -764
- package/generated/componentData.json +1052 -1052
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { getInputStyles } from "./components/getInputStyles.js";
|
|
3
3
|
import { udsToTailwindMap } from "./defaultTailwindThemeAsUdsConfig.js";
|
|
4
|
+
import { FontFamilyOverrides, getFontFaceDeclarations } from "./utils/getFontFaceDeclarations.js";
|
|
4
5
|
import { TailwindPluginOptions, composeTailwindPlugins } from "./utils/composeTailwindPlugins.js";
|
|
5
6
|
import { getUDSContent, tailwindPlugin } from "./tailwindPlugin.js";
|
|
6
7
|
import { ALLOWED_ENTRY_FILE_EXTENSIONS, DEFAULT_ENTRY, EntryValue, ResolvedEntryPath, formatEntryValue, getAllowedEntryFileGlobPatterns, hasAllowedEntryFileExtension, normalizeEntryPaths, resolveEntryPaths, stripAllowedEntryFileExtension } from "./utils/entryPoints.js";
|
|
@@ -12,7 +13,6 @@ import { getBaseTextVars, getResponsiveTextStyles, textVariantsSafe } from "./co
|
|
|
12
13
|
import { addFontsPlugin } from "./utils/addFontsPlugin.js";
|
|
13
14
|
import { getColorModeStyles } from "./utils/getColorModeStyles.js";
|
|
14
15
|
import { getElevationStyles } from "./utils/getElevationStyles.js";
|
|
15
|
-
import { getFontFaceDeclarations } from "./utils/getFontFaceDeclarations.js";
|
|
16
16
|
import { getFontStyles } from "./utils/getFontStyles.js";
|
|
17
17
|
import { getMotionStyles } from "./utils/getMotionStyles.js";
|
|
18
18
|
import { getScaleModeStyles } from "./utils/getScaleModeStyles.js";
|
|
@@ -37,12 +37,12 @@ const fontWeightMap = {
|
|
|
37
37
|
extrabold: "800",
|
|
38
38
|
black: "900"
|
|
39
39
|
};
|
|
40
|
-
const typographyPlugin = import_plugin.default.withOptions(({ config, disableOverrideTailwindTheme, disableFontFaceDeclarations = false }) => (api) => {
|
|
40
|
+
const typographyPlugin = import_plugin.default.withOptions(({ config, disableOverrideTailwindTheme, disableFontFaceDeclarations = false, fontFamilyOverrides }) => (api) => {
|
|
41
41
|
const shouldMergeTypographyTokensIntoTailwindTheme = !require_composeTailwindPlugins.shouldNotMergeTokensIntoTailwindTheme(disableOverrideTailwindTheme, "typography");
|
|
42
42
|
const { addBase, addUtilities, addComponents, matchUtilities, theme } = api;
|
|
43
43
|
const fontIds = Object.values(config.font);
|
|
44
|
-
if (disableFontFaceDeclarations === false) require_addFontFaceDeclarations.addFontFaceDeclarations(fontIds, api);
|
|
45
|
-
require_addFontVars.addFontVars(config.font, api);
|
|
44
|
+
if (disableFontFaceDeclarations === false) require_addFontFaceDeclarations.addFontFaceDeclarations(fontIds, api, fontFamilyOverrides);
|
|
45
|
+
require_addFontVars.addFontVars(config.font, api, fontFamilyOverrides);
|
|
46
46
|
addBase(require_getResponsiveTextStyles.getBaseTextVars(config));
|
|
47
47
|
addBase(require_getGroupedTextStyles.getGroupedTextStyles());
|
|
48
48
|
if ((config.globalDefaults.enableResponsiveType ?? false) && config.typography && config.breakpoints) addComponents(require_getResponsiveTextStyles.getResponsiveTextStyles(config));
|
|
@@ -37,12 +37,12 @@ const fontWeightMap = {
|
|
|
37
37
|
extrabold: "800",
|
|
38
38
|
black: "900"
|
|
39
39
|
};
|
|
40
|
-
const typographyPlugin = import_plugin.default.withOptions(({ config, disableOverrideTailwindTheme, disableFontFaceDeclarations = false }) => (api) => {
|
|
40
|
+
const typographyPlugin = import_plugin.default.withOptions(({ config, disableOverrideTailwindTheme, disableFontFaceDeclarations = false, fontFamilyOverrides }) => (api) => {
|
|
41
41
|
const shouldMergeTypographyTokensIntoTailwindTheme = !shouldNotMergeTokensIntoTailwindTheme(disableOverrideTailwindTheme, "typography");
|
|
42
42
|
const { addBase, addUtilities, addComponents, matchUtilities, theme } = api;
|
|
43
43
|
const fontIds = Object.values(config.font);
|
|
44
|
-
if (disableFontFaceDeclarations === false) addFontFaceDeclarations(fontIds, api);
|
|
45
|
-
addFontVars(config.font, api);
|
|
44
|
+
if (disableFontFaceDeclarations === false) addFontFaceDeclarations(fontIds, api, fontFamilyOverrides);
|
|
45
|
+
addFontVars(config.font, api, fontFamilyOverrides);
|
|
46
46
|
addBase(getBaseTextVars(config));
|
|
47
47
|
addBase(getGroupedTextStyles());
|
|
48
48
|
if ((config.globalDefaults.enableResponsiveType ?? false) && config.typography && config.breakpoints) addComponents(getResponsiveTextStyles(config));
|
|
@@ -4,9 +4,9 @@ const require_plugin$1 = require("../node_modules/.bun/tailwindcss@3.4.19_7500dc
|
|
|
4
4
|
const require_addFontFaceDeclarations = require("../base/addFontFaceDeclarations.cjs");
|
|
5
5
|
//#region ../tailwind-internal/dist/utils/addFontsPlugin.js
|
|
6
6
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
7
|
-
const addFontsPlugin = (/* @__PURE__ */ require_runtime.__toESM(require_plugin$1.require_plugin(), 1)).default.withOptions(function addFontsPlugin({ fontIds }) {
|
|
7
|
+
const addFontsPlugin = (/* @__PURE__ */ require_runtime.__toESM(require_plugin$1.require_plugin(), 1)).default.withOptions(function addFontsPlugin({ fontIds, fontFamilyOverrides }) {
|
|
8
8
|
return function({ addBase }) {
|
|
9
|
-
require_addFontFaceDeclarations.addFontFaceDeclarations(fontIds, { addBase });
|
|
9
|
+
require_addFontFaceDeclarations.addFontFaceDeclarations(fontIds, { addBase }, fontFamilyOverrides);
|
|
10
10
|
};
|
|
11
11
|
});
|
|
12
12
|
//#endregion
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import { Config, PluginCreator } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/types/config.cjs";
|
|
3
3
|
import { FontID } from "../packages/fonts/dist/index.cjs";
|
|
4
|
+
import { FontFamilyOverrides } from "./getFontFaceDeclarations.cjs";
|
|
4
5
|
|
|
5
6
|
//#region ../tailwind-internal/dist/utils/addFontsPlugin.d.ts
|
|
6
7
|
//#region src/utils/addFontsPlugin.d.ts
|
|
7
8
|
interface AddFontsPluginOptions {
|
|
8
9
|
fontIds: FontID[];
|
|
10
|
+
/**
|
|
11
|
+
* Override the `font-family` name used in `@font-face` declarations.
|
|
12
|
+
* Keys are font IDs (e.g. `'centra-no2'`), values are the replacement family name strings.
|
|
13
|
+
*/
|
|
14
|
+
fontFamilyOverrides?: FontFamilyOverrides;
|
|
9
15
|
}
|
|
10
16
|
declare const addFontsPlugin: {
|
|
11
17
|
(options: AddFontsPluginOptions): {
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import { Config, PluginCreator } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/types/config.js";
|
|
3
3
|
import { FontID } from "../packages/fonts/dist/index.js";
|
|
4
|
+
import { FontFamilyOverrides } from "./getFontFaceDeclarations.js";
|
|
4
5
|
|
|
5
6
|
//#region ../tailwind-internal/dist/utils/addFontsPlugin.d.ts
|
|
6
7
|
//#region src/utils/addFontsPlugin.d.ts
|
|
7
8
|
interface AddFontsPluginOptions {
|
|
8
9
|
fontIds: FontID[];
|
|
10
|
+
/**
|
|
11
|
+
* Override the `font-family` name used in `@font-face` declarations.
|
|
12
|
+
* Keys are font IDs (e.g. `'centra-no2'`), values are the replacement family name strings.
|
|
13
|
+
*/
|
|
14
|
+
fontFamilyOverrides?: FontFamilyOverrides;
|
|
9
15
|
}
|
|
10
16
|
declare const addFontsPlugin: {
|
|
11
17
|
(options: AddFontsPluginOptions): {
|
|
@@ -4,9 +4,9 @@ import { require_plugin } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce0
|
|
|
4
4
|
import { addFontFaceDeclarations } from "../base/addFontFaceDeclarations.js";
|
|
5
5
|
//#region ../tailwind-internal/dist/utils/addFontsPlugin.js
|
|
6
6
|
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
|
|
7
|
-
const addFontsPlugin = (/* @__PURE__ */ __toESM(require_plugin(), 1)).default.withOptions(function addFontsPlugin({ fontIds }) {
|
|
7
|
+
const addFontsPlugin = (/* @__PURE__ */ __toESM(require_plugin(), 1)).default.withOptions(function addFontsPlugin({ fontIds, fontFamilyOverrides }) {
|
|
8
8
|
return function({ addBase }) {
|
|
9
|
-
addFontFaceDeclarations(fontIds, { addBase });
|
|
9
|
+
addFontFaceDeclarations(fontIds, { addBase }, fontFamilyOverrides);
|
|
10
10
|
};
|
|
11
11
|
});
|
|
12
12
|
//#endregion
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Config, PluginCreator } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/types/config.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../packages/config/dist/index.cjs";
|
|
4
4
|
import { plugin } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.cjs";
|
|
5
|
+
import { FontFamilyOverrides } from "./getFontFaceDeclarations.cjs";
|
|
5
6
|
|
|
6
7
|
//#region ../tailwind-internal/dist/utils/composeTailwindPlugins.d.ts
|
|
7
8
|
//#region src/utils/composeTailwindPlugins.d.ts
|
|
@@ -45,6 +46,12 @@ interface TailwindPluginOptions {
|
|
|
45
46
|
* Whether to ignore the safelists requested by plugins (for optimized purger use only)
|
|
46
47
|
*/
|
|
47
48
|
ignorePluginSafelists?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Override the `font-family` name used in `@font-face` declarations and `--font-*` CSS variables.
|
|
51
|
+
* Keys are font IDs (e.g. `'centra-no2'`), values are the replacement family name strings.
|
|
52
|
+
* This applies to both `@font-face` generation and font CSS variable output.
|
|
53
|
+
*/
|
|
54
|
+
fontFamilyOverrides?: FontFamilyOverrides;
|
|
48
55
|
previewOptions?: {
|
|
49
56
|
/**
|
|
50
57
|
* Generates CSS classes for visually forcing components into a pseudo state (hover, focus, etc)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Config, PluginCreator } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/types/config.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../packages/config/dist/index.js";
|
|
4
4
|
import { plugin } from "../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.js";
|
|
5
|
+
import { FontFamilyOverrides } from "./getFontFaceDeclarations.js";
|
|
5
6
|
|
|
6
7
|
//#region ../tailwind-internal/dist/utils/composeTailwindPlugins.d.ts
|
|
7
8
|
//#region src/utils/composeTailwindPlugins.d.ts
|
|
@@ -45,6 +46,12 @@ interface TailwindPluginOptions {
|
|
|
45
46
|
* Whether to ignore the safelists requested by plugins (for optimized purger use only)
|
|
46
47
|
*/
|
|
47
48
|
ignorePluginSafelists?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Override the `font-family` name used in `@font-face` declarations and `--font-*` CSS variables.
|
|
51
|
+
* Keys are font IDs (e.g. `'centra-no2'`), values are the replacement family name strings.
|
|
52
|
+
* This applies to both `@font-face` generation and font CSS variable output.
|
|
53
|
+
*/
|
|
54
|
+
fontFamilyOverrides?: FontFamilyOverrides;
|
|
48
55
|
previewOptions?: {
|
|
49
56
|
/**
|
|
50
57
|
* Generates CSS classes for visually forcing components into a pseudo state (hover, focus, etc)
|
|
@@ -5,13 +5,14 @@ const require_index = require("../packages/fonts/dist/index.cjs");
|
|
|
5
5
|
/**
|
|
6
6
|
* Get all font face declarations for a given set of font IDs.
|
|
7
7
|
*/
|
|
8
|
-
function getFontFaceDeclarations(fontIds) {
|
|
8
|
+
function getFontFaceDeclarations(fontIds, fontFamilyOverrides) {
|
|
9
9
|
return fontIds.flatMap((fontID) => {
|
|
10
10
|
const { declarations, fontFamily, isVariableFont } = require_index.FONT_DECLARATIONS_MAP[fontID];
|
|
11
|
+
const resolvedFontFamily = fontFamilyOverrides?.[fontID] ?? fontFamily;
|
|
11
12
|
return declarations.map((declaration) => {
|
|
12
13
|
const src = isVariableFont ? `url('${declaration.src}') format("woff2 supports variations"), url('${declaration.src}') format('woff2-variations')` : `url('${declaration.src}') format('woff2')`;
|
|
13
14
|
return {
|
|
14
|
-
fontFamily,
|
|
15
|
+
fontFamily: resolvedFontFamily,
|
|
15
16
|
fontDisplay: "swap",
|
|
16
17
|
...declaration,
|
|
17
18
|
src
|
|
@@ -3,339 +3,340 @@ import { FontID } from "../packages/fonts/dist/index.cjs";
|
|
|
3
3
|
|
|
4
4
|
//#region ../tailwind-internal/dist/utils/getFontFaceDeclarations.d.ts
|
|
5
5
|
//#region src/utils/getFontFaceDeclarations.d.ts
|
|
6
|
+
type FontFamilyOverrides = Partial<Record<FontID, string>>;
|
|
6
7
|
/**
|
|
7
8
|
* Get all font face declarations for a given set of font IDs.
|
|
8
9
|
*/
|
|
9
|
-
declare function getFontFaceDeclarations(fontIds: FontID[]): ({
|
|
10
|
+
declare function getFontFaceDeclarations(fontIds: FontID[], fontFamilyOverrides?: FontFamilyOverrides): ({
|
|
10
11
|
src: string;
|
|
11
12
|
fontStyle: "normal";
|
|
12
13
|
fontWeight: "50";
|
|
13
|
-
fontFamily:
|
|
14
|
+
fontFamily: string;
|
|
14
15
|
fontDisplay: string;
|
|
15
16
|
} | {
|
|
16
17
|
src: string;
|
|
17
18
|
fontStyle: "italic";
|
|
18
19
|
fontWeight: "50";
|
|
19
|
-
fontFamily:
|
|
20
|
+
fontFamily: string;
|
|
20
21
|
fontDisplay: string;
|
|
21
22
|
} | {
|
|
22
23
|
src: string;
|
|
23
24
|
fontStyle: "normal";
|
|
24
25
|
fontWeight: "100";
|
|
25
|
-
fontFamily:
|
|
26
|
+
fontFamily: string;
|
|
26
27
|
fontDisplay: string;
|
|
27
28
|
} | {
|
|
28
29
|
src: string;
|
|
29
30
|
fontStyle: "italic";
|
|
30
31
|
fontWeight: "100";
|
|
31
|
-
fontFamily:
|
|
32
|
+
fontFamily: string;
|
|
32
33
|
fontDisplay: string;
|
|
33
34
|
} | {
|
|
34
35
|
src: string;
|
|
35
36
|
fontStyle: "normal";
|
|
36
37
|
fontWeight: "300";
|
|
37
|
-
fontFamily:
|
|
38
|
+
fontFamily: string;
|
|
38
39
|
fontDisplay: string;
|
|
39
40
|
} | {
|
|
40
41
|
src: string;
|
|
41
42
|
fontStyle: "italic";
|
|
42
43
|
fontWeight: "300";
|
|
43
|
-
fontFamily:
|
|
44
|
+
fontFamily: string;
|
|
44
45
|
fontDisplay: string;
|
|
45
46
|
} | {
|
|
46
47
|
src: string;
|
|
47
48
|
fontStyle: "normal";
|
|
48
49
|
fontWeight: "400";
|
|
49
|
-
fontFamily:
|
|
50
|
+
fontFamily: string;
|
|
50
51
|
fontDisplay: string;
|
|
51
52
|
} | {
|
|
52
53
|
src: string;
|
|
53
54
|
fontStyle: "italic";
|
|
54
55
|
fontWeight: "400";
|
|
55
|
-
fontFamily:
|
|
56
|
+
fontFamily: string;
|
|
56
57
|
fontDisplay: string;
|
|
57
58
|
} | {
|
|
58
59
|
src: string;
|
|
59
60
|
fontStyle: "normal";
|
|
60
61
|
fontWeight: "500";
|
|
61
|
-
fontFamily:
|
|
62
|
+
fontFamily: string;
|
|
62
63
|
fontDisplay: string;
|
|
63
64
|
} | {
|
|
64
65
|
src: string;
|
|
65
66
|
fontStyle: "italic";
|
|
66
67
|
fontWeight: "500";
|
|
67
|
-
fontFamily:
|
|
68
|
+
fontFamily: string;
|
|
68
69
|
fontDisplay: string;
|
|
69
70
|
} | {
|
|
70
71
|
src: string;
|
|
71
72
|
fontStyle: "normal";
|
|
72
73
|
fontWeight: "700";
|
|
73
|
-
fontFamily:
|
|
74
|
+
fontFamily: string;
|
|
74
75
|
fontDisplay: string;
|
|
75
76
|
} | {
|
|
76
77
|
src: string;
|
|
77
78
|
fontStyle: "italic";
|
|
78
79
|
fontWeight: "700";
|
|
79
|
-
fontFamily:
|
|
80
|
+
fontFamily: string;
|
|
80
81
|
fontDisplay: string;
|
|
81
82
|
} | {
|
|
82
83
|
src: string;
|
|
83
84
|
fontStyle: "normal";
|
|
84
85
|
fontWeight: "800";
|
|
85
|
-
fontFamily:
|
|
86
|
+
fontFamily: string;
|
|
86
87
|
fontDisplay: string;
|
|
87
88
|
} | {
|
|
88
89
|
src: string;
|
|
89
90
|
fontStyle: "italic";
|
|
90
91
|
fontWeight: "800";
|
|
91
|
-
fontFamily:
|
|
92
|
+
fontFamily: string;
|
|
92
93
|
fontDisplay: string;
|
|
93
94
|
} | {
|
|
94
95
|
src: string;
|
|
95
96
|
fontStyle: "normal";
|
|
96
97
|
fontWeight: "900";
|
|
97
|
-
fontFamily:
|
|
98
|
+
fontFamily: string;
|
|
98
99
|
fontDisplay: string;
|
|
99
100
|
} | {
|
|
100
101
|
src: string;
|
|
101
102
|
fontStyle: "italic";
|
|
102
103
|
fontWeight: "900";
|
|
103
|
-
fontFamily:
|
|
104
|
+
fontFamily: string;
|
|
104
105
|
fontDisplay: string;
|
|
105
106
|
} | {
|
|
106
107
|
src: string;
|
|
107
108
|
fontStyle: "normal";
|
|
108
109
|
fontWeight: "250";
|
|
109
|
-
fontFamily:
|
|
110
|
+
fontFamily: string;
|
|
110
111
|
fontDisplay: string;
|
|
111
112
|
} | {
|
|
112
113
|
src: string;
|
|
113
114
|
fontStyle: "italic";
|
|
114
115
|
fontWeight: "250";
|
|
115
|
-
fontFamily:
|
|
116
|
+
fontFamily: string;
|
|
116
117
|
fontDisplay: string;
|
|
117
118
|
} | {
|
|
118
119
|
src: string;
|
|
119
120
|
fontStyle: "normal";
|
|
120
121
|
fontWeight: "300";
|
|
121
|
-
fontFamily:
|
|
122
|
+
fontFamily: string;
|
|
122
123
|
fontDisplay: string;
|
|
123
124
|
} | {
|
|
124
125
|
src: string;
|
|
125
126
|
fontStyle: "italic";
|
|
126
127
|
fontWeight: "300";
|
|
127
|
-
fontFamily:
|
|
128
|
+
fontFamily: string;
|
|
128
129
|
fontDisplay: string;
|
|
129
130
|
} | {
|
|
130
131
|
src: string;
|
|
131
132
|
fontStyle: "normal";
|
|
132
133
|
fontWeight: "400";
|
|
133
|
-
fontFamily:
|
|
134
|
+
fontFamily: string;
|
|
134
135
|
fontDisplay: string;
|
|
135
136
|
} | {
|
|
136
137
|
src: string;
|
|
137
138
|
fontStyle: "italic";
|
|
138
139
|
fontWeight: "400";
|
|
139
|
-
fontFamily:
|
|
140
|
+
fontFamily: string;
|
|
140
141
|
fontDisplay: string;
|
|
141
142
|
} | {
|
|
142
143
|
src: string;
|
|
143
144
|
fontStyle: "normal";
|
|
144
145
|
fontWeight: "500";
|
|
145
|
-
fontFamily:
|
|
146
|
+
fontFamily: string;
|
|
146
147
|
fontDisplay: string;
|
|
147
148
|
} | {
|
|
148
149
|
src: string;
|
|
149
150
|
fontStyle: "italic";
|
|
150
151
|
fontWeight: "500";
|
|
151
|
-
fontFamily:
|
|
152
|
+
fontFamily: string;
|
|
152
153
|
fontDisplay: string;
|
|
153
154
|
} | {
|
|
154
155
|
src: string;
|
|
155
156
|
fontStyle: "normal";
|
|
156
157
|
fontWeight: "600";
|
|
157
|
-
fontFamily:
|
|
158
|
+
fontFamily: string;
|
|
158
159
|
fontDisplay: string;
|
|
159
160
|
} | {
|
|
160
161
|
src: string;
|
|
161
162
|
fontStyle: "italic";
|
|
162
163
|
fontWeight: "600";
|
|
163
|
-
fontFamily:
|
|
164
|
+
fontFamily: string;
|
|
164
165
|
fontDisplay: string;
|
|
165
166
|
} | {
|
|
166
167
|
src: string;
|
|
167
168
|
fontStyle: "normal";
|
|
168
169
|
fontWeight: "700";
|
|
169
|
-
fontFamily:
|
|
170
|
+
fontFamily: string;
|
|
170
171
|
fontDisplay: string;
|
|
171
172
|
} | {
|
|
172
173
|
src: string;
|
|
173
174
|
fontStyle: "italic";
|
|
174
175
|
fontWeight: "700";
|
|
175
|
-
fontFamily:
|
|
176
|
+
fontFamily: string;
|
|
176
177
|
fontDisplay: string;
|
|
177
178
|
} | {
|
|
178
179
|
src: string;
|
|
179
180
|
fontStyle: "normal";
|
|
180
181
|
fontWeight: "800";
|
|
181
|
-
fontFamily:
|
|
182
|
+
fontFamily: string;
|
|
182
183
|
fontDisplay: string;
|
|
183
184
|
} | {
|
|
184
185
|
src: string;
|
|
185
186
|
fontStyle: "italic";
|
|
186
187
|
fontWeight: "800";
|
|
187
|
-
fontFamily:
|
|
188
|
+
fontFamily: string;
|
|
188
189
|
fontDisplay: string;
|
|
189
190
|
} | {
|
|
190
191
|
src: string;
|
|
191
192
|
fontStyle: "normal";
|
|
192
193
|
fontWeight: "1 1000";
|
|
193
|
-
fontFamily:
|
|
194
|
+
fontFamily: string;
|
|
194
195
|
fontDisplay: string;
|
|
195
196
|
} | {
|
|
196
197
|
src: string;
|
|
197
198
|
fontWeight: "1 1000";
|
|
198
|
-
fontFamily:
|
|
199
|
+
fontFamily: string;
|
|
199
200
|
fontDisplay: string;
|
|
200
201
|
} | {
|
|
201
202
|
src: string;
|
|
202
203
|
fontStyle: "normal";
|
|
203
204
|
fontWeight: "100";
|
|
204
|
-
fontFamily:
|
|
205
|
+
fontFamily: string;
|
|
205
206
|
fontDisplay: string;
|
|
206
207
|
} | {
|
|
207
208
|
src: string;
|
|
208
209
|
fontStyle: "italic";
|
|
209
210
|
fontWeight: "100";
|
|
210
|
-
fontFamily:
|
|
211
|
+
fontFamily: string;
|
|
211
212
|
fontDisplay: string;
|
|
212
213
|
} | {
|
|
213
214
|
src: string;
|
|
214
215
|
fontStyle: "normal";
|
|
215
216
|
fontWeight: "300";
|
|
216
|
-
fontFamily:
|
|
217
|
+
fontFamily: string;
|
|
217
218
|
fontDisplay: string;
|
|
218
219
|
} | {
|
|
219
220
|
src: string;
|
|
220
221
|
fontStyle: "italic";
|
|
221
222
|
fontWeight: "300";
|
|
222
|
-
fontFamily:
|
|
223
|
+
fontFamily: string;
|
|
223
224
|
fontDisplay: string;
|
|
224
225
|
} | {
|
|
225
226
|
src: string;
|
|
226
227
|
fontStyle: "normal";
|
|
227
228
|
fontWeight: "400";
|
|
228
|
-
fontFamily:
|
|
229
|
+
fontFamily: string;
|
|
229
230
|
fontDisplay: string;
|
|
230
231
|
} | {
|
|
231
232
|
src: string;
|
|
232
233
|
fontStyle: "italic";
|
|
233
234
|
fontWeight: "400";
|
|
234
|
-
fontFamily:
|
|
235
|
+
fontFamily: string;
|
|
235
236
|
fontDisplay: string;
|
|
236
237
|
} | {
|
|
237
238
|
src: string;
|
|
238
239
|
fontStyle: "normal";
|
|
239
240
|
fontWeight: "500";
|
|
240
|
-
fontFamily:
|
|
241
|
+
fontFamily: string;
|
|
241
242
|
fontDisplay: string;
|
|
242
243
|
} | {
|
|
243
244
|
src: string;
|
|
244
245
|
fontStyle: "italic";
|
|
245
246
|
fontWeight: "500";
|
|
246
|
-
fontFamily:
|
|
247
|
+
fontFamily: string;
|
|
247
248
|
fontDisplay: string;
|
|
248
249
|
} | {
|
|
249
250
|
src: string;
|
|
250
251
|
fontStyle: "normal";
|
|
251
252
|
fontWeight: "700";
|
|
252
|
-
fontFamily:
|
|
253
|
+
fontFamily: string;
|
|
253
254
|
fontDisplay: string;
|
|
254
255
|
} | {
|
|
255
256
|
src: string;
|
|
256
257
|
fontStyle: "italic";
|
|
257
258
|
fontWeight: "700";
|
|
258
|
-
fontFamily:
|
|
259
|
+
fontFamily: string;
|
|
259
260
|
fontDisplay: string;
|
|
260
261
|
} | {
|
|
261
262
|
src: string;
|
|
262
263
|
fontWeight: "1 1000";
|
|
263
|
-
fontFamily:
|
|
264
|
+
fontFamily: string;
|
|
264
265
|
fontDisplay: string;
|
|
265
266
|
} | {
|
|
266
267
|
src: string;
|
|
267
268
|
fontWeight: "1 1000";
|
|
268
|
-
fontFamily:
|
|
269
|
+
fontFamily: string;
|
|
269
270
|
fontDisplay: string;
|
|
270
271
|
} | {
|
|
271
272
|
src: string;
|
|
272
273
|
fontWeight: "1 1000";
|
|
273
|
-
fontFamily:
|
|
274
|
+
fontFamily: string;
|
|
274
275
|
fontDisplay: string;
|
|
275
276
|
} | {
|
|
276
277
|
src: string;
|
|
277
278
|
fontWeight: "1 1000";
|
|
278
|
-
fontFamily:
|
|
279
|
+
fontFamily: string;
|
|
279
280
|
fontDisplay: string;
|
|
280
281
|
} | {
|
|
281
282
|
src: string;
|
|
282
283
|
fontWeight: "1 1000";
|
|
283
|
-
fontFamily:
|
|
284
|
+
fontFamily: string;
|
|
284
285
|
fontDisplay: string;
|
|
285
286
|
} | {
|
|
286
287
|
src: string;
|
|
287
288
|
fontStyle: "normal";
|
|
288
289
|
fontWeight: "300";
|
|
289
|
-
fontFamily:
|
|
290
|
+
fontFamily: string;
|
|
290
291
|
fontDisplay: string;
|
|
291
292
|
} | {
|
|
292
293
|
src: string;
|
|
293
294
|
fontStyle: "normal";
|
|
294
295
|
fontWeight: "400";
|
|
295
|
-
fontFamily:
|
|
296
|
+
fontFamily: string;
|
|
296
297
|
fontDisplay: string;
|
|
297
298
|
} | {
|
|
298
299
|
src: string;
|
|
299
300
|
fontStyle: "normal";
|
|
300
301
|
fontWeight: "700";
|
|
301
|
-
fontFamily:
|
|
302
|
+
fontFamily: string;
|
|
302
303
|
fontDisplay: string;
|
|
303
304
|
} | {
|
|
304
305
|
src: string;
|
|
305
306
|
fontStyle: "normal";
|
|
306
307
|
fontWeight: "800";
|
|
307
|
-
fontFamily:
|
|
308
|
+
fontFamily: string;
|
|
308
309
|
fontDisplay: string;
|
|
309
310
|
} | {
|
|
310
311
|
src: string;
|
|
311
312
|
fontStyle: "normal";
|
|
312
313
|
fontWeight: "900";
|
|
313
|
-
fontFamily:
|
|
314
|
+
fontFamily: string;
|
|
314
315
|
fontDisplay: string;
|
|
315
316
|
} | {
|
|
316
317
|
src: string;
|
|
317
318
|
fontStyle: "normal";
|
|
318
319
|
fontWeight: "400";
|
|
319
|
-
fontFamily:
|
|
320
|
+
fontFamily: string;
|
|
320
321
|
fontDisplay: string;
|
|
321
322
|
} | {
|
|
322
323
|
src: string;
|
|
323
324
|
fontStyle: "italic";
|
|
324
325
|
fontWeight: "400";
|
|
325
|
-
fontFamily:
|
|
326
|
+
fontFamily: string;
|
|
326
327
|
fontDisplay: string;
|
|
327
328
|
} | {
|
|
328
329
|
src: string;
|
|
329
330
|
fontStyle: "normal";
|
|
330
331
|
fontWeight: "700";
|
|
331
|
-
fontFamily:
|
|
332
|
+
fontFamily: string;
|
|
332
333
|
fontDisplay: string;
|
|
333
334
|
} | {
|
|
334
335
|
src: string;
|
|
335
336
|
fontStyle: "italic";
|
|
336
337
|
fontWeight: "700";
|
|
337
|
-
fontFamily:
|
|
338
|
+
fontFamily: string;
|
|
338
339
|
fontDisplay: string;
|
|
339
340
|
})[]; //#endregion
|
|
340
341
|
//#endregion
|
|
341
|
-
export { getFontFaceDeclarations };
|
|
342
|
+
export { FontFamilyOverrides, getFontFaceDeclarations };
|