design-comuni-plone-theme 11.35.1 → 11.35.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.
Files changed (24) hide show
  1. package/.yarn/cache/{volto-form-block-npm-3.13.0-f978a02e9c-0ce41843f5.zip → volto-form-block-npm-3.13.1-9bd9750b11-0019794e60.zip} +0 -0
  2. package/.yarn/install-state.gz +0 -0
  3. package/CHANGELOG.md +32 -0
  4. package/RELEASE.md +13 -0
  5. package/package.json +2 -2
  6. package/publiccode.yml +2 -2
  7. package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +1 -1
  8. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +1 -1
  9. package/src/components/ItaliaTheme/Blocks/CTABlock/Edit.jsx +2 -2
  10. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +1 -1
  11. package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +1 -1
  12. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +1 -1
  13. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +2 -2
  14. package/src/components/ItaliaTheme/ContactsBlock/ContactsBlock.jsx +1 -1
  15. package/src/components/ItaliaTheme/View/Commons/RelatedItemInEvidence/RelatedItemInEvidence.jsx +0 -4
  16. package/src/components/ItaliaTheme/index.js +6 -6
  17. package/src/components/ItaliaTheme/manage/Widgets/ConditionallyRequiredDateWidget.jsx +12 -2
  18. package/src/config/Blocks/listingVariations.js +1 -1
  19. package/src/customizations/volto/components/manage/Blocks/Grid/View.jsx +1 -1
  20. package/src/customizations/volto/components/manage/Blocks/HTML/Edit.jsx +1 -1
  21. package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +1 -1
  22. package/src/customizations/volto/components/manage/Blocks/Video/View.jsx +1 -1
  23. package/src/theme/ItaliaTheme/Components/_contactsBlock.scss +3 -0
  24. package/src/theme/_cms-ui.scss +9 -0
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
 
2
2
 
3
+ ## [11.35.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.35.2...v11.35.3) (2025-10-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * conditional chaining in grid block view for columns ([#1028](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1028)) ([7a13014](https://github.com/RedTurtle/design-comuni-plone-theme/commit/7a13014466c77be575eff6f136935a7dc164791c))
9
+ * update volto-form-blocks 3.13.1 ([#1030](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1030)) ([ee41f11](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ee41f119e6bddc30fae488a130a0af21f76cd89c))
10
+
11
+
12
+ ### Maintenance
13
+
14
+ * updated imports to allow better customizations ([7bbe21d](https://github.com/RedTurtle/design-comuni-plone-theme/commit/7bbe21d3e1ef805fb1b14d701ae6e7778f567492))
15
+
16
+
17
+ ### Documentation
18
+
19
+ * updated publiccode and release log ([f090054](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f090054d72de7b689dde5cd4d581760b26361833))
20
+
21
+ ## [11.35.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.35.1...v11.35.2) (2025-10-21)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * contacts block styles ([#1022](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1022)) ([2b4143b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2b4143b96e313aa35337a7fa1dbedea954cc2657))
27
+ * removed the unnecessary arguments part from content in evidence ([#1027](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1027)) ([cf05f0d](https://github.com/RedTurtle/design-comuni-plone-theme/commit/cf05f0da7360bb1d8136e7c2c01164329bd8c4d0))
28
+ * tipoIncarico conditions check for data inizio incarico widget ([#1021](https://github.com/RedTurtle/design-comuni-plone-theme/issues/1021)) ([630613b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/630613bfb56f7c3e2a50ceede57c3466c8870509))
29
+
30
+
31
+ ### Documentation
32
+
33
+ * updated publiccode and release log ([b3c11c9](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b3c11c9b65aa32d9b169490a47b634daa9a79642))
34
+
3
35
  ## [11.35.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.35.0...v11.35.1) (2025-10-09)
4
36
 
5
37
 
package/RELEASE.md CHANGED
@@ -41,6 +41,19 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 11.35.3 (27/10/2025)
45
+
46
+ ### Fix
47
+
48
+ - Inserendo un blocco Griglia in pagina, se si salva con il blocco vuoto, la pagina non va più in crash.
49
+
50
+ ## Versione 11.35.2 (21/10/2025)
51
+
52
+ ### Fix
53
+
54
+ - Rimossi gli argomenti dalla fascia dei contenuti correlati in evidenza.
55
+ - Il widget contatti mantiene gli stili anche nelle pagine di back-office.
56
+
44
57
  ## Versione 11.35.1 (09/10/2025)
45
58
 
46
59
  ### 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": "11.35.1",
5
+ "version": "11.35.3",
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.0",
155
+ "volto-form-block": "3.13.1",
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-10-09'
230
+ releaseDate: '2025-10-27'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.35.1
232
+ softwareVersion: 11.35.3
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -14,7 +14,7 @@ import {
14
14
  } from 'volto-subblocks';
15
15
 
16
16
  import { SidebarPortal } from '@plone/volto/components';
17
- import Sidebar from './Sidebar.jsx';
17
+ import Sidebar from './Sidebar';
18
18
 
19
19
  import { defineMessages } from 'react-intl';
20
20
 
@@ -9,7 +9,7 @@ import {
9
9
  SubblocksWrapper,
10
10
  } from 'volto-subblocks';
11
11
  import { SidebarPortal } from '@plone/volto/components';
12
- import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Sidebar.jsx';
12
+ import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Sidebar';
13
13
  import { ArgumentsInEvidenceBackground } from 'design-comuni-plone-theme/components/ItaliaTheme';
14
14
 
15
15
  class Edit extends SubblocksEdit {
@@ -5,8 +5,8 @@
5
5
 
6
6
  import React from 'react';
7
7
  import { SidebarPortal } from '@plone/volto/components';
8
- import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Sidebar.jsx';
9
- import BodyWrapper from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/BodyWrapper.jsx';
8
+ import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Sidebar';
9
+ import BodyWrapper from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/BodyWrapper';
10
10
  import Block from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/CTABlock/Block';
11
11
 
12
12
  class Edit extends React.Component {
@@ -19,7 +19,7 @@ import {
19
19
  import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
20
20
 
21
21
  import EditBlock from './Block/EditBlock';
22
- import Sidebar from './Sidebar.jsx';
22
+ import Sidebar from './Sidebar';
23
23
 
24
24
  const messages = defineMessages({
25
25
  addItem: {
@@ -19,7 +19,7 @@ import {
19
19
  import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
20
20
 
21
21
  import EditBlock from './Block/EditBlock';
22
- import Sidebar from './Sidebar.jsx';
22
+ import Sidebar from './Sidebar';
23
23
 
24
24
  import config from '@plone/volto/registry';
25
25
 
@@ -19,7 +19,7 @@ import {
19
19
  import { TextEditorWidget } from 'design-comuni-plone-theme/components/ItaliaTheme';
20
20
 
21
21
  import EditBlock from './Block/EditBlock';
22
- import Sidebar from './Sidebar.jsx';
22
+ import Sidebar from './Sidebar';
23
23
 
24
24
  const messages = defineMessages({
25
25
  addItem: {
@@ -7,8 +7,8 @@ import React, { Component } from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { injectIntl } from 'react-intl';
9
9
  import { SidebarPortal } from '@plone/volto/components';
10
- import Sidebar from './Sidebar.jsx';
11
- import BodyWrapper from './BodyWrapper.jsx';
10
+ import Sidebar from './Sidebar';
11
+ import BodyWrapper from './BodyWrapper';
12
12
  import Block from './Block';
13
13
 
14
14
  /**
@@ -32,7 +32,7 @@ const ContactsBlock = () => {
32
32
  const isContactsLoaded = contacts.loaded;
33
33
 
34
34
  return contactsItems.length > 0 ? (
35
- <section className="contacts-block bg-light py-5">
35
+ <section className="public-ui contacts-block bg-light">
36
36
  <Container>
37
37
  <Row className="d-flex justify-content-center">
38
38
  <Col xs={12} lg={6} xl={6} xxl={6}>
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import ItemInEvidence from 'design-comuni-plone-theme/components/ItaliaTheme/View/Commons/RelatedItemInEvidence/ItemInEvidence';
4
- import Arguments from 'design-comuni-plone-theme/components/ItaliaTheme/View/Commons/RelatedItemInEvidence/Arguments';
5
4
  import { Container, Row, Col } from 'design-react-kit';
6
5
  import { defineMessages, useIntl } from 'react-intl';
7
6
 
@@ -34,9 +33,6 @@ const RelatedItemInEvidence = ({ content }) => {
34
33
  <Col md={6} className="px-3">
35
34
  <ItemInEvidence content={content} />
36
35
  </Col>
37
- <Col md={6} className="px-3">
38
- <Arguments content={content} />
39
- </Col>
40
36
  </Row>
41
37
  </Container>
42
38
  </div>
@@ -19,12 +19,12 @@ export LocationFiltersWidget from 'design-comuni-plone-theme/components/ItaliaTh
19
19
  export CanaleDigitaleWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/CanaleDigitaleWidget';
20
20
  export CTFieldsWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/CTFieldsWidget';
21
21
  export CTTitleColumnWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/CTTitleColumnWidget';
22
- export BlocksViewWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/BlocksViewWidget.jsx';
23
- export PDCViewWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/PDCViewWidget.jsx';
24
- export DataGridWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/DataGridWidget.jsx';
25
- export ContactsConfigWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ContactsWidget/ContactsConfigWidget.jsx';
26
- export ContactsConfigForm from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ContactsWidget/ContactsConfigForm.jsx';
27
- export ConditionallyRequiredDateWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ConditionallyRequiredDateWidget.jsx';
22
+ export BlocksViewWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/BlocksViewWidget';
23
+ export PDCViewWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/PDCViewWidget';
24
+ export DataGridWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/DataGridWidget';
25
+ export ContactsConfigWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ContactsWidget/ContactsConfigWidget';
26
+ export ContactsConfigForm from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ContactsWidget/ContactsConfigForm';
27
+ export ConditionallyRequiredDateWidget from 'design-comuni-plone-theme/components/ItaliaTheme/manage/Widgets/ConditionallyRequiredDateWidget';
28
28
 
29
29
  /********* ICONS ********* */
30
30
  export getItemIcon from 'design-comuni-plone-theme/components/ItaliaTheme/Icons/common/common';
@@ -7,8 +7,18 @@ const ConditionallyRequiredDateWidget = (props) => {
7
7
  // Check tipo di incarico in formData
8
8
  const tipoIncarico = formData?.tipologia_incarico;
9
9
 
10
- // Make required only if tipo di incarico !== "amministrativo"
11
- const isRequired = tipoIncarico !== 'amministrativo';
10
+ // when selecting tipo di incarico, tipoIncarico is a string
11
+ // if entering in already existing incarico, the tipoIncarico value will be an object
12
+ //{
13
+ // "title": "Amministrativo",
14
+ // "token": "amministrativo"
15
+ // }
16
+ // so its necessary to check both conditions
17
+ // if tipoIncarico.token and tipoIncarico !== 'amministrativo'
18
+ // the field must not be required
19
+ const isRequired =
20
+ tipoIncarico !== 'amministrativo' &&
21
+ tipoIncarico.token !== 'amministrativo';
12
22
 
13
23
  return (
14
24
  <DatetimeWidget
@@ -47,7 +47,7 @@ import CardWithSlideUpTextTemplateSkeleton from 'design-comuni-plone-theme/compo
47
47
 
48
48
  import AttachmentCardTemplate from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/AttachmentCardTemplate';
49
49
 
50
- import TableTemplate from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/TableTemplate.jsx';
50
+ import TableTemplate from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/TableTemplate';
51
51
  import TableTemplateSkeleton from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/TemplatesSkeletons/TableTemplateSkeleton';
52
52
  // import AmministrazioneTrasparenteTablesTemplate from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/AmministrazioneTrasparenteTablesTemplate';
53
53
  // import AmministrazioneTrasparenteTablesTemplateSkeleton from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/Listing/TemplatesSkeletons/AmministrazioneTrasparenteTablesTemplateSkeleton';
@@ -11,7 +11,7 @@ import config from '@plone/volto/registry';
11
11
  const GridBlockView = (props) => {
12
12
  const { data, path, className } = props;
13
13
  const metadata = props.metadata || props.properties;
14
- const columns = data.blocks_layout.items;
14
+ const columns = data?.blocks_layout?.items;
15
15
  const blocksConfig =
16
16
  config.blocks.blocksConfig[data['@type']].blocksConfig ||
17
17
  props.blocksConfig;
@@ -22,7 +22,7 @@ import showSVG from '@plone/volto/icons/show.svg';
22
22
  import clearSVG from '@plone/volto/icons/clear.svg';
23
23
  import codeSVG from '@plone/volto/icons/code.svg';
24
24
  import indentSVG from '@plone/volto/icons/indent.svg';
25
- import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HTML/Sidebar.jsx';
25
+ import Sidebar from 'design-comuni-plone-theme/components/ItaliaTheme/Blocks/HTML/Sidebar';
26
26
  import { Toast } from '@plone/volto/components';
27
27
 
28
28
  const Editor = loadable(() => import('react-simple-code-editor'));
@@ -21,7 +21,7 @@ import {
21
21
  import clearSVG from '@plone/volto/icons/clear.svg';
22
22
  import aheadSVG from '@plone/volto/icons/ahead.svg';
23
23
  import videoBlockSVG from '@plone/volto/components/manage/Blocks/Video/block-video.svg';
24
- import Body from './Body.jsx';
24
+ import Body from './Body';
25
25
  import { checkIfValidVideoLink } from 'design-comuni-plone-theme/helpers/index.js';
26
26
  import { compose } from 'redux';
27
27
  import config from '@plone/volto/registry';
@@ -5,7 +5,7 @@
5
5
 
6
6
  import React from 'react';
7
7
  import PropTypes from 'prop-types';
8
- import Body from './Body.jsx';
8
+ import Body from './Body';
9
9
  import cx from 'classnames';
10
10
 
11
11
  /**
@@ -1,5 +1,8 @@
1
1
  .contacts-block {
2
2
  box-shadow: inset 0 4px 6px -4px rgba(0, 0, 0, 0.3);
3
+ padding-top: 48px;
4
+ padding-bottom: 48px;
5
+
3
6
  .contacts-box {
4
7
  background-color: #fff;
5
8
 
@@ -469,6 +469,15 @@ body.cms-ui {
469
469
  }
470
470
  }
471
471
 
472
+ .bg-light {
473
+ --bs-light-rgb: 243, 252, 249;
474
+ --bs-bg-opacity: 1;
475
+ background-color: rgba(
476
+ var(--bs-light-rgb),
477
+ var(--bs-bg-opacity)
478
+ ) !important;
479
+ }
480
+
472
481
  .path-filter-widget {
473
482
  padding: 1em 0 1em 0.5em;
474
483
  border-left: 1px solid #edf1f2;