commit
97a3b653b7
@ -4,6 +4,7 @@ Yii Framework 2 bootstrap5 extension Change Log
|
||||
2.0.3 under development
|
||||
-----------------------
|
||||
|
||||
- Enh #26: Add Bootstrap icon asset (Krakozaber)
|
||||
- Enh #18: Add rangeInput(), colorInput() and switch mode to checkbox() in class ActiveField (WinterSilence)
|
||||
- Bug #19: Fix value of attribute "aria-current" in LinkPager::renderPageButton() (WinterSilence)
|
||||
- Bug #23: Fix class attribute in listBox() and dropDownList() of class ActiveField (WinterSilence)
|
||||
|
@ -31,7 +31,11 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-coding-standards": "~2.0",
|
||||
"phpunit/phpunit": "^6.5.14"
|
||||
"phpunit/phpunit": "^6.5.14",
|
||||
"twbs/bootstrap-icons": "^1.7.2"
|
||||
},
|
||||
"suggest": {
|
||||
"twbs/bootstrap-icons": "Add this package to the `require` section of your `composer.json` if you'd like to use the bootstrap icon asset."
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
|
22
src/BootstrapIconAsset.php
Normal file
22
src/BootstrapIconAsset.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace yii\bootstrap5;
|
||||
|
||||
use yii\web\AssetBundle;
|
||||
|
||||
class BootstrapIconAsset extends AssetBundle
|
||||
{
|
||||
public $sourcePath = '@vendor/twbs/bootstrap-icons/font';
|
||||
|
||||
public $css = [
|
||||
'bootstrap-icons.css'
|
||||
];
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user