@descope/web-components-ui 1.0.379 → 1.0.381

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.
@@ -14941,9 +14941,6 @@ class RawDateFieldClass extends BaseInputClass {
14941
14941
  this.baseElement.noCloseOnOutsideClick = true;
14942
14942
  this.baseElement.renderer = this.#popoverRenderer.bind(this);
14943
14943
 
14944
- // override vaadin's constructed stylesheet which hides the host element
14945
- overrideConstructedStylesheet(this.baseElement);
14946
-
14947
14944
  // block popover events from focusing/blurring the text-field
14948
14945
  this.baseElement.addEventListener('click', (e) => {
14949
14946
  e.preventDefault();
@@ -14955,6 +14952,8 @@ class RawDateFieldClass extends BaseInputClass {
14955
14952
  // popoverRenderer should run only once, when the popover is first rendering.
14956
14953
  if (!root.firstChild) {
14957
14954
  root.appendChild(this.#getPopoverContent());
14955
+ // override vaadin's constructed stylesheet which hides the host element
14956
+ overrideConstructedStylesheet(this.baseElement);
14958
14957
 
14959
14958
  // To prevent position flickering of the dialog we set opacity to 0
14960
14959
  root.style.setProperty('opacity', '0');