design-comuni-plone-theme 8.2.0 → 8.2.1
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 +13 -0
- package/README.md +1 -0
- package/package.json +1 -1
- package/publiccode.yml +3 -2
- package/src/config/RichTextEditor/LinkEntity.jsx +11 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [8.2.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.2.0...v8.2.1) (2023-07-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix LinkEntity error on create link in WysWidget and in edit ([ce16c45](https://github.com/redturtle/design-comuni-plone-theme/commit/ce16c45f0894ce1853f0185c859f85d82ec2d847))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* updated publiccode ([d6affcf](https://github.com/redturtle/design-comuni-plone-theme/commit/d6affcf7f1241c4d338e40907747f93c57716343))
|
|
14
|
+
* updated publiccode ([12ce260](https://github.com/redturtle/design-comuni-plone-theme/commit/12ce2605354b0a380ce83d0285e33e1b75bdb5a8))
|
|
15
|
+
|
|
3
16
|
## [8.2.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.1.0...v8.2.0) (2023-07-26)
|
|
4
17
|
|
|
5
18
|
|
package/README.md
CHANGED
|
@@ -74,6 +74,7 @@ Si veda ad esempio:
|
|
|
74
74
|
- [Comune di Canossa](https://www.comune.canossa.re.it/)
|
|
75
75
|
- [Comune di Cantagallo](https://www.comune.cantagallo.po.it/)
|
|
76
76
|
- [Comune di Cavriago](https://www.comune.cavriago.re.it/)
|
|
77
|
+
- [Comune di Gattatico](https://www.comune.gattatico.re.it/)
|
|
77
78
|
- [Comune di Imola](https://www.comune.imola.bo.it)
|
|
78
79
|
- [Comune di Medolla](https://www.comune.medolla.mo.it/)
|
|
79
80
|
- [Comune di Mirandola](https://www.comune.mirandola.mo.it/)
|
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-07-
|
|
230
|
+
releaseDate: '2023-07-27'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 8.
|
|
232
|
+
softwareVersion: 8.2.1
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -247,6 +247,7 @@ usedBy:
|
|
|
247
247
|
- Comune di Camposanto
|
|
248
248
|
- Comune di Cantagallo
|
|
249
249
|
- Comune di Cavriago
|
|
250
|
+
- Comune di Gattatico
|
|
250
251
|
- Comune di Imola
|
|
251
252
|
- Comune di Medolla
|
|
252
253
|
- Comune di Mirandola
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { connect } from 'react-redux';
|
|
3
3
|
import UniversalLink from '@plone/volto/components/manage/UniversalLink/UniversalLink';
|
|
4
|
+
import { IntlProvider } from 'react-intl';
|
|
4
5
|
|
|
5
6
|
const LinkEntity = connect((state) => ({
|
|
6
7
|
token: state.userSession.token,
|
|
@@ -10,14 +11,16 @@ const LinkEntity = connect((state) => ({
|
|
|
10
11
|
const to = token ? url : targetUrl || url;
|
|
11
12
|
|
|
12
13
|
return (
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
<IntlProvider>
|
|
15
|
+
<UniversalLink
|
|
16
|
+
href={to}
|
|
17
|
+
openLinkInNewTab={target === '_blank' || undefined}
|
|
18
|
+
download={download}
|
|
19
|
+
data-element={dataElement || props['data-element'] || null}
|
|
20
|
+
>
|
|
21
|
+
{children}
|
|
22
|
+
</UniversalLink>
|
|
23
|
+
</IntlProvider>
|
|
21
24
|
);
|
|
22
25
|
});
|
|
23
26
|
|