Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Update Angular 6 #328

Merged
merged 32 commits into from
Jun 3, 2018
Merged

Update Angular 6 #328

merged 32 commits into from
Jun 3, 2018

Conversation

jfcere
Copy link
Contributor

@jfcere jfcere commented May 25, 2018

✔️ Ready to be reviewed/merged

  • Rename repository to ngx-materialize
  • Update Angular 6
  • Update Rxjs
  • Update README.md (repository name, paths, angular.json, ...)
  • Bump to version 6
  • Update CircleCI
  • Update AppVeyor
  • Update Heroku
  • Add release note (draft)
  • Fix Demo markdown (syntax highlight and preserveWhitespaces with --aot)
  • Remove tslint disable:no-output-on-prefixand fix the issues correctly
  • Replace mdi library in demo for @mdi/font and update README.md icon installation instructions
  • Fix build AoT issue when using published package

Fix #316

ngx-materialize v6.0.0

📦 Respository renamed from ng2-materialize to ngx-materialize
🆖️ Updated to Angular 6
🚀 Version bumped to 6.0.0

Breaking changes

Repository renamed

  • Need to uninstall ng2-materialize and install ngx-materialize

MzModal component

  • onClose output property has been renamed to close
  • open exposed method has been renamed to openModal
  • close exposed method has been renamed to closeModal

MzSelect directive

  • onUpdate output property has been renamed to update

@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 25, 2018 05:23 Inactive
@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 25, 2018 05:40 Inactive
@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 26, 2018 04:17 Inactive
@jfcere jfcere changed the title Angular 6 Update Angular 6 May 26, 2018
@jfcere jfcere requested a review from scote May 26, 2018 13:10
@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 27, 2018 03:33 Inactive
@@ -23,7 +23,7 @@ export class MzModalComponent extends HandlePropChanges implements OnInit, After
@Input() fixedFooter: boolean;
@Input() fullscreen: boolean;
@Input() options: Materialize.ModalOptions;
@Output() onClose = new EventEmitter<void>();
@Output() onClose = new EventEmitter<void>(); // tslint:disable-line:no-output-on-prefix
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should rename this in future release lol.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right ... since we are going to do a major maybe doing it now would be the good time

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also see the select component. I think this one had onChange ouput attribute.

Copy link
Contributor Author

@jfcere jfcere May 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll search everywhere i've disabled tslint ... I forgot to add this to my huuuuge list of things to do :) But some are @Input() properties that matches the name of the option in Materialize intialization.

package.json Outdated
"@angular/router": "^6.0.0",
"core-js": "^2.5.4",
"highlightjs": "^9.10.0",
"mdi": "^1.8.36",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use @mdi/font instead of mdi .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright i'll do it, i'll update the doc at the same time

@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 30, 2018 03:11 Inactive
@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 May 30, 2018 03:28 Inactive
@jfcere jfcere added this to the v6.0.0 milestone May 30, 2018
@jfcere jfcere temporarily deployed to ng2-materialize-pr-328 June 3, 2018 05:07 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to angular@6.0 and rxjs@6.1
2 participants