@eric-emg/symphiq-components 1.2.115 → 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.
@@ -53838,19 +53838,43 @@ class SymphiqBusinessAnalysisDashboardComponent {
53838
53838
  this.embeddedScrollEffect = effect(() => {
53839
53839
  const scrollEvent = this.scrollEvent();
53840
53840
  const isEmbedded = this.embedded();
53841
+ console.log('[BusinessDashboard] embeddedScrollEffect triggered', {
53842
+ hasScrollEvent: !!scrollEvent,
53843
+ isEmbedded,
53844
+ scrollEventType: scrollEvent ? typeof scrollEvent : 'none'
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
+ }
53841
53850
  if (!scrollEvent || !isEmbedded) {
53842
53851
  return;
53843
53852
  }
53844
53853
  const detail = scrollEvent.detail;
53854
+ console.log('[BusinessDashboard] scrollEvent.detail', {
53855
+ hasDetail: !!detail,
53856
+ detail: detail
53857
+ });
53845
53858
  if (!detail) {
53859
+ console.log('[BusinessDashboard] Skipping - no detail in scrollEvent');
53846
53860
  return;
53847
53861
  }
53848
53862
  const scrollTop = detail.scrollTop || 0;
53849
53863
  const currentState = this.headerScrollService.isScrolled();
53864
+ console.log('[BusinessDashboard] Processing scroll', {
53865
+ scrollTop,
53866
+ currentState,
53867
+ collapseThreshold: this.COLLAPSE_THRESHOLD,
53868
+ expandThreshold: this.EXPAND_THRESHOLD,
53869
+ shouldCollapse: !currentState && scrollTop > this.COLLAPSE_THRESHOLD,
53870
+ shouldExpand: currentState && scrollTop < this.EXPAND_THRESHOLD
53871
+ });
53850
53872
  if (!currentState && scrollTop > this.COLLAPSE_THRESHOLD) {
53873
+ console.log('[BusinessDashboard] Setting isScrolled to TRUE (collapsing header)');
53851
53874
  this.headerScrollService.isScrolled.set(true);
53852
53875
  }
53853
53876
  else if (currentState && scrollTop < this.EXPAND_THRESHOLD) {
53877
+ console.log('[BusinessDashboard] Setting isScrolled to FALSE (expanding header)');
53854
53878
  this.headerScrollService.isScrolled.set(false);
53855
53879
  }
53856
53880
  const scrollElement = this.scrollElement();
@@ -54214,10 +54238,8 @@ class SymphiqBusinessAnalysisDashboardComponent {
54214
54238
  }
54215
54239
  }
54216
54240
  getContainerClasses() {
54217
- const isDark = this.viewMode() === ViewModeEnum.DARK;
54218
- const bgColor = isDark ? 'bg-slate-900' : 'bg-slate-50';
54219
54241
  const positioning = this.embedded() ? '' : 'relative';
54220
- return `${positioning} min-h-screen ${bgColor}`.trim();
54242
+ return `${positioning} min-h-screen`.trim();
54221
54243
  }
54222
54244
  getBackgroundClasses() {
54223
54245
  const positioning = this.embedded() ? 'absolute' : 'fixed';