design-comuni-plone-theme 11.3.3 → 11.3.4

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.
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
 
2
2
 
3
+ ## [11.3.4](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.3...v11.3.4) (2024-01-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * focus when editing image blocks ([#500](https://github.com/redturtle/design-comuni-plone-theme/issues/500)) ([bdb53b9](https://github.com/redturtle/design-comuni-plone-theme/commit/bdb53b95b89a9f42a88b942434fce8d01cf45af0))
9
+ * set height for DocumentBody images ([#507](https://github.com/redturtle/design-comuni-plone-theme/issues/507)) ([80479ce](https://github.com/redturtle/design-comuni-plone-theme/commit/80479ce919da07bf6147fe2bd3038c875a5ff63f))
10
+ * updated volto-querywidget-with-browser ([#508](https://github.com/redturtle/design-comuni-plone-theme/issues/508)) ([a4285a9](https://github.com/redturtle/design-comuni-plone-theme/commit/a4285a9aef4cb832a17af1c906efb79caf129425))
11
+
12
+
13
+ ### Documentation
14
+
15
+ * updated publiccode ([c427aa4](https://github.com/redturtle/design-comuni-plone-theme/commit/c427aa42fed453e60cdd422b4d7f7ac1358834cf))
16
+
3
17
  ## [11.3.3](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.2...v11.3.3) (2024-01-30)
4
18
 
5
19
 
package/RELEASE.md CHANGED
@@ -43,6 +43,9 @@
43
43
 
44
44
  ## Versione 11.3.3 (30/01/2024)
45
45
 
46
+ ### Migliorie
47
+
48
+ - Migliorato il focus sulle immagini in edit del blocco Immagine quando queste sono allineate a sinistra o a destra.
46
49
  ### Fix
47
50
 
48
51
  - Sistemato il layout del blocco elenco per i Bandi
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.3.3",
5
+ "version": "11.3.4",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
@@ -150,7 +150,7 @@
150
150
  "volto-gdpr-privacy": "2.1.1",
151
151
  "volto-google-analytics": "2.0.0",
152
152
  "volto-multilingual-widget": "3.0.0",
153
- "volto-querywidget-with-browser": "0.4.0",
153
+ "volto-querywidget-with-browser": "0.4.1",
154
154
  "volto-rss-block": "3.0.0",
155
155
  "volto-secondarymenu": "4.0.0",
156
156
  "volto-social-settings": "3.0.0",
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-01-30'
230
+ releaseDate: '2024-01-31'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.3.3
232
+ softwareVersion: 11.3.4
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -31,6 +31,7 @@ const WideImage = ({
31
31
  critical
32
32
  loading="eager"
33
33
  sizes={sizes}
34
+ responsive={!fullWidth}
34
35
  />
35
36
  )}
36
37
  {caption && (
@@ -13,12 +13,105 @@
13
13
  }
14
14
  }
15
15
 
16
- &.left,
17
- &.right {
18
- margin-bottom: 0;
19
- }
20
-
21
16
  .external-link {
22
17
  display: none;
23
18
  }
19
+
20
+ &.align.left,
21
+ &.align.right {
22
+ img {
23
+ margin-bottom: 0.5rem;
24
+ }
25
+ }
26
+ }
27
+
28
+ .cms-ui {
29
+ .block.image:has(.align.left),
30
+ .block.image:has(.align.right) {
31
+ img.small,
32
+ img.medium,
33
+ img.large {
34
+ max-width: 100%;
35
+ }
36
+ }
37
+
38
+ .block-editor-image {
39
+ &.right,
40
+ &.left {
41
+ .ui.drag.block.image {
42
+ z-index: 99;
43
+ max-width: 50%;
44
+ margin-top: 0.2rem;
45
+ margin-bottom: 0.3rem;
46
+
47
+ .block.image,
48
+ .block.image img {
49
+ margin-bottom: 0;
50
+ }
51
+ }
52
+
53
+ &:has(img.small) {
54
+ .ui.drag.block.image {
55
+ max-width: 15%;
56
+ }
57
+ }
58
+
59
+ &:has(img.medium) {
60
+ .ui.drag.block.image {
61
+ max-width: 25%;
62
+ }
63
+ }
64
+
65
+ &:has(img.large) {
66
+ .ui.drag.block.image {
67
+ max-width: 50%;
68
+ }
69
+ }
70
+ }
71
+
72
+ /* Image right */
73
+ &.right {
74
+ .block.image {
75
+ float: right;
76
+ }
77
+
78
+ .ui.drag.block.image {
79
+ margin-left: 1rem;
80
+ }
81
+
82
+ .drag.handle.wrapper {
83
+ left: 50%;
84
+ }
85
+
86
+ /* Drag and drop icon position */
87
+ &:has(img.large) {
88
+ .drag.handle.wrapper {
89
+ left: 50%;
90
+ }
91
+ }
92
+
93
+ &:has(img.medium) {
94
+ .drag.handle.wrapper {
95
+ left: 75%;
96
+ }
97
+ }
98
+
99
+ &:has(img.small) {
100
+ .drag.handle.wrapper {
101
+ left: 85%;
102
+ }
103
+ }
104
+ }
105
+
106
+ /* Image left */
107
+ &.left {
108
+ .block.image {
109
+ float: left;
110
+ }
111
+
112
+ .ui.drag.block.image {
113
+ margin-right: 1.7rem;
114
+ }
115
+ }
116
+ }
24
117
  }
@@ -269,12 +269,6 @@ div.sticky-wrapper {
269
269
  }
270
270
  }
271
271
 
272
- .wide-image:not(.row-full-width) {
273
- img {
274
- max-width: 100%;
275
- }
276
- }
277
-
278
272
  .content-image {
279
273
  figure {
280
274
  width: 100%;