design-comuni-plone-theme 8.7.5 → 8.7.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
+ ## [8.7.7](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.6...v8.7.7) (2023-10-12)
1
2
 
2
3
 
4
+ ### Maintenance
5
+
6
+ * preparing release 8.7.7 ([1136269](https://github.com/redturtle/design-comuni-plone-theme/commit/1136269c2afd1de887d44c96edbe1fffcbdb990e))
7
+ * updated twitter icon ([#361](https://github.com/redturtle/design-comuni-plone-theme/issues/361)) ([ce75b74](https://github.com/redturtle/design-comuni-plone-theme/commit/ce75b74e5d2b7eccdb56456f7b474184483d3035))
8
+
9
+
10
+
11
+ ## [8.7.6](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.5...v8.7.6) (2023-10-09)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * allineamento testo blocco elenco quadratoni ([#353](https://github.com/redturtle/design-comuni-plone-theme/issues/353)) ([79bdf64](https://github.com/redturtle/design-comuni-plone-theme/commit/79bdf64f0fff59dde7f31a573a0678d6f6e0331b))
17
+
18
+
19
+ ### Maintenance
20
+
21
+ * preparing release 8.7.6 ([6a2c6a9](https://github.com/redturtle/design-comuni-plone-theme/commit/6a2c6a9405cc44f17c8a06cc198fc8490ddc6e6f))
22
+ * updated volto-data-grid-widget 2.2.3 ([47a6171](https://github.com/redturtle/design-comuni-plone-theme/commit/47a61712a6074c2b699bdddde90b4f489c3bc3d9))
23
+
3
24
  ## [8.7.5](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.4...v8.7.5) (2023-10-05)
4
25
 
5
26
 
package/RELEASE.md CHANGED
@@ -30,6 +30,16 @@
30
30
  - ...
31
31
  -->
32
32
 
33
+ ## Versione 8.7.7 (12/10/2023)
34
+
35
+ ### Migliorie
36
+
37
+ - Aggiornata nuova icona di Twitter
38
+
39
+ ### Fix
40
+
41
+ - Uniformato e impostato a sinistra l'allineamento del testo nel blocco Elenco nella variazione Quadratoni con immagine
42
+
33
43
  ## Versione 8.7.3 (26/09/2023)
34
44
 
35
45
  ### 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": "8.7.5",
5
+ "version": "8.7.7",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
@@ -130,7 +130,7 @@
130
130
  "typeface-roboto-mono": "0.0.75",
131
131
  "typeface-titillium-web": "0.0.72",
132
132
  "volto-blocks-widget": "3.1.0",
133
- "volto-data-grid-widget": "2.2.2",
133
+ "volto-data-grid-widget": "2.2.3",
134
134
  "volto-dropdownmenu": "4.1.0",
135
135
  "volto-editablefooter": "5.0.1",
136
136
  "volto-feedback": "0.1.5",
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-10-05'
230
+ releaseDate: '2023-10-12'
231
231
  softwareType: standalone/web
232
- softwareVersion: 8.7.5
232
+ softwareVersion: 8.7.7
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -7,6 +7,7 @@ import classNames from 'classnames';
7
7
 
8
8
  import DesignIcon from './DesignIcon';
9
9
  import TelegramSVG from './svg/TelegramSVG';
10
+ import XTwitterSVG from './svg/XTwitterSVG';
10
11
  import { FontAwesomeIcon } from 'design-comuni-plone-theme/components/ItaliaTheme';
11
12
 
12
13
  const Icon = (props) => {
@@ -25,10 +26,13 @@ const Icon = (props) => {
25
26
 
26
27
  const parts = icon.split(' ');
27
28
 
28
- if (icon.indexOf('it-') === 0) {
29
+ // TO DO: rimuovere le condizioni dell'icona di twitter quando verrà aggiornato Bootstrap Italia
30
+ if (icon.indexOf('it-') === 0 && icon !== 'it-twitter') {
29
31
  return <DesignIcon {...props} className={classes} {...rest} />;
30
32
  } else if (icon === 'telegram') {
31
33
  return <TelegramSVG className={classes} {...rest} />;
34
+ } else if (icon === 'it-twitter') {
35
+ return <XTwitterSVG className={classes} {...rest} />;
32
36
  } else if (parts.length > 1) {
33
37
  return (
34
38
  <FontAwesomeIcon icon={parts} className={`fal ${classes}`} {...rest} />
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+
3
+ const XTwitterSVG = (props) => (
4
+ <svg
5
+ aria-hidden="true"
6
+ focusable="false"
7
+ data-prefix="fab"
8
+ data-icon="x-twitter"
9
+ {...props}
10
+ role="img"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ viewBox="0 0 496 512"
13
+ >
14
+ <path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z" />
15
+ </svg>
16
+ );
17
+
18
+ export default XTwitterSVG;
@@ -19,7 +19,9 @@
19
19
  position: relative;
20
20
  display: flex;
21
21
  height: 195px;
22
+ flex-direction: row;
22
23
  align-items: flex-end;
24
+ justify-content: left;
23
25
  padding: 1.2rem;
24
26
  text-decoration: none;
25
27
 
@@ -3,6 +3,7 @@
3
3
  .btn.dropdown-toggle {
4
4
  text-decoration: underline;
5
5
  }
6
+
6
7
  .link-list-wrapper {
7
8
  ul {
8
9
  li {
@@ -10,7 +11,10 @@
10
11
  button.btn-link {
11
12
  display: flex;
12
13
  align-items: center;
14
+
13
15
  .icon {
16
+ height: 28px;
17
+ width: 28px;
14
18
  margin-right: 0.5em;
15
19
  }
16
20
  }