@chameleon-ds/progress-bar

1.0.1 • Public • Published

Chameleon Progress Bar

import { html } from "@open-wc/demoing-storybook";
import { withKnobs, number, text } from "@open-wc/demoing-storybook";
import "./chameleon-progress-bar.js";

export default {
  title: "Components|Status/Progress Bar",
  component: "chameleon-progress-bar",
  decorators: [withKnobs],
  options: { selectedPanel: "storybookjs/docs/panel" },
};

Properties

Property Name Type(s) Default Value Description
percent Number undefined The total number of items in all pages
total Number 0 The amount of pages of items
completed Number 0 The multiselect's current page
label String "" The max length of visible pages

Examples

Default

export const Default = () => {
  const percent = number("Percent", 75);
  const label = text("Label", "Processing...");

  return html`
    <chameleon-progress-bar percent="${percent}" label="${label}">
    </chameleon-progress-bar>
  `;
};

Readme

Keywords

none

Package Sidebar

Install

npm i @chameleon-ds/progress-bar

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

18.7 kB

Total Files

7

Last publish

Collaborators

  • chuckhousley
  • zemptime
  • mandymichel
  • olerk16
  • tfreiner
  • kewalter
  • ryuhhnn