Repository navigation
v0.2.2
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 buildFiles 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): adata-theme-changinghook 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 ofgap-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@fontsadds. 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\WidgetandApp\Rules): written in Laravel Pint's default style. Before, running Pint in your app reformatted seven of them, which marked them as edited, solarawell:add --installedskipped their updates.
Full changelog: v0.2.1...v0.2.2