@fileverse-dev/dsheet 2.0.28-comment-ux-1 → 2.0.28-comment-ux-2

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.
@@ -20137,7 +20137,15 @@ const Km = ({
20137
20137
  return;
20138
20138
  }
20139
20139
  d();
20140
- }, [e.editingCommentBox, d, a]), ke(() => () => a(), [a]);
20140
+ }, [e.editingCommentBox, d, a]), ke(() => () => a(), [a]), ke(() => {
20141
+ if (!e.editingCommentBox) return;
20142
+ const m = (p) => {
20143
+ p.key === "Escape" && (a(), t((f) => {
20144
+ f.editingCommentBox = void 0;
20145
+ }), p.stopPropagation());
20146
+ };
20147
+ return window.addEventListener("keydown", m, !0), () => window.removeEventListener("keydown", m, !0);
20148
+ }, [e.editingCommentBox, t, a]);
20141
20149
  const c = (m, p, f, g) => (v) => {
20142
20150
  const { nativeEvent: x } = v;
20143
20151
  t((w) => {
@@ -38769,7 +38777,7 @@ const Ro = ({
38769
38777
  const [u, i] = be(!1);
38770
38778
  return { handleXLSXUpload: Ce(
38771
38779
  async (d, c, h) => {
38772
- const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-Bpkyx45F.js");
38780
+ const { runXlsxFileUpload: m } = await import("./use-xlsx-import-impl-C6yuPhBV.js");
38773
38781
  return m(
38774
38782
  {
38775
38783
  sheetEditorRef: e,
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as S, e as h, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as g, q as x, r as f, s as L, t as R, u, v as T, w as b } from "./index-2vLbFjwl.js";
1
+ import { S as s, i as l, T as o, a as r, c as t, b as n, h as d, d as S, e as h, f as i, g as c, j as m, k as p, l as C, n as E, o as F, p as g, q as x, r as f, s as L, t as R, u, v as T, w as b } from "./index-tiMvJnaC.js";
2
2
  import { bJ as I, bK as w, bL as V, bO as k, ba as X, e as _, f as v, h as y, a as z, c9 as M, ap as O, cg as P } from "./executeStringFunction-BspF8hVB.js";
3
3
  import { FLVURL as j } from "@fileverse-dev/formulajs";
4
4
  import { E as H, S as J } from "./constants-CnhOvijG.js";
@@ -1,6 +1,6 @@
1
1
  import { g as Ue } from "./executeStringFunction-BspF8hVB.js";
2
2
  import * as qe from "yjs";
3
- import { m as Xe, y as Ze } from "./index-2vLbFjwl.js";
3
+ import { m as Xe, y as Ze } from "./index-tiMvJnaC.js";
4
4
  import { n as Je } from "./xlsx-hyperlink-inline-DzewAypN.js";
5
5
  import { toast as Be } from "@fileverse/ui";
6
6
  var We = { exports: {} };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "2.0.28-comment-ux-1",
5
+ "version": "2.0.28-comment-ux-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {