GustavoCostaW / ngc-float-button

Google Material Design Float Button - Implementation for Angular v4+. Demo: http://bit.ly/2yIya2f
MIT License
58 stars 24 forks source link

Update to latest Material and Angular #7

Closed mordka closed 6 years ago

mordka commented 6 years ago

There was a breaking change in latest Material library, so that we can no longer use MaterialModule. CHANGELOG:

GustavoCostaW commented 6 years ago

@mordka Thank you a lot for the PR, but I fixed in 1.1.3 version others problems.

The main problem that the strange error like: ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 194:50 in the original .ts file), resolving symbol NgModule in /home/henry/Documents/ss-master/ss-ui/node_modules/ngc-float-button/node_modules/@angular/core/core.d.ts, resolving symbol NgcFloatButtonModule in /home/henry/Documents/ss-master/ss-ui/node_modules/ngc-float-button/index.ts, resolving symbol NgcFloatButtonModule in /home/henry/Documents/ss-master/ss-ui/node_modules/ngc-float-button/index.ts Was the way when I add the dependencies and peerDependencies in package.json and I did not provide the component in UMD format, reading about it I discovered that I was doing it wrong, this post help me a lot to understand this process https://medium.com/@cyrilletuzi/how-to-build-and-publish-an-angular-module-7ad19c0b4464

Thank you.