Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Table of Contents component #1248

Merged
merged 12 commits into from
Jun 6, 2024

Conversation

dlnr
Copy link
Contributor

@dlnr dlnr commented Jun 4, 2024

Styled after the design for amsterdam.nl, Bas hinted that the chevrons were floating so I removed them.

This component has no added scripts to set an active state while scrolling or folding children (so chevron also not needed).

We need to await futher refinement for this component, this is just the basics.

@dlnr dlnr requested review from VincentSmedinga and alimpens June 5, 2024 08:09
@VincentSmedinga VincentSmedinga changed the title feat: Table of Content feat: Add Table of Contents component Jun 5, 2024
packages/react/src/TableOfContents/TableOfContents.tsx Outdated Show resolved Hide resolved
packages/react/src/TableOfContents/TableOfContents.tsx Outdated Show resolved Hide resolved
packages/react/src/TableOfContents/TableOfContents.tsx Outdated Show resolved Hide resolved
packages/react/src/TableOfContents/TableOfContentsLink.tsx Outdated Show resolved Hide resolved
packages/react/src/TableOfContents/index.ts Show resolved Hide resolved
storybook/config/storybook-overrides.css Outdated Show resolved Hide resolved
packages/css/src/components/table-of-contents/README.md Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to demo-DES-654-table-of-content June 6, 2024 10:46 Destroyed
@dlnr dlnr requested review from alimpens and VincentSmedinga June 6, 2024 10:47
@github-actions github-actions bot temporarily deployed to demo-DES-654-table-of-content June 6, 2024 11:58 Destroyed
VincentSmedinga
VincentSmedinga previously approved these changes Jun 6, 2024
@github-actions github-actions bot temporarily deployed to demo-DES-654-table-of-content June 6, 2024 12:08 Destroyed
@github-actions github-actions bot temporarily deployed to demo-DES-654-table-of-content June 6, 2024 17:03 Destroyed
@VincentSmedinga VincentSmedinga merged commit 1f4c09a into develop Jun 6, 2024
4 checks passed
@VincentSmedinga VincentSmedinga deleted the feature/DES-654-table-of-content branch June 6, 2024 17:07
@github-actions github-actions bot mentioned this pull request Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants