@haklex/rich-renderer-image 0.24.0 → 0.25.0

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/README.md +15 -15
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -10,34 +10,34 @@ pnpm add @haklex/rich-renderer-image
10
10
 
11
11
  ## Peer Dependencies
12
12
 
13
- | Package | Version |
14
- | --- | --- |
15
- | `lexical` | `^0.41.0` |
16
- | `@lexical/react` | `^0.41.0` |
17
- | `react` | `>=19` |
18
- | `react-dom` | `>=19` |
13
+ | Package | Version |
14
+ | ---------------- | --------- |
15
+ | `lexical` | `^0.45.0` |
16
+ | `@lexical/react` | `^0.45.0` |
17
+ | `react` | `>=19` |
18
+ | `react-dom` | `>=19` |
19
19
 
20
20
  ## Usage
21
21
 
22
22
  ```tsx
23
- import { ImageRenderer } from '@haklex/rich-renderer-image/static'
23
+ import { ImageRenderer } from '@haklex/rich-renderer-image/static';
24
24
 
25
25
  // Register in a static RendererConfig
26
26
  const rendererConfig = {
27
27
  // ...other renderers
28
28
  Image: ImageRenderer,
29
- }
29
+ };
30
30
  ```
31
31
 
32
32
  For edit mode:
33
33
 
34
34
  ```tsx
35
- import { ImageEditRenderer } from '@haklex/rich-renderer-image'
35
+ import { ImageEditRenderer } from '@haklex/rich-renderer-image';
36
36
 
37
37
  const editRendererConfig = {
38
38
  // ...other renderers
39
39
  Image: ImageEditRenderer,
40
- }
40
+ };
41
41
  ```
42
42
 
43
43
  ## Exports
@@ -49,11 +49,11 @@ const editRendererConfig = {
49
49
 
50
50
  ### Sub-path Exports
51
51
 
52
- | Path | Description |
53
- | --- | --- |
54
- | `@haklex/rich-renderer-image` | Full exports (edit + static) |
55
- | `@haklex/rich-renderer-image/static` | Static-only renderer |
56
- | `@haklex/rich-renderer-image/style.css` | Stylesheet |
52
+ | Path | Description |
53
+ | --------------------------------------- | ---------------------------- |
54
+ | `@haklex/rich-renderer-image` | Full exports (edit + static) |
55
+ | `@haklex/rich-renderer-image/static` | Static-only renderer |
56
+ | `@haklex/rich-renderer-image/style.css` | Stylesheet |
57
57
 
58
58
  ## Part of Haklex
59
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-renderer-image",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Image renderer with blurhash",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,9 +46,9 @@
46
46
  "lucide-react": "^1.0.0",
47
47
  "react": ">=19",
48
48
  "react-dom": ">=19",
49
- "@haklex/rich-editor": "0.24.0",
50
- "@haklex/rich-editor-ui": "0.24.0",
51
- "@haklex/rich-style-token": "0.24.0"
49
+ "@haklex/rich-editor": "0.25.0",
50
+ "@haklex/rich-editor-ui": "0.25.0",
51
+ "@haklex/rich-style-token": "0.25.0"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"