io-sanita-theme 2.30.0 → 2.30.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.30.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.30.1...2.30.2) (2026-05-27)
4
+
5
+ ### Bug Fixes
6
+
7
+ * missing import ([bcebfdf](https://github.com/RedTurtle/io-sanita-theme/commit/bcebfdf83d2dbd55ec06306314a161b97f9a973f))
8
+
9
+ ## [2.30.1](https://github.com/RedTurtle/io-sanita-theme/compare/2.30.0...2.30.1) (2026-05-27)
10
+
11
+ ### Bug Fixes
12
+
13
+ * missing import ([0e91a38](https://github.com/RedTurtle/io-sanita-theme/commit/0e91a38ceb94654c918fbec805e37e5a42c4a2a9))
14
+
3
15
  ## [2.30.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.29.0...2.30.0) (2026-05-27)
4
16
 
5
17
  ### Features
package/RELEASE.md CHANGED
@@ -41,7 +41,7 @@
41
41
  - ...
42
42
  -->
43
43
 
44
- ## Versione 2.29.0 (27/05/2026)
44
+ ## Versione 2.30.0 (27/05/2026)
45
45
 
46
46
  ### Fix
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "io-sanita-theme",
3
- "version": "2.30.0",
3
+ "version": "2.30.2",
4
4
  "description": "io-sanita-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -1,7 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import { defineMessages, useIntl } from 'react-intl';
3
3
  import { CardContatti } from 'io-sanita-theme/components';
4
- import { RichTextSection } from 'io-sanita-theme/helpers';
4
+ import {
5
+ RichTextSection,
6
+ richTextHasContent,
7
+ RichText,
8
+ } from 'io-sanita-theme/helpers';
5
9
  import { Row, Col } from 'design-react-kit';
6
10
 
7
11
  const messages = defineMessages({
@@ -30,7 +34,7 @@ const UOContatti = ({ content }) => {
30
34
  {/* Contenuto testuale alternativo, usato ad esempio con il sync virtualdesk */}
31
35
  {has_richTextContent && (
32
36
  <div className="richtext-blocks font-serif">
33
- <RichText data={content?.pdc_correlato_text} />
37
+ <RichText data={content?.pdc_correlato_text} />
34
38
  </div>
35
39
  )}
36
40
  </RichTextSection>
@@ -1,5 +1,9 @@
1
1
  import React from 'react';
2
- import { richTextHasContent, RichTextSection } from 'io-sanita-theme/helpers';
2
+ import {
3
+ richTextHasContent,
4
+ RichText,
5
+ RichTextSection,
6
+ } from 'io-sanita-theme/helpers';
3
7
  import { defineMessages, useIntl } from 'react-intl';
4
8
 
5
9
  const messages = defineMessages({
@@ -7,7 +11,7 @@ const messages = defineMessages({
7
11
  id: 'other_info',
8
12
  defaultMessage: 'Ulteriori informazioni',
9
13
  },
10
- come_accedere: {
14
+ come_accedere: {
11
15
  id: 'struttura_come_accedere',
12
16
  defaultMessage: 'Come accedere',
13
17
  },
@@ -15,9 +19,11 @@ const messages = defineMessages({
15
19
 
16
20
  const UOUlterioriInformazioni = ({ content }) => {
17
21
  const intl = useIntl();
18
- const has_richTextUlteriori = richTextHasContent(content?.ulteriori_informazioni);
22
+ const has_richTextUlteriori = richTextHasContent(
23
+ content?.ulteriori_informazioni,
24
+ );
19
25
  const has_come_accedere = richTextHasContent(content?.come_accedere);
20
- return (has_richTextUlteriori || has_come_accedere) ? (
26
+ return has_richTextUlteriori || has_come_accedere ? (
21
27
  <RichTextSection
22
28
  tag_id="more_info"
23
29
  title={intl.formatMessage(messages.other_info)}