@total_onion/onion-library 1.0.171 → 1.0.173

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.
@@ -27,7 +27,9 @@
27
27
  {% set enableCtaIcon = ctaData.cta_settings.include_cta_icon %}
28
28
  {% set ctaAnimationStyle = ctaData.cta_settings.cta_animation_style %}
29
29
  {% endif %}
30
- <button class="cmpl-cta-style-{{item.cta_style}} cmpl-cta-animation-style-{{enableCtaAnimation ? ctaAnimationStyle : ''}}" data-modalpopuptrigger="{{ item.modal_popup_trigger_id }}">{{ item.modal_popup_trigger_text }}</button>
30
+ <button class="cmpl-cta-style-{{item.cta_style}} cmpl-cta-animation-style-{{enableCtaAnimation ? ctaAnimationStyle : ''}}" data-modalpopuptrigger="{{ item.modal_popup_trigger_id }}">
31
+ <span class="cmpl-cta-span">{{ item.modal_popup_trigger_text }}</span>
32
+ </button>
31
33
  {% endfor %}
32
34
 
33
35
  {% if enableInteractionsButton %}
@@ -7,7 +7,7 @@
7
7
  {% set styleVars = imageAspectRatioDesktop ~ imageAspectRatioPortrait ~ imageAspectRatioMobile %}
8
8
 
9
9
  <style>
10
- .{{blockClassName}}__post-video.{{block.id}}{
10
+ .{{blockClassName}}__post-video-container.{{block.id}}{
11
11
  {{gridLayoutElement}}
12
12
  {{styleVars}}
13
13
  }
@@ -15,7 +15,7 @@
15
15
  {% set videoSelect = field.video_select|ru %}
16
16
  {% set videoDesktop = attribute(post, videoSelect) %}
17
17
 
18
- <div class="{{blockClassName}}__post-video-container" data-pattern-type >
18
+ <div class="{{blockClassName}}__post-video-container {{blockClassName}}__info-item {{block.id}}" data-pattern-type >
19
19
  <video class="{{blockClassName}}__post-video {{block.id}}" playsinline width='{{videoDesktop.width}}' height='{{videoDesktop.height}}' autoplay loop muted>
20
20
  <source src="{{gt_video_mainsrc(videoDesktop['url'])}}" type="video/mp4">
21
21
  </video>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.171",
3
+ "version": "1.0.173",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {