Skip to content

[Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency#22053

Merged
oliviertassinari merged 7 commits into
mui:nextfrom
kodai3:update/rename-skelton-api-consistency
Aug 4, 2020
Merged

[Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency#22053
oliviertassinari merged 7 commits into
mui:nextfrom
kodai3:update/rename-skelton-api-consistency

Conversation

@kodai3

@kodai3 kodai3 commented Aug 3, 2020

Copy link
Copy Markdown
Contributor

Breaking changes

  • Rename circle to circular and rect to rectangular for consistency. The possible values should be adjectives, not nouns:

    -<Skeleton variant="circle">
    -<Skeleton variant="rect">
    +<Skeleton variant="circular">
    +<Skeleton variant="rectangular">

Last item of #21964. Closes #21964

@mui-pr-bot

mui-pr-bot commented Aug 3, 2020

Copy link
Copy Markdown

Details of bundle changes

Generated by 🚫 dangerJS against 42cac3e

@oliviertassinari oliviertassinari changed the title [Skelton] Rename variant circle -> circular and rect -> rectangular for consistency [Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency Aug 3, 2020
@oliviertassinari oliviertassinari added the scope: skeleton Changes related to the skeleton. label Aug 3, 2020
@oliviertassinari oliviertassinari added the breaking change Introduces changes that are not backward compatible. label Aug 3, 2020

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, I am just wondering whether we should also document in the breaking changes the changes to the classKeys, as the possible overrides from the clients would break too with this change.

@kodai3

kodai3 commented Aug 3, 2020

Copy link
Copy Markdown
Contributor Author

@mnajdova Thank you for pointing out.
Overriding with classKeys is common usecase, so I think we should👍

42cac3e

@oliviertassinari

Copy link
Copy Markdown
Member

@kodai3 Great :)

@kodai3
kodai3 deleted the update/rename-skelton-api-consistency branch August 4, 2020 09:02
@eps1lon eps1lon added this to the v5 milestone Sep 15, 2020
@oliviertassinari oliviertassinari mentioned this pull request Sep 15, 2020
42 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. scope: skeleton Changes related to the skeleton.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] Renaming API for consistency

5 participants