@haklex/rich-editor 0.0.59 → 0.0.61

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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@haklex/rich-editor",
3
- "version": "0.0.59",
3
+ "type": "module",
4
+ "version": "0.0.61",
4
5
  "description": "Core rich text editor based on Lexical",
5
6
  "license": "MIT",
6
- "type": "module",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.mjs",
@@ -27,12 +27,37 @@
27
27
  "files": [
28
28
  "dist"
29
29
  ],
30
+ "peerDependencies": {
31
+ "@base-ui/react": "^1.1.0",
32
+ "@lexical/code": "^0.41.0",
33
+ "@lexical/extension": "^0.41.0",
34
+ "@lexical/link": "^0.41.0",
35
+ "@lexical/list": "^0.41.0",
36
+ "@lexical/markdown": "^0.41.0",
37
+ "@lexical/react": "^0.41.0",
38
+ "@lexical/rich-text": "^0.41.0",
39
+ "@lexical/table": "^0.41.0",
40
+ "katex": ">=0.16.0",
41
+ "lexical": "^0.41.0",
42
+ "lucide-react": "^0.574.0",
43
+ "react": ">=19",
44
+ "react-dom": ">=19",
45
+ "shiki": "^3.0.0"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "katex": {
49
+ "optional": true
50
+ },
51
+ "shiki": {
52
+ "optional": true
53
+ }
54
+ },
30
55
  "dependencies": {
31
56
  "nanoid": "^5.1.6",
32
57
  "thumbhash": "^0.1.1",
33
- "@haklex/rich-editor-ui": "0.0.59",
34
- "@haklex/rich-headless": "0.0.59",
35
- "@haklex/rich-style-token": "0.0.59"
58
+ "@haklex/rich-editor-ui": "0.0.61",
59
+ "@haklex/rich-headless": "0.0.61",
60
+ "@haklex/rich-style-token": "0.0.61"
36
61
  },
37
62
  "devDependencies": {
38
63
  "@base-ui/react": "^1.2.0",
@@ -50,7 +75,7 @@
50
75
  "@vanilla-extract/vite-plugin": "^5.1.4",
51
76
  "katex": "^0.16.33",
52
77
  "lexical": "^0.41.0",
53
- "lucide-react": "^0.575.0",
78
+ "lucide-react": "^0.577.0",
54
79
  "react": "^19.2.4",
55
80
  "react-dom": "^19.2.4",
56
81
  "shiki": "^4.0.1",
@@ -58,31 +83,6 @@
58
83
  "vite": "^7.3.1",
59
84
  "vite-plugin-dts": "^4.5.4"
60
85
  },
61
- "peerDependencies": {
62
- "@base-ui/react": "^1.1.0",
63
- "@lexical/code": "^0.41.0",
64
- "@lexical/extension": "^0.41.0",
65
- "@lexical/link": "^0.41.0",
66
- "@lexical/list": "^0.41.0",
67
- "@lexical/markdown": "^0.41.0",
68
- "@lexical/react": "^0.41.0",
69
- "@lexical/rich-text": "^0.41.0",
70
- "@lexical/table": "^0.41.0",
71
- "katex": ">=0.16.0",
72
- "lexical": "^0.41.0",
73
- "lucide-react": "^0.574.0",
74
- "react": ">=19",
75
- "react-dom": ">=19",
76
- "shiki": "^3.0.0"
77
- },
78
- "peerDependenciesMeta": {
79
- "katex": {
80
- "optional": true
81
- },
82
- "shiki": {
83
- "optional": true
84
- }
85
- },
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
@@ -1,9 +0,0 @@
1
- import { LexicalEditor } from 'lexical';
2
- import { AlertType } from '../../nodes/AlertQuoteNode';
3
- interface AlertReadOnlyDecoratorProps {
4
- alertType: AlertType;
5
- contentEditor: LexicalEditor;
6
- }
7
- export declare function AlertReadOnlyDecorator({ alertType, contentEditor, }: AlertReadOnlyDecoratorProps): import("react").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=AlertReadOnlyDecorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertReadOnlyDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/AlertReadOnlyDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAI3D,UAAU,2BAA2B;IACnC,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,aAAa,GACd,EAAE,2BAA2B,+BAyB7B"}
@@ -1,9 +0,0 @@
1
- import { LexicalEditor } from 'lexical';
2
- import { BannerType } from '../../nodes/BannerNode';
3
- interface BannerReadOnlyDecoratorProps {
4
- bannerType: BannerType;
5
- contentEditor: LexicalEditor;
6
- }
7
- export declare function BannerReadOnlyDecorator({ bannerType, contentEditor, }: BannerReadOnlyDecoratorProps): import("react").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=BannerReadOnlyDecorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BannerReadOnlyDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/BannerReadOnlyDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAIxD,UAAU,4BAA4B;IACpC,UAAU,EAAE,UAAU,CAAA;IACtB,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED,wBAAgB,uBAAuB,CAAC,EACtC,UAAU,EACV,aAAa,GACd,EAAE,4BAA4B,+BAyB9B"}
@@ -1,9 +0,0 @@
1
- import { LexicalEditor } from 'lexical';
2
- interface GridReadOnlyDecoratorProps {
3
- cols: number;
4
- gap: string;
5
- cellEditors: LexicalEditor[];
6
- }
7
- export declare function GridReadOnlyDecorator({ cols, gap, cellEditors, }: GridReadOnlyDecoratorProps): import("react").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=GridReadOnlyDecorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GridReadOnlyDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/GridReadOnlyDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,UAAU,0BAA0B;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,aAAa,EAAE,CAAA;CAC7B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,IAAI,EACJ,GAAG,EACH,WAAW,GACZ,EAAE,0BAA0B,+BA6B5B"}