Skip to content

feat: default EmptyTableState elevation to overlay#102

Merged
tmccoy14 merged 2 commits into
mainfrom
feat/empty-table-state-default-overlay
Jun 30, 2026
Merged

feat: default EmptyTableState elevation to overlay#102
tmccoy14 merged 2 commits into
mainfrom
feat/empty-table-state-default-overlay

Conversation

@tmccoy14

@tmccoy14 tmccoy14 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Changes the default elevation of EmptyTableState from raised to overlay. The raised elevation made the icon background effectively invisible in dark mode and very hard to see in light mode, so overlay is now the default to ensure the empty-state icon reads clearly against the surface it sits on.

Changes

  • EmptyTableState default elevationoverlay (was raised)
  • Docs updated to match: prose, prop table default, and examples (the elevation example now passes raised explicitly to demonstrate overriding the default)
  • Version bump2.1.5

Notes

This changes the default rendering of EmptyTableState for any consumer not explicitly setting elevation. Consumers relying on the previous raised default can restore it by passing elevation="raised".

Before:
Screenshot 2026-06-30 at 9 53 39 AM

After:
Screenshot 2026-06-30 at 9 54 21 AM

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 EmptyTableState default elevation from raisedoverlay.
  • Updated the component docs to reflect the new default and adjusted the elevation example to explicitly pass raised.
  • Bumped @eqtylab/equality package version to 2.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.

Comment thread packages/demo/src/content/components/empty-table-state.mdx Outdated
@tmccoy14
tmccoy14 merged commit 237a7ff into main Jun 30, 2026
1 check passed
@tmccoy14
tmccoy14 deleted the feat/empty-table-state-default-overlay branch June 30, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants