Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update swiper package #2407

Conversation

LeoniePeters
Copy link
Contributor

@LeoniePeters LeoniePeters commented Jul 24, 2024

  • Updates the Swiper package to the latest version 11.1.5
    • Lazy no longer is a separate Swiper module but relies on native image lazy loading
    • A11y module is introduced
  • Adds translation strings for Swiper a11y labels
  • Updates all swiper instances to work with the new version (StackedCardsSwiper, LandingIllustrationGroup, ItemMediaSwiper)
  • Refactor StackedCardsSwiper to use ImageOptimised

@lbiedinger lbiedinger merged commit bbc8c51 into feat/EC-6877-update-theme-swiper Jul 30, 2024
3 checks passed
@lbiedinger lbiedinger deleted the chore/EC-6877-update-swiper-package branch July 30, 2024 14:42
lbiedinger added a commit that referenced this pull request Sep 4, 2024
* Update template and styles StackedCardsSwiper

* Update styles and add hover transitions

* Hide partly visible slides

* Firefox fix wrapper overflowing slides

* Tweak transitions

* Show description on keyup, touchend and pointerup events

* Keep hover effect on initial slide and make entire slide a link

* Clean up now redundant outline-overlay button style

* Use pointer-events instead of pseudo element

* Fix indentation

* Show initial slide content on non-hover devices

* Update unit tests

* Fix descending specificity

* chore: update swiper package (#2407)

* Update swiper to lastest v11.1.5; update and clean up swiper instances

* Enable the swiper A11y module

* Add translation strings for a11y labels

* Use ImageOptimised in StackedCardsSwiper

* disable pointer events on cards

* button hover styles for background-cards

* Handle slide click instead of relying on slideToClickedSlide

* Make slides visible when not overflowing container

* Fix active swiper slide class

* Fix visible slide at breakpoint 1666px

* Fix unit tests

* Set default transform scale to prevent FF image disappearing

* bump size limits

---------

Co-authored-by: lbiedinger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants