srcdev-nuxt-components 9.4.8 → 9.4.9

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.
@@ -57,8 +57,13 @@ watch(
57
57
  padding: var(--skip-links-padding, 0.2rem);
58
58
  margin: 0;
59
59
 
60
- /* Hidden off-screen via transform — does NOT break keyboard focusability */
60
+ /* Hidden off-screen via transform — does NOT break keyboard focusability. pointer-events is
61
+ off in this state too: translateY(-100%) puts this at the same position as .skip-links__home
62
+ (the homeLink slot), and opacity:0 alone doesn't stop it from catching hover/clicks meant
63
+ for whatever sits underneath it. Keyboard tab focus doesn't need pointer-events, so this
64
+ doesn't affect focusability. */
61
65
  opacity: 0;
66
+ pointer-events: none;
62
67
  transform: translateY(-100%);
63
68
  transition:
64
69
  transform var(--skip-links-transition-duration, 0.3s) ease-in-out,
@@ -66,6 +71,7 @@ watch(
66
71
 
67
72
  &:focus-within {
68
73
  opacity: 1;
74
+ pointer-events: auto;
69
75
  transform: translateY(0);
70
76
  }
71
77
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "9.4.8",
4
+ "version": "9.4.9",
5
5
  "main": "nuxt.config.ts",
6
6
  "types": "types.d.ts",
7
7
  "license": "MIT",