PhotoSwipe component

Provides a wrapper component around PhotoSwipe.

id: photoswipe
title: PhotoSwipe
description: 'Provides a wrapper component around PhotoSwipe.'
class: Drupal\ambientimpact_media\Plugin\AmbientImpact\Component\PhotoSwipe
provider: ambientimpact_media
icons:
  photoswipe:
    close: close
    fullscreen-enter: fullscreen-enter
    fullscreen-exit: fullscreen-exit
    zoom-in: zoom-in
    zoom-out: zoom-out
    share: share
    arrow-left: arrow-left
    arrow-right: arrow-right
linkedImageAttributes:
  width: data-photoswipe-linked-width
  height: data-photoswipe-linked-height
fieldAttributes:
  enabled: data-photoswipe-field-enabled
  gallery: data-photoswipe-field-gallery
component.photoswipe:
  css:
    component:
      components/photoswipe/photoswipe.css: {  }
      components/photoswipe/photoswipe.colour.css: {  }
      components/photoswipe/photoswipe.motion.css: {  }
  js:
    components/photoswipe/photoswipe.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.event.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.event.immerse.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.accessibility.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.pointer.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.meta.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.hash.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.thumbnail.transition.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.icon.js:
      attributes:
        defer: true
    components/photoswipe/photoswipe.ui.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_media/photoswipe
    - ambientimpact_core/ally.js
    - ambientimpact_core/component.media_query
    - ambientimpact_core/component.link.image
    - ambientimpact_icon/component.icon
    - ambientimpact_ux/component.immerse
    - ambientimpact_core/framework
component.photoswipe.field:
  js:
    components/photoswipe/photoswipe.field.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_media/component.photoswipe
    - ambientimpact_core/framework