Skip to content

chore: version packages - #62

Merged
lucasfelixs merged 1 commit into
mainfrom
changeset-release/main
Oct 1, 2026
Merged

lucasfelixs merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@spatial-kit/react@0.2.0

Minor Changes

  • 6c76624: Add interactive entity resizing via drag handles.

    • @spatial-kit/core exports a new ResizeDirection type ('n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'), hitTestResizeHandles to detect which handle is under the cursor in screen space, and applyResizeDelta to compute new bounds from a world-space drag delta (with optional snap-to-grid on the edge position)
    • @spatial-kit/svg adds paintResizeHandles painter that draws 8 handles around each selected entity at a consistent pixel size regardless of zoom, and wires resize drag into attachHandlers with a priority-over-entity-drag rule
    • @spatial-kit/react adds a ResizeHandles internal component that renders the same 8 handles declaratively, and wires resize drag into attachHandlers with the same state machine (idle → pending → resize → idle)
  • 76f92f8: Add snap-to-grid support for entity drag.

    • @spatial-kit/core exports a new snapToGrid(value, gridSize) utility that rounds a world-space coordinate to the nearest grid multiple
    • @spatial-kit/svg accepts a snapToGrid?: number option on mountSvgRenderer; when set, entity positions are snapped on every drag frame
    • @spatial-kit/react accepts a snapToGrid?: number prop on SpatialCanvas with the same behavior
  • 0ba45d2: Support React 19. The react peer dependency now accepts ^18.0.0 || ^19.0.0.

@spatial-kit/core@0.2.0

Minor Changes

  • 6c76624: Add interactive entity resizing via drag handles.

    • @spatial-kit/core exports a new ResizeDirection type ('n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'), hitTestResizeHandles to detect which handle is under the cursor in screen space, and applyResizeDelta to compute new bounds from a world-space drag delta (with optional snap-to-grid on the edge position)
    • @spatial-kit/svg adds paintResizeHandles painter that draws 8 handles around each selected entity at a consistent pixel size regardless of zoom, and wires resize drag into attachHandlers with a priority-over-entity-drag rule
    • @spatial-kit/react adds a ResizeHandles internal component that renders the same 8 handles declaratively, and wires resize drag into attachHandlers with the same state machine (idle → pending → resize → idle)
  • 76f92f8: Add snap-to-grid support for entity drag.

    • @spatial-kit/core exports a new snapToGrid(value, gridSize) utility that rounds a world-space coordinate to the nearest grid multiple
    • @spatial-kit/svg accepts a snapToGrid?: number option on mountSvgRenderer; when set, entity positions are snapped on every drag frame
    • @spatial-kit/react accepts a snapToGrid?: number prop on SpatialCanvas with the same behavior

@spatial-kit/svg@0.2.0

Minor Changes

  • 6c76624: Add interactive entity resizing via drag handles.

    • @spatial-kit/core exports a new ResizeDirection type ('n' | 'ne' | 'e' | 'se' | 's' | 'sw' | 'w' | 'nw'), hitTestResizeHandles to detect which handle is under the cursor in screen space, and applyResizeDelta to compute new bounds from a world-space drag delta (with optional snap-to-grid on the edge position)
    • @spatial-kit/svg adds paintResizeHandles painter that draws 8 handles around each selected entity at a consistent pixel size regardless of zoom, and wires resize drag into attachHandlers with a priority-over-entity-drag rule
    • @spatial-kit/react adds a ResizeHandles internal component that renders the same 8 handles declaratively, and wires resize drag into attachHandlers with the same state machine (idle → pending → resize → idle)
  • 76f92f8: Add snap-to-grid support for entity drag.

    • @spatial-kit/core exports a new snapToGrid(value, gridSize) utility that rounds a world-space coordinate to the nearest grid multiple
    • @spatial-kit/svg accepts a snapToGrid?: number option on mountSvgRenderer; when set, entity positions are snapped on every drag frame
    • @spatial-kit/react accepts a snapToGrid?: number prop on SpatialCanvas with the same behavior

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 90a378f to 4153977 Compare June 22, 2026 21:54
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 7 times, most recently from 576f83a to a0d0b25 Compare October 1, 2026 13:13
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a0d0b25 to 87b6334 Compare October 1, 2026 13:35
@lucasfelixs
lucasfelixs merged commit 81091fc into main Oct 1, 2026
@lucasfelixs
lucasfelixs deleted the changeset-release/main branch October 1, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant