design-comuni-plone-theme 11.24.0 → 11.24.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/.github/workflows/npm.yml +1 -1
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +29 -0
- package/RELEASE.md +0 -4
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/customizations/volto/components/theme/View/LinkView.jsx +4 -4
- package/src/theme/ItaliaTheme/Blocks/common/_searchBlockFilters.scss +10 -4
- package/src/theme/ItaliaTheme/Widgets/_reactSelect.scss +5 -2
- package/src/theme/ItaliaTheme/_common.scss +5 -3
- package/src/theme/_site-variables.scss +1 -1
- package/src/theme/bootstrap-override/bootstrap-italia/_focus.scss +5 -2
- package/src/theme/bootstrap-override/bootstrap-italia/_headercenter.scss +5 -2
|
@@ -36,7 +36,7 @@ jobs:
|
|
|
36
36
|
run: |
|
|
37
37
|
curl --fail --request POST \
|
|
38
38
|
--form token=${{ secrets.TOKEN }} \
|
|
39
|
-
--form ref=
|
|
39
|
+
--form ref=3.2.x \
|
|
40
40
|
--form "variables[ADDON_NAME]=design-comuni-plone-theme" \
|
|
41
41
|
--form "variables[ADDON_TAG]=${{ steps.get_version.outputs.VERSION }}" \
|
|
42
42
|
"https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline"
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.24.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.24.1...v11.24.2) (2024-10-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* do not break LinkView for anonymous users ([#786](https://github.com/RedTurtle/design-comuni-plone-theme/issues/786)) ([a45b7e6](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a45b7e6f9f376526e4e382988371ff46bcb6899e))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
* updated publiccode ([ade6642](https://github.com/RedTurtle/design-comuni-plone-theme/commit/ade66429389d5632b9071a687e2f8fe25b2b84f1))
|
|
14
|
+
|
|
15
|
+
## [11.24.1](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.24.0...v11.24.1) (2024-10-09)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* changed double focus to outline and box-shadow ([#785](https://github.com/RedTurtle/design-comuni-plone-theme/issues/785)) ([1e890b5](https://github.com/RedTurtle/design-comuni-plone-theme/commit/1e890b5b8748d7a0a12703fa39a2d4fec4dc2f23))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Maintenance
|
|
24
|
+
|
|
25
|
+
* fixed io-comune release script ([150c0bb](https://github.com/RedTurtle/design-comuni-plone-theme/commit/150c0bba50bb501f463cdbcf931587dfc0087443))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Documentation
|
|
29
|
+
|
|
30
|
+
* cleaned up release log ([5423dfe](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5423dfe2480689de9f10a531dcc12046cc0de123))
|
|
31
|
+
|
|
3
32
|
## [11.24.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.23.2...v11.24.0) (2024-10-03)
|
|
4
33
|
|
|
5
34
|
|
package/RELEASE.md
CHANGED
|
@@ -58,10 +58,6 @@
|
|
|
58
58
|
|
|
59
59
|
- Gli utenti SPID vengono ora direttamente rediretti al link finale quando viene utilizzato un CT di tipo Collegamento
|
|
60
60
|
|
|
61
|
-
### Novità
|
|
62
|
-
|
|
63
|
-
- ...
|
|
64
|
-
|
|
65
61
|
### Fix
|
|
66
62
|
|
|
67
63
|
- L'assegnazione dei ruoli nella vista gruppi funziona correttamente per tutti i gruppi di utenti.
|
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: '2024-10-
|
|
230
|
+
releaseDate: '2024-10-16'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.24.
|
|
232
|
+
softwareVersion: 11.24.2
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -13,12 +13,12 @@ import config from '@plone/volto/registry';
|
|
|
13
13
|
|
|
14
14
|
const LinkView = ({ token, content }) => {
|
|
15
15
|
const history = useHistory();
|
|
16
|
-
const
|
|
17
|
-
|
|
16
|
+
const userWithoutRoles = useSelector((state) =>
|
|
17
|
+
state.users?.user ? state.users.user?.roles?.length === 0 : true,
|
|
18
18
|
);
|
|
19
19
|
|
|
20
20
|
useEffect(() => {
|
|
21
|
-
if (!token ||
|
|
21
|
+
if (!token || userWithoutRoles) {
|
|
22
22
|
const { remoteUrl } = content;
|
|
23
23
|
if (isInternalURL(remoteUrl)) {
|
|
24
24
|
history.replace(flattenToAppURL(remoteUrl));
|
|
@@ -26,7 +26,7 @@ const LinkView = ({ token, content }) => {
|
|
|
26
26
|
window.location.href = flattenToAppURL(remoteUrl);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
}, [content, history, token,
|
|
29
|
+
}, [content, history, token, userWithoutRoles]);
|
|
30
30
|
const { title, description, remoteUrl } = content;
|
|
31
31
|
const { openExternalLinkInNewTab } = config.settings;
|
|
32
32
|
const Container =
|
|
@@ -15,8 +15,11 @@
|
|
|
15
15
|
min-width: 150px;
|
|
16
16
|
|
|
17
17
|
&:focus-within {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
19
|
+
outline-offset: 2px;
|
|
20
|
+
|
|
21
|
+
border: none !important;
|
|
22
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
.react-select__control {
|
|
@@ -58,8 +61,11 @@
|
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
&.DateInput_input__focused {
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
65
|
+
outline-offset: 2px;
|
|
66
|
+
|
|
67
|
+
border: none !important;
|
|
68
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
63
69
|
}
|
|
64
70
|
}
|
|
65
71
|
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
.react-select__control,
|
|
21
21
|
.react-select__control:hover {
|
|
22
22
|
&.react-select__control--is-focused {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
24
|
+
outline-offset: 2px;
|
|
25
|
+
|
|
26
|
+
border: none !important;
|
|
27
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
25
28
|
}
|
|
26
29
|
}
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
button.btn,
|
|
8
8
|
button.rounded-right {
|
|
9
9
|
&:focus {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
11
|
+
outline-offset: 2px;
|
|
12
|
+
|
|
13
|
+
border: none !important;
|
|
14
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
:focus:not(.focus--mouse),
|
|
2
2
|
%focus {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
4
|
+
outline-offset: 2px;
|
|
5
|
+
|
|
6
|
+
border: none !important;
|
|
7
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
5
8
|
}
|
|
6
9
|
|
|
7
10
|
.skiplinks a:focus:not(.focus--mouse) {
|
|
@@ -18,8 +18,11 @@
|
|
|
18
18
|
border: $header-center-bg-color 2px solid !important;
|
|
19
19
|
|
|
20
20
|
&:focus {
|
|
21
|
-
outline:
|
|
22
|
-
|
|
21
|
+
outline: 2px solid $outer-focus-outline !important;
|
|
22
|
+
outline-offset: 2px;
|
|
23
|
+
|
|
24
|
+
border: none !important;
|
|
25
|
+
box-shadow: 0 0 0 2px $inner-focus-shadow !important;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
}
|