Repository navigation
feat(ui): Text single-line truncation; IconButton v0.5 press feedback spec - #546
Merged
Merged
Conversation
This was referenced Nov 22, 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
This PR delivers the approved Text v0.3 single-line truncation (#538) and the approved IconButton v0.5 press-feedback amendment, a prerequisite for #540's hit area. The Recado compact note card (egdev6/recado#41) needs both.
Text v0.3:
truncate(implemented)Text.truncate?: boolean, defaultfalse, on every variant.block min-w-0 truncateand accents and the eyebrow render inline. The full text stays in the DOM, so assistive technology reads all of it.titleoraria, no wrapper, and the prop is never forwarded to the DOM or a Slot child.docs/components/text/v0.3/implementation-plan.md.docs/components/text/v0.3/implementation-evidence.md.single-line-text-truncation/truncate, marked approved. The owner's verbatim approval is recorded inodd/tasks/consumer-request-specs.mdL6 and L13, and in the receiptdocs/components/text/v0.3/prop-naming-approval.json.system.mdare regenerated, and the CHANGELOGs (ui,system) cite(#538).IconButton v0.5: press feedback (spec only)
scale-94press shrink. This supersedes that promise from v0.2; v0.2's no-hover-lift promise stays. With the shrink gone, v0.4's invisible ≥44px::afterhit area works unchanged. Chrome feasibility tests showed that every scaled option misdirected clicks at the edge.surface-3plus--shadow-btn-pressed. This is a non-color depth cue, and--shadow-focuskeeps priority.--color-alpha-red-15as its pressed background.contentSHA256: c0f0a7dc66d67339807e8ec3e512508a8d718063a3fe17d37dbfa4da2d1f6d3a.Commits
afec36bdd033c59a208d4d58d739d331c5cValidation
pnpm typecheck, biome, andprops/artifact/systemchecks also pass.pnpm build,node --test scripts/package-exports.test.mjspasses 137/137.truncateomitted,falseor an untyped value, rendering is byte-identical to the base across 24,384 Text and Heading renders.row, the trailing action stays visible but wraps under the text.system.md, whose Heading section is unchanged. The fix needs a generator change outside this scope.Linked issue
Refs #538 (closes at the release that ships it, per the consumer requests flow), Refs #540