@entur/dropdown 5.4.6 → 5.4.8

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 +54 -54
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,30 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-dropdown__searchable-selected-item {
4
- display: block;
5
- font-size: 1rem;
6
- line-height: 1rem;
7
- margin-right: -1rem;
8
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
9
- font-family: inherit;
10
- overflow-x: hidden;
11
- text-overflow: ellipsis;
12
- white-space: nowrap;
13
- }
14
- .eds-dropdown__searchable-selected-item__wrapper {
15
- max-width: 65%;
16
- }
17
-
18
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
19
- -moz-transition: none;
20
- transition: none;
21
- }
22
-
23
- .eds-form-control.eds-dropdown__input::placeholder {
24
- transition: none;
25
- }
26
- /* DO NOT CHANGE!*/
27
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
28
3
  .eds-multi-select {
29
4
  position: relative;
30
5
  }
@@ -116,6 +91,31 @@
116
91
  }
117
92
  /* DO NOT CHANGE!*/
118
93
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
94
+ .eds-dropdown__searchable-selected-item {
95
+ display: block;
96
+ font-size: 1rem;
97
+ line-height: 1rem;
98
+ margin-right: -1rem;
99
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
100
+ font-family: inherit;
101
+ overflow-x: hidden;
102
+ text-overflow: ellipsis;
103
+ white-space: nowrap;
104
+ }
105
+ .eds-dropdown__searchable-selected-item__wrapper {
106
+ max-width: 65%;
107
+ }
108
+
109
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
110
+ -moz-transition: none;
111
+ transition: none;
112
+ }
113
+
114
+ .eds-form-control.eds-dropdown__input::placeholder {
115
+ transition: none;
116
+ }
117
+ /* DO NOT CHANGE!*/
118
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
119
119
  .eds-dropdown-list {
120
120
  border-radius: 0.25rem;
121
121
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -178,12 +178,33 @@
178
178
  .eds-dropdown-list-icon {
179
179
  margin-left: 0.75rem;
180
180
  }
181
- .eds-inline-spinner {
182
- align-items: center;
181
+ /* DO NOT CHANGE!*/
182
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
183
+ .eds-dropdown__toggle-button {
184
+ -webkit-appearance: none;
185
+ -moz-appearance: none;
186
+ appearance: none;
187
+ background: none;
188
+ border: none;
189
+ border-radius: 0;
190
+ color: inherit;
191
+ font-size: inherit;
192
+ font-family: inherit;
193
+ margin-right: -0.75rem;
194
+ padding: 0.5rem;
183
195
  display: flex;
184
196
  justify-content: center;
185
- height: 100%;
186
- width: 100%;
197
+ }
198
+ .eds-dropdown__toggle-button--open svg {
199
+ transform: rotate(180deg);
200
+ }
201
+ .eds-dropdown__toggle-button:focus {
202
+ outline-offset: 0.125rem;
203
+ outline: none;
204
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
205
+ }
206
+ .eds-contrast .eds-dropdown__toggle-button:focus {
207
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
187
208
  }
188
209
  /* DO NOT CHANGE!*/
189
210
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -243,33 +264,12 @@
243
264
  .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
244
265
  background-color: #8285a8;
245
266
  }
246
- /* DO NOT CHANGE!*/
247
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
248
- .eds-dropdown__toggle-button {
249
- -webkit-appearance: none;
250
- -moz-appearance: none;
251
- appearance: none;
252
- background: none;
253
- border: none;
254
- border-radius: 0;
255
- color: inherit;
256
- font-size: inherit;
257
- font-family: inherit;
258
- margin-right: -0.75rem;
259
- padding: 0.5rem;
267
+ .eds-inline-spinner {
268
+ align-items: center;
260
269
  display: flex;
261
270
  justify-content: center;
262
- }
263
- .eds-dropdown__toggle-button--open svg {
264
- transform: rotate(180deg);
265
- }
266
- .eds-dropdown__toggle-button:focus {
267
- outline-offset: 0.125rem;
268
- outline: none;
269
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
270
- }
271
- .eds-contrast .eds-dropdown__toggle-button:focus {
272
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
271
+ height: 100%;
272
+ width: 100%;
273
273
  }
274
274
  /* DO NOT CHANGE!*/
275
275
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.4.6",
3
+ "version": "5.4.8",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,17 +27,17 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.84",
31
- "@entur/button": "^3.2.21",
32
- "@entur/chip": "^0.7.7",
33
- "@entur/form": "^7.1.6",
34
- "@entur/icons": "^6.16.0",
35
- "@entur/loader": "^0.4.65",
36
- "@entur/tokens": "^3.14.0",
37
- "@entur/tooltip": "^2.7.5",
30
+ "@entur/a11y": "^0.2.85",
31
+ "@entur/button": "^3.2.23",
32
+ "@entur/chip": "^0.7.9",
33
+ "@entur/form": "^7.1.8",
34
+ "@entur/icons": "^6.16.2",
35
+ "@entur/loader": "^0.5.1",
36
+ "@entur/tokens": "^3.15.0",
37
+ "@entur/tooltip": "^2.7.7",
38
38
  "@entur/utils": "^0.11.1",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^8.3.3"
41
41
  },
42
- "gitHead": "3c7f2eef6a200733249c13a3eaf5796054e44fb6"
42
+ "gitHead": "93e3d6a7a2abd4dd20e09b6b631591a4f1bd10d2"
43
43
  }