Releases: equinor/design-system
Releases · equinor/design-system
eds-core-react@0.14.0
[0.14.0] - 2021-09-30
Added
- New
placement
property forSnackbar
for more placement variety (#1488) - "Clear selection" button for
SingleSelect
&MultiSelect
(#1411) SingleSelect
&MultiSelect
will show all items when reopnened, with selected items being highlighted (#1065)SingleSelect
&MultiSelect
will now open on focus (#1165)
Fixed
- Missing
readOnly
styles forTextfield
(#1162) Tooltip
should now respect external handlers (#1558)TextField
should now respect external handlers (#1538)Popover
should now only close onESC
key when is open (#1529)Breadcrumbs.Breadcrumb
will now be rendered asspan
whenhref
is undefined to avoid duplicatea
elements when used with router libraries (#1505)Snackbar
&Banner
components should now acceptref
properties! (#810)Tooltip
should now work when used in combination withPopover
orMenu
with anchor elements (#1496)- Adjustments and added missing
compact
styling forRadio
(#1580 )
Changed
- Reduced focus offset for
Button
variantghost_icon
(#1565 ) - Cleaned up styling i
Card.Actions
(#1520 ) Search
&Accordion
icon sizes are aligned with other components (#1403)- Adjusted colors for select components (#1514)
- Adjusted focus and label spacing for
Switch
(#1567)
Removed
Snackbar
leftAlignFrom
property is replaced byplacement
for more placement options. (#1488)
eds-icons@0.7.0
[0.7.0] - 2021-09-07
Added
- New icons:
power_bi
engineering
boundaries
inspect3d
inspectrotation
invert
Changed
- Updated
svgo
from1.3.2
to2.3.0
with new parsing, bundling and minimizing plugins.
eds-core-react@0.13.1
[0.13.1] - 2021-07-16
Fixed
- Jest/react-testing-library errors in bundle when using with Webpack 5 (#1490) & (#1406)
- Snackbar timeout improvements to avoid "missed" timeout (#1486)
- Snackbar centering was wrong when used inside certain elements (#1172)
- Snackbar stacking content order, should now be on top most of the time (#1173)
eds-core-react@0.13.0
[0.13.0] - 2021-07-15
Added
Compact components part 1 (#1249)
- Compact mode can be activated by using the
EdsProvider
as a parent component and setting thedensity
property to"compact"
. This will toggle compact mode on all nested components. - Example:
// This renders a compact Table with compact Button & Checkbox inside
<EdsProvider density="compact">
<Table>
<Table.Body>
<Table.Row>
<Table.Cell>
<Button>Compact</Button>
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
<Checkbox />
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
</EdsProvider>
- Components with compact support:
TextField
Input
Checkbox
Menu
NativeSelect
SingleSelect
MultiSelect
Button
Switch
Table
Fixed
TopBar
missing bottom-border (#1395)- Wrong types in the
onChange
callback inPagination
(#1397) - Misaligned
Icon
when used insideButton
variantghost_icon
(#1423) TextField
lost focus ifinputIcon
was toggled conditionally (#1425)TextField
withinputIcon
had wrong border color (#1425)- Typo in
Accordion
displayName
(#1450) - Disabled
Button
was not disabled ifhref
was set (#1456) - Stacking order for overlay components (
Menu
,Popover
,Scrim
etc.) (#1462, #1466)
Changed
eds-tokens@0.6.0
eds-core-react@0.12.1
eds-core-react@0.12.0
[0.12.0] - 2021-05-21
Added
TextField
has a new property,rowsMax
for determining how many rows it will grow before overflow (scrollbars) show (#1336)
Fixed 🐛
Menu
did not respect anchor position when used with conditional rendering (#1330)- Wrong
Tooltip
position if surrounding content would skew its anchor element (#1331) - Tweaks to
Menu
,Popover
&Tooltip
component and stories in terms ofa11y
use-cases with screen-readers (#1352)
Changed
eds-tokens@0.5.8
[0.5.8] - 2021-05-06
Changed
- Updates to internal types for tokens
eds-core-react@0.11.1
eds-core-react@0.11.0
[0.11.0] - 2021-05-05
Added
- Export types for all sub-components (#1127)
Fixed 🐛
- Hide
Tooltip
whentitle
is empty string (#1292) Tooltip
errors when used in SSR(server-side rendering) (#1230)Tooltip
being stuck when scrolling while open(#1325)- Too big offset on focus-frame for
Button
(#1218)
Removed
- Sub-components exposed with double names (#1317)