@blocksuite/global
Advanced tools
Comparing version 0.18.4 to 0.18.5
# @blocksuite/global | ||
## 0.18.5 | ||
### Patch Changes | ||
- ec2956c: ## Feat | ||
- feat: api for encode and decode dnd data (#8909) | ||
- feat(blocks): add event tracking for linked doc (#8876) | ||
- feat(playground): outside click to close docs panel (#8885) | ||
## Fix | ||
- fix(store): fix awareness destroy (#8904) | ||
- fix: switch card view style does not work (#8886) | ||
- fix: no need to save aliases on embed synced doc model (#8884) | ||
- fix: should differentiate between internal and external links when pasting links (#8896) | ||
- fix(presets): incorrectly adding page root widgets to edgeless (#8897) | ||
- fix: sentry-0f7fafa98f7c483ca95c04c188f485b8 (#8892) | ||
- fix: sentry-2d6423fce9c242ec9e63364243a6cf59 (#8891) | ||
- fix: sentry-d6ecba020e5047e394de05bf0ff77e71 (#8890) | ||
- fix: sentry-6d40eee6cbcd4704bb2dff3d5347544c (#8889) | ||
- fix: sentry-f25281abb20a4260aa424741c30e5756 (#8888) | ||
- fix(playground): starter debug menu theming (#8883) | ||
- fix(playground): adapt docs panel to dark mode (#8881) | ||
- fix: should show alias icon when title has alias (#8880) | ||
## Chore | ||
- chore: lock file maintenance (#8895) | ||
## Refactor | ||
- refactor(playground): remove redundant doc init logic (#8906) | ||
## 0.18.4 | ||
@@ -4,0 +38,0 @@ |
@@ -106,2 +106,7 @@ // control coords are not relative to start or end | ||
export function getBezierParameters(points) { | ||
// Fallback for degenerate Bezier curve (all points are at the same position) | ||
if (points.length === 1) { | ||
const point = points[0]; | ||
return [point, point, point, point]; | ||
} | ||
return [points[0], points[0].absOut, points[1].absIn, points[1]]; | ||
@@ -108,0 +113,0 @@ } |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.18.4", | ||
"version": "0.18.5", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -147,2 +147,8 @@ // control coords are not relative to start or end | ||
): BezierCurveParameters { | ||
// Fallback for degenerate Bezier curve (all points are at the same position) | ||
if (points.length === 1) { | ||
const point = points[0]; | ||
return [point, point, point, point]; | ||
} | ||
return [points[0], points[0].absOut, points[1].absIn, points[1]]; | ||
@@ -149,0 +155,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
728600
11058