@eeacms/volto-hero-block 5.4.5 → 5.4.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 +21 -3
- package/cypress.config.js +3 -3
- package/package.json +1 -1
- package/src/components/Blocks/Hero/schema.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,29 @@ 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
|
-
### [5.4.
|
|
7
|
+
### [5.4.6](https://github.com/eea/volto-hero-block/compare/5.4.5...5.4.6) - 27 November 2023
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat(hero): add clear option for hero image position [David Ichim - [`80c35eb`](https://github.com/eea/volto-hero-block/commit/80c35eb76a27080968b111b8ef07a4b6563014b2)]
|
|
12
|
+
|
|
13
|
+
#### :nail_care: Enhancements
|
|
14
|
+
|
|
15
|
+
- change(image): renamed title for bg to Image position [David Ichim - [`81e1e63`](https://github.com/eea/volto-hero-block/commit/81e1e63d49f21d098382a3f02cf0aeb084a5a34d)]
|
|
10
16
|
|
|
11
|
-
|
|
17
|
+
#### :house: Internal changes
|
|
18
|
+
|
|
19
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`df8242c`](https://github.com/eea/volto-hero-block/commit/df8242c62eb8c706c3854f6bb4a6984932463571)]
|
|
20
|
+
|
|
21
|
+
#### :hammer_and_wrench: Others
|
|
22
|
+
|
|
23
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`4ea90f6`](https://github.com/eea/volto-hero-block/commit/4ea90f6a23c92fe631ee6025dbe5ee27ec030665)]
|
|
24
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`6e9d7f5`](https://github.com/eea/volto-hero-block/commit/6e9d7f593363e08f519ab8296aef229ed2682113)]
|
|
25
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`067fa27`](https://github.com/eea/volto-hero-block/commit/067fa27ee26d1d348d5ce1b089ea9931d9f32589)]
|
|
26
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`0f6a259`](https://github.com/eea/volto-hero-block/commit/0f6a259fc73db97a7a8af69a808421191b146629)]
|
|
27
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`c1c72f4`](https://github.com/eea/volto-hero-block/commit/c1c72f4b54a84521f200682b230bba60e6920a70)]
|
|
28
|
+
- Add Sonarqube tag using clms-frontend addons list [EEA Jenkins - [`65744c9`](https://github.com/eea/volto-hero-block/commit/65744c9b2b0944d2aff90fc56485f10390810d1c)]
|
|
29
|
+
### [5.4.5](https://github.com/eea/volto-hero-block/compare/5.4.4...5.4.5) - 19 October 2023
|
|
12
30
|
|
|
13
31
|
### [5.4.4](https://github.com/eea/volto-hero-block/compare/5.4.3...5.4.4) - 19 October 2023
|
|
14
32
|
|
package/cypress.config.js
CHANGED
|
@@ -2,12 +2,12 @@ const { defineConfig } = require('cypress');
|
|
|
2
2
|
|
|
3
3
|
module.exports = defineConfig({
|
|
4
4
|
viewportWidth: 1280,
|
|
5
|
-
defaultCommandTimeout:
|
|
5
|
+
defaultCommandTimeout: 8888,
|
|
6
6
|
chromeWebSecurity: false,
|
|
7
7
|
reporter: 'junit',
|
|
8
|
-
video:
|
|
8
|
+
video: false,
|
|
9
9
|
retries: {
|
|
10
|
-
runMode:
|
|
10
|
+
runMode: 2,
|
|
11
11
|
openMode: 0,
|
|
12
12
|
},
|
|
13
13
|
reporterOptions: {
|
package/package.json
CHANGED
|
@@ -4,11 +4,13 @@ import config from '@plone/volto/registry';
|
|
|
4
4
|
import alignTopSVG from '@plone/volto/icons/move-up.svg';
|
|
5
5
|
import alignCenterSVG from '@plone/volto/icons/row.svg';
|
|
6
6
|
import alignBottomSVG from '@plone/volto/icons/move-down.svg';
|
|
7
|
+
import clearSVG from '@plone/volto/icons/clear.svg';
|
|
7
8
|
|
|
8
9
|
const ALIGN_INFO_MAP = {
|
|
9
10
|
'has--bg--top': [alignTopSVG, 'Top'],
|
|
10
11
|
'has--bg--center': [alignCenterSVG, 'Center'],
|
|
11
12
|
'has--bg--bottom': [alignBottomSVG, 'Bottom'],
|
|
13
|
+
'': [clearSVG, 'None'],
|
|
12
14
|
};
|
|
13
15
|
|
|
14
16
|
export const HeroBlockSchema = () => {
|
|
@@ -131,7 +133,7 @@ export const stylingSchema = (props) => {
|
|
|
131
133
|
],
|
|
132
134
|
properties: {
|
|
133
135
|
bg: {
|
|
134
|
-
title: '
|
|
136
|
+
title: 'Image position',
|
|
135
137
|
widget: 'align',
|
|
136
138
|
actions: Object.keys(ALIGN_INFO_MAP),
|
|
137
139
|
actionsInfoMap: ALIGN_INFO_MAP,
|