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(ContentSwitcher): enable title by default #8750

Merged
merged 3 commits into from
May 25, 2021

Conversation

tw15egan
Copy link
Member

Closes #8742

Adds a title by default to all ContentSwitcher tabs. A few other possibilities:

<Switch text="A really long string" title=""A really long string />

Redundant, but won't set the title by default

<Switch text="A really long string" title />

Avoids redundancy, and can pass in either a string or boolean. Will need to opt in to receive this functionality.

Changelog

New

  • Sets title by default based on text passed in to Switch

Testing / Reviewing

Ensure the text appears on hover for ContentSwitcher

@netlify
Copy link

netlify bot commented May 24, 2021

✔️ Deploy Preview for carbon-elements ready!

🔨 Explore the source changes: e06c67e

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/60ad5c4de897200007eb28b9

😎 Browse the preview: https://deploy-preview-8750--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented May 24, 2021

✔️ Deploy Preview for carbon-components-react ready!
Built without sensitive environment variables

🔨 Explore the source changes: e06c67e

🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/60ad5c4d89d50c00077f8d99

😎 Browse the preview: https://deploy-preview-8750--carbon-components-react.netlify.app/iframe

@kodiakhq kodiakhq bot merged commit 19df4f7 into carbon-design-system:main May 25, 2021
@jnm2377 jnm2377 mentioned this pull request May 26, 2021
22 tasks
emyarod pushed a commit to emyarod/carbon that referenced this pull request Jun 10, 2021
)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
@tw15egan tw15egan deleted the switch-title branch March 3, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContentSwitcher truncated text
3 participants