github Justineo/vue-clamp v1.5.0

5 hours ago

Minor release focused on making the published Vue components and TypeScript declarations line up
more directly.

Changed

  • Vue ^3.5.0 is now required. Apps already on Vue 3.5 should not need component template changes.
  • Component declarations now come from the same SFC contracts as the runtime components, so props,
    slots, events, and exposed component instances are checked from the authored component surface.
  • <WrapClamp> now requires the item slot to render each item. It no longer provides default item
    text rendering.

Improved

  • <WrapClamp> now carries the item type from items into the item, before, and after slots,
    including hiddenItems, so typed Vue templates need fewer wrapper casts.
  • <LineClamp>, <RichLineClamp>, and <InlineClamp> now share the same SFC declaration model as
    <WrapClamp>, keeping their public prop, slot, event, and exposed-instance types aligned with the
    shipped components.

Don't miss a new vue-clamp release

NewReleases is sending notifications on new releases.