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(typography): Extend Typography component by allowing restProps #135

Conversation

PriscillaSam
Copy link
Contributor

Description

Extend the Typography component by allowing restProps. This would enable styling fonts beyond using classNames.

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!

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Compiled a new version demo.

Copy link
Contributor

@hcafaq hcafaq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for creating this PR. Just one thing I see the screenshots being failed due to not installing deps, can you try re-running those? other than that the PR looks good

@coveralls
Copy link

coveralls commented Feb 6, 2023

Pull Request Test Coverage Report for Build 4103467411

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 97.717%

Totals Coverage Status
Change from base Build 4044885170: 0.002%
Covered Lines: 920
Relevant Lines: 923

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 99.5% 1004/1009
🟢 Branches 89.35% 193/216
🟢 Functions 98.36% 60/61
🟢 Lines 99.67% 920/923

Test suite run success

250 tests passing in 37 suites.

Report generated by 🧪jest coverage report action from ace825a

@PriscillaSam
Copy link
Contributor Author

Hey, thanks for creating this PR. Just one thing I see the screenshots being failed due to not installing deps, can you try re-running those? other than that the PR looks good

Thanks @hcafaq. Just pushed an update.

@PriscillaSam PriscillaSam force-pushed the HEYUI-240-extend-the-typography-component-to-accept-sx-props branch from 2fd1dd8 to ace825a Compare February 6, 2023 12:09
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

Compiled a new version demo.

@hcafaq hcafaq self-requested a review February 6, 2023 12:40
@PriscillaSam PriscillaSam merged commit 2d34947 into main Feb 6, 2023
@PriscillaSam PriscillaSam deleted the HEYUI-240-extend-the-typography-component-to-accept-sx-props branch February 6, 2023 12:42
supcar pushed a commit that referenced this pull request Feb 6, 2023
# [4.1.0](v4.0.1...v4.1.0) (2023-02-06)

### Features

* **typography:** extend component by allowing restProps ([#135](#135)) ([2d34947](2d34947))
@supcar
Copy link
Collaborator

supcar commented Feb 6, 2023

🎉 This PR is included in version 4.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@supcar supcar added the released label Feb 6, 2023
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.

5 participants