@descope/web-components-ui 1.0.332 → 1.0.334

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -2700,11 +2700,19 @@ const customMixin$a = (superclass) =>
2700
2700
 
2701
2701
  this.baseElement.setAttribute('pattern', '^[\\w\\.\\%\\+\\-]+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$');
2702
2702
 
2703
- this.externalInput = this.handleExternalInput();
2703
+ if (!this.isNoExternalInput) {
2704
+ this.externalInput = this.handleExternalInput();
2704
2705
 
2705
- this.addEventListener('focus', () => {
2706
- this.externalInput.focus();
2707
- });
2706
+ this.addEventListener('focus', () => {
2707
+ this.externalInput.focus();
2708
+ });
2709
+ } else {
2710
+ this.setAttribute('autocomplete', this.getAutocompleteType());
2711
+ }
2712
+ }
2713
+
2714
+ get isNoExternalInput() {
2715
+ return this.getAttribute('no-external-input') === 'true';
2708
2716
  }
2709
2717
 
2710
2718
  forwardInputValue(source, target) {
@@ -2824,7 +2832,7 @@ const EmailFieldClass = compose(
2824
2832
  opacity: 0;
2825
2833
  }
2826
2834
 
2827
- vaadin-email-field > input:not(:placeholder-shown) {
2835
+ vaadin-email-field:not([no-external-input="true"]) > input:not(:placeholder-shown) {
2828
2836
  opacity: 0;
2829
2837
  }
2830
2838
 
@@ -8848,6 +8856,7 @@ const GridClass = compose(
8848
8856
  { ...rowSeparator, property: 'border-top-color' },
8849
8857
  ],
8850
8858
  resizeHandleColor: { ...resizeHandle, property: 'background-color' },
8859
+ hostDirection: { ...host$6, property: 'direction', fallback: 'ltr' },
8851
8860
  },
8852
8861
  }),
8853
8862
  draggableMixin,
@@ -13724,6 +13733,7 @@ const grid = {
13724
13733
 
13725
13734
  [vars$e.valueTextColor]: globalRefs$b.colors.surface.contrast,
13726
13735
  [vars$e.selectedBackgroundColor]: globalRefs$b.colors.surface.highlight,
13736
+ [vars$e.hostDirection]: globalRefs$b.direction,
13727
13737
 
13728
13738
  _bordered: {
13729
13739
  [vars$e.borderColor]: refs.borderColor,