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(Copy): add copy align prop to CodeSnippet, Copy #14653

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

tw15egan
Copy link
Member

Closes #14652

Adds in the align prop to CodeSnippet, Copy, and CopyButton so that they all allow customizable tooltips.

Changelog

Changed

  • Instead of hard-coding a bottom value in Copy, we now allow a configurable align prop, in line with IconButton (which it passes it down to)

Testing / Reviewing

Ensure CodeSnippet and CopyButton examples can have configurable popover alignments

@netlify
Copy link

netlify bot commented Sep 14, 2023

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 871012a
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/650313fb2f8d820008dad006
😎 Deploy Preview https://deploy-preview-14653--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Sep 14, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 871012a
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/650313fbafc6f700085a30ad
😎 Deploy Preview https://deploy-preview-14653--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tw15egan tw15egan changed the title Add copy align prop feat(Copy): add copy align prop to CodeSnippet, Copy Sep 14, 2023
@github-actions github-actions bot added this pull request to the merge queue Sep 15, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 15, 2023
@guidari guidari added this pull request to the merge queue Sep 18, 2023
Merged via the queue into carbon-design-system:main with commit 1d12fb0 Sep 18, 2023
21 checks passed
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.

[Feature Request]: Customizable alignment of feedback popover in copy button
3 participants