design-comuni-plone-theme 12.7.3 → 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.
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
3
16
  ## [12.7.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.7.2...v12.7.3) (2025-11-26)
4
17
 
5
18
 
package/RELEASE.md CHANGED
@@ -41,6 +41,13 @@
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
+
44
51
  ## Versione 12.7.3 (26/11/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": "12.7.3",
5
+ "version": "12.7.4",
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-26'
230
+ releaseDate: '2025-12-15'
231
231
  softwareType: standalone/web
232
- softwareVersion: 12.7.3
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
@@ -132,7 +132,7 @@ const BandiInEvidenceTemplate = ({
132
132
  {intl.formatMessage(messages.tipologia)}:
133
133
  </div>
134
134
  <span className="bando-dati-date">
135
- {item.tipologia_bando.title}
135
+ {item.tipologia_bando_label}
136
136
  </span>
137
137
  </span>
138
138
  )}
@@ -46,7 +46,11 @@ const SquaresImageTemplate = ({
46
46
  key={index}
47
47
  data-element={id_lighthouse}
48
48
  >
49
- <span className="title fw-bold">{item?.title}</span>
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
  })}
@@ -27,6 +27,8 @@
27
27
 
28
28
  .title-link {
29
29
  text-decoration: none;
30
+ word-break: break-word;
31
+ hyphens: auto;
30
32
  }
31
33
 
32
34
  .title {
@@ -35,6 +35,8 @@
35
35
  font-size: 1rem !important;
36
36
  font-weight: 700 !important;
37
37
  line-height: 1.44444rem;
38
+ word-break: break-word;
39
+ hyphens: auto;
38
40
  }
39
41
 
40
42
  .card:after {
@@ -134,6 +134,8 @@
134
134
  margin: 0;
135
135
  color: #fff;
136
136
  text-align: left;
137
+ word-break: break-word;
138
+ hyphens: auto;
137
139
  }
138
140
 
139
141
  a {
@@ -30,6 +30,9 @@
30
30
  max-height: 100%;
31
31
  color: #fff;
32
32
  font-size: 1.2rem;
33
+ overflow-wrap: anywhere;
34
+ word-break: break-word;
35
+ hyphens: auto;
33
36
  }
34
37
 
35
38
  &:before {
@@ -1,6 +1,12 @@
1
1
  .public-ui {
2
2
  .card {
3
3
  .card-body {
4
+ .card-title {
5
+ a {
6
+ word-break: break-word;
7
+ hyphens: auto;
8
+ }
9
+ }
4
10
  .card-text {
5
11
  line-height: 1.5em;
6
12
  }