@ruckc/truss-graph 1.51.0 → 1.51.1

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/Graph.svelte CHANGED
@@ -885,9 +885,9 @@
885
885
  .label { font-weight: 600; color: var(--tr-on-surface); }
886
886
  .subtitle { font-size: var(--tr-text-sm); color: var(--tr-on-surface-variant); }
887
887
 
888
- .port { position: absolute; z-index: 3; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--tr-surface-container-highest); border: 2px solid var(--tr-outline); box-sizing: border-box; transition: transform var(--tr-dur-fast) var(--tr-ease); }
888
+ .port { position: absolute; z-index: 3; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--tr-surface-container-highest); border: 2px solid var(--tr-outline); box-sizing: border-box; transition: transform var(--tr-dur-move-fast) var(--tr-ease); }
889
889
  .port[data-connectable='true'] { cursor: crosshair; }
890
- .port[data-connectable='true']:hover, .port[data-hot='true'] { background: var(--tr-primary); border-color: var(--tr-primary); transform: scale(1.35); }
890
+ .port[data-connectable='true']:hover, .port[data-hot='true'] { background: var(--tr-primary); border-color: var(--tr-primary); transform: scale(calc(1 + 0.35 * var(--tr-motion-distance))); }
891
891
  /* larger invisible hit area for ports */
892
892
  .port::after { content: ''; position: absolute; inset: -6px; }
893
893
  .plabel { position: absolute; z-index: 3; pointer-events: none; font: 600 10px var(--tr-font-sans); color: var(--tr-on-surface-variant); white-space: nowrap; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruckc/truss-graph",
3
- "version": "1.51.0",
3
+ "version": "1.51.1",
4
4
  "description": "Zero-dependency node/edge graph editor for Truss UI",
5
5
  "type": "module",
6
6
  "license": "MIT",