Jack Sleight

@jacksleight.com

Freelance full-stack, Laravel and Statamic developer. Love solving interesting problems. jacksleight.dev

After much procrastination and putting it on the back-burner I’m finally getting close to finishing my new website (only taken two years). This will also include a bunch of new artwork/icons for my @statamic.com addons.

Bild

Statamic 6 is here! 🚀 A redesigned Control Panel, a modern Vue 3 + Inertia foundation, a new UI component library, a long list of architectural & performance improvements, and that's just scratching the surface. This is a new beginning, ready for what comes next. ❤️

Bild

Computed Livewire properties aren't available client-side, but sometimes they'd be really useful. So I built a little utility to make that possible. Under the hood this is just dispatching an event with the data on each update. You can of course do that yourself, but I like the simplicity of this.

Bild

Unified component experiment continues. Blade components now use an inline class for props, so the syntax can be identical to Livewire. Now upgrading a Blade component to Livewire is as simple as switching “BladeComponent” for “LivewireComponent” and adding the Livewire things.

BildBild

Working on some new features for Bard Texstyle 3.5. First one is the ability to hide parts of text content, useful if you need to temporarily remove something. Hidden content is completely excluded from the rendered HTML.

Bild

Happy Friday! I’ve been chipping away at an approach to writing Blade and Livewire components that smooths out the differences between the two, letting you write and use everything the same way, and also include scripts and styles that get bundled by Vite. 1/3

Bild

Slightly thrown by Tailwind 4 referring to JS based plugins as “legacy”. The new CSS based config is awesome, but anything requiring logic or using helpers like `flattenColorPalette` still needs to be JS based. Hope they don’t disappear one day.

Stumbled on a little CSS tip. If you need an absolute value you could use `abs`, but it’s limited availability right now. However `hypot` is newly available and: > If a single parameter is provided, the result is the absolute value of its input. Or you can just use `max`, but it's more verbose.

Bild