@gem-sdk/components 12.0.0-staging.4 → 12.0.0-staging.5
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/dist/cjs/carousel-v3/components/item/CarouselItem.liquid.js +1 -0
- package/dist/cjs/carousel-v3/components/swiper/SwiperSlide.js +1 -1
- package/dist/esm/carousel-v3/components/item/CarouselItem.liquid.js +3 -2
- package/dist/esm/carousel-v3/components/swiper/SwiperSlide.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var jsxRuntime=require("react/jsx-runtime"),styles=require("./common/styles.js");function SwiperSlide(e){let{children:
|
|
1
|
+
"use strict";var jsxRuntime=require("react/jsx-runtime"),styles=require("./common/styles.js");function SwiperSlide(e){let{children:r,className:i,dir:s,...t}=e,l=styles.getStyleSwiperSlider(e);return jsxRuntime.jsx("swiper-slide",{class:i,...t,style:l,dir:"ltr",children:r})}exports.SwiperSlide=SwiperSlide;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{template as e}from"@gem-sdk/core";import{getStyle as r}from"./common/styles.js";import{getClass as i}from"./common/classes.js";let CarouselItem=
|
|
1
|
+
import{template as e}from"@gem-sdk/core";import{getStyle as r}from"./common/styles.js";import{getClass as i}from"./common/classes.js";let CarouselItem=d=>{let{builderAttrs:s,index:m,children:a,id:o}=d,{carouselItemStyle:t,carouselItemInnerStyle:l}=r(d),{carouselItemClass:c,carouselItemInnerClass:u}=i(d);return e`
|
|
2
2
|
<div
|
|
3
|
-
${{...
|
|
3
|
+
${{...s}}
|
|
4
4
|
id="${o}"
|
|
5
5
|
class="${c}"
|
|
6
6
|
style="${t}"
|
|
@@ -11,6 +11,7 @@ import{template as e}from"@gem-sdk/core";import{getStyle as r}from"./common/styl
|
|
|
11
11
|
media-poster="{{media.preview_image.src}}"
|
|
12
12
|
media-source-url="{{media.sources.first.url}}"
|
|
13
13
|
media-last-source-url="{{mediaSourceUrl}}"
|
|
14
|
+
dir="ltr"
|
|
14
15
|
>
|
|
15
16
|
<div
|
|
16
17
|
class="${u}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{getStyleSwiperSlider as e}from"./common/styles.js";function SwiperSlide(i){let{children:t,className:l,dir:s,...o}=i,m=e(i);return r("swiper-slide",{class:l,...o,style:m,dir:"ltr",children:t})}export{SwiperSlide};
|