@ta-interaktiv/react-municipality-search 2.1.2 → 2.1.4
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 +367 -0
- package/dist/index.js +2 -2
- package/es/index.js +2 -2
- package/package.json +2 -2
- package/src/municipalitySearch.tsx +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
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
|
+
## [2.1.4](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@2.1.3...@ta-interaktiv/react-municipality-search@2.1.4) (2024-05-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* don't show plz when plz empty ([0e52030](https://gitlab.com/ta-interaktiv/packages/commit/0e52030f54ba4e745a008cc026711d8c9d8750e3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.1.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@2.1.2...@ta-interaktiv/react-municipality-search@2.1.3) (2024-05-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.1.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@2.1.1...@ta-interaktiv/react-municipality-search@2.1.2) (2024-05-21)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* bring this repo to the 21st century ([38af4bf](https://gitlab.com/ta-interaktiv/packages/commit/38af4bfe550eb6ced0410012153e5a69e7fcb0d7))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [2.1.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@2.1.0...@ta-interaktiv/react-municipality-search@2.1.1) (2024-02-19)
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
- able to search for wil ([92dd8e5](https://gitlab.com/ta-interaktiv/packages/commit/92dd8e59158c935e49c0d9aaeefb8156c377bdff))
|
|
41
|
+
|
|
42
|
+
# [2.1.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@2.0.0...@ta-interaktiv/react-municipality-search@2.1.0) (2023-11-08)
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
- selectedMunicipalityId ([ea50af2](https://gitlab.com/ta-interaktiv/packages/commit/ea50af2b76a6fe1dc82c334b9911c7013e0f5245))
|
|
47
|
+
|
|
48
|
+
# [2.0.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.11.3...@ta-interaktiv/react-municipality-search@2.0.0) (2023-11-08)
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
- upgrade to latest styled-components version ([a27639a](https://gitlab.com/ta-interaktiv/packages/commit/a27639a387a1188d5090b21e4d97f1f1815afc6b))
|
|
53
|
+
|
|
54
|
+
### BREAKING CHANGES
|
|
55
|
+
|
|
56
|
+
- new version of styled-components
|
|
57
|
+
|
|
58
|
+
## [1.11.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.11.2...@ta-interaktiv/react-municipality-search@1.11.3) (2023-11-02)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
- results same width as search ([e19a2e7](https://gitlab.com/ta-interaktiv/packages/commit/e19a2e7da39b4cca0f9301754aa0e49854b9b6d8))
|
|
63
|
+
|
|
64
|
+
## [1.11.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.11.1...@ta-interaktiv/react-municipality-search@1.11.2) (2023-11-02)
|
|
65
|
+
|
|
66
|
+
### Bug Fixes
|
|
67
|
+
|
|
68
|
+
- mobile removode flex column ([b7a91d5](https://gitlab.com/ta-interaktiv/packages/commit/b7a91d524a08de824358c593954f131d13dbd552))
|
|
69
|
+
|
|
70
|
+
## [1.11.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.11.0...@ta-interaktiv/react-municipality-search@1.11.1) (2023-11-02)
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
- last selected munis for nozip ([cf680fd](https://gitlab.com/ta-interaktiv/packages/commit/cf680fda03321d45413748c5cc1587cd95e04e1a))
|
|
75
|
+
|
|
76
|
+
# [1.11.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.10.0...@ta-interaktiv/react-municipality-search@1.11.0) (2023-11-01)
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
- typo ([5b5e922](https://gitlab.com/ta-interaktiv/packages/commit/5b5e922291b35aed88f8619f33ffbf5f1abfadc2))
|
|
81
|
+
|
|
82
|
+
### Features
|
|
83
|
+
|
|
84
|
+
- removed deps and better style ([dcfea21](https://gitlab.com/ta-interaktiv/packages/commit/dcfea210dfcc2f5d72d82699c59bc1d042098f3c))
|
|
85
|
+
|
|
86
|
+
# [1.10.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.9.3...@ta-interaktiv/react-municipality-search@1.10.0) (2023-10-31)
|
|
87
|
+
|
|
88
|
+
### Features
|
|
89
|
+
|
|
90
|
+
- municipalitysearch with municipalities only ([4336e3e](https://gitlab.com/ta-interaktiv/packages/commit/4336e3ebd6e8a1718a9d09d437a9fd7842eafe89))
|
|
91
|
+
|
|
92
|
+
## [1.9.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.9.2...@ta-interaktiv/react-municipality-search@1.9.3) (2023-04-18)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
95
|
+
|
|
96
|
+
## [1.9.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.9.1...@ta-interaktiv/react-municipality-search@1.9.2) (2023-02-27)
|
|
97
|
+
|
|
98
|
+
### Bug Fixes
|
|
99
|
+
|
|
100
|
+
- downgrade react-spring ([cc66923](https://gitlab.com/ta-interaktiv/packages/commit/cc66923dc36e08ae060a781694006ce60618be05))
|
|
101
|
+
|
|
102
|
+
## [1.9.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.9.0...@ta-interaktiv/react-municipality-search@1.9.1) (2023-02-27)
|
|
103
|
+
|
|
104
|
+
### Bug Fixes
|
|
105
|
+
|
|
106
|
+
- updated react spring ([639fbe5](https://gitlab.com/ta-interaktiv/packages/commit/639fbe57e366bfb302e5f7a3b01b0ca6246102a6))
|
|
107
|
+
|
|
108
|
+
# [1.9.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.8.1...@ta-interaktiv/react-municipality-search@1.9.0) (2023-02-14)
|
|
109
|
+
|
|
110
|
+
### Features
|
|
111
|
+
|
|
112
|
+
- use new atm jsons if available ([70d5dae](https://gitlab.com/ta-interaktiv/packages/commit/70d5daed5294787f0fdf4c02bb94b440b1cfa7d6))
|
|
113
|
+
|
|
114
|
+
## [1.8.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.8.0...@ta-interaktiv/react-municipality-search@1.8.1) (2022-10-24)
|
|
115
|
+
|
|
116
|
+
### Bug Fixes
|
|
117
|
+
|
|
118
|
+
- changed boldness ([ef331e0](https://gitlab.com/ta-interaktiv/packages/commit/ef331e0ac5346f5b5c36b1e6215f5cf3231897e9))
|
|
119
|
+
|
|
120
|
+
# [1.8.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.7.1...@ta-interaktiv/react-municipality-search@1.8.0) (2022-10-17)
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
- maxResults and icon on right side ([bd3a029](https://gitlab.com/ta-interaktiv/packages/commit/bd3a0295517f6dae73015fc1fb7c5a8634a388d3))
|
|
125
|
+
|
|
126
|
+
## [1.7.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.7.0...@ta-interaktiv/react-municipality-search@1.7.1) (2022-09-20)
|
|
127
|
+
|
|
128
|
+
### Bug Fixes
|
|
129
|
+
|
|
130
|
+
- get data from cookies ([1a78a15](https://gitlab.com/ta-interaktiv/packages/commit/1a78a154c02f35b5213d1c7430817edf733854ae))
|
|
131
|
+
|
|
132
|
+
# [1.7.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.6.0...@ta-interaktiv/react-municipality-search@1.7.0) (2022-09-20)
|
|
133
|
+
|
|
134
|
+
### Features
|
|
135
|
+
|
|
136
|
+
- add scroller component ([3f854de](https://gitlab.com/ta-interaktiv/packages/commit/3f854deed1bc26c0801e26dafeeff871460bf1f8))
|
|
137
|
+
- cookie support for municipalitySearch ([3afac60](https://gitlab.com/ta-interaktiv/packages/commit/3afac602ad546f478e4de1fea26ee29e9beb7c8d))
|
|
138
|
+
|
|
139
|
+
# [1.6.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.5.4...@ta-interaktiv/react-municipality-search@1.6.0) (2022-08-17)
|
|
140
|
+
|
|
141
|
+
### Features
|
|
142
|
+
|
|
143
|
+
- upgraded most dependencies ⭐️ ([2d16e51](https://gitlab.com/ta-interaktiv/packages/commit/2d16e515bd8ac761eee50477a3ae4ebd78a591a1))
|
|
144
|
+
|
|
145
|
+
## [1.5.4](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.5.3...@ta-interaktiv/react-municipality-search@1.5.4) (2022-06-23)
|
|
146
|
+
|
|
147
|
+
### Bug Fixes
|
|
148
|
+
|
|
149
|
+
- dedupe lastSelected munis & suggeest Fetched munis ([e4b6ddc](https://gitlab.com/ta-interaktiv/packages/commit/e4b6ddc332f3656a92474262146b6e94eb46c522))
|
|
150
|
+
|
|
151
|
+
## [1.5.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.5.2...@ta-interaktiv/react-municipality-search@1.5.3) (2022-06-21)
|
|
152
|
+
|
|
153
|
+
### Bug Fixes
|
|
154
|
+
|
|
155
|
+
- municipaltiy search common localStorageName ([dc7439d](https://gitlab.com/ta-interaktiv/packages/commit/dc7439df6a6d7946c3d393f53de2d3cc4e5a0d62))
|
|
156
|
+
|
|
157
|
+
## [1.5.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.5.1...@ta-interaktiv/react-municipality-search@1.5.2) (2022-06-20)
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
- try to publish ([55709f9](https://gitlab.com/ta-interaktiv/packages/commit/55709f97a752e5753430f8068e2edc858b22a84b))
|
|
162
|
+
|
|
163
|
+
### Reverts
|
|
164
|
+
|
|
165
|
+
- Revert "Publish" ([627f67e](https://gitlab.com/ta-interaktiv/packages/commit/627f67ed0bb983a9213d344c699c6c1518f1a2a7))
|
|
166
|
+
- Revert "Publish" ([5f254e3](https://gitlab.com/ta-interaktiv/packages/commit/5f254e3d553853fa050f2635afc8fa36186b517c))
|
|
167
|
+
|
|
168
|
+
## [1.5.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.5.1...@ta-interaktiv/react-municipality-search@1.5.1) (2022-06-20)
|
|
169
|
+
|
|
170
|
+
### Reverts
|
|
171
|
+
|
|
172
|
+
- Revert "Publish" ([627f67e](https://gitlab.com/ta-interaktiv/packages/commit/627f67ed0bb983a9213d344c699c6c1518f1a2a7))
|
|
173
|
+
- Revert "Publish" ([5f254e3](https://gitlab.com/ta-interaktiv/packages/commit/5f254e3d553853fa050f2635afc8fa36186b517c))
|
|
174
|
+
|
|
175
|
+
# [1.5.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.4.1...@ta-interaktiv/react-municipality-search@1.5.0) (2022-06-01)
|
|
176
|
+
|
|
177
|
+
### Features
|
|
178
|
+
|
|
179
|
+
- muniSearch refactor to styledComponents ([603fadd](https://gitlab.com/ta-interaktiv/packages/commit/603fadd02ff8280c20eab454d0cae28d88a505ba))
|
|
180
|
+
|
|
181
|
+
## [1.4.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.4.0...@ta-interaktiv/react-municipality-search@1.4.1) (2022-06-01)
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
- muniSearch switched to css module ([10dbc07](https://gitlab.com/ta-interaktiv/packages/commit/10dbc074f415bdd3fb1d1ab85d47d62eb57b93d5))
|
|
186
|
+
|
|
187
|
+
# [1.4.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.3.0...@ta-interaktiv/react-municipality-search@1.4.0) (2022-05-18)
|
|
188
|
+
|
|
189
|
+
### Features
|
|
190
|
+
|
|
191
|
+
- updated to react-spring ^9.4.5 ([2e1c8a1](https://gitlab.com/ta-interaktiv/packages/commit/2e1c8a19acc0963bae2feb563a90286d2e24168c))
|
|
192
|
+
|
|
193
|
+
# [1.3.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.2.2...@ta-interaktiv/react-municipality-search@1.3.0) (2022-04-20)
|
|
194
|
+
|
|
195
|
+
### Bug Fixes
|
|
196
|
+
|
|
197
|
+
- remove console log ([c3e2566](https://gitlab.com/ta-interaktiv/packages/commit/c3e25662da69d3671aade242e8d700a95c259984))
|
|
198
|
+
|
|
199
|
+
### Features
|
|
200
|
+
|
|
201
|
+
- allow new municipalities data retrieval when the date prop is changed ([62e46d4](https://gitlab.com/ta-interaktiv/packages/commit/62e46d4ad710df131b44d8b1554bf89481bbd2b9))
|
|
202
|
+
|
|
203
|
+
## [1.2.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.2.1...@ta-interaktiv/react-municipality-search@1.2.2) (2022-04-19)
|
|
204
|
+
|
|
205
|
+
### Bug Fixes
|
|
206
|
+
|
|
207
|
+
- correct order in ms ([44dc573](https://gitlab.com/ta-interaktiv/packages/commit/44dc573c1d4dae990ae3984f4cd9ea901a7f40d9))
|
|
208
|
+
|
|
209
|
+
## [1.2.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.2.0...@ta-interaktiv/react-municipality-search@1.2.1) (2022-04-14)
|
|
210
|
+
|
|
211
|
+
### Bug Fixes
|
|
212
|
+
|
|
213
|
+
- show last selected municipalities ([adff1f9](https://gitlab.com/ta-interaktiv/packages/commit/adff1f9ec251be7ee948697dafbaf00ec3703ac9))
|
|
214
|
+
|
|
215
|
+
# [1.2.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.1.3...@ta-interaktiv/react-municipality-search@1.2.0) (2022-02-03)
|
|
216
|
+
|
|
217
|
+
### Features
|
|
218
|
+
|
|
219
|
+
- hideToooltip and resetOnSelect ([f5c1f8f](https://gitlab.com/ta-interaktiv/packages/commit/f5c1f8f9c6d6c86af1b82a995a2d8dcb98a8d87e))
|
|
220
|
+
|
|
221
|
+
## [1.1.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.1.2...@ta-interaktiv/react-municipality-search@1.1.3) (2021-09-17)
|
|
222
|
+
|
|
223
|
+
### Bug Fixes
|
|
224
|
+
|
|
225
|
+
- add placeholder prop to municipality search ([08c6fca](https://gitlab.com/ta-interaktiv/packages/commit/08c6fcad43c6197d548c82e81da311f4022de74b))
|
|
226
|
+
|
|
227
|
+
## [1.1.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.1.1...@ta-interaktiv/react-municipality-search@1.1.2) (2021-08-19)
|
|
228
|
+
|
|
229
|
+
### Bug Fixes
|
|
230
|
+
|
|
231
|
+
- add PLZ6 to municipality search results ([ec58935](https://gitlab.com/ta-interaktiv/packages/commit/ec58935f1f4b5e386fedb587e05888672fb381a0))
|
|
232
|
+
|
|
233
|
+
## [1.1.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.1.0...@ta-interaktiv/react-municipality-search@1.1.1) (2021-06-01)
|
|
234
|
+
|
|
235
|
+
### Bug Fixes
|
|
236
|
+
|
|
237
|
+
- Add dedupe prop to municipality search ([7fdc442](https://gitlab.com/ta-interaktiv/packages/commit/7fdc4429138738466c8b2a58d85c8a3a92138ad2))
|
|
238
|
+
- better source data set from swisstopo, added requirements ([1dda1df](https://gitlab.com/ta-interaktiv/packages/commit/1dda1df26342310bcf38ac80de6016cb1b656a1b))
|
|
239
|
+
- remove erroneous dependency ([fe10dba](https://gitlab.com/ta-interaktiv/packages/commit/fe10dba0b6a2df20a1ea79a89d33ecc4a442d27f))
|
|
240
|
+
|
|
241
|
+
# [1.1.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.0.1...@ta-interaktiv/react-municipality-search@1.1.0) (2021-04-08)
|
|
242
|
+
|
|
243
|
+
### Features
|
|
244
|
+
|
|
245
|
+
- added 2021 data ([8043b68](https://gitlab.com/ta-interaktiv/packages/commit/8043b688432552a2a4c78e6a849ffda06d1d7fe9))
|
|
246
|
+
|
|
247
|
+
## [1.0.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@1.0.0...@ta-interaktiv/react-municipality-search@1.0.1) (2020-11-23)
|
|
248
|
+
|
|
249
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
250
|
+
|
|
251
|
+
# [1.0.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.14...@ta-interaktiv/react-municipality-search@1.0.0) (2020-03-13)
|
|
252
|
+
|
|
253
|
+
### Features
|
|
254
|
+
|
|
255
|
+
- do not display paywall during development ([04801ff](https://gitlab.com/ta-interaktiv/packages/commit/04801ffe18498c9c1a4065b95cc66d2902fae448))
|
|
256
|
+
|
|
257
|
+
* Merge branch 'master' into 144-upgrade-react-components-to-use-new-apis ([8f052df](https://gitlab.com/ta-interaktiv/packages/commit/8f052df9ba3932204382eb9bcedff517c9aaf316))
|
|
258
|
+
|
|
259
|
+
### BREAKING CHANGES
|
|
260
|
+
|
|
261
|
+
- allow childs for image and svg, allow to place labels below image, oversized only via css, link with disco option, scrolltracking with multiple option
|
|
262
|
+
- allow childs for image and svg, allow to place labels below image, oversized only via css, link with disco option, scrolltracking with multiple option fix: accept child elements between sub and image, option for placing title and sub below image Publish fix: remove special URL for Facebook feat: do not display paywall during development feat: add properties to scrolltracking
|
|
263
|
+
- Rename Svg to InlineSvg
|
|
264
|
+
- Add annotationLayer, change ChapterNavigation props, exchange ScrollTracking Component, stories in mdx feat: add AnnotationLayer
|
|
265
|
+
|
|
266
|
+
## [0.2.14](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.13...@ta-interaktiv/react-municipality-search@0.2.14) (2020-02-21)
|
|
267
|
+
|
|
268
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
269
|
+
|
|
270
|
+
## [0.2.13](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.12...@ta-interaktiv/react-municipality-search@0.2.13) (2020-01-10)
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
273
|
+
|
|
274
|
+
## [0.2.12](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.11...@ta-interaktiv/react-municipality-search@0.2.12) (2019-12-10)
|
|
275
|
+
|
|
276
|
+
### Bug Fixes
|
|
277
|
+
|
|
278
|
+
- improve flexbox CSS so it works on iOS 10 ([26f9986](https://gitlab.com/ta-interaktiv/packages/commit/26f9986ccb4f8ba2810995c474e682f73635d2ea)), closes [#107](https://gitlab.com/ta-interaktiv/packages/issues/107)
|
|
279
|
+
- remove duplicate Canonical URL ([7d54376](https://gitlab.com/ta-interaktiv/packages/commit/7d5437642e640cfdb8cb49e35a86f494fe7afbc6)), closes [#117](https://gitlab.com/ta-interaktiv/packages/issues/117)
|
|
280
|
+
|
|
281
|
+
## [0.2.11](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.9...@ta-interaktiv/react-municipality-search@0.2.11) (2019-10-07)
|
|
282
|
+
|
|
283
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
284
|
+
|
|
285
|
+
## [0.2.10](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.9...@ta-interaktiv/react-municipality-search@0.2.10) (2019-10-07)
|
|
286
|
+
|
|
287
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
288
|
+
|
|
289
|
+
## [0.2.9](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.8...@ta-interaktiv/react-municipality-search@0.2.9) (2019-09-04)
|
|
290
|
+
|
|
291
|
+
### Bug Fixes
|
|
292
|
+
|
|
293
|
+
- localise input field placeholder text ([a536e26](https://gitlab.com/ta-interaktiv/packages/commit/a536e26))
|
|
294
|
+
|
|
295
|
+
## [0.2.8](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.7...@ta-interaktiv/react-municipality-search@0.2.8) (2019-06-24)
|
|
296
|
+
|
|
297
|
+
### Bug Fixes
|
|
298
|
+
|
|
299
|
+
- localise input field placeholder text ([b33f598](https://gitlab.com/ta-interaktiv/packages/commit/b33f598))
|
|
300
|
+
|
|
301
|
+
## [0.2.7](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.6...@ta-interaktiv/react-municipality-search@0.2.7) (2019-06-14)
|
|
302
|
+
|
|
303
|
+
**Note:** Version bump only for package @ta-interaktiv/react-municipality-search
|
|
304
|
+
|
|
305
|
+
## [0.2.6](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.5...@ta-interaktiv/react-municipality-search@0.2.6) (2019-06-05)
|
|
306
|
+
|
|
307
|
+
### Bug Fixes
|
|
308
|
+
|
|
309
|
+
- hide border when no objects are above it ([48a0d6f](https://gitlab.com/ta-interaktiv/packages/commit/48a0d6f))
|
|
310
|
+
- integration with other components ([0316883](https://gitlab.com/ta-interaktiv/packages/commit/0316883))
|
|
311
|
+
|
|
312
|
+
## [0.2.5](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.4...@ta-interaktiv/react-municipality-search@0.2.5) (2019-05-17)
|
|
313
|
+
|
|
314
|
+
### Bug Fixes
|
|
315
|
+
|
|
316
|
+
- larger label ([c04fd37](https://gitlab.com/ta-interaktiv/packages/commit/c04fd37))
|
|
317
|
+
- remove search type designation on input ([760464b](https://gitlab.com/ta-interaktiv/packages/commit/760464b))
|
|
318
|
+
|
|
319
|
+
## [0.2.4](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.3...@ta-interaktiv/react-municipality-search@0.2.4) (2019-05-15)
|
|
320
|
+
|
|
321
|
+
### Bug Fixes
|
|
322
|
+
|
|
323
|
+
- hide results box when there are no results. ([4a1c885](https://gitlab.com/ta-interaktiv/packages/commit/4a1c885))
|
|
324
|
+
|
|
325
|
+
## [0.2.3](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.2...@ta-interaktiv/react-municipality-search@0.2.3) (2019-05-15)
|
|
326
|
+
|
|
327
|
+
### Bug Fixes
|
|
328
|
+
|
|
329
|
+
- enhance background contrast of selected option ([796c114](https://gitlab.com/ta-interaktiv/packages/commit/796c114))
|
|
330
|
+
- improve contrast of label on coloured backgrounds ([8964d6e](https://gitlab.com/ta-interaktiv/packages/commit/8964d6e))
|
|
331
|
+
- remove white background from results ([a6d6534](https://gitlab.com/ta-interaktiv/packages/commit/a6d6534))
|
|
332
|
+
- switch domain when downloading article data ([60f0acb](https://gitlab.com/ta-interaktiv/packages/commit/60f0acb))
|
|
333
|
+
|
|
334
|
+
## [0.2.2](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.1...@ta-interaktiv/react-municipality-search@0.2.2) (2019-05-08)
|
|
335
|
+
|
|
336
|
+
### Bug Fixes
|
|
337
|
+
|
|
338
|
+
- remove Semantic UI icons ([80181e7](https://gitlab.com/ta-interaktiv/packages/commit/80181e7))
|
|
339
|
+
|
|
340
|
+
## [0.2.1](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.2.0...@ta-interaktiv/react-municipality-search@0.2.1) (2019-05-03)
|
|
341
|
+
|
|
342
|
+
### Bug Fixes
|
|
343
|
+
|
|
344
|
+
- made the component cuter ([a7c03d5](https://gitlab.com/ta-interaktiv/packages/commit/a7c03d5))
|
|
345
|
+
- reduce requirements of react peer dependencies ([b3fc7ba](https://gitlab.com/ta-interaktiv/packages/commit/b3fc7ba))
|
|
346
|
+
|
|
347
|
+
# [0.2.0](https://gitlab.com/ta-interaktiv/packages/compare/@ta-interaktiv/react-municipality-search@0.1.0...@ta-interaktiv/react-municipality-search@0.2.0) (2019-05-03)
|
|
348
|
+
|
|
349
|
+
### Features
|
|
350
|
+
|
|
351
|
+
- export Municipality type from index.ts ([ee9b5c6](https://gitlab.com/ta-interaktiv/packages/commit/ee9b5c6))
|
|
352
|
+
|
|
353
|
+
# 0.1.0 (2019-05-02)
|
|
354
|
+
|
|
355
|
+
### Bug Fixes
|
|
356
|
+
|
|
357
|
+
- add french translation ([7387c6a](https://gitlab.com/ta-interaktiv/packages/commit/7387c6a))
|
|
358
|
+
- remove debouncing code ([fb503fa](https://gitlab.com/ta-interaktiv/packages/commit/fb503fa))
|
|
359
|
+
- typescript errors and compiler warnings ([a295309](https://gitlab.com/ta-interaktiv/packages/commit/a295309))
|
|
360
|
+
- use CommonJS import for IE11 compatibility ([144a240](https://gitlab.com/ta-interaktiv/packages/commit/144a240))
|
|
361
|
+
|
|
362
|
+
### Features
|
|
363
|
+
|
|
364
|
+
- add first version of municipality search component ([5f1b4b2](https://gitlab.com/ta-interaktiv/packages/commit/5f1b4b2))
|
|
365
|
+
- load the municipality list from remote ([5928941](https://gitlab.com/ta-interaktiv/packages/commit/5928941))
|
|
366
|
+
- property to use a specific municipality list ([8debe51](https://gitlab.com/ta-interaktiv/packages/commit/8debe51))
|
|
367
|
+
- return complete municipality object upon selection ([cdf0e4d](https://gitlab.com/ta-interaktiv/packages/commit/cdf0e4d))
|
package/dist/index.js
CHANGED
|
@@ -477,10 +477,10 @@ var MunicipalitySearch = (function (_super) {
|
|
|
477
477
|
result.ORTNAME ? t('list.municipalityPrefix') : '',
|
|
478
478
|
' ',
|
|
479
479
|
React.createElement("b", null, (_a = result.GDENAMK) !== null && _a !== void 0 ? _a : result.NORMGEMEINDE +
|
|
480
|
-
(results.find(function (muni) {
|
|
480
|
+
((results.find(function (muni) {
|
|
481
481
|
return muni !== result &&
|
|
482
482
|
muni.NORMGEMEINDE === result.NORMGEMEINDE;
|
|
483
|
-
})
|
|
483
|
+
}) && result.KTKZ)
|
|
484
484
|
? ' (' + result.KTKZ + ')'
|
|
485
485
|
: ''))))));
|
|
486
486
|
}))))));
|
package/es/index.js
CHANGED
|
@@ -473,10 +473,10 @@ var MunicipalitySearch = (function (_super) {
|
|
|
473
473
|
result.ORTNAME ? t('list.municipalityPrefix') : '',
|
|
474
474
|
' ',
|
|
475
475
|
React.createElement("b", null, (_a = result.GDENAMK) !== null && _a !== void 0 ? _a : result.NORMGEMEINDE +
|
|
476
|
-
(results.find(function (muni) {
|
|
476
|
+
((results.find(function (muni) {
|
|
477
477
|
return muni !== result &&
|
|
478
478
|
muni.NORMGEMEINDE === result.NORMGEMEINDE;
|
|
479
|
-
})
|
|
479
|
+
}) && result.KTKZ)
|
|
480
480
|
? ' (' + result.KTKZ + ')'
|
|
481
481
|
: ''))))));
|
|
482
482
|
}))))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ta-interaktiv/react-municipality-search",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "React component that allows searching for Swiss municipalities with either ZIP code or place names.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"react-dom": ">=16.8.0",
|
|
53
53
|
"styled-components": "^6.1.1"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "472138f1b5b382cb1d356fa7240c3e8f9c07026d"
|
|
56
56
|
}
|
|
@@ -675,11 +675,11 @@ export class MunicipalitySearch extends Component<Props, State> {
|
|
|
675
675
|
<b>
|
|
676
676
|
{result.GDENAMK ??
|
|
677
677
|
result.NORMGEMEINDE +
|
|
678
|
-
|
|
678
|
+
( (results.find(
|
|
679
679
|
(muni: Municipality) =>
|
|
680
680
|
muni !== result &&
|
|
681
681
|
muni.NORMGEMEINDE === result.NORMGEMEINDE,
|
|
682
|
-
)
|
|
682
|
+
) && result.KTKZ)
|
|
683
683
|
? ' (' + result.KTKZ + ')'
|
|
684
684
|
: '')}
|
|
685
685
|
</b>
|