@orangelogic/orange-dam-content-browser-sdk 2.2.3-41YQXP-beta-5 → 2.2.3-41YQXP-beta-7
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/build/App.d.ts +3 -0
- package/build/AppContext.d.ts +3 -0
- package/build/GlobalConfigContext.d.ts +1 -0
- package/build/OrangeDAMContentBrowserSDK.min.css +1 -1
- package/build/OrangeDAMContentBrowserSDK.min.js +205 -159
- package/build/components/content-browser/content-browser.d.ts +17 -0
- package/build/components/content-browser-asset-card/content-browser-asset-card.d.ts +4 -0
- package/build/components/content-browser-asset-preview/content-browser-asset-preview-video/content-browser-asset-preview-video.d.ts +3 -5
- package/build/components/content-browser-asset-preview/content-browser-asset-preview.d.ts +3 -0
- package/build/components/content-browser-browser/content-browser-browser.d.ts +1 -0
- package/build/components/content-browser-format-dialog/content-browser-format-dialog.d.ts +7 -1
- package/build/components/content-browser-grid/content-browser-grid.d.ts +1 -1
- package/build/content-browser.mjs +1354 -1176
- package/build/events/cx-content-browser-format-dialog-pin-asset-change.d.ts +9 -0
- package/build/events/cx-content-browser-pin-asset-change.d.ts +9 -0
- package/build/events/cx-content-browser-pin-asset-lookup.d.ts +14 -0
- package/build/events/index.d.ts +3 -0
- package/build/index.d.ts +16 -0
- package/build/index.mjs +1447 -1181
- package/build/tools/fetch-and-merge-assets.d.ts +6 -0
- package/package.json +2 -2
package/build/App.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ type Props = {
|
|
|
26
26
|
onTokenChanged?: (token: string) => void;
|
|
27
27
|
onSiteUrlChanged?: (siteUrl: string) => void;
|
|
28
28
|
assetsPickerRef?: Ref<AssetsPickerHandle>;
|
|
29
|
+
getPinnedState?: AppContextType['getPinnedState'];
|
|
30
|
+
onPinAsset?: AppContextType['onPinAsset'];
|
|
31
|
+
onUnpinAsset?: AppContextType['onUnpinAsset'];
|
|
29
32
|
};
|
|
30
33
|
export declare const App: FC<Props>;
|
|
31
34
|
export default App;
|
package/build/AppContext.d.ts
CHANGED
|
@@ -6,14 +6,17 @@ export interface CustomStorage {
|
|
|
6
6
|
}
|
|
7
7
|
export type AppContextType = {
|
|
8
8
|
extraFields: string[];
|
|
9
|
+
getPinnedState?: (recordId: string) => boolean;
|
|
9
10
|
onAssetAction: (action: string, recordID: string) => void;
|
|
10
11
|
onAssetSelected: (asset: GetAssetLinkResponse[]) => void | Promise<void>;
|
|
11
12
|
onAppAuthUrlCopied: (url: string) => Promise<void>;
|
|
12
13
|
onImageSelected: (image: GetAssetLinkResponse[]) => void;
|
|
14
|
+
onPinAsset?: (recordID: string) => Promise<void>;
|
|
13
15
|
onError: (errorMessage?: string, error?: Error) => void;
|
|
14
16
|
onClose: () => void;
|
|
15
17
|
onConnectClicked?: (url: string) => void;
|
|
16
18
|
onTokenChanged?: (token: string) => void;
|
|
19
|
+
onUnpinAsset?: (recordID: string) => Promise<void>;
|
|
17
20
|
customStorage?: CustomStorage;
|
|
18
21
|
};
|
|
19
22
|
export declare const AppContext: import("react").Context<AppContextType>;
|
|
@@ -30,6 +30,7 @@ export type GlobalConfigContextType = {
|
|
|
30
30
|
allowProxy: boolean;
|
|
31
31
|
allowFavorites: boolean;
|
|
32
32
|
allowPin: boolean;
|
|
33
|
+
allowFormatDialogPin?: boolean;
|
|
33
34
|
defaultGridView: string;
|
|
34
35
|
};
|
|
35
36
|
export declare const GlobalConfigContext: import("react").Context<GlobalConfigContextType>;
|