npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

svircuit-ui

v0.2.2

Published

Svircuit UI is an implementation of Circuit UI Design System implemented in Svelte.

Downloads

1,102

Readme

What is this Svircuit UI?

Svircuit UI is an implementation of Circuit UI Design System implemented in Svelte.

We have taken many lessons from the Reacts Circuit UI implementation and applied then in Svelte, but we have also taken important design decisions that take the development afar from the React implementation, therefore this is NOT a port in Svelte.

Roadmap

v1.0

We require a version that can be seamlessly and safely integrated into backoffices.

  • [ ] Prepare a documentation that can be used by developers to integrate Svircuit into their projects.
  • [ ] Create tests that can help detect errors in components when they can break the design implementation.
  • [ ] Integrate dark mode (a.k.a. B&W theme in Circuit) into Svircuit.

Desired features but not needed for v1.0

  • [ ] Integrate extra color and style modifications themes (Take daisyUI as example)
  • [ ] Integrate automated deployments to npm.

Guidelines:

  • Showcase as close as possible to CircuitUI (React) with Storybook.
  • Use style guidelines of CircuitUI design system. i.e. color tokens, B&W colors and new buttons.
  • Follow T.R.U.T.H Principles

T.R.U.T.H Principles

  • Transparent: Our work speaks for itself, we don't hide complexity, we embrace it and show it. We expect people to review and contribute.
  • Repeat yourself please. We don't prioritize DRY code over easy to understand code. Unneeded abstractions are discouraged. When it makes sense, we repeat the code.
  • User-centric: Accessibility is a memory and knowledge issue. Accessibility properties are enforced on components when possible.
  • Tempered: We don't want to overengineer the solution, neither do we want to cover every possible use case there is out there. Solve the problems that are in front of us, not the ones that might never come.
  • HTML semantic: Components are made as little more than HTML wrappers, properties that exist in html will be redirected, reducing the component code size. We respect web standards.

How these principles affect our development?

Standard

Other than svelte:

  • We use plain css.
  • We use HTML without libraries.
  • We use JS without libraries.

Components and stories

  • Components DON'T depend on any other component, they are standalone. Other components might be received as snippets in Svelte 5, but never as part of the component itself.
  • Stories are the place where components are used together because it makes sense. Example: Navigation components, Complex Table components, Pagination, etc.