@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.
@@ -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 { CtaTextTransform, ImageCardDisplayInfo } from '@/GlobalConfigContext';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangelogic/orange-dam-content-browser-sdk",
3
- "version": "2.2.1-pr73904.3",
3
+ "version": "2.2.1",
4
4
  "description": "OrangeDAM Content Browser SDK source code",
5
5
  "main": "build/OrangeDAMContentBrowserSDK.min.js",
6
6
  "types": "build/index.d.ts",
@@ -1,7 +0,0 @@
1
- declare function captureAnchor(container: HTMLElement, options: {
2
- itemSelector: string;
3
- }): {
4
- id: string;
5
- offset: number;
6
- } | undefined;
7
- export { captureAnchor };