@tsed/react-formio 1.11.1 → 1.11.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/dist/components/card/card.component.d.ts +2 -1
- package/dist/components/loader/loader.component.d.ts +2 -2
- package/dist/components/loader/loader.stories.d.ts +15 -0
- package/dist/components/pagination/pagination.component.spec.d.ts +1 -0
- package/dist/components/pagination/pagination.stories.d.ts +0 -27
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +4 -4
- package/src/components/card/card.component.tsx +1 -0
- package/src/components/loader/loader.component.spec.tsx +7 -6
- package/src/components/loader/loader.component.tsx +2 -2
- package/src/components/loader/loader.stories.tsx +17 -0
- package/src/components/pagination/pagination.component.spec.tsx +137 -0
- package/src/components/pagination/pagination.component.tsx +2 -1
- package/src/components/pagination/pagination.stories.tsx +13 -29
package/dist/index.modern.js
CHANGED
|
@@ -1357,6 +1357,7 @@ function PaginationButton(props) {
|
|
|
1357
1357
|
otherProps = _objectWithoutPropertiesLoose(props, ["component", "children", "disabled", "active"]);
|
|
1358
1358
|
|
|
1359
1359
|
return React.createElement(Component, Object.assign({}, otherProps, {
|
|
1360
|
+
"data-testid": 'pagination-button',
|
|
1360
1361
|
disabled: disabled,
|
|
1361
1362
|
className: classnames("page-link", disabled ? "disabled" : "", active ? "" : "", props.className)
|
|
1362
1363
|
}), children);
|
|
@@ -1372,7 +1373,7 @@ function Pagination(props) {
|
|
|
1372
1373
|
nextPage,
|
|
1373
1374
|
canNextPage,
|
|
1374
1375
|
pageCount,
|
|
1375
|
-
pageIndex,
|
|
1376
|
+
pageIndex = 1,
|
|
1376
1377
|
pageOptions,
|
|
1377
1378
|
pageSize,
|
|
1378
1379
|
setPageSize,
|