@prosekit/web 0.3.10 → 0.3.12

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.
@@ -16,7 +16,7 @@ import { FocusChangeHandler } from '@prosekit/core';
16
16
  import { Keymap } from '@prosekit/core';
17
17
  import { ListboxProps } from '@aria-ui/listbox';
18
18
  import { Options } from 'tsup';
19
- import type { OverlayPositionerProps } from '@aria-ui/overlay';
19
+ import { OverlayPositionerProps } from '@aria-ui/overlay';
20
20
  import type { Placement } from '@floating-ui/dom';
21
21
  import { PopoverContentProps } from '@aria-ui/popover';
22
22
  import { PopoverRootProps } from '@aria-ui/popover';
@@ -25,7 +25,7 @@ import type { ProseMirrorNode } from '@prosekit/pm/model';
25
25
  import { ReadonlySignal } from '@aria-ui/core';
26
26
  import type { ReferenceElement } from '@floating-ui/dom';
27
27
  import { SignalState } from '@aria-ui/core';
28
- import type { TooltipContentProps } from '@aria-ui/tooltip';
28
+ import { TooltipContentProps } from '@aria-ui/tooltip';
29
29
  import { TooltipRootProps } from '@aria-ui/tooltip';
30
30
  import { TooltipTriggerProps } from '@aria-ui/tooltip';
31
31
  import { Union } from '@prosekit/core';
@@ -187,7 +187,9 @@ defineCustomElement("prosekit-autocomplete-list", AutocompleteListElement);
187
187
  import { ElementBuilder as ElementBuilder4 } from "@aria-ui/core";
188
188
 
189
189
  // src/components/autocomplete/autocomplete-popover/props.ts
190
- import { defaultOverlayPositionerProps } from "@aria-ui/overlay";
190
+ import {
191
+ defaultOverlayPositionerProps
192
+ } from "@aria-ui/overlay";
191
193
  var body = typeof document !== "undefined" && document.querySelector("body");
192
194
  var defaultBoundary = body || "clippingAncestors";
193
195
  var defaultAutocompletePopoverProps = Object.freeze({
@@ -79,7 +79,9 @@ defineCustomElement("prosekit-block-drag-handle", BlockDragHandleElement);
79
79
  import { ElementBuilder as ElementBuilder2 } from "@aria-ui/core";
80
80
 
81
81
  // src/components/block-handle/block-popover/props.ts
82
- import { defaultOverlayPositionerProps } from "@aria-ui/overlay";
82
+ import {
83
+ defaultOverlayPositionerProps
84
+ } from "@aria-ui/overlay";
83
85
  var defaultBlockPopoverProps = Object.freeze({
84
86
  ...defaultOverlayPositionerProps,
85
87
  editor: null,
@@ -9,7 +9,9 @@ import {
9
9
  import { ElementBuilder } from "@aria-ui/core";
10
10
 
11
11
  // src/components/inline-popover/inline-popover/props.ts
12
- import { defaultOverlayPositionerProps } from "@aria-ui/overlay";
12
+ import {
13
+ defaultOverlayPositionerProps
14
+ } from "@aria-ui/overlay";
13
15
  var defaultInlinePopoverProps = Object.freeze({
14
16
  ...defaultOverlayPositionerProps,
15
17
  editor: null,
@@ -50,7 +52,9 @@ function useEditorFocusChangeEvent(host, editor, handler) {
50
52
  }
51
53
 
52
54
  // src/hooks/use-editor-update-event.ts
53
- import { defineUpdateHandler } from "@prosekit/core";
55
+ import {
56
+ defineUpdateHandler
57
+ } from "@prosekit/core";
54
58
  function useEditorUpdateEvent(host, editor, handler) {
55
59
  const extension = defineUpdateHandler(handler);
56
60
  useEditorExtension(host, editor, extension);
@@ -6,7 +6,9 @@ import {
6
6
  import { ElementBuilder } from "@aria-ui/core";
7
7
 
8
8
  // src/components/tooltip/tooltip-content/props.ts
9
- import { defaultTooltipContentProps as defaultProps } from "@aria-ui/tooltip";
9
+ import {
10
+ defaultTooltipContentProps as defaultProps
11
+ } from "@aria-ui/tooltip";
10
12
  var defaultTooltipContentProps = {
11
13
  ...defaultProps,
12
14
  shift: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/web",
3
3
  "type": "module",
4
- "version": "0.3.10",
4
+ "version": "0.3.12",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -72,12 +72,12 @@
72
72
  "@aria-ui/popover": "^0.0.20",
73
73
  "@aria-ui/presence": "^0.0.14",
74
74
  "@aria-ui/tooltip": "^0.0.22",
75
- "@floating-ui/dom": "^1.6.9",
76
- "@zag-js/dom-query": "^0.64.0",
75
+ "@floating-ui/dom": "^1.6.10",
76
+ "@zag-js/dom-query": "^0.65.0",
77
77
  "just-omit": "^2.2.0",
78
- "@prosekit/extensions": "^0.7.10",
79
- "@prosekit/core": "^0.7.8",
80
- "@prosekit/pm": "^0.1.8"
78
+ "@prosekit/extensions": "^0.7.12",
79
+ "@prosekit/pm": "^0.1.8",
80
+ "@prosekit/core": "^0.7.9"
81
81
  },
82
82
  "devDependencies": {
83
83
  "tsup": "^8.2.4",