@entur/dropdown 5.0.27-beta.0 → 5.0.28

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 +116 -116
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -7,6 +7,122 @@
7
7
  }
8
8
  /* DO NOT CHANGE!*/
9
9
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
10
+ .eds-dropdown__searchable-selected-item {
11
+ display: block;
12
+ font-size: 1rem;
13
+ line-height: 1rem;
14
+ margin-right: -1rem;
15
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
16
+ font-family: inherit;
17
+ overflow-x: hidden;
18
+ text-overflow: ellipsis;
19
+ white-space: nowrap;
20
+ }
21
+ .eds-dropdown__searchable-selected-item__wrapper {
22
+ max-width: 65%;
23
+ }
24
+
25
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
26
+ -moz-transition: none;
27
+ transition: none;
28
+ }
29
+
30
+ .eds-form-control.eds-dropdown__input::placeholder {
31
+ transition: none;
32
+ }
33
+ /* DO NOT CHANGE!*/
34
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
35
+ .eds-multi-select {
36
+ position: relative;
37
+ }
38
+ .eds-multi-select__selected-items {
39
+ display: flex;
40
+ align-items: center;
41
+ flex-wrap: wrap;
42
+ position: relative;
43
+ flex: 1 1 0%;
44
+ padding: 0.25rem;
45
+ }
46
+ .eds-multi-select__selected-items-tag.eds-tag-chip {
47
+ margin-left: 0.25rem;
48
+ white-space: nowrap;
49
+ }
50
+ .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
51
+ color: #181c56;
52
+ }
53
+ .eds-multi-select__selected-items-tag.eds-tag-chip:focus {
54
+ outline-offset: 0.125rem;
55
+ }
56
+ .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
57
+ color: #181c56;
58
+ background: #ebebf1;
59
+ border: 0.0625rem solid #d1d4e3;
60
+ }
61
+ .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
62
+ background: #babbcf;
63
+ }
64
+ .eds-multi-select__input {
65
+ flex: 1 1;
66
+ min-height: 44px;
67
+ display: flex;
68
+ align-items: center;
69
+ }
70
+ .eds-multi-select__placeholder {
71
+ padding-left: 1.5rem;
72
+ line-height: 1.375rem;
73
+ font-size: 1rem;
74
+ }
75
+ .eds-checkbox-icon {
76
+ height: 1rem;
77
+ width: 1rem;
78
+ visibility: hidden;
79
+ }
80
+ .eds-checkbox-icon__path {
81
+ transform-origin: 50% 50%;
82
+ stroke-dasharray: 48;
83
+ stroke-dashoffset: 48;
84
+ stroke-width: 0.375rem;
85
+ }
86
+
87
+ .eds-multiselect {
88
+ position: relative;
89
+ }
90
+ .eds-multiselect__button {
91
+ text-overflow: ellipsis;
92
+ }
93
+
94
+ .eds-multiselect-checkbox {
95
+ display: inline-flex;
96
+ justify-content: center;
97
+ align-items: center;
98
+ position: relative;
99
+ margin-right: 0.75rem;
100
+ height: 1.25rem;
101
+ width: 1.25rem;
102
+ border: 0.125rem solid #181c56;
103
+ border-radius: 0.0625rem;
104
+ background-color: transparent;
105
+ color: #ffffff;
106
+ }
107
+
108
+ .eds-multiselect-checkbox--checked {
109
+ background-color: #181c56;
110
+ }
111
+ .eds-multiselect-checkbox--checked .eds-checkbox-icon {
112
+ visibility: visible;
113
+ }
114
+ .eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
115
+ stroke: #ffffff;
116
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
117
+ }
118
+
119
+ @keyframes stroke {
120
+ 100% {
121
+ stroke-dashoffset: 0;
122
+ }
123
+ }
124
+ /* DO NOT CHANGE!*/
125
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
10
126
  .eds-dropdown-list {
11
127
  border-radius: 0.25rem;
12
128
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -157,122 +273,6 @@
157
273
  }
158
274
  /* DO NOT CHANGE!*/
159
275
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
160
- .eds-multi-select {
161
- position: relative;
162
- }
163
- .eds-multi-select__selected-items {
164
- display: flex;
165
- align-items: center;
166
- flex-wrap: wrap;
167
- position: relative;
168
- flex: 1 1 0%;
169
- padding: 0.25rem;
170
- }
171
- .eds-multi-select__selected-items-tag.eds-tag-chip {
172
- margin-left: 0.25rem;
173
- white-space: nowrap;
174
- }
175
- .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
176
- color: #181c56;
177
- }
178
- .eds-multi-select__selected-items-tag.eds-tag-chip:focus {
179
- outline-offset: 0.125rem;
180
- }
181
- .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
182
- color: #181c56;
183
- background: #ebebf1;
184
- border: 0.0625rem solid #d1d4e3;
185
- }
186
- .eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
187
- background: #babbcf;
188
- }
189
- .eds-multi-select__input {
190
- flex: 1 1;
191
- min-height: 44px;
192
- display: flex;
193
- align-items: center;
194
- }
195
- .eds-multi-select__placeholder {
196
- padding-left: 1.5rem;
197
- line-height: 1.375rem;
198
- font-size: 1rem;
199
- }
200
- .eds-checkbox-icon {
201
- height: 1rem;
202
- width: 1rem;
203
- visibility: hidden;
204
- }
205
- .eds-checkbox-icon__path {
206
- transform-origin: 50% 50%;
207
- stroke-dasharray: 48;
208
- stroke-dashoffset: 48;
209
- stroke-width: 0.375rem;
210
- }
211
-
212
- .eds-multiselect {
213
- position: relative;
214
- }
215
- .eds-multiselect__button {
216
- text-overflow: ellipsis;
217
- }
218
-
219
- .eds-multiselect-checkbox {
220
- display: inline-flex;
221
- justify-content: center;
222
- align-items: center;
223
- position: relative;
224
- margin-right: 0.75rem;
225
- height: 1.25rem;
226
- width: 1.25rem;
227
- border: 0.125rem solid #181c56;
228
- border-radius: 0.0625rem;
229
- background-color: transparent;
230
- color: #ffffff;
231
- }
232
-
233
- .eds-multiselect-checkbox--checked {
234
- background-color: #181c56;
235
- }
236
- .eds-multiselect-checkbox--checked .eds-checkbox-icon {
237
- visibility: visible;
238
- }
239
- .eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
240
- stroke: #ffffff;
241
- animation: stroke ease-in-out 0.2s 0.1s forwards;
242
- }
243
-
244
- @keyframes stroke {
245
- 100% {
246
- stroke-dashoffset: 0;
247
- }
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.0.27-beta.0",
3
+ "version": "5.0.28",
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.73-beta.0",
31
- "@entur/button": "^3.2.4-beta.0",
32
- "@entur/chip": "^0.6.59-beta.0",
33
- "@entur/form": "^7.0.31-beta.0",
34
- "@entur/icons": "^6.13.1-beta.0",
35
- "@entur/loader": "^0.4.50-beta.0",
36
- "@entur/tokens": "^3.11.2-beta.0",
37
- "@entur/tooltip": "^2.6.40-beta.0",
30
+ "@entur/a11y": "^0.2.74",
31
+ "@entur/button": "^3.2.5",
32
+ "@entur/chip": "^0.6.60",
33
+ "@entur/form": "^7.0.32",
34
+ "@entur/icons": "^6.13.2",
35
+ "@entur/loader": "^0.4.51",
36
+ "@entur/tokens": "^3.12.0",
37
+ "@entur/tooltip": "^2.6.41",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "classnames": "^2.3.1",
40
40
  "downshift": "^7.6.1"
41
41
  },
42
- "gitHead": "c312024e8f66298e0f6d4cf85849572f38b15d53"
42
+ "gitHead": "85dd6dbaf86fc2488dd2152c213788f9d4a8a64f"
43
43
  }