Why this extension?

To ensure a leaner code base / foundation component for use in all Krajee extensions (e.g. yii2-widgets, yii2-datecontrol, yii2-grid, yii2-dynagrid etc.). This should allow most developers to plug and play components only they need, without needing the complete suite of widgets. For example, this mitigates this issue.

Release Changes

NOTE: Refer the CHANGE LOG for details on changes to various releases.

Version 2.0.2

New property bsDependencyEnabled in kartik\base\AssetBundle (Note that all Krajee extension asset bundles based on bootstrap styles extend this class). The property bsDependencyEnabled defaults to true whereby based on the bsVersion, the asset bundle dependency is set with one of yii\bootstrap\BootstrapAsset or yii\bootstrap4\BootstrapAsset. If one needs custom control and load their own bootstrap assets - set this property to false via yii2 asset manager component in your yii2 application config.

Version 2.0.1

Date: 10-Nov-2018

Return widget instance in addCssClass & removeCssClass methods in BootstrapTrait for easy chaining of these methods.

Widget output can be better handled with dynamic manipulation e.g. via ajax. In order to achieve this the widgets now use the document.body on load event and trap the plugin selector identifier within that.