@eeacms/volto-eea-website-theme 0.6.4 → 0.6.5
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,15 @@ 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.6.5](https://github.com/eea/volto-eea-website-theme/compare/0.6.4...0.6.5)
|
8
|
+
|
9
|
+
- fix(tags): Replace customizations of volto-widgets-view with config registry [`8f8c6fc`](https://github.com/eea/volto-eea-website-theme/commit/8f8c6fcdc6d48a56fbb35db781432390a703a215)
|
10
|
+
|
7
11
|
#### [0.6.4](https://github.com/eea/volto-eea-website-theme/compare/0.6.3...0.6.4)
|
8
12
|
|
13
|
+
> 2 June 2022
|
14
|
+
|
15
|
+
- Release [`#31`](https://github.com/eea/volto-eea-website-theme/pull/31)
|
9
16
|
- Fix: missing translations [`53b0f20`](https://github.com/eea/volto-eea-website-theme/commit/53b0f20daf01f48d81d6b79f9f7a5bcd166b0d2d)
|
10
17
|
- Customize Toolbar.jsx - volto 16.0.0-alpha.7 [`b26182f`](https://github.com/eea/volto-eea-website-theme/commit/b26182f9ac7369497f3602fb5842248f7b7da7c5)
|
11
18
|
|
package/package.json
CHANGED
File without changes
|
package/src/index.js
CHANGED
@@ -3,6 +3,7 @@ import InpageNavigation from '@eeacms/volto-eea-design-system/ui/InpageNavigatio
|
|
3
3
|
import installCustomTitle from '@eeacms/volto-eea-website-theme/components/manage/Blocks/Title';
|
4
4
|
import CustomCSS from '@eeacms/volto-eea-website-theme/components/theme/CustomCSS/CustomCSS';
|
5
5
|
import DraftBackground from '@eeacms/volto-eea-website-theme/components/theme/DraftBackground/DraftBackground';
|
6
|
+
import { TokenWidget } from '@eeacms/volto-eea-website-theme/components/theme/Widgets/TokenWidget';
|
6
7
|
|
7
8
|
const applyConfig = (config) => {
|
8
9
|
config.settings.eea = {
|
@@ -19,6 +20,12 @@ const applyConfig = (config) => {
|
|
19
20
|
config.blocks.blocksConfig.description.className =
|
20
21
|
'documentDescription eea callout';
|
21
22
|
|
23
|
+
// Custom TokenWidget
|
24
|
+
if (config.widgets.views) {
|
25
|
+
config.widgets.views.id.subjects = TokenWidget;
|
26
|
+
config.widgets.views.widget.tags = TokenWidget;
|
27
|
+
}
|
28
|
+
|
22
29
|
// apply inPage navigation
|
23
30
|
config.settings.appExtras = [
|
24
31
|
...(config.settings.appExtras || []),
|