io-sanita-theme 1.0.0 → 1.0.2

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.
package/.release-it.json CHANGED
@@ -1,23 +1,72 @@
1
1
  {
2
2
  "hooks": {
3
- "before:init": ["yarn install --immutable", "yarn i18n"],
4
- "after:bump": "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft && pipx run towncrier build --yes --version ${version}",
5
- "after:release": "rm .changelog.draft"
3
+ "before:init": ["yarn install --immutable", "yarn i18n"]
6
4
  },
7
5
  "git": {
8
- "changelog": "pipx run towncrier build --draft --yes --version 0.0.0",
9
- "requireUpstream": false,
10
- "requireCleanWorkingDir": false,
11
6
  "commitMessage": "chore: Release ${version}",
12
7
  "tagName": "${version}",
13
8
  "tagAnnotation": "Release ${version}"
14
9
  },
15
10
  "github": {
16
11
  "release": true,
17
- "releaseName": "${version}",
18
- "releaseNotes": "cat .changelog.draft"
12
+ "releaseName": "${version}"
19
13
  },
20
14
  "npm": {
21
15
  "publish": true
16
+ },
17
+ "plugins": {
18
+ "@release-it/conventional-changelog": {
19
+ "infile": "CHANGELOG.md",
20
+ "header": "# Changelog",
21
+ "preset": {
22
+ "name": "conventionalcommits",
23
+ "types": [
24
+ {
25
+ "type": "feat",
26
+ "section": "Features"
27
+ },
28
+ {
29
+ "type": "fix",
30
+ "section": "Bug Fixes"
31
+ },
32
+ {
33
+ "type": "refactor",
34
+ "section": "Changes"
35
+ },
36
+ {
37
+ "type": "chore",
38
+ "section": "Maintenance"
39
+ },
40
+ {
41
+ "type": "ci",
42
+ "section": "Maintenance"
43
+ },
44
+ {
45
+ "type": "perf",
46
+ "section": "Maintenance"
47
+ },
48
+ {
49
+ "type": "build",
50
+ "section": "Maintenance"
51
+ },
52
+ {
53
+ "type": "style",
54
+ "section": "Maintenance"
55
+ },
56
+ {
57
+ "type": "revert",
58
+ "section": "Bug Fixes"
59
+ },
60
+ {
61
+ "type": "test",
62
+ "section": "Maintenance"
63
+ },
64
+ {
65
+ "type": "docs",
66
+ "section": "Documentation"
67
+ }
68
+ ]
69
+ }
70
+ }
22
71
  }
23
72
  }
package/CHANGELOG.md CHANGED
@@ -1,11 +1,28 @@
1
- # Release Notes
1
+ # Changelog
2
2
 
3
- <!-- You should *NOT* be adding new change log entries to this file.
4
- You should create a file in the news directory instead.
5
- For helpful instructions, please see:
6
- https://6.docs.plone.org/contributing/index.html?highlight=towncrier#change-log-entry
7
- -->
3
+ ## [1.0.2](https://github.com/RedTurtle/io-sanita-theme/compare/1.0.1...1.0.2) (2024-11-22)
8
4
 
9
- <!-- towncrier release notes start -->
5
+ ### Bug Fixes
6
+
7
+ * searchSectionForm with on mobile ([76de553](https://github.com/RedTurtle/io-sanita-theme/commit/76de55332ca6b4224bffab1dc70458594ff6dab6))
8
+
9
+ ## [1.0.1](https://github.com/RedTurtle/io-sanita-theme/compare/1.0.0...1.0.1) (2024-11-22)
10
+
11
+ ### Bug Fixes
12
+
13
+ * locales ([276b315](https://github.com/RedTurtle/io-sanita-theme/commit/276b315cc045e58cd6a7104127a661a6c3b275b9))
14
+ * removed ufficio_responsabile from SearchBandi block beacause not in io-sanita ([4ece232](https://github.com/RedTurtle/io-sanita-theme/commit/4ece23291065876916d5aaa4916079f9e02a5bb3))
15
+
16
+ ### Maintenance
17
+
18
+ * DEVELOPMENT.md ([be1979f](https://github.com/RedTurtle/io-sanita-theme/commit/be1979ff933dfdf52d3e577bc6197e2cad5632f5))
19
+ * README ([986d938](https://github.com/RedTurtle/io-sanita-theme/commit/986d938a79dfc71801d5253a8015759cafaed786))
20
+ * release-it ([be4d130](https://github.com/RedTurtle/io-sanita-theme/commit/be4d130fe8557ab6841dc00829826ac8da0f78e2))
21
+ * release.it ([ada55b2](https://github.com/RedTurtle/io-sanita-theme/commit/ada55b2e877b72e397c9ad7db781246b3ff18895))
22
+ * updated README ([80e18f7](https://github.com/RedTurtle/io-sanita-theme/commit/80e18f734af04edfdbab2977ee43761db4a803a6))
23
+ * updated README ([8deedeb](https://github.com/RedTurtle/io-sanita-theme/commit/8deedeba1ebb41d0a5c53ad235724dfe42778cec))
24
+ * updated README ([92e8419](https://github.com/RedTurtle/io-sanita-theme/commit/92e84194df53bd5303714a77131cb9fb667c1466))
25
+ * updated release ([3bb5d8c](https://github.com/RedTurtle/io-sanita-theme/commit/3bb5d8c326287a7252b2a5e64b13bfe3dd1363f2))
26
+ * updated release-it ([51a99bb](https://github.com/RedTurtle/io-sanita-theme/commit/51a99bb61eaf1521db644991704109e0ba320ab8))
10
27
 
11
28
  ## 1.0.0 (2024-11-21)
package/DEVELOPMENT.md ADDED
@@ -0,0 +1,148 @@
1
+ # io-sanita-theme
2
+
3
+ ## Installation and development
4
+
5
+ You can develop an add-on in isolation using the boilerplate already provided by the add-on generator.
6
+ The project is configured to have the current add-on installed and ready to work with.
7
+ This is useful to bootstrap an isolated environment that can be used to quickly develop the add-on or for demo purposes.
8
+ It's also useful when testing an add-on in a CI environment.
9
+
10
+ ```{note}
11
+ It's quite similar when you develop a Plone backend add-on in the Python side, and embed a ready to use Plone build (using buildout or pip) in order to develop and test the package.
12
+ ```
13
+
14
+ The dockerized approach performs all these actions in a custom built docker environment:
15
+
16
+ 1. Generates a vanilla project using the official Volto Yo Generator (@plone/generator-volto)
17
+ 2. Configures it to use the add-on with the name stated in the `package.json`
18
+ 3. Links the root of the add-on inside the created project
19
+
20
+ After that you can use the inner dockerized project, and run any standard Volto command for linting, acceptance test or unit tests using Makefile commands provided for your convenience.
21
+
22
+ ### Setup the environment
23
+
24
+ Run once
25
+
26
+ ```shell
27
+ make dev
28
+ ```
29
+
30
+ which will build and launch the backend and frontend containers.
31
+ There's no need to build them again after doing it the first time unless something has changed from the container setup.
32
+
33
+ In order to make the local IDE play well with this setup, is it required to run once `yarn` to install locally the required packages (ESlint, Prettier, Stylelint).
34
+
35
+ Run
36
+
37
+ ```shell
38
+ yarn
39
+ ```
40
+
41
+ ### Build the containers manually
42
+
43
+ Run
44
+
45
+ ```shell
46
+ make build-backend
47
+ make build-addon
48
+ ```
49
+
50
+ ### Run the containers
51
+
52
+ Run
53
+
54
+ ```shell
55
+ make start-dev
56
+ ```
57
+
58
+ This will start both the frontend and backend containers.
59
+
60
+ ### Stop Backend (Docker)
61
+
62
+ After developing, in order to stop the running backend, don't forget to run:
63
+
64
+ Run
65
+
66
+ ```shell
67
+ make stop-backend
68
+ ```
69
+
70
+ ### Linting
71
+
72
+ Run
73
+
74
+ ```shell
75
+ make lint
76
+ ```
77
+
78
+ ### Formatting
79
+
80
+ Run
81
+
82
+ ```shell
83
+ make format
84
+ ```
85
+
86
+ ### i18n
87
+
88
+ Run
89
+
90
+ ```shell
91
+ make i18n
92
+ ```
93
+
94
+ ### Unit tests
95
+
96
+ Run
97
+
98
+ ```shell
99
+ make test
100
+ ```
101
+
102
+ ### Acceptance tests
103
+
104
+ Run once
105
+
106
+ ```shell
107
+ make install-acceptance
108
+ ```
109
+
110
+ For starting the servers
111
+
112
+ Run
113
+
114
+ ```shell
115
+ make start-test-acceptance-server
116
+ ```
117
+
118
+ The frontend is run in dev mode, so development while writing tests is possible.
119
+
120
+ Run
121
+
122
+ ```shell
123
+ make test-acceptance
124
+ ```
125
+
126
+ To run Cypress tests afterwards.
127
+
128
+ When finished, don't forget to shutdown the backend server.
129
+
130
+ ```shell
131
+ make stop-test-acceptance-server
132
+ ```
133
+
134
+ ### Release
135
+
136
+ Run
137
+
138
+ ```shell
139
+ make release
140
+ ```
141
+
142
+ For releasing a RC version
143
+
144
+ Run
145
+
146
+ ```shell
147
+ make release-rc
148
+ ```
package/README.md CHANGED
@@ -1,150 +1,21 @@
1
- # io-sanita-theme
1
+ # io-Sanità: il tema di Plone per le Aziende Sanitarie Locali (ASL)
2
2
 
3
- ## Introduction
3
+ Crea con semplicità il nuovo sito della tua ASL
4
+ conforme alle nuove linee guida AgID, accessibile a tutti ed usabile da smartphone e da PC.
4
5
 
5
- ## Development
6
+ ![io-sanita](/docs/01-io-sanita.png)
6
7
 
7
- You can develop an add-on in isolation using the boilerplate already provided by the add-on generator.
8
- The project is configured to have the current add-on installed and ready to work with.
9
- This is useful to bootstrap an isolated environment that can be used to quickly develop the add-on or for demo purposes.
10
- It's also useful when testing an add-on in a CI environment.
8
+ ### AgID 3.0
11
9
 
12
- ```{note}
13
- It's quite similar when you develop a Plone backend add-on in the Python side, and embed a ready to use Plone build (using buildout or pip) in order to develop and test the package.
14
- ```
10
+ io-Sanità segue le linee guida ufficiali per il design dei siti web delle Aziende Sanitarie Locali: layout grafico, architettura informativa, struttura dei contenuti e flussi di navigazione rispecchiano gli standard definiti da AgID.
15
11
 
16
- The dockerized approach performs all these actions in a custom built docker environment:
12
+ ### Pensato per i cittadini, costruito con i redattori
17
13
 
18
- 1. Generates a vanilla project using the official Volto Yo Generator (@plone/generator-volto)
19
- 2. Configures it to use the add-on with the name stated in the `package.json`
20
- 3. Links the root of the add-on inside the created project
14
+ io-Sanità è la soluzione versatile e facile da usare per garantire ai cittadini un rapido accesso ai contenuti e ai servizi della tua ASL, sia dal PC che da mobile.
21
15
 
22
- After that you can use the inner dockerized project, and run any standard Volto command for linting, acceptance test or unit tests using Makefile commands provided for your convenience.
16
+ ### Trovabilità dei contenuti
23
17
 
24
- ### Setup the environment
18
+ io-Sanità integra componenti e flussi di navigazione suggeriti da AgID, con l'esperienza ventennale di [RedTurtle](https://www.redturtle.it/) nella gestione di complesse basi informative per darti la migliore esperienza di fruizione e portarti velocemente al contenuto desiderato.
25
19
 
26
- Run once
27
-
28
- ```shell
29
- make dev
30
- ```
31
-
32
- which will build and launch the backend and frontend containers.
33
- There's no need to build them again after doing it the first time unless something has changed from the container setup.
34
-
35
- In order to make the local IDE play well with this setup, is it required to run once `yarn` to install locally the required packages (ESlint, Prettier, Stylelint).
36
-
37
- Run
38
-
39
- ```shell
40
- yarn
41
- ```
42
-
43
- ### Build the containers manually
44
-
45
- Run
46
-
47
- ```shell
48
- make build-backend
49
- make build-addon
50
- ```
51
-
52
- ### Run the containers
53
-
54
- Run
55
-
56
- ```shell
57
- make start-dev
58
- ```
59
-
60
- This will start both the frontend and backend containers.
61
-
62
- ### Stop Backend (Docker)
63
-
64
- After developing, in order to stop the running backend, don't forget to run:
65
-
66
- Run
67
-
68
- ```shell
69
- make stop-backend
70
- ```
71
-
72
- ### Linting
73
-
74
- Run
75
-
76
- ```shell
77
- make lint
78
- ```
79
-
80
- ### Formatting
81
-
82
- Run
83
-
84
- ```shell
85
- make format
86
- ```
87
-
88
- ### i18n
89
-
90
- Run
91
-
92
- ```shell
93
- make i18n
94
- ```
95
-
96
- ### Unit tests
97
-
98
- Run
99
-
100
- ```shell
101
- make test
102
- ```
103
-
104
- ### Acceptance tests
105
-
106
- Run once
107
-
108
- ```shell
109
- make install-acceptance
110
- ```
111
-
112
- For starting the servers
113
-
114
- Run
115
-
116
- ```shell
117
- make start-test-acceptance-server
118
- ```
119
-
120
- The frontend is run in dev mode, so development while writing tests is possible.
121
-
122
- Run
123
-
124
- ```shell
125
- make test-acceptance
126
- ```
127
-
128
- To run Cypress tests afterwards.
129
-
130
- When finished, don't forget to shutdown the backend server.
131
-
132
- ```shell
133
- make stop-test-acceptance-server
134
- ```
135
-
136
- ### Release
137
-
138
- Run
139
-
140
- ```shell
141
- make release
142
- ```
143
-
144
- For releasing a RC version
145
-
146
- Run
147
-
148
- ```shell
149
- make release-rc
150
- ```
20
+ ## Installazione e sviluppo
21
+ vedi la [guida](/DEVELOPMENT.md)
Binary file
@@ -2430,11 +2430,6 @@ msgstr ""
2430
2430
  msgid "sarchBandi_tipologia_placeholder"
2431
2431
  msgstr ""
2432
2432
 
2433
- #. Default: "Ufficio responsabile"
2434
- #: components/Blocks/SearchBandi/DefaultFilters
2435
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2436
- msgstr ""
2437
-
2438
2433
  #. Default: "Scadenza dei termini per partecipare al bando"
2439
2434
  #: components/View/Bando/Dates
2440
2435
  msgid "scadenza_bando"
@@ -2552,11 +2547,6 @@ msgstr ""
2552
2547
  msgid "searchBlock_tipologia_filter"
2553
2548
  msgstr ""
2554
2549
 
2555
- #. Default: "Filtro per Ufficio responsabile"
2556
- #: components/Blocks/SearchBandi/DefaultFilters
2557
- msgid "searchBlock_ufficio_responsabile_filter"
2558
- msgstr ""
2559
-
2560
2550
  #. Default: "Filtro per luoghi"
2561
2551
  #: components/Blocks/SearchBandi/Sidebar
2562
2552
  msgid "searchBlock_venue_filter"
@@ -2425,11 +2425,6 @@ msgstr ""
2425
2425
  msgid "sarchBandi_tipologia_placeholder"
2426
2426
  msgstr ""
2427
2427
 
2428
- #. Default: "Ufficio responsabile"
2429
- #: components/Blocks/SearchBandi/DefaultFilters
2430
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2431
- msgstr ""
2432
-
2433
2428
  #. Default: "Scadenza dei termini per partecipare al bando"
2434
2429
  #: components/View/Bando/Dates
2435
2430
  msgid "scadenza_bando"
@@ -2547,11 +2542,6 @@ msgstr ""
2547
2542
  msgid "searchBlock_tipologia_filter"
2548
2543
  msgstr ""
2549
2544
 
2550
- #. Default: "Filtro per Ufficio responsabile"
2551
- #: components/Blocks/SearchBandi/DefaultFilters
2552
- msgid "searchBlock_ufficio_responsabile_filter"
2553
- msgstr ""
2554
-
2555
2545
  #. Default: "Filtro per luoghi"
2556
2546
  #: components/Blocks/SearchBandi/Sidebar
2557
2547
  msgid "searchBlock_venue_filter"
@@ -2432,11 +2432,6 @@ msgstr ""
2432
2432
  msgid "sarchBandi_tipologia_placeholder"
2433
2433
  msgstr ""
2434
2434
 
2435
- #. Default: "Ufficio responsabile"
2436
- #: components/Blocks/SearchBandi/DefaultFilters
2437
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2438
- msgstr ""
2439
-
2440
2435
  #. Default: "Scadenza dei termini per partecipare al bando"
2441
2436
  #: components/View/Bando/Dates
2442
2437
  msgid "scadenza_bando"
@@ -2554,11 +2549,6 @@ msgstr ""
2554
2549
  msgid "searchBlock_tipologia_filter"
2555
2550
  msgstr ""
2556
2551
 
2557
- #. Default: "Filtro per Ufficio responsabile"
2558
- #: components/Blocks/SearchBandi/DefaultFilters
2559
- msgid "searchBlock_ufficio_responsabile_filter"
2560
- msgstr ""
2561
-
2562
2552
  #. Default: "Filtro per luoghi"
2563
2553
  #: components/Blocks/SearchBandi/Sidebar
2564
2554
  msgid "searchBlock_venue_filter"
@@ -2432,11 +2432,6 @@ msgstr ""
2432
2432
  msgid "sarchBandi_tipologia_placeholder"
2433
2433
  msgstr ""
2434
2434
 
2435
- #. Default: "Ufficio responsabile"
2436
- #: components/Blocks/SearchBandi/DefaultFilters
2437
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2438
- msgstr ""
2439
-
2440
2435
  #. Default: "Scadenza dei termini per partecipare al bando"
2441
2436
  #: components/View/Bando/Dates
2442
2437
  msgid "scadenza_bando"
@@ -2554,11 +2549,6 @@ msgstr ""
2554
2549
  msgid "searchBlock_tipologia_filter"
2555
2550
  msgstr ""
2556
2551
 
2557
- #. Default: "Filtro per Ufficio responsabile"
2558
- #: components/Blocks/SearchBandi/DefaultFilters
2559
- msgid "searchBlock_ufficio_responsabile_filter"
2560
- msgstr ""
2561
-
2562
2552
  #. Default: "Filtro per luoghi"
2563
2553
  #: components/Blocks/SearchBandi/Sidebar
2564
2554
  msgid "searchBlock_venue_filter"
@@ -57,7 +57,7 @@ msgstr "In basso"
57
57
  #. Default: "Browse"
58
58
  #: components/Blocks/Hero/Edit
59
59
  msgid "Browse"
60
- msgstr ""
60
+ msgstr "Cerca"
61
61
 
62
62
  #. Default: "Callout"
63
63
  #: components/Blocks/Callout/Sidebar
@@ -221,7 +221,7 @@ msgstr ""
221
221
  #. Default: "Headline"
222
222
  #: components/Blocks/HTML/schema
223
223
  msgid "Headline"
224
- msgstr ""
224
+ msgstr "Titolo"
225
225
 
226
226
  #. Default: "Hero"
227
227
  #: components/Blocks/Hero/HeroSidebar
@@ -253,7 +253,7 @@ msgstr ""
253
253
  #. Default: "Image"
254
254
  #: components/Blocks/Hero/Edit
255
255
  msgid "Image"
256
- msgstr ""
256
+ msgstr "Immagine"
257
257
 
258
258
  #. Default: "Impostazioni cookie"
259
259
  #: components/layout/Footer/FooterSmall
@@ -605,17 +605,17 @@ msgstr "Non autorizzato"
605
605
  #: components/layout/Navigation/MegaMenu/MegaMenu
606
606
  #: components/View/Page/PageView
607
607
  msgid "Unknown Block"
608
- msgstr ""
608
+ msgstr "Blocco {block} sconosciuto"
609
609
 
610
610
  #. Default: "Upload a new image"
611
611
  #: components/Blocks/Hero/Edit
612
612
  msgid "Upload a new image"
613
- msgstr ""
613
+ msgstr "Carica una nuova immagine"
614
614
 
615
615
  #. Default: "Uploading image"
616
616
  #: components/Blocks/Hero/Edit
617
617
  msgid "Uploading image"
618
- msgstr ""
618
+ msgstr "Sto caricando l'immagine"
619
619
 
620
620
  #. Default: "Vai alla pagina"
621
621
  #: components/layout/Footer/FooterInfos
@@ -1142,7 +1142,7 @@ msgstr ""
1142
1142
  #. Default: "Danger"
1143
1143
  #: components/Blocks/Callout/Sidebar
1144
1144
  msgid "color_danger"
1145
- msgstr ""
1145
+ msgstr "Rosso"
1146
1146
 
1147
1147
  #. Default: "Default"
1148
1148
  #: components/Blocks/Callout/Sidebar
@@ -1188,7 +1188,7 @@ msgstr ""
1188
1188
  #. Default: "Warning"
1189
1189
  #: components/Blocks/Callout/Sidebar
1190
1190
  msgid "color_warning"
1191
- msgstr ""
1191
+ msgstr "Giallo"
1192
1192
 
1193
1193
  #. Default: "A chi si rivolge"
1194
1194
  #: components/View/ComeFarePer/ComeFarePerAChiSiRivolge
@@ -2425,11 +2425,6 @@ msgstr ""
2425
2425
  msgid "sarchBandi_tipologia_placeholder"
2426
2426
  msgstr ""
2427
2427
 
2428
- #. Default: "Ufficio responsabile"
2429
- #: components/Blocks/SearchBandi/DefaultFilters
2430
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2431
- msgstr ""
2432
-
2433
2428
  #. Default: "Scadenza dei termini per partecipare al bando"
2434
2429
  #: components/View/Bando/Dates
2435
2430
  msgid "scadenza_bando"
@@ -2547,11 +2542,6 @@ msgstr ""
2547
2542
  msgid "searchBlock_tipologia_filter"
2548
2543
  msgstr ""
2549
2544
 
2550
- #. Default: "Filtro per Ufficio responsabile"
2551
- #: components/Blocks/SearchBandi/DefaultFilters
2552
- msgid "searchBlock_ufficio_responsabile_filter"
2553
- msgstr ""
2554
-
2555
2545
  #. Default: "Filtro per luoghi"
2556
2546
  #: components/Blocks/SearchBandi/Sidebar
2557
2547
  msgid "searchBlock_venue_filter"
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: 2024-11-21T13:17:23.540Z\n"
4
+ "POT-Creation-Date: 2024-11-22T10:24:29.374Z\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"
@@ -2427,11 +2427,6 @@ msgstr ""
2427
2427
  msgid "sarchBandi_tipologia_placeholder"
2428
2428
  msgstr ""
2429
2429
 
2430
- #. Default: "Ufficio responsabile"
2431
- #: components/Blocks/SearchBandi/DefaultFilters
2432
- msgid "sarchBandi_ufficio_responsabile_placeholder"
2433
- msgstr ""
2434
-
2435
2430
  #. Default: "Scadenza dei termini per partecipare al bando"
2436
2431
  #: components/View/Bando/Dates
2437
2432
  msgid "scadenza_bando"
@@ -2549,11 +2544,6 @@ msgstr ""
2549
2544
  msgid "searchBlock_tipologia_filter"
2550
2545
  msgstr ""
2551
2546
 
2552
- #. Default: "Filtro per Ufficio responsabile"
2553
- #: components/Blocks/SearchBandi/DefaultFilters
2554
- msgid "searchBlock_ufficio_responsabile_filter"
2555
- msgstr ""
2556
-
2557
2547
  #. Default: "Filtro per luoghi"
2558
2548
  #: components/Blocks/SearchBandi/Sidebar
2559
2549
  msgid "searchBlock_venue_filter"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "io-sanita-theme",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "io-sanita-theme: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "license": "MIT",
@@ -33,7 +33,8 @@
33
33
  "volto-data-grid-widget",
34
34
  "volto-venue",
35
35
  "volto-site-settings",
36
- "volto-rss-block"
36
+ "volto-rss-block",
37
+ "@eeacms/volto-taxonomy"
37
38
  ],
38
39
  "scripts": {
39
40
  "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
@@ -74,9 +75,11 @@
74
75
  "@babel/plugin-proposal-export-default-from": "7.18.9",
75
76
  "@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
76
77
  "@babel/plugin-proposal-throw-expressions": "7.18.6",
78
+ "@eeacms/volto-taxonomy": "5.1.1",
77
79
  "@loadable/babel-plugin": "5.13.2",
78
80
  "@plone-collective/volto-contents-next": "0.4.4",
79
81
  "@plone-collective/volto-sentry": "0.3.1",
82
+ "@release-it/conventional-changelog": "^9.0.3",
80
83
  "bootstrap-italia": "2.8.7",
81
84
  "design-react-kit": "5.0.0-10",
82
85
  "react-focus-lock": "2.12.1",
@@ -31,14 +31,6 @@ const messages = defineMessages({
31
31
  id: 'sarchBandi_ente_placeholder',
32
32
  defaultMessage: 'Ente',
33
33
  },
34
- ufficio_responsabile_filter: {
35
- id: 'searchBlock_ufficio_responsabile_filter',
36
- defaultMessage: 'Filtro per Ufficio responsabile',
37
- },
38
- ufficio_responsabile: {
39
- id: 'sarchBandi_ufficio_responsabile_placeholder',
40
- defaultMessage: 'Ufficio responsabile',
41
- },
42
34
  categoria_filter: {
43
35
  id: 'searchBlock_categoria_filter',
44
36
  defaultMessage: 'Filtro per Categoria',
@@ -158,36 +150,6 @@ const DefaultFilters = (pathSearch, block_id) => {
158
150
  }
159
151
  },
160
152
  },
161
- ufficio_responsabile_filter: {
162
- label: intl.formatMessage(messages.ufficio_responsabile_filter),
163
- type: 'ufficio_responsabile_filter',
164
- widget: {
165
- component: SelectFilter,
166
- props: {
167
- value: null,
168
- options: {
169
- dispatch: {
170
- action: getSearchBandiFilters,
171
- path: subsite
172
- ? flattenToAppURL(subsite['@id'])
173
- : pathSearch || '/',
174
- stateSelector: 'searchBandiFilters',
175
- resultProp: 'offices',
176
- },
177
- placeholder: intl.formatMessage(messages.ufficio_responsabile),
178
- },
179
- },
180
- },
181
- query: (value, query) => {
182
- if (value?.value) {
183
- query.push({
184
- i: 'ufficio_responsabile',
185
- o: 'plone.app.querystring.operation.selection.any',
186
- v: value.value,
187
- });
188
- }
189
- },
190
- },
191
153
  categoria_filter: {
192
154
  label: intl.formatMessage(messages.categoria_filter),
193
155
  type: 'categoria_filter',
@@ -70,7 +70,7 @@ const SearchSectionForm = ({ content }) => {
70
70
  };
71
71
  return (
72
72
  <div className="search-section-form full-width bg-primary-lightest py-5">
73
- <Container className="px-5">
73
+ <Container className="px-4 px-lg-5">
74
74
  <div className="form-group my-0">
75
75
  <div className="input-group">
76
76
  <span className="input-group-text">