@eeacms/volto-eea-website-theme 0.5.3 → 0.5.4

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,8 +4,17 @@ 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.5.4](https://github.com/eea/volto-eea-website-theme/compare/0.5.3...0.5.4)
8
+
9
+ - Add customization to volto-quote-block icons [`#23`](https://github.com/eea/volto-eea-website-theme/pull/23)
10
+ - change (theme): added quote and callout components [`b691da2`](https://github.com/eea/volto-eea-website-theme/commit/b691da29236440a1096fcbf38d9d9e6cc6e69445)
11
+ - change(banner): added icon class to banner buttons [`7b641cf`](https://github.com/eea/volto-eea-website-theme/commit/7b641cfdc433fd638ff8ba2c3f4b9131a9f8142a)
12
+
7
13
  #### [0.5.3](https://github.com/eea/volto-eea-website-theme/compare/0.5.2...0.5.3)
8
14
 
15
+ > 22 April 2022
16
+
17
+ - Release [`#24`](https://github.com/eea/volto-eea-website-theme/pull/24)
9
18
  - Apply Draft bg only on View [`8910d78`](https://github.com/eea/volto-eea-website-theme/commit/8910d78baf0663d9eb820a3846ae24dea8eaa674)
10
19
  - lint fixes [`ffc9edd`](https://github.com/eea/volto-eea-website-theme/commit/ffc9edd7dd90033d9ed8ccbe17c5327e68128b6f)
11
20
  - change(buttons): customized Form, Sharing and ObjectBrowserWidget.jsx [`c307131`](https://github.com/eea/volto-eea-website-theme/commit/c307131f911dc05c2a9ef7d9c79357cd85de0fc4)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-theme",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "@eeacms/volto-eea-website-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -44,7 +44,7 @@ const Banner = ({ children }) => {
44
44
  Banner.Action = ({ title, icon, color, onClick, className }) => {
45
45
  return (
46
46
  <div className="action">
47
- <Button className={className} basic inverted onClick={onClick}>
47
+ <Button className={className} basic icon inverted onClick={onClick}>
48
48
  <Icon className={icon} color={color}></Icon>
49
49
  <span className="mobile hidden">{title}</span>
50
50
  </Button>
package/src/index.js CHANGED
@@ -14,6 +14,13 @@ const applyConfig = (config) => {
14
14
  if (config.blocks.blocksConfig.accordion) {
15
15
  config.blocks.blocksConfig.accordion.semanticIcon = 'ri-arrow-down-s-line';
16
16
  }
17
+ // Apply quote block customization
18
+ if (config.blocks.blocksConfig.quote) {
19
+ config.blocks.blocksConfig.quote.templates.default.icons = {
20
+ openQuote: 'ri-double-quotes-l',
21
+ closeQuote: 'ri-double-quotes-r',
22
+ };
23
+ }
17
24
  // apply inPage navigation
18
25
  config.settings.appExtras = [
19
26
  ...(config.settings.appExtras || []),
@@ -105,6 +105,8 @@
105
105
  @newTabLabeledIcon : 'eea';
106
106
  @labeledIconGroup : 'eea';
107
107
  @languageLabeledIcon : 'eea';
108
+ @callout : 'eea';
109
+ @quote : 'eea';
108
110
 
109
111
  /*******************************
110
112
  Folders