Minor release focused on making the published Vue components and TypeScript declarations line up
more directly.
Changed
- Vue
^3.5.0is 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 theitemslot to render each item. It no longer provides default item
text rendering.
Improved
<WrapClamp>now carries the item type fromitemsinto theitem,before, andafterslots,
includinghiddenItems, 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.