Releases: equinor/design-system
Releases · equinor/design-system
eds-core-react@0.14.3
[0.14.3] - 2021-11-16
Fixed
Menu
should now have correct focus when clicking & navigating with keyboard (#1668)Menu
now putsclassName
on container element so its easier to apply your own styles (#1672)Breadcrumbs.Breadcrumb
will now respect yourhref
again (#1687)
Changed
Slider
now accepts decimal values (#724)
eds-icons@0.8.0
[0.8.0] - 2021-11-09
Deprecated
- Removed
umd
module from the build. This should prompt build tools select the tree-shakeableesm
module instead. (#1539)
eds-core-react@0.14.2
eds-core-react@0.14.1
[0.14.1] - 2021-10-19
Added
- Hover effects are wrapped with Media Query to only target devices with mouse pointer (#1589)
Pagination
control now changes to first page if theitemsPerPage
value changes (#1621)
Fixed
Tooltip
now works when wrappingRadio
orCheckbox
(#1605)- Fixed an issue where an external themeprovider can overwrite unset values in certain components (#1617)
Scrim
now correctly covers entire screen when used in conjunction with the csszoom
property (#1625)Scrim
now disables scroll on body when open (#1587)
Changed
eds-tokens@0.7.0
[0.7.0] - 2021-09-30
Added
- Typgraphy tokens for
compact
Table
Changed
- Updates to internal types for tokens
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)