fix: improve TSDoc comments for NodeResizerProps and ResizeControlProps

This commit is contained in:
Dimitri POSTOLOV
2025-04-01 20:52:26 +02:00
parent 245b6265a6
commit 89de9ca83f
3 changed files with 9 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@xyflow/svelte': patch
'@xyflow/system': patch
---
fix: use `rgba` for colors with opacity instead of `rgb`
@@ -297,7 +297,7 @@
--background-color-default: #fff;
--background-pattern-color-default: #ddd;
--minimap-mask-color-default: rgb(240, 240, 240, 0.6);
--minimap-mask-color-default: rgba(240, 240, 240, 0.6);
--minimap-mask-stroke-color-default: none;
--minimap-mask-stroke-width-default: 1;
+2 -2
View File
@@ -13,7 +13,7 @@
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
--xy-minimap-background-color-default: #fff;
--xy-minimap-mask-background-color-default: rgb(240, 240, 240, 0.6);
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
--xy-minimap-mask-stroke-color-default: transparent;
--xy-minimap-mask-stroke-width-default: 1;
--xy-minimap-node-background-color-default: #e2e2e2;
@@ -37,7 +37,7 @@
--xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);
--xy-minimap-background-color-default: #141414;
--xy-minimap-mask-background-color-default: rgb(60, 60, 60, 0.6);
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
--xy-minimap-mask-stroke-color-default: transparent;
--xy-minimap-mask-stroke-width-default: 1;
--xy-minimap-node-background-color-default: #2b2b2b;