@innovastudio/contentbuilder 1.5.191 → 1.5.192
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/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -6471,6 +6471,8 @@ class Util {
|
|
|
6471
6471
|
localStorage.removeItem('_command_lang');
|
|
6472
6472
|
localStorage.removeItem('_ai_panel_open');
|
|
6473
6473
|
localStorage.removeItem('_pagesize');
|
|
6474
|
+
localStorage.removeItem('chatPanelVisible');
|
|
6475
|
+
localStorage.removeItem('chatSettings');
|
|
6474
6476
|
|
|
6475
6477
|
//NOT USED
|
|
6476
6478
|
localStorage.removeItem('_scrollableeditor');
|
|
@@ -89419,8 +89421,13 @@ class CodeChat {
|
|
|
89419
89421
|
const savedState = localStorage.getItem('chatPanelVisible');
|
|
89420
89422
|
let isChatVisible = savedState === 'true'; // Only open if explicitly set to 'true'
|
|
89421
89423
|
if (!isChatVisible) {
|
|
89422
|
-
|
|
89423
|
-
|
|
89424
|
+
if (this.builder.startCodeChat) {
|
|
89425
|
+
modal.classList.remove('hidden');
|
|
89426
|
+
modal.removeAttribute('aria-hidden');
|
|
89427
|
+
} else {
|
|
89428
|
+
modal.classList.add('hidden');
|
|
89429
|
+
modal.setAttribute('aria-hidden', 'true');
|
|
89430
|
+
}
|
|
89424
89431
|
} else {
|
|
89425
89432
|
modal.classList.remove('hidden');
|
|
89426
89433
|
modal.removeAttribute('aria-hidden');
|
|
@@ -91045,7 +91052,7 @@ ${this.builder.html()}
|
|
|
91045
91052
|
banner.className = 'demo-banner';
|
|
91046
91053
|
banner.innerHTML = `
|
|
91047
91054
|
<div style="
|
|
91048
|
-
background: linear-gradient(135deg, #
|
|
91055
|
+
background: linear-gradient(135deg, #527cff 0%, #5563db 100%);
|
|
91049
91056
|
color: white;
|
|
91050
91057
|
padding: 12px 16px;
|
|
91051
91058
|
border-radius: 8px;
|