@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
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.password__wrapper--autofilled .password__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.password__wrapper--autofilled .password__input::part(input-field) {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.password__wrapper--flex {
|
|
27
27
|
display: flex;
|
|
@@ -36,12 +36,12 @@
|
|
|
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
|
.password__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
|
.password__input {
|
|
@@ -50,32 +50,32 @@
|
|
|
50
50
|
margin-bottom: 5px;
|
|
51
51
|
}
|
|
52
52
|
.password__input[focused]::part(input-field) {
|
|
53
|
-
|
|
53
|
+
outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
54
54
|
}
|
|
55
55
|
.password__input[invalid]::part(input-field) {
|
|
56
|
-
border-color: #
|
|
56
|
+
border-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
57
57
|
}
|
|
58
58
|
.password__input::part(input-field) {
|
|
59
|
-
border-radius:
|
|
59
|
+
border-radius: 5px;
|
|
60
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
61
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
62
|
+
color: var(--emfe-w-color-black, #000000);
|
|
60
63
|
background-color: transparent;
|
|
61
64
|
font-family: inherit;
|
|
62
65
|
font-style: normal;
|
|
63
66
|
font-weight: 300;
|
|
64
67
|
font-size: 16px;
|
|
65
68
|
line-height: 19px;
|
|
66
|
-
color: #2A2E3F;
|
|
67
|
-
width: 100%;
|
|
68
69
|
position: relative;
|
|
69
|
-
border: 2px solid #DEE1EE;
|
|
70
70
|
}
|
|
71
71
|
.password__input > input:placeholder-shown {
|
|
72
|
-
color: #
|
|
72
|
+
color: var(--emfe-w-color-gray-150, #828282);
|
|
73
73
|
}
|
|
74
74
|
.password__error-message {
|
|
75
75
|
position: absolute;
|
|
76
76
|
top: calc(100% + 5px);
|
|
77
77
|
left: 0;
|
|
78
|
-
color: #
|
|
78
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
79
79
|
}
|
|
80
80
|
.password__complexity {
|
|
81
81
|
position: relative;
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
justify-content: center;
|
|
87
87
|
margin-top: 20px;
|
|
88
88
|
font-weight: 300;
|
|
89
|
-
background: #FFFFFF;
|
|
90
|
-
-webkit-border-radius:
|
|
91
|
-
-moz-border-radius:
|
|
92
|
-
border-radius:
|
|
89
|
+
background: var(--emfe-w-color-white, #FFFFFF);
|
|
90
|
+
-webkit-border-radius: 5px;
|
|
91
|
+
-moz-border-radius: 5px;
|
|
92
|
+
border-radius: 5px;
|
|
93
93
|
height: 150px;
|
|
94
94
|
border: 1px solid #B0B0B0;
|
|
95
95
|
}
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
justify-content: space-evenly;
|
|
99
99
|
}
|
|
100
100
|
.password__complexity--strength meter::-webkit-meter-optimum-value {
|
|
101
|
-
background: #
|
|
101
|
+
background: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
102
102
|
}
|
|
103
103
|
.password__complexity--strength meter::-moz-meter-bar {
|
|
104
104
|
/* Firefox Pseudo Class */
|
|
@@ -118,16 +118,16 @@
|
|
|
118
118
|
position: absolute;
|
|
119
119
|
width: 25px;
|
|
120
120
|
height: 25px;
|
|
121
|
-
border-top: 1px solid #
|
|
122
|
-
border-right: 0 solid #
|
|
123
|
-
border-left: 1px solid #
|
|
124
|
-
border-bottom: 0 solid #
|
|
121
|
+
border-top: 1px solid var(--emfe-w-color-gray-150, #828282);
|
|
122
|
+
border-right: 0 solid var(--emfe-w-color-gray-150, #828282);
|
|
123
|
+
border-left: 1px solid var(--emfe-w-color-gray-150, #828282);
|
|
124
|
+
border-bottom: 0 solid var(--emfe-w-color-gray-150, #828282);
|
|
125
125
|
bottom: 92%;
|
|
126
126
|
left: 50%;
|
|
127
127
|
margin-left: -25px;
|
|
128
128
|
transform: rotate(45deg);
|
|
129
129
|
margin-top: -25px;
|
|
130
|
-
background-color: #FFFFFF;
|
|
130
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
131
131
|
}
|
|
132
132
|
.password__tooltip-icon {
|
|
133
133
|
width: 16px;
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
position: absolute;
|
|
138
138
|
top: 0;
|
|
139
139
|
left: 20px;
|
|
140
|
-
background-color: #FFFFFF;
|
|
141
|
-
border: 1px solid #
|
|
140
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
141
|
+
border: 1px solid var(--emfe-w-color-gray-150, #828282);
|
|
142
142
|
color: #2B2D3F;
|
|
143
143
|
padding: 10px;
|
|
144
144
|
border-radius: 5px;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
position: absolute;
|
|
19
19
|
top: calc(100% + 5px);
|
|
20
20
|
left: 0;
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
22
22
|
}
|
|
23
23
|
.radio__tooltip-icon {
|
|
24
24
|
position: absolute;
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
position: absolute;
|
|
30
30
|
bottom: 35px;
|
|
31
31
|
right: 10px;
|
|
32
|
-
background-color: #FFFFFF;
|
|
33
|
-
border: 1px solid #
|
|
34
|
-
color: #
|
|
32
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
33
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
34
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
35
35
|
padding: 10px;
|
|
36
36
|
border-radius: 5px;
|
|
37
37
|
opacity: 0;
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.select__wrapper--autofilled .select__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.select__wrapper--autofilled .select__input::part(input-field) {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.select__wrapper--flex {
|
|
27
27
|
display: flex;
|
|
@@ -36,12 +36,12 @@
|
|
|
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
|
.select__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
|
.select__input {
|
|
@@ -50,23 +50,22 @@
|
|
|
50
50
|
position: relative;
|
|
51
51
|
}
|
|
52
52
|
.select__input[focused]::part(input-field) {
|
|
53
|
-
border-color: #
|
|
53
|
+
border-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
54
54
|
}
|
|
55
55
|
.select__input[invalid]::part(input-field) {
|
|
56
|
-
border-color
|
|
56
|
+
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
57
57
|
}
|
|
58
58
|
.select__input vaadin-date-picker-overlay-content > vaadin-button {
|
|
59
|
-
color: #
|
|
59
|
+
color: var(--emfe-w-color-black, #000000);
|
|
60
60
|
}
|
|
61
61
|
.select__input vaadin-month-calendar::part(selected date) {
|
|
62
|
-
background-color: red;
|
|
62
|
+
background-color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
63
63
|
}
|
|
64
64
|
.select__input::part(input-field) {
|
|
65
|
-
border-radius:
|
|
66
|
-
background-color: #FFFFFF;
|
|
67
|
-
border:
|
|
68
|
-
color: #
|
|
69
|
-
border-radius: 4px;
|
|
65
|
+
border-radius: 5px;
|
|
66
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
67
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
68
|
+
color: var(--emfe-w-color-black, #000000);
|
|
70
69
|
background-color: transparent;
|
|
71
70
|
font-family: inherit;
|
|
72
71
|
font-style: normal;
|
|
@@ -78,7 +77,7 @@
|
|
|
78
77
|
position: absolute;
|
|
79
78
|
top: calc(100% + 5px);
|
|
80
79
|
left: 0;
|
|
81
|
-
color: #
|
|
80
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
82
81
|
}
|
|
83
82
|
.select__tooltip-icon {
|
|
84
83
|
width: 16px;
|
|
@@ -88,9 +87,9 @@
|
|
|
88
87
|
position: absolute;
|
|
89
88
|
top: 0;
|
|
90
89
|
left: 20px;
|
|
91
|
-
background-color: #FFFFFF;
|
|
92
|
-
border: 1px solid #
|
|
93
|
-
color: #
|
|
90
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
91
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
92
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
94
93
|
padding: 10px;
|
|
95
94
|
border-radius: 5px;
|
|
96
95
|
opacity: 0;
|
|
@@ -18,23 +18,23 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.tel__wrapper--autofilled .tel__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.tel__wrapper--autofilled .tel__input::part(input-field) {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.tel__wrapper--flex {
|
|
27
27
|
width: inherit;
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: stretch;
|
|
30
30
|
border-radius: 4px;
|
|
31
|
-
border:
|
|
31
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
32
32
|
}
|
|
33
33
|
.tel__wrapper--flex:focus-within {
|
|
34
|
-
|
|
34
|
+
outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
35
35
|
}
|
|
36
36
|
.tel__wrapper--flex--invalid {
|
|
37
|
-
border:
|
|
37
|
+
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
38
38
|
}
|
|
39
39
|
.tel__wrapper--flex-label {
|
|
40
40
|
display: flex;
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
font-weight: 500;
|
|
50
50
|
font-size: 16px;
|
|
51
51
|
line-height: 20px;
|
|
52
|
-
color: #
|
|
52
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
53
53
|
}
|
|
54
54
|
.tel__label--required::after {
|
|
55
55
|
content: "*";
|
|
56
56
|
font-family: inherit;
|
|
57
|
-
color: #
|
|
57
|
+
color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
58
58
|
margin-left: 2px;
|
|
59
59
|
}
|
|
60
60
|
.tel__prefix {
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
outline: none;
|
|
65
65
|
}
|
|
66
66
|
.tel__prefix::part(input-field) {
|
|
67
|
-
border-radius: 0
|
|
68
|
-
background-color: #
|
|
69
|
-
color: #
|
|
67
|
+
border-radius: 0 5px 5px 0;
|
|
68
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
69
|
+
color: var(--emfe-w-color-black, #000000);
|
|
70
70
|
font-family: inherit;
|
|
71
71
|
font-style: normal;
|
|
72
72
|
font-weight: 300;
|
|
@@ -74,14 +74,12 @@
|
|
|
74
74
|
line-height: 19px;
|
|
75
75
|
}
|
|
76
76
|
.tel__input {
|
|
77
|
-
border-radius: 4px;
|
|
78
|
-
background-color: transparent;
|
|
79
77
|
font-family: inherit;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
color:
|
|
78
|
+
border-radius: 5px;
|
|
79
|
+
width: 100%;
|
|
80
|
+
height: 44px;
|
|
81
|
+
color: var(--emfe-w-color-black, #000000);
|
|
82
|
+
background-color: transparent;
|
|
85
83
|
border: none;
|
|
86
84
|
padding: 10px 20px;
|
|
87
85
|
width: inherit;
|
|
@@ -101,7 +99,7 @@
|
|
|
101
99
|
position: absolute;
|
|
102
100
|
top: calc(100% + 5px);
|
|
103
101
|
left: 0;
|
|
104
|
-
color: #
|
|
102
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
105
103
|
}
|
|
106
104
|
.tel__tooltip-icon {
|
|
107
105
|
width: 16px;
|
|
@@ -111,9 +109,9 @@
|
|
|
111
109
|
position: absolute;
|
|
112
110
|
top: 0;
|
|
113
111
|
left: 20px;
|
|
114
|
-
background-color: #FFFFFF;
|
|
115
|
-
border: 1px solid #
|
|
116
|
-
color: #
|
|
112
|
+
background-color: var(--emfe-w-color-white, #FFFFFF);
|
|
113
|
+
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
114
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
117
115
|
padding: 10px;
|
|
118
116
|
border-radius: 5px;
|
|
119
117
|
opacity: 0;
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
pointer-events: none;
|
|
19
19
|
}
|
|
20
20
|
.text__wrapper--autofilled .text__label {
|
|
21
|
-
color: #
|
|
21
|
+
color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
|
|
22
22
|
}
|
|
23
23
|
.text__wrapper--autofilled .text__input::part(input-field) {
|
|
24
|
-
color: #
|
|
24
|
+
color: var(--emfe-w-color-black, #000000);
|
|
25
25
|
}
|
|
26
26
|
.text__wrapper--flex {
|
|
27
27
|
display: flex;
|
|
@@ -36,42 +36,41 @@
|
|
|
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
|
.text__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
|
.text__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
|
-
position: relative;
|
|
59
|
-
border: 2px solid #DEE1EE;
|
|
58
|
+
line-height: 18px;
|
|
60
59
|
}
|
|
61
60
|
.text__input:focus {
|
|
62
|
-
outline-color: #
|
|
61
|
+
outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
63
62
|
}
|
|
64
63
|
.text__input--invalid {
|
|
65
|
-
border:
|
|
64
|
+
border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
66
65
|
}
|
|
67
66
|
.text__input::placeholder {
|
|
68
|
-
color: #
|
|
67
|
+
color: var(--emfe-w-color-gray-150, #828282);
|
|
69
68
|
}
|
|
70
69
|
.text__error-message {
|
|
71
70
|
position: absolute;
|
|
72
71
|
top: calc(100% + 5px);
|
|
73
72
|
left: 0;
|
|
74
|
-
color: #
|
|
73
|
+
color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
|
|
75
74
|
}
|
|
76
75
|
.text__tooltip-icon {
|
|
77
76
|
width: 16px;
|
|
@@ -81,9 +80,9 @@
|
|
|
81
80
|
position: absolute;
|
|
82
81
|
top: 0;
|
|
83
82
|
left: 20px;
|
|
84
|
-
background-color: #FFFFFF;
|
|
85
|
-
border: 1px solid #
|
|
86
|
-
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));
|
|
87
86
|
padding: 10px;
|
|
88
87
|
border-radius: 5px;
|
|
89
88
|
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
|
.togglecheckbox__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
|
.togglecheckbox__tooltip-icon {
|
|
48
48
|
width: 16px;
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
position: absolute;
|
|
53
53
|
top: 0;
|
|
54
54
|
right: 0;
|
|
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;
|
package/dist/collection/index.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
+
function safeDecorator(fn) {
|
|
2
|
+
// eslint-disable-next-line func-names
|
|
3
|
+
return function (...args) {
|
|
4
|
+
try {
|
|
5
|
+
return fn.apply(this, args);
|
|
6
|
+
}
|
|
7
|
+
catch (error) {
|
|
8
|
+
if (error instanceof DOMException &&
|
|
9
|
+
error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
throw error;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
customElements.define = safeDecorator(customElements.define);
|
|
1
17
|
export * from './components';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { t as translate, a as tooltipIconSvg } from './tooltipIcon.js';
|
|
3
|
-
import { r as registerStyles, i, d as dedupingMixin, D as DelegateStateMixin, a as DisabledMixin, I as InputMixin,
|
|
3
|
+
import { r as registerStyles, i, d as dedupingMixin, D as DelegateStateMixin, a as DisabledMixin, I as InputMixin, L as LabelMixin, b as DelegateFocusMixin, c as InputController, e as LabelledInputController, h as html, T as TooltipController, f as defineCustomElement$1, E as ElementMixin, g as ThemableMixin, P as PolymerElement, j as requiredField, k as helper, F as FieldMixin, l as FocusMixin, S as SlotObserver } from './field-mixin.js';
|
|
4
4
|
import { A as ActiveMixin } from './active-mixin.js';
|
|
5
5
|
|
|
6
6
|
registerStyles(
|
|
@@ -206,12 +206,6 @@ const CheckedMixin = dedupingMixin(
|
|
|
206
206
|
const input = event.target;
|
|
207
207
|
|
|
208
208
|
this._toggleChecked(input.checked);
|
|
209
|
-
|
|
210
|
-
// Clicking the checkbox or radio-button in Safari
|
|
211
|
-
// does not make it focused, so we do it manually.
|
|
212
|
-
if (!isElementFocused(input)) {
|
|
213
|
-
input.focus();
|
|
214
|
-
}
|
|
215
209
|
}
|
|
216
210
|
|
|
217
211
|
/** @protected */
|
|
@@ -265,6 +259,18 @@ const CheckboxMixin = (superclass) =>
|
|
|
265
259
|
type: String,
|
|
266
260
|
value: '',
|
|
267
261
|
},
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
265
|
+
*
|
|
266
|
+
* @override
|
|
267
|
+
* @protected
|
|
268
|
+
*/
|
|
269
|
+
tabindex: {
|
|
270
|
+
type: Number,
|
|
271
|
+
value: 0,
|
|
272
|
+
reflectToAttribute: true,
|
|
273
|
+
},
|
|
268
274
|
};
|
|
269
275
|
}
|
|
270
276
|
|
|
@@ -925,7 +931,7 @@ class CheckboxGroup extends FieldMixin(FocusMixin(DisabledMixin(ElementMixin(The
|
|
|
925
931
|
|
|
926
932
|
defineCustomElement$1(CheckboxGroup);
|
|
927
933
|
|
|
928
|
-
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
|
|
934
|
+
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}";
|
|
929
935
|
|
|
930
936
|
const CheckboxGroupInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
931
937
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { t as translate, a as tooltipIconSvg } from './tooltipIcon.js';
|
|
3
3
|
|
|
4
|
-
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
|
|
4
|
+
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}";
|
|
5
5
|
|
|
6
6
|
const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { t as translate$1, a as tooltipIconSvg } from './tooltipIcon.js';
|
|
3
3
|
import { i as inputFieldShared, a as isFirefox, I as InputConstraintsMixin, b as isIOS, c as InputControlMixin, d as inputFieldShared$1 } from './input-field-shared-styles.js';
|
|
4
|
-
import { i, r as registerStyles, h as html,
|
|
4
|
+
import { i, r as registerStyles, h as html, f as defineCustomElement$1, n as DirMixin, g as ThemableMixin, P as PolymerElement, o as Debouncer$1, t as timeOut, p as generateUniqueId, d as dedupingMixin, q as PropertyEffects, w as wrap, s as strictTemplatePolicy, u as legacyWarnings, v as legacyOptimizations, x as useShadow, y as suppressTemplateNotifications, z as timeOut$1, A as microTask, B as matches, C as translate, l as FocusMixin, G as SlotController, H as ControllerMixin, b as DelegateFocusMixin, K as KeyboardMixin, c as InputController, e as LabelledInputController, T as TooltipController, E as ElementMixin } from './field-mixin.js';
|
|
5
5
|
import { m as menuOverlay, P as PositionMixin, O as OverlayMixin, o as overlayStyles, a as afterNextRender, b as OverlayClassMixin, V as VirtualKeyboardController, h as hideOthers } from './virtual-keyboard-controller.js';
|
|
6
6
|
import './vaadin-button.js';
|
|
7
7
|
import { a as addListener, s as setTouchAction } from './active-mixin.js';
|
|
@@ -11392,7 +11392,7 @@ function isBefore(dirtyDate, dirtyDateToCompare) {
|
|
|
11392
11392
|
return date.getTime() < dateToCompare.getTime();
|
|
11393
11393
|
}
|
|
11394
11394
|
|
|
11395
|
-
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
|
|
11395
|
+
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}";
|
|
11396
11396
|
|
|
11397
11397
|
const DateInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
11398
11398
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { t as translate, a as tooltipIconSvg } from './tooltipIcon.js';
|
|
3
3
|
|
|
4
|
-
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
|
|
4
|
+
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}";
|
|
5
5
|
|
|
6
6
|
const EmailInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -38,7 +38,7 @@ class Lumo extends HTMLElement {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
static get version() {
|
|
41
|
-
return '24.2.
|
|
41
|
+
return '24.2.5';
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -9065,7 +9065,7 @@ const registered = new Set();
|
|
|
9065
9065
|
const ElementMixin = (superClass) =>
|
|
9066
9066
|
class VaadinElementMixin extends DirMixin(superClass) {
|
|
9067
9067
|
static get version() {
|
|
9068
|
-
return '24.2.
|
|
9068
|
+
return '24.2.5';
|
|
9069
9069
|
}
|
|
9070
9070
|
|
|
9071
9071
|
/** @protected */
|
|
@@ -12423,4 +12423,4 @@ const FieldMixin = (superclass) =>
|
|
|
12423
12423
|
}
|
|
12424
12424
|
};
|
|
12425
12425
|
|
|
12426
|
-
export {
|
|
12426
|
+
export { microTask$1 as A, matches as B, translate as C, DelegateStateMixin as D, ElementMixin as E, FieldMixin as F, SlotController as G, ControllerMixin as H, InputMixin as I, getDeepActiveElement as J, KeyboardMixin as K, LabelMixin as L, getFocusableElements as M, isElementFocused as N, getAncestorRootNodes as O, PolymerElement as P, TabindexMixin as Q, idlePeriod as R, SlotObserver as S, TooltipController as T, animationFrame as U, ValidateMixin as V, flush as W, enqueueDebouncer as X, DisabledMixin as a, DelegateFocusMixin as b, InputController as c, dedupingMixin as d, LabelledInputController as e, defineCustomElement as f, ThemableMixin as g, html as h, i$1 as i, requiredField as j, helper as k, FocusMixin as l, microTask as m, DirMixin as n, Debouncer as o, generateUniqueId as p, PropertyEffects as q, registerStyles as r, strictTemplatePolicy as s, timeOut as t, legacyWarnings as u, legacyOptimizations as v, wrap as w, useShadow as x, suppressTemplateNotifications as y, timeOut$1 as z };
|
|
@@ -11,7 +11,7 @@ import { d as defineCustomElement$4 } from './select-input2.js';
|
|
|
11
11
|
import { d as defineCustomElement$3 } from './tel-input2.js';
|
|
12
12
|
import { d as defineCustomElement$2 } from './text-input2.js';
|
|
13
13
|
|
|
14
|
-
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
|
|
14
|
+
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}";
|
|
15
15
|
|
|
16
16
|
const ToggleCheckboxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
17
17
|
constructor() {
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
1
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerStyles, i,
|
|
1
|
+
import { r as registerStyles, i, f as defineCustomElement, g as ThemableMixin, n as DirMixin, P as PolymerElement, h as html, j as requiredField, k as helper, d as dedupingMixin, I as InputMixin, K as KeyboardMixin, D as DelegateStateMixin, V as ValidateMixin, b as DelegateFocusMixin, F as FieldMixin, o as Debouncer, t as timeOut } from './field-mixin.js';
|
|
2
2
|
|
|
3
3
|
registerStyles(
|
|
4
4
|
'vaadin-input-container',
|