Skip to content

Releases: equinor/design-system

eds-core-react@0.14.3

16 Nov 09:56
90564d8
Compare
Choose a tag to compare

[0.14.3] - 2021-11-16

Fixed

  • Menu should now have correct focus when clicking & navigating with keyboard (#1668)
  • Menu now puts className on container element so its easier to apply your own styles (#1672)
  • Breadcrumbs.Breadcrumb will now respect your href again (#1687)

Changed

  • Slider now accepts decimal values (#724)

eds-icons@0.8.0

09 Nov 08:52
213068e
Compare
Choose a tag to compare

[0.8.0] - 2021-11-09

Deprecated

  • Removed umd module from the build. This should prompt build tools select the tree-shakeable esm module instead. (#1539)

eds-core-react@0.14.2

21 Oct 13:33
aec64a0
Compare
Choose a tag to compare

[0.14.2] - 2021-10-21

Fixed

  • Switch hover effect broke in the previous release, this is now fixed (#1641)

Changed

  • Radio, Checkbox: Removed extra padding between input clickbounds and label (#1640)

eds-core-react@0.14.1

19 Oct 13:38
017f1c3
Compare
Choose a tag to compare

[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 the itemsPerPage value changes (#1621)

Fixed

  • Tooltip now works when wrapping Radio or Checkbox (#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 css zoom property (#1625)
  • Scrim now disables scroll on body when open (#1587)

Changed

  • Radio, Checkbox refactored to no longer be wrapped in label-element when no label-prop is provided (#1610)
  • Switch refactored to no longer be wrapped in label-element when no label-prop is provided (#1613)
  • Updated Accordion non-interactive icons color (#1296)

eds-tokens@0.7.0

30 Sep 08:22
245c214
Compare
Choose a tag to compare

[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

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