Skip to content

Commit b3f7507

Browse files
author
Christoph Erdmann
committed
Merge remote-tracking branch 'origin/develop'
2 parents f8709ba + 3aeeb41 commit b3f7507

File tree

15 files changed

+251
-136
lines changed

15 files changed

+251
-136
lines changed

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,22 @@
44

55
# Materialize for Yii2
66

7+
----
8+
9+
This is the current, actively developed 2.x branch which introduces some breaking changes compared to version 1.x.
10+
11+
[Go to 1.x version](https://github.com/MacGyer/yii2-materializecss/tree/1.x)
12+
13+
----
14+
715
This package integrates the Materialize CSS framework into [Yii2](http://www.yiiframework.com/).
816
[Materialize](http://materializecss.com/) is a modern responsive front-end framework based on Material Design.
917

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

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

14-
Current Materialize version implemented: 0.98.2
22+
Current Materialize version implemented: 0.100.1
1523

1624
## Installation
1725

@@ -64,6 +72,7 @@ The following widgets are currently available:
6472
* Button
6573
* Carousel
6674
* Chip
75+
* Collapsible
6776
* DatePicker
6877
* DetailView
6978
* Dropdown
@@ -111,7 +120,7 @@ You can copy those templates to any location you wish for further customization.
111120

112121
## Known issues
113122

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

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

135144
## Change log
136145

137-
### 1.5.0 - 2017-06-05
146+
### 2.0.0 - 2017-07-30
147+
* **Please note: this release contains breaking changes**
148+
* 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**)
149+
* dropped chingyawhao/materialize-clockpicker in favor of Materialize native time picker implementation (**breaking**)
150+
* added [Collapsible](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/Collapsible.php)
151+
* updated Materialize to v0.100.1
152+
153+
### 1.5.0 - 2017-07-03
138154
* added [Carousel](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/Carousel.php)
139155
* added [MaterialBox](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/MaterialBox.php)
140156
* added [Parallax](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/Parallax.php)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"role": "Developer"
1414
}
1515
],
16-
"version": "1.5.0",
16+
"version": "2.0.0",
1717
"require": {
1818
"php": ">=5.6.0",
1919
"yiisoft/yii2": "~2.0.0",
2020

21-
"bower-asset/materialize": "0.98.2"
21+
"bower-asset/materialize": "0.100.1"
2222
},
2323
"autoload": {
2424
"psr-4": {

src/assets/TimePickerAsset.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

src/assets/dist/materialize-clockpicker/materialize.clockpicker.css

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/assets/dist/materialize-clockpicker/materialize.clockpicker.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/layout/main.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
/* @var $content string */
55

66
use macgyer\yii2materializecss\lib\Html;
7-
use macgyer\yii2materializecss\widgets\Nav;
8-
use macgyer\yii2materializecss\widgets\NavBar;
9-
use macgyer\yii2materializecss\widgets\Breadcrumbs;
7+
use macgyer\yii2materializecss\widgets\navigation\Nav;
8+
use macgyer\yii2materializecss\widgets\navigation\NavBar;
9+
use macgyer\yii2materializecss\widgets\navigation\Breadcrumbs;
1010
use macgyer\yii2materializecss\widgets\Alert;
1111

1212
frontend\assets\AppAsset::register($this);

0 commit comments

Comments
 (0)