github chrisreedio/socialment v5.2.0

47 minutes ago

Upgrade notes

Provider login buttons now render with Filament's <x-filament::button>, so they follow your panel's theme, colors and dark mode (#33).

Font Awesome is no longer installed for you. owenvoke/blade-fontawesome moved from require to suggest. If your providers use Font Awesome icon names such as fab-github, add it to your app:

composer require owenvoke/blade-fontawesome
  • Without it, the default view renders the buttons without icons. It does not throw an error.
  • If you published the providers-list or login-error views from an earlier version, those views call Font Awesome icons directly and will throw SvgNotFound until you install the package or republish the views.

New

  • registerProvider() accepts any icon a Filament button accepts: a Blade Icons name (heroicon-o-key, fab-github, …), a Heroicon enum case, or null.

  • registerProvider() takes optional color (default gray) and size (default md) arguments:

    ->registerProvider('azure', Heroicon::OutlinedKey, 'Azure', color: 'primary')
    

    Existing calls with 4 arguments keep working.

What's Changed

Full Changelog: v5.1.1...v5.2.0

Don't miss a new socialment release

NewReleases is sending notifications on new releases.