@nimbus-ds/link 4.2.0 → 4.3.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,18 @@
2
2
 
3
3
  The Link component allows us to navigate to external addresses.
4
4
 
5
+ ## 2026-01-13 `4.3.1`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Adds support for React 19. ([#404](https://github.com/TiendaNube/nimbus-design-system/pull/404) by [@joacotornello](https://github.com/joacotornello))
10
+
11
+ ## 2025-03-25 `4.3.0`
12
+
13
+ ### 🎉 New features
14
+
15
+ - Added `line-through` option to `textDecoration` property. ([#279](https://github.com/TiendaNube/nimbus-design-system/pull/279) by [@guidobotta](https://github.com/guidobotta))
16
+
5
17
  ## 2025-03-18 `4.2.0`
6
18
 
7
19
  #### 🎉 New features
package/dist/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  The Link component allows us to navigate to external addresses.
4
4
 
5
+ ## 2026-01-13 `4.3.1`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Adds support for React 19. ([#404](https://github.com/TiendaNube/nimbus-design-system/pull/404) by [@joacotornello](https://github.com/joacotornello))
10
+
11
+ ## 2025-03-25 `4.3.0`
12
+
13
+ ### 🎉 New features
14
+
15
+ - Added `line-through` option to `textDecoration` property. ([#279](https://github.com/TiendaNube/nimbus-design-system/pull/279) by [@guidobotta](https://github.com/guidobotta))
16
+
5
17
  ## 2025-03-18 `4.2.0`
6
18
 
7
19
  #### 🎉 New features
package/dist/index.d.ts CHANGED
@@ -22,21 +22,21 @@ export interface PolymorphicForwardRefComponent<IntrinsicElementString, OwnProps
22
22
  * so that events are typed when using JSX.IntrinsicElements.
23
23
  */
24
24
  <As = IntrinsicElementString>(props: As extends "" ? {
25
- as: keyof JSX.IntrinsicElements;
25
+ as: keyof React.JSX.IntrinsicElements;
26
26
  } : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
27
27
  as: As;
28
- }> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
28
+ }> : As extends keyof React.JSX.IntrinsicElements ? Merge<React.JSX.IntrinsicElements[As], OwnProps & {
29
29
  as: As;
30
30
  }> : never): React.ReactElement | null;
31
31
  }
32
- export type TextDecoration = "none" | "underline";
32
+ export type TextDecoration = "none" | "underline" | "line-through";
33
33
  declare const link: {
34
34
  sprinkle: ((props: {
35
35
  textDecoration?: TextDecoration | undefined;
36
36
  fontSize?: "base" | "caption" | "highlight" | undefined;
37
37
  lineHeight?: "base" | "caption" | "highlight" | undefined;
38
38
  }) => string) & {
39
- properties: Set<"fontSize" | "textDecoration" | "lineHeight">;
39
+ properties: Set<"fontSize" | "lineHeight" | "textDecoration">;
40
40
  };
41
41
  properties: {
42
42
  textDecoration: TextDecoration[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/link",
3
- "version": "4.2.0",
3
+ "version": "4.3.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -14,11 +14,11 @@
14
14
  "version": "yarn version"
15
15
  },
16
16
  "dependencies": {
17
- "@nimbus-ds/skeleton": "^3.0.1"
17
+ "@nimbus-ds/skeleton": "^3.0.2"
18
18
  },
19
19
  "peerDependencies": {
20
- "react": "^16.8 || ^17.0 || ^18.0",
21
- "react-dom": "^16.8 || ^17.0 || ^18.0"
20
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
21
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
22
22
  },
23
23
  "homepage": "https://nimbus.nuvemshop.com.br/documentation",
24
24
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "url": "https://github.com/TiendaNube/nimbus-design-system/issues"
30
30
  },
31
31
  "devDependencies": {
32
- "@nimbus-ds/icons": "^1.6.1",
33
- "@nimbus-ds/webpack": "^1.5.0"
32
+ "@nimbus-ds/icons": "^1.15.1",
33
+ "@nimbus-ds/webpack": "^1.7.1"
34
34
  }
35
35
  }