@akinon/ui-pagination 1.3.0 → 1.3.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/cjs/types.d.ts +5 -2
- package/dist/esm/types.d.ts +5 -2
- package/package.json +5 -5
package/dist/cjs/types.d.ts
CHANGED
|
@@ -16,9 +16,12 @@ export type TPaginationShowTotal = (total, range) => ReactNode;
|
|
|
16
16
|
|
|
17
17
|
export type TPaginationSize = 'default' | 'small';
|
|
18
18
|
|
|
19
|
-
export type TPaginationOnChange = (page, pageSize) =>
|
|
19
|
+
export type TPaginationOnChange = (page: number, pageSize: number) => void;
|
|
20
20
|
|
|
21
|
-
export type TPaginationOnShowSizeChange = (
|
|
21
|
+
export type TPaginationOnShowSizeChange = (
|
|
22
|
+
current: number,
|
|
23
|
+
size: number
|
|
24
|
+
) => void;
|
|
22
25
|
|
|
23
26
|
export interface IPaginationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
27
|
/**
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -16,9 +16,12 @@ export type TPaginationShowTotal = (total, range) => ReactNode;
|
|
|
16
16
|
|
|
17
17
|
export type TPaginationSize = 'default' | 'small';
|
|
18
18
|
|
|
19
|
-
export type TPaginationOnChange = (page, pageSize) =>
|
|
19
|
+
export type TPaginationOnChange = (page: number, pageSize: number) => void;
|
|
20
20
|
|
|
21
|
-
export type TPaginationOnShowSizeChange = (
|
|
21
|
+
export type TPaginationOnShowSizeChange = (
|
|
22
|
+
current: number,
|
|
23
|
+
size: number
|
|
24
|
+
) => void;
|
|
22
25
|
|
|
23
26
|
export interface IPaginationProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
27
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-pagination",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pagination component for Akinon UI",
|
|
6
6
|
"type": "module",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"@ant-design/cssinjs": "^1.24.0",
|
|
14
14
|
"antd": "^5.27.0",
|
|
15
15
|
"clsx": "^2.1.1",
|
|
16
|
-
"@akinon/
|
|
17
|
-
"@akinon/ui-
|
|
18
|
-
"@akinon/ui-
|
|
19
|
-
"@akinon/
|
|
16
|
+
"@akinon/icons": "1.1.0",
|
|
17
|
+
"@akinon/ui-theme": "1.1.1",
|
|
18
|
+
"@akinon/ui-button": "1.3.1",
|
|
19
|
+
"@akinon/ui-select": "1.3.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"clean-package": "2.2.0",
|