Skip to content

Latest commit

 

History

History
74 lines (61 loc) · 2.22 KB

File metadata and controls

74 lines (61 loc) · 2.22 KB

Select

License Stable Downloads Vue JavaScript SCSS npm Issues Merge Requests

Description

Selectable inputs and tag renderers for Enso UI.

Installation

Install the package:

yarn add @enso-ui/select

Features

  • exports VueSelect, EnsoSelect, Tag as its public surface
  • keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable

Usage

<script setup>
import { VueSelect, EnsoSelect, Tag } from '@enso-ui/select/bulma';
</script>

API

VueSelect

Public export available from src/bulma/VueSelect.vue.

Props:

  • hasError
  • hasWarning
  • isSuccess
  • labels
  • opensUp
  • placeholder

EnsoSelect

Public export available from src/bulma/EnsoSelect.vue.

Props:

  • source

Injects:

  • errorHandler
  • http
  • i18n
  • route

Tag

Public export available from src/bulma/Tag.vue.

Props:

  • disabled
  • label

Events:

  • deselect

Companion Backend Package

Depends On

  • No additional Enso UI dependencies.

Contributions

are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!

License

MIT