Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Move Heading to core #454

Merged
merged 6 commits into from
Mar 31, 2021
Merged

Conversation

LJKaski
Copy link
Collaborator

@LJKaski LJKaski commented Mar 30, 2021

Description

This PR removes component level implementation of the Heading component and moves all logic to core. It also addresses a documentation issue as well as an issue where as and asProp could both be given to the component and could potentially clash.

In addition, static variants were removed and replaced in tests and examples with using the variant prop.

Motivation and Context

Components level is no longer useful and is being removed from the library as a whole. Static variants are also being removed in general. The smaller issues were bugs that needed to be fixed in any case.

How Has This Been Tested?

Tested with automated tests as well as running locally in styleguidist in Chrome, Edge and Firefox.

Release notes

Heading

  • Breaking changes:
    • Static variants removed. Use variant prop instead.
    • 'asProp' prop removed. Use 'as' instead.
  • Other changes:
    • Fixed a bug where API descriptions were in wrong order

@LJKaski LJKaski added bug Something isn't working DX Refactoring for maintainability labels Mar 30, 2021
@LJKaski LJKaski self-assigned this Mar 30, 2021
@LJKaski LJKaski merged commit e0febbf into develop Mar 31, 2021
@aappoalander aappoalander mentioned this pull request Jun 28, 2021
@aappoalander aappoalander deleted the bugfix/heading-API-descriptions branch October 13, 2021 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working DX Refactoring for maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants