@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mbao01/next",
3
- "version": "0.4.4",
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.4.4",
53
+ "@mbao01/common": "^0.5.1",
54
54
  "clsx": "^2.1.1",
55
- "lucide-react": "^0.525.0"
55
+ "lucide-react": "^0.546.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@eslint/eslintrc": "^3.3.1",
59
- "@eslint/js": "^9.30.1",
60
- "@ianvs/prettier-plugin-sort-imports": "^4.5.1",
61
- "@storybook/addon-a11y": "^9.0.16",
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.0.16",
64
- "@storybook/addon-links": "^9.0.16",
65
- "@storybook/addon-onboarding": "^9.0.16",
66
- "@storybook/addon-themes": "^9.0.16",
67
- "@storybook/nextjs": "^9.0.16",
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.11",
70
- "@testing-library/jest-dom": "^6.6.3",
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.0.13",
75
- "@types/react": "^19.1.8",
76
- "@types/react-dom": "^19.1.6",
77
- "@typescript-eslint/eslint-plugin": "^8.36.0",
78
- "@typescript-eslint/parser": "^8.36.0",
79
- "@vitejs/plugin-react": "^4.6.0",
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.1.0",
83
- "eslint": "^9.30.1",
84
- "eslint-config-next": "^15.3.5",
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": "^5.2.0",
88
- "eslint-plugin-react-refresh": "^0.4.20",
89
- "eslint-plugin-storybook": "^9.0.16",
90
- "globals": "^16.3.0",
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": "^26.1.0",
93
- "next": "^15.3.5",
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.1.0",
99
- "react-dom": "^19.1.0",
100
- "react-router-dom": "^7.6.3",
101
- "storybook": "^9.0.16",
102
- "tailwindcss": "^4.1.11",
103
- "typescript": "^5.8.3",
104
- "typescript-eslint": "^8.36.0",
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": "e3e23ca85c4e11eb4e1ce1c07bc110f9d639b818"
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