diff --git a/CHANGELOG.md b/CHANGELOG.md index 226844c..fc92945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/composer.json b/composer.json index 1c4ff13..85baea6 100644 --- a/composer.json +++ b/composer.json @@ -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": [ { diff --git a/src/BootstrapIconAsset.php b/src/BootstrapIconAsset.php new file mode 100644 index 0000000..094bddd --- /dev/null +++ b/src/BootstrapIconAsset.php @@ -0,0 +1,22 @@ +