Skip to content

Releases: kartik-v/yii2-krajee-base

Version 3.0.5

28 Jun 12:32
Compare
Choose a tag to compare

Date: 01-Jun-2022

  • (enh #119): Allow translations to work better when widget is extended (new widget property sourcePath).
    New property sourcePath added to WidgetTrait and used in Widget and InputWidget.
/**
 * @var string directory path to the original widget source. If not set, will default to the working directory for
 * the current widget's class. Setting this property can be useful in specific cases, like when you are extending
 * the Krajee widget with your own custom namespaced class. In that case, set this property to the original Krajee
 * Widget Base path. Yii path alias parsing is supported (using `@` symbols). For example:
 * ~~~
 * // your custom extended widget
 * namespace myapp\widgets;
 * class MyDateRangePicker extends kartik\daterange\DateRangePicker {
 *     // directly set the property to the original Krajee base widget directory
 *     // you can use Yii path aliases
 *     public $sourcePath = '@vendor/kartik-v/yii2-date-range/src';
 * }
 *
 * // Alternatively you can also override this property while rendering the widget
 * // view.php: where widget is rendered
 * use myapp\widgets\MyDateRangePicker;
 *
 * echo MyDateRangePicker::widget([
 *     'name' => 'custom',
 *     'sourcePath' => '@vendor/kartik-v/yii2-date-range/src'
 * ]);
 * ~~~
 */
public $sourcePath;

Version 3.0.4

04 Mar 08:44
Compare
Choose a tag to compare

Date: 26-Feb-2022

  • (enh #118): Correct substr function use and add new strncmp method.
  • Enhance PHP Documentation.

Version 3.0.3

26 Feb 19:05
Compare
Choose a tag to compare

Date: 26-Feb-2022

  • New class Lib for PHP internal base methods (for addressing NULL params deprecation in PHP versions >= v8.1).
  • Enhance & standardize php docs for new website https://docs.krajee.com.

Version 3.0.2

10 Jan 04:00
Compare
Choose a tag to compare

Date: 10-Jan-2022

  • Enhance & standardize php docs for new website https://docs.krajee.com.
  • (enh #116): Enhance dependency exception messaging for getDropdownClass.
  • (enh #115): Fix code for older PHP version support.
  • (enh #114): Enhancements to HTML 5 input CSS.

Version 3.0.1

03 Sep 10:18
Compare
Choose a tag to compare

Date: 03-Sep-2021

  • Add BootstrapIconsAsset bundle.
  • Enhancements to support Bootstrap v5.x.

Version 3.0.0

01 Sep 11:30
Compare
Choose a tag to compare

Date: 01-Sep-2021

  • (enh #113): Add bootstrap 5.x support.
  • Create new major release for Bootstrap v5.x support

Version 2.0.6

08 Apr 18:08
Compare
Choose a tag to compare
  • (enh #112): Add new bootstrap CSS Class map BS_PANEL_SECONDARY.

Version 2.0.5

13 Mar 17:20
Compare
Choose a tag to compare

Date: 13-Mar-2019

  • (enh #108): Add new bootstrap CSS Class map BS_HIDE.

Version 2.0.4

04 Dec 03:45
Compare
Choose a tag to compare

Date: 04-Dec-2018

  • (enh #106): Back and forward browser bug for PJAX.
    • New property pjaxDuplicationFix available in widgets/extensions that use kartik\base\WidgetTrait
    • The above property if not set will default to Yii::$app->params['pjaxDuplicationFix']
    • Yii::$app->params['pjaxDuplicationFix'] if not set will default to true
    • Setting Yii::$app->params['pjaxDuplicationFix'] will globally control the pjax duplication fix for all Krajee widgets

Version 2.0.3

29 Nov 07:57
Compare
Choose a tag to compare

Date: 27-Nov-2018

  • (enh #105): Allow global setting of AssetBundle::bsDependencyEnabled via Yii::$app->params.