diff --git a/CHANGELOG.md b/CHANGELOG.md index 53df57e03..beaf1369b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +### [7.25.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v7.25.1...v7.25.2) (2024-03-04) + + +### Bug Fixes + +* check rich text has content in iconsBlock ([#561](https://github.com/RedTurtle/design-comuni-plone-theme/issues/561)) ([3c51192](https://github.com/RedTurtle/design-comuni-plone-theme/commit/3c511927ed0740ade6f3aa0c1fc5edcc1ef15b36)) +* table mobile ([#539](https://github.com/RedTurtle/design-comuni-plone-theme/issues/539)) ([5ee242f](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5ee242fd9c21665c79ff36b3d88c96e615796ace)) + + +### Maintenance + +* back to previous version 7.25.1 ([07ee781](https://github.com/RedTurtle/design-comuni-plone-theme/commit/07ee78198ed6223805e75891ad7a6d3b702ed26b)) +* preparing release 7.2.5.2 ([e92f69a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e92f69a819deff93b9730e8056ffdfcef6cc7067)) +* release v7.25.2 ([8a4b572](https://github.com/RedTurtle/design-comuni-plone-theme/commit/8a4b5722ca33c9f8947055745bb6a5f537287372)) + ### [7.25.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v7.25.0...v7.25.1) (2024-02-23) diff --git a/RELEASE.md b/RELEASE.md index ed58bd20c..8e3b3401b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -36,6 +36,13 @@ - Migliorata l'accessibilità del menu in versione mobile. +## Versione 7.25.2 (04/03/2024) + +### Fix + +- Sistemata la visualizzazione mobile per il blocco tabella. +- Blocco icone: sistemata la visualizzazione del Titolo e Descrizione nel caso in cui siano vuoti. + ## Versione 7.25.0 (20/02/2024) ### Novità diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 0b5fc0692..348f3f803 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -1246,6 +1246,11 @@ msgstr "" msgid "color_primary" msgstr "" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index f9f29c05e..4393c3e51 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -1231,6 +1231,11 @@ msgstr "" msgid "color_primary" msgstr "" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 9fc2a4297..c85dcf5c2 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -1240,6 +1240,11 @@ msgstr "Naranja" msgid "color_primary" msgstr "Primario" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 1296fb322..1110229d5 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -1248,6 +1248,11 @@ msgstr "" msgid "color_primary" msgstr "" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index cdfc239f6..fd65c0621 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -1231,6 +1231,11 @@ msgstr "Arancione" msgid "color_primary" msgstr "Colore primario" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "Colore secondario" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/locales/volto.pot b/locales/volto.pot index ee3fbde89..2607c3774 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-02-07T17:28:21.593Z\n" +"POT-Creation-Date: 2024-02-29T10:45:35.413Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -1233,6 +1233,11 @@ msgstr "" msgid "color_primary" msgstr "" +#: components/ItaliaTheme/Blocks/IconBlocks/Sidebar +# defaultMessage: Secondario +msgid "color_secondary" +msgstr "" + #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar #: components/ItaliaTheme/Blocks/IconBlocks/Sidebar # defaultMessage: Trasparente diff --git a/package.json b/package.json index e09e12544..329604b23 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "MIT", - "version": "7.25.1", + "version": "7.25.2", "addons": [ "@plone-collective/volto-sentry", "volto-multilingual-widget", diff --git a/publiccode.yml b/publiccode.yml index 050d87987..dec955257 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-02-23' +releaseDate: '2024-03-04' softwareType: standalone/web -softwareVersion: 7.25.1 +softwareVersion: 7.25.2 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord diff --git a/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx b/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx index ea120f1b4..72c3ea818 100644 --- a/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +++ b/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx @@ -47,8 +47,8 @@ const messages = defineMessages({ defaultMessage: 'Primario', }, color_secondary: { - id: 'color_primary', - defaultMessage: 'Primario', + id: 'color_secondary', + defaultMessage: 'Secondario', }, color_transparent: { id: 'color_transparent', diff --git a/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx b/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx index ae18e8b33..129f4c7f3 100644 --- a/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx +++ b/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx @@ -10,6 +10,7 @@ import ViewBlock from './Block/ViewBlock'; import { Container, Row, Col } from 'design-react-kit/dist/design-react-kit'; import { flattenToAppURL, addAppURL } from '@plone/volto/helpers'; import { UniversalLink } from '@plone/volto/components'; +import { richTextHasContent } from 'design-comuni-plone-theme/components/ItaliaTheme/View'; import config from '@plone/volto/registry'; import cx from 'classnames'; @@ -46,7 +47,7 @@ const AccordionView = ({ data, block }) => { )}
- {data.title && ( + {richTextHasContent(data.title) && (
{redraft( data.title, @@ -55,7 +56,7 @@ const AccordionView = ({ data, block }) => { )}
)} - {data.description && ( + {richTextHasContent(data.description) && (
{redraft( data.description, diff --git a/theme/ItaliaTheme/_main.scss b/theme/ItaliaTheme/_main.scss index 55ef8d491..1217f5c83 100644 --- a/theme/ItaliaTheme/_main.scss +++ b/theme/ItaliaTheme/_main.scss @@ -264,7 +264,6 @@ iframe { //table overflow mobile @media (max-width: #{map-get($grid-breakpoints, lg)}) { .public-ui table.ui.table { - display: block; overflow: auto; th { white-space: nowrap;