@servlyadmin/runtime-core 0.1.17 → 0.1.18

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/dist/index.cjs CHANGED
@@ -17804,11 +17804,8 @@ function applyStyles(element, styles) {
17804
17804
  }
17805
17805
  }
17806
17806
  var CANVAS_ONLY_STYLES = /* @__PURE__ */ new Set([
17807
- "transform",
17808
- "--translate-x",
17809
- "--translate-y",
17810
- "--width",
17811
- "--height",
17807
+ // Only filter out z-index which is purely for canvas layering
17808
+ // Keep --width, --height, --translate-x, --translate-y as they're used for sizing/positioning
17812
17809
  "z-index",
17813
17810
  "zIndex"
17814
17811
  ]);
@@ -17818,9 +17815,6 @@ function filterCanvasStyles(style) {
17818
17815
  if (CANVAS_ONLY_STYLES.has(key)) {
17819
17816
  continue;
17820
17817
  }
17821
- if (key === "transform" && typeof value === "string" && value.includes("translate(")) {
17822
- continue;
17823
- }
17824
17818
  filtered[key] = value;
17825
17819
  }
17826
17820
  return filtered;
package/dist/index.js CHANGED
@@ -1008,11 +1008,8 @@ function applyStyles(element, styles) {
1008
1008
  }
1009
1009
  }
1010
1010
  var CANVAS_ONLY_STYLES = /* @__PURE__ */ new Set([
1011
- "transform",
1012
- "--translate-x",
1013
- "--translate-y",
1014
- "--width",
1015
- "--height",
1011
+ // Only filter out z-index which is purely for canvas layering
1012
+ // Keep --width, --height, --translate-x, --translate-y as they're used for sizing/positioning
1016
1013
  "z-index",
1017
1014
  "zIndex"
1018
1015
  ]);
@@ -1022,9 +1019,6 @@ function filterCanvasStyles(style) {
1022
1019
  if (CANVAS_ONLY_STYLES.has(key)) {
1023
1020
  continue;
1024
1021
  }
1025
- if (key === "transform" && typeof value === "string" && value.includes("translate(")) {
1026
- continue;
1027
- }
1028
1022
  filtered[key] = value;
1029
1023
  }
1030
1024
  return filtered;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servlyadmin/runtime-core",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Framework-agnostic core renderer for Servly components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",