@prosekit/web 0.3.2 → 0.3.4

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.
@@ -218,6 +218,7 @@ import {
218
218
  createComputed,
219
219
  createSignal as createSignal3,
220
220
  useAnimationFrame,
221
+ useAttribute,
221
222
  useEffect as useEffect4
222
223
  } from "@aria-ui/core";
223
224
  import { useOverlayPositionerState } from "@aria-ui/overlay";
@@ -274,6 +275,7 @@ function useAutocompletePopover(host, state) {
274
275
  onSubmit
275
276
  );
276
277
  useOverlayPositionerState(host, overlayState, { reference });
278
+ useAttribute(host, "data-state", () => presence.get() ? "open" : "closed");
277
279
  usePresence(host, presence);
278
280
  const firstRendering = useFirstRendering(host);
279
281
  useEffect4(host, () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/web",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -73,15 +73,15 @@
73
73
  "@aria-ui/presence": "^0.0.13",
74
74
  "@aria-ui/tooltip": "^0.0.21",
75
75
  "@floating-ui/dom": "^1.6.7",
76
- "@zag-js/dom-query": "^0.61.0",
77
- "@prosekit/core": "^0.7.3",
78
- "@prosekit/pm": "^0.1.6",
79
- "@prosekit/extensions": "^0.7.3"
76
+ "@zag-js/dom-query": "^0.61.1",
77
+ "@prosekit/core": "^0.7.4",
78
+ "@prosekit/extensions": "^0.7.4",
79
+ "@prosekit/pm": "^0.1.6"
80
80
  },
81
81
  "devDependencies": {
82
- "tsup": "^8.1.0",
82
+ "tsup": "^8.1.2",
83
83
  "typescript": "^5.5.3",
84
- "vitest": "^2.0.2",
84
+ "vitest": "^2.0.3",
85
85
  "@prosekit/dev": "0.0.0"
86
86
  },
87
87
  "scripts": {