@nordicsemiconductor/pc-nrfconnect-shared 239.0.0 → 241.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/.eslintrc.js +7 -0
- package/Changelog.md +20 -0
- package/config/prettier.config.js +1 -0
- package/package.json +2 -5
- package/release_notes.md +2 -4
- package/src/Button/Button.tsx +2 -2
- package/src/Device/DeviceSelector/DeviceList/Device.tsx +1 -1
- package/src/Device/DeviceSelector/DeviceList/MoreDeviceInfo.tsx +2 -2
- package/src/Device/deviceInfo/deviceInfo.ts +6 -4
- package/src/Dropdown/Dropdown.tsx +1 -1
- package/src/FlashMessage/FlashMessage.tsx +1 -1
- package/src/Group/Group.tsx +2 -2
- package/src/InlineInput/NumberInputWithDropdown.tsx +1 -1
- package/typings/generated/src/Device/deviceInfo/deviceInfo.d.ts.map +1 -1
package/.eslintrc.js
ADDED
package/Changelog.md
CHANGED
|
@@ -7,6 +7,26 @@ 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
|
+
## 241.0.0 - 2025-12-12
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Product links for the nRF54LV10 DK.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Product links for the nRF9151 SMA DK.
|
|
19
|
+
|
|
20
|
+
## 240.0.0 - 2025-12-02
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Duplicate Tailwind classes and surrounding whitespaces are now removed.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Checking the order of Tailwind classes was not done anymore.
|
|
29
|
+
|
|
10
30
|
## 239.0.0 - 2025-11-12
|
|
11
31
|
|
|
12
32
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordicsemiconductor/pc-nrfconnect-shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "241.0.0",
|
|
4
4
|
"description": "Shared commodities for developing pc-nrfconnect-* packages",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"postcss": "8.4.24",
|
|
95
95
|
"postcss-modules": "^6.0.0",
|
|
96
96
|
"prettier": "^3.6.2",
|
|
97
|
-
"prettier-plugin-tailwindcss": "^0.
|
|
97
|
+
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
98
98
|
"prettysize": "2.0.0",
|
|
99
99
|
"protobufjs": "^7.0.0",
|
|
100
100
|
"react": "18.2.0",
|
|
@@ -129,8 +129,5 @@
|
|
|
129
129
|
"@commander-js/extra-typings": "^10.0.3"
|
|
130
130
|
},
|
|
131
131
|
"typings": "./typings/generated/src/index.d.ts",
|
|
132
|
-
"eslintConfig": {
|
|
133
|
-
"extends": "./config/eslintrc"
|
|
134
|
-
},
|
|
135
132
|
"prettier": "./config/prettier.config.js"
|
|
136
133
|
}
|
package/release_notes.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
### Added
|
|
2
2
|
|
|
3
|
-
-
|
|
3
|
+
- Product links for the nRF54LV10 DK.
|
|
4
4
|
|
|
5
5
|
### Changed
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
`warning`, and `danger` is slightly increased to match the width of the
|
|
9
|
-
variant `secondary`.
|
|
7
|
+
- Product links for the nRF9151 SMA DK.
|
package/src/Button/Button.tsx
CHANGED
|
@@ -50,9 +50,9 @@ const Button: React.FC<ButtonProps> = ({
|
|
|
50
50
|
variant === 'primary' &&
|
|
51
51
|
'tw-border tw-border-transparent tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
|
|
52
52
|
variant === 'secondary' &&
|
|
53
|
-
'tw-border tw-border-gray-700 tw-bg-white tw-text-gray-700
|
|
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-border tw-border-transparent tw-bg-green tw-text-white
|
|
55
|
+
'tw-border tw-border-transparent tw-bg-green tw-text-white active:enabled:tw-bg-green-700',
|
|
56
56
|
variant === 'info' &&
|
|
57
57
|
'tw-border tw-border-transparent tw-bg-nordicBlue tw-text-white active:enabled:tw-bg-nordicBlue-700',
|
|
58
58
|
variant === 'warning' &&
|
|
@@ -23,7 +23,7 @@ const ShowMoreInfo = ({
|
|
|
23
23
|
}) => (
|
|
24
24
|
<PseudoButton
|
|
25
25
|
className={classNames(
|
|
26
|
-
isVisible ? 'tw-visible' : 'tw-invisible
|
|
26
|
+
isVisible ? 'tw-visible' : 'tw-invisible group-hover:tw-visible',
|
|
27
27
|
`mdi mdi-chevron-${isVisible ? 'up' : 'down'}`,
|
|
28
28
|
)}
|
|
29
29
|
testId="show-more-device-info"
|
|
@@ -11,8 +11,8 @@ import { displayedDeviceName } from '../../deviceInfo/deviceInfo';
|
|
|
11
11
|
import { Device } from '../../deviceSlice';
|
|
12
12
|
|
|
13
13
|
const Row = ({ children }: { children: ReactNode }) => (
|
|
14
|
-
<div className="
|
|
15
|
-
<div className="
|
|
14
|
+
<div className="tw-flex tw-flex-row tw-pr-5">
|
|
15
|
+
<div className="tw-w-[68px]" />
|
|
16
16
|
{children}
|
|
17
17
|
</div>
|
|
18
18
|
);
|
|
@@ -287,8 +287,10 @@ const devicesByPca: { [P in KnownDevicePCA]: DeviceInfo } = {
|
|
|
287
287
|
cores: 1,
|
|
288
288
|
icon: nrf54logo,
|
|
289
289
|
website: {
|
|
290
|
-
productPage:
|
|
291
|
-
|
|
290
|
+
productPage:
|
|
291
|
+
'https://www.nordicsemi.com/Products/Development-hardware/nRF54LV10-DK',
|
|
292
|
+
buyOnline:
|
|
293
|
+
'https://www.nordicsemi.com/About-us/BuyOnline?search_token=nRF54LV10%20DK',
|
|
292
294
|
},
|
|
293
295
|
},
|
|
294
296
|
PCA10201: {
|
|
@@ -297,9 +299,9 @@ const devicesByPca: { [P in KnownDevicePCA]: DeviceInfo } = {
|
|
|
297
299
|
icon: nrf91logo,
|
|
298
300
|
website: {
|
|
299
301
|
productPage:
|
|
300
|
-
'https://www.nordicsemi.com/Products/Development-hardware/nRF9151-DK',
|
|
302
|
+
'https://www.nordicsemi.com/Products/Development-hardware/nRF9151-SMA-DK',
|
|
301
303
|
buyOnline:
|
|
302
|
-
'https://www.nordicsemi.com/About-us/BuyOnline?search_token=NRF9151
|
|
304
|
+
'https://www.nordicsemi.com/About-us/BuyOnline?search_token=NRF9151%20SMA%20DK',
|
|
303
305
|
},
|
|
304
306
|
},
|
|
305
307
|
};
|
|
@@ -125,7 +125,7 @@ export default <T,>({
|
|
|
125
125
|
<button
|
|
126
126
|
type="button"
|
|
127
127
|
className={classNames(
|
|
128
|
-
'tw-
|
|
128
|
+
'tw-clear-both tw-block tw-h-6 tw-w-full tw-whitespace-nowrap tw-border-0 tw-bg-transparent tw-px-2 tw-py-1 tw-text-left tw-font-normal tw-text-white hover:tw-bg-gray-600 focus:tw-bg-gray-600',
|
|
129
129
|
size === 'sm' && 'tw-text-2xs',
|
|
130
130
|
)}
|
|
131
131
|
key={JSON.stringify(item.value)}
|
|
@@ -75,7 +75,7 @@ const SingleFlashMessage = ({
|
|
|
75
75
|
return (
|
|
76
76
|
<div
|
|
77
77
|
ref={divRef}
|
|
78
|
-
className={`tw-flex tw-w-full tw-flex-col tw-justify-between tw-p-4
|
|
78
|
+
className={`tw-flex tw-w-full tw-flex-col tw-justify-between tw-p-4 tw-text-white ${classNames(
|
|
79
79
|
variant === 'error' && 'tw-bg-red',
|
|
80
80
|
variant === 'success' && 'tw-bg-green',
|
|
81
81
|
variant === 'info' && 'tw-bg-nordicBlue',
|
package/src/Group/Group.tsx
CHANGED
|
@@ -119,9 +119,9 @@ export const Group = ({
|
|
|
119
119
|
<div className={className}>
|
|
120
120
|
<button
|
|
121
121
|
className={classNames(
|
|
122
|
-
'tw-
|
|
122
|
+
'tw-preflight tw-flex tw-flex-row tw-items-center tw-justify-between tw-text-left',
|
|
123
123
|
headingFullWidth && 'tw-w-full',
|
|
124
|
-
!collapsible && '
|
|
124
|
+
!collapsible && 'tw-cursor-default',
|
|
125
125
|
)}
|
|
126
126
|
type="button"
|
|
127
127
|
onClick={() => {
|
|
@@ -122,7 +122,7 @@ export default ({
|
|
|
122
122
|
{items.map(item => (
|
|
123
123
|
<button
|
|
124
124
|
type="button"
|
|
125
|
-
className="tw-
|
|
125
|
+
className="tw-clear-both tw-block tw-h-6 tw-w-full tw-whitespace-nowrap tw-border-0 tw-bg-transparent tw-px-2 tw-py-1 tw-text-left tw-font-normal tw-text-white hover:tw-bg-gray-600 focus:tw-bg-gray-600"
|
|
126
126
|
key={item.value}
|
|
127
127
|
onClick={() => onClickItem(item)}
|
|
128
128
|
>
|
|
@@ -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;
|
|
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;AAySD,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM,KAAG,UAC2B,CAAC;AASxE,eAAO,MAAM,mBAAmB,GAC5B,QAAQ,MAAM,EACd;;CAA+B,WAOlC,CAAC"}
|