design-comuni-plone-theme 12.2.3 → 12.3.1

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 (52) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +43 -0
  3. package/RELEASE.md +22 -0
  4. package/locales/de/LC_MESSAGES/volto.po +41 -0
  5. package/locales/en/LC_MESSAGES/volto.po +41 -0
  6. package/locales/es/LC_MESSAGES/volto.po +41 -0
  7. package/locales/fr/LC_MESSAGES/volto.po +41 -0
  8. package/locales/it/LC_MESSAGES/volto.po +41 -0
  9. package/locales/volto.pot +42 -1
  10. package/package.json +1 -1
  11. package/publiccode.yml +2 -2
  12. package/src/actions/getCTSchema.js +13 -0
  13. package/src/actions/index.js +3 -0
  14. package/src/components/ItaliaTheme/Blocks/Common/SearchFilters/DateFilter.jsx +27 -2
  15. package/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +1 -1
  16. package/src/components/ItaliaTheme/Blocks/Listing/CardWithImage/CardWithImageDefault.jsx +9 -8
  17. package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +9 -6
  18. package/src/components/ItaliaTheme/Blocks/Listing/Commons/ListingImage.jsx +3 -4
  19. package/src/components/ItaliaTheme/Blocks/Listing/CompleteBlockLinksTemplate.jsx +6 -1
  20. package/src/components/ItaliaTheme/Blocks/Listing/InEvidenceTemplate.jsx +5 -4
  21. package/src/components/ItaliaTheme/Blocks/Listing/RibbonCardTemplate.jsx +5 -4
  22. package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/Card/SimpleCardDefault.jsx +6 -4
  23. package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateCompact.jsx +6 -1
  24. package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateOneForRow.jsx +6 -1
  25. package/src/components/ItaliaTheme/Blocks/Listing/TableTemplate.jsx +163 -0
  26. package/src/components/ItaliaTheme/Blocks/Listing/TemplatesSkeletons/TableTemplateSkeleton.jsx +50 -0
  27. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit.jsx +1 -1
  28. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View.jsx +1 -1
  29. package/src/components/ItaliaTheme/View/Commons/SideMenu.jsx +2 -1
  30. package/src/components/ItaliaTheme/View/Commons/SideMenuByTitles.jsx +16 -8
  31. package/src/components/ItaliaTheme/index.js +5 -0
  32. package/src/components/ItaliaTheme/manage/Widgets/BlocksViewWidget.jsx +7 -0
  33. package/src/components/ItaliaTheme/manage/Widgets/CTFieldsWidget.jsx +84 -0
  34. package/src/components/ItaliaTheme/manage/Widgets/CTTitleColumnWidget.jsx +22 -0
  35. package/src/components/ItaliaTheme/manage/Widgets/DataGridWidget.jsx +26 -0
  36. package/src/components/ItaliaTheme/manage/Widgets/PDCViewWidget.jsx +21 -0
  37. package/src/config/Blocks/ListingOptions/index.js +1 -0
  38. package/src/config/Blocks/ListingOptions/tableTemplate.js +105 -0
  39. package/src/config/Blocks/listingVariations.js +18 -0
  40. package/src/config/Slate/Link/deserializer.js +5 -1
  41. package/src/config/Widgets/widgets.js +24 -1
  42. package/src/customizations/volto/helpers/Html/Html.jsx +28 -14
  43. package/src/helpers/getWidgetView.js +112 -0
  44. package/src/helpers/index.js +1 -0
  45. package/src/reducers/ctSchema.js +80 -0
  46. package/src/reducers/index.js +2 -0
  47. package/src/theme/ItaliaTheme/Blocks/_completeBlockLinkstemplate.scss +5 -8
  48. package/src/theme/ItaliaTheme/Blocks/_listing.scss +18 -0
  49. package/src/theme/ItaliaTheme/Blocks/_smallblockLinkstemplate.scss +1 -0
  50. package/src/theme/ItaliaTheme/Blocks/_tableTemplate.scss +46 -0
  51. package/src/theme/ItaliaTheme/Components/_card.scss +1 -1
  52. package/src/theme/site.scss +1 -0
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## [12.3.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.3.0...v12.3.1) (2025-08-08)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **a11y:** fixed titles and images attributes ([#973](https://github.com/RedTurtle/design-comuni-plone-theme/issues/973)) ([bd4cdd6](https://github.com/RedTurtle/design-comuni-plone-theme/commit/bd4cdd6bc4b417d1f0f1f6848e08ba346e0e4240))
9
+ * added state to close the date picker modal after endDate loses focus (Tab exit) ([#981](https://github.com/RedTurtle/design-comuni-plone-theme/issues/981)) ([9329f0e](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9329f0e0ecf8b2588e2b44aecd81f541b3333df4))
10
+ * contentHasImage function + showImage conditions ([#985](https://github.com/RedTurtle/design-comuni-plone-theme/issues/985)) ([855779b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/855779bfdae49d87c87842a5632ef067d471c6f2))
11
+ * image in template "Blocco link completo" ([#971](https://github.com/RedTurtle/design-comuni-plone-theme/issues/971)) ([3622357](https://github.com/RedTurtle/design-comuni-plone-theme/commit/3622357abdb17821cad69a17b7110b28db34ce2d))
12
+ * improved link visibility on images within listing blocks ([#978](https://github.com/RedTurtle/design-comuni-plone-theme/issues/978)) ([2beaedc](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2beaedce9c176f81cc399fb938835192b1aa90c9))
13
+ * slate link deserializer convert <a> without href attribute into simple text ([#982](https://github.com/RedTurtle/design-comuni-plone-theme/issues/982)) ([f7acb30](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f7acb30b3513ff5e4c3dbbb16ba924eb2ef486c4))
14
+
15
+
16
+ ### Documentation
17
+
18
+ * updated publiccode and release log ([598e3e2](https://github.com/RedTurtle/design-comuni-plone-theme/commit/598e3e281838d3bd5124009ffbde811783281dc0))
19
+
20
+ ## [12.3.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.2.3...v12.3.0) (2025-07-31)
21
+
22
+
23
+ ### Features
24
+
25
+ * new listing and search variation - table ([#975](https://github.com/RedTurtle/design-comuni-plone-theme/issues/975)) ([79aca4a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/79aca4adad850851e9359143d87fd44bf6499395))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **a11y:** avoided tabbing listing image and reading the item title twice ([#972](https://github.com/RedTurtle/design-comuni-plone-theme/issues/972)) ([0c74ac1](https://github.com/RedTurtle/design-comuni-plone-theme/commit/0c74ac16006e8b742b900265377a1614b0e6480f))
31
+ * **a11y:** fixed image focus of smallBlockLinkTemplate ([#974](https://github.com/RedTurtle/design-comuni-plone-theme/issues/974)) ([d27bcad](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d27bcad7b123c2920bffa6e2591a317243c84897))
32
+ * locales ([ac069ed](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ac069eda31301cb4622a46968df33ecebd6bc4fe))
33
+ * progressbar a11y ([#966](https://github.com/RedTurtle/design-comuni-plone-theme/issues/966)) ([c5be555](https://github.com/RedTurtle/design-comuni-plone-theme/commit/c5be55506c6d0f787d29d5d0a166a2348f1516de))
34
+ * sync HTML.jsx customization (lang in html tag) ([#968](https://github.com/RedTurtle/design-comuni-plone-theme/issues/968)) ([d0f09ac](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d0f09acd22fb9ca3021b2eedeb7ed62e2011f399))
35
+
36
+
37
+ ### Maintenance
38
+
39
+ * updated i18n ([b307141](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b30714137c408a61f996361528e3a2e7094f6101))
40
+
41
+
42
+ ### Documentation
43
+
44
+ * updated publiccode and release log ([f3f8457](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f3f845751f47db45aa8a2e8143cb9d393c0dffd5))
45
+
3
46
  ## [12.2.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v12.2.2...v12.2.3) (2025-07-17)
4
47
 
5
48
 
package/RELEASE.md CHANGED
@@ -41,6 +41,28 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 12.3.1 (08/08/2025)
45
+
46
+ ### Fix
47
+
48
+ - Migliorata l'accessibilità rimuovendo la visibilità delle immagini di presentazione nei blocchi elenco.
49
+ - Sistemata la semantica dei titoli nei blocchi elenco migliorando così l'accessibilità della pagina.
50
+ - Sistemata la visualizzazione delle immagini all’interno della card del blocco Link completo quando sono in landscape.
51
+ - Ripristinata la funzionalità per mostrare tutte le immagini del blocco elenco o solo quelle della prima fila, se presenti.
52
+ - Ora il calendario si chiude automaticamente quando si passa al campo successivo dopo aver selezionato la data di fine, nei blocchi di ricerca dove è possibile indicare una data di inizio e fine.
53
+ - Migliorata la visualizzazione dei link sulle immagini nei blocchi elenco, rimosso testo non necessario con tipo e dimensione dei file
54
+
55
+ ## Versione 12.3.0 (31/07/2025)
56
+
57
+ ### Novità
58
+
59
+ - Nuovo tipo di blocco Elenco disponibile: Tabella
60
+
61
+ ### Fix
62
+
63
+ - Migliorata l'accessibilità nel blocco elenco Link solo Immagini, ora il focus si vede in tutte le immagini.
64
+ - Rimossa la possibilità di raggiungere tramite Tab le immagini nei card quando sono link, evitando doppie letture del titolo.
65
+
44
66
  ## Versione 12.2.2 (14/07/2025)
45
67
 
46
68
  ### Fix
@@ -4012,6 +4012,7 @@ msgid "sideMenuIndex"
4012
4012
  msgstr ""
4013
4013
 
4014
4014
  #: components/ItaliaTheme/View/Commons/SideMenu
4015
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4015
4016
  # defaultMessage: Navigazione della pagina
4016
4017
  msgid "sideMenuNavigation"
4017
4018
  msgstr ""
@@ -4244,6 +4245,46 @@ msgstr ""
4244
4245
  msgid "supported_by"
4245
4246
  msgstr ""
4246
4247
 
4248
+ #: config/Blocks/ListingOptions/tableTemplate
4249
+ # defaultMessage: Colore delle righe alternato
4250
+ msgid "table_variation_alternate_rows"
4251
+ msgstr ""
4252
+
4253
+ #: config/Blocks/ListingOptions/tableTemplate
4254
+ # defaultMessage: Colonne della tabella
4255
+ msgid "table_variation_columns"
4256
+ msgstr ""
4257
+
4258
+ #: config/Blocks/ListingOptions/tableTemplate
4259
+ # defaultMessage: Colonna
4260
+ msgid "table_variaton_column"
4261
+ msgstr ""
4262
+
4263
+ #: config/Blocks/ListingOptions/tableTemplate
4264
+ # defaultMessage: Tipo di contenuto
4265
+ msgid "table_variaton_ct"
4266
+ msgstr ""
4267
+
4268
+ #: config/Blocks/ListingOptions/tableTemplate
4269
+ # defaultMessage: Campo
4270
+ msgid "table_variaton_field"
4271
+ msgstr ""
4272
+
4273
+ #: config/Blocks/ListingOptions/tableTemplate
4274
+ # defaultMessage: Titolo
4275
+ msgid "table_variaton_title"
4276
+ msgstr ""
4277
+
4278
+ #: config/Blocks/ListingOptions/tableTemplate
4279
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4280
+ msgid "table_variaton_title_description"
4281
+ msgstr ""
4282
+
4283
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4284
+ # defaultMessage: Titolo
4285
+ msgid "tabletemplate_column_title"
4286
+ msgstr ""
4287
+
4247
4288
  #: components/ItaliaTheme/View/Commons/ContactLink
4248
4289
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4249
4290
  #: helpers/contentHelper
@@ -3997,6 +3997,7 @@ msgid "sideMenuIndex"
3997
3997
  msgstr "Page index"
3998
3998
 
3999
3999
  #: components/ItaliaTheme/View/Commons/SideMenu
4000
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4000
4001
  # defaultMessage: Navigazione della pagina
4001
4002
  msgid "sideMenuNavigation"
4002
4003
  msgstr "Elements of the sidebar menu"
@@ -4229,6 +4230,46 @@ msgstr "Next"
4229
4230
  msgid "supported_by"
4230
4231
  msgstr "Supported by"
4231
4232
 
4233
+ #: config/Blocks/ListingOptions/tableTemplate
4234
+ # defaultMessage: Colore delle righe alternato
4235
+ msgid "table_variation_alternate_rows"
4236
+ msgstr ""
4237
+
4238
+ #: config/Blocks/ListingOptions/tableTemplate
4239
+ # defaultMessage: Colonne della tabella
4240
+ msgid "table_variation_columns"
4241
+ msgstr ""
4242
+
4243
+ #: config/Blocks/ListingOptions/tableTemplate
4244
+ # defaultMessage: Colonna
4245
+ msgid "table_variaton_column"
4246
+ msgstr ""
4247
+
4248
+ #: config/Blocks/ListingOptions/tableTemplate
4249
+ # defaultMessage: Tipo di contenuto
4250
+ msgid "table_variaton_ct"
4251
+ msgstr ""
4252
+
4253
+ #: config/Blocks/ListingOptions/tableTemplate
4254
+ # defaultMessage: Campo
4255
+ msgid "table_variaton_field"
4256
+ msgstr ""
4257
+
4258
+ #: config/Blocks/ListingOptions/tableTemplate
4259
+ # defaultMessage: Titolo
4260
+ msgid "table_variaton_title"
4261
+ msgstr ""
4262
+
4263
+ #: config/Blocks/ListingOptions/tableTemplate
4264
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4265
+ msgid "table_variaton_title_description"
4266
+ msgstr ""
4267
+
4268
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4269
+ # defaultMessage: Titolo
4270
+ msgid "tabletemplate_column_title"
4271
+ msgstr ""
4272
+
4232
4273
  #: components/ItaliaTheme/View/Commons/ContactLink
4233
4274
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4234
4275
  #: helpers/contentHelper
@@ -4006,6 +4006,7 @@ msgid "sideMenuIndex"
4006
4006
  msgstr ""
4007
4007
 
4008
4008
  #: components/ItaliaTheme/View/Commons/SideMenu
4009
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4009
4010
  # defaultMessage: Navigazione della pagina
4010
4011
  msgid "sideMenuNavigation"
4011
4012
  msgstr ""
@@ -4238,6 +4239,46 @@ msgstr ""
4238
4239
  msgid "supported_by"
4239
4240
  msgstr "Con el apoyo de"
4240
4241
 
4242
+ #: config/Blocks/ListingOptions/tableTemplate
4243
+ # defaultMessage: Colore delle righe alternato
4244
+ msgid "table_variation_alternate_rows"
4245
+ msgstr ""
4246
+
4247
+ #: config/Blocks/ListingOptions/tableTemplate
4248
+ # defaultMessage: Colonne della tabella
4249
+ msgid "table_variation_columns"
4250
+ msgstr ""
4251
+
4252
+ #: config/Blocks/ListingOptions/tableTemplate
4253
+ # defaultMessage: Colonna
4254
+ msgid "table_variaton_column"
4255
+ msgstr ""
4256
+
4257
+ #: config/Blocks/ListingOptions/tableTemplate
4258
+ # defaultMessage: Tipo di contenuto
4259
+ msgid "table_variaton_ct"
4260
+ msgstr ""
4261
+
4262
+ #: config/Blocks/ListingOptions/tableTemplate
4263
+ # defaultMessage: Campo
4264
+ msgid "table_variaton_field"
4265
+ msgstr ""
4266
+
4267
+ #: config/Blocks/ListingOptions/tableTemplate
4268
+ # defaultMessage: Titolo
4269
+ msgid "table_variaton_title"
4270
+ msgstr ""
4271
+
4272
+ #: config/Blocks/ListingOptions/tableTemplate
4273
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4274
+ msgid "table_variaton_title_description"
4275
+ msgstr ""
4276
+
4277
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4278
+ # defaultMessage: Titolo
4279
+ msgid "tabletemplate_column_title"
4280
+ msgstr ""
4281
+
4241
4282
  #: components/ItaliaTheme/View/Commons/ContactLink
4242
4283
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4243
4284
  #: helpers/contentHelper
@@ -4014,6 +4014,7 @@ msgid "sideMenuIndex"
4014
4014
  msgstr ""
4015
4015
 
4016
4016
  #: components/ItaliaTheme/View/Commons/SideMenu
4017
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4017
4018
  # defaultMessage: Navigazione della pagina
4018
4019
  msgid "sideMenuNavigation"
4019
4020
  msgstr ""
@@ -4246,6 +4247,46 @@ msgstr ""
4246
4247
  msgid "supported_by"
4247
4248
  msgstr ""
4248
4249
 
4250
+ #: config/Blocks/ListingOptions/tableTemplate
4251
+ # defaultMessage: Colore delle righe alternato
4252
+ msgid "table_variation_alternate_rows"
4253
+ msgstr ""
4254
+
4255
+ #: config/Blocks/ListingOptions/tableTemplate
4256
+ # defaultMessage: Colonne della tabella
4257
+ msgid "table_variation_columns"
4258
+ msgstr ""
4259
+
4260
+ #: config/Blocks/ListingOptions/tableTemplate
4261
+ # defaultMessage: Colonna
4262
+ msgid "table_variaton_column"
4263
+ msgstr ""
4264
+
4265
+ #: config/Blocks/ListingOptions/tableTemplate
4266
+ # defaultMessage: Tipo di contenuto
4267
+ msgid "table_variaton_ct"
4268
+ msgstr ""
4269
+
4270
+ #: config/Blocks/ListingOptions/tableTemplate
4271
+ # defaultMessage: Campo
4272
+ msgid "table_variaton_field"
4273
+ msgstr ""
4274
+
4275
+ #: config/Blocks/ListingOptions/tableTemplate
4276
+ # defaultMessage: Titolo
4277
+ msgid "table_variaton_title"
4278
+ msgstr ""
4279
+
4280
+ #: config/Blocks/ListingOptions/tableTemplate
4281
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4282
+ msgid "table_variaton_title_description"
4283
+ msgstr ""
4284
+
4285
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4286
+ # defaultMessage: Titolo
4287
+ msgid "tabletemplate_column_title"
4288
+ msgstr ""
4289
+
4249
4290
  #: components/ItaliaTheme/View/Commons/ContactLink
4250
4291
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4251
4292
  #: helpers/contentHelper
@@ -3997,6 +3997,7 @@ msgid "sideMenuIndex"
3997
3997
  msgstr ""
3998
3998
 
3999
3999
  #: components/ItaliaTheme/View/Commons/SideMenu
4000
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4000
4001
  # defaultMessage: Navigazione della pagina
4001
4002
  msgid "sideMenuNavigation"
4002
4003
  msgstr ""
@@ -4229,6 +4230,46 @@ msgstr "Successivo"
4229
4230
  msgid "supported_by"
4230
4231
  msgstr "Con il supporto di"
4231
4232
 
4233
+ #: config/Blocks/ListingOptions/tableTemplate
4234
+ # defaultMessage: Colore delle righe alternato
4235
+ msgid "table_variation_alternate_rows"
4236
+ msgstr ""
4237
+
4238
+ #: config/Blocks/ListingOptions/tableTemplate
4239
+ # defaultMessage: Colonne della tabella
4240
+ msgid "table_variation_columns"
4241
+ msgstr ""
4242
+
4243
+ #: config/Blocks/ListingOptions/tableTemplate
4244
+ # defaultMessage: Colonna
4245
+ msgid "table_variaton_column"
4246
+ msgstr ""
4247
+
4248
+ #: config/Blocks/ListingOptions/tableTemplate
4249
+ # defaultMessage: Tipo di contenuto
4250
+ msgid "table_variaton_ct"
4251
+ msgstr ""
4252
+
4253
+ #: config/Blocks/ListingOptions/tableTemplate
4254
+ # defaultMessage: Campo
4255
+ msgid "table_variaton_field"
4256
+ msgstr ""
4257
+
4258
+ #: config/Blocks/ListingOptions/tableTemplate
4259
+ # defaultMessage: Titolo
4260
+ msgid "table_variaton_title"
4261
+ msgstr ""
4262
+
4263
+ #: config/Blocks/ListingOptions/tableTemplate
4264
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4265
+ msgid "table_variaton_title_description"
4266
+ msgstr ""
4267
+
4268
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4269
+ # defaultMessage: Titolo
4270
+ msgid "tabletemplate_column_title"
4271
+ msgstr ""
4272
+
4232
4273
  #: components/ItaliaTheme/View/Commons/ContactLink
4233
4274
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4234
4275
  #: helpers/contentHelper
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2025-04-29T19:12:18.732Z\n"
4
+ "POT-Creation-Date: 2025-07-31T15:01:52.709Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "MIME-Version: 1.0\n"
@@ -3999,6 +3999,7 @@ msgid "sideMenuIndex"
3999
3999
  msgstr ""
4000
4000
 
4001
4001
  #: components/ItaliaTheme/View/Commons/SideMenu
4002
+ #: components/ItaliaTheme/View/Commons/SideMenuByTitles
4002
4003
  # defaultMessage: Navigazione della pagina
4003
4004
  msgid "sideMenuNavigation"
4004
4005
  msgstr ""
@@ -4231,6 +4232,46 @@ msgstr ""
4231
4232
  msgid "supported_by"
4232
4233
  msgstr ""
4233
4234
 
4235
+ #: config/Blocks/ListingOptions/tableTemplate
4236
+ # defaultMessage: Colore delle righe alternato
4237
+ msgid "table_variation_alternate_rows"
4238
+ msgstr ""
4239
+
4240
+ #: config/Blocks/ListingOptions/tableTemplate
4241
+ # defaultMessage: Colonne della tabella
4242
+ msgid "table_variation_columns"
4243
+ msgstr ""
4244
+
4245
+ #: config/Blocks/ListingOptions/tableTemplate
4246
+ # defaultMessage: Colonna
4247
+ msgid "table_variaton_column"
4248
+ msgstr ""
4249
+
4250
+ #: config/Blocks/ListingOptions/tableTemplate
4251
+ # defaultMessage: Tipo di contenuto
4252
+ msgid "table_variaton_ct"
4253
+ msgstr ""
4254
+
4255
+ #: config/Blocks/ListingOptions/tableTemplate
4256
+ # defaultMessage: Campo
4257
+ msgid "table_variaton_field"
4258
+ msgstr ""
4259
+
4260
+ #: config/Blocks/ListingOptions/tableTemplate
4261
+ # defaultMessage: Titolo
4262
+ msgid "table_variaton_title"
4263
+ msgstr ""
4264
+
4265
+ #: config/Blocks/ListingOptions/tableTemplate
4266
+ # defaultMessage: Titolo della colonna. Se vuoi, puoi modificare il titolo di default.
4267
+ msgid "table_variaton_title_description"
4268
+ msgstr ""
4269
+
4270
+ #: components/ItaliaTheme/Blocks/Listing/TableTemplate
4271
+ # defaultMessage: Titolo
4272
+ msgid "tabletemplate_column_title"
4273
+ msgstr ""
4274
+
4234
4275
  #: components/ItaliaTheme/View/Commons/ContactLink
4235
4276
  #: components/ItaliaTheme/View/PuntoDiContattoView/PuntoDiContattoView
4236
4277
  #: helpers/contentHelper
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.2.3",
5
+ "version": "12.3.1",
6
6
  "main": "src/index.js",
7
7
  "repository": {
8
8
  "type": "git",
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-07-17'
230
+ releaseDate: '2025-08-08'
231
231
  softwareType: standalone/web
232
- softwareVersion: 12.2.3
232
+ softwareVersion: 12.3.1
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -0,0 +1,13 @@
1
+ export const GET_CT_SCHEMA = 'GET_CT_SCHEMA';
2
+
3
+ export function getCTSchema(type, url) {
4
+ url = typeof url !== 'undefined' ? url : '';
5
+ return {
6
+ type: GET_CT_SCHEMA,
7
+ subrequest: type,
8
+ request: {
9
+ op: 'get',
10
+ path: `${url}/@types/${type}`,
11
+ },
12
+ };
13
+ }
@@ -39,6 +39,7 @@ import {
39
39
  getSearchBandiFilters,
40
40
  GET_SEARCH_BANDI_FILTERS,
41
41
  } from './getSearchBandiFilters';
42
+ import { getCTSchema, GET_CT_SCHEMA } from './getCTSchema';
42
43
 
43
44
  export {
44
45
  getSearchFilters,
@@ -62,4 +63,6 @@ export {
62
63
  getSearchBandiFilters,
63
64
  GET_SEARCH_BANDI_FILTERS,
64
65
  resetQuerystringResults,
66
+ getCTSchema,
67
+ GET_CT_SCHEMA,
65
68
  };
@@ -1,4 +1,4 @@
1
- import React, { useState, useEffect } from 'react';
1
+ import React, { useState, useEffect, useRef } from 'react';
2
2
  import { useIntl, defineMessages } from 'react-intl';
3
3
  import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme';
4
4
 
@@ -226,6 +226,31 @@ const DateFilter = (props) => {
226
226
  }
227
227
  }, []);
228
228
 
229
+ const endDateInputRef = useRef(null);
230
+
231
+ useEffect(() => {
232
+ const interval = setInterval(() => {
233
+ const endDateInput = document.querySelector(
234
+ `#end-date-filter-${blockID}`,
235
+ );
236
+ if (endDateInput && !endDateInputRef.current) {
237
+ endDateInputRef.current = endDateInput;
238
+ endDateInput.addEventListener('blur', handleEndDateBlur);
239
+ }
240
+ }, 100);
241
+
242
+ return () => {
243
+ clearInterval(interval);
244
+ if (endDateInputRef.current) {
245
+ endDateInputRef.current.removeEventListener('blur', handleEndDateBlur);
246
+ }
247
+ };
248
+ }, []);
249
+
250
+ const handleEndDateBlur = () => {
251
+ setFocusedDateInput(null);
252
+ };
253
+
229
254
  return (
230
255
  <div className="me-lg-3 my-2 my-lg-1 filter-wrapper date-filter">
231
256
  <DateRangePicker
@@ -264,7 +289,7 @@ const DateFilter = (props) => {
264
289
  customCloseIcon={
265
290
  <Icon
266
291
  icon="it-close"
267
- color="white"
292
+ color="black"
268
293
  title={intl.formatMessage(messages.clearDates)}
269
294
  />
270
295
  }
@@ -92,7 +92,7 @@ const BandiInEvidenceTemplate = ({
92
92
  <Col lg={4} sm={6} xs={12} key={index} className="pb-3">
93
93
  <Card key={index} className="listing-item card-bg mt-2">
94
94
  <CardBody>
95
- <CardTitle tag="h3" className="title">
95
+ <CardTitle tag={title ? 'h3' : 'h2'} className="title">
96
96
  <UniversalLink
97
97
  className="bando-title"
98
98
  item={!isEditMode ? item : null}
@@ -51,6 +51,7 @@ const CardWithImageDefault = (props) => {
51
51
  natural_image_size = false,
52
52
  id_lighthouse,
53
53
  rrule,
54
+ title, // title of entire block
54
55
  } = props;
55
56
 
56
57
  const imagesToShow = set_four_columns ? 4 : 3;
@@ -62,10 +63,9 @@ const CardWithImageDefault = (props) => {
62
63
  : getEventRecurrenceMore(item, isEditMode);
63
64
  const listingText = show_description ? <ListingText item={item} /> : null;
64
65
 
65
- const showImage = contentHasImage(
66
- item,
67
- index < imagesToShow || always_show_image,
68
- );
66
+ const showImage =
67
+ contentHasImage(item) && (index < imagesToShow || always_show_image);
68
+
69
69
  const category = getCategory(item, show_type, show_section, props);
70
70
  const topics = show_topics ? item.tassonomia_argomenti : null;
71
71
 
@@ -124,10 +124,11 @@ const CardWithImageDefault = (props) => {
124
124
  </CardCategory>
125
125
  )}
126
126
  <CardTitle
127
- tag="h3"
128
- className={`${
129
- isEventAppointment ? 'rassegna-appointment-title' : ''
130
- }`}
127
+ tag={title ? 'h3' : 'h2'}
128
+ className={cx('', {
129
+ 'rassegna-appointment-title': isEventAppointment,
130
+ h3: !title,
131
+ })}
131
132
  >
132
133
  <UniversalLink
133
134
  item={!isEditMode ? item : null}
@@ -45,6 +45,8 @@ const CardWithSlideUpTextTemplate = (props) => {
45
45
  rrule,
46
46
  } = props;
47
47
 
48
+ const TitleTag = title ? 'h3' : 'h2';
49
+
48
50
  return (
49
51
  <div className="card-slide-text-template">
50
52
  <Container className="px-4 mt-3">
@@ -62,7 +64,7 @@ const CardWithSlideUpTextTemplate = (props) => {
62
64
  const date = hide_dates
63
65
  ? null
64
66
  : getCalendarDate(item, rrule.rrulestr);
65
- const title = item?.title || '';
67
+ const itemTitle = item?.title || '';
66
68
 
67
69
  const BlockExtraTags = getComponentWithFallback({
68
70
  name: 'BlockExtraTags',
@@ -95,14 +97,15 @@ const CardWithSlideUpTextTemplate = (props) => {
95
97
  'auto-margin-link': !category && !date,
96
98
  })}
97
99
  >
98
- <h3
100
+ <TitleTag
99
101
  className={cx('title', {
100
- ellipsis: title.length > 50,
102
+ h3: !title,
103
+ ellipsis: itemTitle.length > 50,
101
104
  })}
102
- title={title.length > 50 ? title : undefined}
105
+ title={itemTitle.length > 50 ? itemTitle : undefined}
103
106
  >
104
- {title.substring(0, 50)}
105
- </h3>
107
+ {itemTitle.substring(0, 50)}
108
+ </TitleTag>
106
109
  </UniversalLink>
107
110
  <div className="box-slide-up">
108
111
  {show_description && item.description && (
@@ -8,7 +8,7 @@ const ListingImageWrapper = ({ children, item, noWrapLink }) => {
8
8
  return noWrapLink ? (
9
9
  children
10
10
  ) : (
11
- <UniversalLink item={item} className="img-wrapper">
11
+ <UniversalLink item={item} className="img-wrapper" tabIndex="-1">
12
12
  {children}
13
13
  </UniversalLink>
14
14
  );
@@ -32,7 +32,6 @@ const ListingImage = ({
32
32
  src={DefaultImageSVG}
33
33
  alt=""
34
34
  sizes={sizes}
35
- aria-hidden={true}
36
35
  role="presentation"
37
36
  className="listing-image responsive"
38
37
  style={{
@@ -55,9 +54,9 @@ const ListingImage = ({
55
54
 
56
55
  let commonImageProps = {
57
56
  item,
58
- 'aria-hidden': imageProps.alt || item.title ? false : true,
57
+ 'aria-hidden': imageProps.alt || imageCaption ? '' : true,
59
58
  alt: imageProps.alt ?? imageCaption ?? '',
60
- role: imageProps.alt || item.title ? '' : 'presentation',
59
+ role: imageProps.alt || imageCaption ? '' : 'presentation',
61
60
  className,
62
61
  loading,
63
62
  responsive,
@@ -92,7 +92,12 @@ const CompleteBlockLinksTemplate = (props) => {
92
92
  )}
93
93
  <div>
94
94
  <CardBody>
95
- <CardTitle tag="h3" className="text-secondary">
95
+ <CardTitle
96
+ tag={title ? 'h3' : 'h2'}
97
+ className={cx('text-secondary', {
98
+ h3: !title,
99
+ })}
100
+ >
96
101
  {item.title}
97
102
  {item['@type'] === 'Link' &&
98
103
  !isInternalURL(
@@ -130,10 +130,11 @@ const InEvidenceTemplate = (props) => {
130
130
  </CardCategory>
131
131
  )}
132
132
  <CardTitle
133
- tag="h3"
134
- className={`${
135
- isEventAppointment ? 'rassegna-appointment-title' : ''
136
- }`}
133
+ tag={title ? 'h3' : 'h2'}
134
+ className={cx('', {
135
+ 'rassegna-appointment-title': isEventAppointment,
136
+ h3: !title,
137
+ })}
137
138
  >
138
139
  <UniversalLink
139
140
  item={!isEditMode ? item : null}