diff --git a/common/changes/@adobe/ccweb-add-on-sdk-types/release-20250725_2025-07-25-10-11.json b/common/changes/@adobe/ccweb-add-on-sdk-types/release-20250725_2025-07-25-10-11.json new file mode 100644 index 0000000..6a9a80d --- /dev/null +++ b/common/changes/@adobe/ccweb-add-on-sdk-types/release-20250725_2025-07-25-10-11.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@adobe/ccweb-add-on-sdk-types", + "comment": "Frame Rate and Bit Rate options in Video Export, Higher Resolution Support in Video Export, File Size Limit in PNG Export", + "type": "major" + } + ], + "packageName": "@adobe/ccweb-add-on-sdk-types" +} \ No newline at end of file diff --git a/packages/wxp-sdk-types/package.json b/packages/wxp-sdk-types/package.json index 970d342..3bcbc3a 100644 --- a/packages/wxp-sdk-types/package.json +++ b/packages/wxp-sdk-types/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/ccweb-add-on-sdk-types", - "version": "1.19.0", + "version": "1.20.0", "author": "Adobe", "license": "MIT", "description": "Type definitions for Adobe Creative Cloud Web Add-on SDK.", diff --git a/packages/wxp-sdk-types/ui/ui-sdk.d.ts b/packages/wxp-sdk-types/ui/ui-sdk.d.ts index 9cb812b..af34f25 100644 --- a/packages/wxp-sdk-types/ui/ui-sdk.d.ts +++ b/packages/wxp-sdk-types/ui/ui-sdk.d.ts @@ -451,6 +451,40 @@ export declare type AuthorizeWithOwnRedirectRequest = AuthorizationRequest & { state: string; }; +/** + * Bit rate in bits per second + */ +export declare enum BitRate { + /** + * 4 Mbps + */ + mbps4 = 4000000, + /** + * 8 Mbps + */ + mbps8 = 8000000, + /** + * 10 Mbps + */ + mbps10 = 10000000, + /** + * 12 Mbps + */ + mbps12 = 12000000, + /** + * 15 Mbps + */ + mbps15 = 15000000, + /** + * 25 Mbps + */ + mbps25 = 25000000, + /** + * 50 Mbps + */ + mbps50 = 50000000 +} + /** * Bleed for the page. * In printing, bleed is printing that goes beyond the edge of where the sheet will be trimmed. @@ -635,6 +669,8 @@ declare namespace Constants { RuntimeType, BleedUnit, VideoResolution, + FrameRate, + BitRate, EditorPanel, MediaTabs, ElementsTabs, @@ -643,6 +679,7 @@ declare namespace Constants { DeviceClass, PlatformType, ColorPickerPlacement, + FileSizeLimitUnit, AuthorizationStatus }; } @@ -1101,6 +1138,50 @@ export declare enum FieldType { text = "text" } +/** + * Units for the file size limit. + */ +export declare enum FileSizeLimitUnit { + /** + * Kilobyte + */ + KB = "KB", + /** + * Megabyte + */ + MB = "MB" +} + +/** + * Frame rate in frames per second + */ +export declare enum FrameRate { + /** + * 23.976 frames per second + */ + fps23_976 = 23.976, + /** + * 24 frames per second + */ + fps24 = 24, + /** + * 25 frames per second + */ + fps25 = 25, + /** + * 29.97 frames per second + */ + fps29_97 = 29.97, + /** + * 30 frames per second + */ + fps30 = 30, + /** + * 60 frames per second + */ + fps60 = 60 +} + /** * Type of input dialog data passed from the add-on. */ @@ -1276,6 +1357,15 @@ export declare interface Mp4RenditionOptions extends RenditionOptions { * Custom Resolution (in pixel) */ customResolution?: number; + + /** + * Frame rate in frames per second + */ + frameRate?: FrameRate; + /** + * Bit rate in mbps + */ + bitRate?: BitRate; } /** @@ -1578,6 +1668,15 @@ export declare interface PngRenditionOptions extends RenditionOptions { width?: number; height?: number; }; + + /** + * File size limit for the rendition + */ + fileSizeLimit?: number; + /** + * Unit of the file size limit + */ + fileSizeLimitUnit?: FileSizeLimitUnit; } /** @@ -1953,6 +2052,14 @@ export declare enum VideoResolution { * FHD 1080p video resolution */ fhd1080p = "1080p", + /** + * QHD 1440p video resolution + */ + qhd1440p = "1440p", + /** + * UHD 4K video resolution + */ + uhd2160p = "2160p", /** * Custom video resolution */