@haklex/rich-ext-nested-doc 0.26.5 → 0.26.6

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.
@@ -4,6 +4,6 @@ interface NestedDocEditDecoratorProps {
4
4
  contentState: SerializedEditorState;
5
5
  nodeKey: string;
6
6
  }
7
- export declare function NestedDocEditDecorator({ nodeKey, contentEditor, contentState, }: NestedDocEditDecoratorProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function NestedDocEditDecorator({ nodeKey, contentEditor, contentState, }: NestedDocEditDecoratorProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=NestedDocEditDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NestedDocEditDecorator.d.ts","sourceRoot":"","sources":["../src/NestedDocEditDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAmCpE,UAAU,2BAA2B;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,qBAAqB,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,aAAa,EACb,YAAY,GACb,EAAE,2BAA2B,2CAgE7B"}
1
+ {"version":3,"file":"NestedDocEditDecorator.d.ts","sourceRoot":"","sources":["../src/NestedDocEditDecorator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAmCpE,UAAU,2BAA2B;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,EAAE,qBAAqB,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,aAAa,EACb,YAAY,GACb,EAAE,2BAA2B,+BAgE7B"}
@@ -3,5 +3,5 @@ import { SerializedEditorState } from 'lexical';
3
3
  export declare function NestedDocRenderer({ value, variant, }: {
4
4
  value: SerializedEditorState;
5
5
  variant?: RichEditorVariant;
6
- }): import("react/jsx-runtime").JSX.Element | null;
6
+ }): import("react").JSX.Element | null;
7
7
  //# sourceMappingURL=NestedDocRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NestedDocRenderer.d.ts","sourceRoot":"","sources":["../src/NestedDocRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,OAAmB,GACpB,EAAE;IACD,KAAK,EAAE,qBAAqB,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B,kDAQA"}
1
+ {"version":3,"file":"NestedDocRenderer.d.ts","sourceRoot":"","sources":["../src/NestedDocRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,OAAmB,GACpB,EAAE;IACD,KAAK,EAAE,qBAAqB,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B,sCAQA"}
@@ -3,10 +3,10 @@ export interface NestedDocPreviewCardProps {
3
3
  contentState: SerializedEditorState;
4
4
  onActivate?: (target: HTMLElement) => void;
5
5
  }
6
- export declare function NestedDocPreviewCard({ contentState, onActivate }: NestedDocPreviewCardProps): import("react/jsx-runtime").JSX.Element | null;
6
+ export declare function NestedDocPreviewCard({ contentState, onActivate }: NestedDocPreviewCardProps): import("react").JSX.Element | null;
7
7
  interface NestedDocStaticDecoratorProps {
8
8
  contentState: SerializedEditorState;
9
9
  }
10
- export declare function NestedDocStaticDecorator({ contentState }: NestedDocStaticDecoratorProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function NestedDocStaticDecorator({ contentState }: NestedDocStaticDecoratorProps): import("react").JSX.Element;
11
11
  export {};
12
12
  //# sourceMappingURL=NestedDocStaticDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NestedDocStaticDecorator.d.ts","sourceRoot":"","sources":["../src/NestedDocStaticDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAWrD,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,oBAAoB,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,yBAAyB,kDA+C3F;AAED,UAAU,6BAA6B;IACrC,YAAY,EAAE,qBAAqB,CAAC;CACrC;AAMD,wBAAgB,wBAAwB,CAAC,EAAE,YAAY,EAAE,EAAE,6BAA6B,2CAQvF"}
1
+ {"version":3,"file":"NestedDocStaticDecorator.d.ts","sourceRoot":"","sources":["../src/NestedDocStaticDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAWrD,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,qBAAqB,CAAC;IACpC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,oBAAoB,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,yBAAyB,sCA+C3F;AAED,UAAU,6BAA6B;IACrC,YAAY,EAAE,qBAAqB,CAAC;CACrC;AAMD,wBAAgB,wBAAwB,CAAC,EAAE,YAAY,EAAE,EAAE,6BAA6B,+BAQvF"}
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { C as previewEmpty, S as editorArea, T as rendererContent, _ as dialogPopup, a as _defineProperty, b as editOverlay, c as hasRenderableEditorState, d as NestedDocRenderer, f as dialogFooter, g as dialogHeaderRight, h as dialogHeaderLeft, i as NestedDocNode, l as truncateEditorState, m as dialogHeaderCloseBtn, n as $createNestedDocNode, o as NestedDocPreviewCard, p as dialogHeader, r as $isNestedDocNode, s as NestedDocStaticDecorator, t as NESTED_DOC_BLOCK_TRANSFORMER, u as NESTED_DOC_NODE_KEY, v as dialogShell, w as previewSurface, x as editOverlayRoot, y as dialogTitle } from "./transformer-Bbw6dyBI.js";
1
+ import { C as previewEmpty, S as editorArea, T as rendererContent, _ as dialogPopup, a as _defineProperty, b as editOverlay, c as hasRenderableEditorState, d as NestedDocRenderer, f as dialogFooter, g as dialogHeaderRight, h as dialogHeaderLeft, i as NestedDocNode, l as truncateEditorState, m as dialogHeaderCloseBtn, n as $createNestedDocNode, o as NestedDocPreviewCard, p as dialogHeader, r as $isNestedDocNode, s as NestedDocStaticDecorator, t as NESTED_DOC_BLOCK_TRANSFORMER, u as NESTED_DOC_NODE_KEY, v as dialogShell, w as previewSurface, x as editOverlayRoot, y as dialogTitle } from "./transformer-DjnWrZpe.js";
2
2
  import { getResolvedEditNodes } from "@haklex/rich-editor/nodes";
3
3
  import { editorTheme, useColorScheme } from "@haklex/rich-editor/static";
4
4
  import { $getNodeByKey, $insertNodes, COMMAND_PRIORITY_EDITOR, createCommand, createEditor } from "lexical";
package/dist/static.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { c as hasRenderableEditorState, d as NestedDocRenderer, i as NestedDocNode, l as truncateEditorState, n as $createNestedDocNode, o as NestedDocPreviewCard, r as $isNestedDocNode, s as NestedDocStaticDecorator, t as NESTED_DOC_BLOCK_TRANSFORMER, u as NESTED_DOC_NODE_KEY } from "./transformer-Bbw6dyBI.js";
1
+ import { c as hasRenderableEditorState, d as NestedDocRenderer, i as NestedDocNode, l as truncateEditorState, n as $createNestedDocNode, o as NestedDocPreviewCard, r as $isNestedDocNode, s as NestedDocStaticDecorator, t as NESTED_DOC_BLOCK_TRANSFORMER, u as NESTED_DOC_NODE_KEY } from "./transformer-DjnWrZpe.js";
2
2
  //#region src/static.ts
3
3
  var nestedDocNodes = [NestedDocNode];
4
4
  //#endregion
@@ -106,7 +106,7 @@ function NestedDocStaticDecorator({ contentState }) {
106
106
  });
107
107
  }
108
108
  //#endregion
109
- //#region \0@oxc-project+runtime@0.132.0/helpers/typeof.js
109
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
110
110
  function _typeof(o) {
111
111
  "@babel/helpers - typeof";
112
112
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -116,7 +116,7 @@ function _typeof(o) {
116
116
  }, _typeof(o);
117
117
  }
118
118
  //#endregion
119
- //#region \0@oxc-project+runtime@0.132.0/helpers/toPrimitive.js
119
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
120
120
  function toPrimitive(t, r) {
121
121
  if ("object" != _typeof(t) || !t) return t;
122
122
  var e = t[Symbol.toPrimitive];
@@ -128,13 +128,13 @@ function toPrimitive(t, r) {
128
128
  return ("string" === r ? String : Number)(t);
129
129
  }
130
130
  //#endregion
131
- //#region \0@oxc-project+runtime@0.132.0/helpers/toPropertyKey.js
131
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
132
132
  function toPropertyKey(t) {
133
133
  var i = toPrimitive(t, "string");
134
134
  return "symbol" == _typeof(i) ? i : i + "";
135
135
  }
136
136
  //#endregion
137
- //#region \0@oxc-project+runtime@0.132.0/helpers/defineProperty.js
137
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
138
138
  function _defineProperty(e, r, t) {
139
139
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
140
140
  value: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-ext-nested-doc",
3
- "version": "0.26.5",
3
+ "version": "0.26.6",
4
4
  "description": "Nested document extension for haklex rich editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,17 +27,17 @@
27
27
  "devDependencies": {
28
28
  "@lexical/markdown": "^0.45.0",
29
29
  "@lexical/react": "^0.45.0",
30
- "@types/react": "^19.2.15",
30
+ "@types/react": "^19.2.17",
31
31
  "@types/react-dom": "^19.2.3",
32
32
  "@vanilla-extract/css": "^1.20.1",
33
33
  "@vanilla-extract/vite-plugin": "^5.2.2",
34
34
  "lexical": "^0.45.0",
35
- "lucide-react": "^1.17.0",
35
+ "lucide-react": "^1.18.0",
36
36
  "react": "19.2.6",
37
37
  "react-dom": "19.2.6",
38
38
  "typescript": "^5.9.3",
39
- "unplugin-dts": "^1.0.1",
40
- "vite": "^8.0.14"
39
+ "unplugin-dts": "^1.0.2",
40
+ "vite": "^8.0.16"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@lexical/markdown": "^0.45.0",
@@ -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.26.5",
50
- "@haklex/rich-editor-ui": "^0.26.5",
51
- "@haklex/rich-style-token": "^0.26.5"
49
+ "@haklex/rich-editor": "^0.26.6",
50
+ "@haklex/rich-style-token": "^0.26.6",
51
+ "@haklex/rich-editor-ui": "^0.26.6"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"