Releases: equinor/design-system
Releases · equinor/design-system
eds-core-react@0.36.1
[0.36.1] - 2024-03-01
Changed
- ⬆️ Updated prod dependencies by @oddvernes in #3298
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
eds-data-grid-react@0.3.0
[0.3.0] - 2024-02-15
Added
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.
- This is neccessary because EDS uses React Context and the grid and the project should
- ♻️ 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
andheight
- Support string
- ✨ 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
eds-utils@0.8.4
[0.8.4] - 2024-02-09
Changed
- 🔧 Updated
babel
browserlist from "defaults" to "last 2 versions of chrome/edge/firefox/safari". This reduces build size significantly and removes all the babel runtime helpers. by @oddvernes in #3219
eds-lab-react@0.7.5
[0.7.5] - 2024-02-09
Changed
- 🔧 Updated
babel
browserlist from "defaults" to "last 2 versions of chrome/edge/firefox/safari". This reduces build size significantly and removes all the babel runtime helpers. by @oddvernes in #3219
eds-core-react@0.36.0
[0.36.0] - 2024-02-09
Added
- ✨
Autocomplete
: Implemented "Select all" functionality, enabled withallowSelectAll
prop by @yusijs in #3245 - 💄
Slider
: option to render "value label" below the track with newlabelBelow
prop by @oddvernes in #3227
Fixed
- 🐛
Slider
:onChangeCommitted
was not triggered by touch input by @oddvernes in #3244 - 🐛
Slider
: fixed bug in Firefox where "value label" did not show on hover by @oddvernes in #3224 - 🐛
Snackbar
: A missing check in the autohide timer causedonClose
to be called twice by @oddvernes and @yusijs in #3241 - 🐛
Autocomplete
: withmultiple
,readOnly
was still accessible when clicking in the input.readOnly
was still accessible in both modes when using keyboard arrow buttons by @oddvernes in #3216
Changed
- 💄
Slider
: design adjustments to the "value label": changed color, reduced padding, removed "arrow" and moved closer to the "thumb" by @oddvernes in #3227 - 💄
TextField
/InputWrapper
: allow line break character to work inHelperText
by @oddvernes in #3233 - 🔧 Updated
babel
browserlist from "defaults" to "last 2 versions of chrome/edge/firefox/safari". This reduces build size significantly and removes all the babel runtime helpers. by @oddvernes in #3219 - 🚸
Autocomplete
ux-changes: input cleared on blur, added "no options" dropdown andnoOptionsText
prop by @oddvernes in #3216
eds-icons@0.21.0
[0.21.0] - 2024-01-26
Added
jacket
monopile
eds-core-react@0.35.1
[0.35.1] - 2023-12-21
Fixed
- 🐛
Typography
: Bug affecting users of styled-components v6 where line-clamping would be applied to allTypography
elements on the page if thelines
prop was set on one of them by @oddvernes in #3193
eds-lab-react@0.7.4
[0.7.4] - 2023-12-13
Changed
- ⬆️ Updated
eds-core-react
/eds-icons
dependencies
eds-icons@0.20.0
[0.20.0] - 2023-12-13
Changed
IconData
type:svgPathData
changed tostring | Array<string>
to allow multiple paths in the eds-core-reactIcon
component by @oddvernes in #3177