v0.7.0 — CopyableText fluid mode
CopyableText — fluid width-aware truncation
Adds a fluid boolean prop (default false) to CopyableText.
- Fluid mode fills its container and truncates with a pure-CSS two-span flexbox: the last
endCharscharacters stay pinned (fixed tail) while the head flexes and ellipsizes. Shows the full string when there's room, truncates as the container narrows. No JS measurement, noResizeObserver, no new dependencies. startCharsis ignored in fluid mode; the full value is revealed via the nativetitleattribute.- Fixed-mode behavior and existing callsites are unchanged — backward compatible.
Decision #98. PR #22.