fix(showcase): restore theming and verify UI 3.2 behavior - #54
Merged
Conversation
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.
The UI 3.2 showcase had retained its visual design while losing material behavior from the older theming page, omitting public component families, and leaving enabled controls without proven outcomes or stable semantic identities.
This branch restores the theme-library workflow with UI components: add, select, rename, delete, and clear saved themes; apply the current theme to the whole site; remember it across route teardown; restore it at startup; and preserve compatibility with older saved state that has no theme IDs.
The showcase imports UI's canonical family manifest and fails its build if any of the 101 public families has no dedicated page or coverage example. The complete-coverage route uses real consumer compositions for the remaining families, including FlexGrid, ComboBox, color controls, auth composition, install prompts, chat, and ImmersiveLanding. Fullscreen examples restore document layout both through their return action and through normal route navigation.
The control audit also:
getContextimplementation.Local release evidence:
@pathscale/ui@3.2.1npm tarball with SHA-2567a468c51d3adfea2b5e2e4f711c92eaf775e600c2b1bd8bf05fab37a94bfcb1b; its built output is semantically identical to the reviewed candidate after normalizing the release version and JSON object orderingThe repository's documented
bun run lintcommand is a no-op because it installs the unrelatedbiome@0.3.3; it is not claimed as release evidence here. A real Biome 1.5 read-only pass was used on the touched sources to catch the one explicitanyin scope without introducing a repository-wide formatting change.This PR does not merge or deploy the site. The owner reviews it first.