twinssbc / Ionic2-Calendar

A calendar component based on Ionic framework
https://ionic-calendar-demo.stackblitz.io
MIT License
387 stars 197 forks source link

Update to swiper 9/10 #646

Closed Marius-Romanus closed 1 year ago

Marius-Romanus commented 1 year ago

Hello! Swiper has just upgraded to a major version, v9. Thank you very much for keeping this project so interesting and for updating it! ^^ and the new name ionic6-calendar also gives it a fresh look.

https://github.com/nolimits4web/swiper/releases

Edit: I edit because Vladimir Kharlampidi is not stopping and has released version 10, luckily I think there is not as much change as from 8 to 9

https://swiperjs.com/migration-guide-v10

twinssbc commented 1 year ago

yeah, starting form v9, Swiper no longer has Angular component, but Web Component instead (https://swiperjs.com/element). Need to do more compatibility testing.

Eraldo commented 1 year ago

Does it already work with swiper v9? :D

josuelmm commented 1 year ago

For when this integration?

sdsoldi commented 1 year ago

Yes please, some info about update? Ionic 7 examples are with swiper 9 https://ionicframework.com/docs/angular/slides

Eraldo commented 1 year ago

I upgraded to swiper 9 and this package now broke for me. :|

Error: node_modules/ionic2-calendar/calendar.module.d.ts:9:21 - error TS2307: Cannot find module 'swiper/angular' or its corresponding type declarations.
Gautammer commented 1 year ago

Hello @Eraldo you can use old version of swiperjs to user swiper/angular npm i swiper@8.4.7 --f

Eraldo commented 1 year ago

Hello @Eraldo you can use old version of swiperjs to user swiper/angular npm i swiper@8.4.7 --f

Thanks for the reply. Unfortunately I'm already using swiper 9 in my other components. ^^ npm i swiper@8.4.7 --f would probably override that, correct?

twinssbc commented 1 year ago

I have published the version 2.1.0 which support swiper 10.1.0. Feel free to give a try.