Releases: LeonEck/eck-autocomplete
Releases · LeonEck/eck-autocomplete
v1.2.0
- feat: new optional attribute
anchored-to-id
to specify where the panel should attach to- By default, when no anchor is specified, the panel will continue to be attached to the connected input.
- The anchor element can also be passed in programmatically when calling
setInputRef
as an optional second parameter.
- fix: don't try to remove event listeners on disconnect if no input was connected
- fix: export all types from main entry point and provide an exports field in package.json
v1.1.3
- fix: unpin @floating-ui/dom dependency to support all versions of the current major release
Note: 1.1.2 was skipped due to a mistake in the release process.
v1.1.1
- fix: update overlay position on animationFrame to not exceed ResizeObserver loop limit
- perf: remove an unnecessary positioning calculation at initialization
v1.1.0
- feat: add generic to EckAutocompleteOptionSelectEvent to allow the type of the value to be specified
- feat: add web-types
v1.0.0
- feat: add custom properties for theming
- docs: add stackblitz demo
v0.1.3
- fix: don't rely on constructor.name since it isn't stable when minified
v0.1.2
- fix: only manipulate options and ignore other children
v0.1.1
- fix: don't register components if they are already in the registry
v0.1.0
- docs: improve documentation
v0.0.11
- feat: add property method to manually provide an input reference
- fix: only highlight option if it exists
- refactor: remove hasKeyboardHighlight in favor of attribute
- refactor: replace value attribute with property
- feat: scroll highlighted option into view
- feat: use floating-ui for the overlay panel
- feat: use 'fixed' positioning all the time
- perf: remove event listeners from connected input ref
- feat: allow CSS injection
- feat: add select-highlighted-option which is active by default
- refactor: rename and split select and highlight event and don't bubble highlight
- feat: open panel when clicking on input
- fix: keyboard input should be ignored when a modifier key is pressed at the same time