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

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/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<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangelogic/orange-dam-content-browser-sdk",
3
- "version": "2.1.47",
3
+ "version": "2.1.48-pr61281.8",
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",