@entur/dropdown 3.0.0 → 3.0.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.2...@entur/dropdown@3.0.3) (2022-04-27)
7
+
8
+ **Note:** Version bump only for package @entur/dropdown
9
+
10
+ ## [3.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.1...@entur/dropdown@3.0.2) (2022-04-20)
11
+
12
+ **Note:** Version bump only for package @entur/dropdown
13
+
14
+ ## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.0...@entur/dropdown@3.0.1) (2022-04-19)
15
+
16
+ **Note:** Version bump only for package @entur/dropdown
17
+
6
18
  # [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.3.0...@entur/dropdown@3.0.0) (2022-03-17)
7
19
 
8
20
  ### Bug Fixes
package/dist/styles.css CHANGED
@@ -15,6 +15,71 @@
15
15
  color: #181c56;
16
16
  }/* DO NOT CHANGE!*/
17
17
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
+ .eds-dropdown-list {
19
+ border-radius: 0.25rem;
20
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
21
+ display: none;
22
+ list-style: none;
23
+ margin: 0;
24
+ max-height: 50vh;
25
+ padding: 0;
26
+ position: relative;
27
+ overflow-y: auto;
28
+ width: 100%;
29
+ z-index: 20;
30
+ }
31
+ .eds-contrast .eds-dropdown-list {
32
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
33
+ }
34
+ .eds-dropdown-list--open {
35
+ display: inline-block;
36
+ }
37
+ .eds-dropdown-list:focus {
38
+ outline: none;
39
+ }
40
+ @media all and (min-width: 50rem) {
41
+ .eds-dropdown-list {
42
+ max-height: 30vh;
43
+ }
44
+ }
45
+
46
+ .eds-dropdown-list__item {
47
+ align-items: center;
48
+ background-color: #f8f8f8;
49
+ border-bottom: 0.125rem solid #e9e9e9;
50
+ border-left: 0.125rem solid #e9e9e9;
51
+ border-right: 0.125rem solid #e9e9e9;
52
+ color: #181c56;
53
+ display: flex;
54
+ justify-content: space-between;
55
+ font-family: inherit;
56
+ font-size: 1rem;
57
+ line-height: 1.25rem;
58
+ padding: 0.75rem 1rem;
59
+ width: 100%;
60
+ }
61
+ .eds-dropdown-list__item:first-child {
62
+ border-top: 0.125rem solid #e9e9e9;
63
+ }
64
+ .eds-dropdown-list__item:last-child {
65
+ border-bottom: none;
66
+ }
67
+ .eds-contrast .eds-dropdown-list__item {
68
+ color: #181c56;
69
+ border-color: #54568c;
70
+ background-color: #ffffff;
71
+ }
72
+ .eds-dropdown-list__item--highlighted {
73
+ background-color: #d1d4e3;
74
+ }
75
+ .eds-contrast .eds-dropdown-list__item--highlighted {
76
+ background-color: #d1d4e3;
77
+ }
78
+
79
+ .eds-dropdown-list__item-icon {
80
+ margin-left: 0.75rem;
81
+ }/* DO NOT CHANGE!*/
82
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
18
83
  .eds-multi-select {
19
84
  position: relative;
20
85
  }
@@ -96,78 +161,20 @@
96
161
  }
97
162
  .eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
98
163
  stroke: #ffffff;
99
- animation: stroke ease-in-out 0.2s 0.1s forwards;
164
+ -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
165
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
100
166
  }
101
167
 
102
- @keyframes stroke {
168
+ @-webkit-keyframes stroke {
103
169
  100% {
104
170
  stroke-dashoffset: 0;
105
171
  }
106
- }/* DO NOT CHANGE!*/
107
- /* 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 {
137
- 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
- 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;
149
- 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
172
  }
168
173
 
169
- .eds-dropdown-list__item-icon {
170
- margin-left: 0.75rem;
174
+ @keyframes stroke {
175
+ 100% {
176
+ stroke-dashoffset: 0;
177
+ }
171
178
  }/* DO NOT CHANGE!*/
172
179
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
173
180
  .eds-dropdown__searchable-selected-item {
@@ -185,6 +192,16 @@
185
192
  max-width: 65%;
186
193
  }
187
194
 
195
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
196
+ -moz-transition: none;
197
+ transition: none;
198
+ }
199
+
200
+ .eds-form-control.eds-dropdown__input:-ms-input-placeholder {
201
+ -ms-transition: none;
202
+ transition: none;
203
+ }
204
+
188
205
  .eds-form-control.eds-dropdown__input::placeholder {
189
206
  transition: none;
190
207
  }/* DO NOT CHANGE!*/
@@ -208,6 +225,14 @@
208
225
  align-items: center;
209
226
  }
210
227
 
228
+ .eds-dropdown__input::-moz-placeholder {
229
+ color: #656782;
230
+ }
231
+
232
+ .eds-dropdown__input:-ms-input-placeholder {
233
+ color: #656782;
234
+ }
235
+
211
236
  .eds-dropdown__input::placeholder {
212
237
  color: #656782;
213
238
  }
@@ -251,7 +276,9 @@
251
276
  }/* DO NOT CHANGE!*/
252
277
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
253
278
  .eds-dropdown__toggle-button {
254
- appearance: none;
279
+ -webkit-appearance: none;
280
+ -moz-appearance: none;
281
+ appearance: none;
255
282
  background: none;
256
283
  border: none;
257
284
  border-radius: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.0",
3
+ "version": "3.0.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.42",
31
- "@entur/chip": "^0.5.1",
32
- "@entur/form": "^5.3.0",
33
- "@entur/icons": "^3.5.0",
34
- "@entur/loader": "^0.4.5",
35
- "@entur/tokens": "^3.3.1",
36
- "@entur/tooltip": "^2.5.3",
30
+ "@entur/a11y": "^0.2.43",
31
+ "@entur/chip": "^0.5.4",
32
+ "@entur/form": "^5.3.3",
33
+ "@entur/icons": "^4.1.1",
34
+ "@entur/loader": "^0.4.6",
35
+ "@entur/tokens": "^3.3.2",
36
+ "@entur/tooltip": "^2.5.6",
37
37
  "@entur/utils": "^0.4.3",
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "gitHead": "bac1c320b3de1c10ab25a76ebb15b0cce989a27d"
41
+ "gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
42
42
  }