Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
* Updated changelog and readme for release.
* Minor changes to methods, set* to set a value
  • Loading branch information
deanblackborough committed Oct 11, 2017
1 parent dec3cbe commit 910ebe3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Full changelog for Zend Framework 3 view helpers library.

## v0.65.0 - Base class - 2017-10-11

* Additional tests for Bootstrap 4 Progress bar view helper.
* Added a base class for Bootstrap 4 view helpers, Progress bar now extends it for base functionality.
* Minor changes to method names.

## v0.64.0 - Tests and Jumbotron - 2017-10-11

* Added tests for Bootstrap 4 Jumbotron view helper.
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A collection of Zend Framework 3 view helpers, primarily focused on Bootstrap 3
* Bootstrap 4 Card component
* Bootstrap 4 Jumbotron component - [26 tests]
* Bootstrap 4 Navbar component (lite)
* Bootstrap 4 Progress bar component - [17 tests]
* Bootstrap 4 Progress bar component - [27 tests]
* Bootstrap 4 Multiple progress bar component

### Bootstrap 3
Expand Down Expand Up @@ -151,7 +151,7 @@ echo $this->bootstrap4NavbarLite()->

### Bootstrap 4 progress bar

Create a progress bar
Create a progress bar component.

##### Public methods

Expand All @@ -177,9 +177,10 @@ Create a progress bar with multiple bars
##### Public methods

* animate() - Animate the striped background style
* colors() - Set the background colors for the progress bar
* height() - Set the height of the progress bar
* label() - Set the label for the progress bar
* setBgStyle() - Set the background colour utility class
* setHeight() - Set the height of the progress bar
* setLabel() - Set the label to display in the progress bar
* setTextStyle() - Set the text colour utility class
* striped() - Enable the striped style for the progress bar background

#### Example
Expand Down
4 changes: 2 additions & 2 deletions src/Bootstrap4ProgressBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function animate() : Bootstrap4ProgressBar
*
* @return Bootstrap4ProgressBar
*/
public function height(int $height) : Bootstrap4ProgressBar
public function setHeight(int $height) : Bootstrap4ProgressBar
{
$this->height = $height;

Expand All @@ -87,7 +87,7 @@ public function height(int $height) : Bootstrap4ProgressBar
*
* @return Bootstrap4ProgressBar
*/
public function label(string $label) : Bootstrap4ProgressBar
public function setLabel(string $label) : Bootstrap4ProgressBar
{
$this->label = $label;

Expand Down

0 comments on commit 910ebe3

Please sign in to comment.