@total_onion/onion-library 2.0.87 → 2.0.88

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,7 +3,6 @@
3
3
  @use '../fields-core-functions-v3/core-functions-v3';
4
4
 
5
5
  .spotify-embed-v3 {
6
- height: 100%;
7
6
  max-width: core-functions-v3.fluidSize(1086);
8
7
  margin: auto;
9
8
  iframe {
@@ -3,10 +3,7 @@
3
3
  {% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields: fields, block: block, blockClassName, blockClassName }, with_context = false) %}
4
4
  {% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields: fields, block: block }, with_context = false) %}
5
5
  {% set styleEntryPoint = include('entry-points/entry-point-style-v3.twig', { fields: fields, block: block, is_preview }, with_context = false) %}
6
- {% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
7
- {% set desktopHeight = fields.desktop_height|default(352) %}
8
- {% set tabletHeight = fields.tablet_height|default(352) %}
9
- {% set mobileHeight = fields.mobile_height|default(350) %}
6
+
10
7
 
11
8
  {% set sectionStyles = styleEntryPoint %}
12
9
 
@@ -18,8 +15,6 @@
18
15
  </style>
19
16
  <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{fields.section_class}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" data-assetkey="{{blockClassName}}">
20
17
 
21
- <iframe style="border-radius:12px; --desktop-height: {{desktopHeight}}px;--tablet-height: {{tabletHeight}}px;--mobile-height: {{mobileHeight}}px" src="{{fields.embed_url}}" class="spotify-embed" width="100%" frameborder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
22
-
23
-
18
+ <iframe style="border-radius:12px;" height="{{fields.height}}" src="{{fields.embed_url}}" class="spotify-embed" width="100%" frameborder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
24
19
  {{htmlEntryPoint}}
25
20
  </section>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.87",
3
+ "version": "2.0.88",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {