@adobe/ccweb-add-on-sdk-types 1.5.1 → 1.6.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/package.json +1 -1
- package/ui/ui-sdk.d.ts +81 -1
package/package.json
CHANGED
package/ui/ui-sdk.d.ts
CHANGED
|
@@ -252,6 +252,11 @@ export declare interface AppThemeChangeEventData {
|
|
|
252
252
|
theme: UiTheme;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
+
/**
|
|
256
|
+
* Asset collection Id type.
|
|
257
|
+
*/
|
|
258
|
+
export declare type AssetCollectionId = `urn:aaid:sc:VA6C2:${string}`;
|
|
259
|
+
|
|
255
260
|
/**
|
|
256
261
|
* Request parameters to authorize a user using OAuth 2.0 PKCE based authorization.
|
|
257
262
|
*/
|
|
@@ -474,6 +479,8 @@ declare namespace Constants {
|
|
|
474
479
|
BleedUnit,
|
|
475
480
|
VideoResolution,
|
|
476
481
|
EditorPanel,
|
|
482
|
+
MediaTabs,
|
|
483
|
+
ElementsTabs,
|
|
477
484
|
PanelActionType,
|
|
478
485
|
AuthorizationStatus
|
|
479
486
|
};
|
|
@@ -679,6 +686,9 @@ export declare interface DragCompletionData {
|
|
|
679
686
|
|
|
680
687
|
export declare type DragPreviewCallback = (element: HTMLElement) => URL;
|
|
681
688
|
|
|
689
|
+
/**
|
|
690
|
+
* Express editor panels.
|
|
691
|
+
*/
|
|
682
692
|
export declare enum EditorPanel {
|
|
683
693
|
/**
|
|
684
694
|
* Editor search panel
|
|
@@ -718,6 +728,32 @@ export declare enum EditorPanel {
|
|
|
718
728
|
addOns = "addOns"
|
|
719
729
|
}
|
|
720
730
|
|
|
731
|
+
/**
|
|
732
|
+
* Tabs in editor Elements panel.
|
|
733
|
+
*/
|
|
734
|
+
export declare enum ElementsTabs {
|
|
735
|
+
/**
|
|
736
|
+
* Design assets tab.
|
|
737
|
+
*/
|
|
738
|
+
designAssets = "designAssets",
|
|
739
|
+
/**
|
|
740
|
+
* Backgrounds tab.
|
|
741
|
+
*/
|
|
742
|
+
backgrounds = "backgrounds",
|
|
743
|
+
/**
|
|
744
|
+
* Shapes assets tab.
|
|
745
|
+
*/
|
|
746
|
+
shapes = "shapes",
|
|
747
|
+
/**
|
|
748
|
+
* Icons tab.
|
|
749
|
+
*/
|
|
750
|
+
stockIcons = "stockIcons",
|
|
751
|
+
/**
|
|
752
|
+
* Charts tab.
|
|
753
|
+
*/
|
|
754
|
+
charts = "charts"
|
|
755
|
+
}
|
|
756
|
+
|
|
721
757
|
export declare interface Field {
|
|
722
758
|
/**
|
|
723
759
|
* Label
|
|
@@ -872,6 +908,24 @@ export declare interface MediaAttributes {
|
|
|
872
908
|
title: string;
|
|
873
909
|
}
|
|
874
910
|
|
|
911
|
+
/**
|
|
912
|
+
* Tabs in editor media panel.
|
|
913
|
+
*/
|
|
914
|
+
export declare enum MediaTabs {
|
|
915
|
+
/**
|
|
916
|
+
* Video tab.
|
|
917
|
+
*/
|
|
918
|
+
video = "video",
|
|
919
|
+
/**
|
|
920
|
+
* Audio tab.
|
|
921
|
+
*/
|
|
922
|
+
audio = "audio",
|
|
923
|
+
/**
|
|
924
|
+
* Photos tab.
|
|
925
|
+
*/
|
|
926
|
+
photos = "photos"
|
|
927
|
+
}
|
|
928
|
+
|
|
875
929
|
export declare interface Mp4RenditionOptions extends RenditionOptions {
|
|
876
930
|
/**
|
|
877
931
|
* mp4 rendition format
|
|
@@ -887,6 +941,24 @@ export declare interface Mp4RenditionOptions extends RenditionOptions {
|
|
|
887
941
|
customResolution?: number;
|
|
888
942
|
}
|
|
889
943
|
|
|
944
|
+
/**
|
|
945
|
+
* Navigation action that can be performed on Editor panels.
|
|
946
|
+
*/
|
|
947
|
+
export declare interface NavigateAction extends PanelAction {
|
|
948
|
+
/**
|
|
949
|
+
* Navigate to collection action type.
|
|
950
|
+
*/
|
|
951
|
+
type: PanelActionType.navigate;
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
*/
|
|
955
|
+
tab?: ElementsTabs | MediaTabs;
|
|
956
|
+
/**
|
|
957
|
+
* collectionId of the asset collection to navigate to.
|
|
958
|
+
*/
|
|
959
|
+
collectionId?: AssetCollectionId;
|
|
960
|
+
}
|
|
961
|
+
|
|
890
962
|
/**
|
|
891
963
|
* OAuth 2.0 middleware for handling user sign-in.
|
|
892
964
|
*/
|
|
@@ -982,11 +1054,18 @@ export declare interface PanelAction {
|
|
|
982
1054
|
type: PanelActionType;
|
|
983
1055
|
}
|
|
984
1056
|
|
|
1057
|
+
/**
|
|
1058
|
+
* Types of actions that can be performed on Editor panels.
|
|
1059
|
+
*/
|
|
985
1060
|
export declare enum PanelActionType {
|
|
986
1061
|
/**
|
|
987
1062
|
* Action type to perform search action on Editor panel.
|
|
988
1063
|
*/
|
|
989
|
-
search = "search"
|
|
1064
|
+
search = "search",
|
|
1065
|
+
/**
|
|
1066
|
+
* Action type to perform navigation within Editor panel.
|
|
1067
|
+
*/
|
|
1068
|
+
navigate = "navigate"
|
|
990
1069
|
}
|
|
991
1070
|
|
|
992
1071
|
/**
|
|
@@ -1420,3 +1499,4 @@ export declare enum VideoResolution {
|
|
|
1420
1499
|
}
|
|
1421
1500
|
|
|
1422
1501
|
export {};
|
|
1502
|
+
|