design-comuni-plone-theme 11.10.0 → 11.10.2
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/.yarn/cache/{volto-gdpr-privacy-npm-2.2.0-6be0f74d53-8a93254251.zip → volto-gdpr-privacy-npm-2.2.1-bc93b3e168-bce76108c3.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +26 -0
- package/package.json +2 -2
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/HighlightedContent/Edit.jsx +8 -1
- package/src/components/ItaliaTheme/Blocks/HighlightedContent/View.jsx +8 -1
- package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +1 -4
- package/src/components/ItaliaTheme/Slider/SingleSlideWrapper.jsx +3 -2
- package/src/config/italiaConfig.js +1 -1
- package/src/theme/ItaliaTheme/Views/_slider.scss +3 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +8 -2
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.10.2](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.10.1...v11.10.2) (2024-04-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update gdpr addon to remove breaking change ([e0490f2](https://github.com/redturtle/design-comuni-plone-theme/commit/e0490f2ac2d1a42575eb509d65fed1b65199d075))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* updated publiccode ([40cb8dc](https://github.com/redturtle/design-comuni-plone-theme/commit/40cb8dcd22cec06f436cb0190a7b082d7c26d1f6))
|
|
14
|
+
|
|
15
|
+
## [11.10.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.10.0...v11.10.1) (2024-04-22)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* better tolerance for files in highlighted content block ([44dc055](https://github.com/redturtle/design-comuni-plone-theme/commit/44dc055240b07575c8608c914a6d118dbccc5df5))
|
|
21
|
+
* slider focus and external links ([#664](https://github.com/redturtle/design-comuni-plone-theme/issues/664)) ([e00e1a9](https://github.com/redturtle/design-comuni-plone-theme/commit/e00e1a970f526d357e617520ad51f915fb8d4e6e))
|
|
22
|
+
* used underlined text decoration for footer link marker ([#660](https://github.com/redturtle/design-comuni-plone-theme/issues/660)) ([ad8c549](https://github.com/redturtle/design-comuni-plone-theme/commit/ad8c5498922a57a01b3b79f0cf0acd07324472a7))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Documentation
|
|
26
|
+
|
|
27
|
+
* updated publiccode ([74e29aa](https://github.com/redturtle/design-comuni-plone-theme/commit/74e29aa9ed25ae1dde57f5ab022bb88160647172))
|
|
28
|
+
|
|
3
29
|
## [11.10.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.9.1...v11.10.0) (2024-04-17)
|
|
4
30
|
|
|
5
31
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "design-comuni-plone-theme",
|
|
3
3
|
"description": "Volto Theme for Italia design guidelines",
|
|
4
4
|
"license": "GPL-v3",
|
|
5
|
-
"version": "11.10.
|
|
5
|
+
"version": "11.10.2",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"volto-addon",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"volto-editablefooter": "5.1.1",
|
|
149
149
|
"volto-feedback": "0.3.0",
|
|
150
150
|
"volto-form-block": "3.7.2",
|
|
151
|
-
"volto-gdpr-privacy": "2.2.
|
|
151
|
+
"volto-gdpr-privacy": "2.2.1",
|
|
152
152
|
"volto-google-analytics": "2.0.0",
|
|
153
153
|
"volto-multilingual-widget": "3.0.0",
|
|
154
154
|
"volto-querywidget-with-browser": "0.4.2",
|
package/publiccode.yml
CHANGED
|
@@ -227,9 +227,9 @@ maintenance:
|
|
|
227
227
|
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
|
|
228
228
|
platforms:
|
|
229
229
|
- web
|
|
230
|
-
releaseDate: '2024-04-
|
|
230
|
+
releaseDate: '2024-04-24'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.10.
|
|
232
|
+
softwareVersion: 11.10.2
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -34,7 +34,14 @@ const Edit = ({
|
|
|
34
34
|
|
|
35
35
|
useEffect(() => {
|
|
36
36
|
if (data.href) {
|
|
37
|
-
dispatch(
|
|
37
|
+
dispatch(
|
|
38
|
+
getContent(
|
|
39
|
+
// tolerate references to File objects
|
|
40
|
+
flattenToAppURL(data.href.replace(/\/@@download\/file$/, '')),
|
|
41
|
+
null,
|
|
42
|
+
block,
|
|
43
|
+
),
|
|
44
|
+
);
|
|
38
45
|
}
|
|
39
46
|
return () => dispatch(resetContent(block));
|
|
40
47
|
}, [dispatch, block, data.href]);
|
|
@@ -21,7 +21,14 @@ const View = ({ data, id }) => {
|
|
|
21
21
|
|
|
22
22
|
useEffect(() => {
|
|
23
23
|
if (data.href) {
|
|
24
|
-
dispatch(
|
|
24
|
+
dispatch(
|
|
25
|
+
getContent(
|
|
26
|
+
// tolerate references to File objects
|
|
27
|
+
flattenToAppURL(data.href.replace(/\/@@download\/file$/, '')),
|
|
28
|
+
null,
|
|
29
|
+
id,
|
|
30
|
+
),
|
|
31
|
+
);
|
|
25
32
|
}
|
|
26
33
|
return () => dispatch(resetContent(id));
|
|
27
34
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -11,7 +11,6 @@ import { isEqual } from 'lodash';
|
|
|
11
11
|
import { UniversalLink } from '@plone/volto/components';
|
|
12
12
|
import { Row, Col, LinkList, LinkListItem } from 'design-react-kit';
|
|
13
13
|
import { SectionIcon } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
14
|
-
import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
15
14
|
import config from '@plone/volto/registry';
|
|
16
15
|
|
|
17
16
|
const messages = defineMessages({
|
|
@@ -66,11 +65,9 @@ const FooterNavigation = () => {
|
|
|
66
65
|
title={
|
|
67
66
|
intl.formatMessage(messages.goToPage) + ': ' + item.title
|
|
68
67
|
}
|
|
68
|
+
className={markFooterLinks ? 'underlined' : ''}
|
|
69
69
|
>
|
|
70
70
|
{item.title}
|
|
71
|
-
{markFooterLinks && (
|
|
72
|
-
<Icon icon="it-arrow-right" color="white" size="sm" />
|
|
73
|
-
)}
|
|
74
71
|
</Link>
|
|
75
72
|
</h4>
|
|
76
73
|
{/* DEPRECATED: isFooterCollapsed to be removed in version 12 */}
|
|
@@ -26,8 +26,9 @@ const SingleSlideWrapper = (props) => {
|
|
|
26
26
|
}
|
|
27
27
|
onKeyDown={onKeyDown}
|
|
28
28
|
onClick={(e) => {
|
|
29
|
-
|
|
30
|
-
e.
|
|
29
|
+
//commentato perchè i link esterni non si aprivano
|
|
30
|
+
//e.preventDefault();
|
|
31
|
+
//e.stopPropagation();
|
|
31
32
|
}}
|
|
32
33
|
tabIndex={0}
|
|
33
34
|
>
|
|
@@ -271,7 +271,7 @@ export default function applyConfig(voltoConfig) {
|
|
|
271
271
|
splitMegamenuColumns: true, //se impostato a false, non spezza le colonne con intestazioni nel megamenu
|
|
272
272
|
footerNavigationDepth: 2, //valori possibili: [1,2]. Se impostato ad 1 non verranno mostrati nel footer i link agli elementi contenuti nelle sezioni di primo livello.
|
|
273
273
|
markSpecialLinks: true, // se impostato a false, non marca con icona i link esterni
|
|
274
|
-
markFooterLinks:
|
|
274
|
+
markFooterLinks: true, // se impostato a true, viene aggiunta un'icona ai link del footer per renderli riconoscibili
|
|
275
275
|
},
|
|
276
276
|
apiExpanders: [
|
|
277
277
|
...config.settings.apiExpanders,
|