design-comuni-plone-theme 11.14.0 → 11.15.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.
- package/.github/workflows/main.yml +1 -1
- package/.github/workflows/performance.yml +1 -1
- package/.github/workflows/prs.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.yarn/cache/volto-editablefooter-npm-5.1.7-483b4be25b-ad5642959b.zip +0 -0
- package/.yarn/cache/{volto-form-block-npm-3.8.6-70f0648a8f-b038d1b89e.zip → volto-form-block-npm-3.8.7-d78dca483b-8c014bdf2d.zip} +0 -0
- package/.yarn/cache/{volto-gdpr-privacy-npm-2.2.6-d189f5d334-604badfe72.zip → volto-gdpr-privacy-npm-2.2.7-dd2359a788-beb301d21f.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +19 -0
- package/Makefile +1 -1
- package/RELEASE.md +6 -0
- package/package.json +5 -5
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx +49 -45
- package/src/customizations/volto/helpers/FormValidation/FormValidation.js +1 -1
- package/.yarn/cache/volto-editablefooter-npm-5.1.6-2df484b3b6-0e479d49c4.zip +0 -0
|
Binary file
|
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.15.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.14.0...v11.15.0) (2024-07-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* moved start and end date of incarico after incarico name ([#715](https://github.com/RedTurtle/design-comuni-plone-theme/issues/715)) ([c07c1ea](https://github.com/RedTurtle/design-comuni-plone-theme/commit/c07c1ea41b3534ad0c05ba2b9990c7b1c8f226ff))
|
|
9
|
+
* update to volto 17.18.1 ([8896926](https://github.com/RedTurtle/design-comuni-plone-theme/commit/889692614b5728bd812754dea9191c5bcb127a0a))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* updated form validation customization ([f3d2e72](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f3d2e72b47c8ce33326d0b4b5ca87daf9e874668))
|
|
15
|
+
* upgrade dependencies ([4ea3806](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4ea38067018f2bbd35566b4d70ed87e9362988ef))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
* updated publiccode and release log ([91a58b6](https://github.com/RedTurtle/design-comuni-plone-theme/commit/91a58b6f124da03e10437c0ee4f48b9545d51ddf))
|
|
21
|
+
|
|
3
22
|
## [11.14.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.13.0...v11.14.0) (2024-06-21)
|
|
4
23
|
|
|
5
24
|
|
package/Makefile
CHANGED
|
@@ -27,7 +27,7 @@ CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
27
27
|
# ADDON ?= "design-comuni-plone-theme"
|
|
28
28
|
|
|
29
29
|
PLONE_VERSION=6
|
|
30
|
-
VOLTO_VERSION=17.
|
|
30
|
+
VOLTO_VERSION=17.18.1
|
|
31
31
|
|
|
32
32
|
ADDON_NAME='design-comuni-plone-theme'
|
|
33
33
|
ADDON_PATH='design-comuni-plone-theme'
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,12 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 11.15.0 (05/07/2024)
|
|
45
|
+
|
|
46
|
+
### Novità
|
|
47
|
+
|
|
48
|
+
- Le informazioni sulla data di inizio e fine incarico sul CT persona vengono ora mostrate subito dopo l'incarico.
|
|
49
|
+
|
|
44
50
|
## Versione 11.14.0 (21/06/2024)
|
|
45
51
|
|
|
46
52
|
### Migliorie
|
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": "11.
|
|
5
|
+
"version": "11.15.0",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -149,10 +149,10 @@
|
|
|
149
149
|
"volto-blocks-widget": "3.4.1",
|
|
150
150
|
"volto-data-grid-widget": "2.3.1",
|
|
151
151
|
"volto-dropdownmenu": "4.1.3",
|
|
152
|
-
"volto-editablefooter": "5.1.
|
|
152
|
+
"volto-editablefooter": "5.1.7",
|
|
153
153
|
"volto-feedback": "0.3.2",
|
|
154
|
-
"volto-form-block": "3.8.
|
|
155
|
-
"volto-gdpr-privacy": "2.2.
|
|
154
|
+
"volto-form-block": "3.8.7",
|
|
155
|
+
"volto-gdpr-privacy": "2.2.7",
|
|
156
156
|
"volto-google-analytics": "2.0.0",
|
|
157
157
|
"volto-multilingual-widget": "3.2.1",
|
|
158
158
|
"volto-querywidget-with-browser": "0.4.2",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"stylelint-prettier": "4.0.2"
|
|
199
199
|
},
|
|
200
200
|
"peerDependencies": {
|
|
201
|
-
"@plone/volto": "17.
|
|
201
|
+
"@plone/volto": "17.18.1"
|
|
202
202
|
},
|
|
203
203
|
"packageManager": "yarn@3.2.3"
|
|
204
204
|
}
|
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: '2024-
|
|
230
|
+
releaseDate: '2024-07-05'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.
|
|
232
|
+
softwareVersion: 11.15.0
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -90,7 +90,10 @@ const PersonaRuolo = ({ content }) => {
|
|
|
90
90
|
tag_id="incarico"
|
|
91
91
|
title={intl.formatMessage(messages.ruolo)}
|
|
92
92
|
>
|
|
93
|
-
<div
|
|
93
|
+
<div
|
|
94
|
+
className="font-serif mb-3"
|
|
95
|
+
key={content?.incarichi_persona[0]?.id}
|
|
96
|
+
>
|
|
94
97
|
<p>{content?.incarichi_persona[0]?.title}</p>
|
|
95
98
|
{content?.incarichi_persona[0]?.atto_di_nomina && (
|
|
96
99
|
<UniversalLink
|
|
@@ -100,6 +103,51 @@ const PersonaRuolo = ({ content }) => {
|
|
|
100
103
|
</UniversalLink>
|
|
101
104
|
)}
|
|
102
105
|
</div>
|
|
106
|
+
|
|
107
|
+
{content.incarichi_persona[0].data_inizio_incarico && (
|
|
108
|
+
<RichTextSection
|
|
109
|
+
tag_id="data_inizio_incarico"
|
|
110
|
+
title={intl.formatMessage(messages.data_inizio_incarico)}
|
|
111
|
+
>
|
|
112
|
+
<div className="font-serif">
|
|
113
|
+
{viewDate(
|
|
114
|
+
intl.locale,
|
|
115
|
+
content.incarichi_persona[0].data_inizio_incarico,
|
|
116
|
+
'DD MMMM Y',
|
|
117
|
+
)}
|
|
118
|
+
</div>
|
|
119
|
+
</RichTextSection>
|
|
120
|
+
)}
|
|
121
|
+
{content.incarichi_persona[0].data_conclusione_incarico && (
|
|
122
|
+
<RichTextSection
|
|
123
|
+
tag_id="data_conclusione_incarico"
|
|
124
|
+
title={intl.formatMessage(messages.data_conclusione_incarico, {
|
|
125
|
+
incarico: content.incarichi_persona[0].title,
|
|
126
|
+
})}
|
|
127
|
+
>
|
|
128
|
+
<div className="font-serif">
|
|
129
|
+
{viewDate(
|
|
130
|
+
intl.locale,
|
|
131
|
+
content.incarichi_persona[0].data_conclusione_incarico,
|
|
132
|
+
'DD MMMM Y',
|
|
133
|
+
)}
|
|
134
|
+
</div>
|
|
135
|
+
</RichTextSection>
|
|
136
|
+
)}
|
|
137
|
+
{content.incarichi_persona[0].data_insediamento && (
|
|
138
|
+
<RichTextSection
|
|
139
|
+
tag_id="data_insediamento"
|
|
140
|
+
title={intl.formatMessage(messages.data_insediamento)}
|
|
141
|
+
>
|
|
142
|
+
<div className="font-serif">
|
|
143
|
+
{viewDate(
|
|
144
|
+
intl.locale,
|
|
145
|
+
content.incarichi_persona[0].data_insediamento,
|
|
146
|
+
'DD MMMM Y',
|
|
147
|
+
)}
|
|
148
|
+
</div>
|
|
149
|
+
</RichTextSection>
|
|
150
|
+
)}
|
|
103
151
|
</RichTextSection>
|
|
104
152
|
{content.incarichi_persona[0]?.tipologia_incarico?.title && (
|
|
105
153
|
<RichTextSection
|
|
@@ -191,50 +239,6 @@ const PersonaRuolo = ({ content }) => {
|
|
|
191
239
|
)}
|
|
192
240
|
</RichTextSection>
|
|
193
241
|
)}
|
|
194
|
-
{content.incarichi_persona[0].data_insediamento && (
|
|
195
|
-
<RichTextSection
|
|
196
|
-
tag_id="data_insediamento"
|
|
197
|
-
title={intl.formatMessage(messages.data_insediamento)}
|
|
198
|
-
>
|
|
199
|
-
<div className="font-serif">
|
|
200
|
-
{viewDate(
|
|
201
|
-
intl.locale,
|
|
202
|
-
content.incarichi_persona[0].data_insediamento,
|
|
203
|
-
'DD MMMM Y',
|
|
204
|
-
)}
|
|
205
|
-
</div>
|
|
206
|
-
</RichTextSection>
|
|
207
|
-
)}
|
|
208
|
-
{content.incarichi_persona[0].data_inizio_incarico && (
|
|
209
|
-
<RichTextSection
|
|
210
|
-
tag_id="data_inizio_incarico"
|
|
211
|
-
title={intl.formatMessage(messages.data_inizio_incarico)}
|
|
212
|
-
>
|
|
213
|
-
<div className="font-serif">
|
|
214
|
-
{viewDate(
|
|
215
|
-
intl.locale,
|
|
216
|
-
content.incarichi_persona[0].data_inizio_incarico,
|
|
217
|
-
'DD MMMM Y',
|
|
218
|
-
)}
|
|
219
|
-
</div>
|
|
220
|
-
</RichTextSection>
|
|
221
|
-
)}
|
|
222
|
-
{content.incarichi_persona[0].data_conclusione_incarico && (
|
|
223
|
-
<RichTextSection
|
|
224
|
-
tag_id="data_conclusione_incarico"
|
|
225
|
-
title={intl.formatMessage(messages.data_conclusione_incarico, {
|
|
226
|
-
incarico: content.incarichi_persona[0].title,
|
|
227
|
-
})}
|
|
228
|
-
>
|
|
229
|
-
<div className="font-serif">
|
|
230
|
-
{viewDate(
|
|
231
|
-
intl.locale,
|
|
232
|
-
content.incarichi_persona[0].data_conclusione_incarico,
|
|
233
|
-
'DD MMMM Y',
|
|
234
|
-
)}
|
|
235
|
-
</div>
|
|
236
|
-
</RichTextSection>
|
|
237
|
-
)}
|
|
238
242
|
</>
|
|
239
243
|
)}
|
|
240
244
|
|
|
@@ -188,7 +188,7 @@ const widgetValidation = {
|
|
|
188
188
|
* The string that comes my not be a valid JSON
|
|
189
189
|
* @param {string} requestItem
|
|
190
190
|
*/
|
|
191
|
-
const tryParseJSON = (requestItem) => {
|
|
191
|
+
export const tryParseJSON = (requestItem) => {
|
|
192
192
|
let resultObj = null;
|
|
193
193
|
try {
|
|
194
194
|
resultObj = JSON.parse(requestItem);
|
|
Binary file
|