@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/cjs/index.cjs.js +15 -5
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +4 -4
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-email-field/EmailFieldClass.js +13 -5
- package/src/components/descope-grid/GridClass.js +1 -0
- package/src/theme/components/grid.js +1 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -4060,11 +4060,19 @@ const customMixin$8 = (superclass) =>
|
|
4060
4060
|
|
4061
4061
|
this.baseElement.setAttribute('pattern', '^[\\w\\.\\%\\+\\-]+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$');
|
4062
4062
|
|
4063
|
-
|
4063
|
+
if (!this.isNoExternalInput) {
|
4064
|
+
this.externalInput = this.handleExternalInput();
|
4064
4065
|
|
4065
|
-
|
4066
|
-
|
4067
|
-
|
4066
|
+
this.addEventListener('focus', () => {
|
4067
|
+
this.externalInput.focus();
|
4068
|
+
});
|
4069
|
+
} else {
|
4070
|
+
this.setAttribute('autocomplete', this.getAutocompleteType());
|
4071
|
+
}
|
4072
|
+
}
|
4073
|
+
|
4074
|
+
get isNoExternalInput() {
|
4075
|
+
return this.getAttribute('no-external-input') === 'true';
|
4068
4076
|
}
|
4069
4077
|
|
4070
4078
|
forwardInputValue(source, target) {
|
@@ -4184,7 +4192,7 @@ const EmailFieldClass = compose(
|
|
4184
4192
|
opacity: 0;
|
4185
4193
|
}
|
4186
4194
|
|
4187
|
-
vaadin-email-field > input:not(:placeholder-shown) {
|
4195
|
+
vaadin-email-field:not([no-external-input="true"]) > input:not(:placeholder-shown) {
|
4188
4196
|
opacity: 0;
|
4189
4197
|
}
|
4190
4198
|
|
@@ -10381,6 +10389,7 @@ const GridClass = compose(
|
|
10381
10389
|
{ ...rowSeparator, property: 'border-top-color' },
|
10382
10390
|
],
|
10383
10391
|
resizeHandleColor: { ...resizeHandle, property: 'background-color' },
|
10392
|
+
hostDirection: { ...host$6, property: 'direction', fallback: 'ltr' },
|
10384
10393
|
},
|
10385
10394
|
}),
|
10386
10395
|
draggableMixin,
|
@@ -10437,6 +10446,7 @@ const grid = {
|
|
10437
10446
|
|
10438
10447
|
[vars$e.valueTextColor]: globalRefs$b.colors.surface.contrast,
|
10439
10448
|
[vars$e.selectedBackgroundColor]: globalRefs$b.colors.surface.highlight,
|
10449
|
+
[vars$e.hostDirection]: globalRefs$b.direction,
|
10440
10450
|
|
10441
10451
|
_bordered: {
|
10442
10452
|
[vars$e.borderColor]: refs.borderColor,
|