@eeacms/volto-eea-kitkat 24.0.1 → 25.0.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.
- package/.eslintrc.js +65 -0
- package/CHANGELOG +61 -35
- package/CHANGELOG.md +61 -35
- package/README.md +13 -3
- package/jest-addon.config.js +19 -4
- package/jest.setup.js +65 -0
- package/new.json +80 -77
- package/old.json +3 -3
- package/package.json +80 -77
- package/partfile +9 -2
- package/releasefile +348 -4
- package/.project.eslintrc.js +0 -48
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,67 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [25.0.0](https://github.com/eea/volto-eea-kitkat/compare/24.0.1...25.0.0) - 13 May 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: Release 25.0.0 - Volto 17 support [alin - [`f26e934`](https://github.com/eea/volto-eea-kitkat/commit/f26e934021b210bf31aa13c536236b54733e30c0)]
|
|
12
|
+
- feat: Volto 17 support - refs #265726 [dana-cfc4 - [`35dd747`](https://github.com/eea/volto-eea-kitkat/commit/35dd747a43be782dba6b9acfbaf45d00faf2f0b5)]
|
|
13
|
+
|
|
14
|
+
#### :rocket: Dependency updates
|
|
15
|
+
|
|
16
|
+
- Release @eeacms/volto-tags-block@3.0.0 [EEA Jenkins - [`d40daff`](https://github.com/eea/volto-eea-kitkat/commit/d40daffe8cc94d3757abd218df2b55d56f2806a1)]
|
|
17
|
+
- Release @eeacms/volto-listing-block@8.0.1 [EEA Jenkins - [`059a97a`](https://github.com/eea/volto-eea-kitkat/commit/059a97abc90885ce459357788fcd00fe7d0cacb4)]
|
|
18
|
+
- Release @eeacms/volto-timeline-block@2.0.0 [EEA Jenkins - [`e6556a2`](https://github.com/eea/volto-eea-kitkat/commit/e6556a25ef7f11a8b5ac26dc13912391839452d2)]
|
|
19
|
+
- Release @eeacms/volto-slate-label@1.0.0 [EEA Jenkins - [`ad81f35`](https://github.com/eea/volto-eea-kitkat/commit/ad81f355284f424b89c48c9baba5c12601b91227)]
|
|
20
|
+
- Release @eeacms/volto-sentry-rancher-config@5.0.0 [EEA Jenkins - [`3aafb76`](https://github.com/eea/volto-eea-kitkat/commit/3aafb767d30602704e9162cb48ddf1539eb28ebe)]
|
|
21
|
+
- Release @eeacms/volto-tags-block@2.0.0 [EEA Jenkins - [`cce60c7`](https://github.com/eea/volto-eea-kitkat/commit/cce60c7a74f69ae1e7ed7a7fbc09f76cf088e2a1)]
|
|
22
|
+
- Release @eeacms/volto-widget-theme-picker@2.0.0 [EEA Jenkins - [`a1cd00d`](https://github.com/eea/volto-eea-kitkat/commit/a1cd00dac5ec954e4bcd3b003a8f452f2a24320b)]
|
|
23
|
+
- Release @eeacms/volto-tabs-block@8.0.0 [EEA Jenkins - [`52a761d`](https://github.com/eea/volto-eea-kitkat/commit/52a761db259eb8714f18f83cba577b50a097dae5)]
|
|
24
|
+
- Release @eeacms/volto-widget-geolocation@6.0.0 [EEA Jenkins - [`21c9859`](https://github.com/eea/volto-eea-kitkat/commit/21c985944cae3536393f3c5820ac71485ec04e4a)]
|
|
25
|
+
- Release @eeacms/volto-widget-temporal-coverage@6.0.0 [EEA Jenkins - [`1b43d14`](https://github.com/eea/volto-eea-kitkat/commit/1b43d142dc37acf0df5a3cba21d8ae6ee3c50fe7)]
|
|
26
|
+
- Release @eeacms/volto-widget-dataprovenance@1.0.0 [EEA Jenkins - [`9541378`](https://github.com/eea/volto-eea-kitkat/commit/95413788f7a4317e8240f60278c90cdbadc2f5f4)]
|
|
27
|
+
- Release @eeacms/volto-widget-toggle@4.0.0 [EEA Jenkins - [`ec29ff1`](https://github.com/eea/volto-eea-kitkat/commit/ec29ff1ad2d3e6757c0b4bb94b5974a5c9285788)]
|
|
28
|
+
- Release @eeacms/volto-taxonomy@5.0.0 [EEA Jenkins - [`ced4548`](https://github.com/eea/volto-eea-kitkat/commit/ced45487dcb8b7b720f97b975b157a4c369dd953)]
|
|
29
|
+
- Release @eeacms/volto-slate-metadata-mentions@8.0.0 [EEA Jenkins - [`879bcca`](https://github.com/eea/volto-eea-kitkat/commit/879bccace179ed2dfbe5ae9ffd25b42a375a93f6)]
|
|
30
|
+
- Release @eeacms/volto-toolbar-actions@2.0.0 [EEA Jenkins - [`12d3a2a`](https://github.com/eea/volto-eea-kitkat/commit/12d3a2a02ef297e2406986d4fb71bf9f73d75121)]
|
|
31
|
+
- Release @eeacms/volto-slate-zotero@6.0.0 [EEA Jenkins - [`6d25d50`](https://github.com/eea/volto-eea-kitkat/commit/6d25d5093e8debc7ff4cd1823659d8d2aa3e7099)]
|
|
32
|
+
- Release @eeacms/volto-statistic-block@5.0.0 [EEA Jenkins - [`9fac400`](https://github.com/eea/volto-eea-kitkat/commit/9fac400012336cc8390d763532ba030110198f0a)]
|
|
33
|
+
- Release @eeacms/volto-slate-footnote@7.0.0 [EEA Jenkins - [`571bbfc`](https://github.com/eea/volto-eea-kitkat/commit/571bbfc934835732850069bd283241637a9cfd5b)]
|
|
34
|
+
- Release @eeacms/volto-resize-helper@2.0.0 [EEA Jenkins - [`8741a30`](https://github.com/eea/volto-eea-kitkat/commit/8741a30402f41578edf754ad4b6b536c858c357c)]
|
|
35
|
+
- Release @eeacms/volto-listing-block@8.0.0 [EEA Jenkins - [`cedf342`](https://github.com/eea/volto-eea-kitkat/commit/cedf34219826d0834036f579e22a2da052988cca)]
|
|
36
|
+
- Release @eeacms/volto-nextcloud-video-block@1.0.0 [EEA Jenkins - [`3c938fb`](https://github.com/eea/volto-eea-kitkat/commit/3c938fb84c57342cb970e799d3cb5c4746cc04ef)]
|
|
37
|
+
- Release @eeacms/volto-quote-block@2.0.0 [EEA Jenkins - [`a091823`](https://github.com/eea/volto-eea-kitkat/commit/a091823bb04c4ba2fea6708c364b7efedb84f6f6)]
|
|
38
|
+
- Release @eeacms/volto-object-widget@7.0.0 [EEA Jenkins - [`cdb41b9`](https://github.com/eea/volto-eea-kitkat/commit/cdb41b925aa2262ac231cbcb1c34a261eb9c8e5f)]
|
|
39
|
+
- Release @eeacms/volto-metadata-block@7.0.0 [EEA Jenkins - [`56f1095`](https://github.com/eea/volto-eea-kitkat/commit/56f109594e672e7b570dc9b0446ac80dd97398a2)]
|
|
40
|
+
- Release @eeacms/volto-matomo@5.0.0 [EEA Jenkins - [`cfed340`](https://github.com/eea/volto-eea-kitkat/commit/cfed3409cfd46980e8ae730f721e4b1ed98e939f)]
|
|
41
|
+
- Release @eeacms/volto-hero-block@7.0.0 [EEA Jenkins - [`d71d87e`](https://github.com/eea/volto-eea-kitkat/commit/d71d87e80738c1c7fcc71b3f14c713eff0be7fb1)]
|
|
42
|
+
- Release @eeacms/volto-group-block@7.0.0 [EEA Jenkins - [`0d3261b`](https://github.com/eea/volto-eea-kitkat/commit/0d3261bfbb878eb6ad3310394af55d0b565fba44)]
|
|
43
|
+
- Release @eeacms/volto-description-block@2.0.0 [EEA Jenkins - [`2a41b6e`](https://github.com/eea/volto-eea-kitkat/commit/2a41b6ead1e6161357b1d33dd60a31a4c982ef1e)]
|
|
44
|
+
- Release @eeacms/volto-controlpanel@1.0.0 [EEA Jenkins - [`4022c2c`](https://github.com/eea/volto-eea-kitkat/commit/4022c2c57c825a5470d1e17c8dfaa9c773db06a0)]
|
|
45
|
+
- Release @eeacms/volto-corsproxy@4.0.0 [EEA Jenkins - [`201015c`](https://github.com/eea/volto-eea-kitkat/commit/201015c3117638eb14af2df8382c914de181e4a6)]
|
|
46
|
+
- Release @eeacms/volto-columns-block@8.0.0 [EEA Jenkins - [`e552c76`](https://github.com/eea/volto-eea-kitkat/commit/e552c7638b32e78b20e61a18edd5312b49213bb7)]
|
|
47
|
+
- Release @eeacms/volto-call-to-action-block@5.0.0 [EEA Jenkins - [`aa35944`](https://github.com/eea/volto-eea-kitkat/commit/aa359445f74a04d7addbd992fd30f9739954143c)]
|
|
48
|
+
- Release @eeacms/volto-block-data-table@1.0.0 [EEA Jenkins - [`f4f1250`](https://github.com/eea/volto-eea-kitkat/commit/f4f1250a35e6b40da2b6a2d4b6ef4981c78ca345)]
|
|
49
|
+
- Release @eeacms/volto-block-toc@5.0.1 [EEA Jenkins - [`bf7886f`](https://github.com/eea/volto-eea-kitkat/commit/bf7886f114cff993d0bed90a9f6945f42cbf8ea5)]
|
|
50
|
+
- Release @eeacms/volto-block-style@7.0.0 [EEA Jenkins - [`fa0f296`](https://github.com/eea/volto-eea-kitkat/commit/fa0f296c549aa09ea33309d7d6fdbd458380646e)]
|
|
51
|
+
- Release @eeacms/volto-banner@4.0.0 [EEA Jenkins - [`79674d6`](https://github.com/eea/volto-eea-kitkat/commit/79674d6f63827ac9982edeb94dd5eb21a0ab80be)]
|
|
52
|
+
- Release @eeacms/volto-block-image-cards@2.0.0 [EEA Jenkins - [`5362c87`](https://github.com/eea/volto-eea-kitkat/commit/5362c87b8276a5a015da58afbbe8995eaa23f71f)]
|
|
53
|
+
- Release @eeacms/volto-block-divider@7.0.0 [EEA Jenkins - [`afa7685`](https://github.com/eea/volto-eea-kitkat/commit/afa76858f543cb7dbd6f2f2cba2b16b707ca395f)]
|
|
54
|
+
- Release @eeacms/volto-anchors@1.0.0 [EEA Jenkins - [`54d9547`](https://github.com/eea/volto-eea-kitkat/commit/54d9547dcc236b4b33196e2ee1bd7c4f10fea6ed)]
|
|
55
|
+
- Release @eeacms/volto-accordion-block@11.0.0 [EEA Jenkins - [`cafd753`](https://github.com/eea/volto-eea-kitkat/commit/cafd75306a5695ff02b42647b6b0762202cc9752)]
|
|
56
|
+
|
|
57
|
+
#### :bug: Bug Fixes
|
|
58
|
+
|
|
59
|
+
- fix(tests): add cypress 13 to devdependencies [ana-oprea - [`3f70ec5`](https://github.com/eea/volto-eea-kitkat/commit/3f70ec5d4959e7104fea138085d8777fa81ff875)]
|
|
60
|
+
|
|
61
|
+
#### :house: Documentation changes
|
|
62
|
+
|
|
63
|
+
- docs: Update README about version 25.x upgrade [alin - [`2e4849f`](https://github.com/eea/volto-eea-kitkat/commit/2e4849f1ecd3083674378559b37fea801a6a17e1)]
|
|
64
|
+
|
|
65
|
+
#### :hammer_and_wrench: Others
|
|
66
|
+
|
|
67
|
+
- Release volto-block-toc 5.0.0 [alin - [`021d62a`](https://github.com/eea/volto-eea-kitkat/commit/021d62adf48335d656188d0c47a8a12239b7ffea)]
|
|
7
68
|
### [24.0.1](https://github.com/eea/volto-eea-kitkat/compare/24.0.0...24.0.1) - 16 April 2024
|
|
8
69
|
|
|
9
70
|
#### :rocket: Dependency updates
|
|
@@ -12,8 +73,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
12
73
|
|
|
13
74
|
#### :hammer_and_wrench: Others
|
|
14
75
|
|
|
15
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d7ebd6c`](https://github.com/eea/volto-eea-kitkat/commit/d7ebd6c856ee7fcaae6047c32706071d5f24bf3c)]
|
|
16
|
-
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`5948ed3`](https://github.com/eea/volto-eea-kitkat/commit/5948ed35d981c8fe6a16c0ced56ed417ae8a6c61)]
|
|
17
76
|
## [24.0.0](https://github.com/eea/volto-eea-kitkat/compare/23.2.0...24.0.0) - 5 April 2024
|
|
18
77
|
|
|
19
78
|
#### :rocket: Dependency updates
|
|
@@ -108,7 +167,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
108
167
|
#### :hammer_and_wrench: Others
|
|
109
168
|
|
|
110
169
|
- Release 22.0.0 [alin - [`fb085a0`](https://github.com/eea/volto-eea-kitkat/commit/fb085a0e45626cd2f3f34f927e40915a494c77a3)]
|
|
111
|
-
- Add Sonarqube tag using insitu-frontend addons list [EEA Jenkins - [`d90b330`](https://github.com/eea/volto-eea-kitkat/commit/d90b330d3c721586f5f4626862b304c9cd9bf8b1)]
|
|
112
170
|
### [21.2.3](https://github.com/eea/volto-eea-kitkat/compare/21.2.2...21.2.3) - 1 February 2024
|
|
113
171
|
|
|
114
172
|
#### :rocket: Dependency updates
|
|
@@ -195,8 +253,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
195
253
|
|
|
196
254
|
#### :hammer_and_wrench: Others
|
|
197
255
|
|
|
198
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`8e4d866`](https://github.com/eea/volto-eea-kitkat/commit/8e4d86602f5b532da600ab03d77b486690ef112b)]
|
|
199
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`bc2908c`](https://github.com/eea/volto-eea-kitkat/commit/bc2908cf04b6ab596d0ddf091b09e06981c6fc2b)]
|
|
200
256
|
### [20.0.2](https://github.com/eea/volto-eea-kitkat/compare/20.0.1...20.0.2) - 15 November 2023
|
|
201
257
|
|
|
202
258
|
### [20.0.1](https://github.com/eea/volto-eea-kitkat/compare/20.0.0...20.0.1) - 13 November 2023
|
|
@@ -208,11 +264,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
208
264
|
|
|
209
265
|
#### :hammer_and_wrench: Others
|
|
210
266
|
|
|
211
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`f9c872b`](https://github.com/eea/volto-eea-kitkat/commit/f9c872b27eca12147b8d2728c24fbc37a6132f6a)]
|
|
212
|
-
- test: [JENKINS] set cpu limit on cypress [valentinab25 - [`bcdc347`](https://github.com/eea/volto-eea-kitkat/commit/bcdc34701e1fea38af7d5b580a0831a864c18a3b)]
|
|
213
|
-
- test: [JENKINS] add shm-size to cypress docker [valentinab25 - [`cfb36e2`](https://github.com/eea/volto-eea-kitkat/commit/cfb36e29aa419a1f7c24d38ca4316c99c8d7f4df)]
|
|
214
|
-
- test: [JENKINS] improve cypress time [valentinab25 - [`0df1585`](https://github.com/eea/volto-eea-kitkat/commit/0df15850745f388937152a104128b4c3a586701f)]
|
|
215
|
-
- test: [JENKINS] improve cypress time [valentinab25 - [`6b9a750`](https://github.com/eea/volto-eea-kitkat/commit/6b9a750d8d1676dbbe418021643dc0ea145dd6d2)]
|
|
216
267
|
## [20.0.0](https://github.com/eea/volto-eea-kitkat/compare/19.1.0...20.0.0) - 2 November 2023
|
|
217
268
|
|
|
218
269
|
#### :rocket: Dependency updates
|
|
@@ -249,7 +300,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
249
300
|
|
|
250
301
|
#### :house: Internal changes
|
|
251
302
|
|
|
252
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`068610e`](https://github.com/eea/volto-eea-kitkat/commit/068610e11366f3d9a2c49c7ed1b22c0ae4549b5d)]
|
|
253
303
|
|
|
254
304
|
#### :hammer_and_wrench: Others
|
|
255
305
|
|
|
@@ -588,7 +638,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
588
638
|
#### :house: Internal changes
|
|
589
639
|
|
|
590
640
|
- chore: Revert version bump until ready for release [Alin Voinea - [`91ada51`](https://github.com/eea/volto-eea-kitkat/commit/91ada510d1f78cee615c9ffdf9307995f2b1722d)]
|
|
591
|
-
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`a62f4ff`](https://github.com/eea/volto-eea-kitkat/commit/a62f4ffee3796fa3558628fe1d63a9a263ae6bd2)]
|
|
592
641
|
|
|
593
642
|
#### :hammer_and_wrench: Others
|
|
594
643
|
|
|
@@ -705,7 +754,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
705
754
|
|
|
706
755
|
#### :hammer_and_wrench: Others
|
|
707
756
|
|
|
708
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`8ec6014`](https://github.com/eea/volto-eea-kitkat/commit/8ec6014398b1b266b4f0173b92539245a385ee1a)]
|
|
709
757
|
- refactor code as per sonarqube issues [tedw87 - [`6aab22a`](https://github.com/eea/volto-eea-kitkat/commit/6aab22a3ddf038bdce2272be8733b9afd9562720)]
|
|
710
758
|
## [14.0.0](https://github.com/eea/volto-eea-kitkat/compare/13.0.0...14.0.0) - 24 March 2023
|
|
711
759
|
|
|
@@ -739,7 +787,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
739
787
|
|
|
740
788
|
- Release 12.1.0 [Alin Voinea - [`f98ddf7`](https://github.com/eea/volto-eea-kitkat/commit/f98ddf78b0818591f95e027d612257f78fcbba99)]
|
|
741
789
|
- test(Jenkins): Use latest stable Volto for testing [Alin Voinea - [`49938ca`](https://github.com/eea/volto-eea-kitkat/commit/49938ca373ee9f6384932fa39b957361db3b84a7)]
|
|
742
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`877d026`](https://github.com/eea/volto-eea-kitkat/commit/877d026f7a98bed9aac7f0117cace1e28963ccf1)]
|
|
743
790
|
### [12.0.3](https://github.com/eea/volto-eea-kitkat/compare/12.0.2...12.0.3) - 1 March 2023
|
|
744
791
|
|
|
745
792
|
### [12.0.2](https://github.com/eea/volto-eea-kitkat/compare/12.0.1...12.0.2) - 1 March 2023
|
|
@@ -834,7 +881,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
834
881
|
|
|
835
882
|
#### :hammer_and_wrench: Others
|
|
836
883
|
|
|
837
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`78dcc6c`](https://github.com/eea/volto-eea-kitkat/commit/78dcc6c91c3070988f8eab4f40906948b2f24b04)]
|
|
838
884
|
### [10.4.0](https://github.com/eea/volto-eea-kitkat/compare/10.3.0...10.4.0) - 28 December 2022
|
|
839
885
|
|
|
840
886
|
#### :rocket: Dependency updates
|
|
@@ -847,7 +893,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
847
893
|
#### :hammer_and_wrench: Others
|
|
848
894
|
|
|
849
895
|
- Release 10.4.0 [Alin Voinea - [`9f580b7`](https://github.com/eea/volto-eea-kitkat/commit/9f580b75c7349f824bf537a9f14c2da1c505a105)]
|
|
850
|
-
- Add Sonarqube tag using advisory-board-frontend addons list [EEA Jenkins - [`fd9cc58`](https://github.com/eea/volto-eea-kitkat/commit/fd9cc589f17e2eb73bf42f88645688824f97eb9e)]
|
|
851
896
|
### [10.3.0](https://github.com/eea/volto-eea-kitkat/compare/10.2.0...10.3.0) - 16 December 2022
|
|
852
897
|
|
|
853
898
|
#### :rocket: Dependency updates
|
|
@@ -859,7 +904,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
859
904
|
#### :hammer_and_wrench: Others
|
|
860
905
|
|
|
861
906
|
- Release 10.3.0 [Alin Voinea - [`4f9945a`](https://github.com/eea/volto-eea-kitkat/commit/4f9945a0fd1a981a7f4b43c56293040dba0dd09d)]
|
|
862
|
-
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`92644a9`](https://github.com/eea/volto-eea-kitkat/commit/92644a95981feb5fc97931d549a078d5bb190839)]
|
|
863
907
|
### [10.2.0](https://github.com/eea/volto-eea-kitkat/compare/10.1.1...10.2.0) - 29 November 2022
|
|
864
908
|
|
|
865
909
|
#### :rocket: Dependency updates
|
|
@@ -890,7 +934,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
890
934
|
|
|
891
935
|
- Fix storybook [Alin Voinea - [`79d961a`](https://github.com/eea/volto-eea-kitkat/commit/79d961a12cf1e90871a0aa840a86852f343db4ac)]
|
|
892
936
|
- Release 10.1.0 [Alin Voinea - [`574c998`](https://github.com/eea/volto-eea-kitkat/commit/574c998265f65f41190d60e50a9c90e0d818be35)]
|
|
893
|
-
- Add Sonarqube tag using demo-kitkat-frontend addons list [EEA Jenkins - [`c53b32f`](https://github.com/eea/volto-eea-kitkat/commit/c53b32fe433942500365fc7384c36db46eb9e87e)]
|
|
894
937
|
## [10.0.0](https://github.com/eea/volto-eea-kitkat/compare/9.0.0...10.0.0) - 16 November 2022
|
|
895
938
|
|
|
896
939
|
#### :rocket: New Features
|
|
@@ -1001,7 +1044,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1001
1044
|
|
|
1002
1045
|
#### :hammer_and_wrench: Others
|
|
1003
1046
|
|
|
1004
|
-
- Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`fdeeab3`](https://github.com/eea/volto-eea-kitkat/commit/fdeeab3e19db1a57e69dab8513d37323c0d16e11)]
|
|
1005
1047
|
### [8.2.2](https://github.com/eea/volto-eea-kitkat/compare/8.2.1...8.2.2) - 28 September 2022
|
|
1006
1048
|
|
|
1007
1049
|
### [8.2.1](https://github.com/eea/volto-eea-kitkat/compare/8.2.0...8.2.1) - 28 September 2022
|
|
@@ -1019,7 +1061,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1019
1061
|
#### :hammer_and_wrench: Others
|
|
1020
1062
|
|
|
1021
1063
|
- Release 8.2.0 [Alin Voinea - [`0e39600`](https://github.com/eea/volto-eea-kitkat/commit/0e39600048be15512a9ec742830f1412beb6db4f)]
|
|
1022
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b88dbd1`](https://github.com/eea/volto-eea-kitkat/commit/b88dbd11c7dc85a57b22b98a7a71c33bb827cd34)]
|
|
1023
1064
|
### [8.1.0](https://github.com/eea/volto-eea-kitkat/compare/8.0.0...8.1.0) - 22 September 2022
|
|
1024
1065
|
|
|
1025
1066
|
#### :rocket: Dependency updates
|
|
@@ -1051,12 +1092,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1051
1092
|
#### :hammer_and_wrench: Others
|
|
1052
1093
|
|
|
1053
1094
|
- Merge pull request #66 from eea/develop [Nilesh - [`f7d1d2f`](https://github.com/eea/volto-eea-kitkat/commit/f7d1d2f0e209a6650d134a7657ded482bc87b3d5)]
|
|
1054
|
-
- [jenkins] fix coverage report name [valentinab25 - [`d3d29e4`](https://github.com/eea/volto-eea-kitkat/commit/d3d29e49bb323f82d1ef2d2d9e8674c8c9455386)]
|
|
1055
1095
|
### [7.1.1](https://github.com/eea/volto-eea-kitkat/compare/7.1.0...7.1.1) - 5 September 2022
|
|
1056
1096
|
|
|
1057
1097
|
#### :hammer_and_wrench: Others
|
|
1058
1098
|
|
|
1059
|
-
- [jenkins] fix coverage report name [valentinab25 - [`b03633d`](https://github.com/eea/volto-eea-kitkat/commit/b03633d92c50ae921cf902b88d6321d347aac3d2)]
|
|
1060
1099
|
### [7.1.0](https://github.com/eea/volto-eea-kitkat/compare/7.0.0...7.1.0) - 29 August 2022
|
|
1061
1100
|
|
|
1062
1101
|
## [7.0.0](https://github.com/eea/volto-eea-kitkat/compare/6.2.3...7.0.0) - 26 August 2022
|
|
@@ -1129,7 +1168,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1129
1168
|
|
|
1130
1169
|
#### :hammer_and_wrench: Others
|
|
1131
1170
|
|
|
1132
|
-
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`88e838b`](https://github.com/eea/volto-eea-kitkat/commit/88e838bdf224f8f30a48822dc0b457f3eba8c837)]
|
|
1133
1171
|
- update volto-widget-dataprovenance readme badges [Nilesh - [`5009c47`](https://github.com/eea/volto-eea-kitkat/commit/5009c47097c70ba102e41cba2870d6aad37221d3)]
|
|
1134
1172
|
- Revert "Trying to fix cypress" [Alin Voinea - [`0c1eeb2`](https://github.com/eea/volto-eea-kitkat/commit/0c1eeb2fada6e204fed19140407f642ffde5e07f)]
|
|
1135
1173
|
- Trying to fix cypress [Alin Voinea - [`61c3a51`](https://github.com/eea/volto-eea-kitkat/commit/61c3a5105608e3015c59c5d74e5d2afcc86f434f)]
|
|
@@ -1252,7 +1290,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1252
1290
|
|
|
1253
1291
|
#### :hammer_and_wrench: Others
|
|
1254
1292
|
|
|
1255
|
-
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`23f80c1`](https://github.com/eea/volto-eea-kitkat/commit/23f80c1a3d3fd77ad8be5fdf6ef3354d61ef2849)]
|
|
1256
1293
|
- Update README.md [Alexandru Ghica - [`69f379b`](https://github.com/eea/volto-eea-kitkat/commit/69f379bb4effb22be2e78eda6599c822202acfd3)]
|
|
1257
1294
|
### [5.2.6](https://github.com/eea/volto-eea-kitkat/compare/5.2.5...5.2.6) - 16 March 2022
|
|
1258
1295
|
|
|
@@ -1271,7 +1308,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1271
1308
|
|
|
1272
1309
|
#### :hammer_and_wrench: Others
|
|
1273
1310
|
|
|
1274
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`340e29a`](https://github.com/eea/volto-eea-kitkat/commit/340e29aba1802068591da23490562db0dd6a9a01)]
|
|
1275
1311
|
### [5.2.4](https://github.com/eea/volto-eea-kitkat/compare/5.2.3...5.2.4) - 4 March 2022
|
|
1276
1312
|
|
|
1277
1313
|
### [5.2.3](https://github.com/eea/volto-eea-kitkat/compare/5.2.2...5.2.3) - 4 March 2022
|
|
@@ -1437,7 +1473,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1437
1473
|
|
|
1438
1474
|
#### :hammer_and_wrench: Others
|
|
1439
1475
|
|
|
1440
|
-
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`106efb6`](https://github.com/eea/volto-eea-kitkat/commit/106efb623afd9142b4d3cea2225f7b197608a5b6)]
|
|
1441
1476
|
- Add SonarQube badges [Alin Voinea - [`c9ab6ef`](https://github.com/eea/volto-eea-kitkat/commit/c9ab6efe9c303775751856ffec72923169a7c2ac)]
|
|
1442
1477
|
### [4.1.7](https://github.com/eea/volto-eea-kitkat/compare/4.1.6...4.1.7) - 24 November 2021
|
|
1443
1478
|
|
|
@@ -1491,7 +1526,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1491
1526
|
- Disable cypress [Alin Voinea - [`a406e2d`](https://github.com/eea/volto-eea-kitkat/commit/a406e2dc4be788f924642d43d82c677577a6877a)]
|
|
1492
1527
|
- Roll-back volto-slate to 4.2.1 [Alin Voinea - [`ab6ae97`](https://github.com/eea/volto-eea-kitkat/commit/ab6ae97366c1b75b73d77636f5ab937401b9f8f7)]
|
|
1493
1528
|
- Add dependencies resolutions [Alin Voinea - [`7ade630`](https://github.com/eea/volto-eea-kitkat/commit/7ade6305c9c9dfc5c2e332c50676d5f75ffe4c9f)]
|
|
1494
|
-
- Add Sonarqube tag using industry-frontend addons list [EEA Jenkins - [`a77e812`](https://github.com/eea/volto-eea-kitkat/commit/a77e812cd7aa74bc1d94cc5a44144f05b6d99264)]
|
|
1495
1529
|
### [4.1.2](https://github.com/eea/volto-eea-kitkat/compare/4.1.1...4.1.2) - 4 November 2021
|
|
1496
1530
|
|
|
1497
1531
|
#### :rocket: Dependency updates
|
|
@@ -1509,9 +1543,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1509
1543
|
- Release volto-slate 4.2.1 [Alin Voinea - [`3c26754`](https://github.com/eea/volto-eea-kitkat/commit/3c26754a1ead420dfb675c7453cec6d723566a85)]
|
|
1510
1544
|
- Release stable volto-slate 4.2.0 [Alin Voinea - [`591bcba`](https://github.com/eea/volto-eea-kitkat/commit/591bcbafa174a6cf20f45b622b2c1407df24c288)]
|
|
1511
1545
|
- Revert "Release volto-slate@4.1.0" [Alin Voinea - [`6c22eb3`](https://github.com/eea/volto-eea-kitkat/commit/6c22eb35c65f8ee7470f6dac18fe88ad73bdef3e)]
|
|
1512
|
-
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`981c570`](https://github.com/eea/volto-eea-kitkat/commit/981c570138a1b0890080a111b862759049216995)]
|
|
1513
|
-
- Revert "[JENKINS] - skip cypress" [Alin Voinea - [`c24997c`](https://github.com/eea/volto-eea-kitkat/commit/c24997cd7a293c4021ac7a8bc43212bae4cfecbc)]
|
|
1514
|
-
- Revert "[JENKINS] - Skip cypress report to sonar" [Alin Voinea - [`0cb9887`](https://github.com/eea/volto-eea-kitkat/commit/0cb9887381e5469466bb1ac3516af0d1d572fc19)]
|
|
1515
1546
|
### [4.1.0](https://github.com/eea/volto-eea-kitkat/compare/4.0.2...4.1.0) - 14 October 2021
|
|
1516
1547
|
|
|
1517
1548
|
#### :rocket: Dependency updates
|
|
@@ -1541,7 +1572,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1541
1572
|
|
|
1542
1573
|
#### :hammer_and_wrench: Others
|
|
1543
1574
|
|
|
1544
|
-
- Add Sonarqube tag using sustainability-frontend addons list [EEA Jenkins - [`e3f00fb`](https://github.com/eea/volto-eea-kitkat/commit/e3f00fb23202e8ba20c8dbb961a3f54f86b42bb9)]
|
|
1545
1575
|
- Add cypress integration tests [Alin Voinea - [`b49a070`](https://github.com/eea/volto-eea-kitkat/commit/b49a070bdbe2dcd04a31f96ade6d6f06fea94e7b)]
|
|
1546
1576
|
## [4.0.0](https://github.com/eea/volto-eea-kitkat/compare/3.0.2...4.0.0) - 29 September 2021
|
|
1547
1577
|
|
|
@@ -1554,10 +1584,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1554
1584
|
|
|
1555
1585
|
- Rename volto-satging-banner to volto-banner 1.0.0 [Alin Voinea - [`eefc06b`](https://github.com/eea/volto-eea-kitkat/commit/eefc06b186efef1a9627bde3e65656d7be074de6)]
|
|
1556
1586
|
- Add staging-banner to Readme [Alin Voinea - [`cbca78f`](https://github.com/eea/volto-eea-kitkat/commit/cbca78f9b4f76c57dbecd131452925fe7fbe24b4)]
|
|
1557
|
-
- Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`485a0ba`](https://github.com/eea/volto-eea-kitkat/commit/485a0ba3c16521eba77b092fbae04671acbd3a4d)]
|
|
1558
1587
|
- Revert "Automated release volto-slate@4.0.1" [Alin Voinea - [`447abb0`](https://github.com/eea/volto-eea-kitkat/commit/447abb0791616463d5c7fa4ee562ddd1c7984275)]
|
|
1559
1588
|
- Remove not needed tableButton volto-slate profile [Alin Voinea - [`f8a832e`](https://github.com/eea/volto-eea-kitkat/commit/f8a832ed5702ef656c520b842307ce262a110c9b)]
|
|
1560
|
-
- Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`af37bcf`](https://github.com/eea/volto-eea-kitkat/commit/af37bcfc75a6868484665ba4710867f61cb7eb39)]
|
|
1561
1589
|
### [3.0.2](https://github.com/eea/volto-eea-kitkat/compare/3.0.1...3.0.2) - 21 September 2021
|
|
1562
1590
|
|
|
1563
1591
|
### [3.0.1](https://github.com/eea/volto-eea-kitkat/compare/3.0.0...3.0.1) - 21 September 2021
|
|
@@ -1570,7 +1598,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1570
1598
|
#### :hammer_and_wrench: Others
|
|
1571
1599
|
|
|
1572
1600
|
- Update to version 3.0.0 [Alexandru Ghica - [`89bd9fd`](https://github.com/eea/volto-eea-kitkat/commit/89bd9fde1a8e4949f849bf8208cff33df1995a8d)]
|
|
1573
|
-
- Add Sonarqube tag using climate-energy-frontend addons list [EEA Jenkins - [`b700b5a`](https://github.com/eea/volto-eea-kitkat/commit/b700b5a985714197e89e656927586367d63b90a7)]
|
|
1574
1601
|
### [2.0.2](https://github.com/eea/volto-eea-kitkat/compare/2.0.1...2.0.2) - 10 September 2021
|
|
1575
1602
|
|
|
1576
1603
|
#### :hammer_and_wrench: Others
|
|
@@ -1602,5 +1629,4 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1602
1629
|
|
|
1603
1630
|
#### :hammer_and_wrench: Others
|
|
1604
1631
|
|
|
1605
|
-
- yarn bootstrap [Alin Voinea - [`180a877`](https://github.com/eea/volto-eea-kitkat/commit/180a877a89301183ce7492933965161e21e2509b)]
|
|
1606
1632
|
- Initial commit [Alin Voinea - [`0451abf`](https://github.com/eea/volto-eea-kitkat/commit/0451abfbaad75a437b9e6ec0df56b924c8d1637f)]
|
package/README.md
CHANGED
|
@@ -22,8 +22,6 @@ The [eea.kitkat](https://github.com/eea/eea.kitkat) Plone add-on is the backend
|
|
|
22
22
|
## Included Volto Add-ons
|
|
23
23
|
|
|
24
24
|
1. [](https://github.com/eea/volto-anchors/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-anchors/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-anchors/job/develop/display/redirect) [@eeacms/volto-anchors](https://github.com/eea/volto-anchors)
|
|
25
|
-
1. [](https://github.com/collective/volto-sentry/releases) [@plone-collective/volto-sentry](https://github.com/collective/volto-sentry)
|
|
26
|
-
1. [](https://github.com/kitconcept/volto-blocks-grid/releases) [@kitconcept/volto-blocks-grid](https://github.com/kitconcept/volto-blocks-grid)
|
|
27
25
|
1. [](https://github.com/eea/volto-matomo/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-matomo/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-matomo/job/develop/display/redirect) [@eeacms/volto-matomo](https://github.com/eea/volto-matomo)
|
|
28
26
|
1. [](https://github.com/eea/volto-sentry-rancher-config/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-sentry-rancher-config/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-sentry-rancher-config/job/develop/display/redirect) [@eeacms/volto-sentry-rancher-config](https://github.com/eea/volto-sentry-rancher-config)
|
|
29
27
|
1. [](https://github.com/eea/volto-controlpanel/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-controlpanel/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-controlpanel/job/develop/display/redirect) [@eeacms/volto-controlpanel](https://github.com/eea/volto-controlpanel)
|
|
@@ -60,10 +58,22 @@ The [eea.kitkat](https://github.com/eea/eea.kitkat) Plone add-on is the backend
|
|
|
60
58
|
1. [](https://github.com/eea/volto-timeline-block/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/develop/display/redirect) [@eeacms/volto-timeline-block](https://github.com/eea/volto-timeline-block)
|
|
61
59
|
1. [](https://github.com/eea/volto-toolbar-actions/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-toolbar-actions/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-toolbar-actions/job/develop/display/redirect) [@eeacms/volto-toolbar-actions](https://github.com/eea/volto-toolbar-actions)
|
|
62
60
|
1. [](https://github.com/eea/volto-block-data-table/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-block-data-table/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-block-data-table/job/develop/display/redirect) [@eeacms/volto-block-data-table](https://github.com/eea/volto-block-data-table)
|
|
63
|
-
|
|
61
|
+
1. [](https://github.com/collective/volto-sentry/releases) [@plone-collective/volto-sentry](https://github.com/collective/volto-sentry)
|
|
64
62
|
|
|
65
63
|
## Upgrade
|
|
66
64
|
|
|
65
|
+
### Upgrading to 25.x
|
|
66
|
+
|
|
67
|
+
> This version adds support for `Volto 17` and it is meant to be used with `Volto 17+`. It may work with `Volto 16` but it is not fully backward compatible (especially in Teaser block, anchors, listing), thus upgrading `volto-eea-kitkat` to version `25+` implies also upgrading to `Volto 17+`.
|
|
68
|
+
|
|
69
|
+
#### Add-ons removed
|
|
70
|
+
|
|
71
|
+
1. [@kitconcept/volto-blocks-grid](https://github.com/kitconcept/volto-blocks-grid#volto-blocks-grid-by-kitconcept)
|
|
72
|
+
|
|
73
|
+
#### Add-ons added
|
|
74
|
+
|
|
75
|
+
1. [@eeacms/volto-block-toc](https://github.com/eea/volto-block-toc)
|
|
76
|
+
|
|
67
77
|
### Upgrading to 20.x
|
|
68
78
|
|
|
69
79
|
> This versions comes with `@eeacms/volto-tabs-block 17.x`. See this package [upgrade guide](https://github.com/eea/volto-tabs-block#upgrading-to-700)
|
package/jest-addon.config.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require('dotenv').config({ path: __dirname + '/.env' })
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
testMatch: ['**/src/addons/**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
3
5
|
collectCoverageFrom: [
|
|
@@ -9,18 +11,26 @@ module.exports = {
|
|
|
9
11
|
'@plone/volto/cypress': '<rootDir>/node_modules/@plone/volto/cypress',
|
|
10
12
|
'@plone/volto/babel': '<rootDir>/node_modules/@plone/volto/babel',
|
|
11
13
|
'@plone/volto/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
12
|
-
'@package/(.*)$': '<rootDir>/src/$1',
|
|
13
|
-
'@root/(.*)$': '<rootDir>/src/$1',
|
|
14
|
+
'@package/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
15
|
+
'@root/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
14
16
|
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
|
|
17
|
+
'@eeacms/search/(.*)$': '<rootDir>/src/addons/volto-searchlib/searchlib/$1',
|
|
18
|
+
'@eeacms/search': '<rootDir>/src/addons/volto-searchlib/searchlib',
|
|
15
19
|
'@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
|
|
16
|
-
'@plone/volto-slate':
|
|
20
|
+
'@plone/volto-slate$':
|
|
17
21
|
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
|
|
22
|
+
'@plone/volto-slate/(.*)$':
|
|
23
|
+
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src/$1',
|
|
18
24
|
'~/(.*)$': '<rootDir>/src/$1',
|
|
19
25
|
'load-volto-addons':
|
|
20
26
|
'<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
|
|
21
27
|
},
|
|
28
|
+
transformIgnorePatterns: [
|
|
29
|
+
'/node_modules/(?!(@plone|@root|@package|@eeacms)/).*/',
|
|
30
|
+
],
|
|
22
31
|
transform: {
|
|
23
32
|
'^.+\\.js(x)?$': 'babel-jest',
|
|
33
|
+
'^.+\\.ts(x)?$': 'babel-jest',
|
|
24
34
|
'^.+\\.(png)$': 'jest-file',
|
|
25
35
|
'^.+\\.(jpg)$': 'jest-file',
|
|
26
36
|
'^.+\\.(svg)$': './node_modules/@plone/volto/jest-svgsystem-transform.js',
|
|
@@ -33,4 +43,9 @@ module.exports = {
|
|
|
33
43
|
statements: 5,
|
|
34
44
|
},
|
|
35
45
|
},
|
|
36
|
-
|
|
46
|
+
...(process.env.JEST_USE_SETUP === 'ON' && {
|
|
47
|
+
setupFilesAfterEnv: [
|
|
48
|
+
'<rootDir>/node_modules/@eeacms/volto-eea-kitkat/jest.setup.js',
|
|
49
|
+
],
|
|
50
|
+
}),
|
|
51
|
+
}
|
package/jest.setup.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jest } from '@jest/globals';
|
|
2
|
+
import configureStore from 'redux-mock-store';
|
|
3
|
+
import thunk from 'redux-thunk';
|
|
4
|
+
import { blocksConfig } from '@plone/volto/config/Blocks';
|
|
5
|
+
import installSlate from '@plone/volto-slate/index';
|
|
6
|
+
|
|
7
|
+
var mockSemanticComponents = jest.requireActual('semantic-ui-react');
|
|
8
|
+
var mockComponents = jest.requireActual('@plone/volto/components');
|
|
9
|
+
var config = jest.requireActual('@plone/volto/registry').default;
|
|
10
|
+
|
|
11
|
+
config.blocks.blocksConfig = {
|
|
12
|
+
...blocksConfig,
|
|
13
|
+
...config.blocks.blocksConfig,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
jest.doMock('semantic-ui-react', () => ({
|
|
17
|
+
__esModule: true,
|
|
18
|
+
...mockSemanticComponents,
|
|
19
|
+
Popup: ({ content, trigger }) => {
|
|
20
|
+
return (
|
|
21
|
+
<div className="popup">
|
|
22
|
+
<div className="trigger">{trigger}</div>
|
|
23
|
+
<div className="content">{content}</div>
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
},
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
jest.doMock('@plone/volto/components', () => {
|
|
30
|
+
return {
|
|
31
|
+
__esModule: true,
|
|
32
|
+
...mockComponents,
|
|
33
|
+
SidebarPortal: ({ children }) => <div id="sidebar">{children}</div>,
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
jest.doMock('@plone/volto/registry', () =>
|
|
38
|
+
[installSlate].reduce((acc, apply) => apply(acc), config),
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
const mockStore = configureStore([thunk]);
|
|
42
|
+
|
|
43
|
+
global.fetch = jest.fn(() =>
|
|
44
|
+
Promise.resolve({
|
|
45
|
+
json: () => Promise.resolve({}),
|
|
46
|
+
}),
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
global.store = mockStore({
|
|
50
|
+
intl: {
|
|
51
|
+
locale: 'en',
|
|
52
|
+
messages: {},
|
|
53
|
+
formatMessage: jest.fn(),
|
|
54
|
+
},
|
|
55
|
+
content: {
|
|
56
|
+
create: {},
|
|
57
|
+
subrequests: [],
|
|
58
|
+
},
|
|
59
|
+
connected_data_parameters: {},
|
|
60
|
+
screen: {
|
|
61
|
+
page: {
|
|
62
|
+
width: 768,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|