Skip to content

Commit

Permalink
Release core-react & tokens (#1125)
Browse files Browse the repository at this point in the history
* Updated changelog & readme

* changed compound components wording

* Added note about existing sub-components on top level

* Updated with accordionheader changes
  • Loading branch information
Michael Marszalek authored Feb 22, 2021
1 parent b6d85fd commit 1d01345
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
31 changes: 31 additions & 0 deletions libraries/core-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@ 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.8.5] - 2021-02-22

### Added ✨

- Progress indicators ([#1090](https://github.com/equinor/design-system/issues/1090), [#1098](https://github.com/equinor/design-system/issues/1098))
- `Circular`, `Star` and `Dots` now have a `size` property for adjusting size.
- `Circular` and `Dots` now have a `color` property following the same color scheme as our other components.
- Refactored as compound components. You can now find the progress indicators under `Progress`, such as `Progress.Dots`, `Progress.Star` etc..
- The individual `LinearProgress`, `CircularProgress`, `StarProgress` & `DotProgress` will be removed at a later time
- `Accordion.Header` now has an `onToggle` callback to help defer rendering of content when `Accordion` are opened/closed ([#1121](https://github.com/equinor/design-system/pull/1121))

### Fixed 🐛

- Adjusted text and icon placements inside `Button` so that `Icon` (svg) will always align to the sides regardless of button width ([#1085](https://github.com/equinor/design-system/issues/1085))
- Fixed `Menu` story where content would skew the `MenuItem` height (#1104)
- Progress indicators ([#1090](https://github.com/equinor/design-system/issues/1090), [#1098](https://github.com/equinor/design-system/issues/1098))
- Adjustments so that `Circular` and `Dots` can be used inside `Button`
- Cleaned up component so that they are pure svgs now (except for `Linear`)

### Changed 📓

- Cleaned up sub-component naming, so no more repeating names such as, `Card.CardActions` or `Menu.MenuSection` ([#1083](https://github.com/equinor/design-system/issues/1083))
- The old sub-component names are still there but will be removed at a later time
- Updated our storybook stories to better reflect usages of components with sub-components ([#1094](https://github.com/equinor/design-system/issues/1094))

### Deprecated

- Progress indicators ([#1090](https://github.com/equinor/design-system/issues/1090))
- Removed `variant` property on `Dots` (replaced by `color` property)
- `Button` do no longer force size on nested `Icon`

## [0.8.4] - 2021-01-21

### Added ✨
Expand Down
2 changes: 1 addition & 1 deletion libraries/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.8.4",
"version": "0.8.5",
"description": "The React implementation of the Equinor Design System",
"main": "src/index.ts",
"publishConfig": {
Expand Down
6 changes: 6 additions & 0 deletions libraries/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.5] - 2021-02-22

### Added

- New background token: `background__semitransparent ` [#1100](https://github.com/equinor/design-system/issues/1100))

## [0.5.4] - 2020-12-11

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion libraries/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/eds-tokens",
"version": "0.5.4",
"version": "0.5.5",
"description": "Design tokens for the Equinor Design System",
"main": "dist/tokens.cjs.js",
"module": "dist/tokens.esm.js",
Expand Down

0 comments on commit 1d01345

Please sign in to comment.