angular-material-components icon indicating copy to clipboard operation
angular-material-components copied to clipboard

Angular 17 compatibility

Open serg-mois-capital opened this issue 1 year ago • 14 comments

Could you please update the lib for Angular 17 compatibility?

serg-mois-capital avatar Nov 10 '23 07:11 serg-mois-capital

🙏

chad-ramos avatar Nov 13 '23 19:11 chad-ramos

https://github.com/h2qutc/angular-material-components/pull/371

belugasanity avatar Nov 14 '23 18:11 belugasanity

Are there any estimations regarding when the library will be upgraded to version 17? Thanks!

AbduBehindTheCode avatar Nov 23 '23 15:11 AbduBehindTheCode

As a workaround, i added this to my package.json and it just works:

  "overrides": {
    "@angular-material-components/datetime-picker": {
      "@angular/platform-browser": ">=16.0.0",
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0",
      "@angular/forms": ">=16.0.0",
      "@angular/material": ">=16.0.0",
      "@angular/cdk": ">=16.0.0"
    },
    "@angular-material-components/moment-adapter": {
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0"
    }
  }

Sergiobop avatar Dec 06 '23 09:12 Sergiobop

Is @h2qutc even alive? He hasn't have any activity for months as far I can see...

cperezabo avatar Dec 22 '23 19:12 cperezabo

Is @h2qutc even alive? He hasn't have any activity for months as far I can see...

Looks like a same story as with Angular 16 update. #324

dbakowski avatar Jan 04 '24 10:01 dbakowski

pleaseeee update the component to angular 17 !!!!

HumanMD avatar Jan 12 '24 15:01 HumanMD

you could just check out the source and change version to 17. that would mean youd have to add the source to your project or provide your repository with the compiled package. but youd end up having the latest version.

i did so already but i stripped the color picker, as i dont need it. (https://github.com/muzzletov/datepicker-extract/blob/main/amc.zip).

just wait for the dev to release a new version if you do not want to bother with the process.

muzzletov avatar Feb 26 '24 21:02 muzzletov

Any updates?

S0543830 avatar Feb 27 '24 10:02 S0543830

Any updates?

stefanodenti avatar Feb 27 '24 12:02 stefanodenti

As a workaround, i added this to my package.json and it just works:

  "overrides": {
    "@angular-material-components/datetime-picker": {
      "@angular/platform-browser": ">=16.0.0",
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0",
      "@angular/forms": ">=16.0.0",
      "@angular/material": ">=16.0.0",
      "@angular/cdk": ">=16.0.0"
    },
    "@angular-material-components/moment-adapter": {
      "@angular/common": ">=16.0.0",
      "@angular/core": ">=16.0.0"
    }
  }

Thanks for that! It would be better if those were the dependencies of the actual package... @h2qutc that's how forward compatibility would be ensured forever indefinitely (until there are breaking changes), without having to create new major versions of your libraries for every new Angular major version

LuisTovar0 avatar Mar 08 '24 11:03 LuisTovar0

for those looking for a quick fix, maybe this fork will help https://www.npmjs.com/package/@vipstorage/material-moment-adapte

https://github.com/128keaton/angular-material-components

npm i @vipstorage/material-moment-adapter

tomdev9 avatar Mar 24 '24 09:03 tomdev9

for those looking for a quick fix, maybe this fork will help https://www.npmjs.com/package/@vipstorage/material-moment-adapte

https://github.com/128keaton/angular-material-components

npm i @vipstorage/material-moment-adapter

how to install this? https://github.com/128keaton/angular-material-components

faradoxuzb avatar May 07 '24 20:05 faradoxuzb

for those looking for a quick fix, maybe this fork will help https://www.npmjs.com/package/@vipstorage/material-moment-adapte https://github.com/128keaton/angular-material-components npm i @vipstorage/material-moment-adapter

how to install this? https://github.com/128keaton/angular-material-components

I don't know what u want. I literally wrote how to install it npm i @vipstorage/material-moment-adapter It's not mine package so that's all.

tomdev9 avatar May 11 '24 08:05 tomdev9