@sobree/block-tools 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { BlockTarget } from './blockKinds';
2
1
  import { Editor } from '@sobree/core';
2
+ import { BlockTarget } from './blockKinds';
3
3
  export interface IndicatorOptions {
4
4
  stackRoot: HTMLElement;
5
5
  /** Editor instance — used for the `selection` event subscription so
package/dist/toolbar.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { BlockTarget } from './blockKinds';
2
1
  import { Viewport } from '@sobree/core';
2
+ import { BlockTarget } from './blockKinds';
3
3
  export interface FloatingToolbarOptions {
4
4
  /**
5
5
  * Stack root — used to re-resolve the target element by `data-block-id`
@@ -1,5 +1,5 @@
1
- import { BlockTarget } from '../blockKinds';
2
1
  import { BlockRef, Editor } from '@sobree/core';
2
+ import { BlockTarget } from '../blockKinds';
3
3
  export interface ChangeTypeContext {
4
4
  editor: Editor;
5
5
  target: BlockTarget;
@@ -1,5 +1,5 @@
1
- import { BlockKind, BlockTarget } from '../blockKinds';
2
1
  import { Editor } from '@sobree/core';
2
+ import { BlockKind, BlockTarget } from '../blockKinds';
3
3
  export interface PerKindContext {
4
4
  editor: Editor;
5
5
  target: BlockTarget;
@@ -1,5 +1,5 @@
1
- import { BlockTarget } from '../blockKinds';
2
1
  import { Editor } from '@sobree/core';
2
+ import { BlockTarget } from '../blockKinds';
3
3
  export type TableMode = "cell" | "table";
4
4
  export interface TableContext {
5
5
  editor: Editor;
@@ -1,5 +1,5 @@
1
- import { BlockTarget } from '../blockKinds';
2
1
  import { Editor } from '@sobree/core';
2
+ import { BlockTarget } from '../blockKinds';
3
3
  export interface ToolContext {
4
4
  editor: Editor;
5
5
  target: BlockTarget;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sobree/block-tools",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,7 +41,7 @@
41
41
  "LICENSE"
42
42
  ],
43
43
  "peerDependencies": {
44
- "@sobree/core": "0.1.9"
44
+ "@sobree/core": "0.1.11"
45
45
  },
46
46
  "scripts": {
47
47
  "typecheck": "tsc --noEmit",