@eeacms/volto-bise-policy 1.2.4 → 1.2.6

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,11 +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
- ### [1.2.4](https://github.com/eea/volto-bise-policy/compare/1.2.3...1.2.4) - 4 July 2023
7
+ ### [1.2.6](https://github.com/eea/volto-bise-policy/compare/1.2.5...1.2.6) - 17 July 2023
8
8
 
9
9
  #### :hammer_and_wrench: Others
10
10
 
11
- - use white ec logo [Miu Razvan - [`918bbad`](https://github.com/eea/volto-bise-policy/commit/918bbadd702a881263782aa294c84a690141ddf0)]
11
+ - fix languages options for N2K section [Claudia Ifrim - [`e9b6090`](https://github.com/eea/volto-bise-policy/commit/e9b609098964755c98c4d2332410ff07bab05a8b)]
12
+ ### [1.2.5](https://github.com/eea/volto-bise-policy/compare/1.2.4...1.2.5) - 5 July 2023
13
+
14
+ ### [1.2.4](https://github.com/eea/volto-bise-policy/compare/1.2.3...1.2.4) - 4 July 2023
15
+
12
16
  ### [1.2.3](https://github.com/eea/volto-bise-policy/compare/1.2.2...1.2.3) - 27 June 2023
13
17
 
14
18
  ### [1.2.2](https://github.com/eea/volto-bise-policy/compare/1.2.1...1.2.2) - 26 June 2023
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "@eeacms/volto-bise-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -20,6 +20,34 @@ const customBlocks = [
20
20
  'navigationBlock',
21
21
  ];
22
22
 
23
+ const n2kLanguages = [
24
+ { name: 'Български', code: 'bg' },
25
+ { name: 'čeština', code: 'cs' },
26
+ { name: 'Hrvatski', code: 'hr' },
27
+ { name: 'dansk', code: 'da' },
28
+ { name: 'Nederlands', code: 'nl' },
29
+ { name: 'ελληνικά', code: 'el' },
30
+ { name: 'English', code: 'en' },
31
+ { name: 'eesti', code: 'et' },
32
+ { name: 'Suomi', code: 'fi' },
33
+ { name: 'Français', code: 'fr' },
34
+ { name: 'Deutsch', code: 'de' },
35
+ { name: 'magyar', code: 'hu' },
36
+ { name: 'Irish', code: 'ga' },
37
+ { name: 'italiano', code: 'it' },
38
+ { name: 'Latviešu', code: 'lv' },
39
+ { name: 'lietuvių', code: 'lt' },
40
+ { name: 'Malti', code: 'mt' },
41
+ { name: 'Norsk', code: 'no' },
42
+ { name: 'polski', code: 'pl' },
43
+ { name: 'Português', code: 'pt' },
44
+ { name: 'Română', code: 'ro' },
45
+ { name: 'slovenčina', code: 'sk' },
46
+ { name: 'Slovenščina', code: 'sl' },
47
+ { name: 'Español', code: 'es' },
48
+ { name: 'Svenska', code: 'sv' },
49
+ ];
50
+
23
51
  const applyConfig = (config) => {
24
52
  // Volto specific settings
25
53
  config.settings = {
@@ -35,6 +63,7 @@ const applyConfig = (config) => {
35
63
  // EEA customizations
36
64
  config.settings.eea = {
37
65
  ...(config.settings.eea || {}),
66
+ languages: n2kLanguages,
38
67
  headerOpts: {
39
68
  ...(config.settings.eea?.headerOpts || {}),
40
69
  logo: biseLogo,
@@ -1,3 +1,27 @@
1
+ .tabs-block.light .slick-arrows button.slick-arrow svg {
2
+ fill: #fff;
3
+
4
+ path {
5
+ fill: #fff;
6
+ }
7
+ }
8
+
9
+ .tabs-block.grey .slick-arrows button.slick-arrow svg {
10
+ fill: #b3b3b3;
11
+
12
+ path {
13
+ fill: #b3b3b3;
14
+ }
15
+ }
16
+
17
+ .tabs-block.dark .slick-arrows button.slick-arrow svg {
18
+ fill: #000;
19
+
20
+ path {
21
+ fill: #000;
22
+ }
23
+ }
24
+
1
25
  .subsite-natura2000 {
2
26
  .tabs-block {
3
27
  color: inherit;
@@ -68,30 +92,6 @@
68
92
  align-items: center;
69
93
  }
70
94
 
71
- .tabs-block.light .slick-arrows button.slick-arrow svg {
72
- fill: #fff;
73
-
74
- path {
75
- fill: #fff;
76
- }
77
- }
78
-
79
- .tabs-block.grey .slick-arrows button.slick-arrow svg {
80
- fill: #b3b3b3;
81
-
82
- path {
83
- fill: #b3b3b3;
84
- }
85
- }
86
-
87
- .tabs-block.dark .slick-arrows button.slick-arrow svg {
88
- fill: #000;
89
-
90
- path {
91
- fill: #000;
92
- }
93
- }
94
-
95
95
  .tabs-block.carousel_n2k .slick-arrows .learn-more {
96
96
  margin-bottom: 0 !important;
97
97
  }