@nordicsemiconductor/pc-nrfconnect-shared 195.0.0 → 196.0.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
|
@@ -7,6 +7,12 @@ This project does _not_ adhere to
|
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
|
|
8
8
|
every new version is a new major version.
|
|
9
9
|
|
|
10
|
+
## 196.0.0 - 2025-01-13
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- `ExternalLink`: The `label` prop now defaults to the value of `href`.
|
|
15
|
+
|
|
10
16
|
## 195.0.0 - 2025-01-09
|
|
11
17
|
|
|
12
18
|
### Added
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import React from 'react';
|
|
|
8
8
|
|
|
9
9
|
import classNames from '../utils/classNames';
|
|
10
10
|
|
|
11
|
-
export default ({
|
|
11
|
+
export default ({ href, label = href }: { href: string; label?: string }) => (
|
|
12
12
|
<a
|
|
13
13
|
target="_blank"
|
|
14
14
|
rel="noreferrer noopener"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const _default: ({
|
|
3
|
-
label: string;
|
|
2
|
+
declare const _default: ({ href, label }: {
|
|
4
3
|
href: string;
|
|
4
|
+
label?: string | undefined;
|
|
5
5
|
}) => JSX.Element;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=ExternalLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../../src/Link/ExternalLink.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ExternalLink.d.ts","sourceRoot":"","sources":["../../../../src/Link/ExternalLink.tsx"],"names":[],"mappings":";;UAUgD,MAAM;;;AAAtD,wBAWE"}
|