github magicasaservice/vue-equipment v1.0.0-beta.78
Release 1.0.0-beta.78

pre-release8 hours ago

⚠️ Breaking Changes

  • Every exported type is now prefixed with Magic for a consistent public API, e.g. TraySnapPointMagicTraySnapPoint, DrawerWillSnapToPayloadMagicDrawerWillSnapToPayload and ToastDragPayloadMagicToastDragPayload.
  • MagicTray's staticClick event has been removed; slotted handle content now receives native clicks instead.
  • MagicTray's snap.instant option has been replaced by drag.mode, either 'free' or 'snap'.
  • MagicToast's per-toast add() overrides now go through a single options argument instead of top-level duration and draggable.
  • MagicToast's draggable option has been replaced by drag.disabled.
  • MagicToast's hiddenCount has been renamed to hidden.
  • MagicToast no longer fades toasts while dragging; drive the fade through the drag event instead.

🍿 Features

  • MagicDrawer now emits a willSnapTo event during a drag whenever the committed snap target changes.
  • MagicTray handles now pass clicks through to slotted content, suppressing only the click a drag synthesises on release.
  • MagicTray's drag.mode can commit straight to the closest snap point while dragging.
  • MagicToast's add() accepts a per-toast options argument for duration, drag, threshold and animation.
  • MagicToast's beforeDrag, drag and afterDrag events are now typed as MagicToastDragPayload.

❗️ Bug fixes

  • Fixed the options prop type shown in the MagicToast, MagicMarquee and MagicCommand documentation.

Full Changelog: v1.0.0-beta.73...v1.0.0-beta.78

Don't miss a new vue-equipment release

NewReleases is sending notifications on new releases.