Snyk has created this PR to upgrade @equinor/eds-core-react from 0.37.0 to 0.38.0.
:information_source: 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 **1 version** ahead of your current version.
- The recommended version was released on **22 days ago**.
Release notes Package name: @equinor/eds-core-react
🐛 Autocomplete "Select all" toggle causing crashes under certain circumstances with controlled Autocomplete by @ mhwaage in #3428
🐛 Autocomplete 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 #3429
🐛 Autocomplete: dragging scrollbar and then switching to using up/down arrow navigation should now work as expected by @ oddvernes in #3441
Notes
Due to the introduction of the native popover attribute, downstream unit tests involving eds Autocomplete 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 your jest.setup.ts or alternatively within the test itself:
✨ New components: Datepicker and DateRangePicker by @ yusijs in #3387
➕ New dependencies
react-aria
@ react-aria/utils
@ react-stately/calendar
@ react-stately/datepicker
@ react-types/shared
@ internationalized/date
Changed
🏷️ Label: change "meta" field type to ReactNode by @ oddvernes in #3341
🚸 Autocomplete: show "no options" on focus when options is empty by @ oddvernes in #3399
💄 Menu: focus-ring changed from :focus to :focus-visible by @ oddvernes in #3396
Fixed
🐛 TextArea/TextField: Fixed scrollbar being inaccessible when inputIcon is present by @ oddvernes in #3378
🐛 TextField: Dynamically update padding when inputIcon changes by @ torleifhalseth in #3380
🐛 Button: fixed misaligned clickbounds on icon/ghost icon variants by @ oddvernes in #3397
🔥 Tabs: Remove invalid props from TabListProps type by @ oddvernes in #3401
from @equinor/eds-core-react GitHub release notes
---
> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with your project.
> - This PR was automatically created by Snyk using the credentials of a real user.
---
**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:**
> - 🧐 [View latest project report](https://app.snyk.io/org/heappurple-team/project/1aa834ee-5ec4-435c-8963-259ad10a8aa1?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
> - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/heappurple-team/project/1aa834ee-5ec4-435c-8963-259ad10a8aa1/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/heappurple-team/project/1aa834ee-5ec4-435c-8963-259ad10a8aa1/settings/integration?pkg=&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @equinor/eds-core-react from 0.37.0 to 0.38.0.
:information_source: 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 **1 version** ahead of your current version. - The recommended version was released on **22 days ago**.
Release notes
Package name: @equinor/eds-core-react
[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:[0.37.0] - 2024-04-24
Added
Datepicker
andDateRangePicker
by @ yusijs in #3387react-aria
@ react-aria/utils
@ react-stately/calendar
@ react-stately/datepicker
@ react-types/shared
@ internationalized/date
Changed
Label
: change "meta" field type toReactNode
by @ oddvernes in #3341Autocomplete
: show "no options" on focus whenoptions
is empty by @ oddvernes in #3399Menu
: focus-ring changed from :focus to :focus-visible by @ oddvernes in #3396Fixed
TextArea
/TextField
: Fixed scrollbar being inaccessible wheninputIcon
is present by @ oddvernes in #3378TextField
: Dynamically update padding wheninputIcon
changes by @ torleifhalseth in #3380Button
: fixed misaligned clickbounds on icon/ghost icon variants by @ oddvernes in #3397Tabs
: Remove invalid props fromTabListProps
type by @ oddvernes in #3401