github Justineo/vue-clamp v1.1.0

latest release: v1.2.0
12 hours ago

VITE+ - The Unified Toolchain for the Web

Minor release focused on richer multiline content.

Added

  • Added <RichLineClamp> for trusted inline HTML. It clamps from the end and preserves inline
    formatting, links, line breaks, inline media, and atomic inline content in rich text snippets.
  • <InlineClamp> now supports the ellipsis prop, so one-line split text can use the same custom
    omission marker style as the multiline components.

Changed

  • <InlineClamp> now measures and rewrites only the body segment instead of relying on native
    text-overflow. The visible result is still single-line, but split start and end segments
    stay readable while the body can shrink all the way to the ellipsis.

Fixed

  • Fixed <InlineClamp> not restoring trimmed body text after its container grows wider.
  • Fixed <LineClamp> edge cases where browser layout could undercount wrapped lines, so collapsed
    text now respects maxLines and maxHeight more reliably.

Don't miss a new vue-clamp release

NewReleases is sending notifications on new releases.