[Snyk] Upgrade @equinor/eds-core-react from 0.35.1 to 0.40.1 #690
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @equinor/eds-core-react from 0.35.1 to 0.40.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 8 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @equinor/eds-core-react
[0.40.1] - 2024-07-10
Fixed
Autocomplete
: Do not attach document.body if server side rendering by @ magnh in #3542Changed
Icon
: improve icon type definition by making it a descriminated union onname
anddata
by @ FredrikMWold in #3547[0.40.0] - 2024-06-21
Fixed
DatePicker
: use correct token for text color by @ oddvernes in #3520DatePicker
: exportDatePickerProps
type by @ oddvernes in #3538Autocomplete
: reverted changes from #3408 (conditionaloptionLabel
type) due to typescript issues when wrapping the component. Also madeoptions
typereadonly
by @ oddvernes in #3515Autocomplete
: return focus to input after pressing 'clear' button by @ oddvernes in #3531Autocomplete
: crash triggered by opening dropdown using keyboard if all items are disabled by @ oddvernes in #3534Added
Datepicker
type: allow passing standard html attributes by @ oddvernes in #3509Datepicker
/DateRangepicker
: addedhideClearButton
prop, and also hide clear button if no date is set by @ oddvernes in #3537[0.39.0] - 2024-05-27
Fixed
DatePicker
: Datetime-input was formatted with/
instead of:
by @ yusijs in #3450Autocomplete
: added explicit transparent background-color to [popover]::backdrop by @ oddvernes in af36ebdAdded
Autocomplete
: Solution for object-checking by value instead of reference with newitemCompare
prop by @ yusijs in #3455Changed
styled-components
version to 5.1 in peer dependencies by @ oddvernes in #3459[0.38.0] - 2024-05-14
Added
DatePicker
: Enable custom date-formats in the input segments when they are not focused. Also added support for custom locale by @ yusijs in #3415Changed
🧑💻 Autocomplete
: improved type safety for autocomplete whenoptionLabel
is required by @ FredrikMWold in #3408Autocomplete
: implement nativepopover
for better compatability withDialog
by @ oddvernes in #3416Fixed
Autocomplete
"Select all" toggle causing crashes under certain circumstances with controlledAutocomplete
by @ mhwaage in #3428Autocomplete
when toggling "Select all" or clicking the "clear" button, disabled items are now left unchanged. The "x/y selected" text in the input has changed "y" from "total non-disabled items length" to "all items length" by @ oddvernes in #3429Autocomplete
: dragging scrollbar and then switching to using up/down arrow navigation should now work as expected by @ oddvernes in #3441Notes
Due to the introduction of the native
popover
attribute, downstream unit tests involving edsAutocomplete
may fail due to Jest/jsDom not having added support for the popover api yet. The easy solution to this is to add the following lines to yourjest.setup.ts
or alternatively within the test itself:Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: