@descope/web-components-ui 3.26.3 → 3.26.5

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.
@@ -9392,7 +9392,7 @@ class RawPasswordStrength extends createBaseClass$1({
9392
9392
  }
9393
9393
 
9394
9394
  // we need to have the option to take the zxcvbn from outside the component
9395
- getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore; }).then(module => module.default);
9395
+ getCalcScoreFn = () => Promise.resolve().then(function () { return calcScore$1; }).then(module => module.default);
9396
9396
 
9397
9397
  #score = -1;
9398
9398
 
@@ -20878,6 +20878,7 @@ const PasswordClass = compose$1(
20878
20878
  ${useHostExternalPadding(PasswordClass.cssVarList)}
20879
20879
  ${resetInputCursor('vaadin-password-field')}
20880
20880
  ${resetInputLabelPosition('vaadin-password-field')}
20881
+ ${resetInputAutoFill('vaadin-password-field', PasswordClass.cssVarList)}
20881
20882
 
20882
20883
  vaadin-password-field {
20883
20884
  width: 100%;
@@ -31219,7 +31220,7 @@ class RawDateFieldClass extends BaseInputClass$2 {
31219
31220
  return { valueMissing: true };
31220
31221
  }
31221
31222
 
31222
- if (this.isCountersOutOfRange || this.isInvalidDate()) {
31223
+ if (!this.isCountersEmpty && (this.isCountersOutOfRange || this.isInvalidDate())) {
31223
31224
  return { patternMismatch: true };
31224
31225
  }
31225
31226
 
@@ -34070,11 +34071,14 @@ const options = {
34070
34071
  ...zxcvbnEnPackage__namespace.dictionary,
34071
34072
  },
34072
34073
  };
34073
- core.zxcvbnOptions.setOptions(options);
34074
34074
 
34075
- var calcScore = /*#__PURE__*/Object.freeze({
34075
+ const scorer = new core.ZxcvbnFactory(options);
34076
+
34077
+ var calcScore = (password) => scorer.check(password);
34078
+
34079
+ var calcScore$1 = /*#__PURE__*/Object.freeze({
34076
34080
  __proto__: null,
34077
- default: core.zxcvbn,
34081
+ default: calcScore,
34078
34082
  options: options
34079
34083
  });
34080
34084