carbon-design-system / carbon-components-svelte

Svelte implementation of the Carbon Design System
https://svelte.carbondesignsystem.com
Apache License 2.0
2.71k stars 261 forks source link

Tweaks to DataTable generics #1968

Closed brunnerh closed 6 months ago

brunnerh commented 6 months ago

Adjustments for #1954.

I added some line breaks for readability in the source, these seem to be added to the COMPONENT_API.json but the docs are not visibly affected.

The types in DataTableTypes.d.ts are currently not directly accessible via the docs. (Also, the name and location of that file is debatable. The types are not really specific to this component and could potentially become useful elsewhere.)

metonym commented 6 months ago

The nested keys are great.

Screenshot 2024-05-04 at 2 37 16 PM