@orangelogic/orange-dam-content-browser-sdk 2.2.1-pr73904.3 → 2.2.1
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/GlobalConfigContext.d.ts +0 -2
- package/build/OrangeDAMContentBrowserSDK.min.js +13 -13
- package/build/OrangeDAMContentBrowserSDK.min.js.map +1 -1
- package/build/components/FormatDialog/FormatDialog.d.ts +0 -2
- package/build/components/Result/AssetCard/AssetCardWrapper.d.ts +0 -4
- package/build/index.d.ts +1 -7
- package/package.json +1 -1
- package/build/utils/dom.d.ts +0 -7
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { CtaTextTransform } from '@/GlobalConfigContext';
|
|
3
2
|
import { TrackingParameter, Transformation } from '@/types/assets';
|
|
4
3
|
import { Asset, AssetLinkInfo, AssetTransformationInfo, MediaType, Proxy } from '@/types/search';
|
|
5
4
|
type Props = {
|
|
@@ -16,7 +15,6 @@ type Props = {
|
|
|
16
15
|
}[]>;
|
|
17
16
|
availableProxies?: Proxy[];
|
|
18
17
|
ctaText?: string;
|
|
19
|
-
ctaTextTransform?: CtaTextTransform;
|
|
20
18
|
extensions: string[];
|
|
21
19
|
isFavorite?: boolean;
|
|
22
20
|
maxHeight?: number;
|
|
@@ -10,10 +10,6 @@ type Props = {
|
|
|
10
10
|
selectedAsset: Asset | null;
|
|
11
11
|
view: GridView;
|
|
12
12
|
width: number;
|
|
13
|
-
scrollAnchor: {
|
|
14
|
-
id: string;
|
|
15
|
-
offset: number;
|
|
16
|
-
} | null;
|
|
17
13
|
onItemSelect: (selectedAsset: Asset) => void;
|
|
18
14
|
onLoadMore: () => void;
|
|
19
15
|
onScroll: (e: MouseEvent) => void;
|
package/build/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './styles.css';
|
|
2
2
|
import { AppContextType } from '@/AppContext';
|
|
3
|
-
import {
|
|
3
|
+
import { ImageCardDisplayInfo } from '@/GlobalConfigContext';
|
|
4
4
|
import { Asset, Facet, Folder, GetContentRequest, GetFoldersRequest } from './types/search';
|
|
5
5
|
type OrangeDAMContentBrowser = {
|
|
6
6
|
help: () => void;
|
|
@@ -107,12 +107,6 @@ type OrangeDAMContentBrowser = {
|
|
|
107
107
|
* default to "Insert"
|
|
108
108
|
*/
|
|
109
109
|
ctaText?: string;
|
|
110
|
-
/**
|
|
111
|
-
* The text transform for the CTA text
|
|
112
|
-
* Available values: 'none' | 'uppercase' | 'lowercase' | 'capitalize'
|
|
113
|
-
* Default: 'capitalize'
|
|
114
|
-
*/
|
|
115
|
-
ctaTextTransform?: CtaTextTransform;
|
|
116
110
|
/**
|
|
117
111
|
* The persist mode for the content browser which will prevent the browser from closing after selecting asset
|
|
118
112
|
* default to false
|
package/package.json
CHANGED