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 +2 -2
- package/src/pagination.mjs +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-common",
|
|
3
|
-
"version": "6.1.
|
|
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.
|
|
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",
|
package/src/pagination.mjs
CHANGED
|
@@ -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.
|
|
148
|
+
a.ariaDisabled = "true";
|
|
150
149
|
} else {
|
|
151
150
|
if (targetPage === this.page) {
|
|
152
|
-
a.
|
|
151
|
+
a.ariaDisabled = "true";
|
|
153
152
|
a.classList.add("active");
|
|
154
153
|
a.setAttribute("aria-current", "page");
|
|
155
154
|
} else {
|