@websolutespa/bom-mixer-ui 1.9.13 → 1.9.14
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/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { LinkProps as NextLinkProps } from 'next/link';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import type { UrlObject } from 'url';
|
|
5
|
-
export type LinkProps = Omit<NextLinkProps, '
|
|
6
|
-
|
|
5
|
+
export type LinkProps = Omit<NextLinkProps, 'href'> & {
|
|
6
|
+
href?: string | UrlObject;
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
};
|
|
9
9
|
export type LinkComponent = React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps> & LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
package/package.json
CHANGED
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
4
4
|
import type { UrlObject } from 'url';
|
|
5
5
|
|
|
6
|
-
export type LinkProps = Omit<NextLinkProps, '
|
|
7
|
-
|
|
6
|
+
export type LinkProps = Omit<NextLinkProps, 'href'> & {
|
|
7
|
+
href?: string | UrlObject;
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
};
|
|
10
10
|
|