svelte-common 6.1.0 → 6.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-common",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -48,7 +48,7 @@
48
48
  "ava": "^5.3.1",
49
49
  "c8": "^8.0.0",
50
50
  "documentation": "^14.0.2",
51
- "mf-styling": "^2.0.1",
51
+ "mf-styling": "^2.0.2",
52
52
  "npm-pkgbuild": "^11.8.14",
53
53
  "semantic-release": "^21.0.7",
54
54
  "stylelint": "^15.10.1",
@@ -1,4 +1,3 @@
1
- import { filter } from "./filter.mjs";
2
1
 
3
2
  /**
4
3
  * Pagination support store.
@@ -146,10 +145,10 @@ export class Pagination {
146
145
  a.innerText = innerText;
147
146
 
148
147
  if (targetPage < 1 || targetPage > np) {
149
- a.disabled = true;
148
+ a.ariaDisabled = "true";
150
149
  } else {
151
150
  if (targetPage === this.page) {
152
- a.disabled = true;
151
+ a.ariaDisabled = "true";
153
152
  a.classList.add("active");
154
153
  a.setAttribute("aria-current", "page");
155
154
  } else {