Skip to content

Releases: equinor/design-system

eds-core-react@0.39.0

27 May 11:59
f87d4b0
Compare
Choose a tag to compare

[0.39.0] - 2024-05-27

Fixed

  • 🐛 DatePicker: Datetime-input was formatted with / instead of : by @yusijs in #3450
  • 🐛 Autocomplete: added explicit transparent background-color to [popover]::backdrop by @oddvernes in af36ebd

Added

  • Autocomplete: Solution for object-checking by value instead of reference with new itemCompare prop by @yusijs in #3455

Changed

  • 📌 Changed required styled-components version to 5.1 in peer dependencies by @oddvernes in #3459

eds-tokens@0.10.0-beta.0

16 May 08:09
Compare
Choose a tag to compare
Pre-release

[0.10.0-beta.0] - 2024-05-16

Added

  • Add code and structure to generate and sync new tokens from Figma Variables
  • Provide tokens in CSS, TS, and JSON

eds-utils@0.8.5

14 May 13:33
9190f32
Compare
Choose a tag to compare

[0.8.5] - 2024-05-14

Changed

eds-lab-react@0.7.7

14 May 13:32
9190f32
Compare
Choose a tag to compare

[0.7.7] - 2024-05-14

Changed

  • 🗑️ DatePicker: We removed import of CSS. You need to require the CSS file from react-datepicker. In any event, this component should be considered deprecated in favour of DatePicker in @equinor/eds-core-react. by @torleifhalseth in #3346
  • ⬆️ Updated prod dependencies by @oddvernes in #3425

eds-core-react@0.38.0

14 May 13:32
9190f32
Compare
Choose a tag to compare

[0.38.0] - 2024-05-14

Added

  • DatePicker: Enable custom date-formats in the input segments when they are not focused. Also added support for custom locale by @yusijs in #3415

Changed

  • 🧑‍💻 Autocomplete: improved type safety for autocomplete when optionLabel is required by @FredrikMWold in #3408
  • 🚸 Autocomplete: implement native popover for better compatability with Dialog by @oddvernes in #3416
  • ⬆️ Updated prod dependencies by @oddvernes in #3425

Fixed

  • 🐛 Autocomplete "Select all" toggle causing crashes under certain circumstances with controlled Autocomplete by @mhwaage in #3428
  • 🐛 Autocomplete when toggling "Select all" or clicking the "clear" button, disabled items are now left unchanged. The "x/y selected" text in the input has changed "y" from "total non-disabled items length" to "all items length" by @oddvernes in #3429
  • 🐛 Autocomplete: dragging scrollbar and then switching to using up/down arrow navigation should now work as expected by @oddvernes in #3441

Notes

Due to the introduction of the native popover attribute, downstream unit tests involving eds Autocomplete may fail due to Jest/jsDom not having added support for the popover api yet. The easy solution to this is to add the following lines to your jest.setup.ts or alternatively within the test itself:

HTMLElement.prototype.showPopover = jest.fn()
HTMLElement.prototype.hidePopover = jest.fn()

eds-core-react@0.37.0

24 Apr 13:20
a5ec72d
Compare
Choose a tag to compare

[0.37.0] - 2024-04-24

Added

  • ✨ New components: Datepicker and DateRangePicker by @yusijs in #3387
  • ➕ New dependencies
    • react-aria
    • @react-aria/utils
    • @react-stately/calendar
    • @react-stately/datepicker
    • @react-types/shared
    • @internationalized/date

Changed

  • 🏷️ Label: change "meta" field type to ReactNode by @oddvernes in #3341
  • 🚸 Autocomplete: show "no options" on focus when options is empty by @oddvernes in #3399
  • 💄 Menu: focus-ring changed from :focus to :focus-visible by @oddvernes in #3396

Fixed

  • 🐛 TextArea/TextField: Fixed scrollbar being inaccessible when inputIcon is present by @oddvernes in #3378
  • 🐛 TextField: Dynamically update padding when inputIcon changes by @torleifhalseth in #3380
  • 🐛 Button: fixed misaligned clickbounds on icon/ghost icon variants by @oddvernes in #3397
  • 🔥 Tabs: Remove invalid props from TabListProps type by @oddvernes in #3401

eds-lab-react@0.7.6

01 Mar 12:06
760f745
Compare
Choose a tag to compare

[0.7.6] - 2024-03-01

Changed

Fixed

  • ⬆️ Datepicker: Update downshift@8.3.3 to fix focus grabbing on load bug by @oddvernes in #3336

eds-core-react@0.36.1

01 Mar 12:06
760f745
Compare
Choose a tag to compare

[0.36.1] - 2024-03-01

Changed

Fixed

  • ⬆️ Autocomplete: Updated downshift@8.3.3 to fix focus grabbing on load bug by @oddvernes in #3336

eds-data-grid-react@0.4.0

29 Feb 13:57
6c7f47c
Compare
Choose a tag to compare

[0.4.0] - 2024-02-29

Added

  • ✨ Expose expansion-state controls to allow having multiple nested rows by @yusijs in #3292
  • ✨ Added defaultColumn prop to allow overriding things like size, cells etc by @yusijs in #3300

Changed

Fixed

  • 🐛 Fixed prop-spreading that caused warning in next.js applications by @yusijs in #3300

eds-data-grid-react@0.3.0

15 Feb 14:15
1a691c6
Compare
Choose a tag to compare

[0.3.0] - 2024-02-15

Added

  • ✨ Allow controlling size with new columnSizing and onColumnResize props by @yusijs in #3268

Changed

  • 🔧 Update babel compile target to "last 2 Chrome versions, last 2 firefox versions, last 2 safari versions, last 2 edge versions, not dead" by @oddvernes in #3219
  • ⚡️ Improve performance by enabling contain: strict when width and height is provided by @magnh in #3273
  • ✨ Improve data grid by @magnh in #3231

Details of #3231:

  • ✨ Reexport @tanstack/react-table types to ease typing in apps using the data grid
  • 📌 Move eds-core-react to peer dependencies
    • This is neccessary because EDS uses React Context and the grid and the project should
      have the same React instance running. This makes it possible to set EDS Density of the
      table above the component.
  • ♻️ Move text truncating into default cell to enable overwriting cell content
    • This enables custom cells like popover, autocomplete or other cells that overflows the cell itself.
  • 🐛 Inherit row background color for pinned cells
    • This ensures hover color on the whole row when columns are pinned
  • 🐛 Support 100% width
    • Support string width and height
  • ✨ Allow setting minWidth of table
  • ✨ Expose getRowId callback from react-table
  • ✨ Expose virtualizer ref
    • This is needed to be able to run "scroll to" functionality in apps.
  • 🐛 Hide virtualizer rows top and bottom rows when not needed