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

refactor(chip)!: Renamed property and updated values #6058

Merged
merged 17 commits into from
Dec 15, 2022

Conversation

macandcheese
Copy link
Contributor

BREAKING CHANGE: Renamed color property and updated values, and updated appearance values.

  • Renamed the property color, use kind instead.
  • Updated the accepted values of kind to brand, inverse, and neutral (default).
  • Updated the accepted values of appearance to , outline, outline-fill and solid (default).

BREAKING CHANGE: Renamed `color` property and updated values.

- Renamed the property `color`, use `kind` instead.
- Updated the accepted values of `kind` to `brand`, `inverse`, and `neutral` (default).
- Updated the accepted values of `appearance` to , `outline`, `outline-fill` and `solid` (default).
@macandcheese macandcheese added breaking change Issues and pull requests with code changes that are not backwards compatible. pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 15, 2022
@macandcheese macandcheese requested a review from a team as a code owner December 15, 2022 17:19
@github-actions github-actions bot added the refactor Issues tied to code that needs to be significantly reworked. label Dec 15, 2022
@macandcheese
Copy link
Contributor Author

macandcheese commented Dec 15, 2022

Along with the refactored properties and values, these changes incorporate some other small updates to avoid further breaking change in a few months when we add chip-group:

#4837,
#3838,
#2506,
#5698

These are being added to Figma - cc @ashetland @SkyeSeitz - there will be visual changes in Chromatic that need approval.

Screen.Recording.2022-12-15.at.9.05.37.AM.mov

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with doing some bug fixes in the refactoring but I think this one needs to be tested pretty well since its doing more than just refactoring.

src/components/chip/chip.scss Outdated Show resolved Hide resolved
src/components/chip/chip.scss Show resolved Hide resolved
src/components/chip/chip.scss Outdated Show resolved Hide resolved
src/components/chip/chip.tsx Outdated Show resolved Hide resolved
@macandcheese
Copy link
Contributor Author

@ashetland @SkyeSeitz I've added you as reviewers here- as @driskull mentioned this has a few extra changes to take a look at - I know these are noted for inclusion for Figma but want to triple check :)

@SkyeSeitz
Copy link

@ashetland @SkyeSeitz I've added you as reviewers here- as @driskull mentioned this has a few extra changes to take a look at - I know these are noted for inclusion for Figma but want to triple check :)

Yes! These changes are slotted for Figma 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Issues and pull requests with code changes that are not backwards compatible. pr ready for visual snapshots Adding this label will run visual snapshot testing. refactor Issues tied to code that needs to be significantly reworked.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants