design-comuni-plone-theme 12.6.5 → 12.6.6
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/cache/{volto-form-block-npm-3.13.1-9bd9750b11-0019794e60.zip → volto-form-block-npm-3.13.2-7b659e4dc8-2dfcac2574.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +15 -0
- package/RELEASE.md +9 -0
- package/package.json +2 -2
- package/publiccode.yml +2 -2
- package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +1 -0
- package/src/customizations/volto-form-block/components/Field.jsx +3 -2
- package/src/customizations/volto-form-block/components/Sidebar.jsx +1 -1
- package/src/customizations/volto-form-block/fieldSchema.js +6 -4
- package/src/theme/ItaliaTheme/Blocks/_cardWithImage.scss +5 -0
- package/src/theme/ItaliaTheme/Blocks/_form.scss +4 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_type.scss +6 -0
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [12.6.6](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.6.5...v12.6.6) (2025-11-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* added unique field name to form block subfields ([#1036](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1036)) ([a812269](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a8122694d7596b52a09783ec2c009d40818f7329))
|
|
9
|
+
* color-contrast on p color in dark blockquote ([#1035](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1035)) ([bae3c83](https://github.com/RedTurtle/design-comuni-plone-theme/commit/bae3c8381e34896d9dcb750944d0bb9cf8bd99da))
|
|
10
|
+
* external link card with image ([#1032](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1032)) ([ed246b9](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ed246b9cda61736bc96ea8b01b31adddf0b4c749))
|
|
11
|
+
* style for text wrapping in form block legend ([#1034](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1034)) ([54bd721](https://github.com/RedTurtle/design-comuni-plone-theme/commit/54bd7211b5463184243a0bedb9ba0c098a2d6aa4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Documentation
|
|
15
|
+
|
|
16
|
+
* updated publiccode and release log ([a5c1ffe](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a5c1ffe1b39d89076fa253a15a600c255dac26a9))
|
|
17
|
+
|
|
3
18
|
## [12.6.5](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.6.4...v12.6.5) (2025-11-04)
|
|
4
19
|
|
|
5
20
|
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,15 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 12.6.6 (06/11/2025)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- I campi "Obbligatorio" e "Univoco" per l'impostazione dei campi nel Blocco Form funzionano ora correttamente.
|
|
49
|
+
- Rimossa la visualizzazione dell'icona per i link esterni sulle immagine per il blocco card con immagine.
|
|
50
|
+
- L'etichetta dei campi nel blocco Form va a capo se troppo lunga.
|
|
51
|
+
- Lo stile di testo "blockquote" dell'editor in versione scura ha sempre un testo a contrasto garantendone la leggibilità.
|
|
52
|
+
|
|
44
53
|
## Versione 12.6.5 (04/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.6.
|
|
5
|
+
"version": "12.6.6",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"volto-dropdownmenu": "4.1.3",
|
|
153
153
|
"volto-editablefooter": "5.1.7",
|
|
154
154
|
"volto-feedback": "0.7.2",
|
|
155
|
-
"volto-form-block": "3.13.
|
|
155
|
+
"volto-form-block": "3.13.2",
|
|
156
156
|
"volto-gdpr-privacy": "2.2.12",
|
|
157
157
|
"volto-google-analytics": "2.0.0",
|
|
158
158
|
"volto-multilingual-widget": "3.2.1",
|
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-
|
|
230
|
+
releaseDate: '2025-11-06'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 12.6.
|
|
232
|
+
softwareVersion: 12.6.6
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -59,7 +59,7 @@ const Field = ({
|
|
|
59
59
|
description,
|
|
60
60
|
name,
|
|
61
61
|
field_type,
|
|
62
|
-
|
|
62
|
+
field_id,
|
|
63
63
|
input_values,
|
|
64
64
|
value,
|
|
65
65
|
onChange,
|
|
@@ -71,7 +71,9 @@ const Field = ({
|
|
|
71
71
|
id,
|
|
72
72
|
reactSelect,
|
|
73
73
|
autocomplete,
|
|
74
|
+
...props
|
|
74
75
|
}) => {
|
|
76
|
+
const required = props[`required-${field_id}`];
|
|
75
77
|
const intl = useIntl();
|
|
76
78
|
const Select = reactSelect.default;
|
|
77
79
|
|
|
@@ -100,7 +102,6 @@ const Field = ({
|
|
|
100
102
|
static_text_value = fromHtml(value);
|
|
101
103
|
} //per retrocompatibilità con il vecchio widget che usava draftjs
|
|
102
104
|
}
|
|
103
|
-
|
|
104
105
|
return (
|
|
105
106
|
<div className="field">
|
|
106
107
|
{field_type === 'text' && (
|
|
@@ -456,8 +456,10 @@ export default (props) => {
|
|
|
456
456
|
props?.field_type !== 'static_text'
|
|
457
457
|
? ['autocomplete']
|
|
458
458
|
: []),
|
|
459
|
-
...(props?.field_type === 'static_text'
|
|
460
|
-
|
|
459
|
+
...(props?.field_type === 'static_text'
|
|
460
|
+
? []
|
|
461
|
+
: [`required-${props?.field_id}`]),
|
|
462
|
+
`unique-${props?.field_id}`,
|
|
461
463
|
'visibility_conditions',
|
|
462
464
|
],
|
|
463
465
|
},
|
|
@@ -501,13 +503,13 @@ export default (props) => {
|
|
|
501
503
|
),
|
|
502
504
|
choices: autocompleteValues,
|
|
503
505
|
},
|
|
504
|
-
required: {
|
|
506
|
+
[`required-${props?.field_id}`]: {
|
|
505
507
|
title: intl.formatMessage(messages.field_required),
|
|
506
508
|
type: 'boolean',
|
|
507
509
|
default: false,
|
|
508
510
|
description: intl.formatMessage(messages.field_required_info_text),
|
|
509
511
|
},
|
|
510
|
-
unique: {
|
|
512
|
+
[`unique-${props?.field_id}`]: {
|
|
511
513
|
title: intl.formatMessage(messages.field_unique_title),
|
|
512
514
|
description: intl.formatMessage(messages.field_unique_description),
|
|
513
515
|
type: 'boolean',
|
|
@@ -7,4 +7,10 @@ body.public-ui {
|
|
|
7
7
|
font-size: 18px;
|
|
8
8
|
line-height: 1.555;
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
blockquote.blockquote-card.dark p {
|
|
12
|
+
// unless there's a specific customization, .blockquote-card.dark is always bg $primary
|
|
13
|
+
// this ensures the text is always readable
|
|
14
|
+
color: color-contrast($primary);
|
|
15
|
+
}
|
|
10
16
|
}
|