rawilk / laravel-form-components

Form components built for Tailwind & Livewire.
https://randallwilk.dev/docs/laravel-form-components
MIT License
386 stars 42 forks source link

Config/component update #81

Closed rawilk closed 1 year ago

rawilk commented 1 year ago

This PR updates the structure of the package's config and of many of the components. The config will now offer a defaults array of common configuration options that you may want to set globally on components instead of setting them every time you render a component.

A lot of breaking changes are present in this PR, which will be documented in v8 docs and upgrade guide.

rawilk commented 1 year ago

The styles for the components have also all been moved to external CSS, which will be utilizing CSS variables to allow easier customization of how the form components are styled instead of having to override component definitions to change the default classes that are applied to each component.