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
Christoph Erdmann committed Jul 30, 2017
2 parents f8709ba + 3aeeb41 commit b3f7507
Show file tree
Hide file tree
Showing 15 changed files with 251 additions and 136 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@

# Materialize for Yii2

----

This is the current, actively developed 2.x branch which introduces some breaking changes compared to version 1.x.

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

----

This package integrates the Materialize CSS framework into [Yii2](http://www.yiiframework.com/).
[Materialize](http://materializecss.com/) is a modern responsive front-end framework based on Material Design.

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

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

Current Materialize version implemented: 0.98.2
Current Materialize version implemented: 0.100.1

## Installation

Expand Down Expand Up @@ -64,6 +72,7 @@ The following widgets are currently available:
* Button
* Carousel
* Chip
* Collapsible
* DatePicker
* DetailView
* Dropdown
Expand Down Expand Up @@ -111,7 +120,7 @@ You can copy those templates to any location you wish for further customization.

## Known issues

Despite the styling issues in Materialize v0.97.8. the dependency has been updated to v0.98.2.
Despite the styling issues in the side navigation overlay the dependency has been updated to v0.100.1.
See [Issue #4046](https://github.com/Dogfalo/materialize/issues/4046) for details.

Unfortunately the issue still exists in the latest release, but can be fixed temporarily with the following CSS styles:
Expand All @@ -134,7 +143,14 @@ You can find the sample layout file in ```src/layout/main.php```.

## Change log

### 1.5.0 - 2017-06-05
### 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**)
* dropped chingyawhao/materialize-clockpicker in favor of Materialize native time picker implementation (**breaking**)
* added [Collapsible](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/Collapsible.php)
* updated Materialize to v0.100.1

### 1.5.0 - 2017-07-03
* added [Carousel](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/Carousel.php)
* added [MaterialBox](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/MaterialBox.php)
* added [Parallax](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/Parallax.php)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"role": "Developer"
}
],
"version": "1.5.0",
"version": "2.0.0",
"require": {
"php": ">=5.6.0",
"yiisoft/yii2": "~2.0.0",

"bower-asset/materialize": "0.98.2"
"bower-asset/materialize": "0.100.1"
},
"autoload": {
"psr-4": {
Expand Down
49 changes: 0 additions & 49 deletions src/assets/TimePickerAsset.php

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions src/layout/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
/* @var $content string */

use macgyer\yii2materializecss\lib\Html;
use macgyer\yii2materializecss\widgets\Nav;
use macgyer\yii2materializecss\widgets\NavBar;
use macgyer\yii2materializecss\widgets\Breadcrumbs;
use macgyer\yii2materializecss\widgets\navigation\Nav;
use macgyer\yii2materializecss\widgets\navigation\NavBar;
use macgyer\yii2materializecss\widgets\navigation\Breadcrumbs;
use macgyer\yii2materializecss\widgets\Alert;

frontend\assets\AppAsset::register($this);
Expand Down
Loading

0 comments on commit b3f7507

Please sign in to comment.