react-bootstrap-table-ng-paginator 4.19.0 → 4.19.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/README.md +17 -17
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -41,24 +41,24 @@ import paginationFactory from 'react-bootstrap-table-ng-paginator';
|
|
|
41
41
|
|
|
42
42
|
`react-bootstrap-table-ng` give some simple ways to customize something like text, styling etc, following is all the props we support for basic customization:
|
|
43
43
|
|
|
44
|
-
* [paginationSize](https://
|
|
45
|
-
* [sizePerPageList](https://
|
|
46
|
-
* [withFirstAndLast](https://
|
|
47
|
-
* [alwaysShowAllBtns](https://
|
|
48
|
-
* [firstPageText](https://
|
|
49
|
-
* [prePageText](https://
|
|
50
|
-
* [nextPageText](https://
|
|
51
|
-
* [lastPageText](https://
|
|
52
|
-
* [firstPageTitle](https://
|
|
53
|
-
* [prePageTitle](https://
|
|
54
|
-
* [nextPageTitle](https://
|
|
55
|
-
* [lastPageTitle](https://
|
|
56
|
-
* [hideSizePerPage](https://
|
|
57
|
-
* [hidePageListOnlyOnePage](https://
|
|
58
|
-
* [showTotal](https://
|
|
44
|
+
* [paginationSize](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationpaginationsize-number)
|
|
45
|
+
* [sizePerPageList](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationsizeperpagelist-array)
|
|
46
|
+
* [withFirstAndLast](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationwithfirstandlast-bool)
|
|
47
|
+
* [alwaysShowAllBtns](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationalwaysshowallbtns-bool)
|
|
48
|
+
* [firstPageText](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationfirstpagetext-any)
|
|
49
|
+
* [prePageText](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationprepagetext-any)
|
|
50
|
+
* [nextPageText](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationnextpagetext-any)
|
|
51
|
+
* [lastPageText](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationlastpagetext-any)
|
|
52
|
+
* [firstPageTitle](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationfirstpagetitle-any)
|
|
53
|
+
* [prePageTitle](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationprepagetitle-any)
|
|
54
|
+
* [nextPageTitle](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationnextpagetitle-any)
|
|
55
|
+
* [lastPageTitle](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationlastpagetitle-any)
|
|
56
|
+
* [hideSizePerPage](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationhidesizeperpage-bool)
|
|
57
|
+
* [hidePageListOnlyOnePage](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationhidepagelistonlyonepage-bool)
|
|
58
|
+
* [showTotal](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/docs/pagination-props.html#paginationshowtotal-bool)
|
|
59
59
|
* [disablePageTitle](https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/pagination-props.html#paginationdisablepagetitle-bool)
|
|
60
60
|
|
|
61
|
-
You can check [this online demo](https://
|
|
61
|
+
You can check [this online demo](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/index.html?selectedKind=Pagination&selectedStory=Custom%20Pagination&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel) for above props usage.
|
|
62
62
|
|
|
63
63
|
### Advance Customization
|
|
64
64
|
|
|
@@ -245,4 +245,4 @@ In most of case, `page`, `sizePerPage`, `onPageChange` and `onSizePerPageChange`
|
|
|
245
245
|
* `onPageChange`: Call it when you nede to change page. This function accept one number argument which indicate the new page
|
|
246
246
|
* `onSizePerPageChange`: Call it when you nede to change size per page. This function accept two number argument which indicate the new sizePerPage and new page
|
|
247
247
|
|
|
248
|
-
[Here](https://
|
|
248
|
+
[Here](https://jeff-k-zhou.github.io/react-bootstrap-table-ng/storybook/index.html?selectedKind=Pagination&selectedStory=Fully%20Custom%20Pagination&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel) is a online example.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-bootstrap-table-ng-paginator",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.1",
|
|
4
4
|
"description": "It's the pagination addon for react-bootstrap-table-ng",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"prop-types": "
|
|
45
|
+
"prop-types": ">=15.8.1",
|
|
46
46
|
"react": "^18.0 || ^18.0.0 || ^19.0 || ^19.0.0",
|
|
47
47
|
"react-dom": "^18.0 || ^18.0.0 || ^19.0 || ^19.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"react-bootstrap-table-ng": "^4.19.
|
|
50
|
+
"react-bootstrap-table-ng": "^4.19.1"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "24022dc8281117b928db32c4a90bcc9edc402edf"
|
|
53
53
|
}
|