# pineapple-popup

> Component for npm registry (without mdi, for Nuxt.js)

Latest version **1.1.1** (published 2020-11-09) · 0 weekly downloads

## Install

```sh
npm install pineapple-popup
pnpm add pineapple-popup
yarn add pineapple-popup
bun add pineapple-popup
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-11-09 |
| First published | 2020-06-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 2.9 MB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Author | garevna |
| Maintainers | garevna |
| Keywords | pineapple, npm, registry, popup, nuxt |

## Links

- npm: https://www.npmjs.com/package/pineapple-popup
- Repository: https://github.com/garevna/pineapple.components/tree/popup
- npm.io page: https://npm.io/package/pineapple-popup

## Dependencies (4)

- [vue](https://npm.io/package/vue.md) ^2.6.11
- [vuex](https://npm.io/package/vuex.md) ^3.4.0
- [vuetify](https://npm.io/package/vuetify.md) ^2.2.11
- [pineapple-styles](https://npm.io/package/pineapple-styles.md) ^1.1.9

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 1.1.1 (latest) — 2020-11-09
- 1.1.0 — 2020-11-08
- 1.0.9 — 2020-11-02
- 1.0.8 — 2020-11-02
- 1.0.7 — 2020-07-05
- 1.0.5 — 2020-06-28
- 1.0.4 — 2020-06-28
- 1.0.3 — 2020-06-28
- 1.0.2 — 2020-06-28
- 1.0.1 — 2020-06-28
- 1.0.0 — 2020-06-28

## README

# pineapple-popup

<sup>This component is designed to be utilized in pineapple.net.au projects only.<br>
It should not be used outside the pineapple.net.au and landing pages of **pineapple.net.au**</sup>

## Install the component

```
yarn add pineapple-popup
```

#### Add with <script> tag
###### (Not recommended)
```
<script src="https://registry.npmjs.org/pineapple-popup"></script>
```

## Import the component and it's styles

###### It'll be the global component Popup

```
import 'pineapple-popup'
import 'pineapple-popup/dist/pineapple-popup.css'
```

### Node.js

```
const Popup = require('pineapple-popup')
const PopupStyles = require('pineapple-popup/dist/pineapple-popup.css')
```

## Usage

###### Success (form has been submitted)
```
<Popup type="success" :opened="popupOpened" />
```
###### Error (contact form error)
```
<Popup type="error" :opened="popupOpened" />
```
###### Disabled (contact form submission is disabled)
```
<Popup type="disabled" :opened="popupOpened" />
```
###### Any other message

You can send any info to component `Popup`:
```
<Popup
  :title="title"
  :text="text"
  :color="color"
  :opened="popupOpened"
/>
```

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