@clepit/core 0.5.0-beta.350 → 0.5.0-beta.351

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,7 +1,11 @@
1
1
  import { EmbedResolution } from '../../../types';
2
2
  /** The `offer` paste preference: the link pastes as text, and a small chip
3
3
  * under the caret offers to show it live for one keystroke. Enter or the chip
4
- * converts; any other key, a click elsewhere or a moved selection dismisses. */
4
+ * converts; any other key, a click elsewhere or a moved selection dismisses.
5
+ * The key listener runs in the capture phase because the block's own keydown
6
+ * handler stops propagation on Enter and Backspace before it splits or
7
+ * removes the paragraph, so a bubbling listener on the document would never
8
+ * hear either key. */
5
9
  export declare const EmbedOffer: {
6
10
  dismiss(containerId: string): void;
7
11
  show(containerId: string, blockElement: HTMLElement, url: string, resolution: EmbedResolution): void;
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "types": "dist/index.d.ts",
56
- "version": "0.5.0-beta.350"
56
+ "version": "0.5.0-beta.351"
57
57
  }