@webstudio-is/fonts 0.275.0 → 0.276.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/lib/types/schema.d.ts +18 -18
- package/package.json +2 -2
package/lib/types/schema.d.ts
CHANGED
|
@@ -2,20 +2,20 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const fontFormat: z.ZodUnion<readonly [z.ZodLiteral<"ttf">, z.ZodLiteral<"woff">, z.ZodLiteral<"woff2">]>;
|
|
3
3
|
export type FontFormat = z.infer<typeof fontFormat>;
|
|
4
4
|
declare const variationAxes: z.ZodRecord<z.ZodEnum<{
|
|
5
|
-
wght: "wght";
|
|
6
|
-
wdth: "wdth";
|
|
7
|
-
slnt: "slnt";
|
|
8
|
-
opsz: "opsz";
|
|
9
|
-
ital: "ital";
|
|
10
5
|
GRAD: "GRAD";
|
|
11
|
-
XTRA: "XTRA";
|
|
12
6
|
XOPQ: "XOPQ";
|
|
7
|
+
XTRA: "XTRA";
|
|
13
8
|
YOPQ: "YOPQ";
|
|
14
|
-
YTLC: "YTLC";
|
|
15
|
-
YTUC: "YTUC";
|
|
16
9
|
YTAS: "YTAS";
|
|
17
10
|
YTDE: "YTDE";
|
|
18
11
|
YTFI: "YTFI";
|
|
12
|
+
YTLC: "YTLC";
|
|
13
|
+
YTUC: "YTUC";
|
|
14
|
+
ital: "ital";
|
|
15
|
+
opsz: "opsz";
|
|
16
|
+
slnt: "slnt";
|
|
17
|
+
wdth: "wdth";
|
|
18
|
+
wght: "wght";
|
|
19
19
|
}> & z.core.$partial, z.ZodObject<{
|
|
20
20
|
name: z.ZodString;
|
|
21
21
|
min: z.ZodNumber;
|
|
@@ -26,8 +26,8 @@ export type VariationAxes = z.infer<typeof variationAxes>;
|
|
|
26
26
|
export declare const fontMetaStatic: z.ZodObject<{
|
|
27
27
|
family: z.ZodString;
|
|
28
28
|
style: z.ZodEnum<{
|
|
29
|
-
normal: "normal";
|
|
30
29
|
italic: "italic";
|
|
30
|
+
normal: "normal";
|
|
31
31
|
oblique: "oblique";
|
|
32
32
|
}>;
|
|
33
33
|
weight: z.ZodNumber;
|
|
@@ -36,28 +36,28 @@ export type FontMetaStatic = z.infer<typeof fontMetaStatic>;
|
|
|
36
36
|
export declare const fontMeta: z.ZodUnion<readonly [z.ZodObject<{
|
|
37
37
|
family: z.ZodString;
|
|
38
38
|
style: z.ZodEnum<{
|
|
39
|
-
normal: "normal";
|
|
40
39
|
italic: "italic";
|
|
40
|
+
normal: "normal";
|
|
41
41
|
oblique: "oblique";
|
|
42
42
|
}>;
|
|
43
43
|
weight: z.ZodNumber;
|
|
44
44
|
}, z.core.$strip>, z.ZodObject<{
|
|
45
45
|
family: z.ZodString;
|
|
46
46
|
variationAxes: z.ZodRecord<z.ZodEnum<{
|
|
47
|
-
wght: "wght";
|
|
48
|
-
wdth: "wdth";
|
|
49
|
-
slnt: "slnt";
|
|
50
|
-
opsz: "opsz";
|
|
51
|
-
ital: "ital";
|
|
52
47
|
GRAD: "GRAD";
|
|
53
|
-
XTRA: "XTRA";
|
|
54
48
|
XOPQ: "XOPQ";
|
|
49
|
+
XTRA: "XTRA";
|
|
55
50
|
YOPQ: "YOPQ";
|
|
56
|
-
YTLC: "YTLC";
|
|
57
|
-
YTUC: "YTUC";
|
|
58
51
|
YTAS: "YTAS";
|
|
59
52
|
YTDE: "YTDE";
|
|
60
53
|
YTFI: "YTFI";
|
|
54
|
+
YTLC: "YTLC";
|
|
55
|
+
YTUC: "YTUC";
|
|
56
|
+
ital: "ital";
|
|
57
|
+
opsz: "opsz";
|
|
58
|
+
slnt: "slnt";
|
|
59
|
+
wdth: "wdth";
|
|
60
|
+
wght: "wght";
|
|
61
61
|
}> & z.core.$partial, z.ZodObject<{
|
|
62
62
|
name: z.ZodString;
|
|
63
63
|
min: z.ZodNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/fonts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.276.1",
|
|
4
4
|
"description": "Fonts utils",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"private": false,
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"scripts": {
|
|
29
|
-
"typecheck": "
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
30
|
"test": "vitest run",
|
|
31
31
|
"build": "rm -rf lib && esbuild src/index.ts --outdir=lib --bundle --format=esm --packages=external",
|
|
32
32
|
"dts": "tsc --project tsconfig.dts.json"
|