@unocss/preset-web-fonts 0.58.4 → 0.58.5
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/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -50,9 +50,9 @@ interface WebFontsOptions {
|
|
|
50
50
|
}
|
|
51
51
|
interface Provider {
|
|
52
52
|
name: WebFontsProviders;
|
|
53
|
-
getPreflight
|
|
54
|
-
getImportUrl
|
|
55
|
-
getFontName
|
|
53
|
+
getPreflight?: (fonts: WebFontMeta[]) => string;
|
|
54
|
+
getImportUrl?: (fonts: WebFontMeta[]) => string | undefined;
|
|
55
|
+
getFontName?: (font: WebFontMeta) => string;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider: WebFontsProviders): ResolvedWebFontMeta;
|
package/dist/index.d.mts
CHANGED
|
@@ -50,9 +50,9 @@ interface WebFontsOptions {
|
|
|
50
50
|
}
|
|
51
51
|
interface Provider {
|
|
52
52
|
name: WebFontsProviders;
|
|
53
|
-
getPreflight
|
|
54
|
-
getImportUrl
|
|
55
|
-
getFontName
|
|
53
|
+
getPreflight?: (fonts: WebFontMeta[]) => string;
|
|
54
|
+
getImportUrl?: (fonts: WebFontMeta[]) => string | undefined;
|
|
55
|
+
getFontName?: (font: WebFontMeta) => string;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider: WebFontsProviders): ResolvedWebFontMeta;
|
package/dist/index.d.ts
CHANGED
|
@@ -50,9 +50,9 @@ interface WebFontsOptions {
|
|
|
50
50
|
}
|
|
51
51
|
interface Provider {
|
|
52
52
|
name: WebFontsProviders;
|
|
53
|
-
getPreflight
|
|
54
|
-
getImportUrl
|
|
55
|
-
getFontName
|
|
53
|
+
getPreflight?: (fonts: WebFontMeta[]) => string;
|
|
54
|
+
getImportUrl?: (fonts: WebFontMeta[]) => string | undefined;
|
|
55
|
+
getFontName?: (font: WebFontMeta) => string;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
declare function normalizedFontMeta(meta: WebFontMeta | string, defaultProvider: WebFontsProviders): ResolvedWebFontMeta;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-web-fonts",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.5",
|
|
4
4
|
"description": "Web Fonts support for Uno CSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ofetch": "^1.3.3",
|
|
41
|
-
"@unocss/core": "0.58.
|
|
41
|
+
"@unocss/core": "0.58.5"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "unbuild",
|