Releases: equinor/design-system
Releases · equinor/design-system
eds-core-react@0.10.1
eds-core-react@0.10.0
[0.10.0] - 2021-04-14
Added ✨
- New
placement
property onMenu
to define placement of openedMenu
. List of available values here (#952) - New
anchorEl
property onPopover
. Use this in combination withref
on anchor andopen
onPopover
(#673) - New
enterDelay
property onTooltip
to delay open (#1154) Tooltip
can now be closed on globalESC
keypress (#1195)Tooltip
can now be used ontd
elements (#984)
Changed 📓
Menu
,Popover
andTooltip
- Streamlined close logic for
Menu
,Popover
andScrim
(#1175)
Menu
propertyanchorEl
changed from required to optional (#1193)
Fixed 🐛
- Missing focus frame on
Breadcrumbs
(#1134) - Missing props table for
Menu
in Storybook (#1164) - Missing role on
Banner
(#1178) - Clarified use of
Banner.Actions
in Storybook (#1188) - Missing focus frame on
Typography
links (#1203) - Missing disabled colours on
TextField
(#1161) - Wrong offset on
Button
focus frame (#1218)
Breaking changes ⚠️
Placement
values inTooltip
andPopover
are changed to match popperJS. List of available values herePopover.Anchor
deprecated, please use theanchorEl
property onPopover
instead- Removed
open
property onTooltip
as it was not working as expected
Deprecated 🗑
Popover.Anchor
deprecated due to streamlined popup logic
eds-core-react@0.9.2
[0.9.2] - 2021-03-19
Fixed
- Bumped eds-tokens version
eds-tokens@0.5.7
[0.5.7] - 2021-03-19
Fixed
- Missing dist folder 🙈
eds-tokens@0.5.6
eds-core-react@0.9.0
[0.9.0] - 2021-03-17
Added ✨
- TextField (#1107, #1108, #1111, #1115, #1131, #1128)
Input
andLabel
is now available as separate components. This will make it easier to customize for more advanced patterns or for making your own custom components for specialized use-cases.TextField
now supportunit
inside the input field. This is useful for e.g. currency and units of measurement.
Changed 📓
- Textfield
- Improvements when using the
Icon
in theinputIcon
andhelperIcon
props. This makes the behaviour here more similar to the rest of the EDS library. (#1130) - Internal fixes and optimization
- Improvements when using the
Fixed 🐛
- Textfield
- Fixed missing disabled colors (#1160)
eds-tokens@0.5.5
eds-core-react@0.8.5
[0.8.5] - 2021-02-22
Added ✨
- Progress indicators (#1090, #1098)
Circular
,Star
andDots
now have asize
property for adjusting size.Circular
andDots
now have acolor
property following the same color scheme as our other components.- Refactored as compound components. You can now find the progress indicators under
Progress
, such asProgress.Dots
,Progress.Star
etc..- The individual
LinearProgress
,CircularProgress
,StarProgress
&DotProgress
will be removed at a later time
- The individual
Accordion.Header
now has anonToggle
callback to help defer rendering of content whenAccordion
are opened/closed (#1121)
Fixed 🐛
- Adjusted text and icon placements inside
Button
so thatIcon
(svg) will always align to the sides regardless of button width (#1085) - Fixed
Menu
story where content would skew theMenuItem
height (#1104) - Progress indicators (#1090, #1098)
- Adjustments so that
Circular
andDots
can be used insideButton
- Cleaned up component so that they are pure svgs now (except for
Linear
)
- Adjustments so that
Changed 📓
- Cleaned up sub-component naming, so no more repeating names such as,
Card.CardActions
orMenu.MenuSection
(#1083)- The old sub-component names are still there but will be removed at a later time
- Updated our storybook stories to better reflect usages of components with sub-components (#1094)
Deprecated
- Progress indicators (#1090)
- Removed
variant
property onDots
(replaced bycolor
property)
- Removed
Button
do no longer force size on nestedIcon
eds-icons@0.6.2
[0.6.2] - 2021-01-21
Fixed 🐛
- Icon name typo for icon
close_cricle_outlined
->close_circle_outlined
(#993)
eds-core-react@0.8.4
[0.8.4] - 2021-01-21
Added ✨
- Active, error and hover states in
Table
(#940) - Support for toggling sortable Table column styling. New property
sort
onTable.Cell
(#983) - Sticky Table head (#1031). New property
sticky
onTable.Head
Fixed 🐛
- Tests for Table (#297)
- Missing primary color on
Button
variant="ghost_icon"
(#986) - Hover bug on touch devices (#987)
- Icon bug in Storybook when changing name (#955)
SingleSelect
items are properly updated when changed after initial render (#1064)
Changed 📓
Deprecated
Table.Cell
as
property on is removed. This had to be done due to technical limitations with new features.Table.Cell
will now automatically renderth
ortd
based on "parent" element.