feat: edge flags, overflow, and add/remove-aware observers
CI / verify (push) Successful in 26s
CI / e2e (push) Successful in 26s
CI / verify (pull_request) Successful in 29s
CI / publish (push) Successful in 18s
CI / e2e (pull_request) Successful in 29s
CI / publish (pull_request) Has been skipped

This commit is contained in:
Ilia Mashkov
2026-07-02 11:26:45 +03:00
parent ba7aa0664a
commit e273cad04b
4 changed files with 146 additions and 2 deletions
+5
View File
@@ -5,6 +5,11 @@ at each `v*` release tag.
## [Unreleased]
## [0.2.0] - 2026-07-02
- Core: `atStart`/`atEnd`/`overflow` getters; `change` now fires on any state change (index, count, overflow), consumers re-read getters.
- Core: ResizeObserver drives `overflow`; MutationObserver observes/unobserves slides so count/index/edge flags stay correct across add/remove without recreating the carousel.
## [0.1.0] - 2026-07-01
- Initial core (`createCarousel`), `dots()` fallback, `autoplay()`, and `carousel.css`.