@penskemediacorp/larva-patterns 1.78.0 → 1.79.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.
|
@@ -20,7 +20,6 @@ c_span.c_span_text = 'Add us as a Google Preferred Source';
|
|
|
20
20
|
c_span.c_span_url = false;
|
|
21
21
|
|
|
22
22
|
module.exports = {
|
|
23
|
-
google_preferred_button_url: 'https://www.google.com/preferences/source?q=',
|
|
24
23
|
google_preferred_button_classes: 'lrv-u-flex lrv-u-align-items-center',
|
|
25
24
|
google_preferred_button_icon_url: '',
|
|
26
25
|
google_preferred_button_icon_classes: '',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<
|
|
1
|
+
<button class="o-google-preferred-button {{ google_preferred_button_classes }}" aria-label="Add us as a Google Preferred Source" data-track data-track-category="Article" data-track-action="Google Preferred Source" data-track-label="Click">
|
|
2
2
|
{% if google_preferred_button_icon_url %}
|
|
3
3
|
<img src="{{ google_preferred_button_icon_url }}" alt="" aria-hidden="true" class="o-google-preferred-button__icon {{ google_preferred_button_icon_classes }}">
|
|
4
4
|
{% else %}
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
{% endif %}
|
|
7
7
|
|
|
8
8
|
{% include "@larva/components/c-span/c-span.twig" with c_span %}
|
|
9
|
-
</
|
|
9
|
+
</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@penskemediacorp/larva-patterns",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.79.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",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"url": "https://github.com/Penske-Media-Corp/pmc-larva/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@penskemediacorp/larva-css": "^1.
|
|
24
|
-
"@penskemediacorp/larva-js": "^1.
|
|
25
|
-
"@penskemediacorp/larva-svg": "^1.
|
|
23
|
+
"@penskemediacorp/larva-css": "^1.79.0",
|
|
24
|
+
"@penskemediacorp/larva-js": "^1.79.0",
|
|
25
|
+
"@penskemediacorp/larva-svg": "^1.79.0",
|
|
26
26
|
"lodash.clonedeep": "^4"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "39d2e12edc65e6e554b2e8c2856bf242a392cbe7"
|
|
29
29
|
}
|