design-comuni-plone-theme 11.35.0 → 11.35.1

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,18 @@
1
1
 
2
2
 
3
+ ## [11.35.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.35.0...v11.35.1) (2025-10-09)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * helpbox style ([#1013](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1013)) ([5dbfdf8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5dbfdf83bc44179341627083abbb0b5b74dc84ea))
9
+ * non content routes query for contacts block ([#1020](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1020)) ([91acf90](https://github.com/RedTurtle/design-comuni-plone-theme/commit/91acf9084fb5cab04bb1cc32f8c45d4bfccfa293))
10
+
11
+
12
+ ### Documentation
13
+
14
+ * updated publiccode and release log ([66fe1de](https://github.com/RedTurtle/design-comuni-plone-theme/commit/66fe1dec7a47b4f01d01e6365b04e0d693a88c64))
15
+
3
16
  ## [11.35.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.34.2...v11.35.0) (2025-10-07)
4
17
 
5
18
 
package/RELEASE.md CHANGED
@@ -41,6 +41,13 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 11.35.1 (09/10/2025)
45
+
46
+ ### Fix
47
+
48
+ - Il widget Contatti è ora visibile in tutte le rotte, comprese quelle del flusso prenotazioni e la ricerca.
49
+ - Sistemato paragrafo con stile callout nel campo Ulteriori Informazioni dei vari CT
50
+
44
51
  ## Versione 11.34.1 (03/10/2025)
45
52
 
46
53
  ### Fix
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.35.0",
5
+ "version": "11.35.1",
6
6
  "main": "src/index.js",
7
7
  "repository": {
8
8
  "type": "git",
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: '2025-10-07'
230
+ releaseDate: '2025-10-09'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.35.0
232
+ softwareVersion: 11.35.1
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -4,6 +4,7 @@ import { useIntl, defineMessages } from 'react-intl';
4
4
  import { useDispatch, useSelector } from 'react-redux';
5
5
  import { Container, Row, Col, Spinner, Card, CardBody } from 'design-react-kit';
6
6
  import { UniversalLink } from '@plone/volto/components';
7
+ import { getBaseUrl } from '@plone/volto/helpers';
7
8
  import { getContacts } from 'design-comuni-plone-theme/actions';
8
9
  import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme';
9
10
 
@@ -19,9 +20,11 @@ const ContactsBlock = () => {
19
20
  const { pathname } = useLocation();
20
21
  const dispatch = useDispatch();
21
22
 
23
+ const path = getBaseUrl(pathname);
24
+
22
25
  useEffect(() => {
23
- dispatch(getContacts(pathname));
24
- }, [dispatch, pathname]);
26
+ dispatch(getContacts(path));
27
+ }, [dispatch, path]);
25
28
 
26
29
  const contacts = useSelector((state) => state.contacts) ?? {};
27
30
  const contactsItems = contacts?.result?.items ?? [];
@@ -5,6 +5,13 @@ import { Callout, CalloutTitle } from 'design-react-kit';
5
5
  import Icon from 'design-comuni-plone-theme/components/ItaliaTheme/Icons/Icon';
6
6
  import { RichText } from 'design-comuni-plone-theme/components/ItaliaTheme/View';
7
7
 
8
+ const messages = defineMessages({
9
+ ulteriori_info: {
10
+ id: 'ulteriori_info',
11
+ defaultMessage: 'Icona ulteriori informazioni',
12
+ },
13
+ });
14
+
8
15
  const HelpBox = ({ text }) => {
9
16
  const intl = useIntl();
10
17
  return text ? (
@@ -19,8 +26,8 @@ const HelpBox = ({ text }) => {
19
26
  title={intl.formatMessage(messages.ulteriori_info)}
20
27
  />
21
28
  <span className="text"></span>
29
+ <span className="text-line"></span>
22
30
  </CalloutTitle>
23
-
24
31
  <div>
25
32
  <RichText data={text} />
26
33
  </div>
@@ -31,10 +38,4 @@ HelpBox.propTypes = {
31
38
  text: PropTypes.object.isRequired,
32
39
  };
33
40
 
34
- const messages = defineMessages({
35
- ulteriori_info: {
36
- id: 'ulteriori_info',
37
- defaultMessage: 'Icona ulteriori informazioni',
38
- },
39
- });
40
41
  export default HelpBox;