feat(circuit-ui): add CopyButton component - #3583
Conversation
🦋 Changeset detectedLatest commit: 7cc788f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Size Change: +1.2 kB (+0.13%) Total Size: 954 kB 📦 View Changed
ℹ️ View Unchanged
|
3810417 to
54be451
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3583 +/- ##
==========================================
- Coverage 93.55% 93.49% -0.06%
==========================================
Files 209 210 +1
Lines 4637 4673 +36
Branches 1807 1811 +4
==========================================
+ Hits 4338 4369 +31
- Misses 270 275 +5
Partials 29 29
🚀 New features to boost your workflow:
|
54be451 to
33a19e6
Compare
|
Hi Mat 👋
We will add the component to Figma and in the meantime don't hesitate to ask questions directly to the team :) |
33a19e6 to
4cf120e
Compare
4cf120e to
1b04314
Compare
1b04314 to
85ae3e0
Compare
85ae3e0 to
562ad42
Compare
562ad42 to
317025c
Compare
6056421 to
99ee4e6
Compare
a29c0f9 to
9fdae2a
Compare
710615a to
7cc788f
Compare
|
Still need to check the styling, it indeed doesn't look great at the moment, the rest of the comments should be addressed. |
We have a few places in our dashboard where we render a text and allow user's to copy it into a clipboard using a button. Currently, those are implemented inconsistency, sometimes using the `Input` component, sometimes using custom styling of `Body` and `IconButton`. This change introduces a new ClipboardText component that render a copiable text.
Co-authored-by: Connor Bär <connor-baer@users.noreply.github.com>
7cc788f to
0d7a2ea
Compare
We have a few places in our dashboard where we render a text and allow user's to copy it into a clipboard using a button. Currently, those are implemented inconsistently, sometimes using the
Inputcomponent, sometimes using custom styling ofBodyandIconButton.This change introduces a new ClipboardText component that renders a copiable text.
Screen.Recording.2026-04-26.at.21.57.13.mov