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

feat(badge): restrict to 3 colors #165

Merged
merged 6 commits into from
Mar 15, 2023
Merged

feat(badge): restrict to 3 colors #165

merged 6 commits into from
Mar 15, 2023

Conversation

nathanjamal
Copy link
Collaborator

Pull Request

Description

Describe your changes (or add ticket description) and add relevant screenshots

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change

How do I test this

  • Add steps to test
  • in bullet point format
  • preferably you can add link to the storybook build in the PR

Checklist

Did you remember to take care of the following?

  • npm i – for new NPM dependencies.
  • npm run lint - to check for linting issues
  • npm run test - to run unit tests
  • npm run test:sh:docker - to run screenshot tests, detail instruction

New Feature / Bug Fix

  • Run unit tests to ensure all existing tests are still passing.
  • Add new passing unit tests to cover the code introduced by your pr.

Thanks for contributing!

The Badge should only be used in primary, secondary or tertiary

BREAKING CHANGE: using a color other than primary, secondary or tertiary will render the badge in
primary state

HEYUI-268
The Badge should only be used in primary, secondary or tertiary

BREAKING CHANGE: using a color other than primary, secondary or tertiary will render the badge in
primary state

HEYUI-268
@auto-assign auto-assign bot requested a review from esraltintas March 14, 2023 16:00
@nathanjamal nathanjamal changed the title Hey UI 268 feat(badge): restrict to 3 colors Mar 14, 2023
@github-actions
Copy link

Compiled a new version demo.

@github-actions
Copy link

Compiled a new version demo.

@github-actions
Copy link

Compiled a new version demo.

@coveralls
Copy link

coveralls commented Mar 14, 2023

Pull Request Test Coverage Report for Build 4418235734

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.006%) to 95.461%

Totals Coverage Status
Change from base Build 4404115977: -0.006%
Covered Lines: 1080
Relevant Lines: 1099

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Mar 14, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 97.69% 1186/1214
🟢 Branches 85.53% 266/311
🟢 Functions 94.79% 91/96
🟢 Lines 98.27% 1080/1099

Test suite run success

270 tests passing in 41 suites.

Report generated by 🧪jest coverage report action from 2b0637f

@github-actions
Copy link

Compiled a new version demo.

@nathanjamal nathanjamal added the work in progress This is a work in progress label Mar 15, 2023
@nathanjamal nathanjamal removed the work in progress This is a work in progress label Mar 15, 2023
@nathanjamal nathanjamal merged commit 3a1f408 into main Mar 15, 2023
@nathanjamal nathanjamal deleted the HEYUI-268 branch March 15, 2023 10:22
supcar pushed a commit that referenced this pull request Mar 15, 2023
# [5.0.0](v4.6.0...v5.0.0) (2023-03-15)

### Features

* **accordion:** remove hover state ([#163](#163)) ([df62524](df62524))
* **badge:** restrict to 3 colors ([#165](#165)) ([3a1f408](3a1f408))
* **logo:** update logo variant names ([#164](#164)) ([6b94211](6b94211))
* **typography:** update typography to match designs ([#160](#160)) ([9a601a7](9a601a7))

### BREAKING CHANGES

* **badge:** using a color other than primary, secondary or tertiary will render the badge in
primary state

HEYUI-268

* defaults to primary styling the if the color prop value is not recognised

* feat(badge): restric to 3 colors

The Badge should only be used in primary, secondary or tertiary
* **badge:** using a color other than primary, secondary or tertiary will render the badge in
primary state

HEYUI-268

* update various tests

* update test
@supcar
Copy link
Collaborator

supcar commented Mar 15, 2023

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants