@nordicsemiconductor/pc-nrfconnect-shared 238.0.0 → 239.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,18 @@ 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
+ ## 239.0.0 - 2025-11-12
11
+
12
+ ### Added
13
+
14
+ - Link to the nRF54LM20 DK product page.
15
+
16
+ ### Changed
17
+
18
+ - The width of buttons with the variants `primary`, `success`, `info`,
19
+ `warning`, and `danger` is slightly increased to match the width of the
20
+ variant `secondary`.
21
+
10
22
  ## 238.0.0 - 2025-11-12
11
23
 
12
24
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/pc-nrfconnect-shared",
3
- "version": "238.0.0",
3
+ "version": "239.0.0",
4
4
  "description": "Shared commodities for developing pc-nrfconnect-* packages",
5
5
  "repository": {
6
6
  "type": "git",
package/release_notes.md CHANGED
@@ -1,9 +1,9 @@
1
- ### Fixed
1
+ ### Added
2
2
 
3
- - A typo in `Group` props.
3
+ - Link to the nRF54LM20 DK product page.
4
4
 
5
- ### Steps to upgrade when using this package
5
+ ### Changed
6
6
 
7
- - Rename prop `collapseStatePersistanceId` to `collapseStatePersistenceId`
8
- everywhere it is used. Running the type check will highlight remaining
9
- occurrences. No data migration is needed; only the prop name changed.
7
+ - The width of buttons with the variants `primary`, `success`, `info`,
8
+ `warning`, and `danger` is slightly increased to match the width of the
9
+ variant `secondary`.
@@ -48,17 +48,17 @@ const Button: React.FC<ButtonProps> = ({
48
48
  size === 'lg' && 'tw-h-8 tw-px-4 tw-text-sm',
49
49
  size === 'xl' && 'tw-h-8 tw-px-4 tw-text-base',
50
50
  variant === 'primary' &&
51
- 'tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
51
+ 'tw-border tw-border-transparent tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
52
52
  variant === 'secondary' &&
53
53
  'tw-border tw-border-gray-700 tw-bg-white tw-text-gray-700 active:enabled:tw-bg-gray-50',
54
54
  variant === 'success' &&
55
- 'tw-bg-green tw-text-white active:enabled:tw-bg-green-700',
55
+ 'tw-border tw-border-transparent tw-bg-green tw-text-white active:enabled:tw-bg-green-700',
56
56
  variant === 'info' &&
57
- 'tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
57
+ 'tw-border tw-border-transparent tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
58
58
  variant === 'warning' &&
59
- 'tw-bg-orange tw-text-white active:enabled:tw-bg-orange-700',
59
+ 'tw-border tw-border-transparent tw-bg-orange tw-text-white active:enabled:tw-bg-orange-700',
60
60
  variant === 'danger' &&
61
- 'tw-bg-red tw-text-white active:enabled:tw-bg-red-700',
61
+ 'tw-border tw-border-transparent tw-bg-red tw-text-white active:enabled:tw-bg-red-700',
62
62
  variant === 'link-button' &&
63
63
  'tw-border tw-border-nordicBlue tw-bg-white tw-text-nordicBlue active:enabled:tw-bg-gray-50',
64
64
  className,
@@ -276,8 +276,10 @@ const devicesByPca: { [P in KnownDevicePCA]: DeviceInfo } = {
276
276
  cores: 1,
277
277
  icon: nrf54logo,
278
278
  website: {
279
- productPage: '',
280
- buyOnline: '',
279
+ productPage:
280
+ 'https://www.nordicsemi.com/Products/Development-hardware/nRF54LM20-DK',
281
+ buyOnline:
282
+ 'https://www.nordicsemi.com/About-us/BuyOnline?search_token=nRF54LM20%20DK',
281
283
  },
282
284
  },
283
285
  PCA10188: {
@@ -15,6 +15,7 @@
15
15
 
16
16
  white: $white;
17
17
  black: $black;
18
+ transparent: $transparent;
18
19
 
19
20
  primary: $primary;
20
21
  primaryDarkened: $primary-darkened;
@@ -8,8 +8,11 @@
8
8
  export const colors = {
9
9
  blueSlate: '#0033a0',
10
10
  blueSlateLighter: '#7c98d3',
11
+
11
12
  white: 'white',
12
13
  black: 'black',
14
+ transparent: 'transparent',
15
+
13
16
  primary: '#00a9ce',
14
17
  primaryDarkened: '#0098b9',
15
18
  secondary: 'white',
package/styles.scss CHANGED
@@ -11,6 +11,7 @@ $blue-slate: #0033a0;
11
11
 
12
12
  $white: white;
13
13
  $black: black;
14
+ $transparent: transparent;
14
15
 
15
16
  $primary: $nordic-blue;
16
17
  $primary-darkened: color.scale($nordic-blue, $lightness: -10%);
@@ -1 +1 @@
1
- {"version":3,"file":"deviceInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Device/deviceInfo/deviceInfo.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAa9D,KAAK,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5C,UAAU,UAAU;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,OAAO,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACL;AAqSD,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,KAAG,UAC2B,CAAC;AASxE,eAAO,MAAM,mBAAmB,GAC5B,QAAQ,MAAM,EACd;;CAA+B,WAOlC,CAAC"}
1
+ {"version":3,"file":"deviceInfo.d.ts","sourceRoot":"","sources":["../../../../../src/Device/deviceInfo/deviceInfo.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAa9D,KAAK,MAAM,GAAG,aAAa,GAAG,aAAa,CAAC;AAE5C,UAAU,UAAU;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,OAAO,EAAE;QACL,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACL;AAuSD,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,KAAG,UAC2B,CAAC;AASxE,eAAO,MAAM,mBAAmB,GAC5B,QAAQ,MAAM,EACd;;CAA+B,WAOlC,CAAC"}
@@ -3,6 +3,7 @@ export declare const colors: {
3
3
  blueSlateLighter: string;
4
4
  white: string;
5
5
  black: string;
6
+ transparent: string;
6
7
  primary: string;
7
8
  primaryDarkened: string;
8
9
  secondary: string;
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/utils/colors.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqKlB,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/utils/colors.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwKlB,CAAC"}