Releases: equinor/design-system
Releases · equinor/design-system
eds-data-grid-react@0.6.1
[0.6.1] - 2024-06-04
Fixed
- 🐛 package.json: restored "engine" requirements to old values
eds-data-grid-react@0.6.0
[0.6.0] - 2024-06-04
Added
- ✨Expose
enableSubRowSelection
fromreact-table
and make it disabled by default by @ana-cepuran in #3472
New Contributors
- @ana-cepuran made their first contribution in #3472
eds-data-grid-react@0.5.0
[0.5.0] - 2024-05-27
Added
- ✨ Added possibility for custom filters by @yusijs in #3359
- ✨ Expose
createColumnHelper
fromreact-table
by @magnh in #3451 - ✨ Allow enabling/disabling multi row selection with
enableMultiRowSelection
by @mhwaage in #3355
Changed
- 📌 Bump required styled-components version to 5.1 by @oddvernes in #3459
- 🚸✨ Align selection state props with react table by @magnh in #3456
Details of #3456:
- Warn developer in developer environment when using deprecated props.
- Rename
selectedRows
torowSelectionState
and deprecatedselectedRows
. - Rename
rowSelection
toenableRowSelection
and deprecatedrowSelection
. - Add
onRowClick
andonCellClick
handlers as props.
eds-core-react@0.39.0
[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 newitemCompare
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
[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
eds-lab-react@0.7.7
[0.7.7] - 2024-05-14
Changed
- 🗑️
DatePicker
: We removed import of CSS. You need to require the CSS file fromreact-datepicker
. In any event, this component should be considered deprecated in favour ofDatePicker
in@equinor/eds-core-react
. by @torleifhalseth in #3346 - ⬆️ Updated prod dependencies by @oddvernes in #3425
eds-core-react@0.38.0
[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 whenoptionLabel
is required by @FredrikMWold in #3408- 🚸
Autocomplete
: implement nativepopover
for better compatability withDialog
by @oddvernes in #3416 - ⬆️ Updated prod dependencies by @oddvernes in #3425
Fixed
- 🐛
Autocomplete
"Select all" toggle causing crashes under certain circumstances with controlledAutocomplete
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
[0.37.0] - 2024-04-24
Added
- ✨ New components:
Datepicker
andDateRangePicker
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 toReactNode
by @oddvernes in #3341 - 🚸
Autocomplete
: show "no options" on focus whenoptions
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 wheninputIcon
is present by @oddvernes in #3378 - 🐛
TextField
: Dynamically update padding wheninputIcon
changes by @torleifhalseth in #3380 - 🐛
Button
: fixed misaligned clickbounds on icon/ghost icon variants by @oddvernes in #3397 - 🔥
Tabs
: Remove invalid props fromTabListProps
type by @oddvernes in #3401
eds-lab-react@0.7.6
[0.7.6] - 2024-03-01
Changed
- ⬆️ Update prod dependencies by @oddvernes in #3298
Fixed
- ⬆️
Datepicker
: Update downshift@8.3.3 to fix focus grabbing on load bug by @oddvernes in #3336