Quick View
Description
Slide-out quick-view panel for Enso UI.
Installation
Install the package:
yarn add @enso-ui/quick-view
Features
- exports
QuickViewas its public surface - renders the panel through
Teleportdirectly underbody, avoiding parent stacking contexts and overflow clipping - keeps the slide transition active while using a teleported panel
- supports Bulma column responsiveness through classes passed on the component
- aligns responsive panels to the right edge by default
- closes when the delete control is clicked
- closes when the user presses
Escape
Usage
<script setup>
import QuickView from '@enso-ui/quick-view/bulma';
</script>
<template>
<quick-view class="is-one-third-desktop is-half-tablet is-full-mobile"
@close="quickView = false"
v-if="quickView">
...
</quick-view>
</template>
API
QuickView
Public export available from @enso-ui/quick-view/bulma.
Attributes:
- classes passed to
QuickVieware applied to the internal Bulma.column, so standard column sizing helpers can control panel width responsively - non-class attributes are not applied to the wrapper panel
Events:
closeis emitted after the panel is closed by the delete control, byEscape, or after the leave transition completes
Depends On
@enso-ui/transitions@enso-ui/uibulmapinia
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!