-
Notifications
You must be signed in to change notification settings - Fork 45
Feat: new expandable table component #354
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
base: next
Are you sure you want to change the base?
Conversation
…ron variant of accordian
|
PinkProject ID: Note Cursor pagination performs better than offset pagination when loading further pages. |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2025-08-17 19:13:58 CET |
Uh oh! @HarshMN2345, the image you shared is missing helpful alt text. Check your pull request body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
🚀 Previews available on pkg.vc!📦
|
v2/pink-sb/src/lib/Accordion.svelte
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need to change Accordion
here? Don't think its related to ExpandableTable
directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering its a Table
, instead of the prop vars like rows & columns, I'd expect them to behave like Table's UI APIs like Table.Root, Table.Row, Table.Cell, etc. We can have something more flexible with default and expanded slots.
<!-- where root can track which item is opened -->
<ExpandableTable.Root let:root>
{#each columns as column (column.index)}
<ExpandableTable.Row {root} {...otherOptions}>
{Row title here}
<svelte:fragment slot="summary" {root}>
Show expanded content with details here.
</svelte:fragment>
</ExpandableTable.Row>
{/each}
</ExpandableTable.Root>
cc @TorstenDittmann feel free to add comments if we should follow a different approach.
Uh oh! @HarshMN2345, the image you shared is missing helpful alt text. Check your pull request body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
1 similar comment
Uh oh! @HarshMN2345, the image you shared is missing helpful alt text. Check your pull request body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
Uh oh! @HarshMN2345, the image you shared is missing helpful alt text. Check your pull request body. Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image. Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs. |
What does this PR do?
Introduces a new ExpandableTable component
Test Plan
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
yes