@yungu-fed/rich-text-editor 0.1.7 → 0.1.8

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.
package/dist/index.js CHANGED
@@ -14295,6 +14295,11 @@ function Fh() {
14295
14295
  children: (0, f.jsxs)("section", {
14296
14296
  "aria-label": e.formulaDialogLabel,
14297
14297
  className: Mh.dialog,
14298
+ role: "dialog",
14299
+ "aria-modal": "true",
14300
+ onKeyDown: function onKeyDown(e) {
14301
+ e.key === "Escape" && (e.stopPropagation(), s());
14302
+ },
14298
14303
  children: [(0, f.jsx)(Nh, {
14299
14304
  autoFocus: !0,
14300
14305
  onChange: i,
package/dist/index.mjs CHANGED
@@ -9994,6 +9994,11 @@ function $h() {
9994
9994
  children: /* @__PURE__ */ S("section", {
9995
9995
  "aria-label": e.formulaDialogLabel,
9996
9996
  className: Xh.dialog,
9997
+ role: "dialog",
9998
+ "aria-modal": "true",
9999
+ onKeyDown: (e) => {
10000
+ e.key === "Escape" && (e.stopPropagation(), s());
10001
+ },
9997
10002
  children: [
9998
10003
  /* @__PURE__ */ x(Zh, {
9999
10004
  autoFocus: !0,
@@ -1 +1 @@
1
- {"version":3,"file":"FormulaDialogContent.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/styled/FormulaDialogContent.tsx"],"names":[],"mappings":"AAcA,wBAAgB,oBAAoB,gBAuFnC"}
1
+ {"version":3,"file":"FormulaDialogContent.d.ts","sourceRoot":"","sources":["../../../src/rich-text-editor/styled/FormulaDialogContent.tsx"],"names":[],"mappings":"AAcA,wBAAgB,oBAAoB,gBA6FnC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yungu-fed/rich-text-editor",
3
3
  "private": false,
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",