@innovastudio/contentbox 1.6.153 → 1.6.155
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/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.6.
|
4
|
+
"version": "1.6.155",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"types": "index.d.ts",
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"ws": "^8.13.0"
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
|
-
"@innovastudio/contentbuilder": "^1.5.
|
62
|
+
"@innovastudio/contentbuilder": "^1.5.151",
|
63
63
|
"js-beautify": "^1.14.0",
|
64
64
|
"sortablejs": "^1.15.2"
|
65
65
|
}
|
@@ -110365,6 +110365,7 @@ class Dictation {
|
|
110365
110365
|
if (localStorage.getItem('_dictation') !== null) {
|
110366
110366
|
if (localStorage.getItem('_dictation') === '1') {
|
110367
110367
|
this.modalCommand.classList.add('active');
|
110368
|
+
this.modalCommand.setAttribute('aria-hidden', 'false');
|
110368
110369
|
this.doOpen();
|
110369
110370
|
if (localStorage.getItem('_mic') !== null) {
|
110370
110371
|
if (localStorage.getItem('_mic') === '1') {
|
@@ -110613,7 +110614,11 @@ class Dictation {
|
|
110613
110614
|
});
|
110614
110615
|
const btnClose = this.modalCommand.querySelector('.is-modal-close');
|
110615
110616
|
btnClose.addEventListener('click', () => {
|
110617
|
+
if (document.activeElement && this.modalCommand.contains(document.activeElement)) {
|
110618
|
+
document.activeElement.blur();
|
110619
|
+
}
|
110616
110620
|
this.modalCommand.classList.remove('active');
|
110621
|
+
this.modalCommand.setAttribute('aria-hidden', 'true');
|
110617
110622
|
this.stopDictation();
|
110618
110623
|
localStorage.setItem('_dictation', '0');
|
110619
110624
|
});
|
@@ -131982,6 +131987,7 @@ class AnimateScroll {
|
|
131982
131987
|
|
131983
131988
|
this.builder.sidebar.closeSidebar();
|
131984
131989
|
this.modalAnimateScroll.classList.add('active');
|
131990
|
+
this.modalAnimateScroll.setAttribute('aria-hidden', 'false');
|
131985
131991
|
this.clickContent(); // clean UI for selection only
|
131986
131992
|
|
131987
131993
|
this.builder.doc.body.classList.add('selection-only');
|
@@ -131994,7 +132000,12 @@ class AnimateScroll {
|
|
131994
132000
|
}
|
131995
132001
|
|
131996
132002
|
close() {
|
131997
|
-
this.modalAnimateScroll.
|
132003
|
+
if (document.activeElement && this.modalAnimateScroll.contains(document.activeElement)) {
|
132004
|
+
document.activeElement.blur();
|
132005
|
+
}
|
132006
|
+
|
132007
|
+
this.modalAnimateScroll.classList.remove('active');
|
132008
|
+
this.modalAnimateScroll.setAttribute('aria-hidden', 'true'); // clean UI for selection only
|
131998
132009
|
|
131999
132010
|
this.builder.doc.body.classList.remove('selection-only');
|
132000
132011
|
document.body.classList.remove('selection-only');
|
@@ -134667,7 +134678,8 @@ class Timeline {
|
|
134667
134678
|
|
134668
134679
|
this.builder.sidebar.closeSidebar();
|
134669
134680
|
this.builder.animateScroll.modalAnimateScroll.classList.remove('active');
|
134670
|
-
this.modalTimeline.classList.add('active');
|
134681
|
+
this.modalTimeline.classList.add('active');
|
134682
|
+
this.modalTimeline.setAttribute('aria-hidden', 'false'); // this.clickContent();
|
134671
134683
|
// clean UI for selection only
|
134672
134684
|
|
134673
134685
|
this.builder.doc.body.classList.add('selection-only');
|
@@ -134680,7 +134692,12 @@ class Timeline {
|
|
134680
134692
|
}
|
134681
134693
|
|
134682
134694
|
close() {
|
134683
|
-
this.modalTimeline.
|
134695
|
+
if (document.activeElement && this.modalTimeline.contains(document.activeElement)) {
|
134696
|
+
document.activeElement.blur();
|
134697
|
+
}
|
134698
|
+
|
134699
|
+
this.modalTimeline.classList.remove('active');
|
134700
|
+
this.modalTimeline.setAttribute('aria-hidden', 'true'); // clean UI for selection only
|
134684
134701
|
|
134685
134702
|
this.builder.doc.body.classList.remove('selection-only');
|
134686
134703
|
document.body.classList.remove('selection-only');
|
@@ -157793,6 +157810,7 @@ class ContentBox {
|
|
157793
157810
|
videoSelect: '',
|
157794
157811
|
audioSelect: '',
|
157795
157812
|
mediaSelect: '',
|
157813
|
+
filePickerSize: 'medium',
|
157796
157814
|
// selectIcon: '<svg class="is-icon-flex"><use xlink:href="#ion-more"></use></svg>',
|
157797
157815
|
selectIcon: '<svg class="is-icon-flex" style="width:16px;height:16px;"><use xlink:href="#icon-folder"></use></svg>',
|
157798
157816
|
// NEW: for any other file select. Will be visible on hyperlink dialog & image dialog (image link)
|
@@ -161691,6 +161709,7 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
|
|
161691
161709
|
this.refreshUIStyle();
|
161692
161710
|
},
|
161693
161711
|
filePicker: this.settings.filePicker,
|
161712
|
+
filePickerSize: this.settings.filePickerSize,
|
161694
161713
|
fileSelect: this.settings.fileSelect,
|
161695
161714
|
imageSelect: this.settings.imageSelect,
|
161696
161715
|
videoSelect: this.settings.videoSelect,
|