@monza-editor/react 0.1.8 → 0.1.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -8
  2. package/package.json +14 -11
package/dist/index.d.ts CHANGED
@@ -1,18 +1,11 @@
1
1
  import { RenderOptions } from "monza-editor";
2
2
  import { JSX } from "react";
3
-
4
3
  //#region src/index.d.ts
5
4
  interface Props extends Omit<RenderOptions, "highlight"> {
6
5
  className?: string;
7
6
  id?: string;
8
7
  onHighlight: RenderOptions["highlight"];
9
8
  }
10
- declare const Editor: ({
11
- className,
12
- id,
13
- onHighlight,
14
- value,
15
- ...rest
16
- }: Props) => JSX.Element;
9
+ declare const Editor: ({ className, id, onHighlight, value, ...rest }: Props) => JSX.Element;
17
10
  //#endregion
18
11
  export { Editor };
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@monza-editor/react",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "React component of Monza editor",
5
- "repository": "https://github.com/raviqqe/monza-editor",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/raviqqe/monza-editor"
8
+ },
6
9
  "license": "MIT",
7
10
  "publishConfig": {
8
11
  "provenance": true
@@ -15,17 +18,17 @@
15
18
  }
16
19
  },
17
20
  "dependencies": {
18
- "react": "^19.1.1",
19
- "monza-editor": "0.5.5"
21
+ "monza-editor": "0.5.12",
22
+ "react": "^19.2.8"
20
23
  },
21
24
  "devDependencies": {
22
- "@raviqqe/react-tsconfig": "^2.0.1",
23
- "@raviqqe/tsconfig": "^2.0.3",
24
- "@testing-library/react": "^16.3.0",
25
- "@types/react": "^19.1.13",
26
- "tsdown": "^0.15.4",
27
- "typescript": "^5.9.2",
28
- "vitest": "^3.0.2"
25
+ "@raviqqe/react-tsconfig": "^2.0.5",
26
+ "@raviqqe/tsconfig": "^3.0.2",
27
+ "@testing-library/react": "^16.3.2",
28
+ "@types/react": "^19.2.18",
29
+ "tsdown": "^0.22.14",
30
+ "typescript": "^6.0.3",
31
+ "vitest": "^4.1.11"
29
32
  },
30
33
  "scripts": {
31
34
  "build": "tsdown",