# Admin UI
preview:
  version: VERSION
  js:
    js/preview.js: {}
  css:
    component:
      css/preview.css: {}
  dependencies:
    - core/jquery
    - core/jquery.ui.resizable
    - core/jquery.ui.draggable
    - core/drupalSettings
    - core/drupal.ajax
    - core/drupal.dialog.ajax

buttons:
  version: VERSION
  css:
    component:
      css/buttons.css: {}

# Utilities and UX
smooth-scroll:
  version: VERSION
  js:
    js/smooth-scroll.js: {}
  dependencies:
    - core/jquery

inline-video:
  version: VERSION
  css:
    base:
      css/inline-video.css: {}
  js:
    js/inline-video.js: {}
  dependencies:
    - parade/vendor.iphone-inline-video

parallax:
  version: VERSION
  js:
    js/parallax.js: {}
    js/bg-parallax.js: {}
  dependencies:
    - core/jquery
    - parade/vendor.rellax
    - parade/vendor.stellar
    - parade/background

background:
  version: VERSION
  css:
    theme:
      css/background.css: {}

# Parade Paragraph types.
paragraphs:
  version: VERSION
  css:
    component:
      css/paragraphs.css: {}

paragraphs.header:
  version: VERSION
  css:
    component:
      css/paragraphs.header.css: {}
  dependencies:
    - parade/paragraphs
    - parade/background

paragraphs.parallax:
  version: VERSION
  css:
    component:
      css/paragraphs.parallax.css: {}
  dependencies:
    - parade/paragraphs
    - parade/background

paragraphs.simple:
  version: VERSION
  css:
    component:
      css/paragraphs.simple.css: {}
  dependencies:
    - parade/paragraphs

paragraphs.social_links:
  version: VERSION
  css:
    component:
      css/paragraphs.social-links.css: {}
  dependencies:
    - parade/paragraphs

paragraphs.image_text:
  version: VERSION
  css:
    component:
      css/paragraphs.image-text.css: {}
  dependencies:
    - parade/paragraphs

paragraphs.images:
  version: VERSION
  css:
    component:
      css/paragraphs.images.css: {}
  dependencies:
    - parade/paragraphs

paragraphs.text_boxes:
  version: VERSION
  css:
    component:
      css/paragraphs.text-boxes.css: {}
  dependencies:
    - parade/paragraphs

paragraphs.locations:
  version: VERSION
  css:
    component:
      css/paragraphs.locations.css: {}
  dependencies:
    - parade/paragraphs

# Vendor libraries needed for some paragraph types.
vendor.rellax:
  remote: https://github.com/dixonandmoe/rellax
  version: 0.1.0
  license:
    name: MIT
    url: https://github.com/dixonandmoe/rellax/blob/master/LICENSE
    gpl-compatible: true
  js:
    js/lib/rellax.min.js: { minified: true }

vendor.stellar:
  remote: https://github.com/markdalgleish/stellar.js
  version: 0.4
  license:
    name: MIT
    url: https://github.com/markdalgleish/stellar.js/blob/master/LICENSE-MIT
    gpl-compatible: true
  js:
    js/lib/jquery.stellar.min.js: { minified: true }
  dependencies:
    - core/jquery

vendor.iphone-inline-video:
  remote: https://github.com/bfred-it/iphone-inline-video
  version: 1.9.4
  license:
    name: MIT
    url: https://github.com/bfred-it/iphone-inline-video/blob/master/LICENSE
    gpl-compatible: true
  js:
    js/lib/iphone-inline-video.browser.js: { minified: true }
