unlayer-types 1.194.0 → 1.197.0
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/embed.d.ts +8 -2
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -1287,7 +1287,10 @@ declare module "state/types/types" {
|
|
1287
1287
|
label: string;
|
1288
1288
|
value: string;
|
1289
1289
|
url: string;
|
1290
|
-
weights?: number[]
|
1290
|
+
weights?: number[] | Array<{
|
1291
|
+
label: string;
|
1292
|
+
value: number;
|
1293
|
+
} | number>;
|
1291
1294
|
}
|
1292
1295
|
export interface CustomFonts {
|
1293
1296
|
[label: string]: CustomFont;
|
@@ -1646,7 +1649,10 @@ declare module "engine/config/fonts" {
|
|
1646
1649
|
label: string;
|
1647
1650
|
value: string;
|
1648
1651
|
url?: string;
|
1649
|
-
weights?: number[]
|
1652
|
+
weights?: number[] | Array<{
|
1653
|
+
label: string;
|
1654
|
+
value: number;
|
1655
|
+
} | number>;
|
1650
1656
|
}
|
1651
1657
|
export type FontList = Font[];
|
1652
1658
|
export interface FontConfig {
|
package/package.json
CHANGED