Skip to content

Releases: equinor/design-system

eds-core-react@0.20.2

16 Jun 08:47
0ab5a7a
Compare
Choose a tag to compare

Added

  • Accordion now has a new sub-component; Accordion.HeaderActions! This should make it easier to have interactive elements in the Accordion.Header while maintaining proper a11y. (#2091)

Fixed

  • Autocomplete
    • Should no longer trigger re-renders when closed. (#2295)
    • Should now correctly update if options are changed after initialization. (#2304)
    • onOptionsChange should now properly trigger when controlled in single select mode. (#2300)
    • Bumped dropdown z-index to match other EDS components. (#2309)

eds-utils@0.2.2

09 Jun 06:36
7e32862
Compare
Choose a tag to compare

Changed

  • Upgraded dev dependencies & fixed missing types(#2183)

eds-tokens@0.7.1

09 Jun 11:22
9b201b8
Compare
Choose a tag to compare

Changed

  • Upgraded dev dependencies(#2183)

eds-icons@0.11.0

09 Jun 11:23
1831936
Compare
Choose a tag to compare

Added

  • zip_file
  • subsea_drone
  • onshore_drone
  • anchor
  • aerial_drone

Fixed

  • Fixed typo in icons. Make sure to update the following icons to fixed name
    • communte -> commute
    • headseat_mic -> headset_mic
    • desktop_windwos -> desktop_windows
    • breifcase -> briefcase
    • format_stikethrough -> format_strikethrough
    • mood_extreamly_sad -> mood_extremely_sad
    • mood_extreamly_happy -> mood_extremely_happy

Removed

  • communte
  • headseat_mic
  • desktop_windwos
  • breifcase
  • format_stikethrough
  • mood_extreamly_sad
  • mood_extreamly_happy

eds-core-react@0.20.1

09 Jun 10:21
30c4699
Compare
Choose a tag to compare

Deprecated

  • ariaLabelledby has been deprecated on Slider. Use aria-labelledby instead. (#2173)

eds-core-react@0.20.0

09 Jun 06:35
7e32862
Compare
Choose a tag to compare

Added

  • New component! 🎉 Autocomplete has been moved from our labs to core! (#2201)
    • This is a new component based on feedback from MultiSelect & SingleSelect aimed resolving their shortcomings, complexity and improve further development

Changed

  • Improved Progress legibility (#2182)
  • Improved Slider legibility (#2173)
  • Card is now less opinonated making it easier to use inside flex/grid containers (#2273)
  • Upgraded dev dependencies, fixed missing types in Slider & removed Menu.Item memo as it was not working as intended (#2183)

Deprecated

  • MultiSelect has been deprecated in favour of <Autocomplete multiple />. (#1537)
  • SingleSelect has been deprecated in favour of <Autocomplete />. (#1537)

Fixed

  • Table.Cell height should now be correct in Table.Head (#2197)
  • Tabs should no longer throw error if onChange is not defined (#2196)
  • Popover should now have correct typings for onClose (#2264)
  • Search should no longer display blue background on Chrome when autocomplete is defined (#2160)

eds-core-react@0.19.0

06 Apr 11:28
Compare
Choose a tag to compare

[0.19.0] - 2022-04-06

Added

  • Menu now supports keyhandling on anchor element for open & focus on Enter/ArrowUp/ArrowDown (#1936)

    • Users now need to store anchor element in useState for correct re-renders & listening events

Changed

  • Adjustments to focus outline visibility (#1733)

Fixed

  • Menu should no longer crash when using conditional rendering inside on children such as Menu.Item or Menu.Section (#2015)
  • Hide top divider when Menu.Section is first child in Menu (#2015)
  • Scrim.Content should now work with global eventlisteneres (#2092)
  • Slider should now reposition dots correctly if value is changed (#2118)

eds-core-react@0.18.0

18 Feb 13:25
84fa410
Compare
Choose a tag to compare

[0.18.0] - 2022-02-18

Added

  • Added support for 18px Icon size in preparation for compact mode (#1827)
  • Tabs: Enabled Tabs.List horizontal overflow. (#1650)
    • Added scrollable prop which adds overflow-x: auto to the tabs for users that wants a scrollbar.
    • Otherwise this is now overflow-x: hidden and there is an example added in Storybook for how to implement "previous" and "next" buttons to navigate an overflowed list.
  • New dependency: (@equinor/eds-utils). Utility functions and hooks have been moved out of eds-core-react and into its own package (#1846)

Changed

  • Dialog is now opened in a portal and within a scrim. It is now controlled via an open property. isDismissable and onClose properties were also added to conform to other similar components. (#1177)
  • Dialog: Moved padding from outer element to subcomponents. Added new subcomponent Dialog.Header, and added Dialog.Content as an alias to Dialog.CustomContent (#1896)
  • Popover: Moved padding from outer element to subcomponents. Added two new subcomponents Popover.Actions and Popover.Header. Removed fixed close button (see storybook for example of how this can be added using existing components instead). (#1365)
  • Increased z-index on certain components to match that of MUI's z-indexes (#1981)

Fixed

  • Fixed a bug where scroll on body was not restored after closing Scrim (#1892)
  • Fixed an issue with Menu onClose where potentially a function could be called after unmounting the component. (#1898)
  • Fixed Menu.Item onClick not triggering with keyboard enter (#1910)
  • Fixed an issue where opening Menu using keyboard navigation while scrolled down would cause page to scroll to top (#1932)
  • Removed reference to window in Snackbar and Tooltip which broke server side rendering (#1970)
  • Fixed an issue where trying to add a style tag to Tooltip would break the rendering (#1982)

eds-core-react@0.17.0

22 Dec 13:16
d9509c2
Compare
Choose a tag to compare

[0.17.0] - 2021-12-22

Added

  • Scrim is now controlled via an open property. (#1176)

Changed

  • Improvements to Menu & Popover DOM imprint when closed and subsuquent opennings. (#1675)

Removed

  • event & open was removed as parameters to the onClose callback for Scrim. (#1176)
  • Scrim is only visible when property open is set to true. (#1176)

Fixed

  • MultiSelect should now clear properly on blur and clicking clear button. (#1664)
  • Improved TextField a11y for when error messages are displayed as helperText. (#1145)
  • Button in tables should now have proper stacking context for sticky table header. (#1816)

eds-icons@0.10.0

20 Dec 12:27
eee84f5
Compare
Choose a tag to compare

[0.10.0] - 2021-12-20

Added

  • wind_turbine icon (#1801)

Fixed

  • calendar icon should no longer misaligned with other "calendar" icons (#1809)