react-dsl-editor 0.2.1 → 0.2.3
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/react-dsl-editor.js +3 -2
- package/package.json +3 -2
package/dist/react-dsl-editor.js
CHANGED
|
@@ -8,8 +8,9 @@ const textStyle = {
|
|
|
8
8
|
fontSize: "1em",
|
|
9
9
|
lineHeight: "1.3em",
|
|
10
10
|
fontFamily: "monospace"
|
|
11
|
-
}, ReadOnlyTextarea = forwardRef(function({ wrap: o, children: _, style: v = {} }) {
|
|
11
|
+
}, ReadOnlyTextarea = forwardRef(function({ wrap: o, children: _, style: v = {} }, y) {
|
|
12
12
|
return /* @__PURE__ */ jsx("pre", {
|
|
13
|
+
ref: y,
|
|
13
14
|
style: {
|
|
14
15
|
...textStyle,
|
|
15
16
|
pointerEvents: "none",
|
|
@@ -517,7 +518,7 @@ function DslEditor({ code: o, onChange: y, onParsed: T, grammar: E, wrap: D = !1
|
|
|
517
518
|
children: [
|
|
518
519
|
/* @__PURE__ */ jsx("textarea", {
|
|
519
520
|
ref: U,
|
|
520
|
-
|
|
521
|
+
spellCheck: !1,
|
|
521
522
|
wrap: D ? "soft" : "off",
|
|
522
523
|
style: {
|
|
523
524
|
...textStyle,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dsl-editor",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/rzymek/react-dsl-editor"
|
|
7
7
|
},
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"access": "public",
|
|
10
10
|
"provenance": true
|
|
11
11
|
},
|
|
12
|
+
"packageManager": "pnpm@10.24.0",
|
|
12
13
|
"type": "module",
|
|
13
14
|
"module": "./dist/react-dsl-editor.js",
|
|
14
15
|
"types": "./dist/index.d.ts",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"react-dom": "^19.2.3",
|
|
51
52
|
"rimraf": "^6.1.2",
|
|
52
53
|
"typescript": "~5.9.3",
|
|
53
|
-
"typescript-eslint": "^8.
|
|
54
|
+
"typescript-eslint": "^8.51.0",
|
|
54
55
|
"vite": "npm:rolldown-vite@7.1.14",
|
|
55
56
|
"vite-plugin-dts": "^4.5.4",
|
|
56
57
|
"vitest": "^4.0.16"
|