@nimbus-ds/link 3.3.0-rc.1 → 3.3.0

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,10 +2,16 @@
2
2
 
3
3
  The Link component allows us to navigate to external addresses.
4
4
 
5
- ## 2023-02-10 `3.3.0`
5
+ ## 2023-02-13 `3.3.0`
6
6
 
7
- - Added polymorphic typing support to component. ([#81](https://github.com/TiendaNube/nimbus-design-system/pull/81) by [@juniorconquista](https://github.com/juniorconquista))
8
- - Removed subcomponent `Link.Button`. [#78](https://github.com/TiendaNube/nimbus-design-system/pull/#78) by [@juniorconquista](https://github.com/juniorconquista))
7
+ ### 🎉 New features
8
+
9
+ - Added polymorphic typing support to component. ([#89](https://github.com/TiendaNube/nimbus-design-system/pull/89) by [@juniorconquista](https://github.com/juniorconquista))
10
+ - Added `as` property to the Component. ([#89](https://github.com/TiendaNube/nimbus-design-system/pull/89) by [@juniorconquista](https://github.com/juniorconquista))
11
+
12
+ ### 💡 Others
13
+
14
+ - Removed subcomponent `Link.Button`. [#89](https://github.com/TiendaNube/nimbus-design-system/pull/#89) by [@juniorconquista](https://github.com/juniorconquista))
9
15
 
10
16
  ## 2023-02-06 `3.2.0`
11
17
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Generated by dts-bundle-generator v7.1.0
2
2
 
3
3
  import React from 'react';
4
- import { AnchorHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
4
+ import { HTMLAttributes, ReactNode } from 'react';
5
5
 
6
6
  export type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
7
7
  export type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<Merge<E extends React.ElementType ? React.ComponentPropsWithRef<E> : never, OwnProps & {
@@ -59,7 +59,7 @@ declare const LinkSkeleton: React.FC<LinkSkeletonProps>;
59
59
  export interface LinkComponents {
60
60
  Skeleton: typeof LinkSkeleton;
61
61
  }
62
- export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
62
+ export interface LinkProps extends HTMLAttributes<HTMLElement> {
63
63
  /** Text to be displayed on link */
64
64
  children: ReactNode;
65
65
  /** Link appearance */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/link",
3
- "version": "3.3.0-rc.1",
3
+ "version": "3.3.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -31,6 +31,5 @@
31
31
  "devDependencies": {
32
32
  "@tiendanube/icons": "^0.3.1",
33
33
  "webpack": "^5.74.0"
34
- },
35
- "stableVersion": "3.2.0"
34
+ }
36
35
  }