@entur/dropdown 3.0.21-beta.3 → 3.0.21

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 (3) hide show
  1. package/CHANGELOG.md +611 -0
  2. package/dist/styles.css +13 -13
  3. package/package.json +14 -19
package/CHANGELOG.md ADDED
@@ -0,0 +1,611 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [3.0.21](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.20...@entur/dropdown@3.0.21) (2022-10-31)
7
+
8
+ **Note:** Version bump only for package @entur/dropdown
9
+
10
+ ## [3.0.20](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.19...@entur/dropdown@3.0.20) (2022-10-20)
11
+
12
+ **Note:** Version bump only for package @entur/dropdown
13
+
14
+ ## [3.0.19](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.18...@entur/dropdown@3.0.19) (2022-10-20)
15
+
16
+ **Note:** Version bump only for package @entur/dropdown
17
+
18
+ ## [3.0.18](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.17...@entur/dropdown@3.0.18) (2022-10-12)
19
+
20
+ **Note:** Version bump only for package @entur/dropdown
21
+
22
+ ## [3.0.17](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.16...@entur/dropdown@3.0.17) (2022-10-05)
23
+
24
+ ### Bug Fixes
25
+
26
+ - **dropdown:** make label required ([68cdd12](https://bitbucket.org/enturas/design-system/commits/68cdd12ebb41998868acb18abb2a1faa47157449))
27
+
28
+ # [3.0.16](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.15...@entur/dropdown@4.0.0-beta.1) (2022-09-27)
29
+
30
+ ### Features
31
+
32
+ - **searchable dropdown beta:** add new beta component for controlled searchable dropdown ([f6357e3](https://bitbucket.org/enturas/design-system/commits/f6357e37826af7d25dbb4bdbe49a7fae1f632a50))
33
+
34
+ ## [3.0.15](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.14...@entur/dropdown@3.0.15) (2022-09-20)
35
+
36
+ **Note:** Version bump only for package @entur/dropdown
37
+
38
+ ## [3.0.14](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.13...@entur/dropdown@3.0.14) (2022-08-31)
39
+
40
+ **Note:** Version bump only for package @entur/dropdown
41
+
42
+ ## [3.0.13](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.12...@entur/dropdown@3.0.13) (2022-08-24)
43
+
44
+ ### Bug Fixes
45
+
46
+ - add parameter and return types ([861b878](https://bitbucket.org/enturas/design-system/commits/861b8782b1fae34242d64371a8af7887ac545df6))
47
+
48
+ ## [3.0.12](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.11...@entur/dropdown@3.0.12) (2022-08-12)
49
+
50
+ **Note:** Version bump only for package @entur/dropdown
51
+
52
+ ## [3.0.11](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.10...@entur/dropdown@3.0.11) (2022-08-09)
53
+
54
+ **Note:** Version bump only for package @entur/dropdown
55
+
56
+ ## [3.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.9...@entur/dropdown@3.0.10) (2022-08-09)
57
+
58
+ **Note:** Version bump only for package @entur/dropdown
59
+
60
+ ## [3.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.8...@entur/dropdown@3.0.9) (2022-07-05)
61
+
62
+ **Note:** Version bump only for package @entur/dropdown
63
+
64
+ ## [3.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.7...@entur/dropdown@3.0.8) (2022-06-28)
65
+
66
+ **Note:** Version bump only for package @entur/dropdown
67
+
68
+ ## [3.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.6...@entur/dropdown@3.0.7) (2022-06-24)
69
+
70
+ **Note:** Version bump only for package @entur/dropdown
71
+
72
+ ## [3.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.5...@entur/dropdown@3.0.6) (2022-06-02)
73
+
74
+ **Note:** Version bump only for package @entur/dropdown
75
+
76
+ ## [3.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.4...@entur/dropdown@3.0.5) (2022-05-13)
77
+
78
+ **Note:** Version bump only for package @entur/dropdown
79
+
80
+ ## [3.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.3...@entur/dropdown@3.0.4) (2022-05-04)
81
+
82
+ **Note:** Version bump only for package @entur/dropdown
83
+
84
+ ## [3.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.2...@entur/dropdown@3.0.3) (2022-04-27)
85
+
86
+ **Note:** Version bump only for package @entur/dropdown
87
+
88
+ ## [3.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.1...@entur/dropdown@3.0.2) (2022-04-20)
89
+
90
+ **Note:** Version bump only for package @entur/dropdown
91
+
92
+ ## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.0...@entur/dropdown@3.0.1) (2022-04-19)
93
+
94
+ **Note:** Version bump only for package @entur/dropdown
95
+
96
+ # [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.3.0...@entur/dropdown@3.0.0) (2022-03-17)
97
+
98
+ ### Bug Fixes
99
+
100
+ - **dropdown:** fix text truncate shortening words which don't need shortening ([4072480](https://bitbucket.org/enturas/design-system/commits/40724805af543369513d61c8d8d5b2461c48cc2f))
101
+
102
+ ### Features
103
+
104
+ - **dropdown:** improve usability of input field in searchable dropdown ([9f24e4b](https://bitbucket.org/enturas/design-system/commits/9f24e4b27b64b7f637914be6715a1ff4af7c0b77))
105
+
106
+ ### BREAKING CHANGES
107
+
108
+ - **dropdown:** - Visuals and interaction method have changed
109
+
110
+ # [2.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.4...@entur/dropdown@2.3.0) (2022-03-14)
111
+
112
+ ### Features
113
+
114
+ - **dropdown:** add ref forwarding to dropdown and searchable dropdown ([af4cae7](https://bitbucket.org/enturas/design-system/commits/af4cae7bb5fe83c5d1c2f58462c3ba6e77f2e1b8))
115
+
116
+ ## [2.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.3...@entur/dropdown@2.2.4) (2022-03-01)
117
+
118
+ **Note:** Version bump only for package @entur/dropdown
119
+
120
+ ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.2...@entur/dropdown@2.2.3) (2022-02-16)
121
+
122
+ ### Bug Fixes
123
+
124
+ - **dropdown:** add missing styling for truncating searchable dropdown input ([c628982](https://bitbucket.org/enturas/design-system/commits/c628982588035720aab68745c2fbe6f612ec4fde))
125
+
126
+ ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.1...@entur/dropdown@2.2.2) (2022-02-09)
127
+
128
+ ### Bug Fixes
129
+
130
+ - **multiselect:** fix checkboxes bug in multiselect ([5b26980](https://bitbucket.org/enturas/design-system/commits/5b26980596e461621956551ae916bca0e670f695))
131
+ - **multiselect:** fix checkboxes bug in multiselect ([9c59723](https://bitbucket.org/enturas/design-system/commits/9c5972387d693cc83ac8361ee3ace643d9f60959))
132
+
133
+ ## [2.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.0...@entur/dropdown@2.2.1) (2022-01-21)
134
+
135
+ **Note:** Version bump only for package @entur/dropdown
136
+
137
+ # [2.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.1.2...@entur/dropdown@2.2.0) (2022-01-05)
138
+
139
+ ### Bug Fixes
140
+
141
+ - **searchable:** adjust position of selected item ([0abed8d](https://bitbucket.org/enturas/design-system/commits/0abed8d3767dead4161d915a71ad94a8f64f600a))
142
+ - **searchable:** align selectedItem with input field ([527e4f4](https://bitbucket.org/enturas/design-system/commits/527e4f4afea961a0f877e81a5b92f4ec0d44f97c))
143
+ - **searchable:** hide placeholder if item is selected ([933a6cb](https://bitbucket.org/enturas/design-system/commits/933a6cb1b4f84346d737b23f36fc9c4252e7ea46))
144
+
145
+ ### Features
146
+
147
+ - **searchable:** improve usability of searchable dropdown ([eb3038f](https://bitbucket.org/enturas/design-system/commits/eb3038fb6fc6db7a55d3cc65541ab1d40a6e87af))
148
+
149
+ ## [2.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.1.1...@entur/dropdown@2.1.2) (2021-12-10)
150
+
151
+ **Note:** Version bump only for package @entur/dropdown
152
+
153
+ ## [2.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.1.0...@entur/dropdown@2.1.1) (2021-11-17)
154
+
155
+ ### Bug Fixes
156
+
157
+ - change dropdown background to white in contrast mode ([7064988](https://bitbucket.org/enturas/design-system/commits/7064988fd7690e500c08f74fee82d88566730ee1))
158
+
159
+ # [2.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.10...@entur/dropdown@2.1.0) (2021-10-25)
160
+
161
+ ### Features
162
+
163
+ - **multiselect:** add support for initialSelectedItems ([40f14d7](https://bitbucket.org/enturas/design-system/commits/40f14d7ccbba43d1da42834839246d294e289a7f))
164
+
165
+ ## [2.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.9...@entur/dropdown@2.0.10) (2021-10-18)
166
+
167
+ **Note:** Version bump only for package @entur/dropdown
168
+
169
+ ## [2.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.8...@entur/dropdown@2.0.9) (2021-09-23)
170
+
171
+ **Note:** Version bump only for package @entur/dropdown
172
+
173
+ ## [2.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.7...@entur/dropdown@2.0.8) (2021-09-13)
174
+
175
+ ### Bug Fixes
176
+
177
+ - **dropdown:** change to close small icon if closeable ([96d6e11](https://bitbucket.org/enturas/design-system/commits/96d6e11bc27ed722f9bbb1623691de16612e432c))
178
+
179
+ ## [2.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.6...@entur/dropdown@2.0.7) (2021-09-07)
180
+
181
+ ### Bug Fixes
182
+
183
+ - improve typing and fix lint warnings ([6f0b0a8](https://bitbucket.org/enturas/design-system/commits/6f0b0a8710e2353777547304ca101029a3f5d335))
184
+ - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
185
+ - **dropdown:** update dependencies ([1dc8971](https://bitbucket.org/enturas/design-system/commits/1dc89716c46b8fc4c22d4426c2c583ad277f2e58))
186
+
187
+ ## [2.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.5...@entur/dropdown@2.0.6) (2021-08-13)
188
+
189
+ ### Bug Fixes
190
+
191
+ - **dropdown:** export dropdown props from package ([61326c6](https://bitbucket.org/enturas/design-system/commits/61326c693a33569b5543778ac61b09c31a77ebd3))
192
+
193
+ ## [2.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.4...@entur/dropdown@2.0.5) (2021-07-16)
194
+
195
+ ### Bug Fixes
196
+
197
+ - **dropdown:** fix divider color in contrast ([6c9ac18](https://bitbucket.org/enturas/design-system/commits/6c9ac180c08387dfdcd75a463bb3bd9199fcbedc))
198
+
199
+ ## [2.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.3...@entur/dropdown@2.0.4) (2021-07-07)
200
+
201
+ ### Bug Fixes
202
+
203
+ - **dropdown:** fix clearable prop and warnings ([1f9a5ae](https://bitbucket.org/enturas/design-system/commits/1f9a5ae3ec0dd86188353c015926931ce645cb33))
204
+
205
+ ## [2.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.2...@entur/dropdown@2.0.3) (2021-06-25)
206
+
207
+ ### Bug Fixes
208
+
209
+ - **dropdown:** improve internal prop usage, better support for testing ([b4982a9](https://bitbucket.org/enturas/design-system/commits/b4982a933807382bc956fac4224e32306ef3ad61))
210
+ - update dependencies ([0834b3a](https://bitbucket.org/enturas/design-system/commits/0834b3a1f4268460958d003926330e69af34c132))
211
+
212
+ ## [2.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.1...@entur/dropdown@2.0.2) (2021-06-04)
213
+
214
+ ### Bug Fixes
215
+
216
+ - **native dropdown:** fix label position bug ([b68fc8f](https://bitbucket.org/enturas/design-system/commits/b68fc8fffd94be986b3988cd2ff32b9c1a8268dd))
217
+
218
+ ## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.0.0...@entur/dropdown@2.0.1) (2021-05-19)
219
+
220
+ ### Bug Fixes
221
+
222
+ - **multiselect:** fix onchange late callback bug ([5998355](https://bitbucket.org/enturas/design-system/commits/59983553e6ae68f80cfde356b48f748f837c7751))
223
+
224
+ # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.7...@entur/dropdown@2.0.0) (2021-05-05)
225
+
226
+ ### Bug Fixes
227
+
228
+ - **multiselect:** finalize styling for new multiselect ([7b59c68](https://bitbucket.org/enturas/design-system/commits/7b59c68946dc9f0ae1dab5e19979d79def85a5c9))
229
+
230
+ ### Features
231
+
232
+ - **multiselect:** update multiselect component ([665a14c](https://bitbucket.org/enturas/design-system/commits/665a14cd7f1a8f4482cb902eea592f81e86b2798))
233
+
234
+ ### BREAKING CHANGES
235
+
236
+ - **multiselect:** full rewrite so may be some breaking changes
237
+
238
+ ## [1.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.6...@entur/dropdown@1.4.7) (2021-04-23)
239
+
240
+ ### Bug Fixes
241
+
242
+ - utilize loading dots for dropdown components ([ffecc56](https://bitbucket.org/enturas/design-system/commits/ffecc56854b2a69e50e0f265fa0b71b6118f4565))
243
+ - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
244
+
245
+ ## [1.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.5...@entur/dropdown@1.4.6) (2021-04-09)
246
+
247
+ **Note:** Version bump only for package @entur/dropdown
248
+
249
+ ## [1.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.4...@entur/dropdown@1.4.5) (2021-03-02)
250
+
251
+ ### Bug Fixes
252
+
253
+ - **dropdown:** center label if empty placeholder is used ([eee6815](https://bitbucket.org/enturas/design-system/commits/eee6815fdb2404aad3844f93c6bbd645a8d3772a))
254
+
255
+ ## [1.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.3...@entur/dropdown@1.4.4) (2021-02-17)
256
+
257
+ **Note:** Version bump only for package @entur/dropdown
258
+
259
+ ## [1.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.2...@entur/dropdown@1.4.3) (2021-02-05)
260
+
261
+ ### Bug Fixes
262
+
263
+ - **dropdown:** add checkicon if item is selected ([2853763](https://bitbucket.org/enturas/design-system/commits/28537634e783b44ed6457f3c6a23637ef76c9526))
264
+ - **dropdown:** adjust styling for dropdownlist in contrast ([e3aef6c](https://bitbucket.org/enturas/design-system/commits/e3aef6cd77c82050aeec495a4fb71ba2bc90a5ef))
265
+
266
+ ## [1.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.1...@entur/dropdown@1.4.2) (2021-01-29)
267
+
268
+ **Note:** Version bump only for package @entur/dropdown
269
+
270
+ ## [1.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.4.0...@entur/dropdown@1.4.1) (2021-01-20)
271
+
272
+ ### Bug Fixes
273
+
274
+ - **dropdown:** internal changes to avoid ref bug during tests ([df9eb46](https://bitbucket.org/enturas/design-system/commits/df9eb4608e88020bf80b55b87ace952e697ac307))
275
+
276
+ # [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.24...@entur/dropdown@1.4.0) (2021-01-13)
277
+
278
+ ### Bug Fixes
279
+
280
+ - transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
281
+ - update downshift dependency ([90fdadc](https://bitbucket.org/enturas/design-system/commits/90fdadc7b673526fcc3b0def78d7803d0fe723c1))
282
+ - **multiselect:** fix improper colors on chips in contrast ([d226c39](https://bitbucket.org/enturas/design-system/commits/d226c3981092ab1e9dcf16d52a66a88a1de6f55f))
283
+
284
+ ### Features
285
+
286
+ - **dropdown:** add disable label animation prop ([fd0d040](https://bitbucket.org/enturas/design-system/commits/fd0d040079f22fb83a7656d295b9c2270f30b6aa))
287
+
288
+ ## [1.3.24](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.23...@entur/dropdown@1.3.24) (2021-01-05)
289
+
290
+ ### Bug Fixes
291
+
292
+ - **dropdown:** improve internal id to enhance a11y ([ca7b730](https://bitbucket.org/enturas/design-system/commits/ca7b730a8685356735b1eb4fd5052247016be313))
293
+
294
+ ## [1.3.23](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.22...@entur/dropdown@1.3.23) (2020-12-04)
295
+
296
+ **Note:** Version bump only for package @entur/dropdown
297
+
298
+ ## [1.3.22](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.21...@entur/dropdown@1.3.22) (2020-11-26)
299
+
300
+ ### Bug Fixes
301
+
302
+ - **dropdown:** type=button on expand arrow ([614a1e8](https://bitbucket.org/enturas/design-system/commits/614a1e8b9327b91f81655f1f185ab81effa0d046))
303
+ - **dropdowns:** make all dropdowns light in contrast mode ([fa293a9](https://bitbucket.org/enturas/design-system/commits/fa293a9840613aebdad0a5a88613774b9e65ec33))
304
+ - **multiselect:** type=button on expand arrow ([59e1261](https://bitbucket.org/enturas/design-system/commits/59e12612469ee1f1e1a0c0a4248ce0a61c1294bd))
305
+
306
+ ## [1.3.21](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.20...@entur/dropdown@1.3.21) (2020-11-10)
307
+
308
+ **Note:** Version bump only for package @entur/dropdown
309
+
310
+ ## [1.3.20](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.19...@entur/dropdown@1.3.20) (2020-11-05)
311
+
312
+ **Note:** Version bump only for package @entur/dropdown
313
+
314
+ ## [1.3.19](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.18...@entur/dropdown@1.3.19) (2020-10-28)
315
+
316
+ **Note:** Version bump only for package @entur/dropdown
317
+
318
+ ## [1.3.18](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.17...@entur/dropdown@1.3.18) (2020-10-23)
319
+
320
+ **Note:** Version bump only for package @entur/dropdown
321
+
322
+ ## [1.3.17](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.16...@entur/dropdown@1.3.17) (2020-10-16)
323
+
324
+ **Note:** Version bump only for package @entur/dropdown
325
+
326
+ ## [1.3.16](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.15...@entur/dropdown@1.3.16) (2020-10-09)
327
+
328
+ **Note:** Version bump only for package @entur/dropdown
329
+
330
+ ## [1.3.15](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.14...@entur/dropdown@1.3.15) (2020-10-09)
331
+
332
+ ### Bug Fixes
333
+
334
+ - **dropdown:** fix openonfocus bug ([dc53cc9](https://bitbucket.org/enturas/design-system/commits/dc53cc9cc4be4bee5252ef908e193198acab751a))
335
+ - **dropdown:** update dropdown to new input styling ([fde0958](https://bitbucket.org/enturas/design-system/commits/fde095895ef2d6f0954bcafb94bea9deacd33d7d))
336
+ - **nativedropdown:** update internal logic for new inputfield design ([ba742c6](https://bitbucket.org/enturas/design-system/commits/ba742c6f151dfd451ef951ebaf3260f9e9ed8dc2))
337
+
338
+ ## [1.3.14](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.13...@entur/dropdown@1.3.14) (2020-09-25)
339
+
340
+ **Note:** Version bump only for package @entur/dropdown
341
+
342
+ ## [1.3.13](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.12...@entur/dropdown@1.3.13) (2020-09-14)
343
+
344
+ **Note:** Version bump only for package @entur/dropdown
345
+
346
+ ## [1.3.12](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.11...@entur/dropdown@1.3.12) (2020-09-10)
347
+
348
+ ### Bug Fixes
349
+
350
+ - **dropdown:** adjust placeholder color ([2a555d8](https://bitbucket.org/enturas/design-system/commits/2a555d8494979cf47608bb5d93a9a552031770b9))
351
+
352
+ ## [1.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.10...@entur/dropdown@1.3.11) (2020-09-02)
353
+
354
+ **Note:** Version bump only for package @entur/dropdown
355
+
356
+ ## [1.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.9...@entur/dropdown@1.3.10) (2020-08-26)
357
+
358
+ **Note:** Version bump only for package @entur/dropdown
359
+
360
+ ## [1.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.8...@entur/dropdown@1.3.9) (2020-08-20)
361
+
362
+ **Note:** Version bump only for package @entur/dropdown
363
+
364
+ ## [1.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.7...@entur/dropdown@1.3.8) (2020-08-19)
365
+
366
+ **Note:** Version bump only for package @entur/dropdown
367
+
368
+ ## [1.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.6...@entur/dropdown@1.3.7) (2020-08-14)
369
+
370
+ **Note:** Version bump only for package @entur/dropdown
371
+
372
+ ## [1.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.5...@entur/dropdown@1.3.6) (2020-08-11)
373
+
374
+ **Note:** Version bump only for package @entur/dropdown
375
+
376
+ ## [1.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.4...@entur/dropdown@1.3.5) (2020-07-24)
377
+
378
+ ### Bug Fixes
379
+
380
+ - **multiselect:** improve internal filtering for selected item ([ad706e4](https://bitbucket.org/enturas/design-system/commits/ad706e4afdb8a137aed30873735a95d8acb8d713))
381
+
382
+ ## [1.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.3...@entur/dropdown@1.3.4) (2020-07-22)
383
+
384
+ ### Bug Fixes
385
+
386
+ - **dropdown:** center dropdown toggle icon ([9865382](https://bitbucket.org/enturas/design-system/commits/9865382689bbcd3b4f79b8d8ac651097607b346e))
387
+ - **multiselect:** rework internal logic, and wrapping of multiple items ([fccfc96](https://bitbucket.org/enturas/design-system/commits/fccfc96f86dfc007f0d69527eac2186b27cceeae))
388
+
389
+ ## [1.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.2...@entur/dropdown@1.3.3) (2020-07-16)
390
+
391
+ **Note:** Version bump only for package @entur/dropdown
392
+
393
+ ## [1.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.1...@entur/dropdown@1.3.2) (2020-07-13)
394
+
395
+ **Note:** Version bump only for package @entur/dropdown
396
+
397
+ ## [1.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.3.0...@entur/dropdown@1.3.1) (2020-07-09)
398
+
399
+ **Note:** Version bump only for package @entur/dropdown
400
+
401
+ # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.2.0...@entur/dropdown@1.3.0) (2020-07-03)
402
+
403
+ ### Bug Fixes
404
+
405
+ - fix classname and styling for outer div of dropdown ([799b8c6](https://bitbucket.org/enturas/design-system/commits/799b8c6de07ddf8186ab7828f7db0490832b6b49))
406
+
407
+ ### Features
408
+
409
+ - add itemfilter prop ([02daaf8](https://bitbucket.org/enturas/design-system/commits/02daaf8d2863936d47c2165fb39bf799f624286a))
410
+
411
+ # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.1.2...@entur/dropdown@1.2.0) (2020-06-17)
412
+
413
+ ### Bug Fixes
414
+
415
+ - fix contrast styling for nativedropdown ([b8d0ffd](https://bitbucket.org/enturas/design-system/commits/b8d0ffd99b5382a807515b5d291a767d9338171b))
416
+
417
+ ### Features
418
+
419
+ - highlight items that matches keypress key ([d8f5c26](https://bitbucket.org/enturas/design-system/commits/d8f5c261c236cf089eced9d5b5aebe3397a64262))
420
+
421
+ ## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.1.1...@entur/dropdown@1.1.2) (2020-05-27)
422
+
423
+ **Note:** Version bump only for package @entur/dropdown
424
+
425
+ ## [1.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.1.0...@entur/dropdown@1.1.1) (2020-05-26)
426
+
427
+ ### Bug Fixes
428
+
429
+ - completely remove inner right padding in dropdowns ([3f3d086](https://bitbucket.org/enturas/design-system/commits/3f3d0860f6f9a0f385182045dfeea7a5eb6ede3e))
430
+
431
+ # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@1.0.0...@entur/dropdown@1.1.0) (2020-05-20)
432
+
433
+ ### Bug Fixes
434
+
435
+ - fix crash on special characters in searchable dropdown ([2149d9a](https://bitbucket.org/enturas/design-system/commits/2149d9a4efddfa8dde1e73e6cfb43a878b3cc136))
436
+ - reduce internal dropdown padding ([fa081c9](https://bitbucket.org/enturas/design-system/commits/fa081c96220f1c8cab6ee5db2fb39575869d6afa))
437
+
438
+ ### Features
439
+
440
+ - add the multiselect dropdown component ([7863395](https://bitbucket.org/enturas/design-system/commits/786339586a90a7f75c17115837b824a9d4981bcf))
441
+
442
+ # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.9.2...@entur/dropdown@1.0.0) (2020-04-27)
443
+
444
+ ### Bug Fixes
445
+
446
+ - fix for controllable dropdown component ([408c627](https://bitbucket.org/enturas/design-system/commits/408c627fd8b78881f404d733ec78367192eec2b1))
447
+
448
+ ### BREAKING CHANGES
449
+
450
+ - new internal handling of null and undefined, meaning if you used null or undefined earlier, this may
451
+ break your setup. null is now "no item" and undefined is reserved for uncontrolled behaviour
452
+
453
+ ## [0.9.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.9.1...@entur/dropdown@0.9.2) (2020-04-23)
454
+
455
+ ### Bug Fixes
456
+
457
+ - fix potential key uniqueness bug ([bebf25e](https://bitbucket.org/enturas/design-system/commits/bebf25e19a342c558d192f02a3929f03cfbff242))
458
+ - updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
459
+
460
+ ## [0.9.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.9.0...@entur/dropdown@0.9.1) (2020-04-08)
461
+
462
+ **Note:** Version bump only for package @entur/dropdown
463
+
464
+ # [0.9.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.4...@entur/dropdown@0.9.0) (2020-03-25)
465
+
466
+ ### Features
467
+
468
+ - **dropdown:** add tooltip support to dropdowns ([fbe81d3](https://bitbucket.org/enturas/design-system/commits/fbe81d3d8daf65cba1d815afe1d5efa2d14be291))
469
+
470
+ # [0.8.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.4...@entur/dropdown@0.8.0) (2020-03-25)
471
+
472
+ ### Features
473
+
474
+ - **dropdown:** add tooltip support to dropdowns ([fbe81d3](https://bitbucket.org/enturas/design-system/commits/fbe81d3d8daf65cba1d815afe1d5efa2d14be291))
475
+
476
+ ## [0.7.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.3...@entur/dropdown@0.7.4) (2020-03-20)
477
+
478
+ **Note:** Version bump only for package @entur/dropdown
479
+
480
+ ## [0.7.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.2...@entur/dropdown@0.7.3) (2020-03-18)
481
+
482
+ ### Bug Fixes
483
+
484
+ - update to use new shadow tokens ([37dfe1c](https://bitbucket.org/enturas/design-system/commits/37dfe1c887cbb0357609bbc482ee8a306ba91d20))
485
+
486
+ ## [0.7.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.1...@entur/dropdown@0.7.2) (2020-03-05)
487
+
488
+ **Note:** Version bump only for package @entur/dropdown
489
+
490
+ ## [0.7.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.7.0...@entur/dropdown@0.7.1) (2020-02-26)
491
+
492
+ **Note:** Version bump only for package @entur/dropdown
493
+
494
+ # [0.7.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.6.0...@entur/dropdown@0.7.0) (2020-02-20)
495
+
496
+ ### Features
497
+
498
+ - add clearable prop for dropdown ([7c048be](https://bitbucket.org/enturas/design-system/commits/7c048be592be8f77ccfe4bfcbc285d18510df41b))
499
+
500
+ # [0.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.9...@entur/dropdown@0.6.0) (2020-02-14)
501
+
502
+ ### Bug Fixes
503
+
504
+ - decrease padding inside dropdown ([63b847f](https://bitbucket.org/enturas/design-system/commits/63b847f74fbbf9d0cb8806b8d1018548ca1d23bd))
505
+ - Remove prop which is not used ([5c4758e](https://bitbucket.org/enturas/design-system/commits/5c4758ef37eeabf86ae6f79a3c5ff53a46003d0a))
506
+ - **dropdown:** Only auto-highlight if the option has been set ([6127c1b](https://bitbucket.org/enturas/design-system/commits/6127c1be48bb16650ec354a592ab85ce59e5e951))
507
+
508
+ ### Features
509
+
510
+ - **dropdown:** ability to style dropdown list directly ([9449090](https://bitbucket.org/enturas/design-system/commits/94490901e196b78d95d9136d3aaa41b8a993b517))
511
+ - **dropdown:** Add option for auto highlighting the first result ([2833e24](https://bitbucket.org/enturas/design-system/commits/2833e24256eb7f0cf9198eae9fda2d720e8b9fc9))
512
+
513
+ ## [0.5.9](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.8...@entur/dropdown@0.5.9) (2020-02-12)
514
+
515
+ ### Bug Fixes
516
+
517
+ - fix missing type for spreading of props ([0e5beba](https://bitbucket.org/enturas/design-system/commits/0e5beba82ea7dde39915cd626e665aa6c15dafbf))
518
+
519
+ ## [0.5.8](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.7...@entur/dropdown@0.5.8) (2020-02-10)
520
+
521
+ ### Bug Fixes
522
+
523
+ - remove arrow from dropdown if readonly ([eca07da](https://bitbucket.org/enturas/design-system/commits/eca07da574ab130b0f3313202d34f72f221b5265))
524
+
525
+ ## [0.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.6...@entur/dropdown@0.5.7) (2020-02-05)
526
+
527
+ ### Bug Fixes
528
+
529
+ - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
530
+
531
+ ## [0.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.5...@entur/dropdown@0.5.6) (2020-01-31)
532
+
533
+ **Note:** Version bump only for package @entur/dropdown
534
+
535
+ ## [0.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.4...@entur/dropdown@0.5.5) (2020-01-28)
536
+
537
+ **Note:** Version bump only for package @entur/dropdown
538
+
539
+ ## [0.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.3...@entur/dropdown@0.5.4) (2020-01-27)
540
+
541
+ ### Bug Fixes
542
+
543
+ - **Dropdown:** make dropdowns controllable ([38e503e](https://bitbucket.org/enturas/design-system/commits/38e503edf6cee98ec7e086a6f836c8bf899adb75))
544
+ - **Dropdown:** make long choices overflow into an ellipsis ([c936358](https://bitbucket.org/enturas/design-system/commits/c9363585f316936b8eac2d100b90d28f1f30f760))
545
+ - **Dropdown:** make styles spreadable to the input group ([8ef9a24](https://bitbucket.org/enturas/design-system/commits/8ef9a244de17cad1c4fd63c13127527f02be103c))
546
+ - **Dropdown:** remove unnecessary classNames call ([97cf52c](https://bitbucket.org/enturas/design-system/commits/97cf52c42f419f042a3fc93ab493417c2baae7af))
547
+ - **DropdownList:** only show scrollbar if necessary ([09b25e9](https://bitbucket.org/enturas/design-system/commits/09b25e9558fe6aff6de9a695c37b67a2da98cdad))
548
+ - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
549
+
550
+ ## [0.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.2...@entur/dropdown@0.5.3) (2020-01-20)
551
+
552
+ **Note:** Version bump only for package @entur/dropdown
553
+
554
+ ## [0.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.1...@entur/dropdown@0.5.2) (2020-01-14)
555
+
556
+ **Note:** Version bump only for package @entur/dropdown
557
+
558
+ ## [0.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.5.0...@entur/dropdown@0.5.1) (2020-01-13)
559
+
560
+ **Note:** Version bump only for package @entur/dropdown
561
+
562
+ # [0.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.4.2...@entur/dropdown@0.5.0) (2020-01-10)
563
+
564
+ ### Features
565
+
566
+ - add classname prop for dropdown component ([60bdd48](https://bitbucket.org/enturas/design-system/commits/60bdd487a1cd04d0e55363698b095041e4953216))
567
+
568
+ ## [0.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.4.1...@entur/dropdown@0.4.2) (2020-01-08)
569
+
570
+ ### Bug Fixes
571
+
572
+ - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
573
+
574
+ ## [0.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.4.0...@entur/dropdown@0.4.1) (2020-01-06)
575
+
576
+ ### Bug Fixes
577
+
578
+ - **Dropdown:** add a max-height to DropdownList, and improve a11y ([d3f5046](https://bitbucket.org/enturas/design-system/commits/d3f50460a8fa78bbc95b3274bb5678a1a51b9f73))
579
+ - **Dropdown:** add missing dependencies ([e7c046f](https://bitbucket.org/enturas/design-system/commits/e7c046f5408170a3974790f3ccfa2d77e7510f49))
580
+ - **Dropdown:** fetch initially also for searchable dropdowns ([8e18927](https://bitbucket.org/enturas/design-system/commits/8e189274fc6dfe743f17ed819e7aaefad20b2bf9))
581
+
582
+ # [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.3.0...@entur/dropdown@0.4.0) (2019-12-20)
583
+
584
+ ### Features
585
+
586
+ - **Dropdown:** add openOnFocus prop for Dropdown ([313f61f](https://bitbucket.org/enturas/design-system/commits/313f61f6829ad66eb9896dae65fd11db5f4ea073))
587
+
588
+ # [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.2.1...@entur/dropdown@0.3.0) (2019-12-17)
589
+
590
+ ### Bug Fixes
591
+
592
+ - **Dropdown:** fix bug where focus order was disturbed for dropdowns ([652f2fa](https://bitbucket.org/enturas/design-system/commits/652f2fa3771a77d6a9786c0ab299c1c29852d598))
593
+
594
+ ### Features
595
+
596
+ - **Dropdown:** add debounce functionality for dropdowns ([6d2fec3](https://bitbucket.org/enturas/design-system/commits/6d2fec33f0a85c022201873bd55173665918a194))
597
+ - **Dropdown:** add typeahead support to Dropdowns ([3c283e0](https://bitbucket.org/enturas/design-system/commits/3c283e01f752752ffe3cc9c7bfbbbc838dd97992))
598
+
599
+ ## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@0.2.0...@entur/dropdown@0.2.1) (2019-12-10)
600
+
601
+ **Note:** Version bump only for package @entur/dropdown
602
+
603
+ # 0.2.0 (2019-12-10)
604
+
605
+ ### Bug Fixes
606
+
607
+ - **Dropdown:** fix bug where Dropdown wasn't controllable ([1748946](https://bitbucket.org/enturas/design-system/commits/1748946a6be483d75d887e6548deb52f509a2823))
608
+
609
+ ### Features
610
+
611
+ - **Dropdown:** implement new Dropdown component ([966bc50](https://bitbucket.org/enturas/design-system/commits/966bc5074e32a7dfc0e8fc8e2bba8413e4b19eb5))
package/dist/styles.css CHANGED
@@ -2,6 +2,19 @@
2
2
  --eds-dropdown: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-dropdown + .eds-form-control__append {
6
+ margin-left: -2em;
7
+ pointer-events: none;
8
+ }
9
+
10
+ .eds-dropdown option {
11
+ color: #181c56;
12
+ background-color: #ffffff;
13
+ }
14
+ .eds-contrast .eds-dropdown option {
15
+ color: #181c56;
16
+ }/* DO NOT CHANGE!*/
17
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
18
  .eds-dropdown-list {
6
19
  border-radius: 0.25rem;
7
20
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -164,19 +177,6 @@
164
177
  }
165
178
  }/* DO NOT CHANGE!*/
166
179
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
167
- .eds-dropdown + .eds-form-control__append {
168
- margin-left: -2em;
169
- pointer-events: none;
170
- }
171
-
172
- .eds-dropdown option {
173
- color: #181c56;
174
- background-color: #ffffff;
175
- }
176
- .eds-contrast .eds-dropdown option {
177
- color: #181c56;
178
- }/* DO NOT CHANGE!*/
179
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
180
180
  .eds-dropdown__searchable-selected-item {
181
181
  display: block;
182
182
  font-size: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "3.0.21-beta.3",
3
+ "version": "3.0.21",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -17,31 +17,26 @@
17
17
  "access": "public"
18
18
  },
19
19
  "scripts": {
20
- "start": "yarn run dts watch --noClean",
21
- "build": "yarn run dts build",
22
- "test": "yarn run dts test --env=jsdom",
23
- "lint": "yarn run dts lint"
20
+ "start": "dts watch --noClean",
21
+ "build": "dts build",
22
+ "test": "dts test --env=jsdom",
23
+ "lint": "dts lint"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.0",
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.50-beta.3",
31
- "@entur/chip": "^0.6.11-beta.3",
32
- "@entur/form": "^5.4.8-beta.3",
33
- "@entur/icons": "^5.1.2-beta.3",
34
- "@entur/loader": "^0.4.13-beta.3",
35
- "@entur/tokens": "^3.4.2-beta.2",
36
- "@entur/tooltip": "^2.5.20-beta.3",
37
- "@entur/utils": "^0.4.6-beta.2",
30
+ "@entur/a11y": "^0.2.49",
31
+ "@entur/chip": "^0.6.11",
32
+ "@entur/form": "^5.4.8",
33
+ "@entur/icons": "^5.2.0",
34
+ "@entur/loader": "^0.4.12",
35
+ "@entur/tokens": "^3.4.1",
36
+ "@entur/tooltip": "^2.5.20",
37
+ "@entur/utils": "^0.4.5",
38
38
  "classnames": "^2.3.1",
39
39
  "downshift": "^6.1.7"
40
40
  },
41
- "devDependencies": {
42
- "dts-cli": "^1.1.6",
43
- "jest-watch-typeahead": "^2.2.0",
44
- "ts-jest": "^27.0.0"
45
- },
46
- "gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
41
+ "gitHead": "7dfc6f3e46a7bf635e8ec0f0b5ae1d4ba5b8722a"
47
42
  }