@gem-sdk/components 2.0.0-dev.555 → 2.0.0-dev.557
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/carousel-item/CarouselItem.js +4 -2
- package/dist/cjs/carousel/carousel-item/hook/useCarouseItem.js +10 -2
- package/dist/cjs/carousel/setting/configs/settingV2.js +6 -4
- package/dist/cjs/carousel/setting/configs/uiV2.js +4 -1
- package/dist/cjs/post-purchase/product/settings/product-offer/ui/uiV2.js +0 -3
- package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -23
- package/dist/cjs/product/components/ProductImagesV2/common/getAttr.js +29 -7
- package/dist/cjs/product/components/ProductImagesV2/common/getStyle.js +3 -3
- package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/child/ProductFeaturedImageOnly.js +2 -10
- package/dist/cjs/product/components/ProductImagesV2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +2 -3
- package/dist/cjs/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/index.js +2 -4
- package/dist/cjs/product/components/ProductImagesV2/index.liquid.js +1 -1
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +69 -63
- package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +23 -31
- package/dist/cjs/product/setting/product-image-v2/configs/ui/FeatureNavigation.js +118 -0
- package/dist/cjs/product/setting/product-image-v2/configs/ui/ImageListNavigation.js +119 -0
- package/dist/cjs/product/setting/product-image-v2/configs/uiV2.js +193 -415
- package/dist/esm/carousel/carousel-item/CarouselItem.js +4 -2
- package/dist/esm/carousel/carousel-item/hook/useCarouseItem.js +10 -2
- package/dist/esm/carousel/setting/configs/settingV2.js +6 -4
- package/dist/esm/carousel/setting/configs/uiV2.js +4 -1
- package/dist/esm/post-purchase/product/settings/product-offer/ui/uiV2.js +0 -3
- package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -23
- package/dist/esm/product/components/ProductImagesV2/common/getAttr.js +29 -7
- package/dist/esm/product/components/ProductImagesV2/common/getStyle.js +3 -3
- package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/child/ProductFeaturedImageOnly.js +2 -10
- package/dist/esm/product/components/ProductImagesV2/components/child/ProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +2 -3
- package/dist/esm/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/index.js +2 -4
- package/dist/esm/product/components/ProductImagesV2/index.liquid.js +1 -1
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +69 -63
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +23 -31
- package/dist/esm/product/setting/product-image-v2/configs/ui/FeatureNavigation.js +116 -0
- package/dist/esm/product/setting/product-image-v2/configs/ui/ImageListNavigation.js +117 -0
- package/dist/esm/product/setting/product-image-v2/configs/uiV2.js +193 -415
- package/dist/types/index.d.ts +4 -8
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -2819,9 +2819,6 @@ type FeatureImageStyles$1 = {
|
|
|
2819
2819
|
ftCorner?: CornerRadius;
|
|
2820
2820
|
} & FeatureImageSliderStyles;
|
|
2821
2821
|
type FeatureImageSliderSetting = {
|
|
2822
|
-
ftSlidesEnable?: ObjectDevices$1<boolean>;
|
|
2823
|
-
ftSlidesActionEnable?: ObjectDevices$1<boolean>;
|
|
2824
|
-
ftSlidesNavigationEnable?: ObjectDevices$1<boolean>;
|
|
2825
2822
|
ftSlidesToShow?: ObjectDevices$1<number | 'auto'>;
|
|
2826
2823
|
ftControlOverContent?: ObjectDevices$1<boolean>;
|
|
2827
2824
|
ftNavigationPosition?: ObjectDevices$1<'inside' | 'outside' | 'none'>;
|
|
@@ -2831,11 +2828,13 @@ type FeatureImageSliderSetting = {
|
|
|
2831
2828
|
ftAnimationMode?: keyof typeof CAROUSEL_ANIMATION;
|
|
2832
2829
|
ftPauseOnHover?: boolean;
|
|
2833
2830
|
ftArrowIcon?: string;
|
|
2831
|
+
ftArrowIconSize?: ObjectDevices$1<number>;
|
|
2834
2832
|
ftArrowIconColor?: ColorValueType$1;
|
|
2835
2833
|
ftDragToScroll?: boolean;
|
|
2836
2834
|
ftArrowNavColor?: string;
|
|
2837
2835
|
ftArrowNavBorder?: Border;
|
|
2838
2836
|
ftArrowNavRadius?: CornerRadius;
|
|
2837
|
+
ftArrowNavShadow?: ShadowProps$1;
|
|
2839
2838
|
ftDotColor?: ObjectDevices$1<ColorValueType$1>;
|
|
2840
2839
|
ftDotActiveColor?: ObjectDevices$1<ColorValueType$1>;
|
|
2841
2840
|
ftDotStyle?: ObjectDevices$1<DotStyle>;
|
|
@@ -2851,7 +2850,6 @@ type FeatureImageSetting$2 = {
|
|
|
2851
2850
|
zoomType?: 'default' | 'glasses';
|
|
2852
2851
|
otherImage?: number;
|
|
2853
2852
|
preload?: boolean;
|
|
2854
|
-
ftActionEnable?: ObjectDevices$1<boolean>;
|
|
2855
2853
|
} & FeatureImageSliderSetting & GalleryStyles$1;
|
|
2856
2854
|
type SelectDisplaySetting = {
|
|
2857
2855
|
typeDisplay?: 'all-images' | 'select-manual';
|
|
@@ -2876,19 +2874,19 @@ type GallerySliderStyles$1 = {
|
|
|
2876
2874
|
};
|
|
2877
2875
|
type GallerySliderSetting$1 = {
|
|
2878
2876
|
slidesToShow?: ObjectDevices$1<number | 'auto'>;
|
|
2879
|
-
slidesActionEnable?: ObjectDevices$1<boolean>;
|
|
2880
|
-
slidesNavigationEnable?: ObjectDevices$1<boolean>;
|
|
2881
2877
|
navigationPosition?: ObjectDevices$1<'inside' | 'outside' | 'none'>;
|
|
2882
2878
|
arrow?: ObjectDevices$1<boolean>;
|
|
2883
2879
|
loop?: ObjectDevices$1<boolean>;
|
|
2884
2880
|
speed?: number;
|
|
2885
2881
|
pauseOnHover?: boolean;
|
|
2886
2882
|
arrowIcon?: string;
|
|
2883
|
+
arrowIconSize?: ObjectDevices$1<number>;
|
|
2887
2884
|
arrowIconColor?: ColorValueType$1;
|
|
2888
2885
|
dragToScroll?: boolean;
|
|
2889
2886
|
arrowNavColor?: string;
|
|
2890
2887
|
arrowNavBorder?: Border;
|
|
2891
2888
|
arrowNavRadius?: CornerRadius;
|
|
2889
|
+
arrowNavShadow?: ShadowProps$1;
|
|
2892
2890
|
borderActive?: Border;
|
|
2893
2891
|
};
|
|
2894
2892
|
type GallerySetting$1 = {
|
|
@@ -2898,8 +2896,6 @@ type GallerySetting$1 = {
|
|
|
2898
2896
|
galleryZoom?: number;
|
|
2899
2897
|
galleryZoomType?: 'default' | 'glasses';
|
|
2900
2898
|
preload?: boolean;
|
|
2901
|
-
activeEffectEnable?: boolean;
|
|
2902
|
-
actionEnable?: ObjectDevices$1<boolean>;
|
|
2903
2899
|
} & GallerySliderSetting$1;
|
|
2904
2900
|
type ProductImagesSetting$2 = GallerySetting$1 & FeatureImageSetting$2 & SelectDisplaySetting & {
|
|
2905
2901
|
qualityType?: ObjectDevices$1<QualityType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.557",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"update-img-src-3rd": "node ./scripts/update-img-src-3rd.js"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
26
|
+
"@gem-sdk/core": "2.0.0-dev.556",
|
|
27
27
|
"@gem-sdk/styles": "2.0.0-dev.535",
|
|
28
28
|
"@gem-sdk/system": "2.0.0-dev.504",
|
|
29
29
|
"@types/react-transition-group": "^4.4.5"
|