Releases: janosh/svelte-toc
Releases · janosh/svelte-toc
v0.5.9
v0.5.8
What's Changed
- When opening ToC on mobile, ensure active ToC item is scrolled into view by @Comefled in #54
- Add
reactToKeys
prop to Toc component andon_keydown
handler to enable navigating ToC with keyboard by @janosh in #55
New Contributors
Full Changelog: v0.5.7...v0.5.8
v0.5.7
What's Changed
package.json
add"types": "./dist/index.d.ts"
and default--toc-overflow to auto
by @pre-commit-ci in #49- Replace hacky
window.setTimeout(50)
callback withscrollend
event tokeepActiveTocItemInView
by @janosh in #53 - expose Toc
aside
andnav
HTMLElements
for external accessfc8806d
Full Changelog: v0.5.6...v0.5.7
v0.5.6
What's Changed
- Copy buttons by @janosh in #43
- Add prop
blurParams: BlurParams | null = { duration: 200 }
by @janosh in #47
Full Changelog: v0.5.5...v0.5.6
For #46 (comment).
v0.5.5
v0.5.4
v0.5.3
What's Changed
- Fix ToC scroll abort
#37
- Add
var(--toc-overflow, auto scroll)
#34
- add
src/routes/(demos)/left-border-active-li/+page.md
powered bymdsvexamples
6be66f0
- tweak readme prop docs
84c1854
- document new CSS variables in readme
5df7767
- add test 'subheadings are indented'
06da853
- add
var(--toc-ol-list-style, none)
andvar(--toc-ol-padding, 0)
ade5425
New Contributors
Full Changelog: v0.5.2...v0.5.3