Skip to content

Releases: equinor/design-system

eds-core-react@0.14.0

30 Sep 10:26
219a02d
Compare
Choose a tag to compare

[0.14.0] - 2021-09-30

Added

  • New placement property for Snackbar 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 for Textfield (#1162)
  • Tooltip should now respect external handlers (#1558)
  • TextField should now respect external handlers (#1538)
  • Popover should now only close on ESC key when is open (#1529)
  • Breadcrumbs.Breadcrumb will now be rendered as span when href is undefined to avoid duplicate a elements when used with router libraries (#1505)
  • Snackbar & Banner components should now accept ref properties! (#810)
  • Tooltip should now work when used in combination with Popover or Menu with anchor elements (#1496)
  • Adjustments and added missing compact styling for Radio (#1580 )

Changed

  • Reduced focus offset for Button variant ghost_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 by placement for more placement options. (#1488)

eds-icons@0.7.0

07 Sep 13:51
e2e2553
Compare
Choose a tag to compare

[0.7.0] - 2021-09-07

Added

  • New icons:
    • power_bi
    • engineering
    • boundaries
    • inspect3d
    • inspectrotation
    • invert

Changed

  • Updated svgo from 1.3.2 to 2.3.0 with new parsing, bundling and minimizing plugins.

eds-core-react@0.13.1

16 Jul 12:30
c671a3a
Compare
Choose a tag to compare

[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

15 Jul 12:44
19286eb
Compare
Choose a tag to compare

[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 the density 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 in Pagination (#1397)
  • Misaligned Icon when used inside Button variant ghost_icon (#1423)
  • TextField lost focus if inputIcon was toggled conditionally (#1425)
  • TextField with inputIcon had wrong border color (#1425)
  • Typo in Accordion displayName (#1450)
  • Disabled Button was not disabled if href was set (#1456)
  • Stacking order for overlay components (Menu, Popover, Scrim etc.) (#1462, #1466)

Changed

  • Darker hover background in Menu for better accessibility (#1363)
  • Switch sizes, hover, label spacing and focus frame to match the design in Figma (#1433)
  • Optional label for Switch (#1445), Checkbox (#1425), Radio (#1459)

eds-tokens@0.6.0

28 May 10:28
302a812
Compare
Choose a tag to compare

[0.6.0] - 2021-05-28

Added

  • New Typography token (#1370)
    • menu_title_hover

Changed

  • Updated Typography tokens (#1370)
    • Reduced line-height on h1, h2 & h3

eds-core-react@0.12.1

28 May 10:39
89f0fb6
Compare
Choose a tag to compare

[0.12.1] - 2021-05-28

Added ✨

  • fullWidth property to Button (#1364)

Fixed 🐛

  • Multiline TextField did not follow rowsMax rules on initial render (#1367)
  • Multiline TextField resized on input when having a fixed height (#1375)
  • Wrong spacing in Button when an icon was used (#1364)

Changed

  • Clarified Radio story (#1382)
  • Reduced line-height on Typography (for h1, h2 & h3) (#1370)

eds-core-react@0.12.0

21 May 11:08
9221f7e
Compare
Choose a tag to compare

[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 of a11y use-cases with screen-readers (#1352)

Changed

  • Improvements to useCombinedRef hook (#1347)
  • Menu is now using React portals and positioned under body (#1352)
  • Tooltip is now conditionally rendered internally (#1341)

eds-tokens@0.5.8

06 May 12:59
f38968f
Compare
Choose a tag to compare

[0.5.8] - 2021-05-06

Changed

  • Updates to internal types for tokens

eds-core-react@0.11.1

06 May 13:22
1aeda5e
Compare
Choose a tag to compare

[0.11.1] - 2021-05-06

Fixed 🐛

  • Missing border on "outlined" Button (#1332)

eds-core-react@0.11.0

05 May 12:05
9615c23
Compare
Choose a tag to compare

[0.11.0] - 2021-05-05

Added

  • Export types for all sub-components (#1127)

Fixed 🐛

  • Hide Tooltip when title 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)