@htmlbricks/hb-paginate 0.71.1 → 0.71.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/manifest.json CHANGED
@@ -26,6 +26,11 @@
26
26
  "type": "string"
27
27
  },
28
28
  "sort_direction": {
29
+ "enum": [
30
+ "asc",
31
+ "desc",
32
+ "default"
33
+ ],
29
34
  "type": "string"
30
35
  }
31
36
  },
@@ -480,7 +485,7 @@
480
485
  }
481
486
  }
482
487
  ],
483
- "iifeIntegrity": "sha384-u8Moi7SIet+fqSNZUg8NP/alA16IgOV47pz3xF0rrSo2kgQXepoQpfZHGab77TX2",
488
+ "iifeIntegrity": "sha384-VbOYZwOBAkymnij9XXGYeSVDgwnwrFQ+w5M+etbII92sK/ec5hzmeKaYTjtphYic",
484
489
  "dependencies": [
485
490
  {
486
491
  "name": "hb-input-number",
@@ -510,5 +515,5 @@
510
515
  "size": {},
511
516
  "iifePath": "main.iife.js",
512
517
  "repoName": "@htmlbricks/hb-paginate",
513
- "version": "0.71.1"
518
+ "version": "0.71.2"
514
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-paginate",
3
- "version": "0.71.1",
3
+ "version": "0.71.2",
4
4
  "contributors": [],
5
5
  "description": "Pagination bar with first/prev/next/last and nearby page buttons, optional “showing X–Y of total” text, configurable page-size input or select, and optional sort field and direction controls with i18n labels.",
6
6
  "licenses": [
@@ -33,5 +33,5 @@ export type Component = {
33
33
  export type Events = {
34
34
  pageChange: { page: number; pages: number };
35
35
  changePageSize: { page_size: number };
36
- changeSort: { sort_by: string; sort_direction: string };
36
+ changeSort: { sort_by: string; sort_direction: "asc" | "desc" | "default" };
37
37
  };
@@ -24,6 +24,11 @@
24
24
  "type": "string"
25
25
  },
26
26
  "sort_direction": {
27
+ "enum": [
28
+ "asc",
29
+ "desc",
30
+ "default"
31
+ ],
27
32
  "type": "string"
28
33
  }
29
34
  },