Aaand the wrapping is finally done! Took a while, ...
# compose-web
b
Aaand the wrapping is finally done! Took a while, but all the MDC components are now wrapped and available via KMDC modules. The catalogue has been updated with the latest and greatest components and should now be complete as well. Now as for the long awaited 0.1.0 version, it will have to wait until compose-web
1.2.0
releases as it's currently built on top of
1.2.0-alpha01-dev686
. However to let you play around with it anyways, 0.0.4 has just finished cooking (just be sure to match the compose version in your projects). Slack Conversation
๐Ÿ˜ฎ 5
๐Ÿ‘๐Ÿผ 1
๐Ÿ‘ 10
๐Ÿ™ 4
K 15
๐Ÿ‘๐Ÿป 1
s
Wow! This seems like lots of work done! Good job! And I understand this will work in Compose web project!?
b
Yes, this is built on top of compose-web and provides material components for js
s
This is awesome! I wanted to rewrite a react app using compose web and this will help me a lot! Itโ€™s already built using Material so I was kind of not sure at first.
b
Good luck and please report back any issues you encounter - I'm sure there're plenty still to iron out.
s
Sure! I have an API to finish first but thatโ€™s next after on my list ๐Ÿ˜…
d
That's very cool, what did you use for image loading?
There's a bug here: https://kmdc.petuska.dev/#MDCChips If I select something and then enable touch, it multi selects FilterChip 1-4
And it looks like label is not working in this example https://kmdc.petuska.dev/#MDCCircularProgress
b
MDCChips are buggy and being reworked upstream, however some props are not really meant to be changed after initialisation
I've handled that for some components, but looks like a few slipped through, raise issues on the repo please :)
๐Ÿ‘๐Ÿป 1
As for img loading, it's all just standard html, nothing js related
Finally, circular ind label is for the screen readers only, that's why nothing is happening ๐Ÿ˜€
๐Ÿ‘๐Ÿป 1
P.S. you can click on the component title to go to it's rendering code to see how it's built
๐Ÿ‘๐Ÿป 1
d
I'll check it out
๐Ÿ™ 1
s
Hi Martynas. Your library looks great and it looks like there is a great amount of work done. I have been making something similar at https://github.com/huanshankeji/compose-web-material but yours seems a lot more complete and contains almost all the components already while mine contains only a few we need. I see there is a small difference that you are wrapping https://github.com/material-components/material-components-web while I am trying to wrap https://github.com/material-components/material-web which contains Web Components. I will try to use your library in our projects and give you feedback if any. If you like, you can also check out my repo and see if there is anything helpful. ๐Ÿ˜€
๐Ÿ‘€ 1
b
I was considering to use web components too, however they're still being developed and themselves depend on material- omponents-web.
๐Ÿ‘๐Ÿป 1
๐Ÿ‘ 1
s
True. Card, for example, is not supported yet. And I had to use it from material-components-web as a fallback.