x-block-lib 0.10.13 → 0.10.14

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 (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -338,9 +338,9 @@ var Sn = (e, t) => {
338
338
  if (!i) return;
339
339
  e.removeField("VALUE", !0), e.removeField("SUFFIX", !0);
340
340
  let a, o;
341
- i.value === "pixel" ? (a = new r(Ue(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
341
+ i.trait === "pixel" ? (a = new r(Ue(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
342
342
  this.value = e + "px";
343
- }), o = "px") : i.value === "percent" && (a = new r(He(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
343
+ }), o = "px") : i.trait === "percent" && (a = new r(He(this.value) ?? 0, i.min, i.max, i.precision ? 1 / 10 ** i.precision : null, (e) => {
344
344
  this.value = e + "%";
345
345
  }), o = "%"), a && e.appendField(a, "VALUE"), o && e.appendField(o, "SUFFIX");
346
346
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.10.13",
4
+ "version": "0.10.14",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "peerDependencies": {
43
43
  "x-error-lib": "^0.5.16",
44
44
  "x-essential-lib": "^0.9.29",
45
- "x-runtime-lib": "^0.9.0",
45
+ "x-runtime-lib": "^0.9.3",
46
46
  "x-state-lib": "^0.3.42"
47
47
  },
48
48
  "devDependencies": {