@eeacms/volto-eea-website-policy 0.2.6 → 0.3.0

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,16 @@ 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.3.0](https://github.com/eea/volto-eea-website-policy/compare/0.2.6...0.3.0)
8
+
9
+ - change(package): bump release version [`1b00439`](https://github.com/eea/volto-eea-website-policy/commit/1b0043933442bb73c1042dce644a2c09e5f210f4)
10
+ - change(item): enable theming for icon and text color and added tertiary option [`58c2d28`](https://github.com/eea/volto-eea-website-policy/commit/58c2d2864fe94c9e7808064b61d3b6c4e6fccbb1)
11
+ - change(item): commented sizes too small for item icons and enabled tertiary theme [`0f02d7d`](https://github.com/eea/volto-eea-website-policy/commit/0f02d7d6204b068b78c3f977a561782a19b6f79e)
12
+
7
13
  #### [0.2.6](https://github.com/eea/volto-eea-website-policy/compare/0.2.5...0.2.6)
8
14
 
15
+ > 1 July 2022
16
+
9
17
  - Fix Cannot read properties of undefined (reading 'translations') [`8e7b8b8`](https://github.com/eea/volto-eea-website-policy/commit/8e7b8b8533b14f173d77783fe2d0b517c29c5937)
10
18
  - Customize Toolbar.jsx - copied unchanged from @plone/volto 16.0.0.alpha.11 [`b7add4f`](https://github.com/eea/volto-eea-website-policy/commit/b7add4faa8ef2dde7d77489fc8bc431cbb023314)
11
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "0.2.6",
3
+ "version": "0.3.0",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -12,7 +12,13 @@ export default ({ data }) => {
12
12
  ? [{ id: 'image', title: 'Image', fields: ['image', 'imageSize'] }]
13
13
  : []),
14
14
  ...(assetType === 'icon'
15
- ? [{ id: 'icon', title: 'Icon', fields: ['icon', 'iconSize'] }]
15
+ ? [
16
+ {
17
+ id: 'icon',
18
+ title: 'Icon',
19
+ fields: ['icon', 'iconSize', 'iconTheme'],
20
+ },
21
+ ]
16
22
  : []),
17
23
  ],
18
24
  properties: {
@@ -31,10 +37,11 @@ export default ({ data }) => {
31
37
  imageSize: {
32
38
  title: 'Image size',
33
39
  choices: [
34
- ['mini', 'Mini'],
35
- ['tile', 'Tile'],
36
- ['tiny', 'Tiny'],
37
- ['small', 'Small'],
40
+ // commented as they were too small to use as item icons
41
+ // ['mini', 'Mini'],
42
+ // ['tile', 'Tile'],
43
+ // ['tiny', 'Tiny'],
44
+ // ['small', 'Small'],
38
45
  ['large', 'Large'],
39
46
  ['big', 'Big'],
40
47
  ['huge', 'Huge'],
@@ -63,6 +70,7 @@ export default ({ data }) => {
63
70
  choices: [
64
71
  ['primary', 'Primary'],
65
72
  ['secondary', 'Secondary'],
73
+ ['tertiary', 'Tertiary'],
66
74
  ],
67
75
  },
68
76
  },
@@ -86,6 +94,7 @@ export const stylingSchema = ({ intl }) => ({
86
94
  choices: [
87
95
  ['primary', 'Primary'],
88
96
  ['secondary', 'Secondary'],
97
+ ['tertiary', 'Tertiary'],
89
98
  ],
90
99
  },
91
100
  verticalAlign: {