monza-editor 0.5.7 → 0.5.9
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.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +10 -10
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.main-TdgjvV{position:relative}.text-YtgeQ_{white-space:break-spaces;word-break:break-word}.editor-ore7X3{box-sizing:border-box;font-family:inherit;font-size:inherit;line-height:inherit;padding:var(--me-padding,.1rem);text-align:left;overscroll-behavior:none;background:0 0;border:none;width:100%;height:100%;margin:0;overflow:scroll}.textarea-ugnhty{caret-color:light-dark(#000,#fff);color:#0000;resize:none;
|
|
1
|
+
.main-TdgjvV{position:relative}.text-YtgeQ_{white-space:break-spaces;word-break:break-word}.editor-ore7X3{box-sizing:border-box;font-family:inherit;font-size:inherit;line-height:inherit;padding:var(--me-padding,.1rem);text-align:left;overscroll-behavior:none;background:0 0;border:none;width:100%;height:100%;margin:0;overflow:scroll}.textarea-ugnhty{caret-color:light-dark(#000,#fff);color:#0000;resize:none;outline:none}.pre-bJTdjq{pointer-events:none;scrollbar-width:0;position:absolute;top:0;left:0}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface InitializationOptions {
|
|
|
7
7
|
code: HTMLElement;
|
|
8
8
|
highlight: (text: string) => string;
|
|
9
9
|
onChange?: (event: TextareaEvent) => void;
|
|
10
|
-
onInput?: (event:
|
|
10
|
+
onInput?: (event: InputEvent) => void;
|
|
11
11
|
pre: HTMLPreElement;
|
|
12
12
|
textarea: HTMLTextAreaElement;
|
|
13
13
|
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,GAAG,MAAM,GAAG,KAAK,GAAG,UAAU,CAAC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,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,GACjB,KAAK,cAAc,EACnB,uBAAuB,aAAa,KACnC,IAaF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monza-editor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "The textarea element with syntax highlight",
|
|
5
|
-
"repository": "https://github.com/raviqqe/monza-editor",
|
|
6
5
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"provenance": true
|
|
9
|
-
},
|
|
6
|
+
"repository": "https://github.com/raviqqe/monza-editor",
|
|
10
7
|
"type": "module",
|
|
11
8
|
"exports": {
|
|
12
9
|
".": {
|
|
@@ -17,14 +14,17 @@
|
|
|
17
14
|
"default": "./dist/index.css"
|
|
18
15
|
}
|
|
19
16
|
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"provenance": true
|
|
19
|
+
},
|
|
20
20
|
"dependencies": {},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@raviqqe/tsconfig": "^
|
|
23
|
-
"@rslib/core": "^0.
|
|
24
|
-
"jsdom": "^
|
|
25
|
-
"typescript": "^
|
|
22
|
+
"@raviqqe/tsconfig": "^3.0.1",
|
|
23
|
+
"@rslib/core": "^0.21.5",
|
|
24
|
+
"jsdom": "^29.0.2",
|
|
25
|
+
"typescript": "^6.0.3",
|
|
26
26
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
27
|
-
"vitest": "^4.
|
|
27
|
+
"vitest": "^4.1.6"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "rslib build",
|