equinor / energyvision

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

[Snyk] Upgrade @equinor/eds-core-react from 0.37.0 to 0.39.0 #2383

Open oddvernes opened 1 month ago

oddvernes commented 1 month 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.39.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 **2 versions** ahead of your current version. - The recommended version was released on **24 days ago**.
Release notes
Package name: @equinor/eds-core-react
  • 0.39.0 - 2024-05-27

    [0.39.0] - 2024-05-27

    Fixed

    • πŸ› DatePicker: Datetime-input was formatted with / instead of : by @ yusijs in #3450
    • πŸ› Autocomplete: added explicit transparent background-color to [popover]::backdrop by @ oddvernes in af36ebd

    Added

    • ✨ Autocomplete: Solution for object-checking by value instead of reference with new itemCompare prop by @ yusijs in #3455

    Changed

    • πŸ“Œ Changed required styled-components version to 5.1 in peer dependencies by @ oddvernes in #3459
  • 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)