design-comuni-plone-theme 8.7.6 → 8.7.8
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 +23 -0
- package/RELEASE.md +11 -1
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Icons/Icon.jsx +5 -1
- package/src/components/ItaliaTheme/Icons/svg/XTwitterSVG.jsx +18 -0
- package/src/theme/ItaliaTheme/Blocks/_calendar.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_sharing.scss +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [8.7.8](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.7...v8.7.8) (2023-10-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* avoid overlay of link more and dots in Calendar block ([d063a29](https://github.com/redturtle/design-comuni-plone-theme/commit/d063a294ebef9d4d5c87c2fc82893afc318518b7))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Maintenance
|
|
12
|
+
|
|
13
|
+
* preparing release 8..7.8 ([b60c3d0](https://github.com/redturtle/design-comuni-plone-theme/commit/b60c3d0b63145bc07980c6f68ca9c9ac90be6d51))
|
|
14
|
+
* updated RELEASE.md ([e63045c](https://github.com/redturtle/design-comuni-plone-theme/commit/e63045c466b68e5fabde864e790007f55901bb57))
|
|
15
|
+
|
|
16
|
+
## [8.7.7](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.6...v8.7.7) (2023-10-12)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Maintenance
|
|
20
|
+
|
|
21
|
+
* preparing release 8.7.7 ([1136269](https://github.com/redturtle/design-comuni-plone-theme/commit/1136269c2afd1de887d44c96edbe1fffcbdb990e))
|
|
22
|
+
* 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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
3
26
|
## [8.7.6](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.5...v8.7.6) (2023-10-09)
|
|
4
27
|
|
|
5
28
|
|
package/RELEASE.md
CHANGED
|
@@ -30,7 +30,17 @@
|
|
|
30
30
|
- ...
|
|
31
31
|
-->
|
|
32
32
|
|
|
33
|
-
## Versione
|
|
33
|
+
## Versione 8.7.8 (12/10/2023)
|
|
34
|
+
|
|
35
|
+
### Fix
|
|
36
|
+
|
|
37
|
+
- Nel blocco Calendario, è stata sistemata la sovrapposizione dei pallini di navigazione con il pulsante per il link agli approfondimenti
|
|
38
|
+
|
|
39
|
+
## Versione 8.7.7 (12/10/2023)
|
|
40
|
+
|
|
41
|
+
### Migliorie
|
|
42
|
+
|
|
43
|
+
- Aggiornata nuova icona di Twitter
|
|
34
44
|
|
|
35
45
|
### Fix
|
|
36
46
|
|
package/package.json
CHANGED
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-
|
|
230
|
+
releaseDate: '2023-10-12'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 8.7.
|
|
232
|
+
softwareVersion: 8.7.8
|
|
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
|
-
|
|
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;
|
|
@@ -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
|
}
|