feat(ui-pill): new Pill v3 implementation - #2727
Draft
git-nandor wants to merge 5 commits into
Draft
git-nandor wants to merge 5 commits into
git-nandor wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pin Pill v2 cross-package imports to v11_7, add exports/c.ts for Pill v3 and point ./v11_8 and ./latest to it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Use useStyleNew instead of the withStyleNew decorator, with the same API and styling. Add the missing statusLabel and renderIcon to allowedProps. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Add a size prop (x-small, small, medium, large) and the accent colors stone, sky, orange, aurora, plum, violet and sea. Rebrand themes use pastel backgrounds with an alpha border. renderIcon accepts a Renderable and InstUI icons are sized to match the Pill. BREAKING CHANGE: Pill from /latest now renders the redesigned v3 styles, including pastel backgrounds and a solid error variant in the rebrand themes. Use @instructure/ui-pill/v11_7 to keep the previous look. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
git-nandor
force-pushed
the
INSTUI-5179_new_pill_v3
branch
from
September 23, 2026 14:37
a3f4543 to
97644d8
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sizeprop (x-small,small,medium,large),accent colors (
stone,sky,orange,aurora,plum,violet,sea),pastel backgrounds and alpha borders in rebrand, auto-sized
renderIcon.Test Plan
/v11_8/Pill: check the Sizes and Colors examples against Figmasmall-components: new size row and accent colorsFixes INSTUI-5179
🤖 Generated with Claude Code