@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 CHANGED
@@ -1,9 +1,8 @@
1
- ## 7.6.5 (2025-12-08)
1
+ ## 7.6.6 (2026-01-13)
2
2
 
3
3
  ### Bugfix
4
4
 
5
- - Add classname for unauthorized page. Update Volto 18.30.1. @sneridagh
6
- - Cross language support for blocks chooser search. Fixed highlight block ENTER, create a new block consistently. Update highlight block to 4.5.1. Update Volto 18.30.0. @sneridagh
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.5",
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.5.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) triggerNavigation();
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) => {
@@ -10,7 +10,7 @@ body.cms-ui .sticky-menu {
10
10
  transform: translateY(-50%);
11
11
  transition: all 0.2s linear;
12
12
 
13
- @media (min-height: 920px) {
13
+ @media (min-height: 969px) {
14
14
  top: 373px;
15
15
  transform: none;
16
16
  }