Skip to content

Commit

Permalink
Fix #12: Enhancements to support Bootstrap v5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Sep 2, 2021
1 parent 221d764 commit 1eec4c3
Show file tree
Hide file tree
Showing 7 changed files with 725 additions and 700 deletions.
12 changes: 12 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
Change Log: `yii2-widget-touchspin`
===================================

## Version 1.2.4

**Date:** 02-Sep-2021

- (enh #12): Enhancements to support Bootstrap v5.x.

## Version 1.2.3

**Date:** 05-Sep-2018

- (enh #10): Correct `btn-vertical` bootstrap markup styling.

## Version 1.2.4

**Date:** 05-Sep-2018

- (enh #10): Correct `btn-vertical` bootstrap markup styling.

## Version 1.2.2

**Date:** 17-Aug-2018
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014 - 2018, Kartik Visweswaran
Copyright (c) 2014 - 2021, Kartik Visweswaran
Krajee.com
All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
],
"require": {
"kartik-v/yii2-krajee-base": ">=1.9"
"kartik-v/yii2-krajee-base": ">=3.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 3 additions & 4 deletions src/TouchSpin.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/**
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2021
* @package yii2-widgets
* @subpackage yii2-widget-touchspin
* @version 1.2.3
* @version 1.2.4
*/

namespace kartik\touchspin;
Expand All @@ -28,7 +28,6 @@ class TouchSpin extends InputWidget

/**
* @inheritdoc
* @throws \yii\base\InvalidConfigException
*/
public function run()
{
Expand All @@ -40,7 +39,6 @@ public function run()

/**
* Set the plugin options
* @throws \yii\base\InvalidConfigException
*/
protected function setPluginOptions()
{
Expand All @@ -50,6 +48,7 @@ protected function setPluginOptions()
$css .= ' disabled';
}
$defaultPluginOptions = [
'bsVersion' => $this->getBsVer(),
'buttonup_class' => $css,
'buttondown_class' => $css,
'buttonup_txt' => "<i class='{$iconPrefix}forward'></i>",
Expand Down
4 changes: 2 additions & 2 deletions src/TouchSpinAsset.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

/**
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2018
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2021
* @package yii2-widgets
* @subpackage yii2-widget-touchspin
* @version 1.2.3
* @version 1.2.4
*/

namespace kartik\touchspin;
Expand Down
Loading

0 comments on commit 1eec4c3

Please sign in to comment.