filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
19.39k stars 2.97k forks source link

Rename MaxWidth enum to Width #14817

Open zepfietje opened 5 days ago

zepfietje commented 5 days ago

I think we initially used MaxWidth because it matches the sizing scale of Tailwind's max width utility class. However, the other day they copied that over to the width utility too. Not all APIs in Filament that accept the MaxWidth enum actually concern the max width, rather the fixed with of an element. Therefore I suggest we rename the MaxWidth enum to Width in v4.

Donate 💰 to fund this issue

Fund with Polar