silberengel
5ceaced771
ran prettier
8 months ago
buttercat1791
43d77d0f04
Remove accordion display mode from ToC component
8 months ago
buttercat1791
b492a33cc7
Fit ToC styling to theme
9 months ago
buttercat1791
0fc90e5ceb
Use ToC hrefs for proper navigation
9 months ago
buttercat1791
5fb32e35b2
Formatting and SvelteKit 2/Svelte 5 upgrades
9 months ago
buttercat1791
15daf824c2
Correctly render hierarchy in ToC component
9 months ago
buttercat1791
3aebf1c00b
Remove unneeded TODO
9 months ago
buttercat1791
44a9d282a5
Use a reactive map to make ToC entry expansion react on click
9 months ago
buttercat1791
261b324d1b
Fix code mangled by git
9 months ago
buttercat1791
c235646ffe
Ensure ToC addresses update correctly
...
Closing and reopening the ToC component shows updates, but it is not responsive to clicks. This will be fixed in a future commit.
9 months ago
buttercat1791
2d6d38b3b3
Fix data flow between publication tree and ToC
9 months ago
buttercat1791
7219e68ca3
Make accordion non-flush
9 months ago
buttercat1791
052392d7f0
Add action bindings on ToC component elements
9 months ago
buttercat1791
b07914f963
Allow two ToC component variants
...
- A sidebar variant is meant for integration within a sidebar. This is used in the current Publication component.
- An accordion variant is intended for standalone use.
9 months ago
buttercat1791
608ce2b8e4
First pass at ToC layout
9 months ago
buttercat1791
4afbd04d5e
Add a TODO
10 months ago
buttercat1791
cb1ece7eae
Make ToC class iterable, and iterate to render ToC in component
10 months ago
buttercat1791
feab392a44
Refactor `TableOfContents` class for least privilege
10 months ago
buttercat1791
a408c54323
Reorganize ToC modules
...
The `<TableOfContents>` component is moved to the same subdirectory as the publication components. Most of the component logic is moved into a class defined in `table_of_contents.svelte.ts`, which will serve as a companion module for `<TableOfContents>`.
10 months ago