@everymatrix/general-input 1.22.2 → 1.22.10
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.
- package/dist/cjs/checkbox-group-input_10.cjs.entry.js +54 -26
- package/dist/cjs/index.cjs.js +16 -0
- package/dist/cjs/toggle-checkbox-input.cjs.entry.js +1 -1
- package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +5 -5
- package/dist/collection/components/checkbox-input/checkbox-input.css +5 -5
- package/dist/collection/components/date-input/date-input.css +18 -18
- package/dist/collection/components/email-input/email-input.css +20 -20
- package/dist/collection/components/number-input/number-input.css +18 -18
- package/dist/collection/components/password-input/password-input.css +24 -24
- package/dist/collection/components/radio-input/radio-input.css +4 -4
- package/dist/collection/components/select-input/select-input.css +16 -17
- package/dist/collection/components/tel-input/tel-input.css +19 -21
- package/dist/collection/components/text-input/text-input.css +20 -21
- package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +5 -5
- package/dist/collection/index.js +16 -0
- package/dist/components/active-mixin.js +1 -1
- package/dist/components/checkbox-group-input2.js +14 -8
- package/dist/components/checkbox-input2.js +1 -1
- package/dist/components/date-input2.js +2 -2
- package/dist/components/email-input2.js +1 -1
- package/dist/components/field-mixin.js +3 -3
- package/dist/components/general-input2.js +1 -1
- package/dist/components/index.js +17 -0
- package/dist/components/input-field-shared-styles.js +1 -1
- package/dist/components/number-input2.js +1 -1
- package/dist/components/password-input2.js +2 -2
- package/dist/components/radio-input2.js +1 -1
- package/dist/components/select-input2.js +1 -1
- package/dist/components/tel-input2.js +1 -1
- package/dist/components/text-input2.js +1 -1
- package/dist/components/vaadin-button.js +1 -1
- package/dist/components/vaadin-combo-box.js +31 -9
- package/dist/components/virtual-keyboard-controller.js +1 -1
- package/dist/esm/checkbox-group-input_10.entry.js +54 -26
- package/dist/esm/index.js +16 -1
- package/dist/esm/toggle-checkbox-input.entry.js +1 -1
- package/dist/general-input/general-input.esm.js +1 -1
- package/dist/general-input/index.esm.js +1 -0
- package/dist/general-input/{p-bcde6ed8.entry.js → p-1a8dc278.entry.js} +82 -82
- package/dist/general-input/p-d6a5269a.entry.js +1 -0
- package/package.json +1 -11
- package/dist/general-input/p-916a1319.entry.js +0 -1
|
@@ -46,7 +46,7 @@ class Lumo extends HTMLElement {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
static get version() {
|
|
49
|
-
return '24.2.
|
|
49
|
+
return '24.2.5';
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -9231,7 +9231,7 @@ const registered = new Set();
|
|
|
9231
9231
|
const ElementMixin = (superClass) =>
|
|
9232
9232
|
class VaadinElementMixin extends DirMixin(superClass) {
|
|
9233
9233
|
static get version() {
|
|
9234
|
-
return '24.2.
|
|
9234
|
+
return '24.2.5';
|
|
9235
9235
|
}
|
|
9236
9236
|
|
|
9237
9237
|
/** @protected */
|
|
@@ -12121,12 +12121,6 @@ const CheckedMixin = dedupingMixin(
|
|
|
12121
12121
|
const input = event.target;
|
|
12122
12122
|
|
|
12123
12123
|
this._toggleChecked(input.checked);
|
|
12124
|
-
|
|
12125
|
-
// Clicking the checkbox or radio-button in Safari
|
|
12126
|
-
// does not make it focused, so we do it manually.
|
|
12127
|
-
if (!isElementFocused(input)) {
|
|
12128
|
-
input.focus();
|
|
12129
|
-
}
|
|
12130
12124
|
}
|
|
12131
12125
|
|
|
12132
12126
|
/** @protected */
|
|
@@ -12670,6 +12664,18 @@ const CheckboxMixin = (superclass) =>
|
|
|
12670
12664
|
type: String,
|
|
12671
12665
|
value: '',
|
|
12672
12666
|
},
|
|
12667
|
+
|
|
12668
|
+
/**
|
|
12669
|
+
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
12670
|
+
*
|
|
12671
|
+
* @override
|
|
12672
|
+
* @protected
|
|
12673
|
+
*/
|
|
12674
|
+
tabindex: {
|
|
12675
|
+
type: Number,
|
|
12676
|
+
value: 0,
|
|
12677
|
+
reflectToAttribute: true,
|
|
12678
|
+
},
|
|
12673
12679
|
};
|
|
12674
12680
|
}
|
|
12675
12681
|
|
|
@@ -14325,7 +14331,7 @@ class CheckboxGroup extends FieldMixin(FocusMixin(DisabledMixin(ElementMixin(The
|
|
|
14325
14331
|
|
|
14326
14332
|
defineCustomElement(CheckboxGroup);
|
|
14327
14333
|
|
|
14328
|
-
const checkboxGroupInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkboxgroup{font-family:\"Roboto\";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color
|
|
14334
|
+
const checkboxGroupInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkboxgroup{font-family:\"Roboto\";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));line-height:14px}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}";
|
|
14329
14335
|
|
|
14330
14336
|
const CheckboxGroupInput = class {
|
|
14331
14337
|
constructor(hostRef) {
|
|
@@ -14438,7 +14444,7 @@ const CheckboxGroupInput = class {
|
|
|
14438
14444
|
};
|
|
14439
14445
|
CheckboxGroupInput.style = checkboxGroupInputCss;
|
|
14440
14446
|
|
|
14441
|
-
const checkboxInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:\"Roboto\";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--flex{display:flex;gap:5px}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color
|
|
14447
|
+
const checkboxInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:\"Roboto\";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--flex{display:flex;gap:5px}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));line-height:14px}.checkbox__label-text{font-size:16px}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}";
|
|
14442
14448
|
|
|
14443
14449
|
const CheckboxInput = class {
|
|
14444
14450
|
constructor(hostRef) {
|
|
@@ -29611,7 +29617,7 @@ function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
|
29611
29617
|
return date.getTime() < dateToCompare.getTime();
|
|
29612
29618
|
}
|
|
29613
29619
|
|
|
29614
|
-
const dateInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:\"Roboto\";font-style:normal}.date__wrapper{position:relative;width:100%;padding-top:26px}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color
|
|
29620
|
+
const dateInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:\"Roboto\";font-style:normal}.date__wrapper{position:relative;width:100%;padding-top:26px}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));position:absolute;top:0;left:0}.date__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){outline-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.date__input[invalid]::part(input-field){border-color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.date__input::part(input-field){font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:#cc0000b3}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}";
|
|
29615
29621
|
|
|
29616
29622
|
const DateInput = class {
|
|
29617
29623
|
constructor(hostRef) {
|
|
@@ -29741,7 +29747,7 @@ const DateInput = class {
|
|
|
29741
29747
|
};
|
|
29742
29748
|
DateInput.style = dateInputCss;
|
|
29743
29749
|
|
|
29744
|
-
const emailInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:\"Roboto\";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color
|
|
29750
|
+
const emailInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:\"Roboto\";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emfe-w-color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.email__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative}.email__input:focus{outline-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.email__input::placeholder{color:var(--emfe-w-color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}";
|
|
29745
29751
|
|
|
29746
29752
|
const EmailInput = class {
|
|
29747
29753
|
constructor(hostRef) {
|
|
@@ -29877,7 +29883,7 @@ const EmailInput = class {
|
|
|
29877
29883
|
};
|
|
29878
29884
|
EmailInput.style = emailInputCss;
|
|
29879
29885
|
|
|
29880
|
-
const numberInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:\"Roboto\";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color
|
|
29886
|
+
const numberInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:\"Roboto\";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emfe-w-color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.number__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}";
|
|
29881
29887
|
|
|
29882
29888
|
const NumberInput = class {
|
|
29883
29889
|
constructor(hostRef) {
|
|
@@ -30783,7 +30789,7 @@ class PasswordField extends TextField {
|
|
|
30783
30789
|
|
|
30784
30790
|
defineCustomElement(PasswordField);
|
|
30785
30791
|
|
|
30786
|
-
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{position:relative;width:100%}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color
|
|
30792
|
+
const passwordInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:\"Roboto\";font-style:normal}.password__wrapper{position:relative;width:100%}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emfe-w-color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.password__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none;margin-bottom:5px}.password__input[focused]::part(input-field){outline-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.password__input[invalid]::part(input-field){border-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.password__input::part(input-field){border-radius:5px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px;position:relative}.password__input>input:placeholder-shown{color:var(--emfe-w-color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emfe-w-color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0}.password__complexity--strength{display:flex;justify-content:space-evenly}.password__complexity--strength meter::-webkit-meter-optimum-value{background:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:\"\";position:absolute;width:25px;height:25px;border-top:1px solid var(--emfe-w-color-gray-150, #828282);border-right:0 solid var(--emfe-w-color-gray-150, #828282);border-left:1px solid var(--emfe-w-color-gray-150, #828282);border-bottom:0 solid var(--emfe-w-color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emfe-w-color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}";
|
|
30787
30793
|
|
|
30788
30794
|
const PasswordInput = class {
|
|
30789
30795
|
constructor(hostRef) {
|
|
@@ -31001,7 +31007,7 @@ const PasswordInput = class {
|
|
|
31001
31007
|
};
|
|
31002
31008
|
PasswordInput.style = passwordInputCss;
|
|
31003
31009
|
|
|
31004
|
-
const radioInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color
|
|
31010
|
+
const radioInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}";
|
|
31005
31011
|
|
|
31006
31012
|
const RadioInput = class {
|
|
31007
31013
|
constructor(hostRef) {
|
|
@@ -32647,7 +32653,9 @@ class IronListAdapter {
|
|
|
32647
32653
|
this.__preventElementUpdates = false;
|
|
32648
32654
|
} else {
|
|
32649
32655
|
// Already initialized, just update _virtualCount
|
|
32656
|
+
this._updateScrollerSize();
|
|
32650
32657
|
this._virtualCount = this.items.length;
|
|
32658
|
+
this._render();
|
|
32651
32659
|
}
|
|
32652
32660
|
|
|
32653
32661
|
// When reducing size while invisible, iron-list does not update items, so
|
|
@@ -34196,6 +34204,14 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34196
34204
|
observer: '_toggleElementChanged',
|
|
34197
34205
|
},
|
|
34198
34206
|
|
|
34207
|
+
/**
|
|
34208
|
+
* Set of items to be rendered in the dropdown.
|
|
34209
|
+
* @protected
|
|
34210
|
+
*/
|
|
34211
|
+
_dropdownItems: {
|
|
34212
|
+
type: Array,
|
|
34213
|
+
},
|
|
34214
|
+
|
|
34199
34215
|
/** @private */
|
|
34200
34216
|
_closeOnBlurIsPrevented: Boolean,
|
|
34201
34217
|
|
|
@@ -34213,8 +34229,8 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34213
34229
|
static get observers() {
|
|
34214
34230
|
return [
|
|
34215
34231
|
'_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)',
|
|
34216
|
-
'_openedOrItemsChanged(opened,
|
|
34217
|
-
'_updateScroller(_scroller,
|
|
34232
|
+
'_openedOrItemsChanged(opened, _dropdownItems, loading)',
|
|
34233
|
+
'_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, theme)',
|
|
34218
34234
|
];
|
|
34219
34235
|
}
|
|
34220
34236
|
|
|
@@ -34453,7 +34469,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34453
34469
|
this.dispatchEvent(new CustomEvent('vaadin-combo-box-dropdown-opened', { bubbles: true, composed: true }));
|
|
34454
34470
|
|
|
34455
34471
|
this._onOpened();
|
|
34456
|
-
} else if (wasOpened && this.
|
|
34472
|
+
} else if (wasOpened && this._dropdownItems && this._dropdownItems.length) {
|
|
34457
34473
|
this.close();
|
|
34458
34474
|
|
|
34459
34475
|
this.dispatchEvent(new CustomEvent('vaadin-combo-box-dropdown-closed', { bubbles: true, composed: true }));
|
|
@@ -34643,7 +34659,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34643
34659
|
/** @private */
|
|
34644
34660
|
_onArrowDown() {
|
|
34645
34661
|
if (this.opened) {
|
|
34646
|
-
const items = this.
|
|
34662
|
+
const items = this._dropdownItems;
|
|
34647
34663
|
if (items) {
|
|
34648
34664
|
this._focusedIndex = Math.min(items.length - 1, this._focusedIndex + 1);
|
|
34649
34665
|
this._prefillFocusedItemLabel();
|
|
@@ -34659,7 +34675,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34659
34675
|
if (this._focusedIndex > -1) {
|
|
34660
34676
|
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
34661
34677
|
} else {
|
|
34662
|
-
const items = this.
|
|
34678
|
+
const items = this._dropdownItems;
|
|
34663
34679
|
if (items) {
|
|
34664
34680
|
this._focusedIndex = items.length - 1;
|
|
34665
34681
|
}
|
|
@@ -34674,7 +34690,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34674
34690
|
/** @private */
|
|
34675
34691
|
_prefillFocusedItemLabel() {
|
|
34676
34692
|
if (this._focusedIndex > -1) {
|
|
34677
|
-
const focusedItem = this.
|
|
34693
|
+
const focusedItem = this._dropdownItems[this._focusedIndex];
|
|
34678
34694
|
this._inputElementValue = this._getItemLabel(focusedItem);
|
|
34679
34695
|
this._markAllSelectionRange();
|
|
34680
34696
|
}
|
|
@@ -34847,7 +34863,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34847
34863
|
/** @private */
|
|
34848
34864
|
_commitValue() {
|
|
34849
34865
|
if (this._focusedIndex > -1) {
|
|
34850
|
-
const focusedItem = this.
|
|
34866
|
+
const focusedItem = this._dropdownItems[this._focusedIndex];
|
|
34851
34867
|
if (this.selectedItem !== focusedItem) {
|
|
34852
34868
|
this.selectedItem = focusedItem;
|
|
34853
34869
|
}
|
|
@@ -34862,7 +34878,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34862
34878
|
}
|
|
34863
34879
|
} else {
|
|
34864
34880
|
// Try to find an item which label matches the input value.
|
|
34865
|
-
const items = [this.selectedItem, ...(this.
|
|
34881
|
+
const items = [this.selectedItem, ...(this._dropdownItems || [])];
|
|
34866
34882
|
const itemMatchingInputValue = items[this.__getItemIndexByLabel(items, this._inputElementValue)];
|
|
34867
34883
|
|
|
34868
34884
|
if (
|
|
@@ -35077,6 +35093,8 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35077
35093
|
|
|
35078
35094
|
/** @private */
|
|
35079
35095
|
_filteredItemsChanged(filteredItems, oldFilteredItems) {
|
|
35096
|
+
this._setDropdownItems(filteredItems);
|
|
35097
|
+
|
|
35080
35098
|
// Store the currently focused item if any. The focused index preserves
|
|
35081
35099
|
// in the case when more filtered items are loading but it is reset
|
|
35082
35100
|
// when the user types in a filter query.
|
|
@@ -35137,6 +35155,16 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35137
35155
|
}
|
|
35138
35156
|
}
|
|
35139
35157
|
|
|
35158
|
+
/**
|
|
35159
|
+
* Provide items to be rendered in the dropdown.
|
|
35160
|
+
* Override this method to show custom items.
|
|
35161
|
+
*
|
|
35162
|
+
* @protected
|
|
35163
|
+
*/
|
|
35164
|
+
_setDropdownItems(items) {
|
|
35165
|
+
this._dropdownItems = items;
|
|
35166
|
+
}
|
|
35167
|
+
|
|
35140
35168
|
/** @private */
|
|
35141
35169
|
_getItemElements() {
|
|
35142
35170
|
return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`));
|
|
@@ -35570,7 +35598,7 @@ class ComboBox extends ComboBoxDataProviderMixin(
|
|
|
35570
35598
|
|
|
35571
35599
|
defineCustomElement(ComboBox);
|
|
35572
35600
|
|
|
35573
|
-
const selectInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.select{font-family:\"Roboto\";font-style:normal}.select__wrapper{position:relative;width:100%}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color
|
|
35601
|
+
const selectInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.select{font-family:\"Roboto\";font-style:normal}.select__wrapper{position:relative;width:100%}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emfe-w-color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.select__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emfe-w-color-black, #000000)}.select__input vaadin-month-calendar::part(selected date){background-color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.select__input::part(input-field){border-radius:5px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);background-color:transparent;font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}";
|
|
35574
35602
|
|
|
35575
35603
|
const SelectInput = class {
|
|
35576
35604
|
constructor(hostRef) {
|
|
@@ -35707,7 +35735,7 @@ const SelectInput = class {
|
|
|
35707
35735
|
};
|
|
35708
35736
|
SelectInput.style = selectInputCss;
|
|
35709
35737
|
|
|
35710
|
-
const telInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:\"Roboto\";font-style:normal}.tel__wrapper{position:relative;width:100%}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color
|
|
35738
|
+
const telInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:\"Roboto\";font-style:normal}.tel__wrapper{position:relative;width:100%}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emfe-w-color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:stretch;border-radius:4px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.tel__wrapper--flex:focus-within{outline-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.tel__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.tel__prefix{width:120px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:19px}.tel__input{font-family:inherit;border-radius:5px;width:100%;height:44px;color:var(--emfe-w-color-black, #000000);background-color:transparent;border:none;padding:10px 20px;width:inherit;position:relative;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}";
|
|
35711
35739
|
|
|
35712
35740
|
const TelInput = class {
|
|
35713
35741
|
constructor(hostRef) {
|
|
@@ -35866,7 +35894,7 @@ const TelInput = class {
|
|
|
35866
35894
|
};
|
|
35867
35895
|
TelInput.style = telInputCss;
|
|
35868
35896
|
|
|
35869
|
-
const textInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:\"Roboto\";font-style:normal}.text__wrapper{position:relative;width:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color
|
|
35897
|
+
const textInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:\"Roboto\";font-style:normal}.text__wrapper{position:relative;width:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emfe-w-color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000))}.text__label--required::after{content:\"*\";font-family:inherit;color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.text__input:focus{outline-color:var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.text__input::placeholder{color:var(--emfe-w-color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}";
|
|
35870
35898
|
|
|
35871
35899
|
const TextInput = class {
|
|
35872
35900
|
constructor(hostRef) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function safeDecorator(fn) {
|
|
4
|
+
// eslint-disable-next-line func-names
|
|
5
|
+
return function (...args) {
|
|
6
|
+
try {
|
|
7
|
+
return fn.apply(this, args);
|
|
8
|
+
}
|
|
9
|
+
catch (error) {
|
|
10
|
+
if (error instanceof DOMException &&
|
|
11
|
+
error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
customElements.define = safeDecorator(customElements.define);
|
|
@@ -6,7 +6,7 @@ const index = require('./index-132a0774.js');
|
|
|
6
6
|
const locale_utils = require('./locale.utils-7665b010.js');
|
|
7
7
|
const tooltipIcon = require('./tooltipIcon-092a795f.js');
|
|
8
8
|
|
|
9
|
-
const toggleCheckboxInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:\"Roboto\";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color
|
|
9
|
+
const toggleCheckboxInputCss = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:\"Roboto\";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));line-height:14px}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}";
|
|
10
10
|
|
|
11
11
|
const ToggleCheckboxInput = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
font-family: inherit;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
font-size: 16px;
|
|
31
|
-
color: #
|
|
31
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
32
32
|
line-height: 14px;
|
|
33
33
|
}
|
|
34
34
|
.checkboxgroup__label-text {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
position: absolute;
|
|
39
39
|
top: calc(100% + 5px);
|
|
40
40
|
left: 0;
|
|
41
|
-
color: #
|
|
41
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
42
42
|
}
|
|
43
43
|
.checkboxgroup__tooltip-icon {
|
|
44
44
|
width: 16px;
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
position: absolute;
|
|
49
49
|
top: 0;
|
|
50
50
|
right: 0;
|
|
51
|
-
background-color: #FFFFFF;
|
|
52
|
-
border: 1px solid #
|
|
53
|
-
color: #
|
|
51
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
52
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
53
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
54
54
|
padding: 10px;
|
|
55
55
|
border-radius: 5px;
|
|
56
56
|
opacity: 0;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
font-family: inherit;
|
|
33
33
|
font-weight: 400;
|
|
34
34
|
font-size: 16px;
|
|
35
|
-
color: #
|
|
35
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
36
36
|
line-height: 14px;
|
|
37
37
|
}
|
|
38
38
|
.checkbox__label-text {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
position: absolute;
|
|
43
43
|
top: calc(100% + 5px);
|
|
44
44
|
left: 0;
|
|
45
|
-
color: #
|
|
45
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
46
46
|
}
|
|
47
47
|
.checkbox__tooltip-icon {
|
|
48
48
|
width: 16px;
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
position: absolute;
|
|
53
53
|
top: 0;
|
|
54
54
|
right: 20px;
|
|
55
|
-
background-color: #FFFFFF;
|
|
56
|
-
border: 1px solid #
|
|
57
|
-
color: #
|
|
55
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
56
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
57
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
58
58
|
padding: 10px;
|
|
59
59
|
border-radius: 5px;
|
|
60
60
|
opacity: 0;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
pointer-events: none;
|
|
20
20
|
}
|
|
21
21
|
.date__wrapper--autofilled .date__label {
|
|
22
|
-
color: #
|
|
22
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
23
23
|
}
|
|
24
24
|
.date__wrapper--autofilled .date__input::part(input-field) {
|
|
25
|
-
color: #
|
|
25
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
26
26
|
}
|
|
27
27
|
.date__label {
|
|
28
28
|
font-family: inherit;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
font-weight: 500;
|
|
31
31
|
font-size: 16px;
|
|
32
32
|
line-height: 20px;
|
|
33
|
-
color: #
|
|
33
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
34
34
|
position: absolute;
|
|
35
35
|
top: 0;
|
|
36
36
|
left: 0;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
.date__label--required::after {
|
|
39
39
|
content: "*";
|
|
40
40
|
font-family: inherit;
|
|
41
|
-
color: #
|
|
41
|
+
color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
42
42
|
margin-left: 2px;
|
|
43
43
|
}
|
|
44
44
|
.date__input {
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
position: relative;
|
|
48
48
|
}
|
|
49
49
|
.date__input[focused]::part(input-field) {
|
|
50
|
-
|
|
50
|
+
outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
51
51
|
}
|
|
52
52
|
.date__input[invalid]::part(input-field) {
|
|
53
|
-
border-color: #
|
|
53
|
+
border-color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
54
54
|
}
|
|
55
55
|
.date__input::part(input-field) {
|
|
56
|
-
border-radius: 4px;
|
|
57
|
-
background-color: #FFFFFF;
|
|
58
|
-
border: 2px solid #DEE1EE;
|
|
59
|
-
color: #2A2E3F;
|
|
60
|
-
border-radius: 4px;
|
|
61
|
-
background-color: transparent;
|
|
62
56
|
font-family: inherit;
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
border-radius: 5px;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 44px;
|
|
60
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
61
|
+
color: var(--emfe-w-color-black, #000000);
|
|
62
|
+
border-radius: 5px;
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
padding: 5px 15px;
|
|
65
65
|
font-size: 16px;
|
|
66
|
-
line-height:
|
|
66
|
+
line-height: 18px;
|
|
67
67
|
}
|
|
68
68
|
.date__error-message {
|
|
69
69
|
position: absolute;
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
position: absolute;
|
|
81
81
|
bottom: 35px;
|
|
82
82
|
right: 10px;
|
|
83
|
-
background-color: #FFFFFF;
|
|
84
|
-
border: 1px solid #
|
|
85
|
-
color: #
|
|
83
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
84
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
85
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
86
86
|
padding: 10px;
|
|
87
87
|
border-radius: 5px;
|
|
88
88
|
opacity: 0;
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.email__wrapper--autofilled .email__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.email__wrapper--autofilled .email__input {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.email__wrapper--flex {
|
|
27
27
|
display: flex;
|
|
@@ -36,42 +36,42 @@
|
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
font-size: 16px;
|
|
38
38
|
line-height: 20px;
|
|
39
|
-
color: #
|
|
39
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
40
40
|
}
|
|
41
41
|
.email__label--required::after {
|
|
42
42
|
content: "*";
|
|
43
43
|
font-family: inherit;
|
|
44
|
-
color: #
|
|
44
|
+
color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
45
45
|
margin-left: 2px;
|
|
46
46
|
}
|
|
47
47
|
.email__input {
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
background-color: transparent;
|
|
50
48
|
font-family: inherit;
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
border-radius: 5px;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 44px;
|
|
52
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
53
|
+
color: var(--emfe-w-color-black, #000000);
|
|
54
|
+
border-radius: 5px;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
padding: 5px 15px;
|
|
53
57
|
font-size: 16px;
|
|
54
|
-
line-height:
|
|
55
|
-
color: #2A2E3F;
|
|
56
|
-
padding: 10px 20px;
|
|
57
|
-
width: inherit;
|
|
58
|
+
line-height: 18px;
|
|
58
59
|
position: relative;
|
|
59
|
-
border: 2px solid #DEE1EE;
|
|
60
60
|
}
|
|
61
61
|
.email__input:focus {
|
|
62
|
-
outline-color: #
|
|
62
|
+
outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
63
63
|
}
|
|
64
64
|
.email__input--invalid {
|
|
65
|
-
border:
|
|
65
|
+
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
66
66
|
}
|
|
67
67
|
.email__input::placeholder {
|
|
68
|
-
color: #
|
|
68
|
+
color: var(--emfe-w-color-gray-150, #828282);
|
|
69
69
|
}
|
|
70
70
|
.email__error-message {
|
|
71
71
|
position: absolute;
|
|
72
72
|
top: calc(100% + 5px);
|
|
73
73
|
left: 0;
|
|
74
|
-
color: #
|
|
74
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
75
75
|
}
|
|
76
76
|
.email__tooltip-icon {
|
|
77
77
|
width: 16px;
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
position: absolute;
|
|
82
82
|
top: 0;
|
|
83
83
|
left: 20px;
|
|
84
|
-
background-color: #FFFFFF;
|
|
85
|
-
border: 1px solid #
|
|
86
|
-
color: #
|
|
84
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
85
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
86
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
87
87
|
padding: 10px;
|
|
88
88
|
border-radius: 5px;
|
|
89
89
|
opacity: 0;
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.number__wrapper--autofilled .number__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.number__wrapper--autofilled .number__input {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.number__wrapper--flex {
|
|
27
27
|
display: flex;
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
font-size: 16px;
|
|
38
38
|
line-height: 20px;
|
|
39
|
-
color: #
|
|
39
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
40
40
|
}
|
|
41
41
|
.number__label--required::after {
|
|
42
42
|
content: "*";
|
|
43
43
|
font-family: inherit;
|
|
44
|
-
color: #
|
|
44
|
+
color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
45
45
|
margin-left: 2px;
|
|
46
46
|
}
|
|
47
47
|
.number__input {
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
background-color: transparent;
|
|
50
48
|
font-family: inherit;
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
border-radius: 5px;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 44px;
|
|
52
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
53
|
+
color: var(--emfe-w-color-black, #000000);
|
|
54
|
+
border-radius: 5px;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
padding: 5px 15px;
|
|
53
57
|
font-size: 16px;
|
|
54
|
-
line-height:
|
|
55
|
-
color: #2A2E3F;
|
|
56
|
-
padding: 10px 20px;
|
|
57
|
-
width: inherit;
|
|
58
|
+
line-height: 18px;
|
|
58
59
|
position: relative;
|
|
59
|
-
border: 2px solid #DEE1EE;
|
|
60
60
|
/* Firefox */
|
|
61
61
|
-moz-appearance: textfield;
|
|
62
62
|
/* Chrome, Safari, Edge, Opera */
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
margin: 0;
|
|
70
70
|
}
|
|
71
71
|
.number__input--invalid {
|
|
72
|
-
border:
|
|
72
|
+
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
73
73
|
}
|
|
74
74
|
.number__input::placeholder {
|
|
75
75
|
color: #979797;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
position: absolute;
|
|
79
79
|
top: calc(100% + 5px);
|
|
80
80
|
left: 0;
|
|
81
|
-
color: #
|
|
81
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
82
82
|
}
|
|
83
83
|
.number__tooltip-icon {
|
|
84
84
|
width: 16px;
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
position: absolute;
|
|
89
89
|
top: 0;
|
|
90
90
|
left: 20px;
|
|
91
|
-
background-color: #FFFFFF;
|
|
92
|
-
border: 1px solid #
|
|
93
|
-
color: #
|
|
91
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
92
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
93
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
94
94
|
padding: 10px;
|
|
95
95
|
border-radius: 5px;
|
|
96
96
|
opacity: 0;
|