Skip to content

v4.2.1

Choose a tag to compare

@mkocansey mkocansey released this 22 Jun 01:48
· 115 commits to main since this release

This release adds three new components, input masking, and several packaging improvements since v4.1.0. (

New Components

  • Sortable — drag-and-drop sortable lists powered by SortableJS. Supports shared lists, cloning, drag handles, item filtering, multi-drag, and swap mode, with built-in form-submission/order persistence. mkocansey/bladewind-sortable
  • Popover — click/hover popovers with positioning and rich content. mkocansey/bladewind-popover
  • Tooltip — lightweight tooltips. mkocansey/bladewind-tooltip

New Features

  • Input masking on the Input component, modelled on the Alpine.js mask plugin:
    • Static templates with 9 (digit), a (letter), and * (alphanumeric) wildcards, e.g. mask="(999) 999-9999".
    • Dynamic masks via dynamicMask, including a built-in creditCard mask (Amex / Diners / Visa-style) that needs no JavaScript.
    • Money formatting via money="true" with configurable decimal/thousands separators and precision.

Changes & Improvements

  • Bell and Notification are now their own installable packages (mkocansey/bladewind-bell, mkocansey/bladewind-notification), previously bundled with the Alert package.
  • Public assets relocated to the core package (mkocansey/bladewind-core) and the compiled CSS rebuilt.
  • The required-field asterisk now only shows when a placeholder is present.
  • Added README files across all packages.
  • Build/dev dependency bumps (qs, express, serialize-javascript, terser-webpack-plugin).

Installation

composer require mkocansey/bladewind            # full library
composer require mkocansey/bladewind-sortable   # just the new Sortable component
composer require mkocansey/bladewind-popover
composer require mkocansey/bladewind-tooltip

After updating, republish assets to pick up the rebuilt CSS/JS:

php artisan vendor:publish --tag=bladewind-public --force

Full changelog: mkocansey/bladewind@v4.1.0...v4.2.1