social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

#webcomponents

4 posts4 participants0 posts today

The pixel editor I wrote to make the Memory Icons set is now rewritten as a web component (was a React app).

Refactored to support layering, multicolor, eye dropper, copy/paste, and various other features. Since memory icons are monotone it originally had a very simple feature set.

It works how one would expect with region updates on the canvas and several sprite caches to support large canvas sizes with a low memory footprint.

Over the weekend I built a web component "mini-framework" that uses signals, avoids decorators, and can use functional components. Would love it if anyone would try it out and let me know what you think!

(It uses preact/signals-core and lighterhtml under the hood)

#webcomponents

github.com/JimSchofield/minne

An ultra-light web component framework. Contribute to JimSchofield/minne development by creating an account on GitHub.
GitHubGitHub - JimSchofield/minne: An ultra-light web component frameworkAn ultra-light web component framework. Contribute to JimSchofield/minne development by creating an account on GitHub.

I'm happy to roll out the new and improved CEM Inheritance package! This allows API data to be properly inherited in the Custom Elements Manifest for your #webcomponents.

A new feature is that you can now omit inherited APIs from the CEM using JSDoc tags. Enjoy! 😉

wc-toolkit.com/documentation/c

Web Components ToolkitCEM InheritanceMapping inherited content (including class members, attributes, CSS parts, CSS variables, slots, and events) from parent web component classes in the Custom Elements Manifest

🆕 post: Making of a book widget

In the monthly notes posts I like to include books that I've finished since the previous notes post. To keep it uniform I decided to make a widget on train between Ljubljana and Maribor.

sarahgebauer.com/post/making-o

Sarah GebauerMaking of a book widgetIn the monthly notes posts I like to include books that I've finished since the previous notes post. To keep it uniform I decided to make a widget on train betwe

I am very excited to announce the new and improved custom element Type Parser! It is designed to parse and store your #webcomponents API #typescript types in the custom elements manifest for better documentation and integration.

This is a significant upgrade from its predecessor as it has been rebuilt from the ground up. It can now parse complex types like generics and utility types.

wc-toolkit.com/documentation/t

Web Components ToolkitType ParserGet access to your API's TypeScript values
Continued thread

On one hand, the listener is attached to `this.mq`, which is an instance member of the WC, so there should be no need to clean up.

On the other hand, the MediaQueryList object returned by matchMedia() presumably has external references (e.g., to `document`), so you do need to remove the listeners.

After testing it, the answer is yes, you do need to clean up by removing the change event listeners.

#WebComponents

2/2

@khalidabuhakmeh It's been great. Lead the opensource.adobe.com/spectrum- project where we helped Photoshop and Express move to the web with #webComponents and more recently have been working on a brand new company that's building everything with them from the group up.

Certainly a skill based tool, but the skills are so much more generally applicable that other things I've worked with and easier to eject from if you ever really wanted/needed to.

What have you been building?

Spectrum Web ComponentsSpectrum Web Components - Spectrum Web ComponentsSpectrum Web Components provide interface components as custom elements to help teams work more efficiently and to make applications more consistent.