Skip to content

What will the future of this project look like now that @material web components have been archived? #683

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

Open
gmassman opened this issue Jan 29, 2025 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@gmassman
Copy link

Firstly, I want to say thanks for building this collection of component wrappers for Svelte! It's been very useful in my organization and is a very valuable piece of open source software.

That said, I am somewhat concerned about the future of this project considering material-components-web was archived a couple weeks ago. How is this going to affect svelte-material-ui? Were there are any foundational issues in the archived dependency that were never addressed? Will this project vendor those components to fix the problems? Or can maintenance and fixes all be handled at the Svelte component level?

@hperrin
Copy link
Owner

hperrin commented Jan 29, 2025

First, this project isn't going away any time soon. It is the UI library for my email service, https://port87.com. So at least in the foreseeable future, as long as Port87 is around, SMUI will be around and actively maintained.

Now, the question is which path forward I'm going to take. Personally, I've never liked Material 3 (Material You), but I may have to start migrating that way if I choose to migrate to an upstream library based on it, like Material Web. Considering how limited that library is though, unless something drastic changes, that probably won't be the case.

The upstream MDC-Web components honestly don't do a whole lot in SMUI. They handle some of the business logic, but I don't use any of their DOM manipulation code. Most of the styling comes from their Sass code though. So the easiest path forward that would be the least intrusive to existing projects using SMUI (including my own) would be to rewrite the business logic parts inside SMUI and copy over the styling. That would also improve a lot of the code that works around some of the issues with how Svelte and the MDC-Web foundations handle things. Once the styling is fully under SMUI, I can also fix a lot of the issues that were never addressed upstream.

So, basically, it's probably a good thing that Google decided to archive the upstream library, because it makes my decision to fork the styles and reimplement the business logic easier.

@hperrin hperrin self-assigned this Jan 29, 2025
@hperrin hperrin added the question Further information is requested label Jan 29, 2025
@hperrin hperrin pinned this issue Jan 29, 2025
@gmassman
Copy link
Author

Thanks for the quick response! Yes I know this project is under active maintenance and your approach sounds very reasonable. Glad to hear you have a plan in place to migrate the styles into SMUI.

@siddhsql
Copy link

siddhsql commented Feb 26, 2025

i am a backend developer. if mdc-web is archived what is its successor? i understand mdc-web is the implementation of material ui design language for the web. material ui is not going anywhere correct as it is used in all of google's products? does this library not depend on mdc-web?

@hperrin
Copy link
Owner

hperrin commented Mar 1, 2025

@siddhsql

The successor to MDC-Web is Material Design Web Components, but their library right now is very limited. It also implements Material 3 (Material You), which probably makes it harder to develop, hence why it's not developing as quickly. Since they are Web Components though, we should be able to use them like any other element in Svelte.

MUI doesn't use MDC-Web, they implement their own solution.

@siddhsql
Copy link

siddhsql commented Mar 1, 2025 via email

@hperrin
Copy link
Owner

hperrin commented Mar 1, 2025

Thanks for the kind words! :) I love to hear when people find my libraries helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants