equinor / energyvision

Home of the equinor.com website
https://www.equinor.com
MIT License
32 stars 8 forks source link

[Snyk] Upgrade @equinor/eds-core-react from 0.37.0 to 0.38.0 #2347

Closed oddvernes closed 2 months ago

oddvernes commented 3 months ago

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

    [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 #3415

    Changed

    • 🧑‍💻 Autocomplete: improved type safety for autocomplete when optionLabel is required by @ FredrikMWold in #3408
    • 🚸 Autocomplete: implement native popover for better compatability with Dialog by @ oddvernes in #3416
    • ⬆️ Updated prod dependencies by @ oddvernes in #3425

    Fixed

    • 🐛 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:

    HTMLElement.prototype.showPopover = jest.fn()
    HTMLElement.prototype.hidePopover = jest.fn()
    
  • 0.37.0 - 2024-04-24

    [0.37.0] - 2024-04-24

    Added

    • ✨ 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)
padms commented 2 months ago

Duplicate of #2383