svelte-common 5.2.0 → 5.2.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": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -133,6 +133,7 @@ export class Pagination {
133
133
  a.innerText = innerText;
134
134
  if (targetPage === this.page) {
135
135
  a.disabled = true;
136
+ a.classList.add("active");
136
137
  a.setAttribute("aria-current", "page");
137
138
  } else {
138
139
  a.onclick = () => (this.page = targetPage);
@@ -167,4 +168,6 @@ export class Pagination {
167
168
 
168
169
  export function pageNavigation(elem, pg) {
169
170
  elem.replaceChildren(pg.pageNavigationElement);
171
+
172
+ // TODO destroy
170
173
  }