-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui] Standardize slots pattern and composed classes #40417
Comments
@DiegoAndai, can I help out with this task? if so where can I find the replacement documentation? |
Hey @harry-whorlow, thanks for the interest! I've just started working on this initiative, so I can't share documentation yet. When I do, I'll share it here and add the ready-to-take label 😊 That should come in the following weeks. If you're eager to help, I recommend looking for issues with the ready-to-take label. |
Hey @harry-whorlow, I added contributing instructions in the description 😊 If you're still interested, feel free to take any of the components that are not done or in progress. cc: @sai6855 for the updated contributing guide 😊 |
Hi @DiegoAndai, awesome man thanks for the heads up... I'll get right onto it I would like to take backdrop, as it seems like a good first one to pick up? I can't edit your list to mark it as "in progress" though, so perhaps you can mark it when you get the chance. Thanks! [edit]: Backdrop has a prop of "TransitionComponent" as shown in the Backdrop.d.ts, this is going to be replaced by the "slot.transition". Now, backdrop doesn’t have as You put it "*props prop" or would it be considered transitionDuration? so I don't need to worry about that. Correct so far? The rest of it is is as follows Is that correct? Or have I gone off on a tangent? |
Hi @harry-whorlow! Sorry for not replying earlier, I saw your comment, but I missed the edit.
Correct, that's the general idea 🙌🏼. Regarding the details, I'll review the Backdrop PR now and we can continue the discussion there 😊. I updated the description to move the Backdrop component to in progress. |
I updated the description to add another deprecation case: |
@DiegoAndai I would like to pick up speedDial, with regards to the deprecations of If you can mark it that would be awesome!🫡 |
Hey @sai6855, @harry-whorlow We decided that alongside the deprecations, we'll also add:
This is so users can immediately deal with the deprecations when they appear. It will also help avoid users getting nervous with so many deprecations. We already started working on this. This is the plan:
Does that sound good to you? We'll put the current PRs on hold while we set up the codemods and migration guide. We hope to do this quickly so we can unblock the PRs. |
@DiegoAndai Sounds good !! I'll wait for codemods and migration guide and update PRs accordingly |
Hey everyone! The first codemod classes codemod PR is merged 🎉 We can now move forward with the composed classes deprecation. We should update the open composed classes PRs. |
Hey @DiegoAndai Saw the docs/pages/material-ui/api/autocomplete.json I was able to figure out that we have to deprecate the ChipsProps and ComponentsProps (correct me if i am wrong). Also I am finding difficult to identify the Composed classes. can you give me some more references on this? cc: @sai6855 and @harry-whorlow feel free to share your thoughts |
Hi @skmanoj322, I thats the general gist of what were doing... although @DiegoAndai is the source of truth when it comes to this. I wouldn’t worry about composed classes for now, as these are supposed to be deprecated in different PR's, so you could start on the ComponentsProps whilst you wait for a response. (I should stress that I'm just a code monkey, so please don't take what I've said as fact. Nor am I responsible for organising people, these are just my thoughts.) But welcome aboard! |
Hey @skmanoj322! thanks for the interest! The Autocomplete is a complex component, the props to deprecate would be: I would recommend starting with another one so you can get the hang of it. That would also give us time to improve the structure to make the work on the Autocomplete easier. I would recommend starting with the |
sorry missed this, where as |
Hey everyone! This issue was getting too big and hard to track, so I converted it into an umbrella issue and split the different deprecation initiatives into their own separate issues. |
To be honest, it's now easier to understand whats going on, and what is still required... Thanks! |
@sai6855 @harry-whorlow @DiegoAndai i have opened pr for Badge #41364 please provide the feedback |
Contributing
Feel free to take any components that are not done or in progress. Please mention this issue in your PR so we can link it in the description and keep it up to date.
Issues
components
andcomponentsProps
props #41279*Component
and*Props
props #41281slotProps.paper
isn't working #42310Follow-up work:
ownerState
silent propagation #42184slot.transition
andTransitionProps
types #40650The text was updated successfully, but these errors were encountered: