feat(webkit): overhaul EmptyState (icon tile, size-scaled type, dashed border) + Table empty state - #786
Merged
Merged
Conversation
…ured tile Replace the bundled EmptyStateIllustration with a size-scaled featured-icon tile driven by a new `icon` prop (PrimeIcons/Azion class). The `icon` slot still overrides it, and omitting both prop and slot now renders no adornment. Scale the title/description typography on the same harmonic size ramp.
…ble empty state - Title (heading) and description (body) typography now scale with `size` on a harmonic ramp; `size` is small/medium only (`large` removed). - Bordered variant renders a dashed border. - Data Table renders its no-results state via <EmptyState size="small" icon="pi pi-table">, replacing the hand-rolled illustration + text.
- empty-state.vue: $slots['icon'] instead of $slots.icon (TS4111 — slots come from an index signature) - regenerate catalog.json to match the updated EmptyState size subset and docs
The EmptyState overhaul (icon tile, size-scaled type, dashed border) and the new Table empty state change the rendered output, and the overhaul adds the icon and no-adornment stories. Regenerated the Linux baselines on CI (Storybook Regenerate Baseline workflow) so the committed snapshots match — including the two new stories that would otherwise fail with 'New snapshot was not written.'
herbert-julio-azion
approved these changes
Jul 23, 2026
robsongajunior
requested changes
Jul 23, 2026
robsongajunior
left a comment
Contributor
There was a problem hiding this comment.
apps/storybook/.storybook/test-visual/__image_snapshots__/linux/components-data-table--empty--light-mobile.png and apps/storybook/.storybook/test-visual/__image_snapshots__/linux/components-data-table--empty--dark-mobile.png not seen tablet responsive.
Please review all the states and the images diff post opened pull request
robsongajunior
approved these changes
Jul 23, 2026
Contributor
|
🎉 This PR is included in version 4.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Contributor
|
🎉 This PR is included in version 4.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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
EmptyState overhaul + Table adoption.
iconprop, e.g.pi pi-inbox), replacing the fixed illustration.sizeon a harmonic ramp.sizereduced tosmall|medium(removedlarge).<EmptyState size="small" icon="pi pi-table">instead of a hand-rolled illustration + text (routes empty through the shipped component, per thecomponent-statesrule).Notes
webkitminor.size="large"and changed the adornment API (illustration slot →icontile). Commits arefeat(minor). If EmptyState is already released, these need!+ aBREAKING CHANGE:footer — flag for review.catalog.jsonincludes the adornment regen but is stale for the typography /large-removal / dashed-border changes — regenerate before release..specs/empty-state.mdupdated; run/spec-validate empty-state(checksum).