@entur/dropdown 3.0.29 → 3.0.30

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 +72 -70
  2. package/package.json +11 -11
package/dist/styles.css CHANGED
@@ -13,6 +13,72 @@
13
13
  }
14
14
  .eds-contrast .eds-dropdown option {
15
15
  color: #181c56;
16
+ }@charset "UTF-8";
17
+ /* DO NOT CHANGE!*/
18
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
19
+ .eds-dropdown-list {
20
+ border-radius: 0.25rem;
21
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
22
+ display: none;
23
+ list-style: none;
24
+ margin: 0;
25
+ max-height: 50vh;
26
+ padding: 0;
27
+ position: relative;
28
+ overflow-y: auto;
29
+ width: 100%;
30
+ z-index: 20;
31
+ }
32
+ .eds-contrast .eds-dropdown-list {
33
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
34
+ }
35
+ .eds-dropdown-list--open {
36
+ display: inline-block;
37
+ }
38
+ .eds-dropdown-list:focus {
39
+ outline: none;
40
+ }
41
+ @media all and (min-width: 50rem) {
42
+ .eds-dropdown-list {
43
+ max-height: 30vh;
44
+ }
45
+ }
46
+
47
+ .eds-dropdown-list__item {
48
+ align-items: center;
49
+ background-color: #f8f8f8;
50
+ border-bottom: 0.125rem solid #e9e9e9;
51
+ border-left: 0.125rem solid #e9e9e9;
52
+ border-right: 0.125rem solid #e9e9e9;
53
+ color: #181c56;
54
+ display: flex;
55
+ justify-content: space-between;
56
+ font-family: inherit;
57
+ font-size: 1rem;
58
+ line-height: 1.25rem;
59
+ padding: 0.75rem 1rem;
60
+ width: 100%;
61
+ }
62
+ .eds-dropdown-list__item:first-child {
63
+ border-top: 0.125rem solid #e9e9e9;
64
+ }
65
+ .eds-dropdown-list__item:last-child {
66
+ border-bottom: none;
67
+ }
68
+ .eds-contrast .eds-dropdown-list__item {
69
+ color: #181c56;
70
+ border-color: #54568c;
71
+ background-color: #ffffff;
72
+ }
73
+ .eds-dropdown-list__item--highlighted  {
74
+ background-color: #d1d4e3;
75
+ }
76
+ .eds-contrast .eds-dropdown-list__item--highlighted  {
77
+ background-color: #d1d4e3;
78
+ }
79
+
80
+ .eds-dropdown-list__item-icon {
81
+ margin-left: 0.75rem;
16
82
  }/* DO NOT CHANGE!*/
17
83
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
84
  .eds-multi-select {
@@ -105,69 +171,12 @@
105
171
  }
106
172
  }/* DO NOT CHANGE!*/
107
173
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
108
- .eds-dropdown-list {
109
- border-radius: 0.25rem;
110
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
111
- display: none;
112
- list-style: none;
113
- margin: 0;
114
- max-height: 50vh;
115
- padding: 0;
116
- position: relative;
117
- overflow-y: auto;
118
- width: 100%;
119
- z-index: 20;
120
- }
121
- .eds-contrast .eds-dropdown-list {
122
- box-shadow: 0 0.0625rem 0.1875rem #393d79;
123
- }
124
- .eds-dropdown-list--open {
125
- display: inline-block;
126
- }
127
- .eds-dropdown-list:focus {
128
- outline: none;
129
- }
130
- @media all and (min-width: 50rem) {
131
- .eds-dropdown-list {
132
- max-height: 30vh;
133
- }
134
- }
135
-
136
- .eds-dropdown-list__item {
174
+ .eds-inline-spinner {
137
175
  align-items: center;
138
- background-color: #f8f8f8;
139
- border-bottom: 0.125rem solid #e9e9e9;
140
- border-left: 0.125rem solid #e9e9e9;
141
- border-right: 0.125rem solid #e9e9e9;
142
- color: #181c56;
143
176
  display: flex;
144
- justify-content: space-between;
145
- font-family: inherit;
146
- font-size: 1rem;
147
- line-height: 1.25rem;
148
- padding: 0.75rem 1rem;
177
+ justify-content: center;
178
+ height: 100%;
149
179
  width: 100%;
150
- }
151
- .eds-dropdown-list__item:first-child {
152
- border-top: 0.125rem solid #e9e9e9;
153
- }
154
- .eds-dropdown-list__item:last-child {
155
- border-bottom: none;
156
- }
157
- .eds-contrast .eds-dropdown-list__item {
158
- color: #181c56;
159
- border-color: #54568c;
160
- background-color: #ffffff;
161
- }
162
- .eds-dropdown-list__item--highlighted {
163
- background-color: #d1d4e3;
164
- }
165
- .eds-contrast .eds-dropdown-list__item--highlighted {
166
- background-color: #d1d4e3;
167
- }
168
-
169
- .eds-dropdown-list__item-icon {
170
- margin-left: 0.75rem;
171
180
  }/* DO NOT CHANGE!*/
172
181
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
173
182
  .eds-dropdown__searchable-selected-item {
@@ -192,15 +201,8 @@
192
201
 
193
202
  .eds-form-control.eds-dropdown__input::placeholder {
194
203
  transition: none;
195
- }/* DO NOT CHANGE!*/
196
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
197
- .eds-inline-spinner {
198
- align-items: center;
199
- display: flex;
200
- justify-content: center;
201
- height: 100%;
202
- width: 100%;
203
- }/* DO NOT CHANGE!*/
204
+ }@charset "UTF-8";
205
+ /* DO NOT CHANGE!*/
204
206
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
205
207
  .eds-searchable-dropdown__wrapper {
206
208
  position: relative;
@@ -312,7 +314,7 @@
312
314
  .eds-searchable-dropdown__list__item-icon {
313
315
  margin-left: 0.75rem;
314
316
  }
315
- .eds-searchable-dropdown__list__item--highlighted {
317
+ .eds-searchable-dropdown__list__item--highlighted  {
316
318
  background-color: #d1d4e3;
317
319
  }
318
320
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.29",
3
+ "version": "3.0.30",
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.56",
31
- "@entur/button": "^2.10.11",
32
- "@entur/chip": "^0.6.19",
33
- "@entur/form": "^5.4.16",
34
- "@entur/icons": "^5.5.0",
35
- "@entur/loader": "^0.4.19",
36
- "@entur/tokens": "^3.5.0",
37
- "@entur/tooltip": "^2.6.3",
38
- "@entur/utils": "^0.5.2",
30
+ "@entur/a11y": "^0.2.58",
31
+ "@entur/button": "^2.10.13",
32
+ "@entur/chip": "^0.6.20",
33
+ "@entur/form": "^5.4.17",
34
+ "@entur/icons": "^5.7.0",
35
+ "@entur/loader": "^0.4.21",
36
+ "@entur/tokens": "^3.7.0",
37
+ "@entur/tooltip": "^2.6.4",
38
+ "@entur/utils": "^0.5.4",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^6.1.7"
41
41
  },
42
- "gitHead": "30b38034aaafba9fb308fb3d8c8bfaab9608d720"
42
+ "gitHead": "ff44073d29948fc811c0dbd6921c003794285c06"
43
43
  }