@smilodon/core 1.0.12 → 1.0.13

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/dist/index.js CHANGED
@@ -960,6 +960,11 @@ class EnhancedSelect extends HTMLElement {
960
960
  this._errorMessage = '';
961
961
  this._boundArrowClick = null;
962
962
  console.log('[EnhancedSelect] Constructor called');
963
+ // WORKAROUND: Force display style on host element for Angular compatibility
964
+ // Angular's rendering seems to not apply :host styles correctly in some cases
965
+ this.style.display = 'block';
966
+ this.style.width = '100%';
967
+ console.log('[EnhancedSelect] Forced host display styles');
963
968
  this._shadow = this.attachShadow({ mode: 'open' });
964
969
  console.log('[EnhancedSelect] Shadow root attached:', this._shadow);
965
970
  this._uniqueId = `enhanced-select-${Math.random().toString(36).substr(2, 9)}`;