design-comuni-plone-theme 11.9.1 → 11.10.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/performance.yml +47 -0
- package/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip +0 -0
- package/.yarn/cache/tar-npm-6.2.1-237800bb20-f1322768c9.zip +0 -0
- package/.yarn/cache/{volto-gdpr-privacy-npm-2.1.1-414b7e6a62-2246b94027.zip → volto-gdpr-privacy-npm-2.2.0-6be0f74d53-8a93254251.zip} +0 -0
- package/.yarn/cache/volto-slimheader-npm-0.1.1-6c4a32fae4-94bafa197c.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +48 -0
- package/RELEASE.md +27 -0
- package/locales/de/LC_MESSAGES/volto.po +61 -36
- package/locales/en/LC_MESSAGES/volto.po +63 -38
- package/locales/es/LC_MESSAGES/volto.po +61 -36
- package/locales/fr/LC_MESSAGES/volto.po +62 -37
- package/locales/it/LC_MESSAGES/volto.po +61 -36
- package/locales/volto.pot +62 -37
- package/package.json +5 -3
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/AppExtras/TrackFocus.jsx +47 -0
- package/src/components/ItaliaTheme/Blocks/Accordion/View.jsx +1 -1
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/BodyWrapper.jsx +8 -3
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/BottomBody.jsx +25 -16
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +10 -2
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Sidebar.jsx +39 -3
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/View.jsx +31 -16
- package/src/components/ItaliaTheme/Blocks/Calendar/Body.jsx +23 -59
- package/src/components/ItaliaTheme/Blocks/Common/SearchFilters/SelectFilter.jsx +9 -1
- package/src/components/ItaliaTheme/Blocks/EventSearch/DefaultFilters.js +5 -0
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/ViewBlock.jsx +17 -0
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithImage/CardWithImageDefault.jsx +182 -0
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithImageTemplate.jsx +7 -173
- package/src/components/ItaliaTheme/Blocks/Listing/Commons/utils.js +0 -70
- package/src/components/ItaliaTheme/Blocks/Listing/PhotogalleryTemplate.jsx +24 -36
- package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/Card/SimpleCardDefault.jsx +177 -0
- package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/SimpleCardTemplateDefault.jsx +8 -170
- package/src/components/ItaliaTheme/Blocks/Listing/Slider/SlideItemDefault.jsx +65 -0
- package/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx +62 -212
- package/src/components/ItaliaTheme/Blocks/VideoGallery/Body.jsx +10 -48
- package/src/components/ItaliaTheme/Blocks/VideoGallery/Edit.jsx +3 -2
- package/src/components/ItaliaTheme/Blocks/VideoGallery/View.jsx +3 -2
- package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +6 -0
- package/src/components/ItaliaTheme/Header/HeaderSlim/TertiaryMenu.jsx +34 -5
- package/src/components/ItaliaTheme/Icons/FontAwesomeIcon.jsx +2 -0
- package/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +8 -2
- package/src/components/ItaliaTheme/MenuSecondary/MenuSecondary.jsx +3 -0
- package/src/components/ItaliaTheme/Slider/ButtonPlayPause.jsx +48 -0
- package/src/components/ItaliaTheme/Slider/CarouselWrapper.jsx +23 -0
- package/src/components/ItaliaTheme/Slider/NextArrow.jsx +31 -0
- package/src/components/ItaliaTheme/Slider/PrevArrow.jsx +33 -0
- package/src/components/ItaliaTheme/Slider/SingleSlideWrapper.jsx +39 -0
- package/src/components/ItaliaTheme/Slider/slider.js +203 -0
- package/src/components/ItaliaTheme/View/Commons/ContactLink.jsx +3 -2
- package/src/components/ItaliaTheme/View/Commons/Dates.jsx +12 -4
- package/src/components/ItaliaTheme/View/Commons/Gallery.jsx +13 -9
- package/src/components/ItaliaTheme/View/Commons/Metadata.jsx +1 -1
- package/src/components/ItaliaTheme/View/Commons/RenderBlocks.jsx +20 -7
- package/src/components/ItaliaTheme/View/DocumentoView/DocumentoDescrizione.jsx +15 -7
- package/src/components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno.jsx +12 -1
- package/src/components/ItaliaTheme/View/EventoView/EventoLuoghi.jsx +7 -7
- package/src/components/ItaliaTheme/View/UOView/UOServices.jsx +1 -1
- package/src/components/ItaliaTheme/View/__tests__/ServizioMetadati.test.jsx +1 -1
- package/src/components/ItaliaTheme/index.js +7 -2
- package/src/config/Blocks/ListingOptions/cardWithImageTemplate.js +18 -2
- package/src/config/Blocks/ListingOptions/simpleCardTemplate.js +34 -17
- package/src/config/Blocks/ListingOptions/sliderTemplate.js +68 -11
- package/src/config/Blocks/listingVariations.js +8 -0
- package/src/config/italiaConfig.js +13 -2
- package/src/customizations/volto/components/manage/Blocks/Listing/ListingBody.jsx +5 -0
- package/src/customizations/volto/components/manage/Blocks/Search/components/SelectFacetFilterListEntry.jsx +43 -36
- package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +8 -3
- package/src/customizations/volto/components/manage/Widgets/FileWidget.jsx +2 -2
- package/src/customizations/volto/components/theme/Sitemap/Sitemap.jsx +126 -0
- package/src/helpers/config.js +1 -1
- package/src/theme/ItaliaTheme/Blocks/_argumentsInEvidence.scss +4 -4
- package/src/theme/ItaliaTheme/Blocks/{_cardWithImageAndInEvidence.scss → _cardWithImage.scss} +63 -38
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +7 -6
- package/src/theme/ItaliaTheme/Blocks/_inEvidenceTemplate.scss +123 -0
- package/src/theme/ItaliaTheme/Blocks/_simpleCardTemplate.scss +65 -67
- package/src/theme/ItaliaTheme/Blocks/_sliderTemplate.scss +81 -0
- package/src/theme/ItaliaTheme/Blocks/common/_searchBlockFilters.scss +16 -0
- package/src/theme/ItaliaTheme/Components/_cardPersona.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_mobileMenu.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_navigation.scss +15 -0
- package/src/theme/ItaliaTheme/Components/_tertiaryMenu.scss +6 -0
- package/src/theme/ItaliaTheme/Print/_all_pages.scss +33 -0
- package/src/theme/ItaliaTheme/Print/_page.scss +21 -0
- package/src/theme/ItaliaTheme/Print/_uo.scss +7 -2
- package/src/theme/ItaliaTheme/Views/_common.scss +4 -0
- package/src/theme/bootstrap-override/bootstrap-italia/_chips.scss +16 -1
- package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +2 -0
- package/src/theme/site.scss +4 -2
- package/.yarn/cache/nanoid-npm-3.3.4-3d250377d6-2fddd6dee9.zip +0 -0
- package/.yarn/cache/postcss-npm-8.4.16-7367383579-10eee25efd.zip +0 -0
- package/.yarn/cache/tar-npm-6.1.11-e6ac3cba9c-a04c07bb9e.zip +0 -0
- package/src/components/ItaliaTheme/Blocks/Listing/Commons/NextArrow.jsx +0 -10
- package/src/components/ItaliaTheme/Blocks/Listing/Commons/PrevArrow.jsx +0 -10
- package/src/theme/ItaliaTheme/Blocks/_inevidencetemplate.scss +0 -34
|
@@ -6,14 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
.card-wrapper {
|
|
8
8
|
padding-bottom: 0px;
|
|
9
|
+
|
|
9
10
|
&.card-teaser-wrapper {
|
|
10
11
|
margin: 0px;
|
|
12
|
+
|
|
11
13
|
&.row,
|
|
12
14
|
& {
|
|
13
15
|
--bs-gutter-y: 0px !important;
|
|
14
16
|
|
|
15
17
|
.card {
|
|
16
18
|
border: none !important;
|
|
19
|
+
|
|
17
20
|
&.card-big-io-comune .card-body {
|
|
18
21
|
padding: 0px !important;
|
|
19
22
|
|
|
@@ -22,13 +25,13 @@
|
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
.card-title a {
|
|
25
|
-
font-size: 16px;
|
|
26
28
|
display: flex;
|
|
29
|
+
font-size: 16px;
|
|
27
30
|
|
|
28
31
|
&::before {
|
|
29
|
-
content: '•';
|
|
30
32
|
display: block;
|
|
31
33
|
margin-right: 5px;
|
|
34
|
+
content: '•';
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
}
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
.card-title {
|
|
65
68
|
margin-bottom: 0px !important;
|
|
66
69
|
}
|
|
70
|
+
|
|
67
71
|
.card-text {
|
|
68
72
|
padding-top: 0px;
|
|
69
73
|
}
|
|
@@ -76,6 +80,7 @@
|
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
}
|
|
83
|
+
|
|
79
84
|
.mb-3 {
|
|
80
85
|
margin-bottom: 6px !important;
|
|
81
86
|
}
|
|
@@ -77,11 +77,13 @@ picture.volto-image.responsive img.full-width,
|
|
|
77
77
|
left: calc(50% + calc($toolbar-width / 2));
|
|
78
78
|
width: calc(100vw - $toolbar-width) !important;
|
|
79
79
|
}
|
|
80
|
+
|
|
80
81
|
.has-toolbar.has-sidebar & {
|
|
81
82
|
$toolbars-width: calc($toolbar-width + $sidebar-width);
|
|
82
83
|
left: calc(50% + calc($toolbars-width / 2));
|
|
83
84
|
width: calc(100vw - $toolbars-width) !important;
|
|
84
85
|
}
|
|
86
|
+
|
|
85
87
|
.has-toolbar.has-sidebar-collapsed & {
|
|
86
88
|
$toolbars-width: calc($toolbar-width + $sidebar-collapsed-width);
|
|
87
89
|
left: calc(50% + calc($toolbars-width / 2));
|
|
@@ -92,11 +94,13 @@ picture.volto-image.responsive img.full-width,
|
|
|
92
94
|
left: calc(50% + calc($toolbar-collapsed-width / 2));
|
|
93
95
|
width: calc(100vw - $toolbar-collapsed-width) !important;
|
|
94
96
|
}
|
|
97
|
+
|
|
95
98
|
.has-toolbar-collapsed.has-sidebar & {
|
|
96
99
|
$toolbars-width: calc($toolbar-collapsed-width + $sidebar-width);
|
|
97
100
|
left: calc(50% + calc($toolbars-width / 2));
|
|
98
101
|
width: calc(100vw - $toolbars-width) !important;
|
|
99
102
|
}
|
|
103
|
+
|
|
100
104
|
.has-toolbar-collapsed.has-sidebar-collapsed & {
|
|
101
105
|
$toolbars-width: calc($toolbar-collapsed-width + $sidebar-collapsed-width);
|
|
102
106
|
left: calc(50% + calc($toolbars-width / 2));
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
.public-ui .chip {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
height: unset;
|
|
5
|
-
cursor: pointer;
|
|
6
5
|
line-height: 1rem;
|
|
7
6
|
text-align: center;
|
|
8
7
|
|
|
8
|
+
&:hover {
|
|
9
|
+
cursor: default;
|
|
10
|
+
}
|
|
11
|
+
|
|
9
12
|
&:not(:disabled):not(.chip-primary):not(.chip-secondary) {
|
|
10
13
|
&.selected,
|
|
11
14
|
&:hover,
|
|
@@ -39,3 +42,15 @@
|
|
|
39
42
|
cursor: default;
|
|
40
43
|
}
|
|
41
44
|
}
|
|
45
|
+
|
|
46
|
+
a.chip,
|
|
47
|
+
.chip:has(a),
|
|
48
|
+
a .chip {
|
|
49
|
+
&:hover {
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
a:has(.chip):hover {
|
|
55
|
+
cursor: default;
|
|
56
|
+
}
|
package/src/theme/site.scss
CHANGED
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
@import 'ItaliaTheme/Components/sideMenu';
|
|
42
42
|
@import 'ItaliaTheme/Components/loginAgid';
|
|
43
43
|
@import 'ItaliaTheme/Components/pager';
|
|
44
|
+
@import 'ItaliaTheme/Components/navigation';
|
|
44
45
|
@import 'ItaliaTheme/Blocks/subblocks-edit';
|
|
45
46
|
@import 'ItaliaTheme/Blocks/listing';
|
|
46
47
|
@import 'ItaliaTheme/Blocks/tableOfContents';
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
@import 'ItaliaTheme/Blocks/iconBlocks';
|
|
54
55
|
@import 'ItaliaTheme/Blocks/imageBlock';
|
|
55
56
|
@import 'ItaliaTheme/Blocks/searchSections';
|
|
56
|
-
@import 'ItaliaTheme/Blocks/
|
|
57
|
+
@import 'ItaliaTheme/Blocks/cardWithImage';
|
|
57
58
|
@import 'ItaliaTheme/Blocks/cardWithImageTextBlock';
|
|
58
59
|
@import 'ItaliaTheme/Blocks/cardWithSlideUpTextTemplate';
|
|
59
60
|
@import 'ItaliaTheme/Blocks/smallblockLinkstemplate';
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
@import 'ItaliaTheme/Blocks/squaresImageTemplate';
|
|
62
63
|
@import 'ItaliaTheme/Blocks/photogallerytemplate';
|
|
63
64
|
@import 'ItaliaTheme/Blocks/sliderTemplate';
|
|
64
|
-
@import 'ItaliaTheme/Blocks/
|
|
65
|
+
@import 'ItaliaTheme/Blocks/inEvidenceTemplate';
|
|
65
66
|
@import 'ItaliaTheme/Blocks/contentInEvidenceTemplate';
|
|
66
67
|
@import 'ItaliaTheme/Blocks/mapTemplate';
|
|
67
68
|
@import 'ItaliaTheme/Blocks/bandiInEvidenceTemplate';
|
|
@@ -134,6 +135,7 @@
|
|
|
134
135
|
@import 'ItaliaTheme/Components/navscroll';
|
|
135
136
|
@import 'ItaliaTheme/Components/customerSatisfaction';
|
|
136
137
|
@import 'ItaliaTheme/Print/all_pages';
|
|
138
|
+
@import 'ItaliaTheme/Print/page';
|
|
137
139
|
@import 'ItaliaTheme/Print/news_items';
|
|
138
140
|
@import 'ItaliaTheme/Print/bandi';
|
|
139
141
|
@import 'ItaliaTheme/Print/persona';
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
2
|
-
|
|
3
|
-
export default function NextArrow(props) {
|
|
4
|
-
const { className, style, onClick } = props;
|
|
5
|
-
return (
|
|
6
|
-
<div className={className} style={{ ...style }} onClick={onClick}>
|
|
7
|
-
<Icon icon="chevron-right" key="chevron-right" />
|
|
8
|
-
</div>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme';
|
|
2
|
-
|
|
3
|
-
export default function PrevArrow(props) {
|
|
4
|
-
const { className, style, onClick } = props;
|
|
5
|
-
return (
|
|
6
|
-
<div className={className} style={{ ...style }} onClick={onClick}>
|
|
7
|
-
<Icon icon="chevron-left" key="chevron-left-prev" />
|
|
8
|
-
</div>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.in-evidence {
|
|
2
|
-
.in-evidence-cards-wrapper {
|
|
3
|
-
display: -ms-grid;
|
|
4
|
-
display: grid;
|
|
5
|
-
gap: 1.3rem;
|
|
6
|
-
-ms-grid-columns: 1fr 1.3rem 1fr 1.3rem 1fr;
|
|
7
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.card-wrapper {
|
|
11
|
-
&:first-child {
|
|
12
|
-
grid-column: 1;
|
|
13
|
-
grid-row: 1 / 3;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// smartphone
|
|
18
|
-
@media (max-width: 585px) {
|
|
19
|
-
.in-evidence-cards-wrapper {
|
|
20
|
-
.card-wrapper {
|
|
21
|
-
width: 100%;
|
|
22
|
-
margin: 0px;
|
|
23
|
-
}
|
|
24
|
-
display: block;
|
|
25
|
-
height: 100%;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
// tablet
|
|
29
|
-
@media (max-width: 1367px) and (min-width: 586px) {
|
|
30
|
-
.in-evidence-cards-wrapper {
|
|
31
|
-
grid-template-columns: auto auto;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|