@entur/dropdown 3.0.20 → 3.0.21-beta.0

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