@entur/dropdown 5.0.15 → 5.0.16
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/styles.css +91 -91
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,96 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-multi-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.eds-multi-select__selected-items {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
position: relative;
|
|
11
|
-
flex: 1 1 0%;
|
|
12
|
-
padding: 0.25rem;
|
|
13
|
-
}
|
|
14
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
15
|
-
margin-left: 0.25rem;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
19
|
-
color: #181c56;
|
|
20
|
-
}
|
|
21
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
22
|
-
outline-offset: 0.125rem;
|
|
23
|
-
}
|
|
24
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
25
|
-
color: #181c56;
|
|
26
|
-
background: #ebebf1;
|
|
27
|
-
border: 0.0625rem solid #d1d4e3;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
30
|
-
background: #babbcf;
|
|
31
|
-
}
|
|
32
|
-
.eds-multi-select__input {
|
|
33
|
-
flex: 1 1;
|
|
34
|
-
min-height: 44px;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
.eds-multi-select__placeholder {
|
|
39
|
-
padding-left: 1.5rem;
|
|
40
|
-
line-height: 1.375rem;
|
|
41
|
-
font-size: 1rem;
|
|
42
|
-
}
|
|
43
|
-
.eds-checkbox-icon {
|
|
44
|
-
height: 1rem;
|
|
45
|
-
width: 1rem;
|
|
46
|
-
visibility: hidden;
|
|
47
|
-
}
|
|
48
|
-
.eds-checkbox-icon__path {
|
|
49
|
-
transform-origin: 50% 50%;
|
|
50
|
-
stroke-dasharray: 48;
|
|
51
|
-
stroke-dashoffset: 48;
|
|
52
|
-
stroke-width: 0.375rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.eds-multiselect {
|
|
56
|
-
position: relative;
|
|
57
|
-
}
|
|
58
|
-
.eds-multiselect__button {
|
|
59
|
-
text-overflow: ellipsis;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.eds-multiselect-checkbox {
|
|
63
|
-
display: inline-flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
position: relative;
|
|
67
|
-
margin-right: 0.75rem;
|
|
68
|
-
height: 1.25rem;
|
|
69
|
-
width: 1.25rem;
|
|
70
|
-
border: 0.125rem solid #181c56;
|
|
71
|
-
border-radius: 0.0625rem;
|
|
72
|
-
background-color: transparent;
|
|
73
|
-
color: #ffffff;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.eds-multiselect-checkbox--checked {
|
|
77
|
-
background-color: #181c56;
|
|
78
|
-
}
|
|
79
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
80
|
-
visibility: visible;
|
|
81
|
-
}
|
|
82
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
83
|
-
stroke: #ffffff;
|
|
84
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@keyframes stroke {
|
|
88
|
-
100% {
|
|
89
|
-
stroke-dashoffset: 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
/* DO NOT CHANGE!*/
|
|
93
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
3
|
.eds-dropdown__searchable-selected-item {
|
|
95
4
|
display: block;
|
|
96
5
|
font-size: 1rem;
|
|
@@ -187,6 +96,97 @@
|
|
|
187
96
|
}
|
|
188
97
|
/* DO NOT CHANGE!*/
|
|
189
98
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
99
|
+
.eds-multi-select {
|
|
100
|
+
position: relative;
|
|
101
|
+
}
|
|
102
|
+
.eds-multi-select__selected-items {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
position: relative;
|
|
107
|
+
flex: 1 1 0%;
|
|
108
|
+
padding: 0.25rem;
|
|
109
|
+
}
|
|
110
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
111
|
+
margin-left: 0.25rem;
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
}
|
|
114
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
115
|
+
color: #181c56;
|
|
116
|
+
}
|
|
117
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
118
|
+
outline-offset: 0.125rem;
|
|
119
|
+
}
|
|
120
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
121
|
+
color: #181c56;
|
|
122
|
+
background: #ebebf1;
|
|
123
|
+
border: 0.0625rem solid #d1d4e3;
|
|
124
|
+
}
|
|
125
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
126
|
+
background: #babbcf;
|
|
127
|
+
}
|
|
128
|
+
.eds-multi-select__input {
|
|
129
|
+
flex: 1 1;
|
|
130
|
+
min-height: 44px;
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
}
|
|
134
|
+
.eds-multi-select__placeholder {
|
|
135
|
+
padding-left: 1.5rem;
|
|
136
|
+
line-height: 1.375rem;
|
|
137
|
+
font-size: 1rem;
|
|
138
|
+
}
|
|
139
|
+
.eds-checkbox-icon {
|
|
140
|
+
height: 1rem;
|
|
141
|
+
width: 1rem;
|
|
142
|
+
visibility: hidden;
|
|
143
|
+
}
|
|
144
|
+
.eds-checkbox-icon__path {
|
|
145
|
+
transform-origin: 50% 50%;
|
|
146
|
+
stroke-dasharray: 48;
|
|
147
|
+
stroke-dashoffset: 48;
|
|
148
|
+
stroke-width: 0.375rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.eds-multiselect {
|
|
152
|
+
position: relative;
|
|
153
|
+
}
|
|
154
|
+
.eds-multiselect__button {
|
|
155
|
+
text-overflow: ellipsis;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.eds-multiselect-checkbox {
|
|
159
|
+
display: inline-flex;
|
|
160
|
+
justify-content: center;
|
|
161
|
+
align-items: center;
|
|
162
|
+
position: relative;
|
|
163
|
+
margin-right: 0.75rem;
|
|
164
|
+
height: 1.25rem;
|
|
165
|
+
width: 1.25rem;
|
|
166
|
+
border: 0.125rem solid #181c56;
|
|
167
|
+
border-radius: 0.0625rem;
|
|
168
|
+
background-color: transparent;
|
|
169
|
+
color: #ffffff;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.eds-multiselect-checkbox--checked {
|
|
173
|
+
background-color: #181c56;
|
|
174
|
+
}
|
|
175
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
176
|
+
visibility: visible;
|
|
177
|
+
}
|
|
178
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
179
|
+
stroke: #ffffff;
|
|
180
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@keyframes stroke {
|
|
184
|
+
100% {
|
|
185
|
+
stroke-dashoffset: 0;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
/* DO NOT CHANGE!*/
|
|
189
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
190
190
|
.eds-dropdown-wrapper {
|
|
191
191
|
position: relative;
|
|
192
192
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.16",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.70",
|
|
31
|
-
"@entur/button": "^3.1.
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
34
|
-
"@entur/icons": "^6.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
31
|
+
"@entur/button": "^3.1.7",
|
|
32
|
+
"@entur/chip": "^0.6.51",
|
|
33
|
+
"@entur/form": "^7.0.23",
|
|
34
|
+
"@entur/icons": "^6.11.0",
|
|
35
|
+
"@entur/loader": "^0.4.44",
|
|
36
36
|
"@entur/tokens": "^3.10.0",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
+
"@entur/tooltip": "^2.6.32",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^7.6.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "d1d2a7c625523120a8b4a7fca83794fd827104a4"
|
|
43
43
|
}
|