From 60bd3b43712cb5af590950d693f0bbe8c7347cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oddbj=C3=B8rn=20=C3=98vernes?= Date: Fri, 21 Jun 2024 10:22:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Release=20eds-core-react@0.40.0?= =?UTF-8?q?=20(#3540)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/eds-core-react/CHANGELOG.md | 15 +++++++++++++++ packages/eds-core-react/package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/packages/eds-core-react/CHANGELOG.md b/packages/eds-core-react/CHANGELOG.md index 8c10f013ee..236fd24dae 100644 --- a/packages/eds-core-react/CHANGELOG.md +++ b/packages/eds-core-react/CHANGELOG.md @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.40.0] - 2024-06-21 + +### Fixed + +- 💄 `DatePicker`: use correct token for text color by @oddvernes in https://github.com/equinor/design-system/pull/3520 +- 🐛 `DatePicker`: export `DatePickerProps` type by @oddvernes in https://github.com/equinor/design-system/pull/3538 +- 🐛 `Autocomplete`: reverted changes from https://github.com/equinor/design-system/pull/3408 (conditional `optionLabel` type) due to typescript issues when wrapping the component. Also made `options` type `readonly` by @oddvernes in https://github.com/equinor/design-system/pull/3515 +- 🚸 `Autocomplete`: return focus to input after pressing 'clear' button by @oddvernes in https://github.com/equinor/design-system/pull/3531 +- 🐛 `Autocomplete`: crash triggered by opening dropdown using keyboard if all items are disabled by @oddvernes in https://github.com/equinor/design-system/pull/3534 + +### Added + +- 🧑‍💻 `Datepicker` type: allow passing standard html attributes by @oddvernes in https://github.com/equinor/design-system/pull/3509 +- ✨ `Datepicker`/`DateRangepicker`: added `hideClearButton` prop, and also hide clear button if no date is set by @oddvernes in https://github.com/equinor/design-system/pull/3537 + ## [0.39.0] - 2024-05-27 ### Fixed diff --git a/packages/eds-core-react/package.json b/packages/eds-core-react/package.json index 5a436cab77..e6ee711d95 100644 --- a/packages/eds-core-react/package.json +++ b/packages/eds-core-react/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/eds-core-react", - "version": "0.39.0", + "version": "0.40.0", "description": "The React implementation of the Equinor Design System", "sideEffects": [ "**/*.css"