- #344
c8ab3c5Thanks @vnphanquang! - correctly setosbserve.link.enableoption whenobserveis boolean (see #343 - thanks @nicholascostadev for reporting)
1f0ae6eThanks @vnphanquang! - fallback if crypto api is not available
-
#327
11d3948Thanks @github-actions! - drop support for Svelte 4 and below; rework public API withTocclass, now powered by Svelte runes. See docs page for more information. -
#327
3b7d3b2Thanks @github-actions! - bump Svelte peer dependency,Mapis nowSvelteMapfromsvelte/reactivity
-
#327
50834e6Thanks @github-actions! - re-expose public typedef (following sveltejs/dts-buddy#82) -
#327
53c20a8Thanks @github-actions! - reset when toc root change -
#327
b773e8aThanks @github-actions! - relax type of parameter for link action -
#327
5d30599Thanks @github-actions! - set up package provenence -
#327
c559185Thanks @github-actions! - sync README.md and installation version in docs page -
#327
9a2e375Thanks @github-actions! - defer events to Svelte internal delegation system where applicable
5d30599Thanks @vnphanquang! - set up package provenence
50834e6Thanks @vnphanquang! - re-expose public typedef (following sveltejs/dts-buddy#82)
bb1269eThanks @vnphanquang! - relax type of parameter for link action
fa5c475Thanks @vnphanquang! - bump Svelte peer dependency,Mapis nowSvelteMapfromsvelte/reactivity
26bbd81Thanks @vnphanquang! - sync README.md and installation version in docs page
-
#302
3744bfdThanks @github-actions! - reset when toc root change -
#302
db35158Thanks @github-actions! - defer events to Svelte internal delegation system where applicable
- #298
6b85cc2Thanks @github-actions! - drop support for Svelte 4 and below; rework public API withTocclass, now powered by Svelte runes. See docs page for more information.
46e675eThanks @vnphanquang! - specify Svelte peer dependency to include Svelte 5
- #281
8242e63Thanks @vnphanquang! - add comprehensive type definitions for data attributes
- #270
a49ca6cThanks @nicholascostadev! - [BREAKING] using Map for items instead of POJO for better performance and insertion order preservation (#269)
-
#204
52b4677Thanks @vnphanquang! - Migrated to vanilla JS (tracked at #203) -
#204
52b4677Thanks @vnphanquang! -DEFAULT_TOC_PARAMETERS&DEFAULT_TOC_LINK_PARAMETERSare no longer exxported
- #160
2ab1c3eThanks @vnphanquang! - Logic correction to correctly cache & reset operations when toc is used in layout and across page navigation
b2e3f02Thanks @vnphanquang! - support reactive attribute update for elements usingtoclink. This fixes issue where toclink is reused (in layouts, for example) across page transitions.
22b3b94Thanks @vnphanquang! - [BREAKING] move build output fromlibtodistto stay consistent of new changes from @sveltejs/package@2. Also fixes some api docs issues
- #135
a86347aThanks @vnphanquang! - execute toclink operation on mount, and remove rerun on update, resolves #133
227e8dcThanks @vnphanquang! - add "Quick Start" section in package README
87d94dfThanks @vnphanquang! - exposetoclinkparameters types in build output
8d02c83Thanks @vnphanquang! - add idiomatic support with complementary actiontoclinkfor anchor tags that link to toc items (typically those in a table of contents)
-
8d02c83Thanks @vnphanquang! - undefinedanchor&observeshould correctly take default options -
80730b4Thanks @vnphanquang! - refator totoggleAttributein favor ofsetAttributefor markers
07ccc5bThanks @vnphanquang! - refactor for better logics organization and only export necessary things at index
2a34159Thanks @vnphanquang! - set extractedtocIdtoelement.id(bugfix)
-
d04d44eThanks @vnphanquang! - deprecate internal svelte store (for tracking active item within action operations, no effect on the user-providedstoreparameter) in favor of simple callback for smaller bundle size -
a8cd5c2Thanks @vnphanquang! - add docs about lack of dynamic update support -
a8cd5c2Thanks @vnphanquang! - improve perf by making observe operation async (prioritizetocinitfor initial rendering) -
60c2029Thanks @vnphanquang! - use as few IntersectionObserver as possible, only create for each new threshold, otherwise reuse -
6058f0cThanks @vnphanquang! - add additional export entryinternalfor use within docs
94e3b25Thanks @vnphanquang! - slice textContent to 100 max length before passing to slugify
- #93
4d379dbThanks @vnphanquang! - [BREAKING] complete overhaul, drier code with scroll-margin-top and more customizable anchor options
- #93
84b63f8Thanks @vnphanquang! - Add global ambient typings for data-toc-... attributes
4c2db74Thanks @vnphanquang! - provide ambient types for custom event on:toc
57c5582Thanks @vnphanquang! - Avoid manual d.ts typing, let svelte generates component type
35d6ba5Thanks @vnphanquang! - add svelte REPL badge to top of README
feaf0beThanks @vnphanquang! - fix svelte kit migration build step, should use separate svelte-package
cb01113Thanks @vnphanquang! - bump dependencies' version
edd30a0Thanks @vnphanquang! - add style tag only if not already added
b5133dfThanks @vnphanquang! - Better async handling - remove excessive setTimeout
-
6565e46Thanks @vnphanquang! - .- Fixed broken imports from
Toc.svelte - Better caching: only return cache when parameters are the same
- Temporarily fix the onMount issue where action doesn't run if page is loaded / navigated to from client side
- Added playground page for
svelte-put/toc
- Fixed broken imports from
b9c2d52Thanks @vnphanquang! - Introduction ofuse:tocand<Toc>component for building table of contents