@innovastudio/contentbuilder 1.4.9 → 1.4.10

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.9",
4
+ "version": "1.4.10",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -49826,7 +49826,7 @@ class Image$1 {
49826
49826
  </div>
49827
49827
 
49828
49828
  <div class="is-modal imageselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
49829
- <div style="max-width:800px;height:80%;padding:0;">
49829
+ <div style="max-width:${this.builder.imageSelectWidth};height:${this.builder.imageSelectHeight};padding:0;">
49830
49830
  <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
49831
49831
  </div>
49832
49832
  </div>
@@ -52763,7 +52763,7 @@ class Hyperlink {
52763
52763
  </div>
52764
52764
 
52765
52765
  <div class="is-modal fileselect" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
52766
- <div class="is-modal-content" style="max-width:800px;height:80%;padding:0;">
52766
+ <div class="is-modal-content" style="max-width:${this.builder.fileSelectWidth};height:${this.builder.fileSelectHeight};padding:0;">
52767
52767
  <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
52768
52768
  </div>
52769
52769
  </div>
@@ -54885,7 +54885,7 @@ class Video {
54885
54885
  </div>
54886
54886
 
54887
54887
  <div class="is-modal videoselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
54888
- <div style="max-width:800px;height:80%;padding:0;">
54888
+ <div style="max-width:${this.builder.videoSelectWidth};height:${this.builder.videoSelectHeight};padding:0;">
54889
54889
  <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
54890
54890
  </div>
54891
54891
  </div>
@@ -55122,7 +55122,7 @@ class Audio {
55122
55122
  </div>
55123
55123
 
55124
55124
  <div class="is-modal audioselect" style="z-index:10005" tabindex="-1" role="dialog" aria-modal="true" aria-hidden="true">
55125
- <div style="max-width:800px;height:80%;padding:0;">
55125
+ <div style="max-width:${this.builder.audioSelectWidth};height:${this.builder.audioSelectHeight};padding:0;">
55126
55126
  <iframe tabindex="0" style="width:100%;height:100%;border: none;display: block;" src="about:blank"></iframe>
55127
55127
  </div>
55128
55128
  </div>
@@ -76942,6 +76942,16 @@ class ContentBuilder {
76942
76942
  audioSelect: '',
76943
76943
  mediaSelect: '',
76944
76944
  // NEW: for image & video
76945
+ imageSelectWidth: '1024px',
76946
+ imageSelectHeight: '80vh',
76947
+ fileSelectWidth: '1024px',
76948
+ fileSelectHeight: '80vh',
76949
+ videoSelectWidth: '1024px',
76950
+ videoSelectHeight: '80vh',
76951
+ audioSelectWidth: '1024px',
76952
+ audioSelectHeight: '80vh',
76953
+ mediaSelectWidth: '1024px',
76954
+ mediaSelectHeight: '80vh',
76945
76955
  assetRefresh: false,
76946
76956
  // asset manager specified in imageSelect, fileSelect & videoSelect will always refreshed on click/open
76947
76957
  customTags: [],