@monza-editor/preact 0.1.9 → 0.1.11

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 -7
  2. package/package.json +12 -9
package/dist/index.d.ts CHANGED
@@ -1,17 +1,11 @@
1
1
  import { RenderOptions } from "monza-editor";
2
2
  import { JSX } from "preact";
3
-
4
3
  //#region src/index.d.ts
5
4
  interface Props extends Omit<RenderOptions, "highlight"> {
6
5
  class?: string;
7
6
  id?: string;
8
7
  onHighlight: RenderOptions["highlight"];
9
8
  }
10
- declare const Editor: ({
11
- id,
12
- onHighlight,
13
- value,
14
- ...rest
15
- }: Props) => JSX.Element;
9
+ declare const Editor: ({ id, onHighlight, value, ...rest }: Props) => JSX.Element;
16
10
  //#endregion
17
11
  export { Editor };
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@monza-editor/preact",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Preact 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,16 +18,16 @@
15
18
  }
16
19
  },
17
20
  "dependencies": {
18
- "preact": "^10.27.2",
19
- "monza-editor": "0.5.5"
21
+ "monza-editor": "0.5.12",
22
+ "preact": "^10.29.8"
20
23
  },
21
24
  "devDependencies": {
22
- "@raviqqe/react-tsconfig": "^2.0.1",
23
- "@raviqqe/tsconfig": "^2.0.3",
25
+ "@raviqqe/react-tsconfig": "^2.0.5",
26
+ "@raviqqe/tsconfig": "^3.0.2",
24
27
  "@testing-library/preact": "^3.2.4",
25
- "tsdown": "^0.15.4",
26
- "typescript": "^5.9.2",
27
- "vitest": "^3.0.2"
28
+ "tsdown": "^0.22.14",
29
+ "typescript": "^6.0.3",
30
+ "vitest": "^4.1.11"
28
31
  },
29
32
  "scripts": {
30
33
  "build": "tsdown",