@haklex/rich-plugin-floating-toolbar 0.23.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 +18 -18
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -10,28 +10,28 @@ pnpm add @haklex/rich-plugin-floating-toolbar
10
10
 
11
11
  ## Peer Dependencies
12
12
 
13
- | Package | Version |
14
- | --- | --- |
15
- | `@lexical/link` | `^0.41.0` |
16
- | `@lexical/react` | `^0.41.0` |
17
- | `@lexical/selection` | `^0.41.0` |
18
- | `lexical` | `^0.41.0` |
19
- | `lucide-react` | `^0.574.0` |
20
- | `react` | `>= 19` |
21
- | `react-dom` | `>= 19` |
13
+ | Package | Version |
14
+ | -------------------- | --------- |
15
+ | `@lexical/link` | `^0.45.0` |
16
+ | `@lexical/react` | `^0.45.0` |
17
+ | `@lexical/selection` | `^0.45.0` |
18
+ | `lexical` | `^0.45.0` |
19
+ | `lucide-react` | `^1.0.0` |
20
+ | `react` | `>= 19` |
21
+ | `react-dom` | `>= 19` |
22
22
 
23
23
  ## Usage
24
24
 
25
25
  ```tsx
26
- import { FloatingToolbarPlugin } from '@haklex/rich-plugin-floating-toolbar'
27
- import '@haklex/rich-plugin-floating-toolbar/style.css'
26
+ import { FloatingToolbarPlugin } from '@haklex/rich-plugin-floating-toolbar';
27
+ import '@haklex/rich-plugin-floating-toolbar/style.css';
28
28
 
29
29
  function Editor() {
30
30
  return (
31
31
  <RichEditor>
32
32
  <FloatingToolbarPlugin />
33
33
  </RichEditor>
34
- )
34
+ );
35
35
  }
36
36
  ```
37
37
 
@@ -39,16 +39,16 @@ When the user selects text, a floating toolbar appears near the selection with i
39
39
 
40
40
  ## Exports
41
41
 
42
- | Export | Type | Description |
43
- | --- | --- | --- |
42
+ | Export | Type | Description |
43
+ | ----------------------- | --------- | --------------------------------------------------- |
44
44
  | `FloatingToolbarPlugin` | Component | Main plugin component to render inside `RichEditor` |
45
45
 
46
46
  ## Sub-path Exports
47
47
 
48
- | Path | Description |
49
- | --- | --- |
50
- | `@haklex/rich-plugin-floating-toolbar` | Plugin component |
51
- | `@haklex/rich-plugin-floating-toolbar/style.css` | Stylesheet |
48
+ | Path | Description |
49
+ | ------------------------------------------------ | ---------------- |
50
+ | `@haklex/rich-plugin-floating-toolbar` | Plugin component |
51
+ | `@haklex/rich-plugin-floating-toolbar/style.css` | Stylesheet |
52
52
 
53
53
  ## Part of Haklex
54
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-plugin-floating-toolbar",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Floating toolbar plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,9 +44,9 @@
44
44
  "lucide-react": "^1.0.0",
45
45
  "react": ">=19",
46
46
  "react-dom": ">=19",
47
- "@haklex/rich-editor": "0.23.0",
48
- "@haklex/rich-style-token": "0.23.0",
49
- "@haklex/rich-editor-ui": "0.23.0"
47
+ "@haklex/rich-editor": "0.25.0",
48
+ "@haklex/rich-editor-ui": "0.25.0",
49
+ "@haklex/rich-style-token": "0.25.0"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"