@entur/dropdown 2.2.4 → 3.0.1

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 CHANGED
@@ -148,7 +148,14 @@
148
148
  }
149
149
  .eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
150
150
  stroke: #ffffff;
151
- animation: stroke ease-in-out 0.2s 0.1s forwards;
151
+ -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
152
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
153
+ }
154
+
155
+ @-webkit-keyframes stroke {
156
+ 100% {
157
+ stroke-dashoffset: 0;
158
+ }
152
159
  }
153
160
 
154
161
  @keyframes stroke {
@@ -170,14 +177,6 @@
170
177
  color: #181c56;
171
178
  }/* DO NOT CHANGE!*/
172
179
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
173
- .eds-inline-spinner {
174
- align-items: center;
175
- display: flex;
176
- justify-content: center;
177
- height: 100%;
178
- width: 100%;
179
- }/* DO NOT CHANGE!*/
180
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
181
180
  .eds-dropdown__searchable-selected-item {
182
181
  display: block;
183
182
  font-size: 1rem;
@@ -188,6 +187,31 @@
188
187
  overflow-x: hidden;
189
188
  text-overflow: ellipsis;
190
189
  white-space: nowrap;
190
+ }
191
+ .eds-dropdown__searchable-selected-item__wrapper {
192
+ max-width: 65%;
193
+ }
194
+
195
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
196
+ -moz-transition: none;
197
+ transition: none;
198
+ }
199
+
200
+ .eds-form-control.eds-dropdown__input:-ms-input-placeholder {
201
+ -ms-transition: none;
202
+ transition: none;
203
+ }
204
+
205
+ .eds-form-control.eds-dropdown__input::placeholder {
206
+ transition: none;
207
+ }/* DO NOT CHANGE!*/
208
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
209
+ .eds-inline-spinner {
210
+ align-items: center;
211
+ display: flex;
212
+ justify-content: center;
213
+ height: 100%;
214
+ width: 100%;
191
215
  }/* DO NOT CHANGE!*/
192
216
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
193
217
  .eds-dropdown-wrapper {
@@ -201,6 +225,14 @@
201
225
  align-items: center;
202
226
  }
203
227
 
228
+ .eds-dropdown__input::-moz-placeholder {
229
+ color: #656782;
230
+ }
231
+
232
+ .eds-dropdown__input:-ms-input-placeholder {
233
+ color: #656782;
234
+ }
235
+
204
236
  .eds-dropdown__input::placeholder {
205
237
  color: #656782;
206
238
  }
@@ -244,7 +276,9 @@
244
276
  }/* DO NOT CHANGE!*/
245
277
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
246
278
  .eds-dropdown__toggle-button {
247
- appearance: none;
279
+ -webkit-appearance: none;
280
+ -moz-appearance: none;
281
+ appearance: none;
248
282
  background: none;
249
283
  border: none;
250
284
  border-radius: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "2.2.4",
3
+ "version": "3.0.1",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.42",
31
- "@entur/chip": "^0.4.24",
32
- "@entur/form": "^5.2.3",
33
- "@entur/icons": "^3.5.0",
31
+ "@entur/chip": "^0.5.2",
32
+ "@entur/form": "^5.3.1",
33
+ "@entur/icons": "^4.0.0",
34
34
  "@entur/loader": "^0.4.5",
35
35
  "@entur/tokens": "^3.3.1",
36
- "@entur/tooltip": "^2.5.3",
36
+ "@entur/tooltip": "^2.5.4",
37
37
  "@entur/utils": "^0.4.3",
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "gitHead": "bf06a9d451cb7f978946c05ce04bb4e6f63379af"
41
+ "gitHead": "f760e1b8cfdc14231bd6391a8d82dfed1d71daa4"
42
42
  }