@smilodon/core 1.0.14 → 1.0.15

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.cjs CHANGED
@@ -1003,10 +1003,11 @@ class EnhancedSelect extends HTMLElement {
1003
1003
  console.log('[EnhancedSelect] Options container created');
1004
1004
  this._liveRegion = this._createLiveRegion();
1005
1005
  console.log('[EnhancedSelect] Live region created');
1006
- this._assembleDOM();
1007
- console.log('[EnhancedSelect] DOM assembled');
1006
+ // Initialize styles BEFORE assembling DOM (order matters in shadow DOM)
1008
1007
  this._initializeStyles();
1009
1008
  console.log('[EnhancedSelect] Styles initialized');
1009
+ this._assembleDOM();
1010
+ console.log('[EnhancedSelect] DOM assembled');
1010
1011
  this._attachEventListeners();
1011
1012
  console.log('[EnhancedSelect] Event listeners attached');
1012
1013
  this._initializeObservers();