Skip to content

Commit

Permalink
Merge pull request #25 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored May 17, 2022
2 parents cc5ac06 + 28c0717 commit ac56f6b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [0.5.4](https://github.com/eea/volto-eea-website-theme/compare/0.5.3...0.5.4)

- Add customization to volto-quote-block icons [`#23`](https://github.com/eea/volto-eea-website-theme/pull/23)
- change (theme): added quote and callout components [`b691da2`](https://github.com/eea/volto-eea-website-theme/commit/b691da29236440a1096fcbf38d9d9e6cc6e69445)
- change(banner): added icon class to banner buttons [`7b641cf`](https://github.com/eea/volto-eea-website-theme/commit/7b641cfdc433fd638ff8ba2c3f4b9131a9f8142a)

#### [0.5.3](https://github.com/eea/volto-eea-website-theme/compare/0.5.2...0.5.3)

> 22 April 2022
- Release [`#24`](https://github.com/eea/volto-eea-website-theme/pull/24)
- Apply Draft bg only on View [`8910d78`](https://github.com/eea/volto-eea-website-theme/commit/8910d78baf0663d9eb820a3846ae24dea8eaa674)
- lint fixes [`ffc9edd`](https://github.com/eea/volto-eea-website-theme/commit/ffc9edd7dd90033d9ed8ccbe17c5327e68128b6f)
- change(buttons): customized Form, Sharing and ObjectBrowserWidget.jsx [`c307131`](https://github.com/eea/volto-eea-website-theme/commit/c307131f911dc05c2a9ef7d9c79357cd85de0fc4)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-eea-website-theme",
"version": "0.5.3",
"version": "0.5.4",
"description": "@eeacms/volto-eea-website-theme: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/Banner/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Banner = ({ children }) => {
Banner.Action = ({ title, icon, color, onClick, className }) => {
return (
<div className="action">
<Button className={className} basic inverted onClick={onClick}>
<Button className={className} basic icon inverted onClick={onClick}>
<Icon className={icon} color={color}></Icon>
<span className="mobile hidden">{title}</span>
</Button>
Expand Down
7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ const applyConfig = (config) => {
if (config.blocks.blocksConfig.accordion) {
config.blocks.blocksConfig.accordion.semanticIcon = 'ri-arrow-down-s-line';
}
// Apply quote block customization
if (config.blocks.blocksConfig.quote) {
config.blocks.blocksConfig.quote.templates.default.icons = {
openQuote: 'ri-double-quotes-l',
closeQuote: 'ri-double-quotes-r',
};
}
// apply inPage navigation
config.settings.appExtras = [
...(config.settings.appExtras || []),
Expand Down
2 changes: 2 additions & 0 deletions theme/theme.config
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
@newTabLabeledIcon : 'eea';
@labeledIconGroup : 'eea';
@languageLabeledIcon : 'eea';
@callout : 'eea';
@quote : 'eea';

/*******************************
Folders
Expand Down

0 comments on commit ac56f6b

Please sign in to comment.