@orangelogic/orange-dam-content-browser-sdk 2.1.47 → 2.1.48-pr61281.6
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 +1 -0
- package/build/OrangeDAMContentBrowserSDK.min.css +1 -1
- package/build/OrangeDAMContentBrowserSDK.min.css.map +1 -1
- package/build/OrangeDAMContentBrowserSDK.min.js +541 -451
- package/build/OrangeDAMContentBrowserSDK.min.js.map +1 -1
- package/build/components/Browser/Browser.constants.d.ts +3 -0
- package/build/components/Browser/Browser.d.ts +3 -0
- package/build/index.d.ts +5 -0
- package/build/page/Home/Home.styled.d.ts +1 -0
- package/build/utils/icon.d.ts +2 -1
- package/package.json +4 -3
|
@@ -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;
|
package/build/index.d.ts
CHANGED
|
@@ -160,6 +160,11 @@ type OrangeDAMContentBrowser = {
|
|
|
160
160
|
* The flag to toggle between loading external fonts from direct links and from internal CSS file
|
|
161
161
|
*/
|
|
162
162
|
loadExternalFonts?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* The default grid view to be used when showing asset (default Medium)
|
|
165
|
+
* Available values: small, medium, large
|
|
166
|
+
*/
|
|
167
|
+
defaultGridView?: string;
|
|
163
168
|
}) => Promise<void>;
|
|
164
169
|
close: () => void;
|
|
165
170
|
fetchAssets: (params: GetContentRequest) => Promise<{
|
|
@@ -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;
|
package/build/utils/icon.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { MediaType } from '@/types/search';
|
|
2
|
-
export declare const getMediaIcon: (type?: MediaType) => "article" | "
|
|
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.
|
|
3
|
+
"version": "2.1.48-pr61281.6",
|
|
4
4
|
"description": "OrangeDAM Content Browser SDK source code",
|
|
5
5
|
"main": "build/OrangeDAMContentBrowserSDK.min.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"eject": "react-scripts eject",
|
|
35
35
|
"format": "eslint --fix .",
|
|
36
36
|
"lint": "tsc --noEmit && eslint src/**/*.ts{,x}",
|
|
37
|
-
"cypress:test": "cypress run --component --browser chrome"
|
|
37
|
+
"cypress:test": "cypress run --component --browser chrome",
|
|
38
|
+
"publish:library": "./scripts/publishIfNeeded.mjs"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"@babel/preset-env": "^7.26.9",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"dependencies": {
|
|
76
77
|
"@babel/core": "^7.16.0",
|
|
77
78
|
"@craco/craco": "^7.1.0",
|
|
78
|
-
"@orangelogic-private/design-system": "1.0.
|
|
79
|
+
"@orangelogic-private/design-system": "1.0.346",
|
|
79
80
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
80
81
|
"@reduxjs/toolkit": "^1.9.5",
|
|
81
82
|
"@svgr/webpack": "^8.1.0",
|