Skip to content

Commit

Permalink
chore: release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mduriancik committed Oct 15, 2017
1 parent 4a49183 commit aa82bdb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 0.4.0

Breaking:
- routes in side-nav-item elements must begin with a slash


Changes:
* fix: route activation issue
* update material to beta.12
* use classes to style elements
* split code into more files (1 file per component)

# 0.3.0

### Features
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ It is integrated with the angular router.
<md-sidenav-container style="height:100%">
<md-sidenav #sidenav mode="over" opened="false">
<side-nav-menu [sidenav]="sidenav">
<side-nav-item route="page1" title="Page 1" icon="home"></side-nav-item>
<side-nav-item route="page2" title="Page 2" [disabled]="true"></side-nav-item>
<side-nav-item route="page3" title="Page 3"></side-nav-item>
<side-nav-item route="/page1" title="Page 1" icon="home"></side-nav-item>
<side-nav-item route="/page2" title="Page 2" [disabled]="true"></side-nav-item>
<side-nav-item route="/page3" title="Page 3"></side-nav-item>
<side-nav-group title="submenu 4">
<side-nav-item route="page/4.1" title="Page 4.1 xxxxx xxxxx"></side-nav-item>
<side-nav-item route="page/4.2" title="Page 4.2"></side-nav-item>
<side-nav-item route="/page/4.1" title="Page 4.1 xxxxx xxxxx"></side-nav-item>
<side-nav-item route="/page/4.2" title="Page 4.2"></side-nav-item>
</side-nav-group>
</side-nav-menu>
</md-sidenav>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mat-sidenav-menu",
"version": "0.3.0",
"version": "0.4.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit aa82bdb

Please sign in to comment.