diff --git a/README.md b/README.md
index d7d6ec8..06730cb 100644
--- a/README.md
+++ b/README.md
@@ -1,15 +1,17 @@
# Angular2 Materialize
-[](https://travis-ci.org/InfomediaLtd/angular2-materialize)
-[](https://www.npmjs.com/package/angular2-materialize)
-[](https://www.npmjs.com/package/angular2-materialize)
-[](https://opensource.org/licenses/MIT)
+**This repo is a fork from [InfomediaLtd/angular2-materialize](https://github.com/InfomediaLtd/angular2-materialize) that is not maintained on a regular basis.**
+
+[](https://travis-ci.org/samber/angular2-materialize)
+[](https://www.npmjs.com/package/@samuelberthe/angular2-materialize)
+[](https://www.npmjs.com/package/@samuelberthe/angular2-materialize)
+[](https://opensource.org/licenses/MIT)
[](https://github.com/semantic-release/semantic-release)
[](http://commitizen.github.io/cz-cli/)
[](http://makeapullrequest.com)
-[](https://www.npmjs.com/package/angular2-materialize)
-[](https://www.npmjs.com/package/angular2-materialize)
+[](https://www.npmjs.com/package/@samuelberthe/angular2-materialize)
+[](https://www.npmjs.com/package/@samuelberthe/angular2-materialize)
Angular 2 support for Materialize CSS framework [http://materializecss.com/](http://materializecss.com/)
@@ -70,14 +72,14 @@ Apply an empty [MaterializeDirective](https://github.com/InfomediaLtd/angular2-m
```
-The [MaterializeDirective](https://github.com/InfomediaLtd/angular2-materialize/blob/master/src/materialize-directive.ts) attribute directive (**materialize**) accepts any MaterializeCSS initialization call to apply to the element. The list of supported functions are provided by MaterializeCSS. Examples: collapsible, modal, tooltip, dropdown, tabs, material_select, sideNav, etc.
+The [MaterializeDirective](https://github.com/@samuelberthe/angular2-materialize/blob/master/src/materialize-directive.ts) attribute directive (**materialize**) accepts any MaterializeCSS initialization call to apply to the element. The list of supported functions are provided by MaterializeCSS. Examples: collapsible, modal, tooltip, dropdown, tabs, material_select, sideNav, etc.
For example, to apply tooltip:
```html
Hover me!
```
-The [Materialize](https://github.com/InfomediaLtd/angular2-materialize/blob/master/src/materialize.ts) attribute directive also allows specifying parameters to be passed to the function, but providing a **materializeParams** attribute returning an array of params. Use it with a function call or even by inlining the params in the HTML.
+The [Materialize](https://github.com/@samuelberthe/angular2-materialize/blob/master/src/materialize.ts) attribute directive also allows specifying parameters to be passed to the function, but providing a **materializeParams** attribute returning an array of params. Use it with a function call or even by inlining the params in the HTML.
Another useful option is emitting actions on an element. You may want to do that for calling Materialize functions, like closing a modal dialog or triggering a toast. You can do that by setting the **materializeActions** attribute, which accepts an [EventEmitter](https://angular.io/docs/ts/latest/api/core/index/EventEmitter-class.html). The emitted events can either be a "string" type action (Materialize function call) or a structure with action and parameters:
@@ -214,4 +216,3 @@ Another thing you would need to confirm is being able to load web fonts properly
Notice that the url-loader is required for this to work (npm install it).
The following example project is a fork of the angular2-webpack-starter with the addition of angular2-materialize: [InfomediaLtd/angular2-webpack-starter](https://github.com/InfomediaLtd/angular2-webpack-starter)
-
diff --git a/package.json b/package.json
index cdb4555..28ebf47 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,11 @@
{
- "name": "angular2-materialize",
+ "name": "@samuelberthe/angular2-materialize",
"description": "Angular 2 support for Materialize CSS framework",
"repository": {
"type": "git",
- "url": "https://github.com/InfomediaLtd/angular2-materialize.git"
+ "url": "https://github.com/samber/angular2-materialize.git"
},
+ "version": "1.0.0-rc.2",
"keywords": [
"angular",
"angular2",
@@ -19,9 +20,9 @@
"author": "Ruby Boyarski ",
"license": "MIT",
"bugs": {
- "url": "https://github.com/InfomediaLtd/angular2-materialize/issues"
+ "url": "https://github.com/samber/angular2-materialize/issues"
},
- "homepage": "https://github.com/InfomediaLtd/angular2-materialize#readme",
+ "homepage": "https://github.com/samber/angular2-materialize#readme",
"main": "dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
@@ -32,8 +33,8 @@
"postsemantic-release": "semantic-release post"
},
"peerDependencies": {
- "materialize-css": "^0.100.1",
- "@angular/common": "^5.0.0"
+ "materialize-css": "1.0.0-rc.2",
+ "@angular/common": ">=4.0.0"
},
"config": {
"commitizen": {
@@ -62,7 +63,7 @@
"gulp-typescript": "3.1.6",
"hammerjs": "^2.0.8",
"jquery": "^2.2.4",
- "materialize-css": "^0.100.1",
+ "materialize-css": "1.0.0-rc.1",
"rollup": "^0.41.6",
"run-sequence": "1.2.2",
"rxjs": "^5.1.0",
diff --git a/sample/package.json b/sample/package.json
index f8b7bf4..0dbfd19 100644
--- a/sample/package.json
+++ b/sample/package.json
@@ -23,10 +23,10 @@
"hammerjs": "^2.0.8",
"intl": "1.2.5",
"jquery": "^2.2.4",
- "materialize-css": "^0.100.1",
- "rxjs": "^5.1.0",
- "web-animations-js": "2.2.4",
- "zone.js": "0.8.7"
+ "materialize-css": "^1.0.0-rc.2",
+ "rxjs": "^5.1.0",
+ "web-animations-js": "2.2.4",
+ "zone.js": "0.8.7"
},
"devDependencies": {
"@angular/cli": "1.0.3",
diff --git a/sample/src/app/buttons/buttons.component.html b/sample/src/app/buttons/buttons.component.html
index efaf152..1aa48a8 100644
--- a/sample/src/app/buttons/buttons.component.html
+++ b/sample/src/app/buttons/buttons.component.html
@@ -10,7 +10,7 @@
send