Skip to content

v0.2.2

Choose a tag to compare

@rkwebforge rkwebforge released this 04 Oct 11:46
· 25 commits to main since this release

Four fixes and one addition, found while building the starter kit. Nothing is renamed or removed.

Updating

composer update larawellui/larawellui
php artisan larawell:add --installed
npm run build

Files you haven't edited get the new version; edited ones are skipped and listed, and php artisan larawell:diff shows what changed in them.

Added

  • All widgets (base.css): a data-theme-changing hook for switching theme while the page is open. Set it on <html> for the switch and the widgets' colour transitions are held back, so fields, buttons and table rows change at once instead of each fading at its own speed. The README's Theming section shows the toggle.

Changed

  • button (<x-widget.button.back>): the arrow sits closer to its label (gap-1.5, as on the button, instead of gap-5), so the two read as one link.

Fixed

  • table: changing page, sort or filter in place no longer makes the browser report a Content Security Policy violation for each inline <style> on the page it fetches, such as the one Laravel's @fonts adds. Those carry the fetched response's nonce, not the current page's; the table now drops them before reading the page.
  • PHP helpers and validation rules (copied to App\View\Widget and App\Rules): written in Laravel Pint's default style. Before, running Pint in your app reformatted seven of them, which marked them as edited, so larawell:add --installed skipped their updates.

Full changelog: v0.2.1...v0.2.2