@orangelogic/orange-dam-content-browser-sdk 2.1.48-pr61281.8 → 2.1.49

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.
@@ -0,0 +1,3 @@
1
+ export declare const LeftPanelOpenIcon = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"#52525B\"\n >\n <path d=\"M500-640v320l160-160-160-160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z\" />\n </svg>";
2
+ export declare const LeftPanelCloseIcon = "<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 -960 960 960\"\n width=\"24px\"\n fill=\"#52525B\"\n >\n <path d=\"M660-320v-320L500-480l160 160ZM200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z\" />\n </svg>";
3
+ export declare const FORCE_OVERLAY_THRESHOLD = 650;
@@ -13,6 +13,9 @@ type Props = {
13
13
  useSession?: string;
14
14
  onFolderSelect: (selectedFolder: Folder) => void;
15
15
  onClose: () => void;
16
+ isPersistent: boolean;
17
+ onChangePersistent: (persistent: boolean) => void;
18
+ forceOverlay: boolean;
16
19
  };
17
20
  declare const Browser: FC<Props>;
18
21
  export default Browser;
@@ -1 +1,2 @@
1
1
  export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,2 +1,3 @@
1
1
  import { MediaType } from '@/types/search';
2
- export declare const getMediaIcon: (type?: MediaType) => "article" | "file" | "audio_file" | "album" | "widgets" | "perm_media" | "video_file" | "photo";
2
+ export declare const getMediaIcon: (type?: MediaType) => "article" | "audio_file" | "album" | "widgets" | "perm_media" | "video_file" | "photo" | "file";
3
+ export declare const constructIconDataUrl: (svgString: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangelogic/orange-dam-content-browser-sdk",
3
- "version": "2.1.48-pr61281.8",
3
+ "version": "2.1.49",
4
4
  "description": "OrangeDAM Content Browser SDK source code",
5
5
  "main": "build/OrangeDAMContentBrowserSDK.min.js",
6
6
  "types": "build/index.d.ts",
@@ -76,7 +76,7 @@
76
76
  "dependencies": {
77
77
  "@babel/core": "^7.16.0",
78
78
  "@craco/craco": "^7.1.0",
79
- "@orangelogic-private/design-system": "1.0.333",
79
+ "@orangelogic-private/design-system": "1.0.346",
80
80
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
81
81
  "@reduxjs/toolkit": "^1.9.5",
82
82
  "@svgr/webpack": "^8.1.0",