@entur/dropdown 5.0.23 → 5.0.24

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
@@ -1,97 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-dropdown-list {
4
- border-radius: 0.25rem;
5
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
6
- display: none;
7
- list-style: none;
8
- margin: 0;
9
- max-height: 50vh;
10
- padding: 0;
11
- position: relative;
12
- overflow-y: auto;
13
- width: 100%;
14
- z-index: 20;
15
- }
16
- .eds-contrast .eds-dropdown-list {
17
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
18
- }
19
- .eds-dropdown-list--open {
20
- display: inline-block;
21
- }
22
- .eds-dropdown-list:focus {
23
- outline: none;
24
- }
25
- @media all and (min-width: 50rem) {
26
- .eds-dropdown-list {
27
- max-height: 30vh;
28
- }
29
- }
30
- .eds-dropdown-list__item {
31
- align-items: center;
32
- background-color: #f8f8f8;
33
- border-bottom: 0.125rem solid #e9e9e9;
34
- border-left: 0.125rem solid #e9e9e9;
35
- border-right: 0.125rem solid #e9e9e9;
36
- color: #181c56;
37
- display: flex;
38
- justify-content: space-between;
39
- font-family: inherit;
40
- font-size: 1rem;
41
- line-height: 1.25rem;
42
- padding: 0.75rem 1rem;
43
- width: 100%;
44
- }
45
- .eds-dropdown-list__item:first-child {
46
- border-top: 0.125rem solid #e9e9e9;
47
- }
48
- .eds-dropdown-list__item:last-child {
49
- border-bottom: none;
50
- }
51
- .eds-contrast .eds-dropdown-list__item {
52
- color: #181c56;
53
- border-color: #54568c;
54
- background-color: #ffffff;
55
- }
56
- .eds-dropdown-list__item--highlighted {
57
- background-color: #d1d4e3;
58
- }
59
- .eds-contrast .eds-dropdown-list__item--highlighted {
60
- background-color: #d1d4e3;
61
- }
62
- .eds-dropdown-list-icon {
63
- margin-left: 0.75rem;
64
- }
65
- /* DO NOT CHANGE!*/
66
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
67
- .eds-dropdown__toggle-button {
68
- -webkit-appearance: none;
69
- -moz-appearance: none;
70
- appearance: none;
71
- background: none;
72
- border: none;
73
- border-radius: 0;
74
- color: inherit;
75
- font-size: inherit;
76
- font-family: inherit;
77
- margin-right: -0.75rem;
78
- padding: 0.5rem;
79
- display: flex;
80
- justify-content: center;
81
- }
82
- .eds-dropdown__toggle-button--open svg {
83
- transform: rotate(180deg);
84
- }
85
- .eds-dropdown__toggle-button:focus {
86
- outline-offset: 0.125rem;
87
- outline: none;
88
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
89
- }
90
- .eds-contrast .eds-dropdown__toggle-button:focus {
91
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
92
- }
93
- /* DO NOT CHANGE!*/
94
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
95
3
  .eds-dropdown__searchable-selected-item {
96
4
  display: block;
97
5
  font-size: 1rem;
@@ -115,6 +23,13 @@
115
23
  .eds-form-control.eds-dropdown__input::placeholder {
116
24
  transition: none;
117
25
  }
26
+ .eds-inline-spinner {
27
+ align-items: center;
28
+ display: flex;
29
+ justify-content: center;
30
+ height: 100%;
31
+ width: 100%;
32
+ }
118
33
  /* DO NOT CHANGE!*/
119
34
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
120
35
  .eds-multi-select {
@@ -208,6 +123,98 @@
208
123
  }
209
124
  /* DO NOT CHANGE!*/
210
125
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
126
+ .eds-dropdown-list {
127
+ border-radius: 0.25rem;
128
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
129
+ display: none;
130
+ list-style: none;
131
+ margin: 0;
132
+ max-height: 50vh;
133
+ padding: 0;
134
+ position: relative;
135
+ overflow-y: auto;
136
+ width: 100%;
137
+ z-index: 20;
138
+ }
139
+ .eds-contrast .eds-dropdown-list {
140
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
141
+ }
142
+ .eds-dropdown-list--open {
143
+ display: inline-block;
144
+ }
145
+ .eds-dropdown-list:focus {
146
+ outline: none;
147
+ }
148
+ @media all and (min-width: 50rem) {
149
+ .eds-dropdown-list {
150
+ max-height: 30vh;
151
+ }
152
+ }
153
+ .eds-dropdown-list__item {
154
+ align-items: center;
155
+ background-color: #f8f8f8;
156
+ border-bottom: 0.125rem solid #e9e9e9;
157
+ border-left: 0.125rem solid #e9e9e9;
158
+ border-right: 0.125rem solid #e9e9e9;
159
+ color: #181c56;
160
+ display: flex;
161
+ justify-content: space-between;
162
+ font-family: inherit;
163
+ font-size: 1rem;
164
+ line-height: 1.25rem;
165
+ padding: 0.75rem 1rem;
166
+ width: 100%;
167
+ }
168
+ .eds-dropdown-list__item:first-child {
169
+ border-top: 0.125rem solid #e9e9e9;
170
+ }
171
+ .eds-dropdown-list__item:last-child {
172
+ border-bottom: none;
173
+ }
174
+ .eds-contrast .eds-dropdown-list__item {
175
+ color: #181c56;
176
+ border-color: #54568c;
177
+ background-color: #ffffff;
178
+ }
179
+ .eds-dropdown-list__item--highlighted {
180
+ background-color: #d1d4e3;
181
+ }
182
+ .eds-contrast .eds-dropdown-list__item--highlighted {
183
+ background-color: #d1d4e3;
184
+ }
185
+ .eds-dropdown-list-icon {
186
+ margin-left: 0.75rem;
187
+ }
188
+ /* DO NOT CHANGE!*/
189
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
190
+ .eds-dropdown__toggle-button {
191
+ -webkit-appearance: none;
192
+ -moz-appearance: none;
193
+ appearance: none;
194
+ background: none;
195
+ border: none;
196
+ border-radius: 0;
197
+ color: inherit;
198
+ font-size: inherit;
199
+ font-family: inherit;
200
+ margin-right: -0.75rem;
201
+ padding: 0.5rem;
202
+ display: flex;
203
+ justify-content: center;
204
+ }
205
+ .eds-dropdown__toggle-button--open svg {
206
+ transform: rotate(180deg);
207
+ }
208
+ .eds-dropdown__toggle-button:focus {
209
+ outline-offset: 0.125rem;
210
+ outline: none;
211
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
212
+ }
213
+ .eds-contrast .eds-dropdown__toggle-button:focus {
214
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
215
+ }
216
+ /* DO NOT CHANGE!*/
217
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
211
218
  .eds-dropdown-wrapper {
212
219
  position: relative;
213
220
  }
@@ -264,13 +271,6 @@
264
271
  .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
265
272
  background-color: #8285a8;
266
273
  }
267
- .eds-inline-spinner {
268
- align-items: center;
269
- display: flex;
270
- justify-content: center;
271
- height: 100%;
272
- width: 100%;
273
- }
274
274
  /* DO NOT CHANGE!*/
275
275
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
276
276
  .eds-dropdown__list {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.0.23",
3
+ "version": "5.0.24",
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.71",
31
- "@entur/button": "^3.2.0",
32
- "@entur/chip": "^0.6.55",
33
- "@entur/form": "^7.0.27",
31
+ "@entur/button": "^3.2.1",
32
+ "@entur/chip": "^0.6.56",
33
+ "@entur/form": "^7.0.28",
34
34
  "@entur/icons": "^6.12.0",
35
35
  "@entur/loader": "^0.4.47",
36
36
  "@entur/tokens": "^3.11.0",
37
- "@entur/tooltip": "^2.6.36",
37
+ "@entur/tooltip": "^2.6.37",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^7.6.1"
41
41
  },
42
- "gitHead": "ce91791c414af0274bcff712cacfad25a44c45c2"
42
+ "gitHead": "b88f20e65837e48f9c1c2882f6d18233613d63a6"
43
43
  }