@mijn-ui/react-pagination 0.4.2 → 0.4.3
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 +6 -6
- package/dist/metafile-esm.json +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -25,8 +25,8 @@ var paginationStyles = tv({
|
|
|
25
25
|
active: {
|
|
26
26
|
true: {
|
|
27
27
|
listItem: [
|
|
28
|
-
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:
|
|
29
|
-
"text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70
|
|
28
|
+
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:mijn-focus-ring disabled:pointer-events-none disabled:opacity-50",
|
|
29
|
+
"text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70",
|
|
30
30
|
"gap-0 px-0",
|
|
31
31
|
"size-9",
|
|
32
32
|
"bg-bg-secondary"
|
|
@@ -34,8 +34,8 @@ var paginationStyles = tv({
|
|
|
34
34
|
},
|
|
35
35
|
false: {
|
|
36
36
|
listItem: [
|
|
37
|
-
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:
|
|
38
|
-
"text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70
|
|
37
|
+
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:mijn-focus-ring disabled:pointer-events-none disabled:opacity-50",
|
|
38
|
+
"text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70",
|
|
39
39
|
"gap-0 px-0",
|
|
40
40
|
"size-9",
|
|
41
41
|
"text-fg-tertiary"
|
|
@@ -47,8 +47,8 @@ var paginationStyles = tv({
|
|
|
47
47
|
{
|
|
48
48
|
slots: ["previousBtn", "nextBtn"],
|
|
49
49
|
class: [
|
|
50
|
-
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:
|
|
51
|
-
"bg-bg-default-alt text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70 shadow-xs border
|
|
50
|
+
"inline-flex items-center justify-center gap-0.5 text-sm font-medium outline-none duration-300 ease-in-out focus-visible:mijn-focus-ring disabled:pointer-events-none disabled:opacity-50",
|
|
51
|
+
"bg-bg-default-alt text-fg-default hover:bg-bg-secondary focus-visible:ring-outline-brand active:bg-bg-secondary/70 shadow-(--mijn-shadow-xs) border border-outline-default",
|
|
52
52
|
"h-8 rounded-md px-3"
|
|
53
53
|
]
|
|
54
54
|
},
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/pagination.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/pagination.tsx":{"bytes":12409,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"tailwind-variants","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-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Pagination","PaginationContent","PaginationList","PaginationNextButton","PaginationNextEllipsis","PaginationPreviousButton","PaginationPreviousEllipsis","paginationStyles","usePaginationContext","usePaginationStyles"],"entryPoint":"src/index.ts","inputs":{"src/pagination.tsx":{"bytesInOutput":8252},"src/index.ts":{"bytesInOutput":0}},"bytes":8528}}}
|
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.
|
|
4
|
+
"version": "0.4.3",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"lucide-react": "^0.479.0",
|
|
27
27
|
"react": "19.0.1",
|
|
28
28
|
"react-dom": "19.0.1",
|
|
29
|
-
"@mijn-ui/react-core": "0.
|
|
29
|
+
"@mijn-ui/react-core": "0.6.0",
|
|
30
30
|
"eslint-config-custom": "0.0.1",
|
|
31
31
|
"tsconfig": "0.0.0",
|
|
32
32
|
"tsup-config": "0.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@mijn-ui/shared-icons": "0.
|
|
35
|
+
"@mijn-ui/shared-icons": "0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@mijn-ui/react-core": "^0.
|
|
38
|
+
"@mijn-ui/react-core": "^0.6.0",
|
|
39
39
|
"tailwind-merge": "^3.0.0",
|
|
40
40
|
"tailwind-variants": "^3.0.0",
|
|
41
41
|
"react": "^19.0",
|