From 7e32862409433500936e044e0195bac9ebf7f2e1 Mon Sep 17 00:00:00 2001 From: Michael Marszalek Date: Thu, 9 Jun 2022 08:35:23 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Release=20eds-core-react@0.20.0?= =?UTF-8?q?=20&=20eds-utils@0.2.2=20(#2278)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📝 WIP on docs * 🔖 Updated changelog * 📝 Updated changelog --- packages/eds-core-react/CHANGELOG.md | 25 +++++++++++++++++++ packages/eds-core-react/package.json | 2 +- .../Select/MultiSelect/MultiSelect.tsx | 1 + .../Select/SingleSelect/SingleSelect.tsx | 1 + packages/eds-utils/CHANGELOG.md | 6 +++++ packages/eds-utils/package.json | 2 +- 6 files changed, 35 insertions(+), 2 deletions(-) diff --git a/packages/eds-core-react/CHANGELOG.md b/packages/eds-core-react/CHANGELOG.md index f8a2e4ecd5..32bf241879 100644 --- a/packages/eds-core-react/CHANGELOG.md +++ b/packages/eds-core-react/CHANGELOG.md @@ -5,6 +5,31 @@ 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.20.0] - 2022-06-08 + +### Added + +- New component! 🎉 `Autocomplete` has been moved from our labs to core! ([#2201](https://github.com/equinor/design-system/pull/2201)) + - This is a new component based on feedback from `MultiSelect` & `SingleSelect` aimed resolving their shortcomings, complexity and improve further development + +### Changed + +- Improved `Progress` legibility ([#2182](https://github.com/equinor/design-system/pull/2182)) +- `Card` is now less opinonated making it easier to use inside flex/grid containers ([#2273](https://github.com/equinor/design-system/pull/2273)) +- Upgraded dev dependencies, fixed missing types in Slider & removed `Menu.Item` memo as it was not working as intended ([#2183](https://github.com/equinor/design-system/pull/2183)) + +### Deprecated + +- `MultiSelect` has been deprecated in favour of ``. ([#1537](https://github.com/equinor/design-system/pull/1537)) +- `SingleSelect` has been deprecated in favour of ``. ([#1537](https://github.com/equinor/design-system/pull/1537)) + +### Fixed + +- `Table.Cell` height should now be correct in `Table.Head` ([#2197](https://github.com/equinor/design-system/pull/2197)) +- `Tabs` should no longer throw error if `onChange` is not defined ([#2196](https://github.com/equinor/design-system/pull/2196)) +- `Popover` should now have correct typings for `onClose` ([#2264](https://github.com/equinor/design-system/pull/2264)) +- `Search` should no longer display blue background on Chrome when `autocomplete` is defined ([#2160](https://github.com/equinor/design-system/pull/2160)) + ## [0.19.0] - 2022-04-06 ### Added diff --git a/packages/eds-core-react/package.json b/packages/eds-core-react/package.json index 7a8b19c605..db36d1ca7e 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.19.0-dev.202205096", + "version": "0.20.0", "description": "The React implementation of the Equinor Design System", "sideEffects": [ "**/*.css" diff --git a/packages/eds-core-react/src/components/Select/MultiSelect/MultiSelect.tsx b/packages/eds-core-react/src/components/Select/MultiSelect/MultiSelect.tsx index b913838c84..f11ffe2c2b 100644 --- a/packages/eds-core-react/src/components/Select/MultiSelect/MultiSelect.tsx +++ b/packages/eds-core-react/src/components/Select/MultiSelect/MultiSelect.tsx @@ -54,6 +54,7 @@ export type MultiSelectProps = { ) => void } & SelectHTMLAttributes +/** @deprecated Use `` instead. */ export const MultiSelect = forwardRef( function MultiSelect( { diff --git a/packages/eds-core-react/src/components/Select/SingleSelect/SingleSelect.tsx b/packages/eds-core-react/src/components/Select/SingleSelect/SingleSelect.tsx index 941a69ea61..439032e5cb 100644 --- a/packages/eds-core-react/src/components/Select/SingleSelect/SingleSelect.tsx +++ b/packages/eds-core-react/src/components/Select/SingleSelect/SingleSelect.tsx @@ -47,6 +47,7 @@ export type SingleSelectProps = { const PaddedStyledListItem = styled(StyledListItem)` ${({ theme }) => spacingsTemplate(theme.spacings)} ` +/** @deprecated Use `` instead */ export const SingleSelect = forwardRef( function SingleSelect( diff --git a/packages/eds-utils/CHANGELOG.md b/packages/eds-utils/CHANGELOG.md index 869e353f88..aada032aba 100644 --- a/packages/eds-utils/CHANGELOG.md +++ b/packages/eds-utils/CHANGELOG.md @@ -5,6 +5,12 @@ 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.2.2] - 2022-06-08 + +### Changed + +- Upgraded dev dependencies & fixed missing types([#2183](https://github.com/equinor/design-system/pull/2183)) + ## [0.2.1] - 2022-04-06 ### Changed diff --git a/packages/eds-utils/package.json b/packages/eds-utils/package.json index 0816e4b3e8..e7a1c197f5 100644 --- a/packages/eds-utils/package.json +++ b/packages/eds-utils/package.json @@ -1,6 +1,6 @@ { "name": "@equinor/eds-utils", - "version": "0.2.1-dev.202205096", + "version": "0.2.2", "description": "Utility functions and hooks for the Equinor Design System", "sideEffects": false, "main": "dist/eds-utils.cjs.js",