Browse Source

release version 2.0.7

tags/2.0.7^0 2.0.7
Alexander Makarov 7 years ago
parent
commit
02a54d8683
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      ActiveField.php
  2. 20
      CHANGELOG.md
  3. 2
      Carousel.php
  4. 2
      Collapse.php
  5. 4
      Nav.php
  6. 2
      Progress.php
  7. 4
      Tabs.php
  8. 4
      ToggleButtonGroup.php

2
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.
*/

20
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)

2
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
*/

2
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
*/

4
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)
{

2
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.

4
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)

4
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()

Loading…
Cancel
Save