@gem-sdk/components 2.1.13-staging.26 → 2.1.13-staging.27
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/components/Carousel.liquid.js +3 -2
- package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +2 -1
- package/dist/esm/carousel/components/Carousel.liquid.js +3 -2
- package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +2 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const DEVICES = [
|
|
|
13
13
|
'tablet',
|
|
14
14
|
'desktop'
|
|
15
15
|
];
|
|
16
|
-
const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled = true, advanced, disableMarginAuto, conditionAppendJs, ...props })=>{
|
|
16
|
+
const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled = true, advanced, disableMarginAuto, conditionAppendJs, ftShapeProductImage, ...props })=>{
|
|
17
17
|
const setting = arrow.mappingNavigationCarousel(props.setting);
|
|
18
18
|
const styleHeight = core.makeStyleResponsive('h', core.getHeightByShapeGlobalSize(styles?.sizeSetting));
|
|
19
19
|
const styleWidth = core.makeStyleWithDefault('w', core.getWidthByShapeGlobalSize(styles?.sizeSetting, true), {
|
|
@@ -112,7 +112,8 @@ const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId
|
|
|
112
112
|
setting,
|
|
113
113
|
styles,
|
|
114
114
|
moveToIdx,
|
|
115
|
-
isHiddenArrowWhenDisabled
|
|
115
|
+
isHiddenArrowWhenDisabled,
|
|
116
|
+
ftShapeProductImage
|
|
116
117
|
}).replaceAll("'", ''')}' style="${{
|
|
117
118
|
...core.makeStyleResponsive('jc', styles?.align),
|
|
118
119
|
...rootStyles
|
|
@@ -9,7 +9,7 @@ const DEVICES = [
|
|
|
9
9
|
'tablet',
|
|
10
10
|
'desktop'
|
|
11
11
|
];
|
|
12
|
-
const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled = true, advanced, disableMarginAuto, conditionAppendJs, ...props })=>{
|
|
12
|
+
const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled = true, advanced, disableMarginAuto, conditionAppendJs, ftShapeProductImage, ...props })=>{
|
|
13
13
|
const setting = mappingNavigationCarousel(props.setting);
|
|
14
14
|
const styleHeight = makeStyleResponsive('h', getHeightByShapeGlobalSize(styles?.sizeSetting));
|
|
15
15
|
const styleWidth = makeStyleWithDefault('w', getWidthByShapeGlobalSize(styles?.sizeSetting, true), {
|
|
@@ -108,7 +108,8 @@ const Carousel = ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId
|
|
|
108
108
|
setting,
|
|
109
109
|
styles,
|
|
110
110
|
moveToIdx,
|
|
111
|
-
isHiddenArrowWhenDisabled
|
|
111
|
+
isHiddenArrowWhenDisabled,
|
|
112
|
+
ftShapeProductImage
|
|
112
113
|
}).replaceAll("'", ''')}' style="${{
|
|
113
114
|
...makeStyleResponsive('jc', styles?.align),
|
|
114
115
|
...rootStyles
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6043,7 +6043,7 @@ declare const CarouselItem: ({ children, builderAttrs, styles, advanced, setting
|
|
|
6043
6043
|
background?: Partial<Record<NameDevices, Background>> | undefined;
|
|
6044
6044
|
}) => string;
|
|
6045
6045
|
|
|
6046
|
-
declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled, advanced, disableMarginAuto, conditionAppendJs, ...props }: _gem_sdk_core.BaseProps<CarouselSettings, CarouselStyles, Record<string, any>> & {
|
|
6046
|
+
declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx, rootId, rootAttr, rootClass, wrapperClass, rootStyles, children, rawChildren, isHiddenArrowWhenDisabled, advanced, disableMarginAuto, conditionAppendJs, ftShapeProductImage, ...props }: _gem_sdk_core.BaseProps<CarouselSettings, CarouselStyles, Record<string, any>> & {
|
|
6047
6047
|
builderAttrs?: Record<string, any> | undefined;
|
|
6048
6048
|
style?: React.CSSProperties | undefined;
|
|
6049
6049
|
} & {
|
|
@@ -6075,6 +6075,7 @@ declare const Carousel: ({ builderAttrs, builderProps, style, styles, moveToIdx,
|
|
|
6075
6075
|
disableMarginAuto?: boolean | undefined;
|
|
6076
6076
|
slidesClass?: string | undefined;
|
|
6077
6077
|
conditionAppendJs?: string | undefined;
|
|
6078
|
+
ftShapeProductImage?: Partial<Record<NameDevices, SizeSettingGlobal>> | undefined;
|
|
6078
6079
|
}) => string;
|
|
6079
6080
|
|
|
6080
6081
|
type LineProps = {
|