@mijn-ui/react-pagination 0.1.0 → 0.2.0
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/index.d.ts +9 -10
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
4
3
|
import * as _mijn_ui_react_theme from '@mijn-ui/react-theme';
|
|
5
|
-
import {
|
|
4
|
+
import { UnstyledComponentWithSlots, PaginationSlots, UnstyledProps, paginationStyles } from '@mijn-ui/react-theme';
|
|
6
5
|
import * as React from 'react';
|
|
7
6
|
|
|
8
7
|
type PaginationBaseProps = UnstyledComponentWithSlots<PaginationSlots>;
|
|
@@ -22,28 +21,28 @@ declare const usePaginationStyles: (unstyledOverride?: boolean) => {
|
|
|
22
21
|
isUnstyled: boolean | undefined;
|
|
23
22
|
base: (slotProps?: ({
|
|
24
23
|
active?: boolean | undefined;
|
|
25
|
-
} & tailwind_variants.ClassProp<
|
|
24
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
26
25
|
content: (slotProps?: ({
|
|
27
26
|
active?: boolean | undefined;
|
|
28
|
-
} & tailwind_variants.ClassProp<
|
|
27
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
29
28
|
list: (slotProps?: ({
|
|
30
29
|
active?: boolean | undefined;
|
|
31
|
-
} & tailwind_variants.ClassProp<
|
|
30
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
32
31
|
listItem: (slotProps?: ({
|
|
33
32
|
active?: boolean | undefined;
|
|
34
|
-
} & tailwind_variants.ClassProp<
|
|
33
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
35
34
|
previousBtn: (slotProps?: ({
|
|
36
35
|
active?: boolean | undefined;
|
|
37
|
-
} & tailwind_variants.ClassProp<
|
|
36
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
38
37
|
previousElipsis: (slotProps?: ({
|
|
39
38
|
active?: boolean | undefined;
|
|
40
|
-
} & tailwind_variants.ClassProp<
|
|
39
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
41
40
|
nextBtn: (slotProps?: ({
|
|
42
41
|
active?: boolean | undefined;
|
|
43
|
-
} & tailwind_variants.ClassProp<
|
|
42
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
44
43
|
nextElipsis: (slotProps?: ({
|
|
45
44
|
active?: boolean | undefined;
|
|
46
|
-
} & tailwind_variants.ClassProp<
|
|
45
|
+
} & tailwind_variants.ClassProp<tailwind_variants.ClassValue>) | undefined) => string | undefined;
|
|
47
46
|
};
|
|
48
47
|
type PaginationProps = {
|
|
49
48
|
totalPages: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mijn-ui/react-pagination",
|
|
3
3
|
"author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"react": "19.0.0",
|
|
28
28
|
"react-dom": "19.0.0",
|
|
29
29
|
"@mijn-ui/react-core": "0.1.0",
|
|
30
|
-
"@mijn-ui/react-theme": "0.
|
|
30
|
+
"@mijn-ui/react-theme": "0.2.0",
|
|
31
31
|
"eslint-config-custom": "0.0.1",
|
|
32
32
|
"tsconfig": "0.0.0",
|
|
33
33
|
"tsup-config": "0.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@mijn-ui/react-hooks": "0.0.
|
|
36
|
+
"@mijn-ui/react-hooks": "0.0.18",
|
|
37
37
|
"@mijn-ui/react-utilities": "0.0.9",
|
|
38
|
-
"@mijn-ui/shared-icons": "0.0
|
|
38
|
+
"@mijn-ui/shared-icons": "0.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@mijn-ui/react-core": "^0.
|
|
42
|
-
"@mijn-ui/react-theme": "^0.
|
|
41
|
+
"@mijn-ui/react-core": "^0.2.0",
|
|
42
|
+
"@mijn-ui/react-theme": "^0.2.0",
|
|
43
43
|
"react": "^19.0",
|
|
44
44
|
"react-dom": "^19.0"
|
|
45
45
|
},
|