All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Renaming the component from
stimulus-popover
to@stimulus-components/popover
- Upgrading dependencies
- Exporting Typescript Types
- Updating demo UI
- Add Stimulus LSP compatibility
- Adding
name
in library export to use the package with CDN, Sprockets andimport-maps
.
- Bump dependencies.
- Upgrading to Vite
4.x
. - Docs new UI.
- Using
mouseenter
andmouseleave
events - Fix error when target is null
- Breaking Upgrading Stimulus to
3.x
and change namespace fromstimulus
to@hotwired/stimulus
. - Upgrading dependencies
- Upgrading Node to 16
- Updating Workflows
- Using
currentTarget
instead oftarget
to select the element.
- Moving from Snowpack to Vite
- Using stimulus as external library reducing bundle size from
40.66kb
to0.61kb
. - Moving to TypeScript.
- Upgrading Node to 14.17.0
- Support for Stimulus 2.0
- Prevent error if the url is empty when using remote card.
- Breaking Using the new
values
static property
- <div data-controller="popover" data-popover-url="/card.html">
+ <div data-controller="popover" data-popover-url-value="/card.html">
- Breaking Using the new syntax for
targets
.
- <div data-controller="popover" data-target="popover.card">
+ <div data-controller="popover" data-popover-target="card">
Breaking - Removing Tippy as dependency.
Breaking - Rename mouseOver
to show
.
- Add
hide
action.
- Adding
tippyOptions
getter to simply override default options. tippy
instance is now a singleton.- Destroy
tippy
instance on disconnect.
Breaking - Removing mouseOut
action.
Breaking - popover
action does not return a new tippy
instance.
- Adding controller