@nordicsemiconductor/pc-nrfconnect-shared 123.0.0 → 125.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,19 @@ 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
+ ## 125 - 2023-11-08
11
+
12
+ ### Changed
13
+
14
+ - `className` property in `FileLink` component is now optional
15
+
16
+ ## 124 - 2023-11-08
17
+
18
+ ### Added
19
+
20
+ - `className` property to `FileLink` component
21
+ - `FileLink` will add ellipsis when text overflows
22
+
10
23
  ## 123 - 2023-11-07
11
24
 
12
25
  ### 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="1699372357598" complexity="0" version="0.1">
3
+ <coverage lines-valid="3440" lines-covered="1892" line-rate="0.55" branches-valid="1689" branches-covered="511" branch-rate="0.3025" timestamp="1699446468820" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/home/vsts/work/1/s</source>
6
6
  </sources>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "123.0.0",
3
+ "version": "125.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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":";;WAeW,MAAM;kBACC,MAAM;;AALxB,wBAgBE"}
1
+ {"version":3,"file":"FileLink.d.ts","sourceRoot":"","sources":["../../../../src/Link/FileLink.tsx"],"names":[],"mappings":";;WAgBW,MAAM;kBACC,MAAM;eACT,MAAM;;AAPrB,wBAmBE"}