@descope/web-components-ui 1.0.329 → 1.0.331
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +21 -9
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +21 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +2 -2
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-button/ButtonClass.js +4 -1
- package/src/components/descope-email-field/EmailFieldClass.js +8 -3
- package/src/components/descope-password/PasswordClass.js +8 -4
- package/src/theme/components/inputWrapper.js +1 -1
package/dist/cjs/index.cjs.js
CHANGED
@@ -2717,7 +2717,10 @@ const ButtonClass = compose(
|
|
2717
2717
|
borderWidth: {},
|
2718
2718
|
|
2719
2719
|
verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
|
2720
|
-
horizontalPadding: [
|
2720
|
+
horizontalPadding: [
|
2721
|
+
{ property: 'padding-right', fallback: '0.875em' },
|
2722
|
+
{ property: 'padding-left', fallback: '0.875em' },
|
2723
|
+
],
|
2721
2724
|
|
2722
2725
|
labelTextColor: { property: 'color' },
|
2723
2726
|
iconColor: {
|
@@ -3358,7 +3361,7 @@ const [theme$1, refs, vars$H] = createHelperVars(
|
|
3358
3361
|
inputVerticalAlignment: 'flex-end',
|
3359
3362
|
inputTransformY: 'translateY(1.55em)',
|
3360
3363
|
inputTransition: 'all 75ms ease-in-out',
|
3361
|
-
marginInlineStart: '0',
|
3364
|
+
marginInlineStart: '0',
|
3362
3365
|
valueInputHeight: '1.5702em',
|
3363
3366
|
valueInputMarginBottom: '0.5em',
|
3364
3367
|
|
@@ -3632,6 +3635,14 @@ const customMixin$9 = (superclass) =>
|
|
3632
3635
|
}
|
3633
3636
|
});
|
3634
3637
|
|
3638
|
+
externalInput.addEventListener('input', (e) => {
|
3639
|
+
if (!e.target.value) {
|
3640
|
+
this.removeAttribute('has-value');
|
3641
|
+
} else {
|
3642
|
+
this.setAttribute('has-value', 'true');
|
3643
|
+
}
|
3644
|
+
});
|
3645
|
+
|
3635
3646
|
this.addEventListener('focus', (e) => {
|
3636
3647
|
e.preventDefault();
|
3637
3648
|
this.focus();
|
@@ -3863,10 +3874,6 @@ const PasswordClass = compose(
|
|
3863
3874
|
}
|
3864
3875
|
|
3865
3876
|
${inputFloatingLabelStyle()}
|
3866
|
-
|
3867
|
-
:host ::slotted(input) {
|
3868
|
-
display: none !important;
|
3869
|
-
}
|
3870
3877
|
|
3871
3878
|
::part(reveal-button) {
|
3872
3879
|
align-self: center;
|
@@ -4060,6 +4067,14 @@ const customMixin$8 = (superclass) =>
|
|
4060
4067
|
|
4061
4068
|
syncAttrs(origInput, externalInput, { includeAttrs: ['disabled', 'readonly', 'pattern'] });
|
4062
4069
|
|
4070
|
+
externalInput.addEventListener('input', (e) => {
|
4071
|
+
if (!e.target.value) {
|
4072
|
+
this.removeAttribute('has-value');
|
4073
|
+
} else {
|
4074
|
+
this.setAttribute('has-value', 'true');
|
4075
|
+
}
|
4076
|
+
});
|
4077
|
+
|
4063
4078
|
// append external input to component's DOM
|
4064
4079
|
this.appendChild(externalInput);
|
4065
4080
|
}
|
@@ -4116,9 +4131,6 @@ const EmailFieldClass = compose(
|
|
4116
4131
|
}
|
4117
4132
|
vaadin-email-field[label-type="floating"]:not([focused])[disabled] > input:placeholder-shown {
|
4118
4133
|
opacity: 0;
|
4119
|
-
}
|
4120
|
-
:host ::slotted(input) {
|
4121
|
-
display: none !important;
|
4122
4134
|
}
|
4123
4135
|
`,
|
4124
4136
|
excludeAttrsSync: ['tabindex'],
|