bits-ui 1.0.0-next.36 → 1.0.0-next.37

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.
@@ -56,7 +56,7 @@ declare class PaginationPageState {
56
56
  constructor(props: PaginationPageStateProps, root: PaginationRootState);
57
57
  props: {
58
58
  readonly id: string;
59
- readonly "aria-label": `Page ${string}`;
59
+ readonly "aria-label": `Page ${number}`;
60
60
  readonly "data-value": `${number}`;
61
61
  readonly "data-selected": "" | undefined;
62
62
  readonly "data-pagination-page": "";
@@ -119,7 +119,7 @@ class PaginationPageState {
119
119
  };
120
120
  props = $derived.by(() => ({
121
121
  id: this.#id.current,
122
- "aria-label": `Page ${this.page.current}`,
122
+ "aria-label": `Page ${this.page.current.value}`,
123
123
  "data-value": `${this.page.current.value}`,
124
124
  "data-selected": this.#isSelected ? "" : undefined,
125
125
  [PAGE_ATTR]: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bits-ui",
3
- "version": "1.0.0-next.36",
3
+ "version": "1.0.0-next.37",
4
4
  "license": "MIT",
5
5
  "repository": "github:huntabyte/bits-ui",
6
6
  "funding": "https://github.com/sponsors/huntabyte",