Merged in SW-2064-lightbox-updates (pull request #3347)
feat(SW-2064): Lightbox updates * chore(SW-2064): add opacity to not selected images * chore(SW-2064): set main image as the first image in thumbnail * chore(SW-2064): disable navigation buttons on first and last image * fix(SW-2064): use cx * Revert "chore(SW-2064): disable navigation buttons on first and last image" This reverts commit 9c5acd8a02b83740f35d1cfa88bfba6b006ba947. * refactor(SW-2064): create ImageCounter component * refactor(SW-2064) * chore(SW-2064): add enter keu down on main image Approved-by: Erik Tiekstra
This commit is contained in:
@@ -5,10 +5,11 @@ import { Dialog, Modal, ModalOverlay } from "react-aria-components"
|
||||
|
||||
import usePopStateHandler from "@scandic-hotels/common/hooks/usePopStateHandler"
|
||||
|
||||
import FullView from "./FullView"
|
||||
import Gallery from "./Gallery"
|
||||
import { FullView } from "./FullView"
|
||||
import { Gallery } from "./Gallery"
|
||||
|
||||
import styles from "./lightbox.module.css"
|
||||
import { cx } from "class-variance-authority"
|
||||
|
||||
export type LightboxImage = {
|
||||
src: string
|
||||
|
||||
Reference in New Issue
Block a user