@zoneflow/renderer-dom 0.0.20 → 0.0.21
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.
|
@@ -878,6 +878,9 @@ export const domDrawEngine = {
|
|
|
878
878
|
opacity: getOpacity(visibility.emphasis),
|
|
879
879
|
overflow: "visible",
|
|
880
880
|
zIndex: zoneDepth + RENDER_Z_INDEX.zoneBase,
|
|
881
|
+
// zoneLayer 가 pointer-events: none 이고 이 속성은 상속되므로,
|
|
882
|
+
// 명시하지 않으면 카드에서 슬롯 사각형 밖 영역의 클릭이 배경으로 빠진다.
|
|
883
|
+
pointerEvents: "auto",
|
|
881
884
|
});
|
|
882
885
|
const shape = normalizeZoneShape(input.resolveZoneShape?.(zoneVisual.zone));
|
|
883
886
|
// Consumer-resolved per-zone color overrides the theme's border + accent
|
|
@@ -1002,6 +1005,8 @@ export const domDrawEngine = {
|
|
|
1002
1005
|
opacity: getOpacity(visibility.emphasis),
|
|
1003
1006
|
zIndex: RENDER_Z_INDEX.pathNode,
|
|
1004
1007
|
overflow: "hidden",
|
|
1008
|
+
// pathLayer 의 pointer-events: none 상속 차단 — zoneEl 과 동일한 이유.
|
|
1009
|
+
pointerEvents: "auto",
|
|
1005
1010
|
});
|
|
1006
1011
|
pathEl.addEventListener("click", (event) => {
|
|
1007
1012
|
event.stopPropagation();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoneflow/renderer-dom",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Low-level DOM renderer engines for Zoneflow.",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@zoneflow/core": "0.0.
|
|
22
|
+
"@zoneflow/core": "0.0.21"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsc -p tsconfig.json",
|