@ichaingo/pagination 1.4.46 → 1.4.47
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.js +2 -2
- package/package.json +2 -2
- package/src/index.tsx +4 -4
package/dist/index.js
CHANGED
|
@@ -62,7 +62,7 @@ function K({
|
|
|
62
62
|
size: "sm",
|
|
63
63
|
className: m(
|
|
64
64
|
"h-6 min-w-6 w-fit rounded-md cursor-pointer",
|
|
65
|
-
r === l ? "bg-[#000] text-[#fff]" : ""
|
|
65
|
+
r === l ? "bg-[#000]! text-[#fff]!" : ""
|
|
66
66
|
),
|
|
67
67
|
onClick: () => t == null ? void 0 : t(l),
|
|
68
68
|
children: l
|
|
@@ -126,7 +126,7 @@ function K({
|
|
|
126
126
|
L,
|
|
127
127
|
{
|
|
128
128
|
size: "sm",
|
|
129
|
-
className: "
|
|
129
|
+
className: "border-1 border-input w-[70px] focus:ring-0 text-black bg-background focus-visible:outline-0 focus-ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-input py-1",
|
|
130
130
|
children: /* @__PURE__ */ i(I, {})
|
|
131
131
|
}
|
|
132
132
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichaingo/pagination",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"next-intl": "^4.5.6",
|
|
20
20
|
"tailwind-merge": "^2.5.5",
|
|
21
21
|
"lucide-react": "^0.539.0",
|
|
22
|
-
"@ichaingo/ui": "1.4.
|
|
22
|
+
"@ichaingo/ui": "1.4.47"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {},
|
|
25
25
|
"devDependencies": {
|
package/src/index.tsx
CHANGED
|
@@ -64,7 +64,7 @@ export default function CustomPagination({
|
|
|
64
64
|
className={twMerge(
|
|
65
65
|
"h-6 min-w-6 w-fit rounded-md cursor-pointer",
|
|
66
66
|
currentPage === 1
|
|
67
|
-
? "bg-[#000] text-[#fff]"
|
|
67
|
+
? "bg-[#000]! text-[#fff]!"
|
|
68
68
|
: ""
|
|
69
69
|
)}
|
|
70
70
|
onClick={() => onPageChange?.(1)}
|
|
@@ -91,7 +91,7 @@ export default function CustomPagination({
|
|
|
91
91
|
className={twMerge(
|
|
92
92
|
"h-6 min-w-6 w-fit rounded-md cursor-pointer",
|
|
93
93
|
currentPage === i
|
|
94
|
-
? "bg-[#000] text-[#fff]"
|
|
94
|
+
? "bg-[#000]! text-[#fff]!"
|
|
95
95
|
: ""
|
|
96
96
|
)}
|
|
97
97
|
onClick={() => onPageChange?.(i)}
|
|
@@ -118,7 +118,7 @@ export default function CustomPagination({
|
|
|
118
118
|
className={twMerge(
|
|
119
119
|
"h-6 min-w-6 w-fit rounded-md cursor-pointer",
|
|
120
120
|
currentPage === totalPages
|
|
121
|
-
? "bg-[#000] text-[#fff]"
|
|
121
|
+
? "bg-[#000]! text-[#fff]!"
|
|
122
122
|
: ""
|
|
123
123
|
)}
|
|
124
124
|
onClick={() => onPageChange?.(totalPages)}
|
|
@@ -196,7 +196,7 @@ export default function CustomPagination({
|
|
|
196
196
|
onValueChange={(value: string) => onPageSizeChange(Number(value))}
|
|
197
197
|
>
|
|
198
198
|
<SelectTrigger
|
|
199
|
-
size="sm" className="
|
|
199
|
+
size="sm" className="border-1 border-input w-[70px] focus:ring-0 text-black bg-background focus-visible:outline-0 focus-ring-0 focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:border-input py-1">
|
|
200
200
|
<SelectValue />
|
|
201
201
|
</SelectTrigger>
|
|
202
202
|
<SelectContent className="w-20 bg-module">
|