design-comuni-plone-theme 11.12.5 → 11.12.7

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,29 @@
1
1
 
2
2
 
3
+ ## [11.12.7](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.6...v11.12.7) (2024-06-03)
4
+
5
+
6
+ ### Maintenance
7
+
8
+ * improve cors error logging ([b9d4513](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b9d4513d58101d13315a3cfc1a06cffecb3b0307))
9
+
10
+
11
+ ### Documentation
12
+
13
+ * updated publiccode ([a277894](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a27789465ba8a4f7214ddaf01181573a55ee3664))
14
+
15
+ ## [11.12.6](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.5...v11.12.6) (2024-05-30)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * applied img-wrapper styles to all html elements with class ([#688](https://github.com/RedTurtle/design-comuni-plone-theme/issues/688)) ([b66d5af](https://github.com/RedTurtle/design-comuni-plone-theme/commit/b66d5af94a754eaebc55336ad1c136611a9b01fe))
21
+
22
+
23
+ ### Documentation
24
+
25
+ * updated publiccode and release log ([6d86f99](https://github.com/RedTurtle/design-comuni-plone-theme/commit/6d86f99887b6622aa4f238a020d546fa8004eeb5))
26
+
3
27
  ## [11.12.5](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.12.4...v11.12.5) (2024-05-30)
4
28
 
5
29
 
package/RELEASE.md CHANGED
@@ -41,6 +41,12 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 11.12.6 (30/05/2024)
45
+
46
+ ### Fix
47
+
48
+ - Il layout delle card con immagini rimane corretto anche selezionando l'opzione "Non alterare le dimensioni naturali dell'immagine".
49
+
44
50
  ## Versione 11.12.5 (30/05/2024)
45
51
 
46
52
  ### Fix
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.12.5",
5
+ "version": "11.12.7",
6
6
  "main": "src/index.js",
7
7
  "repository": {
8
8
  "type": "git",
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-05-30'
230
+ releaseDate: '2024-06-03'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.12.5
232
+ softwareVersion: 11.12.7
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -38,14 +38,14 @@ const Error = (props) => {
38
38
  ...libs.map(([name, lib]) => ({ [name]: lib })),
39
39
  );
40
40
  class MaybeCorsError extends Error {
41
- constructor({ error, ...props }, ...args) {
41
+ constructor(...args) {
42
42
  super(...args);
43
43
  this.name = 'MaybeCorsError';
44
- this.error = error;
45
- this.props = props;
46
44
  }
47
45
  }
48
- libraries.Sentry.captureException(new MaybeCorsError(props, message));
46
+ libraries.Sentry.captureException(new MaybeCorsError(message), {
47
+ props,
48
+ });
49
49
  });
50
50
  };
51
51
 
@@ -222,35 +222,16 @@ class View extends Component {
222
222
  ...libs.map(([name, lib]) => ({ [name]: lib })),
223
223
  );
224
224
  class MaybeCorsError extends Error {
225
- constructor(
226
- {
227
- error,
228
- apiError,
229
- actions,
230
- token,
231
- content,
232
- connectionRefused,
233
- pathname,
234
- versionId,
235
- ...props
236
- },
237
- ...args
238
- ) {
225
+ constructor(...args) {
239
226
  super(...args);
240
227
  this.name = 'MaybeCorsError';
241
- this.error = error;
242
- this.apiError = apiError;
243
- this.actions = actions;
244
- this.token = token;
245
- this.content = content;
246
- this.connectionRefused = connectionRefused;
247
- this.pathname = pathname;
248
- this.versionId = versionId;
249
- this.props = props;
250
228
  }
251
229
  }
252
230
  libraries.Sentry.captureException(
253
- new MaybeCorsError(this.props, message),
231
+ new MaybeCorsError(message, {
232
+ props: this.props,
233
+ isAnonymous: !this.props.token,
234
+ }),
254
235
  );
255
236
  });
256
237
  };
@@ -39,7 +39,7 @@
39
39
  height: auto;
40
40
  padding: 0;
41
41
 
42
- figure.img-wrapper {
42
+ .img-wrapper {
43
43
  position: static;
44
44
  margin: 0;
45
45
  }
@@ -155,7 +155,7 @@
155
155
  height: auto;
156
156
  padding: 0;
157
157
 
158
- figure.img-wrapper {
158
+ .img-wrapper {
159
159
  position: static;
160
160
  margin: 0;
161
161
  }
@@ -80,7 +80,7 @@
80
80
  display: flex;
81
81
  }
82
82
 
83
- figure.img-wrapper,
83
+ .img-wrapper,
84
84
  picture {
85
85
  position: absolute;
86
86
  z-index: -1;
@@ -39,7 +39,7 @@
39
39
  height: auto;
40
40
  padding: 0;
41
41
 
42
- figure.img-wrapper {
42
+ .img-wrapper {
43
43
  position: static;
44
44
  margin: 0;
45
45
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  .single-slide {
9
- figure.img-wrapper {
9
+ .img-wrapper {
10
10
  height: auto;
11
11
  max-height: 500px;
12
12
 
@@ -16,7 +16,7 @@
16
16
  }
17
17
  }
18
18
 
19
- figure.img-wrapper {
19
+ .img-wrapper {
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
  justify-content: center;
@@ -55,7 +55,7 @@
55
55
  position: relative;
56
56
  margin: 0 auto;
57
57
 
58
- figure.img-wrapper {
58
+ .img-wrapper {
59
59
  position: relative;
60
60
  overflow: hidden;
61
61
  width: 100%;
@@ -129,7 +129,7 @@
129
129
 
130
130
  .slide-wrapper {
131
131
  .img-placeholder,
132
- figure.img-wrapper {
132
+ .img-wrapper {
133
133
  height: 300px;
134
134
 
135
135
  img {
@@ -214,7 +214,7 @@
214
214
  height: auto;
215
215
  padding: 0;
216
216
 
217
- figure.img-wrapper {
217
+ .img-wrapper {
218
218
  position: static;
219
219
  margin: 0;
220
220
  }
@@ -266,7 +266,7 @@
266
266
  .slick-slide {
267
267
  .slide-wrapper {
268
268
  .img-placeholder,
269
- figure.img-wrapper {
269
+ .img-wrapper {
270
270
  height: 150px;
271
271
 
272
272
  img {