From 02a54d868343ed11d02f0f0f8cbbecb590e0cb3f Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Mon, 9 Oct 2017 22:48:22 +0300 Subject: [PATCH] release version 2.0.7 --- ActiveField.php | 2 +- CHANGELOG.md | 20 ++++++++++---------- Carousel.php | 2 +- Collapse.php | 2 +- Nav.php | 4 ++-- Progress.php | 2 +- Tabs.php | 4 ++-- ToggleButtonGroup.php | 4 ++-- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ActiveField.php b/ActiveField.php index 0deaa7d..7b3792e 100644 --- a/ActiveField.php +++ b/ActiveField.php @@ -330,7 +330,7 @@ class ActiveField extends \yii\widgets\ActiveField } /** - * @param boolean $value whether to render a inline list + * @param bool $value whether to render a inline list * @return $this the field object itself * Make sure you call this method before [[checkboxList()]] or [[radioList()]] to have any effect. */ diff --git a/CHANGELOG.md b/CHANGELOG.md index 241cc40..1dcfabe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,25 @@ Yii Framework 2 bootstrap extension Change Log ============================================== -2.0.7 under development ------------------------ +2.0.7 October 09, 2017 +---------------------- -- Enh #107: Added `yii\bootstrap\Collapse::$autoCloseItems` to allow keeping multiple items open at the same time (cebe) -- Enh #131: Added `tabContentOptions` to set HTML attributes for 'tab-content' container in `Tabs` widget (AndrewKorpusov) -- Bug #157: Active status of multilevel submenu items of the `yii\bootstrap\Nav` class is determined correctly now (PowerGamer1) -- Enh #64: Added simplified syntax for specifying `Collapse` widget `$items` (Faryshta, cebe) - Enh #131 Added `tabContentOptions` to set HTML attributes for 'tab-content' container in `Tabs` widget (AndrewKorpusov) -- Enh #145: Added the ability to customize the class used to draw dropdowns in `yii\bootstrap\Nav`, `yii\bootstrapButtonDropdown` and `yii\bootstrap\Tab` widgets (PowerGamer1) -- Enh #187: Added `yii\bootstrap\Tabs::activateFirstVisibleTab()` to set the first visible tab as active if no active tab is set (nilsburg) - Bug #126: `yii\bootstrap\ToggleButtonGroup` was unable to work without model (makroxyz) - Bug #130: Fixed `yii\bootstrap\Collapse` to use pure numerical value on `content` property (meysampg) - Bug #137: Remove `role="navbar"` from `yii\bootstrap\NavBar` according to new aria specification (tino415) -- Enh #113: Allow URLs instead of content for Tab Widget Dropdown items (Okeanos) - Bug #143: Fixed `yii\bootstrap\Nav` to use tags according to bootstrap docs (PowerGamer1) +- Bug #157: Active status of multilevel submenu items of the `yii\bootstrap\Nav` class is determined correctly now (PowerGamer1) - Bug #162: Fixed `yii\bootstrap\Nav` not taking explicit `active` into account when `activateItems` is off (samdark) -- Enh #174: Added `yii\bootstrap\Tabs::renderPanes()` to allow extending the class to manipulate the content between the tabs and the content (thiagotalma) - Bug #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` (cebe, yukal) - Bug #196: Remove `role="form"` from `yii\bootstrap\ActiveForm` according to new aria specification (bastardijke) +- Enh #64: Added simplified syntax for specifying `Collapse` widget `$items` (Faryshta, cebe) +- Enh #107: Added `yii\bootstrap\Collapse::$autoCloseItems` to allow keeping multiple items open at the same time (cebe) +- Enh #113: Allow URLs instead of content for Tab Widget Dropdown items (Okeanos) +- Enh #131: Added `tabContentOptions` to set HTML attributes for 'tab-content' container in `Tabs` widget (AndrewKorpusov) +- Enh #145: Added the ability to customize the class used to draw dropdowns in `yii\bootstrap\Nav`, `yii\bootstrapButtonDropdown` and `yii\bootstrap\Tab` widgets (PowerGamer1) +- Enh #174: Added `yii\bootstrap\Tabs::renderPanes()` to allow extending the class to manipulate the content between the tabs and the content (thiagotalma) +- Enh #187: Added `yii\bootstrap\Tabs::activateFirstVisibleTab()` to set the first visible tab as active if no active tab is set (nilsburg) - Enh #208: Added `yii\bootstrap\Modal::$bodyOptions` to allow add options to body part Modal (KoJIT2009) diff --git a/Carousel.php b/Carousel.php index d932a66..6290c3d 100644 --- a/Carousel.php +++ b/Carousel.php @@ -128,7 +128,7 @@ class Carousel extends Widget /** * Renders a single carousel item * @param string|array $item a single item from [[items]] - * @param integer $index the item index as the first item should be set to `active` + * @param int $index the item index as the first item should be set to `active` * @return string the rendering result * @throws InvalidConfigException if the item is invalid */ diff --git a/Collapse.php b/Collapse.php index 3c18c14..f62e8bf 100644 --- a/Collapse.php +++ b/Collapse.php @@ -153,7 +153,7 @@ class Collapse extends Widget * Renders a single collapsible item group * @param string $header a label of the item group [[items]] * @param array $item a single item from [[items]] - * @param integer $index the item index as each item group content must have an id + * @param int $index the item index as each item group content must have an id * @return string the rendering result * @throws InvalidConfigException */ diff --git a/Nav.php b/Nav.php index eb41a86..d45b5f3 100644 --- a/Nav.php +++ b/Nav.php @@ -228,7 +228,7 @@ class Nav extends Widget /** * Check to see if a child item is active optionally activating the parent. * @param array $items @see items - * @param boolean $active should the parent be active too + * @param bool $active should the parent be active too * @return array @see items */ protected function isChildActive($items, &$active) @@ -264,7 +264,7 @@ class Nav extends Widget * Only when its route and parameters match [[route]] and [[params]], respectively, will a menu item * be considered active. * @param array $item the menu item to be checked - * @return boolean whether the menu item is active + * @return bool whether the menu item is active */ protected function isItemActive($item) { diff --git a/Progress.php b/Progress.php index 14c7122..5839552 100644 --- a/Progress.php +++ b/Progress.php @@ -137,7 +137,7 @@ class Progress extends Widget /** * Generates a bar - * @param integer $percent the percentage of the bar + * @param int $percent the percentage of the bar * @param string $label, optional, the label to display at the bar * @param array $options the HTML attributes of the bar * @return string the rendering result. diff --git a/Tabs.php b/Tabs.php index 17fda2d..808a78f 100644 --- a/Tabs.php +++ b/Tabs.php @@ -224,7 +224,7 @@ class Tabs extends Widget } /** - * @return boolean if there's active tab defined + * @return bool if there's active tab defined */ protected function hasActiveTab() { @@ -262,7 +262,7 @@ class Tabs extends Widget * @param string $itemNumber number of the item * @param array $items the dropdown items configuration. * @param array $panes the panes reference array. - * @return boolean whether any of the dropdown items is `active` or not. + * @return bool whether any of the dropdown items is `active` or not. * @throws InvalidConfigException */ protected function renderDropdown($itemNumber, &$items, &$panes) diff --git a/ToggleButtonGroup.php b/ToggleButtonGroup.php index 6234a58..9b86498 100644 --- a/ToggleButtonGroup.php +++ b/ToggleButtonGroup.php @@ -90,10 +90,10 @@ class ToggleButtonGroup extends InputWidget /** * Default callback for checkbox/radio list item rendering. - * @param integer $index item index. + * @param int $index item index. * @param string $label item label. * @param string $name input name. - * @param boolean $checked whether value is checked or not. + * @param bool $checked whether value is checked or not. * @param string $value input value. * @return string generated HTML. * @see Html::checkbox()