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

@bliss-design-system/toggle

v1.0.0-beta.0

Published

\`<bliss-toggle>\` does excellent things.

Downloads

1

Readme

\

`` does excellent things.

📦 Installation

To install this component, run:

```bash yarn add @bliss-design-system/toggle ```

🏎 Usage

To use this component, you'll need to register the component to the `window`'s Custom Elements Registry. In order to achieve that, you'll want to call this function within your application's client-facing entry file:

```js import { blissRegisterToggle } from '@bliss-design-system/toggle';

blissRegisterToggle(); // Registers ```

That will make the component available in your application and you can use it like this:

```html ```

Properties

The component accepts the following properties:

| Property | Type | Description | Default | Required | Options | | --------------- |:--------------:| :-------------------------:|:-------:|:--------:|:-------:| | xxxx | xxxxxx | xxxx | xxxx | xxxx | xxxx |

🫕 Contributing

If you'd like to contribute, please open an issue with your suggested change on our Proposal Board. Once that is accepted, either the Bliss team will work on it or you can make changes locally by doing the following:

```bash

Clone this repository

git clone https://gitlab.com/bliss-design-system/components.git

Move into the component toolkit

cd components/

Install the dependencies

yarn ```

You don't need to move into the package's directory to run storybook, tests or anything else. All of those commands exist in the root of the component toolkit, so while you can work on the component within its specific folder, you don't need to move through directories to run anything.

Demoing with Storybook

You can see all of your changes as you make them on Storybook.

To run a local instance of Storybook for this component, run:

```bash yarn storybook ```

Testing

If you want to test as you develop, run:

```bash yarn test

// or

yarn test:watch ```

Committing

We follow the Conventional Commits specification, meaning that you'll be prompted to fill out a descriptive message when you commit. We also use these commits to manage our releases, so we appreciate details.

As a guideline for this component, we use:

  • `fix` for bug fixes, minor stylistic improvements, etc.
  • `feat` for any backward compatible API changes.

For anything that breaks backwards compatibility or introduces significant changes that require a major version change, please get in touch with the team.

Opening a merge request

When you're ready to open a merge request, please use a descriptive title and fill out the provided template.

The team will be notified, but it helps to post your merge request in #bliss_support.

🙃 Troubleshooting

We'll fill this section out as we go and as issues are raised. But if you haven't found what you're looking for, get in touch via [email protected] or via the #bliss_support Slack channel ✨.`;