feat: default EmptyTableState elevation to overlay#102
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates EmptyTableState to use a more legible default icon-background elevation (overlay) so the empty-state icon reads correctly across light/dark surfaces, and aligns the documentation and package version accordingly.
Changes:
- Changed
EmptyTableStatedefaultelevationfromraised→overlay. - Updated the component docs to reflect the new default and adjusted the elevation example to explicitly pass
raised. - Bumped
@eqtylab/equalitypackage version to2.1.5.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/ui/src/components/empty-table-state/empty-table-state.tsx | Switches the component’s default elevation to ELEVATION.OVERLAY. |
| packages/demo/src/content/components/empty-table-state.mdx | Updates docs prose, examples, and prop table default to match the new behavior. |
| packages/ui/package.json | Version bump to 2.1.5 for publishing the change. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Shrinks99
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes the default
elevationofEmptyTableStatefromraisedtooverlay. Theraisedelevation made the icon background effectively invisible in dark mode and very hard to see in light mode, sooverlayis now the default to ensure the empty-state icon reads clearly against the surface it sits on.Changes
EmptyTableStatedefault elevation →overlay(wasraised)raisedexplicitly to demonstrate overriding the default)2.1.5Notes
This changes the default rendering of
EmptyTableStatefor any consumer not explicitly settingelevation. Consumers relying on the previousraiseddefault can restore it by passingelevation="raised".Before:

After:
