# @chameleon-ds/progress-bar

> Chameleon progress bar

Latest version **1.0.1** (published 2020-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chameleon-ds/progress-bar
pnpm add @chameleon-ds/progress-bar
yarn add @chameleon-ds/progress-bar
bun add @chameleon-ds/progress-bar
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-06-22 |
| First published | 2020-04-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Maritz Motivation Solutions, Inc. |
| Maintainers | kewalter, mandymichel, olerk16, ryuhhnn, tfreiner, zemptime |

## Links

- npm: https://www.npmjs.com/package/@chameleon-ds/progress-bar
- Repository: https://github.com/MaritzSTL/chameleon
- Homepage: https://github.com/MaritzSTL/chameleon/tree/master/packages/progress-bar#readme
- Issues: https://github.com/MaritzSTL/chameleon/issues
- npm.io page: https://npm.io/package/@chameleon-ds/progress-bar

## Dependencies (1)

- [lit-element](https://npm.io/package/lit-element.md) ^2.2.1

## Recent versions

- 1.0.1 (latest) — 2020-06-22
- 1.0.0 — 2020-06-18
- 0.1.2 — 2020-04-10
- 0.1.1 — 2020-04-07

## README

# Chameleon Progress Bar

```js script
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

```js preview-story
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>
  `;
};
```

---
_Source: https://npm.io/package/@chameleon-ds/progress-bar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
