svelte-common 6.1.1 → 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.1",
3
+ "version": "6.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -145,10 +145,10 @@ export class Pagination {
145
145
  a.innerText = innerText;
146
146
 
147
147
  if (targetPage < 1 || targetPage > np) {
148
- a.disabled = true;
148
+ a.ariaDisabled = "true";
149
149
  } else {
150
150
  if (targetPage === this.page) {
151
- a.disabled = true;
151
+ a.ariaDisabled = "true";
152
152
  a.classList.add("active");
153
153
  a.setAttribute("aria-current", "page");
154
154
  } else {