Releases: equinor/design-system
Releases · equinor/design-system
eds-core-react@0.20.2
Added
Accordion
now has a new sub-component;Accordion.HeaderActions
! This should make it easier to have interactive elements in theAccordion.Header
while maintaining proper a11y. (#2091)
Fixed
Autocomplete
eds-utils@0.2.2
Changed
- Upgraded dev dependencies & fixed missing types(#2183)
eds-tokens@0.7.1
Changed
- Upgraded dev dependencies(#2183)
eds-icons@0.11.0
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
Deprecated
ariaLabelledby
has been deprecated onSlider
. Usearia-labelledby
instead. (#2173)
eds-core-react@0.20.0
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
- This is a new component based on feedback from
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
eds-core-react@0.19.0
[0.19.0] - 2022-04-06
Added
-
Menu
now supports keyhandling on anchor element for open & focus onEnter
/ArrowUp
/ArrowDown
(#1936)- Users now need to store anchor element in
useState
for correct re-renders & listening events
- Users now need to store anchor element in
Changed
- Adjustments to focus outline visibility (#1733)
Fixed
Menu
should no longer crash when using conditional rendering inside on children such asMenu.Item
orMenu.Section
(#2015)- Hide top divider when
Menu.Section
is first child inMenu
(#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
[0.18.0] - 2022-02-18
Added
- Added support for
18
pxIcon
size in preparation for compact mode (#1827) Tabs
: EnabledTabs.List
horizontal overflow. (#1650)- Added
scrollable
prop which addsoverflow-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.
- Added
- 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 anopen
property.isDismissable
andonClose
properties were also added to conform to other similar components. (#1177)Dialog
: Moved padding from outer element to subcomponents. Added new subcomponentDialog.Header
, and addedDialog.Content
as an alias toDialog.CustomContent
(#1896)Popover
: Moved padding from outer element to subcomponents. Added two new subcomponentsPopover.Actions
andPopover.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
inSnackbar
andTooltip
which broke server side rendering (#1970) - Fixed an issue where trying to add a
style
tag toTooltip
would break the rendering (#1982)
eds-core-react@0.17.0
[0.17.0] - 2021-12-22
Added
Scrim
is now controlled via anopen
property. (#1176)
Changed
- Improvements to
Menu
&Popover
DOM imprint when closed and subsuquent opennings. (#1675)
Removed
event
&open
was removed as parameters to theonClose
callback forScrim
. (#1176)Scrim
is only visible when propertyopen
is set totrue
. (#1176)