Skip to content

Conversation

MikeKingdom
Copy link
Collaborator

Replaces PR #5453

What does this PR do?

When truncate="tip", if the text has been truncated, the entirety of the text will be placed in a Tip.

Where should the reviewer start?

src/js/components/Text/Text.js

What testing has been done on this PR?

Adjusted Tip.js story to demo truncate="tip".

How should this be manually tested?

Checkout deploy Tip.js under Text stories.

Any background context you want to provide?

Minimize implementation effort to be able to place truncated content into a tip.

What are the relevant issues?

Related to: grommet/hpe-design-system#1503
Related to: grommet/hpe-design-system#1734

Screenshots (if appropriate)

Do the grommet docs need to be updated?

Updated here.

Should this PR be mentioned in the release notes?

Yes. Added truncate="tip" to Text.

Is this change backwards compatible or is it a breaking change?

Backwards compatible.

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.

3 participants