@descope/web-components-ui 1.0.82 → 1.0.83

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -1177,7 +1177,10 @@ class CheckboxInternal extends BaseInputClass$3 {
1177
1177
  super.init?.();
1178
1178
 
1179
1179
  forwardAttrs(this, this.checkbox, { includeAttrs: forwardAttributes$1 });
1180
- syncAttrs(this, this.checkbox, { includeAttrs: ['checked', 'focused', 'focus-ring'] });
1180
+ syncAttrs(this, this.checkbox, { includeAttrs: ['checked'] });
1181
+
1182
+ // we need it in order to set the focus ring and trigger validation on descope-checkbox
1183
+ this.handleFocusEventsDispatching([this.checkbox]);
1181
1184
  }
1182
1185
 
1183
1186
  getValidity() {
@@ -1222,7 +1225,7 @@ const customMixin$4 = (superclass) =>
1222
1225
  });
1223
1226
 
1224
1227
  forwardProps(this.inputElement, this, ['checked']);
1225
- syncAttrs(this, this.inputElement, { includeAttrs: ['checked', 'focused', 'focus-ring'] });
1228
+ syncAttrs(this, this.inputElement, { includeAttrs: ['checked'] });
1226
1229
  }
1227
1230
  };
1228
1231