Confirmation dropdown primitives and Bulma actions for Enso UI.
Install the package:
yarn add @enso-ui/confirmationThis package is also available through the full enso-ui workspace bundle.
- ships a core confirmation popper primitive and a Bulma-styled action wrapper
- uses
v-tooltipdropdowns to anchor confirm/cancel actions to any trigger slot - exposes explicit
cancelandconfirmcallbacks to slot content
<script setup>
import Confirmation from '@enso-ui/confirmation/bulma';
</script>
<Confirmation @confirm="destroy">
<button class="button is-danger">Delete</button>
</Confirmation>Bulma-flavoured wrapper with built-in icon buttons for cancel and confirm.
Import: @enso-ui/confirmation/bulma
Events:
cancelconfirm
Low-level confirmation popper primitive.
Import: @enso-ui/confirmation/index.js
Events:
cancelconfirm
Slots:
defaulttrigger content.cancelreceives{ cancel }.confirmreceives{ confirm }.
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!