Jack Sleight

@jacksleight
72 Followers
42 Following
41 Posts
Freelance full-stack developer. Love building sharp interfaces and working with Laravel, Statamic and Filament.

Playing with a @statamic experiment that’s been bouncing around in my head for quite a long time. Could be pretty cool, and it’s only half Bard related…. maybe two thirds.

Do I need this: 👀 ?

Apparently the fourth hardest problem in computer science:

Predictive text knowing that when you type the first half of your postcode, you’re probably going to want to type the second half of your postcode.

@emd Enjoy! Just don’t look too closely, still a bit of a work in progress.

Been testing @LaravelLivewire Flux customisation using Blade Tailor. These styles are defined in one file, without publishing the templates or using CSS overrides (mostly).

(I love Flux's look, but I’d like to use it in projects with their own style, so I'm just experimenting.)

Added some new features that make it super easy to make changes to multiple components at once, like if you want all the small text to be bigger, or all the rounded corners to be pointy. Tagged v0.2.
I've wrapped this up into a package if anyone wants to give it a spin. This is currently an experimental work in progress, please read the warning in the readme. https://github.com/jacksleight/blade-tailor
GitHub - jacksleight/blade-tailor: Customise (tailor) the props, classes and attributes used by blade components from outside the template files.

Customise (tailor) the props, classes and attributes used by blade components from outside the template files. - GitHub - jacksleight/blade-tailor: Customise (tailor) the props, classes and attrib...

GitHub

Here are some more examples of what this can do. I've also made some tweaks to the API. There's also a `reset` option that allows you to remove all built-in classes, just in case you really really want to style the whole thing from scratch (but still keep all the behaviour).

I originally built this to use with my own package of general purpose components, but since it can now work with other packages maybe I should release it?

I have a little tool that allows you to globally alter the props and classes used by blade components, making it super easy to customise external components without publishing their views. Just got it working with Livewire Flux!

Just tagged @statamic Bard Mutator v3: https://github.com/jacksleight/statamic-bard-mutator/releases/tag/3.0.0

🔌 Mutators are now known as plugins
📦 Class based plugins for easier organisation and reuse
🔭 Scoped plugins that can be enabled per-field
🛠️ New helpers for advanced data manipulation
😎 Easier setup with no custom binding

Release 3.0.0 · jacksleight/statamic-bard-mutator

This release introduces some significant changes to the terminology and variables used in mutators, however there are only two very small breaking changes, please read upgrade guide for more inform...

GitHub
@doefom Thanks! ☺️