From 455df8dd4ed17b9f9d4a20b96ae478a7d930c5f5 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Wed, 12 Jun 2024 09:16:58 +0200 Subject: [PATCH 01/10] docs: updated publiccode and release log --- RELEASE.md | 2 +- publiccode.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 9e6828e3d..6c43c2abb 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,7 +41,7 @@ - ... --> -## Versione X.X.X (dd/mm/yyyy) +## Versione 11.13.0 (12/06/2024) ### Migliorie diff --git a/publiccode.yml b/publiccode.yml index a4137240d..5d3a8532c 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -227,9 +227,9 @@ maintenance: name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici platforms: - web -releaseDate: '2024-06-06' +releaseDate: '2024-06-12' softwareType: standalone/web -softwareVersion: 11.12.9 +softwareVersion: 11.13.0 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord From ee4439d1babe0645b98ea63e9246de2e5936487b Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Wed, 12 Jun 2024 09:17:24 +0200 Subject: [PATCH 02/10] chore: release v11.13.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b003ec81..60d5ff7b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ +## [11.13.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.9...v11.13.0) (2024-06-12) + + +### Features + +* indicate le rassegne nei listing ([#689](https://github.com/RedTurtle/design-comuni-plone-theme/issues/689)) ([b934e89](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b934e89cf6bab540c729960e1b73d9d4d9638170)) +* show more than one incarico in CT Persona ([#692](https://github.com/RedTurtle/design-comuni-plone-theme/issues/692)) ([34403db](https://github.com/RedTurtle/design-comuni-plone-theme/commit/34403dbddbc208e40a24c0681c31b17caa10768d)) + + +### Bug Fixes + +* added prefix condition to render solid icons ([#693](https://github.com/RedTurtle/design-comuni-plone-theme/issues/693)) ([145e914](https://github.com/RedTurtle/design-comuni-plone-theme/commit/145e914fad3d9091702530f1ac689d6ab51745ad)) +* better handle /diff route as non-content route because otherwise cms-ui styles are applied also on contents that starts with "diff" like "diffusione". ([#696](https://github.com/RedTurtle/design-comuni-plone-theme/issues/696)) ([027b569](https://github.com/RedTurtle/design-comuni-plone-theme/commit/027b569bdd1d1601d608f9d97904b1564c7c584e)) +* changed default filters in EventSearch DataFilter + query parameters ([#691](https://github.com/RedTurtle/design-comuni-plone-theme/issues/691)) ([6e36884](https://github.com/RedTurtle/design-comuni-plone-theme/commit/6e3688499943dee4d4ecc6ef2a1e4aeb79049727)) +* match path in search filters ([#694](https://github.com/RedTurtle/design-comuni-plone-theme/issues/694)) ([e17199b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e17199bd29d0854bab8afe5d86cf5227d741215f)) + + +### Maintenance + +* **perf:** updated dependencies ([5d46f09](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5d46f0921b27f146b0abfe66f2c2e1522932c345)) +* removed unneccessary skiplink styles ([#695](https://github.com/RedTurtle/design-comuni-plone-theme/issues/695)) ([1727b1e](https://github.com/RedTurtle/design-comuni-plone-theme/commit/1727b1e0104a0e6b035d5813462a523c79bce872)) + + +### Documentation + +* updated publiccode and release log ([455df8d](https://github.com/RedTurtle/design-comuni-plone-theme/commit/455df8dd4ed17b9f9d4a20b96ae478a7d930c5f5)) + ## [11.12.9](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.8...v11.12.9) (2024-06-06) diff --git a/package.json b/package.json index 6fb218b1c..3d7314d26 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "11.12.9", + "version": "11.13.0", "main": "src/index.js", "repository": { "type": "git", From 746502f827359205374d54eda99ac4efd47502ba Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:44:00 +0200 Subject: [PATCH 03/10] fix: volto-form-block form result (#700) --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3d7314d26..f8e3b0ff2 100644 --- a/package.json +++ b/package.json @@ -151,7 +151,7 @@ "volto-dropdownmenu": "4.1.3", "volto-editablefooter": "5.1.6", "volto-feedback": "0.3.2", - "volto-form-block": "3.8.5", + "volto-form-block": "3.8.6", "volto-gdpr-privacy": "2.2.6", "volto-google-analytics": "2.0.0", "volto-multilingual-widget": "3.2.1", diff --git a/yarn.lock b/yarn.lock index 552477013..8ac35e49c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8216,7 +8216,7 @@ __metadata: volto-dropdownmenu: 4.1.3 volto-editablefooter: 5.1.6 volto-feedback: 0.3.2 - volto-form-block: 3.8.5 + volto-form-block: 3.8.6 volto-gdpr-privacy: 2.2.6 volto-google-analytics: 2.0.0 volto-multilingual-widget: 3.2.1 @@ -16128,9 +16128,9 @@ __metadata: languageName: node linkType: hard -"volto-form-block@npm:3.8.5": - version: 3.8.5 - resolution: "volto-form-block@npm:3.8.5" +"volto-form-block@npm:3.8.6": + version: 3.8.6 + resolution: "volto-form-block@npm:3.8.6" dependencies: "@hcaptcha/react-hcaptcha": ^0.3.6 file-saver: ^2.0.5 @@ -16139,7 +16139,7 @@ __metadata: peerDependencies: "@plone/volto": ">=16.0.0-alpha.38" volto-subblocks: ^2.1.0 - checksum: db8d56e91b3c109803bf7006d96a0b8635f9fa96ec6faaae72bec7b3747f7980e2357d7c7f8c424a6b52d0ff6049da60030de8ea597697dd861c7eb1fd088611 + checksum: b038d1b89ea93da7780a0ff20b6a34a3386ecd86a77fe049c3a2dbab593a7560b4f60b4c22e9bed52253bbd76c3313f05fdba1401aa7353773902e5ed729d133 languageName: node linkType: hard From f6668ef7e7f6eaf624a3c3bd2eaf557d7f32ac14 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:48:27 +0200 Subject: [PATCH 04/10] fix: megamenu active item (#703) --- src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx b/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx index 66aed8490..75d24cabc 100644 --- a/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +++ b/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx @@ -66,7 +66,10 @@ const isActive = (item, pathname) => { ); }; -const isChildActive = (itemUrl, pathname) => { +const isChildActive = (itemUrl, pathname, exact = false) => { + if (exact) { + return itemUrl === pathname; + } return pathname.indexOf(itemUrl) > -1; }; @@ -328,6 +331,7 @@ const MegaMenu = ({ item, pathname }) => { active: isChildActive( flattenToAppURL(child['@id']), pathname, + true, ), })} role="menuitem" From 8cf55afe4d2864ec72a2eba166d9e838b2304899 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:03:13 +0200 Subject: [PATCH 05/10] feat: button block pos editor (#704) * fix: button block pos editor * chore: updated RELEASE.md --- RELEASE.md | 4 + src/config/italiaConfig.js | 6 +- .../BlockChooser/BlockChooserButton.jsx | 157 ------------------ src/theme/_cms-ui.scss | 5 + 4 files changed, 12 insertions(+), 160 deletions(-) delete mode 100644 src/customizations/volto/components/manage/BlockChooser/BlockChooserButton.jsx diff --git a/RELEASE.md b/RELEASE.md index 6c43c2abb..59d5a76f4 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,10 @@ - ... --> +## Versione xx.xx.xx (dd/mm/yyyy) + +- il pulsante di aggiunta del blocco è stato spostato nella parte bassa del blocco (non si trova più alla sua sinistra), per migliorare l'usabilità della gestione dei blocchi anche su mobile/tablet + ## Versione 11.13.0 (12/06/2024) ### Migliorie diff --git a/src/config/italiaConfig.js b/src/config/italiaConfig.js index 5bc90332c..04388f85a 100644 --- a/src/config/italiaConfig.js +++ b/src/config/italiaConfig.js @@ -66,8 +66,8 @@ import { schemaListing } from 'design-comuni-plone-theme/components/ItaliaTheme/ import reducers from 'design-comuni-plone-theme/reducers'; -const ReleaseLog = loadable( - () => import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'), +const ReleaseLog = loadable(() => + import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'), ); const messages = defineMessages({ @@ -84,7 +84,7 @@ export default function applyConfig(voltoConfig) { * SETTINGS ******************************************************************************/ const voltoSentryOptions = voltoConfig.settings.sentryOptions; - + config.experimental.addBlockButton.enabled = true; //per spostare il bottone di aggiunta dei blocchi in basso, e fare in modo che i bottoni di edit dei blocchi siano usabili anche da tablet/mobile config.settings = { ...config.settings, openExternalLinkInNewTab: true, diff --git a/src/customizations/volto/components/manage/BlockChooser/BlockChooserButton.jsx b/src/customizations/volto/components/manage/BlockChooser/BlockChooserButton.jsx deleted file mode 100644 index 18e9f47ed..000000000 --- a/src/customizations/volto/components/manage/BlockChooser/BlockChooserButton.jsx +++ /dev/null @@ -1,157 +0,0 @@ -/* CUSTOMIZATIONS -- zindex for handling overlapping in small pages -*/ - -import React from 'react'; -import { doesNodeContainClick } from 'semantic-ui-react/dist/commonjs/lib'; -import addSVG from '@plone/volto/icons/circle-plus.svg'; -import { blockHasValue } from '@plone/volto/helpers'; -import { Icon, BlockChooser } from '@plone/volto/components'; -import config from '@plone/volto/registry'; -import { Button, Ref } from 'semantic-ui-react'; -import { defineMessages, useIntl } from 'react-intl'; -import { usePopper } from 'react-popper'; -import { Portal } from 'react-portal'; - -const messages = defineMessages({ - addBlock: { - id: 'Add block', - defaultMessage: 'Add block', - }, -}); - -export const ButtonComponent = (props) => { - const intl = useIntl(); - const { - className = `block-add-button${ - config.experimental.addBlockButton.enabled ? ' new-add-block' : '' - }`, - size = '19px', - onShowBlockChooser, - } = props; - - return ( - - ); -}; - -const BlockChooserButton = (props) => { - const { - block, - allowedBlocks, - showRestricted, - data, - onMutateBlock, - onInsertBlock, - blocksConfig, - buttonComponent, - properties, - } = props; - const { disableNewBlocks } = data; - const [addNewBlockOpened, setAddNewBlockOpened] = React.useState(false); - - const blockChooserRef = React.useRef(); - - const handleClickOutside = React.useCallback((e) => { - if ( - blockChooserRef.current && - doesNodeContainClick(blockChooserRef.current, e) - ) - return; - setAddNewBlockOpened(false); - }, []); - - const Component = buttonComponent || ButtonComponent; - - React.useEffect(() => { - document.addEventListener('mousedown', handleClickOutside, false); - return () => { - document.removeEventListener('mousedown', handleClickOutside, false); - }; - }, [handleClickOutside]); - - const [referenceElement, setReferenceElement] = React.useState(null); - const [popperElement, setPopperElement] = React.useState(null); - const { styles, attributes } = usePopper(referenceElement, popperElement, { - placement: config.experimental.addBlockButton.enabled - ? 'bottom' - : 'right-start', - modifiers: [ - { - name: 'offset', - options: { - offset: [-10, 5], - }, - }, - { - name: 'flip', - options: { - fallbackPlacements: ['right-end', 'top-start'], - }, - }, - ], - }); - - return ( - <> - {!disableNewBlocks && - (config.experimental.addBlockButton.enabled || - !blockHasValue(data)) && ( - - setAddNewBlockOpened(true)} - /> - - )} - {addNewBlockOpened && ( - -
- { - setAddNewBlockOpened(false); - onMutateBlock(id, value); - } - : null - } - onInsertBlock={ - onInsertBlock - ? (id, value) => { - setAddNewBlockOpened(false); - onInsertBlock(id, value); - } - : null - } - currentBlock={block} - allowedBlocks={allowedBlocks} - blocksConfig={blocksConfig} - properties={properties} - showRestricted={showRestricted} - ref={blockChooserRef} - /> -
-
- )} - - ); -}; - -export default BlockChooserButton; diff --git a/src/theme/_cms-ui.scss b/src/theme/_cms-ui.scss index 0983c767a..693856308 100644 --- a/src/theme/_cms-ui.scss +++ b/src/theme/_cms-ui.scss @@ -244,6 +244,11 @@ body.cms-ui { } } + /*Block chooser*/ + [data-popper-placement] { + z-index: 1000; + } + .sidebar-container { .numbers-block-sidebar-form-container { padding-bottom: 1rem; From 309474adfde862d56c35c9b0832925cc157ecef0 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Fri, 21 Jun 2024 17:41:39 +0200 Subject: [PATCH 06/10] docs: updated publiccode and release log --- RELEASE.md | 6 ++++-- publiccode.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 59d5a76f4..370e4c190 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,9 +41,11 @@ - ... --> -## Versione xx.xx.xx (dd/mm/yyyy) +## Versione 11.14.0 (21/06/2024) -- il pulsante di aggiunta del blocco è stato spostato nella parte bassa del blocco (non si trova più alla sua sinistra), per migliorare l'usabilità della gestione dei blocchi anche su mobile/tablet +### Migliorie + +- Il pulsante di aggiunta dei blocchi è stato spostato nella parte bassa del blocco (non si trova più alla sua sinistra), per migliorare l'usabilità della gestione dei blocchi anche su mobile/tablet. ## Versione 11.13.0 (12/06/2024) diff --git a/publiccode.yml b/publiccode.yml index 5d3a8532c..3a0eba041 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -227,9 +227,9 @@ maintenance: name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici platforms: - web -releaseDate: '2024-06-12' +releaseDate: '2024-06-21' softwareType: standalone/web -softwareVersion: 11.13.0 +softwareVersion: 11.14.0 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord From efe5b5c852f50c1619c826d93b4c93a780718ed8 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Fri, 21 Jun 2024 17:43:25 +0200 Subject: [PATCH 07/10] chore: release v11.14.0 --- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60d5ff7b8..aeb619298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ +## [11.14.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.13.0...v11.14.0) (2024-06-21) + + +### Features + +* button block pos editor ([#704](https://github.com/RedTurtle/design-comuni-plone-theme/issues/704)) ([8cf55af](https://github.com/RedTurtle/design-comuni-plone-theme/commit/8cf55afe4d2864ec72a2eba166d9e838b2304899)) + + +### Bug Fixes + +* megamenu active item ([#703](https://github.com/RedTurtle/design-comuni-plone-theme/issues/703)) ([f6668ef](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f6668ef7e7f6eaf624a3c3bd2eaf557d7f32ac14)) +* volto-form-block form result ([#700](https://github.com/RedTurtle/design-comuni-plone-theme/issues/700)) ([746502f](https://github.com/RedTurtle/design-comuni-plone-theme/commit/746502f827359205374d54eda99ac4efd47502ba)) + + +### Documentation + +* updated publiccode and release log ([309474a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/309474adfde862d56c35c9b0832925cc157ecef0)) + ## [11.13.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.9...v11.13.0) (2024-06-12) diff --git a/package.json b/package.json index f8e3b0ff2..c4b88bb90 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "11.13.0", + "version": "11.14.0", "main": "src/index.js", "repository": { "type": "git", From c07c1ea41b3534ad0c05ba2b9990c7b1c8f226ff Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:06:05 +0200 Subject: [PATCH 08/10] feat: moved start and end date of incarico after incarico name (#715) --- RELEASE.md | 14 +++ .../View/PersonaView/PersonaRuolo.jsx | 94 ++++++++++--------- 2 files changed, 63 insertions(+), 45 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 370e4c190..80cd18da9 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,20 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Migliorie + +- ... + +### Novità + +- Le informazioni sulla data di inizio e fine incarico sul CT persona vengono ora mostrate subito dopo l'incarico. + +### Fix + +- ... + ## Versione 11.14.0 (21/06/2024) ### Migliorie diff --git a/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx b/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx index ee63a92a7..d0325210b 100644 --- a/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx +++ b/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx @@ -90,7 +90,10 @@ const PersonaRuolo = ({ content }) => { tag_id="incarico" title={intl.formatMessage(messages.ruolo)} > -
+

{content?.incarichi_persona[0]?.title}

{content?.incarichi_persona[0]?.atto_di_nomina && ( { )}
+ + {content.incarichi_persona[0].data_inizio_incarico && ( + +
+ {viewDate( + intl.locale, + content.incarichi_persona[0].data_inizio_incarico, + 'DD MMMM Y', + )} +
+
+ )} + {content.incarichi_persona[0].data_conclusione_incarico && ( + +
+ {viewDate( + intl.locale, + content.incarichi_persona[0].data_conclusione_incarico, + 'DD MMMM Y', + )} +
+
+ )} + {content.incarichi_persona[0].data_insediamento && ( + +
+ {viewDate( + intl.locale, + content.incarichi_persona[0].data_insediamento, + 'DD MMMM Y', + )} +
+
+ )} {content.incarichi_persona[0]?.tipologia_incarico?.title && ( { )} )} - {content.incarichi_persona[0].data_insediamento && ( - -
- {viewDate( - intl.locale, - content.incarichi_persona[0].data_insediamento, - 'DD MMMM Y', - )} -
-
- )} - {content.incarichi_persona[0].data_inizio_incarico && ( - -
- {viewDate( - intl.locale, - content.incarichi_persona[0].data_inizio_incarico, - 'DD MMMM Y', - )} -
-
- )} - {content.incarichi_persona[0].data_conclusione_incarico && ( - -
- {viewDate( - intl.locale, - content.incarichi_persona[0].data_conclusione_incarico, - 'DD MMMM Y', - )} -
-
- )} )} From 889692614b5728bd812754dea9191c5bcb127a0a Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 4 Jul 2024 16:04:56 +0200 Subject: [PATCH 09/10] feat: update to volto 17.18.1 --- .github/workflows/main.yml | 2 +- .github/workflows/performance.yml | 2 +- .github/workflows/prs.yml | 2 +- .github/workflows/release.yml | 2 +- Makefile | 2 +- package.json | 2 +- yarn.lock | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8c584fce..0d8b26435 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.7.0 + VOLTO_VERSION=17.18.1 - name: Deploy to rancher uses: redturtle/rancher-deploy-action@v0.2.0 diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index f6867aad7..705028bc7 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -31,7 +31,7 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.7.0 + VOLTO_VERSION=17.18.1 - name: Deploy to rancher uses: redturtle/rancher-deploy-action@v0.2.0 diff --git a/.github/workflows/prs.yml b/.github/workflows/prs.yml index caa0992c3..fbed72d17 100644 --- a/.github/workflows/prs.yml +++ b/.github/workflows/prs.yml @@ -34,4 +34,4 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.7.0 + VOLTO_VERSION=17.18.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c2398900..d8ca3a958 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,4 +35,4 @@ jobs: build-args: | ADDON_NAME=design-comuni-plone-theme ADDON_PATH=design-comuni-plone-theme - VOLTO_VERSION=17.7.0 + VOLTO_VERSION=17.18.1 diff --git a/Makefile b/Makefile index f1e88a070..223e4959c 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) # ADDON ?= "design-comuni-plone-theme" PLONE_VERSION=6 -VOLTO_VERSION=17.7.0 +VOLTO_VERSION=17.18.1 ADDON_NAME='design-comuni-plone-theme' ADDON_PATH='design-comuni-plone-theme' diff --git a/package.json b/package.json index c4b88bb90..19bbf735b 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,7 @@ "stylelint-prettier": "4.0.2" }, "peerDependencies": { - "@plone/volto": "17.7.0" + "@plone/volto": "17.18.1" }, "packageManager": "yarn@3.2.3" } diff --git a/yarn.lock b/yarn.lock index 8ac35e49c..0d44e2025 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8231,7 +8231,7 @@ __metadata: volto-venue: 4.1.0 webpack-image-resize-loader: ^5.0.0 peerDependencies: - "@plone/volto": 17.7.0 + "@plone/volto": 17.18.1 languageName: unknown linkType: soft From f3d2e72b47c8ce33326d0b4b5ca87daf9e874668 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 4 Jul 2024 18:00:49 +0200 Subject: [PATCH 10/10] fix: updated form validation customization --- .../volto/helpers/FormValidation/FormValidation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/customizations/volto/helpers/FormValidation/FormValidation.js b/src/customizations/volto/helpers/FormValidation/FormValidation.js index 803a06ffb..4237c0866 100644 --- a/src/customizations/volto/helpers/FormValidation/FormValidation.js +++ b/src/customizations/volto/helpers/FormValidation/FormValidation.js @@ -188,7 +188,7 @@ const widgetValidation = { * The string that comes my not be a valid JSON * @param {string} requestItem */ -const tryParseJSON = (requestItem) => { +export const tryParseJSON = (requestItem) => { let resultObj = null; try { resultObj = JSON.parse(requestItem);