io-sanita-theme 2.31.2 → 2.32.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.
Files changed (173) hide show
  1. package/.eslintrc +10 -1
  2. package/.github/workflows/lint.yml +34 -0
  3. package/CHANGELOG.md +28 -0
  4. package/Makefile +8 -8
  5. package/RELEASE.md +12 -0
  6. package/locales/de/LC_MESSAGES/volto.po +30 -5
  7. package/locales/en/LC_MESSAGES/volto.po +30 -5
  8. package/locales/es/LC_MESSAGES/volto.po +30 -5
  9. package/locales/fr/LC_MESSAGES/volto.po +30 -5
  10. package/locales/it/LC_MESSAGES/volto.po +30 -5
  11. package/locales/volto.pot +31 -6
  12. package/package.json +22 -3
  13. package/razzle.extend.js +3 -3
  14. package/src/actions/getSearchBandiFilters.js +1 -1
  15. package/src/components/Blocks/Accordion/Schema.js +0 -3
  16. package/src/components/Blocks/Accordion/accordion_edit.scss +1 -1
  17. package/src/components/Blocks/Accordion/util.js +0 -1
  18. package/src/components/Blocks/Accordion/view.scss +2 -2
  19. package/src/components/Blocks/Alert/alert.scss +7 -7
  20. package/src/components/Blocks/CTA/ctaBlock.scss +6 -5
  21. package/src/components/Blocks/CTA/schema.js +0 -1
  22. package/src/components/Blocks/Contacts/contacts.scss +3 -4
  23. package/src/components/Blocks/Contacts/schema.js +1 -2
  24. package/src/components/Blocks/Hero/hero.scss +1 -1
  25. package/src/components/Blocks/Icons/icons.scss +1 -1
  26. package/src/components/Blocks/Icons/schema.js +1 -2
  27. package/src/components/Blocks/Listing/CardWithSlideUpText/cardWithSlideUpText.scss +2 -3
  28. package/src/components/Blocks/Listing/Carousel/carouselTemplate.scss +1 -1
  29. package/src/components/Blocks/Listing/CompleteBlockLinks/completeBlockLinksTemplate.scss +1 -1
  30. package/src/components/Blocks/Listing/Skeletons/AttachmentCardTemplateSkeleton.jsx +12 -12
  31. package/src/components/Blocks/Listing/Skeletons/HighlightedContentTemplateSkeleton.jsx +9 -1
  32. package/src/components/Blocks/Listing/Table/table-templates.scss +1 -1
  33. package/src/components/Blocks/Listing/schema.js +0 -14
  34. package/src/components/Blocks/SearchFarmacia/search-farmacia.scss +61 -61
  35. package/src/components/Blocks/SearchMap/Body.jsx +127 -0
  36. package/src/components/Blocks/SearchMap/schema.js +19 -2
  37. package/src/components/Blocks/SearchMap/search-map.scss +2 -1
  38. package/src/components/Cards/CardContatti/cardContatti.scss +2 -2
  39. package/src/components/Cards/CardFeatured/cardFeatured.scss +3 -3
  40. package/src/components/Cards/CardFile/CardFile.jsx +5 -1
  41. package/src/components/Cards/CardFile/cardFile.scss +1 -1
  42. package/src/components/Cards/CardGhost/cardGhost.scss +1 -1
  43. package/src/components/Cards/CardGuide/cardGuide.scss +2 -2
  44. package/src/components/Cards/CardTaxonomy/CardTaxonomy.jsx +3 -1
  45. package/src/components/Cards/common/CardCategoryBottom.jsx +7 -1
  46. package/src/components/EmbeddedVideo/_embeddedVideo.scss +52 -52
  47. package/src/components/OverlayLoading/overlayLoading.scss +3 -3
  48. package/src/components/Search/common/quickSearch.scss +1 -1
  49. package/src/components/Search/search.scss +3 -3
  50. package/src/components/Slider/buttonPlayPause.scss +1 -1
  51. package/src/components/View/ComeFarePer/ComeFarePerDescrizione.jsx +1 -3
  52. package/src/components/View/ComeFarePer/ComeFarePerDocumenti.jsx +5 -2
  53. package/src/components/View/ComeFarePer/Steps/helpers.js +3 -1
  54. package/src/components/View/ComeFarePer/Steps/steps.scss +12 -12
  55. package/src/components/View/Documento/DocumentoAutori.jsx +13 -13
  56. package/src/components/View/Documento/DocumentoCosE.jsx +2 -3
  57. package/src/components/View/Documento/DocumentoResponsabile.jsx +14 -14
  58. package/src/components/View/Documento/DocumentoServiziProcedure.jsx +8 -8
  59. package/src/components/View/Documento/index.js +28 -35
  60. package/src/components/View/Evento/EventoAppuntamenti.jsx +1 -1
  61. package/src/components/View/Evento/EventoCosE.jsx +1 -2
  62. package/src/components/View/Evento/EventoCosti.jsx +1 -3
  63. package/src/components/View/Evento/EventoOrganizzatoDa.jsx +1 -1
  64. package/src/components/View/Evento/EventoPartecipanti.jsx +1 -3
  65. package/src/components/View/Evento/index.js +91 -110
  66. package/src/components/View/Modulo/ModuloView.jsx +1 -1
  67. package/src/components/View/NewsItem/NewsItemACuraDi.jsx +0 -2
  68. package/src/components/View/NewsItem/NewsItemNotizieCorrelate.jsx +5 -2
  69. package/src/components/View/NewsItem/NewsItemPersone.jsx +0 -2
  70. package/src/components/View/NewsItem/NewsItemServiziEPrestazioni.jsx +5 -2
  71. package/src/components/View/NewsItem/NewsItemStrutture.jsx +4 -1
  72. package/src/components/View/NewsItem/NewsItemUlterioriInformazioni.jsx +2 -5
  73. package/src/components/View/Persona/PersonaContatti.jsx +27 -29
  74. package/src/components/View/Persona/PersonaGalleria.jsx +1 -1
  75. package/src/components/View/PuntoDiContatto/index.js +12 -15
  76. package/src/components/View/Servizio/ServizioCosE.jsx +2 -3
  77. package/src/components/View/Servizio/ServizioDove.jsx +5 -1
  78. package/src/components/View/Servizio/ServizioProcedureCollegate.jsx +2 -3
  79. package/src/components/View/Servizio/ServizioResponsabile.jsx +14 -14
  80. package/src/components/View/Servizio/ServizioServiziCorrelati.jsx +5 -2
  81. package/src/components/View/Servizio/ServizioUOResponsabile.jsx +18 -14
  82. package/src/components/View/Servizio/index.js +94 -113
  83. package/src/components/View/Struttura/StrutturaContatti.jsx +1 -1
  84. package/src/components/View/Struttura/StrutturaDateOrari.jsx +1 -5
  85. package/src/components/View/Struttura/StrutturaResponsabile.jsx +1 -1
  86. package/src/components/View/Struttura/index.js +89 -107
  87. package/src/components/View/UOView/UODateOrari.jsx +2 -6
  88. package/src/components/View/UOView/UODocumenti.jsx +30 -27
  89. package/src/components/View/UOView/UOPersonale.jsx +12 -12
  90. package/src/components/View/UOView/UOResponsabile.jsx +19 -16
  91. package/src/components/View/Widgets/ParliamoDiWidgetView.jsx +3 -1
  92. package/src/components/View/commons/Gallery/gallery.scss +1 -1
  93. package/src/components/View/commons/Metadata/metadata.scss +2 -2
  94. package/src/components/View/commons/PageHeader/PageHeaderDates.jsx +4 -4
  95. package/src/components/View/commons/PageHeader/PageHeaderNewsItem.jsx +5 -2
  96. package/src/components/View/commons/Placeholder.jsx +6 -2
  97. package/src/components/View/commons/RelatedItemInEvidence/ItemInEvidence.jsx +1 -1
  98. package/src/components/View/commons/SideMenu/_sideMenu.scss +1 -1
  99. package/src/components/View/commons/TassonomiaUtenti.jsx +3 -0
  100. package/src/components/View/commons/Topics.jsx +3 -1
  101. package/src/components/Widgets/SearchBar/_searchBar.scss +1 -1
  102. package/src/components/Widgets/SearchCheckbox/searchCheckbox.scss +2 -2
  103. package/src/components/Widgets/SearchFilters/SelectFilter.jsx +12 -3
  104. package/src/components/Widgets/SelectInput/select-styles.css +2 -2
  105. package/src/components/index.js +0 -1
  106. package/src/components/layout/Footer/SubsiteFooter/subsite-footer.scss +1 -1
  107. package/src/components/layout/Header/HeaderContacts/headerContacts.scss +7 -7
  108. package/src/components/manage/Widgets/IconWidget/iconWidget.scss +4 -4
  109. package/src/components/slick-carousel/slick/slick-theme.css +9 -10
  110. package/src/config/blocks/index.js +1 -5
  111. package/src/config/blocks/listing/ListingOptions/defaultOptions.js +1 -0
  112. package/src/config/blocks/listing/listingVariations.js +1 -2
  113. package/src/config/ioSanitaConfig.js +0 -3
  114. package/src/config/validators.ts +0 -1
  115. package/src/customizations/@plone/volto-slate/blocks/Table/TableBlockEdit.jsx +548 -0
  116. package/src/customizations/@plone/volto-slate/blocks/Table/TableBlockView.jsx +4 -4
  117. package/src/customizations/volto/components/manage/Blocks/Search/SearchBlockView.jsx +1 -1
  118. package/src/customizations/volto/components/manage/Blocks/Search/components/CheckboxFacet.jsx +2 -2
  119. package/src/customizations/volto/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +5 -4
  120. package/src/customizations/volto/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +6 -5
  121. package/src/customizations/volto/components/manage/Blocks/Search/utils.js +0 -1
  122. package/src/customizations/volto/components/theme/Error/Error.jsx +2 -2
  123. package/src/customizations/volto/components/theme/Header/Header.jsx +5 -4
  124. package/src/customizations/volto/components/theme/Navigation/Navigation.jsx +3 -5
  125. package/src/customizations/volto/components/theme/SkipLinks/SkipLinks.jsx +1 -1
  126. package/src/customizations/volto/components/theme/View/FileView.jsx +3 -1
  127. package/src/helpers/Blocks/blocks_config.js +2 -2
  128. package/src/helpers/Blocks/focus.js +3 -1
  129. package/src/helpers/ClientPagination/clientPagination.js +3 -2
  130. package/src/helpers/FormValidation/FormValidation.js +62 -26
  131. package/src/helpers/aggregation.js +1 -4
  132. package/src/helpers/index.js +0 -2
  133. package/src/helpers/search.js +2 -2
  134. package/src/stories/Cards/mock.js +1 -1
  135. package/src/theme/_cms-ui.scss +50 -13
  136. package/src/theme/bootstrap-italia/custom/_badge.scss +3 -3
  137. package/src/theme/bootstrap-italia/custom/_callout.scss +14 -3
  138. package/src/theme/bootstrap-italia/custom/_card.scss +6 -6
  139. package/src/theme/bootstrap-italia/custom/_chips.scss +3 -3
  140. package/src/theme/bootstrap-italia/custom/_focus.scss +2 -3
  141. package/src/theme/bootstrap-italia/custom/_footer.scss +1 -1
  142. package/src/theme/bootstrap-italia/custom/_grid.scss +3 -3
  143. package/src/theme/bootstrap-italia/custom/_headercenter.scss +1 -1
  144. package/src/theme/bootstrap-italia/custom/_megamenu.scss +3 -3
  145. package/src/theme/bootstrap-italia/custom/_navscroll.scss +13 -13
  146. package/src/theme/cms-ui/_subblocks-edit.scss +8 -8
  147. package/src/theme/io-sanita/_chip.scss +2 -2
  148. package/src/theme/io-sanita/_home.scss +2 -2
  149. package/src/theme/io-sanita/_login.scss +37 -37
  150. package/src/theme/io-sanita/_main.scss +3 -3
  151. package/src/theme/io-sanita/_point-list.scss +3 -3
  152. package/src/theme/io-sanita/_tables.scss +10 -11
  153. package/src/theme/io-sanita/addons/_volto-data-grid-widget.scss +14 -15
  154. package/src/theme/io-sanita/addons/_volto-form-block.scss +2 -2
  155. package/src/theme/io-sanita/addons/_volto-gdpr-privacy.scss +1 -1
  156. package/src/theme/io-sanita/addons/_volto-venue.scss +1 -1
  157. package/src/theme/io-sanita/addons/_volto_repeatable-content-block.scss +44 -46
  158. package/src/theme/io-sanita/components/_mapPinDirections.scss +1 -1
  159. package/src/theme/io-sanita/components/_relatedItemInEvidence.scss +2 -2
  160. package/src/theme/io-sanita/components/blocks/_common.scss +1 -1
  161. package/src/theme/io-sanita/components/blocks/_search.scss +1 -1
  162. package/src/theme/io-sanita/components/blocks/_skeleton.scss +3 -3
  163. package/src/theme/io-sanita/components/blocks/_video.scss +1 -1
  164. package/src/theme/io-sanita/components/layout/_footer.scss +1 -1
  165. package/src/theme/io-sanita/components/layout/_mobileMenu.scss +1 -1
  166. package/src/theme/io-sanita/components/layout/_stickyHeader.scss +1 -1
  167. package/src/theme/io-sanita/components/layout/_tertiaryMenu.scss +1 -1
  168. package/src/theme/io-sanita/components/view/_personaview.scss +11 -6
  169. package/src/theme/io-sanita/components/view/commons/_pageHeader.scss +1 -1
  170. package/src/theme/io-sanita/print/_all_pages.scss +2 -2
  171. package/src/theme/io-sanita/subsites/bootstrap-italia/_brand-text.scss +9 -9
  172. package/src/theme/io-sanita/subsites/bootstrap-italia/custom/_header.scss +1 -1
  173. package/src/theme/io-sanita/subsites/io-sanita-theme/Views/_common.scss +2 -2
package/.eslintrc CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": ["react-app", "prettier", "plugin:jsx-a11y/recommended"],
3
- "plugins": ["prettier", "react-hooks", "jsx-a11y"],
3
+ "plugins": ["prettier", "jsx-a11y"],
4
4
  "env": {
5
5
  "es6": true,
6
6
  "browser": true,
@@ -30,6 +30,15 @@
30
30
  "react/react-in-jsx-scope": "off",
31
31
  "jsx-a11y/label-has-associated-control": "off"
32
32
  },
33
+ "overrides": [
34
+ {
35
+ "files": ["**/*.ts", "**/*.tsx"],
36
+ "parser": "@typescript-eslint/parser",
37
+ "parserOptions": {
38
+ "sourceType": "module"
39
+ }
40
+ }
41
+ ],
33
42
  "globals": {
34
43
  "root": true,
35
44
  "__DEVELOPMENT__": true,
@@ -0,0 +1,34 @@
1
+ name: Lint
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ lint:
14
+ name: Lint
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - uses: actions/setup-node@v4
20
+ with:
21
+ node-version: "20"
22
+ cache: "yarn"
23
+
24
+ - name: Install dependencies
25
+ run: yarn install --frozen-lockfile
26
+
27
+ - name: ESLint
28
+ run: yarn lint .
29
+
30
+ - name: Prettier
31
+ run: yarn prettier
32
+
33
+ - name: Stylelint
34
+ run: yarn stylelint
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.32.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.31.3...2.32.0) (2026-06-12)
4
+
5
+ ### Features
6
+
7
+ * aggiunta ricertca per comune/distretto su blocco searchmap ([#152](https://github.com/RedTurtle/io-sanita-theme/issues/152)) ([1aff10f](https://github.com/RedTurtle/io-sanita-theme/commit/1aff10f00963987a00a4acd6aafb754e50d72108))
8
+
9
+ ### Bug Fixes
10
+
11
+ * bottoni categorie searchmap ([#151](https://github.com/RedTurtle/io-sanita-theme/issues/151)) ([058aa59](https://github.com/RedTurtle/io-sanita-theme/commit/058aa59acb0f5d721d653458e38be43f0adf0653))
12
+ * prevent the submit of the form when adding a row o column from the toolbar ([#153](https://github.com/RedTurtle/io-sanita-theme/issues/153)) ([cf723b2](https://github.com/RedTurtle/io-sanita-theme/commit/cf723b2dfd0974d470b40ab54ce3f683f7a558a0))
13
+
14
+ ### Maintenance
15
+
16
+ * prettier ([11b8f22](https://github.com/RedTurtle/io-sanita-theme/commit/11b8f222e8c6d4eb5f93d52069ec3ff2517970b7))
17
+
18
+ ## [2.31.3](https://github.com/RedTurtle/io-sanita-theme/compare/2.31.2...2.31.3) (2026-06-11)
19
+
20
+ ### Bug Fixes
21
+
22
+ * controllo validazione blocco testo risoltoi ([#150](https://github.com/RedTurtle/io-sanita-theme/issues/150)) ([8b63e2e](https://github.com/RedTurtle/io-sanita-theme/commit/8b63e2e34a0de6c0873169ff9dd806bd6ba088b2))
23
+ * table edit buttons position in text editor ([#147](https://github.com/RedTurtle/io-sanita-theme/issues/147)) ([5b32aff](https://github.com/RedTurtle/io-sanita-theme/commit/5b32aff0a843c4d601f1ae134558c8a96c7a8d6c))
24
+
25
+ ### Maintenance
26
+
27
+ * aggiunto linting ([#149](https://github.com/RedTurtle/io-sanita-theme/issues/149)) ([0a2e932](https://github.com/RedTurtle/io-sanita-theme/commit/0a2e93263d0b88016110db0ddf7df8377b98b6c0))
28
+ * locales ([04b9884](https://github.com/RedTurtle/io-sanita-theme/commit/04b9884dd65702be3a04aa908a502f34cb6f12c8))
29
+ * preparing release 2.31.3 ([a06ef20](https://github.com/RedTurtle/io-sanita-theme/commit/a06ef207c99ed39fb2c4c341438aa90c9cbf3afc))
30
+
3
31
  ## [2.31.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.31.1...2.31.2) (2026-05-29)
4
32
 
5
33
  ### Bug Fixes
package/Makefile CHANGED
@@ -89,16 +89,16 @@ i18n: ## Sync i18n
89
89
  yarn i18n
90
90
 
91
91
  .PHONY: format
92
- format: ## Format codebase
93
- ${DEV_COMPOSE} run --rm addon-dev lint:fix
94
- ${DEV_COMPOSE} run --rm addon-dev prettier:fix
95
- ${DEV_COMPOSE} run --rm addon-dev stylelint:fix
92
+ format: ## Format codebase (auto-fix eslint, prettier, stylelint)
93
+ yarn lint:fix .
94
+ yarn prettier:fix
95
+ yarn stylelint:fix
96
96
 
97
97
  .PHONY: lint
98
- lint: ## Lint Codebase
99
- ${DEV_COMPOSE} run --rm addon-dev lint
100
- ${DEV_COMPOSE} run --rm addon-dev prettier
101
- ${DEV_COMPOSE} run --rm addon-dev stylelint --allow-empty-input
98
+ lint: ## Lint codebase (eslint, prettier, stylelint)
99
+ yarn lint .
100
+ yarn prettier
101
+ yarn stylelint
102
102
 
103
103
  .PHONY: test
104
104
  test: ## Run unit tests
package/RELEASE.md CHANGED
@@ -41,6 +41,18 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 2.32.0 (12/06/2026)
45
+
46
+ ### Migliorie
47
+
48
+ - Aggiunta filtri di ricerca per comune e distretto nel blocco "Cerca strutture".
49
+
50
+ ## Versione 2.31.3 (11/06/2026)
51
+
52
+ ### Fix
53
+
54
+ - Corretta la validazione dei campi a blocchi obbligatori: ora un campo contenente solo blocchi non testuali (es. Immagine, Video) viene riconosciuto come compilato. I blocchi che prevedono testo (Callout, Tabella, HTML) richiedono invece la presenza effettiva di testo: un blocco Callout vuoto non rende il campo compilato. I blocchi senza contenuto (es. Interruzione di pagina) non rendono il campo compilato.
55
+
44
56
  ## Versione 2.31.0 (28/05/2026)
45
57
 
46
58
  ### Novità
@@ -1021,11 +1021,6 @@ msgstr ""
1021
1021
  msgid "alert_willExpire"
1022
1022
  msgstr ""
1023
1023
 
1024
- #. Default: "Allinea il bottone a destra"
1025
- #: components/Blocks/Listing/schema
1026
- msgid "alignButton"
1027
- msgstr ""
1028
-
1029
1024
  #. Default: "Allinea le card al centro"
1030
1025
  #: components/Blocks/Icons/schema
1031
1026
  #: components/Blocks/Icons/Sidebar
@@ -3207,6 +3202,16 @@ msgstr ""
3207
3202
  msgid "search_map_Search path"
3208
3203
  msgstr ""
3209
3204
 
3205
+ #. Default: "Mostra il filtro per comune"
3206
+ #: components/Blocks/SearchMap/schema
3207
+ msgid "search_map_Show city"
3208
+ msgstr ""
3209
+
3210
+ #. Default: "Mostra il filtro per distretto"
3211
+ #: components/Blocks/SearchMap/schema
3212
+ msgid "search_map_Show distretto"
3213
+ msgstr ""
3214
+
3210
3215
  #. Default: "Mostra la barra di ricerca"
3211
3216
  #: components/Blocks/SearchMap/schema
3212
3217
  msgid "search_map_Show search bar"
@@ -3227,6 +3232,16 @@ msgstr ""
3227
3232
  msgid "search_map_ct"
3228
3233
  msgstr ""
3229
3234
 
3235
+ #. Default: "Comune"
3236
+ #: components/Blocks/SearchMap/Body
3237
+ msgid "search_map_label_city"
3238
+ msgstr ""
3239
+
3240
+ #. Default: "Distretto"
3241
+ #: components/Blocks/SearchMap/Body
3242
+ msgid "search_map_label_distretto"
3243
+ msgstr ""
3244
+
3230
3245
  #. Default: "Cerca"
3231
3246
  #: components/Widgets/SearchBar/SearchBar
3232
3247
  msgid "search_map_searchable_text_button"
@@ -3252,6 +3267,16 @@ msgstr ""
3252
3267
  msgid "search_map_title"
3253
3268
  msgstr ""
3254
3269
 
3270
+ #. Default: "Tutti i comuni"
3271
+ #: components/Blocks/SearchMap/Body
3272
+ msgid "search_mapall_cities"
3273
+ msgstr ""
3274
+
3275
+ #. Default: "Tutti i distretti"
3276
+ #: components/Blocks/SearchMap/Body
3277
+ msgid "search_mapall_distretti"
3278
+ msgstr ""
3279
+
3255
3280
  #. Default: "Tutti"
3256
3281
  #: components/Blocks/SearchMap/Body
3257
3282
  msgid "search_mapall_subjects"
@@ -1016,11 +1016,6 @@ msgstr ""
1016
1016
  msgid "alert_willExpire"
1017
1017
  msgstr ""
1018
1018
 
1019
- #. Default: "Allinea il bottone a destra"
1020
- #: components/Blocks/Listing/schema
1021
- msgid "alignButton"
1022
- msgstr ""
1023
-
1024
1019
  #. Default: "Allinea le card al centro"
1025
1020
  #: components/Blocks/Icons/schema
1026
1021
  #: components/Blocks/Icons/Sidebar
@@ -3202,6 +3197,16 @@ msgstr "Users"
3202
3197
  msgid "search_map_Search path"
3203
3198
  msgstr ""
3204
3199
 
3200
+ #. Default: "Mostra il filtro per comune"
3201
+ #: components/Blocks/SearchMap/schema
3202
+ msgid "search_map_Show city"
3203
+ msgstr ""
3204
+
3205
+ #. Default: "Mostra il filtro per distretto"
3206
+ #: components/Blocks/SearchMap/schema
3207
+ msgid "search_map_Show distretto"
3208
+ msgstr ""
3209
+
3205
3210
  #. Default: "Mostra la barra di ricerca"
3206
3211
  #: components/Blocks/SearchMap/schema
3207
3212
  msgid "search_map_Show search bar"
@@ -3222,6 +3227,16 @@ msgstr ""
3222
3227
  msgid "search_map_ct"
3223
3228
  msgstr ""
3224
3229
 
3230
+ #. Default: "Comune"
3231
+ #: components/Blocks/SearchMap/Body
3232
+ msgid "search_map_label_city"
3233
+ msgstr "Municipality"
3234
+
3235
+ #. Default: "Distretto"
3236
+ #: components/Blocks/SearchMap/Body
3237
+ msgid "search_map_label_distretto"
3238
+ msgstr "District"
3239
+
3225
3240
  #. Default: "Cerca"
3226
3241
  #: components/Widgets/SearchBar/SearchBar
3227
3242
  msgid "search_map_searchable_text_button"
@@ -3247,6 +3262,16 @@ msgstr "Search for facilities near you"
3247
3262
  msgid "search_map_title"
3248
3263
  msgstr ""
3249
3264
 
3265
+ #. Default: "Tutti i comuni"
3266
+ #: components/Blocks/SearchMap/Body
3267
+ msgid "search_mapall_cities"
3268
+ msgstr "All municipalities"
3269
+
3270
+ #. Default: "Tutti i distretti"
3271
+ #: components/Blocks/SearchMap/Body
3272
+ msgid "search_mapall_distretti"
3273
+ msgstr "All districts"
3274
+
3250
3275
  #. Default: "Tutti"
3251
3276
  #: components/Blocks/SearchMap/Body
3252
3277
  msgid "search_mapall_subjects"
@@ -1023,11 +1023,6 @@ msgstr ""
1023
1023
  msgid "alert_willExpire"
1024
1024
  msgstr ""
1025
1025
 
1026
- #. Default: "Allinea il bottone a destra"
1027
- #: components/Blocks/Listing/schema
1028
- msgid "alignButton"
1029
- msgstr ""
1030
-
1031
1026
  #. Default: "Allinea le card al centro"
1032
1027
  #: components/Blocks/Icons/schema
1033
1028
  #: components/Blocks/Icons/Sidebar
@@ -3209,6 +3204,16 @@ msgstr ""
3209
3204
  msgid "search_map_Search path"
3210
3205
  msgstr ""
3211
3206
 
3207
+ #. Default: "Mostra il filtro per comune"
3208
+ #: components/Blocks/SearchMap/schema
3209
+ msgid "search_map_Show city"
3210
+ msgstr ""
3211
+
3212
+ #. Default: "Mostra il filtro per distretto"
3213
+ #: components/Blocks/SearchMap/schema
3214
+ msgid "search_map_Show distretto"
3215
+ msgstr ""
3216
+
3212
3217
  #. Default: "Mostra la barra di ricerca"
3213
3218
  #: components/Blocks/SearchMap/schema
3214
3219
  msgid "search_map_Show search bar"
@@ -3229,6 +3234,16 @@ msgstr ""
3229
3234
  msgid "search_map_ct"
3230
3235
  msgstr ""
3231
3236
 
3237
+ #. Default: "Comune"
3238
+ #: components/Blocks/SearchMap/Body
3239
+ msgid "search_map_label_city"
3240
+ msgstr ""
3241
+
3242
+ #. Default: "Distretto"
3243
+ #: components/Blocks/SearchMap/Body
3244
+ msgid "search_map_label_distretto"
3245
+ msgstr ""
3246
+
3232
3247
  #. Default: "Cerca"
3233
3248
  #: components/Widgets/SearchBar/SearchBar
3234
3249
  msgid "search_map_searchable_text_button"
@@ -3254,6 +3269,16 @@ msgstr ""
3254
3269
  msgid "search_map_title"
3255
3270
  msgstr ""
3256
3271
 
3272
+ #. Default: "Tutti i comuni"
3273
+ #: components/Blocks/SearchMap/Body
3274
+ msgid "search_mapall_cities"
3275
+ msgstr ""
3276
+
3277
+ #. Default: "Tutti i distretti"
3278
+ #: components/Blocks/SearchMap/Body
3279
+ msgid "search_mapall_distretti"
3280
+ msgstr ""
3281
+
3257
3282
  #. Default: "Tutti"
3258
3283
  #: components/Blocks/SearchMap/Body
3259
3284
  msgid "search_mapall_subjects"
@@ -1023,11 +1023,6 @@ msgstr ""
1023
1023
  msgid "alert_willExpire"
1024
1024
  msgstr ""
1025
1025
 
1026
- #. Default: "Allinea il bottone a destra"
1027
- #: components/Blocks/Listing/schema
1028
- msgid "alignButton"
1029
- msgstr ""
1030
-
1031
1026
  #. Default: "Allinea le card al centro"
1032
1027
  #: components/Blocks/Icons/schema
1033
1028
  #: components/Blocks/Icons/Sidebar
@@ -3209,6 +3204,16 @@ msgstr ""
3209
3204
  msgid "search_map_Search path"
3210
3205
  msgstr ""
3211
3206
 
3207
+ #. Default: "Mostra il filtro per comune"
3208
+ #: components/Blocks/SearchMap/schema
3209
+ msgid "search_map_Show city"
3210
+ msgstr ""
3211
+
3212
+ #. Default: "Mostra il filtro per distretto"
3213
+ #: components/Blocks/SearchMap/schema
3214
+ msgid "search_map_Show distretto"
3215
+ msgstr ""
3216
+
3212
3217
  #. Default: "Mostra la barra di ricerca"
3213
3218
  #: components/Blocks/SearchMap/schema
3214
3219
  msgid "search_map_Show search bar"
@@ -3229,6 +3234,16 @@ msgstr ""
3229
3234
  msgid "search_map_ct"
3230
3235
  msgstr ""
3231
3236
 
3237
+ #. Default: "Comune"
3238
+ #: components/Blocks/SearchMap/Body
3239
+ msgid "search_map_label_city"
3240
+ msgstr ""
3241
+
3242
+ #. Default: "Distretto"
3243
+ #: components/Blocks/SearchMap/Body
3244
+ msgid "search_map_label_distretto"
3245
+ msgstr ""
3246
+
3232
3247
  #. Default: "Cerca"
3233
3248
  #: components/Widgets/SearchBar/SearchBar
3234
3249
  msgid "search_map_searchable_text_button"
@@ -3254,6 +3269,16 @@ msgstr ""
3254
3269
  msgid "search_map_title"
3255
3270
  msgstr ""
3256
3271
 
3272
+ #. Default: "Tutti i comuni"
3273
+ #: components/Blocks/SearchMap/Body
3274
+ msgid "search_mapall_cities"
3275
+ msgstr ""
3276
+
3277
+ #. Default: "Tutti i distretti"
3278
+ #: components/Blocks/SearchMap/Body
3279
+ msgid "search_mapall_distretti"
3280
+ msgstr ""
3281
+
3257
3282
  #. Default: "Tutti"
3258
3283
  #: components/Blocks/SearchMap/Body
3259
3284
  msgid "search_mapall_subjects"
@@ -1016,11 +1016,6 @@ msgstr ""
1016
1016
  msgid "alert_willExpire"
1017
1017
  msgstr ""
1018
1018
 
1019
- #. Default: "Allinea il bottone a destra"
1020
- #: components/Blocks/Listing/schema
1021
- msgid "alignButton"
1022
- msgstr ""
1023
-
1024
1019
  #. Default: "Allinea le card al centro"
1025
1020
  #: components/Blocks/Icons/schema
1026
1021
  #: components/Blocks/Icons/Sidebar
@@ -3202,6 +3197,16 @@ msgstr ""
3202
3197
  msgid "search_map_Search path"
3203
3198
  msgstr ""
3204
3199
 
3200
+ #. Default: "Mostra il filtro per comune"
3201
+ #: components/Blocks/SearchMap/schema
3202
+ msgid "search_map_Show city"
3203
+ msgstr ""
3204
+
3205
+ #. Default: "Mostra il filtro per distretto"
3206
+ #: components/Blocks/SearchMap/schema
3207
+ msgid "search_map_Show distretto"
3208
+ msgstr ""
3209
+
3205
3210
  #. Default: "Mostra la barra di ricerca"
3206
3211
  #: components/Blocks/SearchMap/schema
3207
3212
  msgid "search_map_Show search bar"
@@ -3222,6 +3227,16 @@ msgstr ""
3222
3227
  msgid "search_map_ct"
3223
3228
  msgstr ""
3224
3229
 
3230
+ #. Default: "Comune"
3231
+ #: components/Blocks/SearchMap/Body
3232
+ msgid "search_map_label_city"
3233
+ msgstr ""
3234
+
3235
+ #. Default: "Distretto"
3236
+ #: components/Blocks/SearchMap/Body
3237
+ msgid "search_map_label_distretto"
3238
+ msgstr ""
3239
+
3225
3240
  #. Default: "Cerca"
3226
3241
  #: components/Widgets/SearchBar/SearchBar
3227
3242
  msgid "search_map_searchable_text_button"
@@ -3247,6 +3262,16 @@ msgstr ""
3247
3262
  msgid "search_map_title"
3248
3263
  msgstr ""
3249
3264
 
3265
+ #. Default: "Tutti i comuni"
3266
+ #: components/Blocks/SearchMap/Body
3267
+ msgid "search_mapall_cities"
3268
+ msgstr ""
3269
+
3270
+ #. Default: "Tutti i distretti"
3271
+ #: components/Blocks/SearchMap/Body
3272
+ msgid "search_mapall_distretti"
3273
+ msgstr ""
3274
+
3250
3275
  #. Default: "Tutti"
3251
3276
  #: components/Blocks/SearchMap/Body
3252
3277
  msgid "search_mapall_subjects"
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: 2026-05-27T13:14:14.832Z\n"
4
+ "POT-Creation-Date: 2026-06-12T14:38:11.948Z\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
  "Content-Type: text/plain; charset=utf-8\n"
@@ -1018,11 +1018,6 @@ msgstr ""
1018
1018
  msgid "alert_willExpire"
1019
1019
  msgstr ""
1020
1020
 
1021
- #. Default: "Allinea il bottone a destra"
1022
- #: components/Blocks/Listing/schema
1023
- msgid "alignButton"
1024
- msgstr ""
1025
-
1026
1021
  #. Default: "Allinea le card al centro"
1027
1022
  #: components/Blocks/Icons/schema
1028
1023
  #: components/Blocks/Icons/Sidebar
@@ -3204,6 +3199,16 @@ msgstr ""
3204
3199
  msgid "search_map_Search path"
3205
3200
  msgstr ""
3206
3201
 
3202
+ #. Default: "Mostra il filtro per comune"
3203
+ #: components/Blocks/SearchMap/schema
3204
+ msgid "search_map_Show city"
3205
+ msgstr ""
3206
+
3207
+ #. Default: "Mostra il filtro per distretto"
3208
+ #: components/Blocks/SearchMap/schema
3209
+ msgid "search_map_Show distretto"
3210
+ msgstr ""
3211
+
3207
3212
  #. Default: "Mostra la barra di ricerca"
3208
3213
  #: components/Blocks/SearchMap/schema
3209
3214
  msgid "search_map_Show search bar"
@@ -3224,6 +3229,16 @@ msgstr ""
3224
3229
  msgid "search_map_ct"
3225
3230
  msgstr ""
3226
3231
 
3232
+ #. Default: "Comune"
3233
+ #: components/Blocks/SearchMap/Body
3234
+ msgid "search_map_label_city"
3235
+ msgstr ""
3236
+
3237
+ #. Default: "Distretto"
3238
+ #: components/Blocks/SearchMap/Body
3239
+ msgid "search_map_label_distretto"
3240
+ msgstr ""
3241
+
3227
3242
  #. Default: "Cerca"
3228
3243
  #: components/Widgets/SearchBar/SearchBar
3229
3244
  msgid "search_map_searchable_text_button"
@@ -3249,6 +3264,16 @@ msgstr ""
3249
3264
  msgid "search_map_title"
3250
3265
  msgstr ""
3251
3266
 
3267
+ #. Default: "Tutti i comuni"
3268
+ #: components/Blocks/SearchMap/Body
3269
+ msgid "search_mapall_cities"
3270
+ msgstr ""
3271
+
3272
+ #. Default: "Tutti i distretti"
3273
+ #: components/Blocks/SearchMap/Body
3274
+ msgid "search_mapall_distretti"
3275
+ msgstr ""
3276
+
3252
3277
  #. Default: "Tutti"
3253
3278
  #: components/Blocks/SearchMap/Body
3254
3279
  msgid "search_mapall_subjects"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "io-sanita-theme",
3
- "version": "2.31.2",
3
+ "version": "2.32.0",
4
4
  "description": "io-sanita-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -40,13 +40,31 @@
40
40
  "@eeacms/volto-taxonomy",
41
41
  "volto-repeatable-content-block"
42
42
  ],
43
+ "prettier": {
44
+ "trailingComma": "all",
45
+ "singleQuote": true,
46
+ "overrides": [
47
+ {
48
+ "files": "*.overrides",
49
+ "options": {
50
+ "parser": "less"
51
+ }
52
+ }
53
+ ]
54
+ },
43
55
  "scripts": {
44
56
  "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
45
57
  "dry-release": "release-it --dry-run",
46
58
  "release": "release-it",
47
59
  "release-major-alpha": "release-it major --preRelease=alpha",
48
60
  "release-alpha": "release-it --preRelease=alpha",
49
- "release-rc": "release-it --preRelease=rc"
61
+ "release-rc": "release-it --preRelease=rc",
62
+ "lint": "eslint",
63
+ "lint:fix": "eslint --fix",
64
+ "prettier": "prettier --check src",
65
+ "prettier:fix": "prettier --write src",
66
+ "stylelint": "stylelint --allow-empty-input 'src/**/*.{less,scss,css,overrides}'",
67
+ "stylelint:fix": "stylelint --fix --allow-empty-input 'src/**/*.{less,scss,css,overrides}'"
50
68
  },
51
69
  "devDependencies": {
52
70
  "@babel/core": "7.19.6",
@@ -70,7 +88,8 @@
70
88
  "stylelint": "15.10.3",
71
89
  "stylelint-config-idiomatic-order": "9.0.0",
72
90
  "stylelint-config-sass-guidelines": "10.0.0",
73
- "stylelint-prettier": "4.0.2"
91
+ "stylelint-prettier": "4.0.2",
92
+ "typescript": "5.3.3"
74
93
  },
75
94
  "peerDependencies": {
76
95
  "@plone/volto": "^18.0.0"
package/razzle.extend.js CHANGED
@@ -4,9 +4,9 @@
4
4
  */
5
5
 
6
6
  const makeLoaderFinder = require('razzle-dev-utils/makeLoaderFinder');
7
- const fileLoaderFinder = makeLoaderFinder('file-loader');
8
- const urlLoaderFinder = makeLoaderFinder('url-loader');
9
- const lessLoaderFinder = makeLoaderFinder('less-loader');
7
+ // const fileLoaderFinder = makeLoaderFinder('file-loader');
8
+ // const urlLoaderFinder = makeLoaderFinder('url-loader');
9
+ // const lessLoaderFinder = makeLoaderFinder('less-loader');
10
10
  const babelLoaderFinder = makeLoaderFinder('babel-loader');
11
11
 
12
12
  const plugins = (defaultPlugins) => {
@@ -1,5 +1,5 @@
1
- export const GET_SEARCH_BANDI_FILTERS = 'GET_SEARCH_BANDI_FILTERS';
2
1
  import { expandToBackendURL } from '@plone/volto/helpers/Url/Url';
2
+ export const GET_SEARCH_BANDI_FILTERS = 'GET_SEARCH_BANDI_FILTERS';
3
3
 
4
4
  /**
5
5
  * Get search bandi filters.
@@ -1,8 +1,5 @@
1
- import config from '@plone/volto/registry';
2
1
  import { defineMessages, createIntlCache, createIntl } from 'react-intl';
3
2
 
4
- import { addStyling } from '@plone/volto/helpers';
5
-
6
3
  const messages = defineMessages({
7
4
  panels: { id: 'Panels', defaultMessage: 'Pannelli' },
8
5
  panel: { id: 'Panel', defaultMessage: 'Pannello' },
@@ -5,8 +5,8 @@
5
5
  .ui.input {
6
6
  font-size: unset;
7
7
  > input {
8
- font-family: 'Titillium Web';
9
8
  color: var(--bs-primary);
9
+ font-family: 'Titillium Web';
10
10
  font-weight: 600;
11
11
  }
12
12
  &.fluid {
@@ -2,7 +2,6 @@ import { v4 as uuid } from 'uuid';
2
2
  import { map } from 'lodash';
3
3
 
4
4
  import { Icon as VoltoIcon } from '@plone/volto/components';
5
- import { Icon as SemanticIcon } from 'semantic-ui-react';
6
5
 
7
6
  import {
8
7
  getBlocksFieldname,
@@ -3,9 +3,9 @@ body.public-ui {
3
3
  .accordion-block {
4
4
  .search-bar-widget {
5
5
  label {
6
- visibility: hidden;
7
6
  height: 0;
8
7
  margin: 0 !important;
8
+ visibility: hidden;
9
9
  }
10
10
  }
11
11
  .public-ui {
@@ -18,8 +18,8 @@ body.public-ui {
18
18
  h4,
19
19
  h5,
20
20
  h6 {
21
- margin: 0 !important;
22
21
  width: 100%;
22
+ margin: 0 !important;
23
23
  color: var(--bs-primary);
24
24
  }
25
25
  .accordion-button {
@@ -116,27 +116,27 @@
116
116
 
117
117
  .manager-alert-info-dates {
118
118
  position: absolute;
119
- top: -1rem;
120
- background-color: #fff;
121
- padding: 0.25rem 3rem;
122
119
  //border-radius: 0.3rem;
123
120
  z-index: 1;
121
+ top: -1rem;
124
122
  left: 50%;
125
- transform: translateX(-50%);
123
+ padding: 0.25rem 3rem;
126
124
  border: 1px solid #9bd0e2;
125
+ background-color: #fff;
127
126
  font-size: 0.8rem;
127
+ transform: translateX(-50%);
128
128
  }
129
129
 
130
130
  &.expired {
131
131
  .full-width {
132
132
  &:after {
133
- content: '';
134
- width: 100%;
135
- height: 100%;
136
133
  position: absolute;
137
134
  top: 0;
138
135
  left: 0;
136
+ width: 100%;
137
+ height: 100%;
139
138
  background-color: #fff;
139
+ content: '';
140
140
  opacity: 0.85;
141
141
  }
142
142
  }