NordicSemiconductor/pc-nrfconnect-shared (@nordicsemiconductor/pc-nrfconnect-shared)
### [`v166.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16600---2024-03-05)
##### Added
- `Slider` now supports unsorted range values
- `NumberInlineInput` now supports unsorted range values
- `InlineInput` supports optional `minSize` property
- `NumberInlineInput` supports optional `minSize` and `preAllocateSize`
properties
- `NumberInput` supports optional `inputMinSize` and `preAllocateInputSize`
properties
##### Changed
- `NumberInlineInput` will pre-allocate input min width depending on the range
unless `minSize` property is provided or `preAllocateSize` is set to false
- `NumberInput` will pre-allocate input min input field width depending on the
range unless `inputMinSize` property is provided or `preAllocateInputSize`
is set to false
##### Fixed
- `NumberInput` unit is not aligned when label consumes multi line
### [`v165.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16500---2024-03-05)
##### Added
- Auto update nrfutil core for sandboxes
### [`v164.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16400---2024-03-05)
##### Fixed
- Device setup dialog failed to show on JLink device with no FW
### [`v163.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16300---2024-03-05)
##### Fixed
- Fixed issue with `Group` remaining expanded in some cases
### [`v162.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16200---2024-03-05)
##### Changed
- Device programming dialog changes to `programming` when programming starts.
- `Group` now combines `CollapsibleGroup` functionality with `collapsible`
property. New properties have also been added: `gap`, `headingFullWidth`,
##### Fixed
- Pass `disable` prop to `Dropdown` in `NumberInput`.
- Weird visual fragments when hovering over non-active `StateSelector` part.
- `Dropdown elements font size is 12px everywhere in apps and not just the side panel`
##### Removed
- `CollapsibleGroup`. Use `Group` component as a replacement.
##### Steps to upgrade
- Replace all `CollapsibleGroup` with `Group` component.
### [`v161.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16100---2024-02-26)
##### Fixed
- `ConfirmCloseDialog` title now uses app display name
### [`v160.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16000---2024-02-23)
##### Added
- Export `isConfirmCloseDialogOpen` to tell when confirm close dialog is open
### [`v159.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#15900---2024-02-23)
##### Added
- `minWidth` parameter to `Dropdown` component.
- `transparentButtonBg` parameter to `Dropdown` component.
- `NumberInput` component (provides text, input, optional unit, and slider).
- Common way to queue ongoing pending tasks. If an app is closed, a dialog is
prompted to alert users before clo sing app. Redux states for this are:
- `addConfirmBeforeClose`
- `clearConfirmBeforeClose`
- `preventAppCloseUntilComplete` can be used to wrap some promise and
secure app from closing until promise is resolved
##### Removed
- `NumberInputWithSlider` component.
##### Changed
- `StateSelector` no longer has 16px margin on the bottom. Apps are now
responsible to add the appropriate gap per container
##### Steps to upgrade
- Change all occurrences of `NumberInputWithSlider` to `NumberInput`.
- Check all use cases of `StateSelector` and that the gap between components
is correct if not adjust spacing from the app side
### [`v158.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#15800---2024-02-22)
##### Added
- `NrfutilDeviceLib.deviceInfo` now has `protectionStatus` property.
##### Removed
- `DeviceSlice` no longer has readbackProtection state
- `DeviceSlice` no longer has setReadbackProtection has be removed
##### Changed
- `getReadbackProtection` now returns protection type `ProtectionStatus` from
nrfutil device common.ts
##### Steps to upgrade when using this package
- Minimum support version of nrfutil device is now 2.1.1
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^157.0.0
->^166.0.0
Release Notes
NordicSemiconductor/pc-nrfconnect-shared (@nordicsemiconductor/pc-nrfconnect-shared)
### [`v166.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16600---2024-03-05) ##### Added - `Slider` now supports unsorted range values - `NumberInlineInput` now supports unsorted range values - `InlineInput` supports optional `minSize` property - `NumberInlineInput` supports optional `minSize` and `preAllocateSize` properties - `NumberInput` supports optional `inputMinSize` and `preAllocateInputSize` properties ##### Changed - `NumberInlineInput` will pre-allocate input min width depending on the range unless `minSize` property is provided or `preAllocateSize` is set to false - `NumberInput` will pre-allocate input min input field width depending on the range unless `inputMinSize` property is provided or `preAllocateInputSize` is set to false ##### Fixed - `NumberInput` unit is not aligned when label consumes multi line ### [`v165.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16500---2024-03-05) ##### Added - Auto update nrfutil core for sandboxes ### [`v164.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16400---2024-03-05) ##### Fixed - Device setup dialog failed to show on JLink device with no FW ### [`v163.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16300---2024-03-05) ##### Fixed - Fixed issue with `Group` remaining expanded in some cases ### [`v162.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16200---2024-03-05) ##### Changed - Device programming dialog changes to `programming` when programming starts. - `Group` now combines `CollapsibleGroup` functionality with `collapsible` property. New properties have also been added: `gap`, `headingFullWidth`, ##### Fixed - Pass `disable` prop to `Dropdown` in `NumberInput`. - Weird visual fragments when hovering over non-active `StateSelector` part. - `Dropdown elements font size is 12px everywhere in apps and not just the side panel` ##### Removed - `CollapsibleGroup`. Use `Group` component as a replacement. ##### Steps to upgrade - Replace all `CollapsibleGroup` with `Group` component. ### [`v161.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16100---2024-02-26) ##### Fixed - `ConfirmCloseDialog` title now uses app display name ### [`v160.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#16000---2024-02-23) ##### Added - Export `isConfirmCloseDialogOpen` to tell when confirm close dialog is open ### [`v159.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#15900---2024-02-23) ##### Added - `minWidth` parameter to `Dropdown` component. - `transparentButtonBg` parameter to `Dropdown` component. - `NumberInput` component (provides text, input, optional unit, and slider). - Common way to queue ongoing pending tasks. If an app is closed, a dialog is prompted to alert users before clo sing app. Redux states for this are: - `addConfirmBeforeClose` - `clearConfirmBeforeClose` - `preventAppCloseUntilComplete` can be used to wrap some promise and secure app from closing until promise is resolved ##### Removed - `NumberInputWithSlider` component. ##### Changed - `StateSelector` no longer has 16px margin on the bottom. Apps are now responsible to add the appropriate gap per container ##### Steps to upgrade - Change all occurrences of `NumberInputWithSlider` to `NumberInput`. - Check all use cases of `StateSelector` and that the gap between components is correct if not adjust spacing from the app side ### [`v158.0.0`](https://togithub.com/NordicSemiconductor/pc-nrfconnect-shared/blob/HEAD/Changelog.md#15800---2024-02-22) ##### Added - `NrfutilDeviceLib.deviceInfo` now has `protectionStatus` property. ##### Removed - `DeviceSlice` no longer has readbackProtection state - `DeviceSlice` no longer has setReadbackProtection has be removed ##### Changed - `getReadbackProtection` now returns protection type `ProtectionStatus` from nrfutil device common.ts ##### Steps to upgrade when using this package - Minimum support version of nrfutil device is now 2.1.1Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.