@nimbus-ds/link 3.6.0 → 4.0.0-rc.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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  The Link component allows us to navigate to external addresses.
4
4
 
5
+ ## 2023-03-13 `4.0.0`
6
+
7
+ ### 🛠 Breaking changes
8
+
9
+ - Changed appearance property from `neutral.background` to `neutral-background`. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
10
+
11
+ ### 💡 Others
12
+
13
+ - Refactored style classes to have more semantic names. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
14
+
5
15
  ## 2023-02-24 `3.6.0`
6
16
 
7
17
  ### 🎉 New features
package/dist/index.d.ts CHANGED
@@ -52,7 +52,8 @@ declare const link: {
52
52
  };
53
53
  };
54
54
  classnames: {
55
- appearance: Record<"primary" | "danger" | "neutral" | "neutral.background", string>;
55
+ base: string;
56
+ appearance: Record<"primary" | "danger" | "neutral" | "neutral-background", string>;
56
57
  };
57
58
  };
58
59
  export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
@@ -74,7 +75,7 @@ export interface LinkProps extends HTMLAttributes<HTMLElement> {
74
75
  /** Text to be displayed on link */
75
76
  children: ReactNode;
76
77
  /** Link appearance */
77
- appearance?: "primary" | "danger" | "neutral" | "neutral.background";
78
+ appearance?: "primary" | "danger" | "neutral" | "neutral-background";
78
79
  /** Decoration for the link text */
79
80
  textDecoration?: typeof link.properties.textDecoration[number];
80
81
  /** Size of the link text */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/link",
3
- "version": "3.6.0",
3
+ "version": "4.0.0-rc.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "version": "yarn version"
15
15
  },
16
16
  "dependencies": {
17
- "@nimbus-ds/skeleton": "^2.1.0"
17
+ "@nimbus-ds/skeleton": "^3.0.0-rc.1"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "react": "^16.8 || ^17.0 || ^18.0",
@@ -31,5 +31,6 @@
31
31
  "devDependencies": {
32
32
  "@nimbus-ds/icons": "^1.1.0",
33
33
  "webpack": "^5.74.0"
34
- }
34
+ },
35
+ "stableVersion": "3.6.0"
35
36
  }