@ikas/storefront 4.0.0-alpha.21 → 4.0.0-alpha.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "4.0.0-alpha.21",
3
+ "version": "4.0.0-alpha.22",
4
4
  "description": "Storefront functionality for ikas storefront themes.",
5
5
  "author": "Umut Ozan Yıldırım",
6
6
  "license": "ISC",
@@ -24,11 +24,11 @@
24
24
  "libphonenumber-js": "^1.10.6"
25
25
  },
26
26
  "devDependencies": {
27
- "@ikas/storefront-api": "^4.0.0-alpha.21",
28
- "@ikas/storefront-config": "^4.0.0-alpha.21",
29
- "@ikas/storefront-model-functions": "^4.0.0-alpha.21",
30
- "@ikas/storefront-models": "^4.0.0-alpha.21",
31
- "@ikas/storefront-providers": "^4.0.0-alpha.21",
27
+ "@ikas/storefront-api": "^4.0.0-alpha.22",
28
+ "@ikas/storefront-config": "^4.0.0-alpha.22",
29
+ "@ikas/storefront-model-functions": "^4.0.0-alpha.22",
30
+ "@ikas/storefront-models": "^4.0.0-alpha.22",
31
+ "@ikas/storefront-providers": "^4.0.0-alpha.22",
32
32
  "@rollup/plugin-commonjs": "^22.0.0",
33
33
  "@rollup/plugin-json": "^4.1.0",
34
34
  "@rollup/plugin-node-resolve": "^13.3.0",
@@ -52,11 +52,11 @@
52
52
  "html-react-parser": "^1.4.0"
53
53
  },
54
54
  "peerDependencies": {
55
- "@ikas/storefront-api": "^4.0.0-alpha.21",
56
- "@ikas/storefront-config": "^4.0.0-alpha.21",
57
- "@ikas/storefront-model-functions": "^4.0.0-alpha.21",
58
- "@ikas/storefront-models": "^4.0.0-alpha.21",
59
- "@ikas/storefront-providers": "^4.0.0-alpha.21",
55
+ "@ikas/storefront-api": "^4.0.0-alpha.22",
56
+ "@ikas/storefront-config": "^4.0.0-alpha.22",
57
+ "@ikas/storefront-model-functions": "^4.0.0-alpha.22",
58
+ "@ikas/storefront-models": "^4.0.0-alpha.22",
59
+ "@ikas/storefront-providers": "^4.0.0-alpha.22",
60
60
  "mobx": "^6.1.3",
61
61
  "mobx-react-lite": "^3.1.5",
62
62
  "next": "12.0.7",
@@ -636,8 +636,6 @@ export default class IkasPageEditorViewModel {
636
636
  await this.pageDataProvider.setLinkSlugs();
637
637
 
638
638
  if (pageComponentPropValues) {
639
- pageComponentPropValues.propValues[propName] = propValue;
640
-
641
639
  if (prop.type === IkasThemeJsonComponentPropType.CUSTOM) {
642
640
  IkasPageDataInit.initCustomDataPropValue(
643
641
  prop,
@@ -668,6 +666,12 @@ export default class IkasPageEditorViewModel {
668
666
  propValue,
669
667
  pageComponentPropValues
670
668
  );
669
+ } else if (prop.type === IkasThemeJsonComponentPropType.PRODUCT_LIST) {
670
+ IkasPageDataInit.initProductListPropValue(
671
+ prop,
672
+ propValue,
673
+ pageComponentPropValues
674
+ );
671
675
  } else if (prop.type === IkasThemeJsonComponentPropType.CATEGORY) {
672
676
  IkasPageDataInit.initCategoryPropValue(
673
677
  prop,
@@ -707,6 +711,8 @@ export default class IkasPageEditorViewModel {
707
711
  propValue,
708
712
  pageComponentPropValues
709
713
  );
714
+ } else {
715
+ pageComponentPropValues.propValues[propName] = propValue;
710
716
  }
711
717
  }
712
718
  };