design-comuni-plone-theme 11.12.0 → 11.12.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.
@@ -6,6 +6,9 @@ on:
6
6
  jobs:
7
7
  release_to_npm:
8
8
  runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: read
11
+ id-token: write
9
12
  steps:
10
13
  - uses: actions/checkout@v4
11
14
 
@@ -14,6 +17,8 @@ jobs:
14
17
  node-version: '18.x'
15
18
  registry-url: 'https://registry.npmjs.org'
16
19
 
20
+ - run: npm install -g npm
21
+
17
22
  - run: yarn
18
23
 
19
24
  - name: Release to npm
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
 
2
2
 
3
+ ## [11.12.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.12.0...v11.12.1) (2024-05-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * use UniversalLink in PageHeaderTassonomiaArgomenti ([690da33](https://github.com/redturtle/design-comuni-plone-theme/commit/690da33a5f568b177a9ac748af5a85da7520e314))
9
+
10
+
11
+ ### Maintenance
12
+
13
+ * fix npm release script ([bb652d7](https://github.com/redturtle/design-comuni-plone-theme/commit/bb652d717558f1541ad9c4d5250effe3adcd7f0a))
14
+
15
+
16
+ ### Documentation
17
+
18
+ * updated publiccode and release log ([1b3b3a9](https://github.com/redturtle/design-comuni-plone-theme/commit/1b3b3a9a28fb7ec31124fab06fec984000ad67ce))
19
+
3
20
  ## [11.12.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.11.2...v11.12.0) (2024-05-21)
4
21
 
5
22
 
package/RELEASE.md CHANGED
@@ -41,6 +41,12 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 11.12.1 (21/05/2024)
45
+
46
+ ### Migliorie
47
+
48
+ - Migliorate le performance di navigazione per alcuni link agli argomenti nella testata delle pagine.
49
+
44
50
  ## Versione 11.12.0 (21/05/2024)
45
51
 
46
52
  ### Migliorie
package/package.json CHANGED
@@ -2,8 +2,12 @@
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.0",
5
+ "version": "11.12.1",
6
6
  "main": "src/index.js",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/RedTurtle/design-comuni-plone-theme"
10
+ },
7
11
  "keywords": [
8
12
  "volto-addon",
9
13
  "volto",
package/publiccode.yml CHANGED
@@ -229,7 +229,7 @@ platforms:
229
229
  - web
230
230
  releaseDate: '2024-05-21'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.12.0
232
+ softwareVersion: 11.12.1
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -3,7 +3,7 @@ import { defineMessages, useIntl } from 'react-intl';
3
3
  import PropTypes from 'prop-types';
4
4
  import { Chip, ChipLabel } from 'design-react-kit';
5
5
 
6
- import { flattenToAppURL } from '@plone/volto/helpers';
6
+ import { UniversalLink } from '@plone/volto/components';
7
7
 
8
8
  /**
9
9
  * PageHeaderTassonomiaArgomenti view component class.
@@ -28,17 +28,16 @@ const PageHeaderTassonomiaArgomenti = ({ content }) => {
28
28
  <small>{intl.formatMessage(messages.topics)}</small>
29
29
  </h5>
30
30
  {content.tassonomia_argomenti.map((item, i) => (
31
- <a
32
- href={flattenToAppURL(item['@id'])}
31
+ <UniversalLink
32
+ item={item}
33
33
  key={item['@id']}
34
- title={item.title}
35
34
  className="text-decoration-none me-2 d-inline-block"
36
35
  data-element="service-topic"
37
36
  >
38
37
  <Chip color="primary" disabled={false} large={false} simple tag="div">
39
38
  <ChipLabel tag="span">{item.title}</ChipLabel>
40
39
  </Chip>
41
- </a>
40
+ </UniversalLink>
42
41
  ))}
43
42
  </div>
44
43
  ) : null;