Skip to content

feat(empty-state): export the illustrations - #3

Merged
inureyes merged 1 commit into
mainfrom
feat/export-empty-state-illustrations
Aug 5, 2026
Merged

feat(empty-state): export the illustrations#3
inureyes merged 1 commit into
mainfrom
feat/export-empty-state-illustrations

Conversation

@inureyes

@inureyes inureyes commented Aug 5, 2026

Copy link
Copy Markdown
Member

What

Exports the ten EmptyState illustrations, plus IllustrationProps.

They have shipped inside every release, but no barrel named them, so nothing outside the package could reach one: exports offers ./components/EmptyState, that barrel exported only EmptyState and its types, and there is no path to illustrations.js.

Same shape as the stylesheets in 0.1.0-alpha.1: present in the tarball, addressable by nothing. It surfaced the same way too, when a consumer's migration reached a name the package has and does not expose. EmptyState covers the common case, but a consumer that composes its own empty state, with the illustration beside other content rather than above a title and description, had to keep its own copy of the SVG.

Verification

pnpm run verify green. Packed file count unchanged at 140: nothing new ships, a door opens on what already shipped.

Release as 0.1.0-alpha.3.

The ten illustration components shipped inside the package from the first
release, but no barrel named them, so nothing outside the package could reach
one. `EmptyState` covers the common case; a consumer that composes its own
empty state, with the illustration beside other content rather than above a
title and description, had to keep a copy.

That is the same shape as the stylesheets fixed in 0.1.0-alpha.1: present in
the tarball, addressable by nothing. It surfaced the same way too, when a
consumer's migration hit a name the package has and does not expose.

`IllustrationProps` goes with them so a wrapper can be typed without
redeclaring it.
@inureyes
inureyes merged commit 0c536d7 into main Aug 5, 2026
3 checks passed
@inureyes
inureyes deleted the feat/export-empty-state-illustrations branch August 5, 2026 13:38
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.

1 participant