-
Notifications
You must be signed in to change notification settings - Fork 77
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(button, fab, split-button)!: Update properties and values #6062
refactor(button, fab, split-button)!: Update properties and values #6062
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@macandcheese code changes look good. Can we update the PR body to make the changes a little more clear?
Removed the button property form, this property is no longer needed if the component is placed inside a form.
At first glance, I wasn't sure if there was a property "button"? :)
Maybe something like
|
BREAKING CHANGE: Removed deprecated properties and values. - `button`: Removed the property `form`, this property is no longer needed if the component is placed inside a form. - `button`, `fab`, `split-button`: Renamed the property `color`, use `kind` instead. - `button`, `fab`, `split-button`: Updated the accepted values of `kind` to `brand` (default), `danger`, `inverse`, and `neutral`. - `button`, `split-button`: Updated the accepted values of `appearance` to `outline`, `outline-fill` and `solid` (default). - `fab`: Updated the accepted values of `appearance` to `outline-fill` and `solid` (default).
9be0095
to
bcddc09
Compare
@driskull want to give that new verbiage a look? @SkyeSeitz @ashetland a couple of Chromatic changes to approve - reflecting to the change of default value for FAB |
Verbiage looks good! 👀 ❤️ |
BREAKING CHANGE: Removed deprecated properties and values.
button
: Removed the propertyform
, this property is no longer needed if the component is placed inside a form.button
,fab
,split-button
: Renamed the propertycolor
, usekind
instead.button
,fab
,split-button
: Updated the accepted values ofkind
tobrand
(default),danger
,inverse
, andneutral
.button
,split-button
: Updated the accepted values ofappearance
tooutline
,outline-fill
andsolid
(default).fab
: Updated the accepted values ofappearance
tooutline-fill
andsolid
(default).