@saltcorn/builder 1.1.4-beta.3 → 1.1.4-beta.6

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": "@saltcorn/builder",
3
- "version": "1.1.4-beta.3",
3
+ "version": "1.1.4-beta.6",
4
4
  "description": "Drag and drop view builder for Saltcorn, open-source no-code platform",
5
5
  "main": "index.js",
6
6
  "homepage": "https://saltcorn.com",
@@ -20,7 +20,7 @@
20
20
  "@babel/preset-react": "7.24.7",
21
21
  "@craftjs/core": "0.1.0-beta.20",
22
22
  "@craftjs/utils": "0.1.0-beta.20",
23
- "@saltcorn/common-code": "1.1.4-beta.3",
23
+ "@saltcorn/common-code": "1.1.4-beta.6",
24
24
  "saltcorn-craft-layers-noeye": "0.1.0-beta.22",
25
25
  "@fonticonpicker/react-fonticonpicker": "1.2.0",
26
26
  "@fortawesome/fontawesome-svg-core": "1.2.34",
@@ -27,8 +27,8 @@ const BoxModelEditor = ({ setProp, node, sizeWithStyle }) => {
27
27
  const selectedProperty = !selectedCategory
28
28
  ? false
29
29
  : selectedDirection
30
- ? `${selectedCategory}-${selectedDirection}`
31
- : selectedCategory;
30
+ ? `${selectedCategory}-${selectedDirection}`
31
+ : selectedCategory;
32
32
  const setCatAndDir = (c, d) => {
33
33
  setSelectedCategory(c);
34
34
  setSelectedDirection(d);
@@ -149,8 +149,8 @@ const BoxModelEditor = ({ setProp, node, sizeWithStyle }) => {
149
149
  sizeWithStyle
150
150
  ? style["width"]
151
151
  : node.width
152
- ? `${node.width}${node.widthUnits || "px"}`
153
- : ""
152
+ ? `${node.width}${node.widthUnit || "px"}`
153
+ : ""
154
154
  }
155
155
  />
156
156
  x
@@ -164,8 +164,8 @@ const BoxModelEditor = ({ setProp, node, sizeWithStyle }) => {
164
164
  sizeWithStyle
165
165
  ? style["height"]
166
166
  : node.height
167
- ? `${node.height}${node.heightUnits || "px"}`
168
- : ""
167
+ ? `${node.height}${node.heightUnit || "px"}`
168
+ : ""
169
169
  }
170
170
  />
171
171
  </div>