@dt-dds/react-pagination 1.0.0-beta.42 → 1.0.0-beta.44

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @dt-ui/react-pagination
2
2
 
3
+ ## 1.0.0-beta.44
4
+
5
+ ### Patch Changes
6
+
7
+ - docs: pagination license reference
8
+
9
+ ## 1.0.0-beta.43
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: pagination button testid for current-page
14
+
3
15
  ## 1.0.0-beta.42
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -84,4 +84,4 @@ Follows [semantic versioning](https://semver.org/)
84
84
 
85
85
  ## © License
86
86
 
87
- Licensed under [MIT License](LICENSE.md)
87
+ Licensed under [MIT License](LICENSE)
package/dist/index.js CHANGED
@@ -368,7 +368,7 @@ var Pagination = ({
368
368
  $isActive: page === currentPage,
369
369
  "aria-current": page === currentPage ? "page" : void 0,
370
370
  "aria-label": `Go to page ${page}`,
371
- "data-testid": `pagination-page-${page}`,
371
+ "data-testid": page === currentPage ? "pagination-current-page" : `pagination-page-${page}`,
372
372
  onClick: () => handlePageChange(page),
373
373
  title: `Go to page ${page}`,
374
374
  children: page
package/dist/index.mjs CHANGED
@@ -327,7 +327,7 @@ var Pagination = ({
327
327
  $isActive: page === currentPage,
328
328
  "aria-current": page === currentPage ? "page" : void 0,
329
329
  "aria-label": `Go to page ${page}`,
330
- "data-testid": `pagination-page-${page}`,
330
+ "data-testid": page === currentPage ? "pagination-current-page" : `pagination-page-${page}`,
331
331
  onClick: () => handlePageChange(page),
332
332
  title: `Go to page ${page}`,
333
333
  children: page
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-pagination",
3
- "version": "1.0.0-beta.42",
3
+ "version": "1.0.0-beta.44",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"