@penskemediacorp/larva-patterns 1.66.4 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,4 +3,5 @@ module.exports = {
3
3
  article_kicker_text: 'Article Kicker',
4
4
  article_kicker_url: '#',
5
5
  article_kicker_link_classes: '',
6
+ article_kicker_image_markup: '',
6
7
  };
@@ -2,11 +2,15 @@
2
2
  {% if article_kicker_url %}
3
3
  <a href="{{ article_kicker_url }}" class="article-kicker-link {{ article_kicker_link_classes }}">
4
4
  {% endif %}
5
- {% if c_svg %}
6
- {% include "@larva/components/c-svg/c-svg.twig" with c_svg %}
5
+ {% if article_kicker_image_markup %}
6
+ {{ article_kicker_image_markup }}
7
7
  {% else %}
8
- {{ article_kicker_text }}
9
- {% endif %}
8
+ {% if c_svg %}
9
+ {% include "@larva/components/c-svg/c-svg.twig" with c_svg %}
10
+ {% else %}
11
+ {{ article_kicker_text }}
12
+ {% endif %}
13
+ {% endif %}
10
14
  {% if article_kicker_url %}
11
15
  </a>
12
16
  {% endif %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penskemediacorp/larva-patterns",
3
- "version": "1.66.4",
3
+ "version": "1.67.0",
4
4
  "description": "Larva markup patterns.",
5
5
  "author": "laras126 <laras126@gmail.com>",
6
6
  "homepage": "https://github.com/Penske-Media-Corp/pmc-larva/tree/master/packages/patterns#readme",
@@ -25,5 +25,5 @@
25
25
  "@penskemediacorp/larva-svg": "^1.66.4",
26
26
  "lodash.clonedeep": "^4"
27
27
  },
28
- "gitHead": "adf0f680fa45f26d69992517ee9b2ebe611f8aad"
28
+ "gitHead": "5016a6408bfa1bccc72babcab32eb9fd8c02ec7f"
29
29
  }