@eeacms/volto-clms-theme 1.1.16 → 1.1.18
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,24 @@ 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.1.18](https://github.com/eea/volto-clms-theme/compare/1.1.17...1.1.18) - 3 July 2023
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- lint [Mikel Larreategi - [`f828104`](https://github.com/eea/volto-clms-theme/commit/f82810407be009f416090d005a84175bc87c21fe)]
|
|
12
|
+
- clms-2329 remove periodicity from calendar picker [Mikel Larreategi - [`9272a58`](https://github.com/eea/volto-clms-theme/commit/9272a580cdb11051a33832e2d1e4c738ca1a47e6)]
|
|
13
|
+
### [1.1.17](https://github.com/eea/volto-clms-theme/compare/1.1.16...1.1.17) - 30 June 2023
|
|
14
|
+
|
|
15
|
+
#### :hammer_and_wrench: Others
|
|
16
|
+
|
|
17
|
+
- remove NUTS text for area naming in the cart [ionlizarazu - [`062e0a3`](https://github.com/eea/volto-clms-theme/commit/062e0a375f5352bc13c18ff7ec33fad4bcc59f2f)]
|
|
18
|
+
- dependencies [ionlizarazu - [`405ef96`](https://github.com/eea/volto-clms-theme/commit/405ef96090fe7bd4af73a49d3285a92fad712e3b)]
|
|
19
|
+
- yarn.lock [ionlizarazu - [`7132119`](https://github.com/eea/volto-clms-theme/commit/71321195c4dd4fceed67f2f0872f3e24bba61c17)]
|
|
20
|
+
- volto-blocks-grid module mapping [ionlizarazu - [`4fec3ca`](https://github.com/eea/volto-clms-theme/commit/4fec3cabc437322ad92ed90d682250bd123ccaaf)]
|
|
21
|
+
- volto-blocks-grid v7.0.2 [ionlizarazu - [`2557e60`](https://github.com/eea/volto-clms-theme/commit/2557e6039d3cea33ca0bd11a0a3ef4764c611f78)]
|
|
22
|
+
- remove styling from teaser block [ionlizarazu - [`879e684`](https://github.com/eea/volto-clms-theme/commit/879e684057c88f52f60f0fa54cbaa155c7d14688)]
|
|
23
|
+
- update dependency [Mikel Larreategi - [`a937ef3`](https://github.com/eea/volto-clms-theme/commit/a937ef376d6fe636c6e5688e9e615e9e03bf7f69)]
|
|
24
|
+
- teaser card image left [ionlizarazu - [`cd4746f`](https://github.com/eea/volto-clms-theme/commit/cd4746f0e32818c18e17904d059373829c63ce91)]
|
|
7
25
|
### [1.1.16](https://github.com/eea/volto-clms-theme/compare/1.1.15...1.1.16) - 29 June 2023
|
|
8
26
|
|
|
9
27
|
#### :rocket: New Features
|
|
@@ -86,6 +104,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
86
104
|
|
|
87
105
|
#### :house: Internal changes
|
|
88
106
|
|
|
107
|
+
- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`b4cbf65`](https://github.com/eea/volto-clms-theme/commit/b4cbf6557fbc67f7fc4cea5aa2cb19804f3d7e3c)]
|
|
89
108
|
|
|
90
109
|
#### :hammer_and_wrench: Others
|
|
91
110
|
|
|
@@ -1284,6 +1303,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1284
1303
|
#### :hammer_and_wrench: Others
|
|
1285
1304
|
|
|
1286
1305
|
- related products and datasets added to news and meeting views and login-plone route created [Unai - [`5704a1a`](https://github.com/eea/volto-clms-theme/commit/5704a1a766148746162b60efaf232ea90dc20cf4)]
|
|
1306
|
+
- Revert "[JENKINS] Use eeacms/plone-backend and Volto alpha version- Refs #151967" [Mikel Larreategi - [`46eb694`](https://github.com/eea/volto-clms-theme/commit/46eb69415280a3c982405299135027ae4221426a)]
|
|
1287
1307
|
- sort items according to the lowercased label and put those with special meaning at the end [Mikel Larreategi - [`6410abe`](https://github.com/eea/volto-clms-theme/commit/6410abe096f60dcad54dced2026c9df9b7946d68)]
|
|
1288
1308
|
- lint fix [Unai - [`1264a7a`](https://github.com/eea/volto-clms-theme/commit/1264a7adfe8d679fea1bd821ad087add20f4271d)]
|
|
1289
1309
|
- footer newsletter subscription change, global search maxLength change from 8000 to 200 and /login design change [Unai - [`a09d24a`](https://github.com/eea/volto-clms-theme/commit/a09d24adbb6fa053fb2a2cc0071506b906593b42)]
|
|
@@ -1434,6 +1454,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1434
1454
|
- search block new features [ionlizarazu - [`8e814cb`](https://github.com/eea/volto-clms-theme/commit/8e814cbd359782540c21fe37b37ef146d331f0d6)]
|
|
1435
1455
|
- language selector cookie management [ionlizarazu - [`1385ac9`](https://github.com/eea/volto-clms-theme/commit/1385ac95795702206d3623ba6e780faa43a89e0a)]
|
|
1436
1456
|
- toolbar cookie management [ionlizarazu - [`5c23200`](https://github.com/eea/volto-clms-theme/commit/5c23200790b20e1d4f1bc966463c37bf4c808f47)]
|
|
1457
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`0316a0d`](https://github.com/eea/volto-clms-theme/commit/0316a0d8b6fb0fa14af13002415f3c95d9f8ede3)]
|
|
1437
1458
|
### [1.0.84](https://github.com/eea/volto-clms-theme/compare/1.0.83...1.0.84) - 18 March 2022
|
|
1438
1459
|
|
|
1439
1460
|
#### :hammer_and_wrench: Others
|
|
@@ -2338,11 +2359,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
2338
2359
|
#### :hammer_and_wrench: Others
|
|
2339
2360
|
|
|
2340
2361
|
- replace @collective/volto-dropdownmenu with volto-dropdownmenu [ionlizarazu - [`07f004f`](https://github.com/eea/volto-clms-theme/commit/07f004fe0219e403fb51bc045c83d34f3b981f76)]
|
|
2362
|
+
- yarn.lock [ionlizarazu - [`fe1ca04`](https://github.com/eea/volto-clms-theme/commit/fe1ca04889d29fe7b653db4c69af2751b84b8a1a)]
|
|
2341
2363
|
- add NODE_ENV parameter [ionlizarazu - [`101f27c`](https://github.com/eea/volto-clms-theme/commit/101f27c25b8fbd192e1b11865e95cf5ffee08c1b)]
|
|
2342
2364
|
- upgrade volto-dropdownmenu version [ionlizarazu - [`2081855`](https://github.com/eea/volto-clms-theme/commit/2081855301f4c708776e0dbab39db143cee00dbc)]
|
|
2343
2365
|
- HomeSearch block missing url behaviour [ionlizarazu - [`d20a378`](https://github.com/eea/volto-clms-theme/commit/d20a378ce3f254b8343692348f314bf281974542)]
|
|
2344
2366
|
- babel configuration [ionlizarazu - [`203ea2d`](https://github.com/eea/volto-clms-theme/commit/203ea2de07f99ca3403e4ca220ca74d7ce69b61d)]
|
|
2345
2367
|
- prettier [ionlizarazu - [`e79e26b`](https://github.com/eea/volto-clms-theme/commit/e79e26bf2fa40ba7b4eb53a24dabd87928221c28)]
|
|
2368
|
+
- add yarn lock [ionlizarazu - [`e1ab28b`](https://github.com/eea/volto-clms-theme/commit/e1ab28b060d5a74431c368b0de82a68dabce1eab)]
|
|
2346
2369
|
- Jenkinsfile cypress test [ionlizarazu - [`b385d65`](https://github.com/eea/volto-clms-theme/commit/b385d65986f717c60f8c434a08fc11b829d08eb4)]
|
|
2347
2370
|
- cypress [ionlizarazu - [`a243cf0`](https://github.com/eea/volto-clms-theme/commit/a243cf0182fa3dd113c16ff495c71e310252d83b)]
|
|
2348
2371
|
- some fixes [ionlizarazu - [`046279b`](https://github.com/eea/volto-clms-theme/commit/046279b9d05bea8a64eca03eed493e02621534c9)]
|
package/jest-addon.config.js
CHANGED
|
@@ -15,6 +15,8 @@ module.exports = {
|
|
|
15
15
|
'<rootDir>/src/addons/volto-clms-theme/src/$1',
|
|
16
16
|
'@eeacms/volto-clms-utils/(.*)$':
|
|
17
17
|
'<rootDir>/node_modules/@eeacms/volto-clms-utils/src/$1',
|
|
18
|
+
'@kitconcept/volto-blocks-grid/(.*)$':
|
|
19
|
+
'<rootDir>/node_modules/@kitconcept/volto-blocks-grid/src/$1',
|
|
18
20
|
'@plone/volto-slate':
|
|
19
21
|
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
|
|
20
22
|
'~/(.*)$': '<rootDir>/src/$1',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-clms-theme",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "volto-clms-theme: Volto theme for CLMS site",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "CodeSyntax for the European Environment Agency",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"url": "git@github.com:eea/volto-clms-theme.git"
|
|
19
19
|
},
|
|
20
20
|
"addons": [
|
|
21
|
+
"@kitconcept/volto-blocks-grid",
|
|
21
22
|
"volto-dropdownmenu",
|
|
22
23
|
"@eeacms/volto-arcgis-block",
|
|
23
24
|
"@eeacms/volto-columns-block",
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"@eeacms/volto-accordion-block": "7.0.0",
|
|
38
39
|
"@eeacms/volto-arcgis-block": "*",
|
|
39
|
-
"@eeacms/volto-clms-utils": "0.1.
|
|
40
|
+
"@eeacms/volto-clms-utils": "0.1.8",
|
|
40
41
|
"@eeacms/volto-columns-block": "6.0.2",
|
|
41
42
|
"@eeacms/volto-embed": "5.0.1",
|
|
42
43
|
"@eeacms/volto-metadata-block": "5.0.1",
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
"@fortawesome/free-solid-svg-icons": "5.15.3",
|
|
51
52
|
"@fortawesome/react-fontawesome": "0.1.14",
|
|
52
53
|
"@ginkgo-bioworks/react-json-schema-form-builder": "2.10.1",
|
|
54
|
+
"@kitconcept/volto-blocks-grid": "7.0.2",
|
|
53
55
|
"connected-react-router": "6.8.0",
|
|
54
56
|
"husky": "7.0.4",
|
|
55
57
|
"lightgallery": "^2.4.0",
|
|
@@ -86,6 +86,9 @@ import { default as CustomVideoView } from '@eeacms/volto-clms-theme/components/
|
|
|
86
86
|
import { default as CustomVideoEdit } from '@eeacms/volto-clms-theme/components/Blocks/CustomTemplates/VideoBlock/Edit';
|
|
87
87
|
import { default as CustomHtmlView } from '@eeacms/volto-clms-theme/components/Blocks/CustomTemplates/HtmlBlock/View';
|
|
88
88
|
import { default as CustomHtmlEdit } from '@eeacms/volto-clms-theme/components/Blocks/CustomTemplates/HtmlBlock/Edit';
|
|
89
|
+
|
|
90
|
+
import { TeaserSchema } from '@kitconcept/volto-blocks-grid/components/Teaser/schema';
|
|
91
|
+
|
|
89
92
|
export const customGroupBlocksOrder = [
|
|
90
93
|
{
|
|
91
94
|
id: 'ccl_blocks',
|
|
@@ -629,6 +632,15 @@ const customBlocks = (config) => ({
|
|
|
629
632
|
view: [], // Future proof (not implemented yet) view user role(s)
|
|
630
633
|
},
|
|
631
634
|
},
|
|
635
|
+
teaser: {
|
|
636
|
+
...config.blocks.blocksConfig.teaser,
|
|
637
|
+
blockSchema: (intl) => {
|
|
638
|
+
const schema = TeaserSchema(intl);
|
|
639
|
+
delete schema.properties.styles;
|
|
640
|
+
schema.fieldsets = schema.fieldsets.filter((s) => s.id === 'default');
|
|
641
|
+
return schema;
|
|
642
|
+
},
|
|
643
|
+
},
|
|
632
644
|
});
|
|
633
645
|
|
|
634
646
|
export default customBlocks;
|
|
@@ -20,7 +20,7 @@ export const AreaNaming = (areaProps) => {
|
|
|
20
20
|
</>
|
|
21
21
|
);
|
|
22
22
|
case 'nuts':
|
|
23
|
-
return
|
|
23
|
+
return item.area.valueName || item.area.value;
|
|
24
24
|
case undefined:
|
|
25
25
|
return item.area || item.file || '-';
|
|
26
26
|
case typeof item.area === 'string':
|
|
@@ -8,7 +8,7 @@ import { cclDateFormat } from '@eeacms/volto-clms-theme/components/CclUtils';
|
|
|
8
8
|
import CclButton from '@eeacms/volto-clms-theme/components/CclButton/CclButton';
|
|
9
9
|
|
|
10
10
|
export const TimeseriesPicker = (props) => {
|
|
11
|
-
const { start, end,
|
|
11
|
+
const { start, end, item, setTimeseriesValue } = props;
|
|
12
12
|
const [startValue, setStartValue] = useState(
|
|
13
13
|
item?.TemporalFilter?.StartDate
|
|
14
14
|
? new Date(cclDateFormat(item.TemporalFilter.StartDate))
|
|
@@ -20,23 +20,7 @@ export const TimeseriesPicker = (props) => {
|
|
|
20
20
|
: null,
|
|
21
21
|
);
|
|
22
22
|
const [isOpen, setIsOpen] = useState(false);
|
|
23
|
-
|
|
24
|
-
if (p === 1 / 24 || p === 'PT1H') {
|
|
25
|
-
return 'hourly';
|
|
26
|
-
} else if (p === 1 || p === 'P1D') {
|
|
27
|
-
return 'daily';
|
|
28
|
-
} else if (p === 7 || p === 'P7D' || p === 'P1W') {
|
|
29
|
-
return 'weekly';
|
|
30
|
-
} else if (p === 10 || p === 'P10D') {
|
|
31
|
-
return '10-daily';
|
|
32
|
-
} else if ((p >= 28 && p <= 31) || p === 'P1M') {
|
|
33
|
-
return 'monthly';
|
|
34
|
-
} else if (p === 365 || p === 366 || p === 'P1Y') {
|
|
35
|
-
return 'yearly';
|
|
36
|
-
} else {
|
|
37
|
-
return 'not regular';
|
|
38
|
-
}
|
|
39
|
-
};
|
|
23
|
+
|
|
40
24
|
return (
|
|
41
25
|
<>
|
|
42
26
|
<Popup
|
|
@@ -78,8 +62,6 @@ export const TimeseriesPicker = (props) => {
|
|
|
78
62
|
>
|
|
79
63
|
<Grid.Column className="datetime-picker">
|
|
80
64
|
<Grid.Row>
|
|
81
|
-
The periodicity of this dataset is {getPeriodicity(period)}
|
|
82
|
-
<br />
|
|
83
65
|
<DatePicker
|
|
84
66
|
id="start_date"
|
|
85
67
|
inline
|