@descope/web-components-ui 1.0.408 → 1.0.409

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.esm.js CHANGED
@@ -9773,6 +9773,10 @@ class RawRecaptcha extends BaseClass$1 {
9773
9773
  return;
9774
9774
  }
9775
9775
 
9776
+ this.toggleRecaptchaEles(enabled);
9777
+ }
9778
+
9779
+ toggleRecaptchaEles(enabled) {
9776
9780
  if (enabled) {
9777
9781
  this.recaptchaEle.style.display = '';
9778
9782
  this.mockRecaptchaEle.style.display = 'none';
@@ -9837,6 +9841,7 @@ class RawRecaptcha extends BaseClass$1 {
9837
9841
  this.mockRecaptchaEle.style.display = 'none';
9838
9842
  this.badge.classList.add('hidden');
9839
9843
  } else {
9844
+ this.toggleRecaptchaEles(this.enabled);
9840
9845
  this.badge.classList.remove('hidden');
9841
9846
  }
9842
9847
  }