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.0.33

Published

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

Downloads

201

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

0.1.0

We require a basic version that has all the components that are used by current users of Svircuit UI. It is currently being used with copy-pasted components, which we encourage, but we want to also provide the option for them to use components from a downloadable library. Sorted alphabetically, not by importance or use:

Components:

  • [x] Anchor
  • [x] Badge
  • [x] Body
  • [x] Button
  • [x] Card
  • [x] DateInput
  • [x] Headline
  • [x] Input
  • [x] Modal
  • [x] NotificationToast
  • [x] Pagination
  • [x] Navigation
  • [x] Select
  • [x] Table, TableHead, TableBody, TableRow, TableCell

Icons:

  • [x] Alert
  • [x] ChevronDown
  • [x] ChevronLeft
  • [x] ChevronRight
  • [x] ChevronUp
  • [x] Close
  • [x] Confirm
  • [x] Notify

All of these components must follow the guidelines to be approved for the 0.1.0 release.

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 implicit: 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

  • 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 slots (or future 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, etc.