@gem-sdk/components 2.0.0-dev.554 → 2.0.0-dev.556

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.
Files changed (52) hide show
  1. package/dist/cjs/article/components/ArticleList.js +1 -0
  2. package/dist/cjs/article/components/ArticleList.liquid.js +1 -0
  3. package/dist/cjs/article/setting/configs/ArticleList/uiV2.js +16 -0
  4. package/dist/cjs/carousel/carousel-item/CarouselItem.js +4 -2
  5. package/dist/cjs/carousel/carousel-item/hook/useCarouseItem.js +10 -2
  6. package/dist/cjs/carousel/setting/configs/settingV2.js +6 -4
  7. package/dist/cjs/carousel/setting/configs/uiV2.js +4 -1
  8. package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -23
  9. package/dist/cjs/product/components/ProductImagesV2/common/getAttr.js +29 -7
  10. package/dist/cjs/product/components/ProductImagesV2/common/getStyle.js +3 -3
  11. package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
  12. package/dist/cjs/product/components/ProductImagesV2/components/child/ProductFeaturedImageOnly.js +2 -10
  13. package/dist/cjs/product/components/ProductImagesV2/components/child/ProductGalleryGrid.js +1 -1
  14. package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +1 -1
  15. package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
  16. package/dist/cjs/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  17. package/dist/cjs/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +2 -3
  18. package/dist/cjs/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +1 -1
  19. package/dist/cjs/product/components/ProductImagesV2/index.js +2 -4
  20. package/dist/cjs/product/components/ProductImagesV2/index.liquid.js +1 -1
  21. package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +69 -63
  22. package/dist/cjs/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +23 -31
  23. package/dist/cjs/product/setting/product-image-v2/configs/ui/FeatureNavigation.js +118 -0
  24. package/dist/cjs/product/setting/product-image-v2/configs/ui/ImageListNavigation.js +119 -0
  25. package/dist/cjs/product/setting/product-image-v2/configs/uiV2.js +193 -415
  26. package/dist/esm/article/components/ArticleList.js +2 -1
  27. package/dist/esm/article/components/ArticleList.liquid.js +2 -1
  28. package/dist/esm/article/setting/configs/ArticleList/uiV2.js +16 -0
  29. package/dist/esm/carousel/carousel-item/CarouselItem.js +4 -2
  30. package/dist/esm/carousel/carousel-item/hook/useCarouseItem.js +10 -2
  31. package/dist/esm/carousel/setting/configs/settingV2.js +6 -4
  32. package/dist/esm/carousel/setting/configs/uiV2.js +4 -1
  33. package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -23
  34. package/dist/esm/product/components/ProductImagesV2/common/getAttr.js +29 -7
  35. package/dist/esm/product/components/ProductImagesV2/common/getStyle.js +3 -3
  36. package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
  37. package/dist/esm/product/components/ProductImagesV2/components/child/ProductFeaturedImageOnly.js +2 -10
  38. package/dist/esm/product/components/ProductImagesV2/components/child/ProductGalleryGrid.js +1 -1
  39. package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +1 -1
  40. package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +1 -1
  41. package/dist/esm/product/components/ProductImagesV2/components/gallery-grid/GalleryGrid.liquid.js +1 -1
  42. package/dist/esm/product/components/ProductImagesV2/hooks/useGalleryCarousel.js +2 -3
  43. package/dist/esm/product/components/ProductImagesV2/hooks/useProductGalleryGrid.js +1 -1
  44. package/dist/esm/product/components/ProductImagesV2/index.js +2 -4
  45. package/dist/esm/product/components/ProductImagesV2/index.liquid.js +1 -1
  46. package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductFeatureImage.js +69 -63
  47. package/dist/esm/product/setting/product-image-v2/configs/setting-v2/ProductGalleryImage.js +23 -31
  48. package/dist/esm/product/setting/product-image-v2/configs/ui/FeatureNavigation.js +116 -0
  49. package/dist/esm/product/setting/product-image-v2/configs/ui/ImageListNavigation.js +117 -0
  50. package/dist/esm/product/setting/product-image-v2/configs/uiV2.js +193 -415
  51. package/dist/types/index.d.ts +4 -8
  52. package/package.json +2 -2
@@ -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.554",
3
+ "version": "2.0.0-dev.556",
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.553",
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"