unlayer-types 1.257.0 → 1.258.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 +7 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
@@ -1275,6 +1275,10 @@ declare module "editor/themes/types" {
|
|
1275
1275
|
declare module "engine/constants" {
|
1276
1276
|
export const collections: readonly ["bodies", "columns", "contents", "footers", "headers", "pages", "rows"];
|
1277
1277
|
export const HTMLInputTypeAttributes: readonly ["button", "checkbox", "color", "date", "datetime-local", "email", "file", "hidden", "image", "month", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "time", "url", "week"];
|
1278
|
+
export const BROWSER: {
|
1279
|
+
IS_IE: boolean;
|
1280
|
+
IS_SAFARI: boolean;
|
1281
|
+
};
|
1278
1282
|
}
|
1279
1283
|
declare module "engine/utils/zod/schemas" {
|
1280
1284
|
export const DisplayConditionZodSchema: any;
|
@@ -2514,7 +2518,9 @@ declare module "editor/helpers/image" {
|
|
2514
2518
|
height: number | undefined;
|
2515
2519
|
error?: string;
|
2516
2520
|
}>;
|
2517
|
-
export function imageHasTransparency(imageSrcOrBlob: string | Blob
|
2521
|
+
export function imageHasTransparency(imageSrcOrBlob: string | Blob, { minimumPercentageOfAlphaPixels, }?: {
|
2522
|
+
minimumPercentageOfAlphaPixels?: number;
|
2523
|
+
}): Promise<boolean | null>;
|
2518
2524
|
}
|
2519
2525
|
declare module "editor/hooks/useImageUploader" {
|
2520
2526
|
import { useStore } from 'react-redux';
|
package/package.json
CHANGED