Summary
User story
As a user, I want to receive an indication when there's no data available to be diplayed by a Table.
API
[⚠️ TBD ⚠️]
UI and interaction
The Table can be configured to feature a customizable empty state message when there is no information available to be displayed. The message text's style matches the default Table text in color-subtle, and is included within a table's body that displays a min-height of 64px.
Demos and testing
The empty state could be demoed in the Configurable Table. Unit/snapshot tests should be added to cover this new functionality.
Acceptance criteria
- The Table component can display an empty state
- Unit tests are included
- Demo the Table's empty state in the component's page
- Document the "Empty table" at the end of the "Types" section of the Guidelines (See Guidelines content)