Skip to content

Commit

Permalink
πŸ”– Release eds-core-react@0.18.0 (#1990)
Browse files Browse the repository at this point in the history
* πŸ”– eds-utils: bumped to version 0.1.0

* πŸ”– eds-core-react: bumped to version  0.18.0

* πŸ“ eds-core-react: updated changelog

* πŸ“ Reword changelog

* Update packages/eds-core-react/CHANGELOG.md

Co-authored-by: Michael Marszalek <mimarz@gmail.com>

* fix changelog missing link

Co-authored-by: Michael Marszalek <mimarz@gmail.com>
  • Loading branch information
oddvernes and mimarz authored Feb 18, 2022
1 parent eff3d20 commit 84fa410
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions packages/eds-core-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ 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.18.0] - 2022-02-18

### Added

- Added support for `18`px `Icon` size in preparation for compact mode ([#1827](https://github.com/equinor/design-system/issues/1827))
- `Tabs`: Enabled `Tabs.List` horizontal overflow. ([#1650](https://github.com/equinor/design-system/issues/1650))
- Added `scrollable` prop which adds `overflow-x: auto` to the tabs for users that wants a scrollbar.
- Otherwise this is now `overflow-x: hidden` and there is an example added in Storybook for how to implement "previous" and "next" buttons to navigate an overflowed list.
- New dependency: ([@equinor/eds-utils](https://www.npmjs.com/package/@equinor/eds-utils)). Utility functions and hook have been moved out of eds-core-react and into its own package ([#1846](https://github.com/equinor/design-system/issues/1846))

### Changed

- `Dialog` is now opened in a portal and within a scrim. It is now controlled via an `open` property. `isDismissable` and `onClose` properties were also added to conform to other similar components. ([#1177](https://github.com/equinor/design-system/issues/1177))
- `Dialog`: Moved padding from outer element to subcomponents. Added new subcomponent `Dialog.Header`, and added `Dialog.Content` as an alias to `Dialog.CustomContent` ([#1896](https://github.com/equinor/design-system/issues/1896))
- `Popover`: Moved padding from outer element to subcomponents. Added two new subcomponents `Popover.Actions` and `Popover.Header`. Removed fixed close button (see storybook for example of how this can be added using existing components instead). ([#1365](https://github.com/equinor/design-system/issues/1365))
- Increased z-index on certain components to match that of MUI's z-indexes ([#1981](https://github.com/equinor/design-system/issues/1981))

### Fixed

- Fixed a bug where scroll on body was not restored after closing `Scrim` ([#1892](https://github.com/equinor/design-system/issues/1892))
- Fixed an issue with `Menu` `onClose` where potentially a function could be called after unmounting the component. ([#1898](https://github.com/equinor/design-system/issues/1898))
- Fixed `Menu.Item` `onClick` not triggering with keyboard enter ([#1910](https://github.com/equinor/design-system/issues/1910))
- Fixed an issue where opening `Menu` using keyboard navigation while scrolled down would cause page to scroll to top ([#1932](https://github.com/equinor/design-system/issues/1932))
- Removed reference to `window` in `Snackbar` and `Tooltip` which broke server side rendering ([#1970](https://github.com/equinor/design-system/issues/1970))
- Fixed an issue where trying to add a `style` tag to `Tooltip` would break the rendering ([#1982](https://github.com/equinor/design-system/issues/1982))

## [0.17.0] - 2021-12-22

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-core-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/eds-core-react",
"version": "0.18.0-dev.20220210",
"version": "0.18.0",
"description": "The React implementation of the Equinor Design System",
"sideEffects": [
"**/*.css"
Expand Down
2 changes: 1 addition & 1 deletion packages/eds-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/eds-utils",
"version": "0.1.0-dev.20220210",
"version": "0.1.0",
"description": "Utility functions and hooks for the Equinor Design System",
"sideEffects": false,
"main": "dist/eds-utils.cjs.js",
Expand Down

0 comments on commit 84fa410

Please sign in to comment.