-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[Box] Deprecate system props #23206
[Box] Deprecate system props #23206
Conversation
…into feat/box-sx-prop
What's the timeline of this deprecation? |
I would say it should be deprecated in v5 and removed in v6, but we could hurry it up if we decide to drop it in v5. Once we remove it we have to prepare codemods for the changes, otherwise it will be non sense to just push it. |
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Should we remove reference to the system props in the box documentation, in oder to reduce potential for confusion with having two APIs? |
@mbrookes done, I also improved a bit the docs page for the Box and added the missing |
Based on #23053 (comment)
I am adding deprecation on the Box component when the system props are used directly on it. The deprecation is added in form of a warning, not sure how we can add it for the typescript props definition too.