@entur/dropdown 5.1.2 → 5.1.3

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.
Files changed (2) hide show
  1. package/dist/styles.css +60 -60
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -64,31 +64,6 @@
64
64
  }
65
65
  /* DO NOT CHANGE!*/
66
66
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
67
- .eds-dropdown__searchable-selected-item {
68
- display: block;
69
- font-size: 1rem;
70
- line-height: 1rem;
71
- margin-right: -1rem;
72
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
73
- font-family: inherit;
74
- overflow-x: hidden;
75
- text-overflow: ellipsis;
76
- white-space: nowrap;
77
- }
78
- .eds-dropdown__searchable-selected-item__wrapper {
79
- max-width: 65%;
80
- }
81
-
82
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
83
- -moz-transition: none;
84
- transition: none;
85
- }
86
-
87
- .eds-form-control.eds-dropdown__input::placeholder {
88
- transition: none;
89
- }
90
- /* DO NOT CHANGE!*/
91
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
92
67
  .eds-dropdown-wrapper {
93
68
  position: relative;
94
69
  }
@@ -147,41 +122,6 @@
147
122
  }
148
123
  /* DO NOT CHANGE!*/
149
124
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
150
- .eds-dropdown__toggle-button {
151
- -webkit-appearance: none;
152
- -moz-appearance: none;
153
- appearance: none;
154
- background: none;
155
- border: none;
156
- border-radius: 0;
157
- color: inherit;
158
- font-size: inherit;
159
- font-family: inherit;
160
- margin-right: -0.75rem;
161
- padding: 0.5rem;
162
- display: flex;
163
- justify-content: center;
164
- }
165
- .eds-dropdown__toggle-button--open svg {
166
- transform: rotate(180deg);
167
- }
168
- .eds-dropdown__toggle-button:focus {
169
- outline-offset: 0.125rem;
170
- outline: none;
171
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
172
- }
173
- .eds-contrast .eds-dropdown__toggle-button:focus {
174
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
175
- }
176
- .eds-inline-spinner {
177
- align-items: center;
178
- display: flex;
179
- justify-content: center;
180
- height: 100%;
181
- width: 100%;
182
- }
183
- /* DO NOT CHANGE!*/
184
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
185
125
  .eds-multi-select {
186
126
  position: relative;
187
127
  }
@@ -273,6 +213,66 @@
273
213
  }
274
214
  /* DO NOT CHANGE!*/
275
215
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
216
+ .eds-dropdown__toggle-button {
217
+ -webkit-appearance: none;
218
+ -moz-appearance: none;
219
+ appearance: none;
220
+ background: none;
221
+ border: none;
222
+ border-radius: 0;
223
+ color: inherit;
224
+ font-size: inherit;
225
+ font-family: inherit;
226
+ margin-right: -0.75rem;
227
+ padding: 0.5rem;
228
+ display: flex;
229
+ justify-content: center;
230
+ }
231
+ .eds-dropdown__toggle-button--open svg {
232
+ transform: rotate(180deg);
233
+ }
234
+ .eds-dropdown__toggle-button:focus {
235
+ outline-offset: 0.125rem;
236
+ outline: none;
237
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
238
+ }
239
+ .eds-contrast .eds-dropdown__toggle-button:focus {
240
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
241
+ }
242
+ .eds-inline-spinner {
243
+ align-items: center;
244
+ display: flex;
245
+ justify-content: center;
246
+ height: 100%;
247
+ width: 100%;
248
+ }
249
+ /* DO NOT CHANGE!*/
250
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
251
+ .eds-dropdown__searchable-selected-item {
252
+ display: block;
253
+ font-size: 1rem;
254
+ line-height: 1rem;
255
+ margin-right: -1rem;
256
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
257
+ font-family: inherit;
258
+ overflow-x: hidden;
259
+ text-overflow: ellipsis;
260
+ white-space: nowrap;
261
+ }
262
+ .eds-dropdown__searchable-selected-item__wrapper {
263
+ max-width: 65%;
264
+ }
265
+
266
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
267
+ -moz-transition: none;
268
+ transition: none;
269
+ }
270
+
271
+ .eds-form-control.eds-dropdown__input::placeholder {
272
+ transition: none;
273
+ }
274
+ /* DO NOT CHANGE!*/
275
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
276
276
  .eds-dropdown__list {
277
277
  position: absolute;
278
278
  list-style: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
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.75",
31
- "@entur/button": "^3.2.8",
32
- "@entur/chip": "^0.6.63",
33
- "@entur/form": "^7.0.35",
34
- "@entur/icons": "^6.14.0",
35
- "@entur/loader": "^0.4.53",
31
+ "@entur/button": "^3.2.9",
32
+ "@entur/chip": "^0.6.64",
33
+ "@entur/form": "^7.0.36",
34
+ "@entur/icons": "^6.15.0",
35
+ "@entur/loader": "^0.4.54",
36
36
  "@entur/tokens": "^3.12.0",
37
- "@entur/tooltip": "^2.6.44",
37
+ "@entur/tooltip": "^2.6.45",
38
38
  "@entur/utils": "^0.10.0",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^7.6.1"
41
41
  },
42
- "gitHead": "883677c25c50baf66df6f90c46759d186147921c"
42
+ "gitHead": "3842f90322ff4340572e6597baf4ce753a6bf355"
43
43
  }