# @chameleon-ds/modal

> Chameleon modal

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

## Install

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

## 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-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 21.5 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/modal
- Repository: https://github.com/MaritzSTL/chameleon
- Homepage: https://github.com/MaritzSTL/chameleon/tree/master/packages/modal#readme
- Issues: https://github.com/MaritzSTL/chameleon/issues
- npm.io page: https://npm.io/package/@chameleon-ds/modal

## Dependencies (3)

- [lit-element](https://npm.io/package/lit-element.md) ^2.2.1
- [@chameleon-ds/card](https://npm.io/package/@chameleon-ds/card.md) ^2.0.1
- [@chameleon-ds/button](https://npm.io/package/@chameleon-ds/button.md) ^2.0.1

## Recent versions

- 1.0.1 (latest) — 2020-06-22
- 1.0.0 — 2020-06-18
- 0.1.1 — 2020-06-01
- 0.1.0 — 2020-05-29

## README

# Chameleon Modal

```js script
import { html } from "@open-wc/demoing-storybook";
import "./chameleon-modal.js";

export default {
  title: "Components|Overlays/Modal",
  component: "chameleon-modal",
  options: { selectedPanel: "storybookjs/docs/panel" },
};
```

## Properties

| Property Name | Type(s) | Default Value | Description                                 |
| ------------- | ------- | ------------- | ------------------------------------------- |
| `open`        | Boolean | `false`       | If the modal is open                        |
| `dismissible` | Boolean | `false`       | If the modal is dismissible                 |
| `fullScreen`  | Boolean | `false`       | Whether or not the modal appears fullscreen |

## Examples

### Default

```js preview-story
export const Default = () => html`
  <chameleon-modal open="true" dismissible="true">
    <h3 slot="title">Contact Form</h3>
    <div slot="body">
      <chameleon-input label="First Name"></chameleon-input>
      <chameleon-input label="Last Name"></chameleon-input>
      <chameleon-input type="email" label="Email"></chameleon-input>
    </div>
    <chameleon-button theme="text" slot="left-button">
      Cancel
    </chameleon-button>
    <chameleon-button theme="primary" slot="right-button">
      Continue
    </chameleon-button>
  </chameleon-modal>
`;
```

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