design-comuni-plone-theme 12.7.2 → 12.7.3

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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [12.7.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.2...v12.7.3) (2025-11-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * conditions to display form thankyou message ([#1047](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1047)) ([a76aba0](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a76aba05f49c15f92bf299a6247c1785a12499b5))
9
+ * force title color on icons block title ([#1045](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1045)) ([1a6dd7e](https://github.com/RedTurtle/design-comuni-plone-theme/commit/1a6dd7e58ddbe9f91fd27ed8baa7eaa09e161f93))
10
+ * generic card classes ([#1048](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1048)) ([9774b64](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9774b644ee8b7422018238c680ad921025655ee4))
11
+ * used correct colors in bg-light class for cms-ui ([#1046](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1046)) ([2544e35](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2544e35c080137d629a4e2ecad035ed0db654d34))
12
+
13
+
14
+ ### Documentation
15
+
16
+ * updated publiccode and release log ([e3d3914](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e3d391471456d15a54f029a81b3dbad2cd7a76e0))
17
+
3
18
  ## [12.7.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.1...v12.7.2) (2025-11-21)
4
19
 
5
20
 
package/RELEASE.md CHANGED
@@ -41,6 +41,15 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 12.7.3 (26/11/2025)
45
+
46
+ ### Fix
47
+
48
+ - Il blocco "Blocchi con icone" mostra sempre il colore del titolo correttamente, sia in modalità modifica che in modalità visualizzazione.
49
+ - Lo sfondo del blocco elenco viene ora visualizzato nella variante colore corretta sia in modalità visualizzazione che in modalità modifica.
50
+ - Sistemata la visualizzazione del messaggio di ringraziamento dopo l'invio di un form.
51
+ - Sistemati alcuni problemi con gli stili relativi alle dimensioni dei font nelle card.
52
+
44
53
  ## Versione 12.7.2 (21/11/2025)
45
54
 
46
55
  ### 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": "12.7.2",
5
+ "version": "12.7.3",
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-11-21'
230
+ releaseDate: '2025-11-26'
231
231
  softwareType: standalone/web
232
- softwareVersion: 12.7.2
232
+ softwareVersion: 12.7.3
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -55,7 +55,12 @@ const GenericCard = ({
55
55
 
56
56
  return item ? (
57
57
  showImage ? (
58
- <div className={cx('genericcard card shadow rounded mt-3')}>
58
+ <div
59
+ className={cx(
60
+ 'genericcard card shadow rounded mt-3',
61
+ size === 'big' ? 'card-big-io-comune' : 'card-small',
62
+ )}
63
+ >
59
64
  <div className="img-responsive-wrapper">
60
65
  <div className="img-responsive img-responsive-panoramic">
61
66
  <figure className="img-wrapper">
@@ -87,7 +87,7 @@ const RelatedItems = ({
87
87
  <Row>
88
88
  <Col className="text-center">
89
89
  <h2 className="h3">
90
- {intl.formatMessage(messages.related_items)} ???
90
+ {intl.formatMessage(messages.related_items)}
91
91
  </h2>
92
92
  </Col>
93
93
  </Row>
@@ -59,7 +59,6 @@ const FormResult = ({ formState, data, resetFormState }) => {
59
59
  const intl = useIntl();
60
60
  const displayThankYouInAlertMessageFormBlock =
61
61
  config.settings.siteProperties.displayThankYouInAlertMessageFormBlock;
62
-
63
62
  return (
64
63
  <Alert
65
64
  color={!formState.warning ? 'success' : 'warning'}
@@ -80,24 +79,23 @@ const FormResult = ({ formState, data, resetFormState }) => {
80
79
  <p>{intl.formatMessage(messages.success_warning_description)}</p>
81
80
  </>
82
81
  )}
83
- {/* Custom message */}
84
- {(!formState.warning && data.send_message) ||
85
- (formState.warning &&
86
- displayThankYouInAlertMessageFormBlock &&
87
- data.send_message && (
88
- <>
89
- <p
90
- dangerouslySetInnerHTML={{
91
- __html: replaceMessage(
92
- data.send_message,
93
- formState.result.data,
94
- ),
95
- }}
96
- />
97
- <br />
98
- </>
99
- ))}
100
82
 
83
+ {/* Custom message */}
84
+ {data.send_message &&
85
+ (!formState.warning ||
86
+ (formState.warning && displayThankYouInAlertMessageFormBlock)) && (
87
+ <>
88
+ <p
89
+ dangerouslySetInnerHTML={{
90
+ __html: replaceMessage(
91
+ data.send_message,
92
+ formState.result.data,
93
+ ),
94
+ }}
95
+ />
96
+ <br />
97
+ </>
98
+ )}
101
99
  <Button
102
100
  color="primary"
103
101
  outline
@@ -55,6 +55,7 @@
55
55
 
56
56
  h2 {
57
57
  margin: 0px;
58
+ color: #fff;
58
59
  }
59
60
  }
60
61
 
@@ -493,7 +493,8 @@ body.cms-ui {
493
493
  }
494
494
 
495
495
  .bg-light {
496
- --bs-light-rgb: 243, 252, 249;
496
+ --bs-light-rgb: #{red($primary-a0)}, #{green($primary-a0)},
497
+ #{blue($primary-a0)};
497
498
  --bs-bg-opacity: 1;
498
499
  background-color: rgba(
499
500
  var(--bs-light-rgb),