design-comuni-plone-theme 10.4.1 → 10.4.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/.eslintrc.js +1 -1
- package/CHANGELOG.md +20 -0
- package/RELEASE.md +8 -0
- package/package.json +40 -24
- package/publiccode.yml +2 -2
- package/src/actions/getDettagliProcedimento.js +1 -2
- package/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +4 -6
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +8 -10
- package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +1 -2
- package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +1 -2
- package/src/components/ItaliaTheme/Header/HeaderSlim/UserLoggedMenu.jsx +0 -1
- package/src/components/ItaliaTheme/Icons/FontAwesomeIcon.jsx +2 -2
- package/src/components/ItaliaTheme/Pagination/PaginationItem.jsx +2 -8
- package/src/components/ItaliaTheme/Pagination/createPaginationItems/itemFactories.js +4 -4
- package/src/components/ItaliaTheme/Search/utils.js +5 -3
- package/src/components/ItaliaTheme/View/Commons/ContactsCard.jsx +4 -4
- package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +1 -0
- package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +928 -932
- package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +12 -8
- package/src/components/SelectInput/SelectInput.jsx +16 -21
- package/src/components/SelectInput/select-styles.css +1 -1
- package/src/config/Blocks/blocks.js +4 -3
- package/src/config/Blocks/listingVariations.js +4 -3
- package/src/config/Subsites/index.js +16 -16
- package/src/config/italiaConfig.js +6 -5
- package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +31 -26
- package/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/Listing/withQuerystringResults.jsx +6 -6
- package/src/customizations/volto/components/manage/Blocks/Search/components/CheckboxFacet.jsx +2 -2
- package/src/customizations/volto/components/manage/Blocks/Search/components/FilterList.jsx +15 -20
- package/src/customizations/volto/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.jsx +2 -9
- package/src/customizations/volto/components/manage/Diff/DiffField.jsx +2 -9
- package/src/customizations/volto/components/manage/Sidebar/ObjectBrowserBody.jsx +10 -10
- package/src/customizations/volto/components/manage/Widgets/DatetimeWidget.jsx +4 -10
- package/src/customizations/volto/components/manage/Widgets/ObjectBrowserWidget.jsx +2 -9
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +2 -2
- package/src/customizations/volto/helpers/FormValidation/FormValidation.js +7 -6
- package/src/customizations/volto/helpers/Html/Html.jsx +2 -2
- package/src/customizations/volto/middleware/api.js +194 -190
- package/src/customizations/volto/middleware/blacklistRoutes.js +36 -34
- package/src/helpers/dates.js +2 -2
- package/src/theme/ItaliaTheme/Addons/volto-gdpr-privacy.scss +12 -5
- package/src/theme/ItaliaTheme/Blocks/_accordion.scss +2 -0
- package/src/theme/ItaliaTheme/Blocks/_alert.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +6 -2
- package/src/theme/ItaliaTheme/Blocks/_calendar.scss +8 -6
- package/src/theme/ItaliaTheme/Blocks/_cardWithImageAndInEvidence.scss +7 -7
- package/src/theme/ItaliaTheme/Blocks/_cardWithSlideUpTextTemplate.scss +5 -4
- package/src/theme/ItaliaTheme/Blocks/_completeBlockLinkstemplate.scss +4 -2
- package/src/theme/ItaliaTheme/Blocks/_countdown.scss +2 -2
- package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +7 -5
- package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +8 -3
- package/src/theme/ItaliaTheme/Blocks/_gridGalleryTemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +2 -2
- package/src/theme/ItaliaTheme/Blocks/_imageBlock.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_listing.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_photogallerytemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_ribbonCardTemplate.scss +5 -4
- package/src/theme/ItaliaTheme/Blocks/_rssBlock.scss +3 -2
- package/src/theme/ItaliaTheme/Blocks/_search.scss +68 -37
- package/src/theme/ItaliaTheme/Blocks/_searchSections.scss +4 -3
- package/src/theme/ItaliaTheme/Blocks/_simpleCardTemplate.scss +6 -3
- package/src/theme/ItaliaTheme/Blocks/_sliderTemplate.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_smallblockLinkstemplate.scss +3 -3
- package/src/theme/ItaliaTheme/Blocks/_subblocks-edit.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +17 -7
- package/src/theme/ItaliaTheme/Blocks/_video.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_videoGallery.scss +7 -6
- package/src/theme/ItaliaTheme/Components/_card.scss +14 -7
- package/src/theme/ItaliaTheme/Components/_cardPersona.scss +2 -2
- package/src/theme/ItaliaTheme/Components/_cmp-timeline.scss +16 -14
- package/src/theme/ItaliaTheme/Components/_contactsCard.scss +3 -3
- package/src/theme/ItaliaTheme/Components/_customerSatisfaction.scss +31 -11
- package/src/theme/ItaliaTheme/Components/_diffField.scss +25 -14
- package/src/theme/ItaliaTheme/Components/_galleryPreview.scss +10 -10
- package/src/theme/ItaliaTheme/Components/_mobileMenu.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_navscroll.scss +2 -0
- package/src/theme/ItaliaTheme/Components/_pageHeader.scss +5 -4
- package/src/theme/ItaliaTheme/Components/_scrollToTop.scss +1 -0
- package/src/theme/ItaliaTheme/Components/_sharing.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_sideMenu.scss +9 -5
- package/src/theme/ItaliaTheme/Components/_subsiteFooter.scss +1 -1
- package/src/theme/ItaliaTheme/Print/_all_pages.scss +5 -2
- package/src/theme/ItaliaTheme/Print/_bandi.scss +8 -8
- package/src/theme/ItaliaTheme/Print/_event.scss +11 -10
- package/src/theme/ItaliaTheme/Print/_news_items.scss +17 -17
- package/src/theme/ItaliaTheme/Print/_persona.scss +8 -8
- package/src/theme/ItaliaTheme/Print/_servizio.scss +8 -8
- package/src/theme/ItaliaTheme/Views/_bando.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +20 -8
- package/src/theme/ItaliaTheme/Views/_common.scss +4 -3
- package/src/theme/ItaliaTheme/Views/_embeddedVideo.scss +1 -1
- package/src/theme/ItaliaTheme/Views/_evento.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_faqFolder.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_paginaArgomento.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_puntoDiContatto.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_servizio.scss +4 -1
- package/src/theme/ItaliaTheme/Views/_slider.scss +3 -3
- package/src/theme/ItaliaTheme/Views/_trasparenzaView.scss +2 -0
- package/src/theme/ItaliaTheme/Views/_uo.scss +3 -1
- package/src/theme/ItaliaTheme/Views/_venue.scss +3 -2
- package/src/theme/ItaliaTheme/Widgets/_canaleDigitaleWidget.scss +2 -1
- package/src/theme/ItaliaTheme/Widgets/_dataGridWidget.scss +24 -8
- package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +1 -1
- package/src/theme/ItaliaTheme/_common.scss +9 -4
- package/src/theme/ItaliaTheme/_main.scss +11 -8
- package/src/theme/_cms-ui.scss +46 -23
- package/src/theme/_cms-ui_container.scss +8 -3
- package/src/theme/_site-variables.scss +4 -2
- package/src/theme/bootstrap-override/bootstrap-italia/_breadcrumb.scss +1 -1
- package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +9 -4
- package/src/theme/bootstrap-override/bootstrap-italia/_linklist.scss +2 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_megamenu.scss +1 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_point-list.scss +4 -3
- package/src/theme/extras/_checkbox.scss +1 -1
- package/src/theme/extras/_modals.scss +5 -3
- package/src/theme/extras/_search.scss +14 -4
- package/src/theme/extras/_sidebar.scss +3 -0
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [10.4.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.4.1...v10.4.2) (2023-11-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* a11y of listing block read-more with card-slide-text template ([#415](https://github.com/RedTurtle/design-comuni-plone-theme/issues/415)) ([6260983](https://github.com/RedTurtle/design-comuni-plone-theme/commit/6260983016622af038d84d0f2efd3c9e13d2fbcf))
|
|
9
|
+
* changed layout of readMore component to avoid overlapping ([#411](https://github.com/RedTurtle/design-comuni-plone-theme/issues/411)) ([a36a8b8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a36a8b8b1be250a27fa48316bf514d43f2aac9b7))
|
|
10
|
+
* error in search blocks with service-link lighthouse id ([#417](https://github.com/RedTurtle/design-comuni-plone-theme/issues/417)) ([69f1a42](https://github.com/RedTurtle/design-comuni-plone-theme/commit/69f1a4243d13c077a0b0b469ce1de50a17527b95))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Maintenance
|
|
14
|
+
|
|
15
|
+
* fix babel-eslint ([a7aa9a6](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a7aa9a6dff9f420bceef34809c2f7e23da883bcd))
|
|
16
|
+
* upgrade linters ([9d8f13a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9d8f13a34d82fb6cc9ce68f0881a46ffd8803eca))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Documentation
|
|
20
|
+
|
|
21
|
+
* updated publiccode and release log ([603c65d](https://github.com/RedTurtle/design-comuni-plone-theme/commit/603c65d1de43952d7a1936127ea043d8a631a8b3))
|
|
22
|
+
|
|
3
23
|
## [10.4.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.4.0...v10.4.1) (2023-11-21)
|
|
4
24
|
|
|
5
25
|
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 10.4.2 (23/11/2023)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- Sistemato il layout della card nella variazione Bandi del Blocco Elenco per la modalità tablet
|
|
49
|
+
- Sistemata accessibilità del read-more nel blocco elenco con variazione "Card con testo animato" quando si è in un sottosito con uno stile applicato.
|
|
50
|
+
- Sistemato errore quando viene impostato "service-link" come ID lighthouse.
|
|
51
|
+
|
|
44
52
|
## Versione 10.4.1 (21/11/2023)
|
|
45
53
|
|
|
46
54
|
### 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": "10.4.
|
|
5
|
+
"version": "10.4.2",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"volto-addon",
|
|
@@ -55,12 +55,31 @@
|
|
|
55
55
|
},
|
|
56
56
|
"stylelint": {
|
|
57
57
|
"extends": [
|
|
58
|
-
"stylelint-config-prettier",
|
|
59
58
|
"stylelint-config-idiomatic-order"
|
|
60
59
|
],
|
|
61
60
|
"plugins": [
|
|
62
61
|
"stylelint-prettier"
|
|
63
62
|
],
|
|
63
|
+
"overrides": [
|
|
64
|
+
{
|
|
65
|
+
"files": [
|
|
66
|
+
"**/*.scss"
|
|
67
|
+
],
|
|
68
|
+
"customSyntax": "postcss-scss"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"files": [
|
|
72
|
+
"**/*.less"
|
|
73
|
+
],
|
|
74
|
+
"customSyntax": "postcss-less"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"files": [
|
|
78
|
+
"**/*.overrides"
|
|
79
|
+
],
|
|
80
|
+
"customSyntax": "postcss-less"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
64
83
|
"rules": {
|
|
65
84
|
"prettier/prettier": true,
|
|
66
85
|
"rule-empty-line-before": [
|
|
@@ -85,21 +104,12 @@
|
|
|
85
104
|
"yarn i18n",
|
|
86
105
|
"git add locales"
|
|
87
106
|
],
|
|
88
|
-
"theme/**/*.{css,less}": [
|
|
89
|
-
"npx stylelint --fix"
|
|
90
|
-
],
|
|
91
107
|
"src/**/*.{css,less}": [
|
|
92
108
|
"npx stylelint --fix"
|
|
93
109
|
],
|
|
94
|
-
"theme/**/*.scss": [
|
|
95
|
-
"npx stylelint --fix --customSyntax postcss-scss"
|
|
96
|
-
],
|
|
97
110
|
"src/**/*.scss": [
|
|
98
111
|
"npx stylelint --fix --customSyntax postcss-scss"
|
|
99
112
|
],
|
|
100
|
-
"theme/**/*.overrides": [
|
|
101
|
-
"npx stylelint --fix --syntax less"
|
|
102
|
-
],
|
|
103
113
|
"src/**/*.overrides": [
|
|
104
114
|
"npx stylelint --fix --syntax less"
|
|
105
115
|
]
|
|
@@ -149,28 +159,34 @@
|
|
|
149
159
|
},
|
|
150
160
|
"devDependencies": {
|
|
151
161
|
"@babel/core": "7.19.6",
|
|
162
|
+
"@babel/eslint-parser": "7.23.3",
|
|
152
163
|
"@commitlint/cli": "17.6.6",
|
|
153
164
|
"@commitlint/config-conventional": "17.6.6",
|
|
154
165
|
"@plone/scripts": "*",
|
|
155
166
|
"@release-it/conventional-changelog": "5.1.1",
|
|
156
|
-
"
|
|
157
|
-
"eslint": "
|
|
158
|
-
"eslint-config-
|
|
159
|
-
"eslint-config-react-app": "5.2.1",
|
|
167
|
+
"eslint": "8.54.0",
|
|
168
|
+
"eslint-config-prettier": "9.0.0",
|
|
169
|
+
"eslint-config-react-app": "7.0.1",
|
|
160
170
|
"eslint-plugin-flowtype": "4.7.0",
|
|
161
|
-
"eslint-plugin-import": "2.
|
|
162
|
-
"eslint-plugin-jsx-a11y": "6.
|
|
163
|
-
"eslint-plugin-prettier": "
|
|
164
|
-
"eslint-plugin-react": "7.
|
|
165
|
-
"eslint-plugin-react-hooks": "4.0
|
|
171
|
+
"eslint-plugin-import": "2.29.0",
|
|
172
|
+
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
173
|
+
"eslint-plugin-prettier": "5.0.1",
|
|
174
|
+
"eslint-plugin-react": "7.33.2",
|
|
175
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
166
176
|
"husky": "8.0.2",
|
|
167
177
|
"lint-staged": "13.0.3",
|
|
168
|
-
"
|
|
178
|
+
"postcss": "8.4.31",
|
|
179
|
+
"postcss-flexbugs-fixes": "5.0.2",
|
|
180
|
+
"postcss-less": "6.0.0",
|
|
181
|
+
"postcss-load-config": "4.0.2",
|
|
182
|
+
"postcss-loader": "7.3.3",
|
|
183
|
+
"postcss-overrides": "3.1.4",
|
|
184
|
+
"postcss-scss": "4.0.9",
|
|
185
|
+
"prettier": "3.1.0",
|
|
169
186
|
"release-it": "16.1.3",
|
|
170
|
-
"stylelint": "15.
|
|
187
|
+
"stylelint": "15.11.0",
|
|
171
188
|
"stylelint-config-idiomatic-order": "9.0.0",
|
|
172
|
-
"stylelint-
|
|
173
|
-
"stylelint-prettier": "4.0.0"
|
|
189
|
+
"stylelint-prettier": "4.0.2"
|
|
174
190
|
},
|
|
175
191
|
"peerDependencies": {
|
|
176
192
|
"@plone/volto": "17.0.0-alpha.19"
|
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: '2023-11-
|
|
230
|
+
releaseDate: '2023-11-23'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 10.4.
|
|
232
|
+
softwareVersion: 10.4.2
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -197,12 +197,10 @@ const BandiInEvidenceTemplate = ({
|
|
|
197
197
|
className={cx('bando-state', {
|
|
198
198
|
open: item.bando_state?.includes('open'),
|
|
199
199
|
closed: item.bando_state?.includes('closed'),
|
|
200
|
-
scheduled:
|
|
201
|
-
'scheduled',
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
'inProgress',
|
|
205
|
-
),
|
|
200
|
+
scheduled:
|
|
201
|
+
item.bando_state?.includes('scheduled'),
|
|
202
|
+
'in-progress':
|
|
203
|
+
item.bando_state?.includes('inProgress'),
|
|
206
204
|
})}
|
|
207
205
|
>
|
|
208
206
|
<BandoStatus content={item} />
|
|
@@ -93,16 +93,14 @@ const CardWithSlideUpTextTemplate = (props) => {
|
|
|
93
93
|
{show_description && item.description && (
|
|
94
94
|
<p>{item.description}</p>
|
|
95
95
|
)}
|
|
96
|
-
<
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/>
|
|
105
|
-
</div>
|
|
96
|
+
<CardReadMore
|
|
97
|
+
iconName="it-arrow-right"
|
|
98
|
+
tag={UniversalLink}
|
|
99
|
+
item={!isEditMode ? item : null}
|
|
100
|
+
href={isEditMode ? '#' : null}
|
|
101
|
+
text={intl.formatMessage(messages.vedi)}
|
|
102
|
+
className="justify-content-end"
|
|
103
|
+
/>
|
|
106
104
|
</div>
|
|
107
105
|
</UniversalLink>
|
|
108
106
|
);
|