Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
MacGyer committed Nov 16, 2018
2 parents 5acd7a3 + e905a7c commit 3fb8545
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
----

This is the current, actively developed 3.x branch which is implementing Materialize version 1.0 and thus breaking backwards compatibility.
**Please note: This branch is in beta phase right now. You might use it, but on your own liability.**

[Go to 1.x version](https://github.com/MacGyer/yii2-materializecss/tree/1.x)

Expand All @@ -20,9 +19,9 @@ This package integrates the Materialize CSS framework into [Yii2](http://www.yii

See [official documentation](http://macgyer.github.io/yii2-materializecss/) for detailed information.

**New**: Have a look at the [official demo page](https://yii2-materializecss.pluspunkt-coding.de) to see the repo in action.
Have a look at the [official demo page](https://yii2-materializecss.pluspunkt-coding.de) to see the repo in action (needs adaption to v3)

Current Materialize version implemented: 1.0.0-rc.1
Current Materialize version implemented: 1.0.0.

## Installation

Expand All @@ -34,6 +33,8 @@ You also should install the Composer Asset Plugin to handle NPM and Bower assets
$ composer global require "fxp/composer-asset-plugin:~1.4"
```

Or you can make use of Asset Packagist: <https://asset-packagist.org/>

To install the package add the following to the ```require``` section of your composer.json:
```
"require": {
Expand Down Expand Up @@ -129,13 +130,17 @@ Systems operating on normal parameters :)

## Sample layout

As of version 1.0.6 there is a sample layout file included in the package. You can use this file to get inspiration for
There is a sample layout file included in the package. You can use this file to get inspiration for
your own layout or replace the respective ```views/layouts/main.php``` with the file provided.

You can find the sample layout file in ```src/layout/main.php```.

## Change log

### 3.0.0 - 2018-11-16
* implement Materialize v1.0.0
* **Breaking changes included**

### 2.0.0 - 2017-07-30
* **Please note: this release contains breaking changes**
* moved [Breadcrumbs](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/Breadcrumbs.php), [Dropdown](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/Dropdown.php), [FixedActionButton](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/FixedActionButton.php), [Nav](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/Nav.php), [NavBar](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/NavBar.php) and [SideNav](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/navigation/SideNav.php) to dedicated namespace (**breaking**)
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "macgyer/yii2-materializecss",
"minimum-stability": "RC",
"minimum-stability": "stable",
"description": "Materialize CSS implementation for Yii2",
"keywords": ["materialize", "yii2", "widgets", "material design"],
"homepage": "http://macgyer.github.io/yii2-materializecss",
Expand All @@ -13,12 +13,12 @@
"role": "Developer"
}
],
"version": "3.0.1-RC",
"version": "3.0.0",
"require": {
"php": ">=5.6.0",
"yiisoft/yii2": "~2.0.0",

"bower-asset/materialize": "1.0.*@RC"
"bower-asset/materialize": "1.0.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/form/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected function insertPlaceholder()
$this->items = ArrayHelper::merge(['' => $placeholder], $this->items);

$placeholderOption = [
'' => ['disabled' => true, 'selected' => true],
'' => ['disabled' => true],
];
$this->options['options'] = ArrayHelper::merge($placeholderOption, $this->options['options']);
}
Expand Down

0 comments on commit 3fb8545

Please sign in to comment.