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.
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.0",
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.0",
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-17'
230
+ releaseDate: '2024-04-24'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.10.0
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(getContent(flattenToAppURL(data.href), null, block));
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(getContent(flattenToAppURL(data.href), null, id));
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
- e.preventDefault();
30
- e.stopPropagation();
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: false, // se impostato a true, viene aggiunta un'icona ai link del footer per renderli riconoscibili
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,
@@ -9,6 +9,9 @@
9
9
  }
10
10
 
11
11
  .it-single-slide-wrapper {
12
+ &:focus {
13
+ border: 1px solid;
14
+ }
12
15
  figure {
13
16
  a {
14
17
  display: block;
@@ -42,8 +42,14 @@
42
42
 
43
43
  a {
44
44
  font-weight: 700;
45
- display: flex;
46
- align-items: center;
45
+
46
+ &.underlined {
47
+ text-decoration: underline;
48
+
49
+ &:hover {
50
+ text-decoration: none;
51
+ }
52
+ }
47
53
  }
48
54
  }
49
55