@kitconcept/volto-light-theme 7.6.5 → 7.6.6
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.draft +3 -4
- package/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/primitives/Card/Card.tsx +8 -2
- package/src/theme/sticky-menu.scss +1 -1
package/.changelog.draft
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
## 7.6.
|
|
1
|
+
## 7.6.6 (2026-01-13)
|
|
2
2
|
|
|
3
3
|
### Bugfix
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
- Fixed error on pressing ENTER in introduction block. Update add-on to 1.2.0. @sneridagh
|
|
5
|
+
- Fix sticky menu cut off at the bottom on smaller screens @iRohitSingh
|
|
6
|
+
- Fixed double navigation in cards that contains inner links in its body. @sneridagh
|
|
8
7
|
|
|
9
8
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 7.6.6 (2026-01-13)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Fix sticky menu cut off at the bottom on smaller screens @iRohitSingh
|
|
16
|
+
- Fixed double navigation in cards that contains inner links in its body. @sneridagh
|
|
17
|
+
|
|
11
18
|
## 7.6.5 (2025-12-08)
|
|
12
19
|
|
|
13
20
|
### Bugfix
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitconcept/volto-light-theme",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.6",
|
|
4
4
|
"description": "Volto Light Theme by kitconcept",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"release-it": "^19.0.3",
|
|
46
46
|
"typescript": "^5.7.3",
|
|
47
47
|
"vitest": "^3.1.2",
|
|
48
|
-
"@plone/types": "1.
|
|
48
|
+
"@plone/types": "1.6.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@dnd-kit/core": "6.0.8",
|
|
@@ -64,8 +64,14 @@ const Card = (props: CardProps) => {
|
|
|
64
64
|
|
|
65
65
|
const isInteractive = !!props.href || !!props.item;
|
|
66
66
|
|
|
67
|
-
const onClick: React.MouseEventHandler<HTMLDivElement> = () => {
|
|
68
|
-
if (isInteractive)
|
|
67
|
+
const onClick: React.MouseEventHandler<HTMLDivElement> = (e) => {
|
|
68
|
+
if (!isInteractive) return;
|
|
69
|
+
if (e.defaultPrevented) return;
|
|
70
|
+
if (e.target instanceof Element) {
|
|
71
|
+
const anchor = e.target.closest('a');
|
|
72
|
+
if (anchor && anchor !== linkRef.current) return;
|
|
73
|
+
}
|
|
74
|
+
triggerNavigation();
|
|
69
75
|
};
|
|
70
76
|
|
|
71
77
|
const onKeyDown: React.KeyboardEventHandler<HTMLDivElement> = (e) => {
|