@mijn-ui/react-pagination 0.0.5 → 0.0.7
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 +3 -3
- package/dist/metafile-esm.json +1 -1
- package/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as React from "react";
|
|
|
5
5
|
import { buttonStyles } from "@mijn-ui/react-button";
|
|
6
6
|
import { UnstyledProvider, useUnstyled } from "@mijn-ui/react-utilities/context";
|
|
7
7
|
import { applyUnstyled } from "@mijn-ui/react-utilities/shared";
|
|
8
|
-
import {
|
|
8
|
+
import { EllipsisIcon } from "@mijn-ui/shared-icons";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
var usePaginationRange = ({
|
|
11
11
|
totalPages,
|
|
@@ -227,7 +227,7 @@ var PaginationPreviousEllipsis = ({
|
|
|
227
227
|
className
|
|
228
228
|
),
|
|
229
229
|
...props,
|
|
230
|
-
children: /* @__PURE__ */ jsx(
|
|
230
|
+
children: /* @__PURE__ */ jsx(EllipsisIcon, { className: "size-4" })
|
|
231
231
|
}
|
|
232
232
|
);
|
|
233
233
|
};
|
|
@@ -250,7 +250,7 @@ var PaginationNextEllipsis = ({
|
|
|
250
250
|
className
|
|
251
251
|
),
|
|
252
252
|
...props,
|
|
253
|
-
children: /* @__PURE__ */ jsx(
|
|
253
|
+
children: /* @__PURE__ */ jsx(EllipsisIcon, { className: "size-4" })
|
|
254
254
|
}
|
|
255
255
|
);
|
|
256
256
|
};
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/pagination.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/pagination.tsx":{"bytes":9910,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-button","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":29,"imports":[{"path":"src/pagination.tsx","kind":"import-statement","original":"./pagination"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-button","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/context","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Pagination","PaginationContent","PaginationList","PaginationNextButton","PaginationNextEllipsis","PaginationPreviousButton","PaginationPreviousEllipsis","usePagination"],"entryPoint":"src/index.ts","inputs":{"src/pagination.tsx":{"bytesInOutput":6620},"src/index.ts":{"bytesInOutput":0}},"bytes":6831}}}
|
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.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -24,18 +24,19 @@
|
|
|
24
24
|
"@types/react": "^18.3.12",
|
|
25
25
|
"@types/react-dom": "^18.3.1",
|
|
26
26
|
"eslint-config-custom": "0.0.1",
|
|
27
|
-
"tsconfig": "0.0.0"
|
|
27
|
+
"tsconfig": "0.0.0",
|
|
28
|
+
"tsup-config": "0.0.0"
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"react": "19.0.0-rc-b01722d5-20241114",
|
|
31
32
|
"react-dom": "19.0.0-rc-b01722d5-20241114",
|
|
32
|
-
"
|
|
33
|
-
"@mijn-ui/react-utilities": "0.0.
|
|
34
|
-
"@mijn-ui/react-button": "0.0.
|
|
33
|
+
"@mijn-ui/shared-icons": "0.0.1",
|
|
34
|
+
"@mijn-ui/react-utilities": "0.0.5",
|
|
35
|
+
"@mijn-ui/react-button": "0.0.7"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
|
-
"react": "19.0
|
|
38
|
-
"react-dom": "19.0
|
|
38
|
+
"react": "^19.0",
|
|
39
|
+
"react-dom": "^19.0"
|
|
39
40
|
},
|
|
40
41
|
"publishConfig": {
|
|
41
42
|
"access": "public"
|