@mbao01/next 0.4.4 → 0.5.1
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/types/.next/types/validator.d.ts +1 -0
- package/dist/types/src/app/layout.d.ts +6 -0
- package/dist/types/src/app/page.d.ts +1 -0
- package/dist/types/{components → src/components}/Link/constant.d.ts +1 -1
- package/dist/types/{components → src/components}/Link/types.d.ts +2 -2
- package/dist/types/tsconfig.declaration.tsbuildinfo +1 -1
- package/package.json +37 -37
- package/src/components/Link/types.ts +2 -2
- /package/dist/types/{components → src/components}/Link/Link.d.ts +0 -0
- /package/dist/types/{components → src/components}/Link/index.d.ts +0 -0
- /package/dist/types/{index.d.ts → src/index.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mbao01/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Ayomide Bakare",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"nextjs"
|
|
15
15
|
],
|
|
16
16
|
"main": "./src/index.ts",
|
|
17
|
-
"types": "dist/types/index.d.ts",
|
|
17
|
+
"types": "dist/types/src/index.d.ts",
|
|
18
18
|
"files": [
|
|
19
19
|
"src",
|
|
20
20
|
"dist/types"
|
|
@@ -50,62 +50,62 @@
|
|
|
50
50
|
"test:watch": "vitest"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@mbao01/common": "^0.
|
|
53
|
+
"@mbao01/common": "^0.5.1",
|
|
54
54
|
"clsx": "^2.1.1",
|
|
55
|
-
"lucide-react": "^0.
|
|
55
|
+
"lucide-react": "^0.546.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@eslint/eslintrc": "^3.3.1",
|
|
59
|
-
"@eslint/js": "^9.
|
|
60
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.
|
|
61
|
-
"@storybook/addon-a11y": "^9.
|
|
59
|
+
"@eslint/js": "^9.38.0",
|
|
60
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.7.0",
|
|
61
|
+
"@storybook/addon-a11y": "^9.1.13",
|
|
62
62
|
"@storybook/addon-coverage": "^2.0.0",
|
|
63
|
-
"@storybook/addon-docs": "^9.
|
|
64
|
-
"@storybook/addon-links": "^9.
|
|
65
|
-
"@storybook/addon-onboarding": "^9.
|
|
66
|
-
"@storybook/addon-themes": "^9.
|
|
67
|
-
"@storybook/nextjs": "^9.
|
|
63
|
+
"@storybook/addon-docs": "^9.1.13",
|
|
64
|
+
"@storybook/addon-links": "^9.1.13",
|
|
65
|
+
"@storybook/addon-onboarding": "^9.1.13",
|
|
66
|
+
"@storybook/addon-themes": "^9.1.13",
|
|
67
|
+
"@storybook/nextjs": "^9.1.13",
|
|
68
68
|
"@storybook/test-runner": "^0.23.0",
|
|
69
|
-
"@tailwindcss/postcss": "^4.1.
|
|
70
|
-
"@testing-library/jest-dom": "^6.
|
|
69
|
+
"@tailwindcss/postcss": "^4.1.15",
|
|
70
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
71
71
|
"@testing-library/react": "^16.3.0",
|
|
72
72
|
"@testing-library/user-event": "^14.6.1",
|
|
73
73
|
"@types/jest-image-snapshot": "^6.4.0",
|
|
74
|
-
"@types/node": "^24.
|
|
75
|
-
"@types/react": "^19.
|
|
76
|
-
"@types/react-dom": "^19.
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
78
|
-
"@typescript-eslint/parser": "^8.
|
|
79
|
-
"@vitejs/plugin-react": "^
|
|
74
|
+
"@types/node": "^24.9.1",
|
|
75
|
+
"@types/react": "^19.2.2",
|
|
76
|
+
"@types/react-dom": "^19.2.2",
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
78
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
79
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
80
80
|
"@vitest/coverage-v8": "^3.2.4",
|
|
81
81
|
"@vitest/ui": "^3.2.4",
|
|
82
|
-
"axe-playwright": "^2.
|
|
83
|
-
"eslint": "^9.
|
|
84
|
-
"eslint-config-next": "^15.
|
|
82
|
+
"axe-playwright": "^2.2.2",
|
|
83
|
+
"eslint": "^9.38.0",
|
|
84
|
+
"eslint-config-next": "^15.5.6",
|
|
85
85
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
86
86
|
"eslint-plugin-react": "^7.37.5",
|
|
87
|
-
"eslint-plugin-react-hooks": "^
|
|
88
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
89
|
-
"eslint-plugin-storybook": "^9.
|
|
90
|
-
"globals": "^16.
|
|
87
|
+
"eslint-plugin-react-hooks": "^7.0.0",
|
|
88
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
89
|
+
"eslint-plugin-storybook": "^9.1.13",
|
|
90
|
+
"globals": "^16.4.0",
|
|
91
91
|
"jest-image-snapshot": "^6.5.1",
|
|
92
|
-
"jsdom": "^
|
|
93
|
-
"next": "^15.
|
|
92
|
+
"jsdom": "^27.0.1",
|
|
93
|
+
"next": "^15.5.6",
|
|
94
94
|
"next-router-mock": "^1.0.2",
|
|
95
95
|
"path": "^0.12.7",
|
|
96
96
|
"postcss": "^8.5.6",
|
|
97
97
|
"prettier": "^3.6.2",
|
|
98
|
-
"react": "^19.
|
|
99
|
-
"react-dom": "^19.
|
|
100
|
-
"react-router-dom": "^7.
|
|
101
|
-
"storybook": "^9.
|
|
102
|
-
"tailwindcss": "^4.1.
|
|
103
|
-
"typescript": "^5.
|
|
104
|
-
"typescript-eslint": "^8.
|
|
98
|
+
"react": "^19.2.0",
|
|
99
|
+
"react-dom": "^19.2.0",
|
|
100
|
+
"react-router-dom": "^7.9.4",
|
|
101
|
+
"storybook": "^9.1.13",
|
|
102
|
+
"tailwindcss": "^4.1.15",
|
|
103
|
+
"typescript": "^5.9.3",
|
|
104
|
+
"typescript-eslint": "^8.46.2",
|
|
105
105
|
"vitest": "^3.2.4"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
108
|
"next": "15"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "68dde7e15f561613f8681d9a4b7042645d423d3c"
|
|
111
111
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type LinkRestProps } from "next/link";
|
|
1
|
+
import { type LinkProps as LinkRestProps } from "next/link";
|
|
2
2
|
import { type UrlObject } from "url";
|
|
3
3
|
import { type VariantProps } from "@mbao01/common/libs";
|
|
4
4
|
import { getLinkClasses } from "./constant";
|
|
@@ -19,7 +19,7 @@ import { getLinkClasses } from "./constant";
|
|
|
19
19
|
// isExternal?: boolean;
|
|
20
20
|
// } & VariantProps<typeof getLinkClasses>;
|
|
21
21
|
|
|
22
|
-
export type LinkProps<T> = LinkRestProps & { isExternal?: boolean; hardNavigate?: boolean } & (
|
|
22
|
+
export type LinkProps<T> = LinkRestProps<T> & { isExternal?: boolean; hardNavigate?: boolean } & (
|
|
23
23
|
| {
|
|
24
24
|
href: __next_route_internal_types__.RouteImpl<T> | UrlObject;
|
|
25
25
|
isInternal?: true;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|