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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@bcc-code/design-library-vue

v3.0.18

Published

This library is a collection of tokens and components that conform to the BCC Design System.

Downloads

1,070

Readme

BCC Design System Library

This library is a collection of tokens and components that conform to the BCC Design System.

Note This is the Vue implementation, for the CSS-only library see here

@bcc-code/design-library-vue

version license

Installation & Usage

Refer to the documentation for installation instructions and to Storybook for interactive example of the components and their variants (view the dev Storybook for unreleased changes).

Developing the package locally

Recommended IDE Setup

VSCode with the following plugins:

Prerequisites

This project uses pnpm, which you need to install before usage. The easiest way is to install it with npm:

npm install -g pnpm

Get started

Install dependencies:

pnpm install --frozen-lockfile

Then run Storybook when developing components to have a live reloading server to test them:

pnpm storybook

Run a live reloading unit test server:

pnpm test:unit

Some unit test use snapshots. Be sure to update snapshots after updating a component that has such a test:

pnpm test:unit:update-snapshots

Creating a new component

The repository contains a handy script for scaffolding a new component:

pnpm create-component ComponentName

This will create a Vue component, with accompanying test, stories and CSS files, and will also update the exports for the library.

Linting

This project includes a linting setup via ESLint, which includes Prettier. The linting settings are intentionally strict, and all Prettier alerts are treated as errors. This ensures the code is always formatted in the same way.

When using VS Code, install the ESLint plugin and make sure it is set to format on save, or manually add this to your VS Code settings:

  "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true
  },

You can manually run the linting command as well to check for linting errors:

pnpm lint

This command is also run in CI and will fail the build if there are any errors.

Errors can be automatically fixed by running

pnpm lint:fix

Building for production

To build the package for production, including types, run:

pnpm build

Releasing a new version

A new version can be released by running the Create New Version workflow from GitHub. This will update the version in the package.json, push a Git commit and tag, and create a new release in GitHub. Maintainers can publish this release, after which the new version will be pushed to npm.

Beta release

If the channel in the release workflow is set to beta, the release version will be tagged with beta. The first time the increment is taken into account, so a major beta release for v1.8.0 will create v2.0.0-beta.0, and a minor beta will create v1.9.0-beta.0. Every subsequent beta release will ignore the version and just increase the beta number, until a new release version is created, which will release the beta version as-is, so a major release for v2.0.0-beta.4 will release v2.0.0.

Dev releases

All commits to main will be released under the dev tag on npm, so they can be tested and installed immediately even if a new release hasn't come out.

Tokens

This repository includes a setup with tokens from the design system. These tokens are exported from Figma and can be found in src/tokens/input/figma.json.

To build the tokens from this source file, run:

pnpm build:tailwind

This will update the files of the Tailwind theme which can then be checked into Git.

License

This package is licensed under the Apache 2.0 license.