Skip to content

Commit de0ac75

Browse files
author
Christoph Erdmann
committed
prepare 2.0
1 parent cda9a74 commit de0ac75

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

README.md

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

55
# Materialize for Yii2
66

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

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

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

14-
Current Materialize version implemented: 0.98.2
19+
Current Materialize version implemented: 0.100.1
1520

1621
## Installation
1722

@@ -64,6 +69,7 @@ The following widgets are currently available:
6469
* Button
6570
* Carousel
6671
* Chip
72+
* Collapsible
6773
* DatePicker
6874
* DetailView
6975
* Dropdown
@@ -111,7 +117,7 @@ You can copy those templates to any location you wish for further customization.
111117

112118
## Known issues
113119

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

117123
Unfortunately the issue still exists in the latest release, but can be fixed temporarily with the following CSS styles:
@@ -134,6 +140,13 @@ You can find the sample layout file in ```src/layout/main.php```.
134140

135141
## Change log
136142

143+
### 2.0.0 - 2017-07-30
144+
* **Please note: this release contains breaking changes**
145+
* 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
146+
* dropped chingyawhao/materialize-clockpicker in favor of Materialize native time picker implementation
147+
* added [Collapsible](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/Collapsible.php)
148+
* updated Materialize to v0.100.1
149+
137150
### 1.5.0 - 2017-07-03
138151
* added [Carousel](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/Carousel.php)
139152
* added [MaterialBox](https://github.com/MacGyer/yii2-materializecss/blob/master/src/widgets/media/MaterialBox.php)

src/widgets/navigation/Nav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Nav extends BaseWidget
115115
* The following options are supported:
116116
* - menuWidth: 300, // Default is 240
117117
* - edge: 'right', // Choose the horizontal origin
118-
* - closeOnClick: true, // Closes side-nav on <a> clicks, useful for Angular/Meteor
118+
* - closeOnClick: true, // Closes side-nav on `<a>` clicks, useful for Angular/Meteor
119119
* - draggable: true // Choose whether you can drag to open on touch screens
120120
*
121121
* @see http://materializecss.com/side-nav.html#options

0 commit comments

Comments
 (0)