Update Vec

This commit is contained in:
Steve Ruiz 2022-06-21 08:56:49 +01:00
parent a17bd18ae2
commit 7555c22632
5 changed files with 11 additions and 4 deletions

View file

@ -38,7 +38,7 @@
},
"dependencies": {
"@tldraw/intersect": "^1.7.1",
"@tldraw/vec": "^1.7.0",
"@tldraw/vec": "^1.7.1",
"@use-gesture/react": "^10.2.14",
"mobx-react-lite": "^3.2.3",
"perfect-freehand": "^1.1.0",

View file

@ -33,7 +33,7 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@tldraw/vec": "^1.7.0"
"@tldraw/vec": "^1.7.1"
},
"devDependencies": {
"@tldraw/vec": "*",

View file

@ -49,7 +49,7 @@
"@stitches/react": "^1.2.8",
"@tldraw/core": "^1.14.0",
"@tldraw/intersect": "^1.7.1",
"@tldraw/vec": "^1.7.0",
"@tldraw/vec": "^1.7.1",
"idb-keyval": "^6.1.0",
"lz-string": "^1.4.4",
"perfect-freehand": "^1.1.0",

View file

@ -1,5 +1,12 @@
# Changelog
## 1.7.1
### Patch Changes
- - Adds `Vec.nearestPointOnBounds`
- Adds `Vec.distanceToBounds`
## 1.7.0
### Minor Changes

View file

@ -1,5 +1,5 @@
{
"version": "1.7.0",
"version": "1.7.1",
"name": "@tldraw/vec",
"description": "2D vector utilities for TLDraw and maybe you, too.",
"author": "@steveruizok",