io-sanita-theme 2.16.0 → 2.16.2
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,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.16.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.16.1...2.16.2) (2025-06-03)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* handle anchor scroll ([811d25e](https://github.com/RedTurtle/io-sanita-theme/commit/811d25edfcad740736a6c6b817b8de273d9d237f))
|
|
8
|
+
* package.json ([7bae896](https://github.com/RedTurtle/io-sanita-theme/commit/7bae896304e3e00242708f8550abcc5bd0708c5f))
|
|
9
|
+
* package.json ([691c676](https://github.com/RedTurtle/io-sanita-theme/commit/691c676da09e736f2771a7de12904e62ce35ba15))
|
|
10
|
+
|
|
11
|
+
## [2.16.1](https://github.com/RedTurtle/io-sanita-theme/compare/2.16.0...2.16.1) (2025-05-27)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* fixed control panel style ([19e3d9c](https://github.com/RedTurtle/io-sanita-theme/commit/19e3d9c20c5073b315fdb9e91936f0882dbf0f68))
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
* updated release.md ([158be7d](https://github.com/RedTurtle/io-sanita-theme/commit/158be7d7a680ad93b7a38e7432891c27c01cc196))
|
|
20
|
+
|
|
3
21
|
## [2.16.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.15.0...2.16.0) (2025-05-22)
|
|
4
22
|
|
|
5
23
|
### Features
|
package/RELEASE.md
CHANGED
package/package.json
CHANGED
package/publiccode.yml
CHANGED
|
@@ -1,14 +1,23 @@
|
|
|
1
|
-
publiccodeYmlVersion: "0.4"
|
|
1
|
+
publiccodeYmlVersion: "0.4.0"
|
|
2
2
|
name: io-Sanità - il sito web per ASL e strutture sanitarie
|
|
3
3
|
applicationSuite: io-Sanità
|
|
4
4
|
url: https://github.com/RedTurtle/io-sanita-theme
|
|
5
5
|
landingURL: https://www.io-sanita.it/
|
|
6
|
-
logo:
|
|
6
|
+
logo: docs/logo.png
|
|
7
7
|
platforms:
|
|
8
8
|
- web
|
|
9
9
|
categories:
|
|
10
10
|
- website-builder
|
|
11
11
|
- content-management
|
|
12
|
+
dependsOn:
|
|
13
|
+
open:
|
|
14
|
+
- name: nodejs
|
|
15
|
+
versionMin: '20'
|
|
16
|
+
- name: Python
|
|
17
|
+
versionMin: '3.11'
|
|
18
|
+
- name: Docker
|
|
19
|
+
versionMin: '18.03'
|
|
20
|
+
optional: true
|
|
12
21
|
usedBy:
|
|
13
22
|
- AUSL Ferrara
|
|
14
23
|
developmentStatus: stable
|
|
@@ -90,11 +99,16 @@ description:
|
|
|
90
99
|
- Possibili connessioni con applicazioni e sistemi aziendali standard come
|
|
91
100
|
CRM e integrabile con web service, database SQL e NoSQL.
|
|
92
101
|
screenshots:
|
|
93
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
102
|
+
- docs/01-io-sanita.png
|
|
103
|
+
- docs/io-sanita-02.png
|
|
104
|
+
- docs/io-sanita-03.png
|
|
96
105
|
legal:
|
|
97
106
|
license: LGPL-3.0-only
|
|
107
|
+
intendedAudience:
|
|
108
|
+
scope:
|
|
109
|
+
- local-authorities
|
|
110
|
+
- government
|
|
111
|
+
- healthcare
|
|
98
112
|
maintenance:
|
|
99
113
|
type: internal
|
|
100
114
|
contacts:
|
|
@@ -106,4 +120,9 @@ localisation:
|
|
|
106
120
|
localisationReady: true
|
|
107
121
|
availableLanguages:
|
|
108
122
|
- it
|
|
109
|
-
|
|
123
|
+
it:
|
|
124
|
+
conforme:
|
|
125
|
+
modelloInteroperabilita: true
|
|
126
|
+
gdpr: true
|
|
127
|
+
lineeGuidaDesign: true
|
|
128
|
+
misureMinimeSicurezza: true
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import React, { useEffect } from 'react';
|
|
2
2
|
import { useLocation } from 'react-router-dom';
|
|
3
|
+
import { scrollIntoView, getMainOffset } from 'io-sanita-theme/helpers';
|
|
3
4
|
|
|
4
5
|
const HandleAnchor = () => {
|
|
5
6
|
const location = useLocation();
|
|
6
7
|
useEffect(() => {
|
|
7
8
|
if (location.hash) {
|
|
8
9
|
// eslint-disable-next-line no-unused-expressions
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const _id = location.hash.replace('#', '');
|
|
11
|
+
const ref = document.querySelector('#' + _id);
|
|
12
|
+
ref.focus();
|
|
13
|
+
|
|
14
|
+
setTimeout(() => {
|
|
15
|
+
scrollIntoView({ ref });
|
|
16
|
+
}, 30);
|
|
14
17
|
}
|
|
15
18
|
}, [location]);
|
|
16
19
|
return <></>;
|
package/src/theme/_cms-ui.scss
CHANGED