# @availity/uppy-grill

> availity uppy plugin ui upload

Latest version **1.1.0** (published 2018-06-11) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @availity/uppy-grill
pnpm add @availity/uppy-grill
yarn add @availity/uppy-grill
bun add @availity/uppy-grill
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-06-11 |
| First published | 2018-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 60 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 13 |
| Author | Evan Sharp |
| Maintainers | cbaker1, dnoler, jselden, kaseypowers, robmcguinness, sharpie |
| Keywords | availity, uppy, plugin, ui, upload |

## Links

- npm: https://www.npmjs.com/package/@availity/uppy-grill
- Repository: https://github.com/Availity/sdk-js
- Homepage: https://github.com/Availity/sdk-js/uppy-grill#readme
- Issues: https://github.com/Availity/sdk-js/issues
- npm.io page: https://npm.io/package/@availity/uppy-grill

## Dependencies (6)

- [uppy](https://npm.io/package/uppy.md) ^0.22.1
- [preact](https://npm.io/package/preact.md) ^8.2.7
- [drag-drop](https://npm.io/package/drag-drop.md) ^2.13.2
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.5.7
- [prettier-bytes](https://npm.io/package/prettier-bytes.md) ^1.0.4

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2018-06-11
- 1.0.0 — 2018-04-09
- 1.0.0-alpha.5 — 2018-02-08
- 1.0.0-alpha.4 — 2018-02-06
- 1.0.0-alpha.3 — 2018-02-04
- 1.0.0-alpha.2 — 2018-01-31

## README

#### uppy-grill

> Uppy Plugin based on [uppy's Dashboard Plugin](https://uppy.io/docs/dashboard/) that changes the layout and provides enhanced form capabilities

#### Installation

```bash
npm install @availity/uppy-grill--save
```

#### Usage

```javascript
import Uppy from 'uppy';
import Grill from '@availity/uppy-grill';

const uppy = Uppy({
  // optional uppy options. See https://uppy.io/docs/uppy/
});

uppy.use(Grill, {
  // See https://uppy.io/docs/plugins/#Common-Options
  target: 'body',
  trigger: '#uppy-select-files',
  inline: false,
  maxWidth: 750,
  maxHeight: 550,
  semiTransparent: false,
  showProgressDetails: false,
  hideUploadButton: false,
  hideProgressAfterFinish: false,
  note: null,
  metaFields: [
    {
      id: 'string',
      name: 'string', // field's label
      tag: 'string', // select or text. Default text
      placeholder: 'string',
      defaultValue: 'string', // if 'lastModified' it will be the last modified date of the file, else it will be the string provided
      col: 12, // number of columns wide the field should be based on the bootstrap 12 column layout
      validate: {
        required: false, // makes the field required
        date: false, // performs basic mm/dd/yyyy date validation
      },
      options: [
        // only used when tag is 'select'. The options which will appear in the select dropdown.
        {
          label: 'string',
          value: 'string',
        },
        // ...
      ],
    },
  ],
  closeModalOnClickOutside: false,
  disableStatusBar: false,
  disableInformer: false,
  locale: {
    strings: {
      selectToUpload: 'Select files to upload',
      closeModal: 'Close Modal',
      upload: 'Upload',
      importFrom: 'Import files from',
      dashboardWindowTitle: 'Uppy Dashboard Window (Press escape to close)',
      dashboardTitle: 'Uppy Dashboard',
      copyLinkToClipboardSuccess: 'Link copied to clipboard.',
      copyLinkToClipboardFallback: 'Copy the URL below',
      fileSource: 'File source',
      done: 'Done',
      localDisk: 'Local Disk',
      myDevice: 'My Device',
      dropPasteImport:
        'Drop files here, paste, import from one of the locations above or',
      dropPaste: 'Drop files here, paste or',
      browse: 'browse',
      fileProgress: 'File progress: upload speed and ETA',
      numberOfSelectedFiles: 'Number of selected files',
      uploadAllNewFiles: 'Upload all new files',
      emptyFolderAdded: 'No files were added from empty folder',
      folderAdded: {
        0: 'Added %{smart_count} file from %{folder}',
        1: 'Added %{smart_count} files from %{folder}',
      },
    },
  },
});
```

#### Prior Art

uppy-grill is based on and mostly copied from [uppy's Dashboard Plugin](https://uppy.io/docs/dashboard/).
uppy-grill changes the layout and provides enhanced form capabilities but most of the work is uppy's Dashboard Plugin

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