@total_onion/onion-library 2.0.242 → 2.0.243

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.
@@ -78,7 +78,7 @@
78
78
  {% set captionsFile = fields.captions.0.captions_file %}
79
79
  {% set noAudioCaptions = fields.enable_no_audio_captions %}
80
80
 
81
- <div data-videoid="{{videoId}}" data-videocontainerid="{{fields.video_trigger_id}}" data-desktopvideo="{{gt_video_mainsrc(videoDesktop['url'])}}" data-youtubedesktop="{{youtubeDesktopId}}" data-youtubemobile="{{youtubeMobileId}}" data-vimeo-desktop-url="{{vimeoDesktopUrl}}" data-vimeo-mobile-url="{{vimeoMobileUrl}}" data-vimeodesktopid="{{vimeoDesktopId}}" data-vimeomobileid="{{vimeoMobileId}}" data-mobilevideo="{{gt_video_mainsrc(videoMobile['url'])}}" class="{{blockClassName}}__video-container cblvc-video-container {{lockVideoAspectToImage}} {{videoPlayingZindexClass}} {{setVideoToCover}}" data-videotype="{{videoType}}" data-loop="{{loopVideo}}" data-modal="{{modal}}" data-controls="{{controls}}" data-autoplay="{{autoplayVideo}}" data-autoplay-mobile="{{autoplayVideoMobile}}" data-fullscreen="{{fullscreen}}" data-muted="{{muted}}" data-videoenabled="{{videoEnabled}}" data-pattern-dynamic="1">
81
+ <div data-videoid="{{videoId}}" data-datalayerpush="{{fields.data_layer_push}}" data-videocontainerid="{{fields.video_trigger_id}}" data-desktopvideo="{{gt_video_mainsrc(videoDesktop['url'])}}" data-youtubedesktop="{{youtubeDesktopId}}" data-youtubemobile="{{youtubeMobileId}}" data-vimeo-desktop-url="{{vimeoDesktopUrl}}" data-vimeo-mobile-url="{{vimeoMobileUrl}}" data-vimeodesktopid="{{vimeoDesktopId}}" data-vimeomobileid="{{vimeoMobileId}}" data-mobilevideo="{{gt_video_mainsrc(videoMobile['url'])}}" class="{{blockClassName}}__video-container cblvc-video-container {{lockVideoAspectToImage}} {{videoPlayingZindexClass}} {{setVideoToCover}}" data-videotype="{{videoType}}" data-loop="{{loopVideo}}" data-modal="{{modal}}" data-controls="{{controls}}" data-autoplay="{{autoplayVideo}}" data-autoplay-mobile="{{autoplayVideoMobile}}" data-fullscreen="{{fullscreen}}" data-muted="{{muted}}" data-videoenabled="{{videoEnabled}}" data-pattern-dynamic="1">
82
82
  <div class="{{blockClassName}}__video-inner-container cblvc-video-container__video-inner-container" data-pattern-type>
83
83
  {% if videoType == 'upload' %}
84
84
  <video class="{{blockClassName}}__video-player cblvc-video-container__video-player" {{muted ? 'muted' : ''}} playsinline width='{{videoDesktop.width}}' height='{{videoDesktop.height}}'>
@@ -729,6 +729,36 @@
729
729
  "prepend": "",
730
730
  "append": ""
731
731
  },
732
+ {
733
+ "key": "field_697f475be2f63",
734
+ "label": "Data Layer Push",
735
+ "name": "data_layer_push",
736
+ "aria-label": "",
737
+ "type": "true_false",
738
+ "instructions": "coming soon...",
739
+ "required": 0,
740
+ "conditional_logic": [
741
+ [
742
+ {
743
+ "field": "field_6872282f51575",
744
+ "operator": "==",
745
+ "value": "1"
746
+ }
747
+ ]
748
+ ],
749
+ "wrapper": {
750
+ "width": "50",
751
+ "class": "",
752
+ "id": ""
753
+ },
754
+ "message": "",
755
+ "default_value": 0,
756
+ "style": "",
757
+ "allow_in_bindings": 0,
758
+ "ui_on_text": "",
759
+ "ui_off_text": "",
760
+ "ui": 1
761
+ },
732
762
  {
733
763
  "key": "field_6872282f56770",
734
764
  "label": "Enable Captions",
@@ -979,5 +1009,5 @@
979
1009
  "acfe_display_title": "",
980
1010
  "acfe_meta": "",
981
1011
  "acfe_note": "",
982
- "modified": 1763477405
1012
+ "modified": 1769949066
983
1013
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.242",
3
+ "version": "2.0.243",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {