-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
382 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# From v1 to v2 | ||
|
||
- The config file have been renamed from `fontawesome-blade.php` to `fontawesome.php` (the old config file will still work until v3). | ||
- The package config option have been renamed from `package` to `path`, and expects the full path to the /svgs folder, and not only to the package root (the old config option `package` will still work until v3). | ||
- The blade components are now namespaced as `fa`, use `<x-fa::solid ...>` instead of the old `<x-fa.solid ...>` (the old component will still work until v3). | ||
- The default path now refers to `@fortawesome/fontawesome-free` instead of `@fortawesome/fontawesome-pro`, publish the config to change to your package of choice. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/** | ||
* The path to the Font Awesome icon set SVG's to use. | ||
*/ | ||
'path' => base_path('node_modules/@fortawesome/fontawesome-free/svgs'), | ||
|
||
]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"private": true, | ||
"devDependencies": { | ||
"@fortawesome/fontawesome-pro": "6.0.0-beta1" | ||
"@fortawesome/fontawesome-free": "^6.0.0", | ||
"@fortawesome/fontawesome-pro": "^6.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Devlop\FontAwesome\Components; | ||
|
||
use Devlop\FontAwesome\FontAwesomeBaseComponent; | ||
use Illuminate\Contracts\View\View; | ||
use Illuminate\View\Component; | ||
|
||
final class Brands extends FontAwesomeBaseComponent | ||
{ | ||
/** | ||
* Create a new component instance. | ||
*/ | ||
public function __construct(string $path, string $name) | ||
{ | ||
parent::__construct($path, 'brands', $name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Devlop\FontAwesome\Components; | ||
|
||
use Devlop\FontAwesome\FontAwesomeBaseComponent; | ||
use Illuminate\Contracts\View\View; | ||
use Illuminate\View\Component; | ||
|
||
final class Duotone extends FontAwesomeBaseComponent | ||
{ | ||
/** | ||
* Create a new component instance. | ||
*/ | ||
public function __construct(string $path, string $name) | ||
{ | ||
parent::__construct($path, 'duotone', $name); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Devlop\FontAwesome\Components; | ||
|
||
use Devlop\FontAwesome\FontAwesomeBaseComponent; | ||
use Illuminate\Contracts\View\View; | ||
use Illuminate\View\Component; | ||
|
||
final class Light extends FontAwesomeBaseComponent | ||
{ | ||
/** | ||
* Create a new component instance. | ||
*/ | ||
public function __construct(string $path, string $name) | ||
{ | ||
parent::__construct($path, 'light', $name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Devlop\FontAwesome\Components; | ||
|
||
use Devlop\FontAwesome\FontAwesomeBaseComponent; | ||
use Illuminate\Contracts\View\View; | ||
use Illuminate\View\Component; | ||
|
||
final class Regular extends FontAwesomeBaseComponent | ||
{ | ||
/** | ||
* Create a new component instance. | ||
*/ | ||
public function __construct(string $path, string $name) | ||
{ | ||
parent::__construct($path, 'regular', $name); | ||
} | ||
} |
Oops, something went wrong.