@blocksuite/affine-widget-scroll-anchoring
Advanced tools
Comparing version 0.0.0-canary-20240926001339 to 0.0.0-canary-20240927001403
# @blocksuite/affine-widget-scroll-anchoring | ||
## 0.0.0-canary-20240926001339 | ||
## 0.0.0-canary-20240927001403 | ||
@@ -9,7 +9,36 @@ ### Patch Changes | ||
- Updated dependencies | ||
- @blocksuite/affine-model@0.0.0-canary-20240926001339 | ||
- @blocksuite/affine-shared@0.0.0-canary-20240926001339 | ||
- @blocksuite/block-std@0.0.0-canary-20240926001339 | ||
- @blocksuite/global@0.0.0-canary-20240926001339 | ||
- @blocksuite/affine-model@0.0.0-canary-20240927001403 | ||
- @blocksuite/affine-shared@0.0.0-canary-20240927001403 | ||
- @blocksuite/block-std@0.0.0-canary-20240927001403 | ||
- @blocksuite/global@0.0.0-canary-20240927001403 | ||
## 0.17.17 | ||
### Patch Changes | ||
- a89c9c1: ## Features | ||
- feat: selection extension [#8464](https://github.com/toeverything/blocksuite/pull/8464) | ||
## Bug Fixes | ||
- perf(edgeless): reduce refresh of frame overlay [#8476](https://github.com/toeverything/blocksuite/pull/8476) | ||
- fix(blocks): improve edgeless text block resizing behavior [#8473](https://github.com/toeverything/blocksuite/pull/8473) | ||
- fix: turn off smooth scaling and cache bounds [#8472](https://github.com/toeverything/blocksuite/pull/8472) | ||
- fix: add strategy option for portal [#8470](https://github.com/toeverything/blocksuite/pull/8470) | ||
- fix(blocks): fix slash menu is triggered in ignored blocks [#8469](https://github.com/toeverything/blocksuite/pull/8469) | ||
- fix(blocks): incorrect width of embed-linked-doc-block in edgeless [#8463](https://github.com/toeverything/blocksuite/pull/8463) | ||
- fix: improve open link on link popup [#8462](https://github.com/toeverything/blocksuite/pull/8462) | ||
- fix: do not enable shift-click center peek in edgeless [#8460](https://github.com/toeverything/blocksuite/pull/8460) | ||
- fix(database): disable database block full-width in edgeless mode [#8461](https://github.com/toeverything/blocksuite/pull/8461) | ||
- fix: check editable element active more accurately [#8457](https://github.com/toeverything/blocksuite/pull/8457) | ||
- fix: edgeless image block rotate [#8458](https://github.com/toeverything/blocksuite/pull/8458) | ||
- fix: outline popup ref area [#8456](https://github.com/toeverything/blocksuite/pull/8456) | ||
- Updated dependencies [a89c9c1] | ||
- @blocksuite/affine-model@0.17.17 | ||
- @blocksuite/affine-shared@0.17.17 | ||
- @blocksuite/block-std@0.17.17 | ||
- @blocksuite/global@0.17.17 | ||
## 0.17.16 | ||
@@ -16,0 +45,0 @@ |
import type { DocMode } from '@blocksuite/affine-model'; | ||
import { HighlightSelection } from '@blocksuite/affine-shared/selection'; | ||
import '@blocksuite/affine-shared/selection'; | ||
import { WidgetComponent } from '@blocksuite/block-std'; | ||
@@ -16,3 +16,3 @@ import { Bound } from '@blocksuite/global/utils'; | ||
anchorBounds$: import("@preact/signals-core").Signal<Bound | null>; | ||
highlighted$: import("@preact/signals-core").ReadonlySignal<HighlightSelection | undefined>; | ||
highlighted$: import("@preact/signals-core").ReadonlySignal<import("@blocksuite/affine-shared/selection").HighlightSelection | undefined>; | ||
connectedCallback(): void; | ||
@@ -19,0 +19,0 @@ disconnectedCallback(): void; |
@@ -1,2 +0,2 @@ | ||
import { HighlightSelection } from '@blocksuite/affine-shared/selection'; | ||
import '@blocksuite/affine-shared/selection'; | ||
import { WidgetComponent } from '@blocksuite/block-std'; | ||
@@ -135,3 +135,2 @@ import { GfxControllerIdentifier, } from '@blocksuite/block-std/gfx'; | ||
super.connectedCallback(); | ||
this.std.selection.register(HighlightSelection); | ||
this.#resizeObserver.observe(this.offsetParent); | ||
@@ -138,0 +137,0 @@ this.handleEvent('wheel', this.#requestUpdateFn); |
{ | ||
"name": "@blocksuite/affine-widget-scroll-anchoring", | ||
"version": "0.0.0-canary-20240926001339", | ||
"version": "0.0.0-canary-20240927001403", | ||
"description": "Affine scroll anchoring widget.", | ||
@@ -22,6 +22,6 @@ "type": "module", | ||
"dependencies": { | ||
"@blocksuite/affine-model": "0.0.0-canary-20240926001339", | ||
"@blocksuite/affine-shared": "0.0.0-canary-20240926001339", | ||
"@blocksuite/block-std": "0.0.0-canary-20240926001339", | ||
"@blocksuite/global": "0.0.0-canary-20240926001339", | ||
"@blocksuite/affine-model": "0.0.0-canary-20240927001403", | ||
"@blocksuite/affine-shared": "0.0.0-canary-20240927001403", | ||
"@blocksuite/block-std": "0.0.0-canary-20240927001403", | ||
"@blocksuite/global": "0.0.0-canary-20240927001403", | ||
"@preact/signals-core": "^1.8.0", | ||
@@ -28,0 +28,0 @@ "@toeverything/theme": "^1.0.8", |
import type { DocMode } from '@blocksuite/affine-model'; | ||
import { HighlightSelection } from '@blocksuite/affine-shared/selection'; | ||
import '@blocksuite/affine-shared/selection'; | ||
import { WidgetComponent } from '@blocksuite/block-std'; | ||
@@ -184,4 +184,2 @@ import { | ||
this.std.selection.register(HighlightSelection); | ||
this.#resizeObserver.observe(this.offsetParent!); | ||
@@ -188,0 +186,0 @@ this.handleEvent('wheel', this.#requestUpdateFn); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40936
457
+ Added@blocksuite/affine-model@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/affine-shared@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/block-std@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/global@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/inline@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/store@0.0.0-canary-20240927001403(transitive)
+ Added@blocksuite/sync@0.0.0-canary-20240927001403(transitive)
- Removed@blocksuite/affine-model@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/affine-shared@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/block-std@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/global@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/inline@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/store@0.0.0-canary-20240926001339(transitive)
- Removed@blocksuite/sync@0.0.0-canary-20240926001339(transitive)
Updated@blocksuite/affine-shared@0.0.0-canary-20240927001403