Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@blocksuite/affine-shared

Package Overview
Dependencies
Maintainers
0
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blocksuite/affine-shared - npm Package Compare versions

Comparing version 0.17.27 to 0.17.28

dist/commands/selection/get-selection-rects.d.ts

50

CHANGELOG.md
# @blocksuite/affine-shared
## 0.17.28
### Patch Changes
- 5ef420d: ## Feat
- feat(blocks): mobile at menu (#8681)
- feat: unify the reference data structure of inline, card and embed (#8689)
- feat(database): add placeholder for filter (#8701)
- feat(database): support for sorting event tracking (#8691)
## Fix
- fix: color of button is actived on color picker (#8685)
- fix: unable to switch to embed view when other pages link with mode (#8688)
- fix: the shape will turn black for a moment when dragging from the toolbar (#8698)
- fix(database): support for pasting linked doc into title cell (#8703)
- fix(database): menu cannot be close when it outside the doc (#8700)
- fix(database): number overflow (#8699)
- fix(database): prevent certain event propagation in the menu input (#8697)
- fix(database): toolbar icon color (#8695)
- fix(database): textarea of the title has unexpected line breaks (#8694)
- fix(database): can't create tag by clicking (#8693)
- fix(database): sorting of checkbox (#8692)
- fix: add paragraph when last block in note is not empty paragraph (#8690)
- fix: improve drag area (#8678)
- fix: edgeless crash on mobile safari (#8680)
## Chore
- chore: lock file maintenance (#8686)
## Refactor
- refactor(blocks): extract computation of selection rect to command (#8705)
- refactor(blocks): render linked doc popover with blocksuite-portal (#8664)
- refactor(blocks): move virutal keyboard controller to affine components (#8663)
- refactor(database): remove sortable.js (#8696)
## Other
- Introducing BlockSuite Guru on Gurubase.io (#8706)
- Updated dependencies [5ef420d]
- @blocksuite/affine-model@0.17.28
- @blocksuite/block-std@0.17.28
- @blocksuite/global@0.17.28
- @blocksuite/inline@0.17.28
- @blocksuite/store@0.17.28
## 0.17.27

@@ -4,0 +54,0 @@

2

dist/commands/index.d.ts
export { getBlockIndexCommand, getNextBlockCommand, getPrevBlockCommand, getSelectedBlocksCommand, } from './block-crud/index.js';
export { clearAndSelectFirstModelCommand, copySelectedModelsCommand, deleteSelectedModelsCommand, draftSelectedModelsCommand, duplicateSelectedModelsCommand, getSelectedModelsCommand, retainFirstModelCommand, } from './model-crud/index.js';
export { getBlockSelectionsCommand, getImageSelectionsCommand, getTextSelectionCommand, } from './selection/index.js';
export { getBlockSelectionsCommand, getImageSelectionsCommand, getSelectionRectsCommand, getTextSelectionCommand, type SelectionRect, } from './selection/index.js';
declare global {

@@ -5,0 +5,0 @@ namespace BlockSuite {

export { getBlockIndexCommand, getNextBlockCommand, getPrevBlockCommand, getSelectedBlocksCommand, } from './block-crud/index.js';
export { clearAndSelectFirstModelCommand, copySelectedModelsCommand, deleteSelectedModelsCommand, draftSelectedModelsCommand, duplicateSelectedModelsCommand, getSelectedModelsCommand, retainFirstModelCommand, } from './model-crud/index.js';
export { getBlockSelectionsCommand, getImageSelectionsCommand, getTextSelectionCommand, } from './selection/index.js';
export { getBlockSelectionsCommand, getImageSelectionsCommand, getSelectionRectsCommand, getTextSelectionCommand, } from './selection/index.js';
//# sourceMappingURL=index.js.map
export { getBlockSelectionsCommand } from './get-block-selections.js';
export { getImageSelectionsCommand } from './get-image-selections.js';
export { getSelectionRectsCommand, type SelectionRect, } from './get-selection-rects.js';
export { getTextSelectionCommand } from './get-text-selection.js';
//# sourceMappingURL=index.d.ts.map
export { getBlockSelectionsCommand } from './get-block-selections.js';
export { getImageSelectionsCommand } from './get-image-selections.js';
export { getSelectionRectsCommand, } from './get-selection-rects.js';
export { getTextSelectionCommand } from './get-text-selection.js';
//# sourceMappingURL=index.js.map

@@ -10,4 +10,4 @@ export * from './doc-mode-service.js';

export * from './quick-search-service.js';
export * from './telemetry-service.js';
export * from './telemetry-service/index.js';
export * from './theme-service.js';
//# sourceMappingURL=index.d.ts.map

@@ -10,4 +10,4 @@ export * from './doc-mode-service.js';

export * from './quick-search-service.js';
export * from './telemetry-service.js';
export * from './telemetry-service/index.js';
export * from './theme-service.js';
//# sourceMappingURL=index.js.map
{
"name": "@blocksuite/affine-shared",
"version": "0.17.27",
"version": "0.17.28",
"description": "Default BlockSuite editable blocks.",

@@ -22,7 +22,7 @@ "type": "module",

"dependencies": {
"@blocksuite/affine-model": "0.17.27",
"@blocksuite/block-std": "0.17.27",
"@blocksuite/global": "0.17.27",
"@blocksuite/inline": "0.17.27",
"@blocksuite/store": "0.17.27",
"@blocksuite/affine-model": "0.17.28",
"@blocksuite/block-std": "0.17.28",
"@blocksuite/global": "0.17.28",
"@blocksuite/inline": "0.17.28",
"@blocksuite/store": "0.17.28",
"@floating-ui/dom": "^1.6.10",

@@ -29,0 +29,0 @@ "@lit/context": "^1.1.2",

@@ -19,3 +19,5 @@ export {

getImageSelectionsCommand,
getSelectionRectsCommand,
getTextSelectionCommand,
type SelectionRect,
} from './selection/index.js';

@@ -22,0 +24,0 @@

export { getBlockSelectionsCommand } from './get-block-selections.js';
export { getImageSelectionsCommand } from './get-image-selections.js';
export {
getSelectionRectsCommand,
type SelectionRect,
} from './get-selection-rects.js';
export { getTextSelectionCommand } from './get-text-selection.js';

@@ -10,3 +10,3 @@ export * from './doc-mode-service.js';

export * from './quick-search-service.js';
export * from './telemetry-service.js';
export * from './telemetry-service/index.js';
export * from './theme-service.js';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc