@innovastudio/contentbuilder 1.5.96 → 1.5.98
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 +1 -1
- package/public/contentbuilder/contentbuilder.css +2 -0
- package/public/contentbuilder/contentbuilder.esm.js +21 -57
- package/public/contentbuilder/contentbuilder.min.js +3 -3
- package/public/contentbuilder/themes/colored-blue.css +25 -4
- package/public/contentbuilder/themes/colored-blue2.css +25 -4
- package/public/contentbuilder/themes/colored-blue3.css +25 -4
- package/public/contentbuilder/themes/colored-blue4.css +25 -4
- package/public/contentbuilder/themes/colored-blue5.css +25 -4
- package/public/contentbuilder/themes/colored-blue6.css +25 -4
- package/public/contentbuilder/themes/colored-blue7.css +25 -4
- package/public/contentbuilder/themes/colored-blue8.css +25 -4
- package/public/contentbuilder/themes/colored-dark.css +30 -4
- package/public/contentbuilder/themes/colored-darkblue.css +25 -4
- package/public/contentbuilder/themes/colored-gray.css +25 -4
- package/public/contentbuilder/themes/colored-green.css +25 -4
- package/public/contentbuilder/themes/colored-green2.css +25 -4
- package/public/contentbuilder/themes/colored-green3.css +25 -4
- package/public/contentbuilder/themes/colored-green4.css +25 -4
- package/public/contentbuilder/themes/colored-green5.css +25 -4
- package/public/contentbuilder/themes/colored-magenta.css +25 -4
- package/public/contentbuilder/themes/colored-orange.css +25 -4
- package/public/contentbuilder/themes/colored-orange2.css +25 -4
- package/public/contentbuilder/themes/colored-orange3.css +25 -4
- package/public/contentbuilder/themes/colored-pink.css +25 -4
- package/public/contentbuilder/themes/colored-pink2.css +25 -4
- package/public/contentbuilder/themes/colored-pink3.css +25 -4
- package/public/contentbuilder/themes/colored-pink4.css +25 -4
- package/public/contentbuilder/themes/colored-purple.css +25 -4
- package/public/contentbuilder/themes/colored-purple2.css +25 -4
- package/public/contentbuilder/themes/colored-red.css +25 -4
- package/public/contentbuilder/themes/colored-red2.css +25 -4
- package/public/contentbuilder/themes/colored-red3.css +25 -4
- package/public/contentbuilder/themes/colored-red4.css +25 -4
- package/public/contentbuilder/themes/colored-red5.css +25 -4
- package/public/contentbuilder/themes/colored-yellow.css +25 -4
- package/public/contentbuilder/themes/colored-yellow2.css +25 -4
- package/public/contentbuilder/themes/dark-blue.css +30 -4
- package/public/contentbuilder/themes/dark-blue2.css +30 -4
- package/public/contentbuilder/themes/dark-blue3.css +30 -4
- package/public/contentbuilder/themes/dark-gray.css +30 -4
- package/public/contentbuilder/themes/dark-pink.css +30 -4
- package/public/contentbuilder/themes/dark-purple.css +30 -4
- package/public/contentbuilder/themes/dark-red.css +30 -4
- package/public/contentbuilder/themes/dark.css +30 -4
- package/public/contentbuilder/themes/light-blue.css +25 -4
- package/public/contentbuilder/themes/light-blue2.css +25 -4
- package/public/contentbuilder/themes/light-blue3.css +25 -4
- package/public/contentbuilder/themes/light-cyan.css +25 -4
- package/public/contentbuilder/themes/light-gray.css +25 -4
- package/public/contentbuilder/themes/light-gray2.css +25 -4
- package/public/contentbuilder/themes/light-gray3.css +25 -4
- package/public/contentbuilder/themes/light-green.css +25 -4
- package/public/contentbuilder/themes/light-pink.css +25 -4
- package/public/contentbuilder/themes/light-pink2.css +25 -4
- package/public/contentbuilder/themes/light-purple.css +25 -4
- package/public/contentbuilder/themes/light-purple2.css +25 -4
- package/public/contentbuilder/themes/light-red.css +25 -4
- package/public/contentbuilder/themes/light-yellow.css +25 -4
- package/public/contentbuilder/themes/light-yellow2.css +25 -4
- package/readme.txt +1 -1
package/package.json
CHANGED
@@ -4371,6 +4371,8 @@ button:focus-visible {
|
|
4371
4371
|
text-align: center;
|
4372
4372
|
border-top: transparent 46px solid !important;
|
4373
4373
|
outline: none;
|
4374
|
+
scrollbar-width: thin;
|
4375
|
+
scrollbar-color: #aaa #f0f0f0;
|
4374
4376
|
}
|
4375
4377
|
#_cbhtml .is-design-list > div,
|
4376
4378
|
.is-ui .is-design-list > div {
|
@@ -86,67 +86,21 @@ class Snippets {
|
|
86
86
|
outline: transparent 1px solid;
|
87
87
|
}
|
88
88
|
|
89
|
-
|
90
|
-
|
91
89
|
/* Scrollbar for modal */
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
scrollbar-width: thin;
|
96
|
-
scrollbar-color: rgb(78 78 78 / 62%) auto;
|
97
|
-
}
|
98
|
-
.dark *::-webkit-scrollbar {
|
99
|
-
width: 12px;
|
100
|
-
}
|
101
|
-
.dark *::-webkit-scrollbar-track {
|
102
|
-
background: transparent;
|
90
|
+
.is-design-list {
|
91
|
+
scrollbar-width: thin;
|
92
|
+
scrollbar-color: #aaa #f0f0f0;
|
103
93
|
}
|
104
|
-
.dark
|
105
|
-
background-color:rgb(78 78 78 / 62%);
|
106
|
-
}
|
107
|
-
|
108
|
-
.colored-dark * {
|
94
|
+
.dark .is-design-list {
|
109
95
|
scrollbar-width: thin;
|
110
|
-
scrollbar-color:
|
111
|
-
|
112
|
-
.colored-dark *::-webkit-scrollbar {
|
113
|
-
width: 12px;
|
114
|
-
}
|
115
|
-
.colored-dark *::-webkit-scrollbar-track {
|
116
|
-
background: transparent;
|
96
|
+
scrollbar-color: #696969 #a1a1a1;
|
97
|
+
/* scrollbar-color: rgba(255, 255, 255, 0.3) rgb(80, 80, 80); */
|
117
98
|
}
|
118
|
-
.colored-dark
|
119
|
-
background-color:rgb(100, 100, 100);
|
120
|
-
}
|
121
|
-
|
122
|
-
.colored * {
|
99
|
+
.colored-dark .is-design-list {
|
123
100
|
scrollbar-width: thin;
|
124
|
-
scrollbar-color:
|
125
|
-
}
|
126
|
-
.colored *::-webkit-scrollbar {
|
127
|
-
width: 12px;
|
101
|
+
scrollbar-color: #7a7a7a #bebebe;
|
128
102
|
}
|
129
|
-
.colored *::-webkit-scrollbar-track {
|
130
|
-
background: transparent;
|
131
|
-
}
|
132
|
-
.colored *::-webkit-scrollbar-thumb {
|
133
|
-
background-color: rgba(0, 0, 0, 0.4);
|
134
|
-
}
|
135
103
|
|
136
|
-
.light * {
|
137
|
-
scrollbar-width: thin;
|
138
|
-
scrollbar-color: rgba(0, 0, 0, 0.4) auto;
|
139
|
-
}
|
140
|
-
.light *::-webkit-scrollbar {
|
141
|
-
width: 12px;
|
142
|
-
}
|
143
|
-
.light *::-webkit-scrollbar-track {
|
144
|
-
background: transparent;
|
145
|
-
}
|
146
|
-
.light *::-webkit-scrollbar-thumb {
|
147
|
-
background-color: rgba(0, 0, 0, 0.4);
|
148
|
-
}
|
149
|
-
|
150
104
|
svg {
|
151
105
|
fill: ${this.builder.styleSnippetColor};
|
152
106
|
}
|
@@ -5021,9 +4975,10 @@ class Util {
|
|
5021
4975
|
const dom = this.dom;
|
5022
4976
|
pop.style.display = '';
|
5023
4977
|
dom.removeClass(pop, 'active');
|
5024
|
-
|
5025
|
-
|
5026
|
-
//
|
4978
|
+
|
4979
|
+
// this.builder.doc.activeElement.blur();
|
4980
|
+
// document.activeElement.blur();
|
4981
|
+
this.builder.doc.body.focus();
|
5027
4982
|
pop.setAttribute('aria-hidden', true);
|
5028
4983
|
|
5029
4984
|
// pop.removeEventListener('keydown', this.handlePopKeyDown);
|
@@ -49994,6 +49949,12 @@ class Module {
|
|
49994
49949
|
moduleModal.querySelector('div:not(.is-modal-overlay)').style.width = '90vw';
|
49995
49950
|
moduleModal.querySelector('div:not(.is-modal-overlay)').style.maxWidth = w;
|
49996
49951
|
moduleModal.querySelector('div:not(.is-modal-overlay)').style.height = h;
|
49952
|
+
var themeLight = module.getAttribute('data-theme-light');
|
49953
|
+
if (themeLight || modulename === 'form-builder') {
|
49954
|
+
moduleModal.classList.add('theme-light');
|
49955
|
+
} else {
|
49956
|
+
moduleModal.classList.remove('theme-light');
|
49957
|
+
}
|
49997
49958
|
let btnClose = moduleModal.querySelector('.is-modal-close');
|
49998
49959
|
dom.addEventListener(btnClose, 'click', () => {
|
49999
49960
|
util.hideModal(moduleModal);
|
@@ -51757,6 +51718,8 @@ class RowTool {
|
|
51757
51718
|
constructor(builder) {
|
51758
51719
|
this.builder = builder;
|
51759
51720
|
this.grid = new Grid(builder); // a must (also for ContentBox's command.js)
|
51721
|
+
|
51722
|
+
this.renderRowMore();
|
51760
51723
|
}
|
51761
51724
|
|
51762
51725
|
// Render row & column tools on each row
|
@@ -53651,6 +53614,7 @@ class ColumnTool {
|
|
53651
53614
|
});
|
53652
53615
|
});
|
53653
53616
|
}
|
53617
|
+
this.renderColMore();
|
53654
53618
|
}
|
53655
53619
|
renderColMore() {
|
53656
53620
|
const builder = this.builder;
|