svelte-common 6.4.0 → 6.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,7 +41,7 @@
41
41
  "preview": "vite preview"
42
42
  },
43
43
  "dependencies": {
44
- "svelte-command": "^1.1.44",
44
+ "svelte-command": "^1.1.45",
45
45
  "svelte-entitlement": "^1.2.59"
46
46
  },
47
47
  "devDependencies": {
@@ -147,10 +147,10 @@ export class Pagination {
147
147
  */
148
148
  get pageNavigationElement() {
149
149
  const nav = document.createElement("nav");
150
+ nav.setAttribute("tabindex", "0");
150
151
  nav.setAttribute("aria-label", "pagination");
151
152
 
152
- // TODO attach to nav ?
153
- window.onkeyup = event => {
153
+ nav.onkeyup = event => {
154
154
  switch(event.key) {
155
155
  case 'ArrowLeft': this.page = this.page - 1;
156
156
  break;