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: allow heading truncation #2371

Merged
merged 2 commits into from
Jul 29, 2022

Conversation

cshfang
Copy link
Member

@cshfang cshfang commented Jul 29, 2022

This PR fixes an issue where the isTruncated prop of the <Heading /> component was not properly applying a truncation.

Description of how you validated changes

Tested locally in a sample app and yarn test

Checklist

  • PR description included
  • yarn test passes
  • Tests are updated
  • No side effects or sideEffects field updated
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cshfang cshfang requested a review from a team as a code owner July 29, 2022 18:06
@changeset-bot
Copy link

changeset-bot bot commented Jul 29, 2022

🦋 Changeset detected

Latest commit: 201c6a1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@aws-amplify/ui-react Patch
@aws-amplify/ui Patch
@aws-amplify/ui-vue Patch
@aws-amplify/ui-angular Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

0618
0618 previously approved these changes Jul 29, 2022
calebpollman
calebpollman previously approved these changes Jul 29, 2022
Copy link
Member

@calebpollman calebpollman left a comment

Choose a reason for hiding this comment

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

LGTM 🚢

@calebpollman calebpollman added the run-tests Adding this label will trigger tests to run label Jul 29, 2022
@github-actions github-actions bot removed the run-tests Adding this label will trigger tests to run label Jul 29, 2022
joebuono
joebuono previously approved these changes Jul 29, 2022
@cshfang cshfang dismissed stale reviews from joebuono, calebpollman, and 0618 via 201c6a1 July 29, 2022 19:17
@calebpollman calebpollman added the run-tests Adding this label will trigger tests to run label Jul 29, 2022
@github-actions github-actions bot removed the run-tests Adding this label will trigger tests to run label Jul 29, 2022
@calebpollman calebpollman temporarily deployed to ci July 29, 2022 19:34 Inactive
@calebpollman calebpollman temporarily deployed to ci July 29, 2022 19:34 Inactive
@calebpollman calebpollman temporarily deployed to ci July 29, 2022 19:34 Inactive
@calebpollman calebpollman temporarily deployed to ci July 29, 2022 19:34 Inactive
@cshfang cshfang enabled auto-merge (squash) July 29, 2022 19:38
@cshfang cshfang merged commit adc9ff6 into aws-amplify:main Jul 29, 2022
@github-actions github-actions bot mentioned this pull request Jul 29, 2022
@cshfang cshfang deleted the allow-heading-truncation branch July 29, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants