@crystaldesign/diva-seller 25.5.0-beta.1 → 25.5.0-beta.3

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.
@@ -1128,9 +1128,12 @@ function _apiLoadEnricherArticles() {
1128
1128
  name: DivaUtils.getLocals(jsonArticle.shortText, language),
1129
1129
  longDescription: DivaUtils.getLocals(jsonArticle.fullText, language),
1130
1130
  articleType: jsonArticle.featureClassRefNo === undefined ? 'FLAT' : 'OPTIONTREE',
1131
- width: jsonArticle.depthBasicShapeNominalValue,
1132
- height: jsonArticle.heightBasicShapeNominalValue,
1133
- depth: jsonArticle.depthBasicShapeNominalValue,
1131
+ width: Math.floor(jsonArticle.widthBasicShapeNominalValue / 10),
1132
+ //idm gives values in mm
1133
+ height: Math.floor(jsonArticle.heightBasicShapeNominalValue / 10),
1134
+ //idm gives values in mm
1135
+ depth: Math.floor(jsonArticle.depthBasicShapeNominalValue / 10),
1136
+ //idm gives values in mm
1134
1137
  image: jsonArticle.image,
1135
1138
  templateCodex: jsonArticle.featureClassRefNo,
1136
1139
  price: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-seller",
3
- "version": "25.5.0-beta.1",
3
+ "version": "25.5.0-beta.3",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,9 +29,9 @@
29
29
  "react-dom": "^18.3.1"
30
30
  },
31
31
  "dependencies": {
32
- "@crystaldesign/analytics": "25.5.0-beta.1",
33
- "@crystaldesign/products-component": "25.5.0-beta.1",
34
- "@crystaldesign/real-time-viewer": "25.5.0-beta.1",
32
+ "@crystaldesign/analytics": "25.5.0-beta.3",
33
+ "@crystaldesign/products-component": "25.5.0-beta.3",
34
+ "@crystaldesign/real-time-viewer": "25.5.0-beta.3",
35
35
  "@emotion/react": "^11.4.1",
36
36
  "@emotion/styled": "^11.3.0",
37
37
  "@mui/icons-material": "^6.1.5",
@@ -43,5 +43,5 @@
43
43
  },
44
44
  "types": "./build/types/seller/src/index.d.ts",
45
45
  "module": "build/esm/index.js",
46
- "gitHead": "42f38e8c4444cbdf33cd0e253bef8acc1ab8dc33"
46
+ "gitHead": "a830d7afc737c5a53215fc46cfb17efd09ccfe85"
47
47
  }