Link: underline component

Provides styling and JavaScript to give links underlines that clear descenders and are more customizable than native browser underlines. Loosely based on work by Jimmy Wilson.

id: link.underline
title: 'Link: underline'
description: 'Provides styling and JavaScript to give links underlines that clear descenders and are more customizable than native browser underlines. Loosely based on work by Jimmy Wilson.'
class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\LinkUnderline
provider: ambientimpact_ux
{  }
component.link.underline:
  js:
    components/link.underline/link.underline.js:
      attributes:
        defer: true
    components/link.underline/link.underline.image.js:
      attributes:
        defer: true
    components/link.underline/link.underline.transition.js:
      attributes:
        defer: true
  dependencies:
    - ambientimpact_core/ally.js
    - ambientimpact_ux/gsap.tweenlite
    - ambientimpact_ux/gsap.plugin.css
    - ambientimpact_ux/gsap.plugin.colorprops
    - ambientimpact_core/component.link.image
    - ambientimpact_core/framework