design-comuni-plone-theme 11.34.1 → 11.35.0
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 +29 -0
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/ContactsBlock/ContactsBlock.jsx +1 -1
- package/src/config/Blocks/listingVariations.js +18 -15
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +1 -1
- package/src/theme/ItaliaTheme/Components/_contactsBlock.scss +22 -15
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.35.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.34.2...v11.35.0) (2025-10-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* listing table variant is now optional ([#1018](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1018)) ([4cff9d8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4cff9d861d0b24cd8088eb9fde72160381fb0c63))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* contact blocks styles ([#1016](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1016)) ([b4f1f2a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b4f1f2a6914fad047111f94372f929c699535e98))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
* updated publiccode ([d6e7bf8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d6e7bf8d7a8ef49f79840807e3b63fd6861ce100))
|
|
19
|
+
|
|
20
|
+
## [11.34.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.34.1...v11.34.2) (2025-10-03)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* config field for contacts block ([#1015](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1015)) ([4cfd7c1](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4cfd7c1aebf6493220b7eaf79e74a97c1da95545))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
|
|
30
|
+
* updated publiccode ([f9c1d79](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f9c1d7934901199a2d95ddb2265f54de6017cb15))
|
|
31
|
+
|
|
3
32
|
## [11.34.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.34.0...v11.34.1) (2025-10-03)
|
|
4
33
|
|
|
5
34
|
|
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-10-
|
|
230
|
+
releaseDate: '2025-10-07'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.
|
|
232
|
+
softwareVersion: 11.35.0
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -42,7 +42,7 @@ const ContactsBlock = () => {
|
|
|
42
42
|
<Card className="contacts-box">
|
|
43
43
|
<CardBody>
|
|
44
44
|
<h2>{intl.formatMessage(messages.contact_block_title)}</h2>
|
|
45
|
-
<div>
|
|
45
|
+
<div className="contacts-list-container">
|
|
46
46
|
<ul className="mb-0 mt-3 contacts-list">
|
|
47
47
|
{contactsItems.map((contact, idx) => (
|
|
48
48
|
<li key={idx}>
|
|
@@ -296,21 +296,6 @@ const italiaListingVariations = [
|
|
|
296
296
|
},
|
|
297
297
|
cloneData: cloneBlock,
|
|
298
298
|
},
|
|
299
|
-
{
|
|
300
|
-
id: 'table',
|
|
301
|
-
isDefault: false,
|
|
302
|
-
title: 'Tabella',
|
|
303
|
-
template: TableTemplate,
|
|
304
|
-
skeleton: TableTemplateSkeleton,
|
|
305
|
-
schemaEnhancer: ({ schema, formData, intl }) => {
|
|
306
|
-
let pos = addDefaultOptions(schema, formData, intl);
|
|
307
|
-
addTableTemplateOptions(schema, formData, intl, pos);
|
|
308
|
-
addLinkMoreOptions(schema, formData, intl);
|
|
309
|
-
return schema;
|
|
310
|
-
},
|
|
311
|
-
fullobjects: true,
|
|
312
|
-
cloneData: cloneBlock,
|
|
313
|
-
},
|
|
314
299
|
// {
|
|
315
300
|
// id: 'amministrazioneTrasparenteTablesTemplate',
|
|
316
301
|
// isDefault: false,
|
|
@@ -351,3 +336,21 @@ export const removeListingVariation = (config, id) => {
|
|
|
351
336
|
config.blocks.blocksConfig.listing.variations.splice(indexOfVariation, 1);
|
|
352
337
|
}
|
|
353
338
|
};
|
|
339
|
+
|
|
340
|
+
export const addTableListingVariation = (config) => {
|
|
341
|
+
config.blocks.blocksConfig.listing.variations.push({
|
|
342
|
+
id: 'table',
|
|
343
|
+
isDefault: false,
|
|
344
|
+
title: 'Tabella',
|
|
345
|
+
template: TableTemplate,
|
|
346
|
+
skeleton: TableTemplateSkeleton,
|
|
347
|
+
schemaEnhancer: ({ schema, formData, intl }) => {
|
|
348
|
+
let pos = addDefaultOptions(schema, formData, intl);
|
|
349
|
+
addTableTemplateOptions(schema, formData, intl, pos);
|
|
350
|
+
addLinkMoreOptions(schema, formData, intl);
|
|
351
|
+
return schema;
|
|
352
|
+
},
|
|
353
|
+
fullobjects: true,
|
|
354
|
+
cloneData: cloneBlock,
|
|
355
|
+
});
|
|
356
|
+
};
|
|
@@ -38,7 +38,7 @@ const Footer = () => {
|
|
|
38
38
|
config.settings.siteProperties.enableFeedbackForm
|
|
39
39
|
: true;
|
|
40
40
|
|
|
41
|
-
const showContactsBlock = config.settings.siteProperties.
|
|
41
|
+
const showContactsBlock = config.settings.siteProperties.enableContactsBlock;
|
|
42
42
|
|
|
43
43
|
return (
|
|
44
44
|
<>
|
|
@@ -13,25 +13,32 @@
|
|
|
13
13
|
line-height: 1.2;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.contacts-list {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
.contacts-list-container {
|
|
17
|
+
display: flex;
|
|
18
|
+
.contacts-list {
|
|
19
|
+
padding: 0;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
width: 5%;
|
|
25
|
-
display: flex;
|
|
21
|
+
li {
|
|
22
|
+
list-style-type: none;
|
|
23
|
+
line-height: 2.2;
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
a {
|
|
26
|
+
.icon-container {
|
|
27
|
+
min-width: 1.5rem;
|
|
28
|
+
display: flex;
|
|
29
|
+
margin-right: 0.5rem;
|
|
30
|
+
|
|
31
|
+
.icon {
|
|
32
|
+
max-width: 1.5rem;
|
|
33
|
+
height: auto;
|
|
34
|
+
color: currentColor;
|
|
35
|
+
fill: currentColor;
|
|
36
|
+
}
|
|
30
37
|
}
|
|
31
|
-
}
|
|
32
38
|
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
.text-container {
|
|
40
|
+
width: 93%;
|
|
41
|
+
}
|
|
35
42
|
}
|
|
36
43
|
}
|
|
37
44
|
}
|