@eeacms/volto-cca-policy 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ 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
+ ### [0.2.1](https://github.com/eea/volto-cca-policy/compare/0.2.0...0.2.1) - 5 April 2024
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix: default position for disclaimer [kreafox - [`1a8ab49`](https://github.com/eea/volto-cca-policy/commit/1a8ab496d091ef9894ca31bc2f1d6d226863e720)]
12
+
13
+ #### :hammer_and_wrench: Others
14
+
15
+ - Style improvements [kreafox - [`91d4e68`](https://github.com/eea/volto-cca-policy/commit/91d4e68512fdbaef0b9f1e9db8a227f629c9d17b)]
7
16
  ### [0.2.0](https://github.com/eea/volto-cca-policy/compare/0.1.102...0.2.0) - 5 April 2024
8
17
 
9
18
  #### :rocket: New Features
@@ -839,10 +848,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
839
848
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
840
849
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
841
850
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
851
+ - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
852
+ - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
842
853
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
843
854
 
844
855
  #### :house: Internal changes
845
856
 
857
+ - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
846
858
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
847
859
 
848
860
  #### :hammer_and_wrench: Others
@@ -859,6 +871,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
859
871
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
860
872
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
861
873
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
874
+ - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
875
+ - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
876
+ - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
862
877
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
863
878
  - Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
864
879
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -1075,6 +1090,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1075
1090
 
1076
1091
  #### :house: Internal changes
1077
1092
 
1093
+ - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
1078
1094
 
1079
1095
  #### :hammer_and_wrench: Others
1080
1096
 
@@ -1555,6 +1571,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1555
1571
  #### :hammer_and_wrench: Others
1556
1572
 
1557
1573
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
1574
+ - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
1558
1575
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
1559
1576
 
1560
1577
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -7,7 +7,7 @@ const TranslationInfo = (props) => {
7
7
  const [isActive, setIsActive] = useState(false);
8
8
  const [activeClass, setActiveClass] = useState('');
9
9
  const [elementHeight, setElementHeight] = useState(0);
10
- const [bottomPosition, setBottomPosition] = useState(0);
10
+ const [bottomPosition, setBottomPosition] = useState('-100');
11
11
  const elementRef = useRef(null);
12
12
 
13
13
  useEffect(() => {
@@ -23,7 +23,7 @@ const TranslationInfo = (props) => {
23
23
  const updateElementHeight = () => {
24
24
  if (elementRef.current) {
25
25
  const height = elementRef.current.clientHeight;
26
- setElementHeight(`${height}px`);
26
+ setElementHeight(`${height}`);
27
27
  }
28
28
  };
29
29
 
@@ -31,7 +31,7 @@ const TranslationInfo = (props) => {
31
31
  const updateElementHeight = () => {
32
32
  if (elementRef.current) {
33
33
  const height = elementRef.current.clientHeight;
34
- setElementHeight(`${height}px`);
34
+ setElementHeight(`${height}`);
35
35
  }
36
36
  };
37
37
 
@@ -59,7 +59,7 @@ const TranslationInfo = (props) => {
59
59
  ref={elementRef}
60
60
  className={`translation-toast warning ${activeClass}`}
61
61
  style={{
62
- bottom: bottomPosition,
62
+ bottom: `${bottomPosition}px`,
63
63
  }}
64
64
  >
65
65
  <div className="header">
@@ -170,3 +170,18 @@ body.subsite {
170
170
  font-size: 16px !important;
171
171
  }
172
172
  }
173
+
174
+ .ui.grid > .row > .column-blocks-wrapper,
175
+ .column-blocks-wrapper {
176
+ margin-bottom: 0 !important;
177
+ }
178
+
179
+ @media only screen and (max-width: 768px) {
180
+ .country-flag {
181
+ padding: 0 1.2em;
182
+ }
183
+
184
+ .ui.selection.dropdown.countries-dd i.icon {
185
+ font-size: 23px;
186
+ }
187
+ }