Skip to content

chore: version packages#62

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#62
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

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

Copy link
Copy Markdown

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

@floormap-tools/react@1.0.0

Minor Changes

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

    • @floormap-tools/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)
    • @floormap-tools/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
    • @floormap-tools/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.

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

Patch Changes

  • Updated dependencies [6c76624]
  • Updated dependencies [76f92f8]
    • @floormap-tools/core@0.2.0

@floormap-tools/core@0.2.0

Minor Changes

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

    • @floormap-tools/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)
    • @floormap-tools/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
    • @floormap-tools/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.

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

@floormap-tools/svg@1.0.0

Minor Changes

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

    • @floormap-tools/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)
    • @floormap-tools/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
    • @floormap-tools/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.

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

Patch Changes

  • Updated dependencies [6c76624]
  • Updated dependencies [76f92f8]
    • @floormap-tools/core@0.2.0

@floormap-tools/example-js-vanilla@0.0.2

Patch Changes

  • Updated dependencies [6c76624]
  • Updated dependencies [76f92f8]
    • @floormap-tools/core@0.2.0
    • @floormap-tools/svg@1.0.0

@floormap-tools/example-react@0.0.2

Patch Changes

  • Updated dependencies [6c76624]
  • Updated dependencies [76f92f8]
    • @floormap-tools/core@0.2.0
    • @floormap-tools/react@1.0.0

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 90a378f to 4153977 Compare June 22, 2026 21:54
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.

0 participants