@entur/dropdown 5.0.9-beta.0 → 5.0.9

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,3 +1,10 @@
1
+ .eds-inline-spinner {
2
+ align-items: center;
3
+ display: flex;
4
+ justify-content: center;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
1
8
  /* DO NOT CHANGE!*/
2
9
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
10
  .eds-multi-select {
@@ -116,6 +123,64 @@
116
123
  }
117
124
  /* DO NOT CHANGE!*/
118
125
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
126
+ .eds-dropdown-wrapper {
127
+ position: relative;
128
+ }
129
+ .eds-dropdown-wrapper .eds-form-control {
130
+ padding-right: 0;
131
+ }
132
+ .eds-dropdown-wrapper .eds-form-control__append {
133
+ display: flex;
134
+ align-items: center;
135
+ }
136
+
137
+ .eds-dropdown__input::-moz-placeholder {
138
+ color: #656782;
139
+ }
140
+
141
+ .eds-dropdown__input::placeholder {
142
+ color: #656782;
143
+ }
144
+
145
+ .eds-dropdown__selected-item {
146
+ overflow-x: hidden;
147
+ text-overflow: ellipsis;
148
+ white-space: nowrap;
149
+ }
150
+
151
+ .eds-dropdown__clear-button {
152
+ background: none;
153
+ border: none;
154
+ border-radius: 50%;
155
+ color: inherit;
156
+ cursor: pointer;
157
+ display: flex;
158
+ font: inherit;
159
+ font-size: 1rem;
160
+ line-height: 1rem;
161
+ padding: 0.5rem;
162
+ }
163
+ .eds-dropdown__clear-button:hover {
164
+ background: #f3f3f3;
165
+ }
166
+ .eds-dropdown__clear-button:focus {
167
+ outline-offset: 0.125rem;
168
+ outline: none;
169
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
170
+ }
171
+
172
+ .eds-dropdown__divider {
173
+ content: "";
174
+ display: block;
175
+ background-color: #e9e9e9;
176
+ height: 1.5rem;
177
+ width: 1px;
178
+ }
179
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
180
+ background-color: #8285a8;
181
+ }
182
+ /* DO NOT CHANGE!*/
183
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
119
184
  .eds-dropdown-list {
120
185
  border-radius: 0.25rem;
121
186
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -178,13 +243,6 @@
178
243
  .eds-dropdown-list-icon {
179
244
  margin-left: 0.75rem;
180
245
  }
181
- .eds-inline-spinner {
182
- align-items: center;
183
- display: flex;
184
- justify-content: center;
185
- height: 100%;
186
- width: 100%;
187
- }
188
246
  /* DO NOT CHANGE!*/
189
247
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
190
248
  .eds-dropdown__toggle-button {
@@ -215,64 +273,6 @@
215
273
  }
216
274
  /* DO NOT CHANGE!*/
217
275
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
- .eds-dropdown-wrapper {
219
- position: relative;
220
- }
221
- .eds-dropdown-wrapper .eds-form-control {
222
- padding-right: 0;
223
- }
224
- .eds-dropdown-wrapper .eds-form-control__append {
225
- display: flex;
226
- align-items: center;
227
- }
228
-
229
- .eds-dropdown__input::-moz-placeholder {
230
- color: #656782;
231
- }
232
-
233
- .eds-dropdown__input::placeholder {
234
- color: #656782;
235
- }
236
-
237
- .eds-dropdown__selected-item {
238
- overflow-x: hidden;
239
- text-overflow: ellipsis;
240
- white-space: nowrap;
241
- }
242
-
243
- .eds-dropdown__clear-button {
244
- background: none;
245
- border: none;
246
- border-radius: 50%;
247
- color: inherit;
248
- cursor: pointer;
249
- display: flex;
250
- font: inherit;
251
- font-size: 1rem;
252
- line-height: 1rem;
253
- padding: 0.5rem;
254
- }
255
- .eds-dropdown__clear-button:hover {
256
- background: #f3f3f3;
257
- }
258
- .eds-dropdown__clear-button:focus {
259
- outline-offset: 0.125rem;
260
- outline: none;
261
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
262
- }
263
-
264
- .eds-dropdown__divider {
265
- content: "";
266
- display: block;
267
- background-color: #e9e9e9;
268
- height: 1.5rem;
269
- width: 1px;
270
- }
271
- .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
272
- background-color: #8285a8;
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.0.9-beta.0",
3
+ "version": "5.0.9",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.70",
31
31
  "@entur/button": "^3.1.2",
32
- "@entur/chip": "^0.6.46-beta.0",
33
- "@entur/form": "^7.0.18-beta.0",
32
+ "@entur/chip": "^0.6.46",
33
+ "@entur/form": "^7.0.18",
34
34
  "@entur/icons": "^6.5.0",
35
35
  "@entur/loader": "^0.4.39",
36
36
  "@entur/tokens": "^3.10.0",
@@ -39,5 +39,5 @@
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^7.6.1"
41
41
  },
42
- "gitHead": "faeadfa30668a407f4078806d12cdda42195b4b8"
42
+ "gitHead": "72e76df00ea0a7313bd2c55e23aa96ad1e291ef1"
43
43
  }