zz-shopify-components 0.28.1-beta.0 → 0.29.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.
package/package.json
CHANGED
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
{% assign collapsible_title_color = section.settings.collapsible_title_color
|
|
343
343
|
| color_modify: 'alpha', 0.5
|
|
344
344
|
%}
|
|
345
|
-
<div class="tw-daisy-collapse-title tw-py-[20px] tw-
|
|
345
|
+
<div class="tw-daisy-collapse-title tw-py-[20px] tw-pl-0 tw-pr-[30px] tw-text-[20px] tw-font-[700] tw-leading-[1]" style="color: {{ collapsible_title_color }};">
|
|
346
346
|
{{ collapsible_row.settings.heading }}
|
|
347
347
|
</div>
|
|
348
348
|
<div class="tw-p-0 tw-daisy-collapse-content">
|
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
{% if pc_video and pc_poster %}
|
|
23
23
|
{% assign pc_src = pc_video %}
|
|
24
24
|
{% if pc_video.media_type == 'video' %}
|
|
25
|
-
{%
|
|
25
|
+
{% if pc_video.sources[1] != blank %}
|
|
26
|
+
{% assign pc_src = pc_video.sources[1].url %}
|
|
27
|
+
{% else %}
|
|
28
|
+
{% assign pc_src = pc_video.sources[0].url %}
|
|
29
|
+
{% endif %}
|
|
26
30
|
{% endif %}
|
|
27
31
|
|
|
28
32
|
{% assign video_poster_width = pc_posterWidth | default: 1500 %}
|
|
@@ -70,7 +74,11 @@
|
|
|
70
74
|
{% if mb_video and mb_poster %}
|
|
71
75
|
{% assign mb_src = mb_video %}
|
|
72
76
|
{% if mb_video.media_type == 'video' %}
|
|
73
|
-
{%
|
|
77
|
+
{% if mb_video.sources[1] != blank %}
|
|
78
|
+
{% assign mb_src = mb_video.sources[1].url %}
|
|
79
|
+
{% else %}
|
|
80
|
+
{% assign mb_src = mb_video.sources[0].url %}
|
|
81
|
+
{% endif %}
|
|
74
82
|
{% endif %}
|
|
75
83
|
|
|
76
84
|
{% assign mb_video_poster_width = mb_poster_width | default: 1500 %}
|
package/snippets/zz-video.liquid
CHANGED
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
{% if pc_video and pc_poster %}
|
|
23
23
|
{% assign pc_src = pc_video %}
|
|
24
24
|
{% if pc_video.media_type == 'video' %}
|
|
25
|
-
{%
|
|
25
|
+
{% if pc_video.sources[1] != blank %}
|
|
26
|
+
{% assign pc_src = pc_video.sources[1].url %}
|
|
27
|
+
{% else %}
|
|
28
|
+
{% assign pc_src = pc_video.sources[0].url %}
|
|
29
|
+
{% endif %}
|
|
26
30
|
{% endif %}
|
|
27
31
|
|
|
28
32
|
{% assign video_poster_width = pc_posterWidth | default: 5000 %}
|
|
@@ -70,9 +74,12 @@
|
|
|
70
74
|
{% if mb_video and mb_poster %}
|
|
71
75
|
{% assign mb_src = mb_video %}
|
|
72
76
|
{% if mb_video.media_type == 'video' %}
|
|
73
|
-
{%
|
|
77
|
+
{% if mb_video.sources[1] != blank %}
|
|
78
|
+
{% assign mb_src = mb_video.sources[1].url %}
|
|
79
|
+
{% else %}
|
|
80
|
+
{% assign mb_src = mb_video.sources[0].url %}
|
|
81
|
+
{% endif %}
|
|
74
82
|
{% endif %}
|
|
75
|
-
|
|
76
83
|
{% assign mb_video_poster_width = mb_poster_width | default: 1500 %}
|
|
77
84
|
{% assign mb_video_poster = mb_poster
|
|
78
85
|
| image_url: width: mb_video_poster_width
|