@eric-emg/symphiq-components 1.2.116 → 1.2.117
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.
|
@@ -53843,8 +53843,11 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
53843
53843
|
isEmbedded,
|
|
53844
53844
|
scrollEventType: scrollEvent ? typeof scrollEvent : 'none'
|
|
53845
53845
|
});
|
|
53846
|
+
if (isEmbedded && !scrollEvent) {
|
|
53847
|
+
console.warn('[BusinessDashboard] WARNING: embedded=true but scrollEvent is not provided. Parent must pass [scrollEvent] for header minimization to work in embedded mode.');
|
|
53848
|
+
return;
|
|
53849
|
+
}
|
|
53846
53850
|
if (!scrollEvent || !isEmbedded) {
|
|
53847
|
-
console.log('[BusinessDashboard] Skipping - no scrollEvent or not embedded');
|
|
53848
53851
|
return;
|
|
53849
53852
|
}
|
|
53850
53853
|
const detail = scrollEvent.detail;
|
|
@@ -54235,10 +54238,8 @@ class SymphiqBusinessAnalysisDashboardComponent {
|
|
|
54235
54238
|
}
|
|
54236
54239
|
}
|
|
54237
54240
|
getContainerClasses() {
|
|
54238
|
-
const isDark = this.viewMode() === ViewModeEnum.DARK;
|
|
54239
|
-
const bgColor = isDark ? 'bg-slate-900' : 'bg-slate-50';
|
|
54240
54241
|
const positioning = this.embedded() ? '' : 'relative';
|
|
54241
|
-
return `${positioning} min-h-screen
|
|
54242
|
+
return `${positioning} min-h-screen`.trim();
|
|
54242
54243
|
}
|
|
54243
54244
|
getBackgroundClasses() {
|
|
54244
54245
|
const positioning = this.embedded() ? 'absolute' : 'fixed';
|