matheo / angular

Open Source Angular Libraries: MatDataSource, MatDatepicker
http://matheo.co/demos/
MIT License
60 stars 15 forks source link

Datepicker Angular 13 support #45

Open vpetrusevici opened 2 years ago

vpetrusevici commented 2 years ago

Hi, DatePicker currently doesn't work with Angular 13. I tried to create a PR to fix it but looks like I need your help to finish it. https://github.com/matheo/angular/pull/44

vpetrusevici commented 2 years ago

@matheo I'm sorry to bother you. Are you still support this lib?

vpetrusevici commented 2 years ago

I created an updated package with support Angular 13 and luxon 2 https://www.npmjs.com/package/@vpetrusevici/datepicker

matheo commented 2 years ago

Thanks for this @vpetrusevici I will be upgrading this repo in the next few days creating the 11.x and 12.x branches in the process

jbistis commented 2 years ago

Does DatePicker work with Angular 13 yet? It is not correctly rendering. datepicker issue

jbistis commented 2 years ago

@matheo, are there plans to support angular 13?

tutkli commented 2 years ago

Version 13.0.0-beta.1 still renders incorrectly with Angular 13

matheo commented 2 years ago

Have you guys configured the styles with the new SASS modules? https://github.com/matheo/angular/tree/master/libs/datepicker#angular-12

tutkli commented 2 years ago

Have you guys configured the styles with the new SASS modules? https://github.com/matheo/angular/tree/master/libs/datepicker#angular-12

Hello, @matheo , this worked perfectly, thank you for answering. Just a thing. stylePreprocessorOptions configuration in angular.json goes under "options"

"projects": {
  "[your-project]": {
    "architect": {
      "build": {
        ...
       "options": {
         ...
         "stylePreprocessorOptions": {
           "includePaths": ["node_modules"]
         }
       }
      }
    }
  }