@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
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-mixer-ui
2
2
 
3
+ ## 1.9.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: Link component
8
+
3
9
  ## 1.9.13
4
10
 
5
11
  ### Patch Changes
@@ -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, 'link'> & {
6
- link?: string | UrlObject;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-mixer-ui",
3
- "version": "1.9.13",
3
+ "version": "1.9.14",
4
4
  "description": "Mixer UI module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",
@@ -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, 'link'> & {
7
- link?: string | UrlObject;
6
+ export type LinkProps = Omit<NextLinkProps, 'href'> & {
7
+ href?: string | UrlObject;
8
8
  children: React.ReactNode;
9
9
  };
10
10