@eric-emg/symphiq-components 1.2.66 → 1.2.67

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.
@@ -11117,8 +11117,16 @@ class TooltipContainerComponent {
11117
11117
  const content = this.tooltipContent();
11118
11118
  return this.tooltipType() === 'narrative' ? content : null;
11119
11119
  }, ...(ngDevMode ? [{ debugName: "narrativeContent" }] : []));
11120
- this.tooltipLeft = computed(() => this.calculateLeft(), ...(ngDevMode ? [{ debugName: "tooltipLeft" }] : []));
11121
- this.tooltipTop = computed(() => this.calculateTop(), ...(ngDevMode ? [{ debugName: "tooltipTop" }] : []));
11120
+ this.tooltipLeft = computed(() => {
11121
+ const left = this.calculateLeft();
11122
+ console.log('📍 [FINAL tooltipLeft]', left);
11123
+ return left;
11124
+ }, ...(ngDevMode ? [{ debugName: "tooltipLeft" }] : []));
11125
+ this.tooltipTop = computed(() => {
11126
+ const top = this.calculateTop();
11127
+ console.log('📍 [FINAL tooltipTop]', top);
11128
+ return top;
11129
+ }, ...(ngDevMode ? [{ debugName: "tooltipTop" }] : []));
11122
11130
  this.shouldCenter = computed(() => {
11123
11131
  const rect = this.targetRect();
11124
11132
  if (!rect)
@@ -11163,8 +11171,33 @@ class TooltipContainerComponent {
11163
11171
  this.containerClass = computed(() => {
11164
11172
  const position = this.tooltipPosition();
11165
11173
  if (position === 'top' || position === 'bottom' || position === 'auto') {
11166
- return this.shouldCenter() ? 'transform -translate-x-1/2' : '';
11174
+ const shouldCenter = this.shouldCenter();
11175
+ const classes = shouldCenter ? 'transform -translate-x-1/2' : '';
11176
+ const left = this.tooltipLeft();
11177
+ const rect = this.targetRect();
11178
+ const bounds = this.viewportBounds();
11179
+ console.log('═══════════════════════════════════════');
11180
+ console.log('🎨 [FINAL RENDER STATE]');
11181
+ console.log('═══════════════════════════════════════');
11182
+ console.log('Position:', position);
11183
+ console.log('Should Center:', shouldCenter);
11184
+ console.log('CSS Classes:', classes || '(none)');
11185
+ console.log('style.left will be:', left + 'px');
11186
+ console.log('Target rect.left:', rect?.left);
11187
+ console.log('Target center:', rect ? rect.left + rect.width / 2 : 'N/A');
11188
+ console.log('Viewport bounds:', bounds);
11189
+ console.log('');
11190
+ console.log('EXPECTED RESULT:');
11191
+ if (shouldCenter) {
11192
+ console.log('✅ Tooltip LEFT edge at', left, '+ transform -50% = CENTER at', left);
11193
+ }
11194
+ else {
11195
+ console.log('❌ Tooltip LEFT edge at', left, '(no centering transform)');
11196
+ }
11197
+ console.log('═══════════════════════════════════════');
11198
+ return classes;
11167
11199
  }
11200
+ console.log('📦 [containerClass] no centering');
11168
11201
  return '';
11169
11202
  }, ...(ngDevMode ? [{ debugName: "containerClass" }] : []));
11170
11203
  this.contentClass = computed(() => this.isLightMode()