javascript

I've updated my super simple UI component library on NPM

April 1, 2023

I've recently made changes to my scrappy little UI library on NPM. It's a "major" release because the updated package is not backward compatible with the previous, or version 1, "API".

Introducing Super Simple UI Components version 2.0.1. Where's version 2.0.0 you ask? By virtue of semantic versioning on NPM, fixing typos in a README file would be considered a "patch" πŸ™„.

Changelog:

  • Simplified HTML markup - way less mandatory classes, IDs, and data attributes to get components to function.
  • The components are ARIA compliant, whereas in version 1, accessibility was not at all considered.
  • It is rewritten in TypeScript.

It goes without saying that it doesn't stand up to today's UI libraries. In addition, components like the tooltip and dialog (modal) are now a part of the HTML native API.

Check the package out on NPM here. The package is not meant to be used with modern JS libraries, like Vue, but rather plain ol' HTML, CSS and Javascript. The experience is meant to be akin to the days of jQuery library dominance.

Conditional narrowing of the `any` type in TypeScript

Next

Β© 2023. Made with ❀️ for Max πŸ‘ΆπŸ».