design-comuni-plone-theme 12.7.2 → 12.7.4
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/install-state.gz +0 -0
- package/CHANGELOG.md +28 -0
- package/RELEASE.md +16 -0
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/Listing/SquaresImageTemplate.jsx +5 -1
- package/src/components/ItaliaTheme/View/Commons/GenericCard.jsx +6 -1
- package/src/components/ItaliaTheme/View/Commons/RelatedItems.jsx +1 -1
- package/src/customizations/volto-form-block/components/FormResult.jsx +16 -18
- package/src/theme/ItaliaTheme/Blocks/_cardWithSlideUpTextTemplate.scss +2 -0
- package/src/theme/ItaliaTheme/Blocks/_completeBlockLinkstemplate.scss +2 -0
- package/src/theme/ItaliaTheme/Blocks/_gridGalleryTemplate.scss +2 -0
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_squaresImageTemplate.scss +3 -0
- package/src/theme/ItaliaTheme/Components/_card.scss +6 -0
- package/src/theme/_cms-ui.scss +2 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [12.7.4](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.3...v12.7.4) (2025-12-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* bando type in bando cards ([#1051](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1051)) ([3c17fbb](https://github.com/RedTurtle/design-comuni-plone-theme/commit/3c17fbb002afc8d753a785314f2a7be286e9c81a))
|
|
9
|
+
* hyphen and break word in card titles ([#1049](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1049)) ([4f94903](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4f94903bbbc7683774eb9e772b4f853dc7cd7276))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Documentation
|
|
13
|
+
|
|
14
|
+
* updated publiccode and release log ([9f430f2](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9f430f25b977aa58f3099ee6891cca3be9a1f62a))
|
|
15
|
+
|
|
16
|
+
## [12.7.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.2...v12.7.3) (2025-11-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* 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))
|
|
22
|
+
* 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))
|
|
23
|
+
* 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))
|
|
24
|
+
* 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))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Documentation
|
|
28
|
+
|
|
29
|
+
* updated publiccode and release log ([e3d3914](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e3d391471456d15a54f029a81b3dbad2cd7a76e0))
|
|
30
|
+
|
|
3
31
|
## [12.7.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.1...v12.7.2) (2025-11-21)
|
|
4
32
|
|
|
5
33
|
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,22 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 12.7.4 (15/12/2025)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- Ora i titoli molto lunghi e senza spazi nelle card vengono spezzati automaticamente con un trattino ("-") per evitare problemi di layout.
|
|
49
|
+
- Le card del blocco elenco di tipo "Bandi" mostrano ora la tipologia bando correttamente.
|
|
50
|
+
|
|
51
|
+
## Versione 12.7.3 (26/11/2025)
|
|
52
|
+
|
|
53
|
+
### Fix
|
|
54
|
+
|
|
55
|
+
- Il blocco "Blocchi con icone" mostra sempre il colore del titolo correttamente, sia in modalità modifica che in modalità visualizzazione.
|
|
56
|
+
- Lo sfondo del blocco elenco viene ora visualizzato nella variante colore corretta sia in modalità visualizzazione che in modalità modifica.
|
|
57
|
+
- Sistemata la visualizzazione del messaggio di ringraziamento dopo l'invio di un form.
|
|
58
|
+
- Sistemati alcuni problemi con gli stili relativi alle dimensioni dei font nelle card.
|
|
59
|
+
|
|
44
60
|
## Versione 12.7.2 (21/11/2025)
|
|
45
61
|
|
|
46
62
|
### Fix
|
package/package.json
CHANGED
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-
|
|
230
|
+
releaseDate: '2025-12-15'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 12.7.
|
|
232
|
+
softwareVersion: 12.7.4
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -46,7 +46,11 @@ const SquaresImageTemplate = ({
|
|
|
46
46
|
key={index}
|
|
47
47
|
data-element={id_lighthouse}
|
|
48
48
|
>
|
|
49
|
-
<span className="title fw-bold"
|
|
49
|
+
<span className="title fw-bold" title={item?.title}>
|
|
50
|
+
{item?.title.length > 56
|
|
51
|
+
? `${item?.title.slice(0, 56)}…`
|
|
52
|
+
: item?.title}
|
|
53
|
+
</span>
|
|
50
54
|
</UniversalLink>
|
|
51
55
|
);
|
|
52
56
|
})}
|
|
@@ -55,7 +55,12 @@ const GenericCard = ({
|
|
|
55
55
|
|
|
56
56
|
return item ? (
|
|
57
57
|
showImage ? (
|
|
58
|
-
<div
|
|
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">
|
|
@@ -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
|
package/src/theme/_cms-ui.scss
CHANGED