@nordicsemiconductor/pc-nrfconnect-shared 123.0.0 → 124.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,13 @@ 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
|
+
## 124 - 2023-11-08
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `className` property to `FileLink` component
|
|
15
|
+
- `FileLink` will add ellipsis when text overflows
|
|
16
|
+
|
|
10
17
|
## 123 - 2023-11-07
|
|
11
18
|
|
|
12
19
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="3440" lines-covered="1892" line-rate="0.55" branches-valid="1689" branches-covered="511" branch-rate="0.3025" timestamp="
|
|
3
|
+
<coverage lines-valid="3440" lines-covered="1892" line-rate="0.55" branches-valid="1689" branches-covered="511" branch-rate="0.3025" timestamp="1699445728836" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/home/vsts/work/1/s</source>
|
|
6
6
|
</sources>
|
package/package.json
CHANGED
package/src/Link/FileLink.tsx
CHANGED
|
@@ -12,15 +12,18 @@ import { openFile } from '../utils/open';
|
|
|
12
12
|
export default ({
|
|
13
13
|
label,
|
|
14
14
|
fileLocation,
|
|
15
|
+
className,
|
|
15
16
|
}: {
|
|
16
17
|
label: string;
|
|
17
18
|
fileLocation: string;
|
|
19
|
+
className: string;
|
|
18
20
|
}) => (
|
|
19
21
|
<button
|
|
20
22
|
type="button"
|
|
21
23
|
onClick={() => openFile(fileLocation)}
|
|
22
24
|
className={classNames(
|
|
23
|
-
'tw-preflight tw-text-nordicBlue hover:tw-underline'
|
|
25
|
+
'tw-preflight tw-overflow-hidden tw-text-ellipsis tw-text-nordicBlue hover:tw-underline',
|
|
26
|
+
className
|
|
24
27
|
)}
|
|
25
28
|
>
|
|
26
29
|
{label}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const _default: ({ label, fileLocation, }: {
|
|
2
|
+
declare const _default: ({ label, fileLocation, className, }: {
|
|
3
3
|
label: string;
|
|
4
4
|
fileLocation: string;
|
|
5
|
+
className: string;
|
|
5
6
|
}) => JSX.Element;
|
|
6
7
|
export default _default;
|
|
7
8
|
//# sourceMappingURL=FileLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileLink.d.ts","sourceRoot":"","sources":["../../../../src/Link/FileLink.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"FileLink.d.ts","sourceRoot":"","sources":["../../../../src/Link/FileLink.tsx"],"names":[],"mappings":";;WAgBW,MAAM;kBACC,MAAM;eACT,MAAM;;AAPrB,wBAmBE"}
|