@byline/richtext-lexical 0.10.1 → 0.10.3

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 (191) hide show
  1. package/dist/field/apply-value-plugin.d.ts +0 -1
  2. package/dist/field/config/default.d.ts +0 -1
  3. package/dist/field/config/editor-config-context.d.ts +0 -1
  4. package/dist/field/config/types.d.ts +0 -1
  5. package/dist/field/constants.d.ts +0 -1
  6. package/dist/field/content-editable-inline.d.ts +0 -1
  7. package/dist/field/content-editable.d.ts +0 -1
  8. package/dist/field/context/shared-history-context.d.ts +0 -1
  9. package/dist/field/context/shared-on-change-context.d.ts +0 -1
  10. package/dist/field/debug.d.ts +0 -1
  11. package/dist/field/editor-component.d.ts +0 -1
  12. package/dist/field/editor-context.d.ts +0 -1
  13. package/dist/field/editor-field.d.ts +0 -1
  14. package/dist/field/editor.d.ts +0 -1
  15. package/dist/field/hooks/use-modal.d.ts +0 -1
  16. package/dist/field/lexical-populate-shared.d.ts +0 -1
  17. package/dist/field/nodes/admonition-node/admonition-node-component.d.ts +0 -1
  18. package/dist/field/nodes/admonition-node/admonition-node.d.ts +0 -1
  19. package/dist/field/nodes/admonition-node/icons/danger-icon.d.ts +0 -1
  20. package/dist/field/nodes/admonition-node/icons/index.d.ts +0 -1
  21. package/dist/field/nodes/admonition-node/icons/note-icon.d.ts +0 -1
  22. package/dist/field/nodes/admonition-node/icons/tip-icon.d.ts +0 -1
  23. package/dist/field/nodes/admonition-node/icons/warning-icon.d.ts +0 -1
  24. package/dist/field/nodes/admonition-node/index.d.ts +0 -1
  25. package/dist/field/nodes/admonition-node/types.d.ts +0 -1
  26. package/dist/field/nodes/document-relation.d.ts +0 -1
  27. package/dist/field/nodes/index.d.ts +0 -1
  28. package/dist/field/nodes/inline-image-node/index.d.ts +0 -1
  29. package/dist/field/nodes/inline-image-node/inline-image-node-component.d.ts +0 -1
  30. package/dist/field/nodes/inline-image-node/inline-image-node.d.ts +0 -1
  31. package/dist/field/nodes/inline-image-node/types.d.ts +0 -1
  32. package/dist/field/nodes/layout-container-node/layout-container-node.d.ts +0 -1
  33. package/dist/field/nodes/layout-container-node/layout-item-node.d.ts +0 -1
  34. package/dist/field/nodes/link-nodes/auto-link-node.d.ts +0 -1
  35. package/dist/field/nodes/link-nodes/index.d.ts +0 -1
  36. package/dist/field/nodes/link-nodes/link-node.d.ts +0 -1
  37. package/dist/field/nodes/link-nodes/types.d.ts +0 -1
  38. package/dist/field/nodes/vimeo-node/index.d.ts +0 -1
  39. package/dist/field/nodes/youtube-node/index.d.ts +0 -1
  40. package/dist/field/plugins/admonition-plugin/admonition-modal.d.ts +0 -1
  41. package/dist/field/plugins/admonition-plugin/fields.d.ts +0 -1
  42. package/dist/field/plugins/admonition-plugin/index.d.ts +0 -1
  43. package/dist/field/plugins/admonition-plugin/types.d.ts +0 -1
  44. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.d.ts +0 -1
  45. package/dist/field/plugins/auto-embed-plugin/index.d.ts +0 -1
  46. package/dist/field/plugins/code-highlight-plugin/index.d.ts +0 -1
  47. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.d.ts +0 -1
  48. package/dist/field/plugins/inline-image-plugin/fields.d.ts +0 -1
  49. package/dist/field/plugins/inline-image-plugin/index.d.ts +0 -1
  50. package/dist/field/plugins/inline-image-plugin/inline-image-modal.d.ts +0 -1
  51. package/dist/field/plugins/inline-image-plugin/populate.d.ts +0 -1
  52. package/dist/field/plugins/inline-image-plugin/types.d.ts +0 -1
  53. package/dist/field/plugins/inline-image-plugin/utils.d.ts +0 -1
  54. package/dist/field/plugins/layout-plugin/insert-layout-modal.d.ts +0 -1
  55. package/dist/field/plugins/layout-plugin/layout-plugin.d.ts +0 -1
  56. package/dist/field/plugins/link-plugin/auto-link/auto-link-plugin.d.ts +0 -1
  57. package/dist/field/plugins/link-plugin/auto-link/index.d.ts +0 -1
  58. package/dist/field/plugins/link-plugin/link/floating-link-editor.d.ts +0 -1
  59. package/dist/field/plugins/link-plugin/link/index.d.ts +0 -1
  60. package/dist/field/plugins/link-plugin/link/link-modal.d.ts +0 -1
  61. package/dist/field/plugins/link-plugin/link/types.d.ts +0 -1
  62. package/dist/field/plugins/link-plugin/populate.d.ts +0 -1
  63. package/dist/field/plugins/table-action-menu-plugin/index.d.ts +0 -1
  64. package/dist/field/plugins/table-plugin/index.d.ts +0 -1
  65. package/dist/field/plugins/table-plugin/table-modal.d.ts +0 -1
  66. package/dist/field/plugins/toolbar-plugin/index.d.ts +0 -1
  67. package/dist/field/plugins/treeview-plugin/index.d.ts +0 -1
  68. package/dist/field/plugins/vimeo-plugin/index.d.ts +0 -1
  69. package/dist/field/plugins/youtube-plugin/index.d.ts +0 -1
  70. package/dist/field/shared/canUseDOM.d.ts +0 -1
  71. package/dist/field/shared/environment.d.ts +0 -1
  72. package/dist/field/shared/invariant.d.ts +0 -1
  73. package/dist/field/shared/useModalFormState.d.ts +0 -1
  74. package/dist/field/themes/lexical-editor-theme.d.ts +0 -1
  75. package/dist/field/toolbar-extensions.d.ts +0 -1
  76. package/dist/field/ui/color-picker.d.ts +0 -1
  77. package/dist/field/ui/dropdown.d.ts +0 -1
  78. package/dist/field/ui/modal.d.ts +0 -1
  79. package/dist/field/ui/placeholder-inline.d.ts +0 -1
  80. package/dist/field/ui/placeholder.d.ts +0 -1
  81. package/dist/field/ui/text-input.d.ts +0 -1
  82. package/dist/field/utils/getDOMRangeRect.d.ts +0 -1
  83. package/dist/field/utils/getSelectedNode.d.ts +0 -1
  84. package/dist/field/utils/hashSerializedState.d.ts +0 -1
  85. package/dist/field/utils/setFloatingElemPosition.d.ts +0 -1
  86. package/dist/field/utils/setFloatingElemPositionForLinkEditor.d.ts +0 -1
  87. package/dist/field/utils/url.d.ts +0 -1
  88. package/dist/index.d.ts +0 -1
  89. package/dist/lexical-editor.d.ts +0 -1
  90. package/dist/richtext-field.d.ts +0 -1
  91. package/dist/server.d.ts +0 -1
  92. package/dist/types.d.ts +0 -1
  93. package/dist/validate/createEmptyEditorState.d.ts +0 -1
  94. package/dist/validate/hasText.d.ts +0 -1
  95. package/dist/validate/validate.d.ts +0 -1
  96. package/package.json +4 -4
  97. package/dist/field/apply-value-plugin.d.ts.map +0 -1
  98. package/dist/field/config/default.d.ts.map +0 -1
  99. package/dist/field/config/editor-config-context.d.ts.map +0 -1
  100. package/dist/field/config/types.d.ts.map +0 -1
  101. package/dist/field/constants.d.ts.map +0 -1
  102. package/dist/field/content-editable-inline.d.ts.map +0 -1
  103. package/dist/field/content-editable.d.ts.map +0 -1
  104. package/dist/field/context/shared-history-context.d.ts.map +0 -1
  105. package/dist/field/context/shared-on-change-context.d.ts.map +0 -1
  106. package/dist/field/debug.d.ts.map +0 -1
  107. package/dist/field/editor-component.d.ts.map +0 -1
  108. package/dist/field/editor-context.d.ts.map +0 -1
  109. package/dist/field/editor-field.d.ts.map +0 -1
  110. package/dist/field/editor.d.ts.map +0 -1
  111. package/dist/field/hooks/use-modal.d.ts.map +0 -1
  112. package/dist/field/lexical-populate-shared.d.ts.map +0 -1
  113. package/dist/field/nodes/admonition-node/admonition-node-component.d.ts.map +0 -1
  114. package/dist/field/nodes/admonition-node/admonition-node.d.ts.map +0 -1
  115. package/dist/field/nodes/admonition-node/icons/danger-icon.d.ts.map +0 -1
  116. package/dist/field/nodes/admonition-node/icons/index.d.ts.map +0 -1
  117. package/dist/field/nodes/admonition-node/icons/note-icon.d.ts.map +0 -1
  118. package/dist/field/nodes/admonition-node/icons/tip-icon.d.ts.map +0 -1
  119. package/dist/field/nodes/admonition-node/icons/warning-icon.d.ts.map +0 -1
  120. package/dist/field/nodes/admonition-node/index.d.ts.map +0 -1
  121. package/dist/field/nodes/admonition-node/types.d.ts.map +0 -1
  122. package/dist/field/nodes/document-relation.d.ts.map +0 -1
  123. package/dist/field/nodes/index.d.ts.map +0 -1
  124. package/dist/field/nodes/inline-image-node/index.d.ts.map +0 -1
  125. package/dist/field/nodes/inline-image-node/inline-image-node-component.d.ts.map +0 -1
  126. package/dist/field/nodes/inline-image-node/inline-image-node.d.ts.map +0 -1
  127. package/dist/field/nodes/inline-image-node/types.d.ts.map +0 -1
  128. package/dist/field/nodes/layout-container-node/layout-container-node.d.ts.map +0 -1
  129. package/dist/field/nodes/layout-container-node/layout-item-node.d.ts.map +0 -1
  130. package/dist/field/nodes/link-nodes/auto-link-node.d.ts.map +0 -1
  131. package/dist/field/nodes/link-nodes/index.d.ts.map +0 -1
  132. package/dist/field/nodes/link-nodes/link-node.d.ts.map +0 -1
  133. package/dist/field/nodes/link-nodes/types.d.ts.map +0 -1
  134. package/dist/field/nodes/vimeo-node/index.d.ts.map +0 -1
  135. package/dist/field/nodes/youtube-node/index.d.ts.map +0 -1
  136. package/dist/field/plugins/admonition-plugin/admonition-modal.d.ts.map +0 -1
  137. package/dist/field/plugins/admonition-plugin/fields.d.ts.map +0 -1
  138. package/dist/field/plugins/admonition-plugin/index.d.ts.map +0 -1
  139. package/dist/field/plugins/admonition-plugin/types.d.ts.map +0 -1
  140. package/dist/field/plugins/auto-embed-plugin/auto-embed-modal.d.ts.map +0 -1
  141. package/dist/field/plugins/auto-embed-plugin/index.d.ts.map +0 -1
  142. package/dist/field/plugins/code-highlight-plugin/index.d.ts.map +0 -1
  143. package/dist/field/plugins/floating-text-format-toolbar-plugin/index.d.ts.map +0 -1
  144. package/dist/field/plugins/inline-image-plugin/fields.d.ts.map +0 -1
  145. package/dist/field/plugins/inline-image-plugin/index.d.ts.map +0 -1
  146. package/dist/field/plugins/inline-image-plugin/inline-image-modal.d.ts.map +0 -1
  147. package/dist/field/plugins/inline-image-plugin/populate.d.ts.map +0 -1
  148. package/dist/field/plugins/inline-image-plugin/types.d.ts.map +0 -1
  149. package/dist/field/plugins/inline-image-plugin/utils.d.ts.map +0 -1
  150. package/dist/field/plugins/layout-plugin/insert-layout-modal.d.ts.map +0 -1
  151. package/dist/field/plugins/layout-plugin/layout-plugin.d.ts.map +0 -1
  152. package/dist/field/plugins/link-plugin/auto-link/auto-link-plugin.d.ts.map +0 -1
  153. package/dist/field/plugins/link-plugin/auto-link/index.d.ts.map +0 -1
  154. package/dist/field/plugins/link-plugin/link/floating-link-editor.d.ts.map +0 -1
  155. package/dist/field/plugins/link-plugin/link/index.d.ts.map +0 -1
  156. package/dist/field/plugins/link-plugin/link/link-modal.d.ts.map +0 -1
  157. package/dist/field/plugins/link-plugin/link/types.d.ts.map +0 -1
  158. package/dist/field/plugins/link-plugin/populate.d.ts.map +0 -1
  159. package/dist/field/plugins/table-action-menu-plugin/index.d.ts.map +0 -1
  160. package/dist/field/plugins/table-plugin/index.d.ts.map +0 -1
  161. package/dist/field/plugins/table-plugin/table-modal.d.ts.map +0 -1
  162. package/dist/field/plugins/toolbar-plugin/index.d.ts.map +0 -1
  163. package/dist/field/plugins/treeview-plugin/index.d.ts.map +0 -1
  164. package/dist/field/plugins/vimeo-plugin/index.d.ts.map +0 -1
  165. package/dist/field/plugins/youtube-plugin/index.d.ts.map +0 -1
  166. package/dist/field/shared/canUseDOM.d.ts.map +0 -1
  167. package/dist/field/shared/environment.d.ts.map +0 -1
  168. package/dist/field/shared/invariant.d.ts.map +0 -1
  169. package/dist/field/shared/useModalFormState.d.ts.map +0 -1
  170. package/dist/field/themes/lexical-editor-theme.d.ts.map +0 -1
  171. package/dist/field/toolbar-extensions.d.ts.map +0 -1
  172. package/dist/field/ui/color-picker.d.ts.map +0 -1
  173. package/dist/field/ui/dropdown.d.ts.map +0 -1
  174. package/dist/field/ui/modal.d.ts.map +0 -1
  175. package/dist/field/ui/placeholder-inline.d.ts.map +0 -1
  176. package/dist/field/ui/placeholder.d.ts.map +0 -1
  177. package/dist/field/ui/text-input.d.ts.map +0 -1
  178. package/dist/field/utils/getDOMRangeRect.d.ts.map +0 -1
  179. package/dist/field/utils/getSelectedNode.d.ts.map +0 -1
  180. package/dist/field/utils/hashSerializedState.d.ts.map +0 -1
  181. package/dist/field/utils/setFloatingElemPosition.d.ts.map +0 -1
  182. package/dist/field/utils/setFloatingElemPositionForLinkEditor.d.ts.map +0 -1
  183. package/dist/field/utils/url.d.ts.map +0 -1
  184. package/dist/index.d.ts.map +0 -1
  185. package/dist/lexical-editor.d.ts.map +0 -1
  186. package/dist/richtext-field.d.ts.map +0 -1
  187. package/dist/server.d.ts.map +0 -1
  188. package/dist/types.d.ts.map +0 -1
  189. package/dist/validate/createEmptyEditorState.d.ts.map +0 -1
  190. package/dist/validate/hasText.d.ts.map +0 -1
  191. package/dist/validate/validate.d.ts.map +0 -1
@@ -7,4 +7,3 @@ export declare function ApplyValuePlugin({ value, incomingHash, lastEmittedHashR
7
7
  normalizedIncomingHashRef: React.RefObject<string | undefined>;
8
8
  hasNormalizedBaselineRef: React.RefObject<boolean>;
9
9
  }): React.JSX.Element | null;
10
- //# sourceMappingURL=apply-value-plugin.d.ts.map
@@ -3,4 +3,3 @@ import type { EditorConfig, EditorSettings } from './types';
3
3
  export declare const defaultEditorLexicalConfig: LexicalEditorConfig;
4
4
  export declare const DEFAULT_EDITOR_SETTINGS: EditorSettings;
5
5
  export declare const defaultEditorConfig: EditorConfig;
6
- //# sourceMappingURL=default.d.ts.map
@@ -11,4 +11,3 @@ export declare const EditorConfigContext: ({ children, config: configFromProps,
11
11
  }) => React.JSX.Element;
12
12
  export declare const useEditorConfig: () => ContextType;
13
13
  export {};
14
- //# sourceMappingURL=editor-config-context.d.ts.map
@@ -25,4 +25,3 @@ export interface EditorConfig {
25
25
  settings: EditorSettings;
26
26
  lexical: LexicalEditorConfig;
27
27
  }
28
- //# sourceMappingURL=types.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const APPLY_VALUE_TAG = "payload-apply-value";
2
- //# sourceMappingURL=constants.d.ts.map
@@ -10,4 +10,3 @@ import './content-editable.css';
10
10
  export default function ContentEditableInline({ className, }: {
11
11
  className?: string;
12
12
  }): React.JSX.Element;
13
- //# sourceMappingURL=content-editable-inline.d.ts.map
@@ -10,4 +10,3 @@ import './content-editable.css';
10
10
  export declare function ContentEditable({ className }: {
11
11
  className?: string;
12
12
  }): React.JSX.Element;
13
- //# sourceMappingURL=content-editable.d.ts.map
@@ -16,4 +16,3 @@ export declare const SharedHistoryContext: ({ children }: {
16
16
  }) => React.JSX.Element;
17
17
  export declare const useSharedHistoryContext: () => ContextShape;
18
18
  export {};
19
- //# sourceMappingURL=shared-history-context.d.ts.map
@@ -10,4 +10,3 @@ export declare const SharedOnChangeContext: ({ children, onChange, }: {
10
10
  }) => React.JSX.Element;
11
11
  export declare const useSharedOnChange: () => ContextType;
12
12
  export {};
13
- //# sourceMappingURL=shared-on-change-context.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type * as React from 'react';
9
9
  export declare function Debug(): React.JSX.Element;
10
- //# sourceMappingURL=debug.d.ts.map
@@ -10,4 +10,3 @@ import type { EditorFieldProps } from '../types';
10
10
  import './editor-component.css';
11
11
  import './themes/lexical-editor-theme.css';
12
12
  export declare const EditorComponent: React.MemoExoticComponent<({ name, id, label, description, required, readonly, editorConfig, defaultValue, value, onChange, minHeight, maxHeight, validate, onError: _onError, lexicalEditorProps: _lexicalEditorProps, featureBeforeEditor, featureAfterEditor, featureChildren, }: EditorFieldProps) => React.JSX.Element>;
13
- //# sourceMappingURL=editor-component.d.ts.map
@@ -20,4 +20,3 @@ export declare function EditorContext(props: {
20
20
  beforeEditor?: React.ReactNode[];
21
21
  afterEditor?: React.ReactNode[];
22
22
  }): React.JSX.Element;
23
- //# sourceMappingURL=editor-context.d.ts.map
@@ -31,4 +31,3 @@
31
31
  import type * as React from 'react';
32
32
  import type { EditorFieldProps } from '../types';
33
33
  export declare function EditorField(props: EditorFieldProps): React.JSX.Element;
34
- //# sourceMappingURL=editor-field.d.ts.map
@@ -11,4 +11,3 @@ export declare const Editor: React.MemoExoticComponent<({ minHeight, maxHeight,
11
11
  minHeight?: number | string;
12
12
  maxHeight?: number | string;
13
13
  }) => React.JSX.Element>;
14
- //# sourceMappingURL=editor.d.ts.map
@@ -10,4 +10,3 @@ export default function useModal(): [
10
10
  React.JSX.Element | null,
11
11
  (title: string, showModal: (onClose: () => void) => React.JSX.Element) => void
12
12
  ];
13
- //# sourceMappingURL=use-modal.d.ts.map
@@ -94,4 +94,3 @@ interface RunPopulateOptions {
94
94
  */
95
95
  export declare function runLexicalPopulate(options: RunPopulateOptions): Promise<void>;
96
96
  export {};
97
- //# sourceMappingURL=lexical-populate-shared.d.ts.map
@@ -15,4 +15,3 @@ export default function AdmonitionNodeComponent({ admonitionType, title, content
15
15
  content: LexicalEditor;
16
16
  nodeKey: NodeKey;
17
17
  }): React.JSX.Element;
18
- //# sourceMappingURL=admonition-node-component.d.ts.map
@@ -32,4 +32,3 @@ export declare class AdmonitionNode extends DecoratorNode<React.JSX.Element> {
32
32
  }
33
33
  export declare function $createAdmonitionNode({ admonitionType, title, content, key, }: AdmonitionAttributes): AdmonitionNode;
34
34
  export declare function $isAdmonitionNode(node: LexicalNode | null | undefined): node is AdmonitionNode;
35
- //# sourceMappingURL=admonition-node.d.ts.map
@@ -5,4 +5,3 @@ interface Props {
5
5
  }
6
6
  export declare function DangerIcon({ className, ...rest }: Props): React.JSX.Element;
7
7
  export {};
8
- //# sourceMappingURL=danger-icon.d.ts.map
@@ -2,4 +2,3 @@ export * from './danger-icon';
2
2
  export * from './note-icon';
3
3
  export * from './tip-icon';
4
4
  export * from './warning-icon';
5
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ interface Props {
5
5
  }
6
6
  export declare function NoteIcon({ className, ...rest }: Props): React.JSX.Element;
7
7
  export {};
8
- //# sourceMappingURL=note-icon.d.ts.map
@@ -5,4 +5,3 @@ interface Props {
5
5
  }
6
6
  export declare function TipIcon({ className, ...rest }: Props): React.JSX.Element;
7
7
  export {};
8
- //# sourceMappingURL=tip-icon.d.ts.map
@@ -5,4 +5,3 @@ interface Props {
5
5
  }
6
6
  export declare function WarningIcon({ className, ...rest }: Props): React.JSX.Element;
7
7
  export {};
8
- //# sourceMappingURL=warning-icon.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  export * from './admonition-node';
9
9
  export * from './types';
10
- //# sourceMappingURL=index.d.ts.map
@@ -18,4 +18,3 @@ export type SerializedAdmonitionNode = Spread<{
18
18
  title: string;
19
19
  content: SerializedEditor;
20
20
  }, SerializedLexicalNode>;
21
- //# sourceMappingURL=types.d.ts.map
@@ -30,4 +30,3 @@ export interface DocumentRelation {
30
30
  */
31
31
  document?: Record<string, any>;
32
32
  }
33
- //# sourceMappingURL=document-relation.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type { Klass, LexicalNode } from 'lexical';
9
9
  export declare const Nodes: Array<Klass<LexicalNode>>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  export * from './inline-image-node';
9
9
  export * from './types';
10
- //# sourceMappingURL=index.d.ts.map
@@ -21,4 +21,3 @@ export default function InlineImageComponent({ relation, src, position, altText,
21
21
  caption: LexicalEditor;
22
22
  nodeKey: NodeKey;
23
23
  }): React.JSX.Element;
24
- //# sourceMappingURL=inline-image-node-component.d.ts.map
@@ -42,4 +42,3 @@ export declare class InlineImageNode extends DecoratorNode<React.JSX.Element> {
42
42
  }
43
43
  export declare function $createInlineImageNode({ targetDocumentId, targetCollectionId, targetCollectionPath, document, src, position, altText, height, width, showCaption, caption, key, }: InlineImageAttributes): InlineImageNode;
44
44
  export declare function $isInlineImageNode(node: LexicalNode | null | undefined): node is InlineImageNode;
45
- //# sourceMappingURL=inline-image-node.d.ts.map
@@ -27,4 +27,3 @@ export type SerializedInlineImageNode = Spread<DocumentRelation & {
27
27
  showCaption: boolean;
28
28
  caption: SerializedEditor;
29
29
  }, SerializedLexicalNode>;
30
- //# sourceMappingURL=types.d.ts.map
@@ -26,4 +26,3 @@ export declare class LayoutContainerNode extends ElementNode {
26
26
  }
27
27
  export declare function $createLayoutContainerNode(templateColumns: string): LayoutContainerNode;
28
28
  export declare function $isLayoutContainerNode(node: LexicalNode | null | undefined): node is LayoutContainerNode;
29
- //# sourceMappingURL=layout-container-node.d.ts.map
@@ -20,4 +20,3 @@ export declare class LayoutItemNode extends ElementNode {
20
20
  }
21
21
  export declare function $createLayoutItemNode(): LayoutItemNode;
22
22
  export declare function $isLayoutItemNode(node: LexicalNode | null | undefined): node is LayoutItemNode;
23
- //# sourceMappingURL=layout-item-node.d.ts.map
@@ -14,4 +14,3 @@ export declare function $createAutoLinkNode({ attributes }: {
14
14
  attributes: LinkAttributes;
15
15
  }): AutoLinkNode;
16
16
  export declare function $isAutoLinkNode(node: LexicalNode | null | undefined): node is AutoLinkNode;
17
- //# sourceMappingURL=auto-link-node.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export * from './auto-link-node';
2
2
  export * from './link-node';
3
3
  export * from './types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -46,4 +46,3 @@ export declare const OPEN_LINK_MODAL_COMMAND: LexicalCommand<void>;
46
46
  export declare function $toggleLink(linkAttributes: (LinkAttributes & {
47
47
  text?: string;
48
48
  }) | null): void;
49
- //# sourceMappingURL=link-node.d.ts.map
@@ -23,4 +23,3 @@ export type SerializedLinkNode = Spread<{
23
23
  attributes: LinkAttributes;
24
24
  }, SerializedElementNode>;
25
25
  export {};
26
- //# sourceMappingURL=types.d.ts.map
@@ -27,4 +27,3 @@ export declare class VimeoNode extends DecoratorBlockNode {
27
27
  }
28
28
  export declare function $createVimeoNode(videoID: string): VimeoNode;
29
29
  export declare function $isVimeoNode(node: VimeoNode | LexicalNode | null | undefined): node is VimeoNode;
30
- //# sourceMappingURL=index.d.ts.map
@@ -27,4 +27,3 @@ export declare class YouTubeNode extends DecoratorBlockNode {
27
27
  }
28
28
  export declare function $createYouTubeNode(videoID: string): YouTubeNode;
29
29
  export declare function $isYouTubeNode(node: YouTubeNode | LexicalNode | null | undefined): node is YouTubeNode;
30
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ import type React from 'react';
9
9
  import type { AdmonitionDrawerProps } from './types';
10
10
  import './admonition-modal.css';
11
11
  export declare function AdmonitionModal({ open, onSubmit, onClose, data: dataFromProps, }: AdmonitionDrawerProps): React.ReactNode;
12
- //# sourceMappingURL=admonition-modal.d.ts.map
@@ -18,4 +18,3 @@ export declare function validateFields(fields?: AdmonitionFormState): {
18
18
  valid: boolean;
19
19
  fields: AdmonitionFormState;
20
20
  };
21
- //# sourceMappingURL=fields.d.ts.map
@@ -12,4 +12,3 @@ export type InsertAdmonitionPayload = Readonly<AdmonitionAttributes>;
12
12
  export declare const OPEN_ADMONITION_MODAL_COMMAND: LexicalCommand<null>;
13
13
  export declare const INSERT_ADMONITION_COMMAND: LexicalCommand<AdmonitionAttributes>;
14
14
  export declare function AdmonitionPlugin(): React.JSX.Element;
15
- //# sourceMappingURL=index.d.ts.map
@@ -31,4 +31,3 @@ export interface AdmonitionDrawerProps {
31
31
  title?: string;
32
32
  };
33
33
  }
34
- //# sourceMappingURL=types.d.ts.map
@@ -5,4 +5,3 @@ export declare function AutoEmbedModal({ open, embedConfig, onClose, }: {
5
5
  embedConfig: AutoEmbedConfig;
6
6
  onClose: () => void;
7
7
  }): React.JSX.Element | null;
8
- //# sourceMappingURL=auto-embed-modal.d.ts.map
@@ -18,4 +18,3 @@ export declare const YoutubeEmbedConfig: AutoEmbedConfig;
18
18
  export declare const VimeoEmbedConfig: AutoEmbedConfig;
19
19
  export declare const EmbedConfigs: AutoEmbedConfig[];
20
20
  export declare function AutoEmbedPlugin(): React.JSX.Element;
21
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type * as React from 'react';
9
9
  export declare function CodeHighlightPlugin(): React.JSX.Element | null;
10
- //# sourceMappingURL=index.d.ts.map
@@ -10,4 +10,3 @@ import type * as React from 'react';
10
10
  export declare function FloatingTextFormatToolbarPlugin({ anchorElem, }: {
11
11
  anchorElem?: HTMLElement;
12
12
  }): React.JSX.Element | null;
13
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ import type { SelectValue } from '@byline/ui';
9
9
  export declare const positionOptions: SelectValue[];
10
10
  /** Alt text is required for accessibility — non-empty after trimming. */
11
11
  export declare function isAltTextValid(value: string | undefined | null): boolean;
12
- //# sourceMappingURL=fields.d.ts.map
@@ -31,4 +31,3 @@ export declare const UPDATE_INLINE_IMAGE_COMMAND: LexicalCommand<UpdateInlineIma
31
31
  export declare function InlineImagePlugin({ collection }: {
32
32
  collection: string;
33
33
  }): React.JSX.Element;
34
- //# sourceMappingURL=index.d.ts.map
@@ -8,4 +8,3 @@
8
8
  import type * as React from 'react';
9
9
  import type { InlineImageModalProps } from './types';
10
10
  export declare const InlineImageModal: React.FC<InlineImageModalProps>;
11
- //# sourceMappingURL=inline-image-modal.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type { LexicalNodeVisitor } from '../../lexical-populate-shared';
9
9
  export declare const inlineImageVisitor: LexicalNodeVisitor;
10
- //# sourceMappingURL=populate.d.ts.map
@@ -34,4 +34,3 @@ export interface InlineImageModalProps {
34
34
  onSubmit: (data: InlineImageData) => void;
35
35
  onClose: () => void;
36
36
  }
37
- //# sourceMappingURL=types.d.ts.map
@@ -39,4 +39,3 @@ export interface DerivedImageSize {
39
39
  * `image.storageUrl`.
40
40
  */
41
41
  export declare function deriveImageSizes(image: StoredFileValue | null | undefined): DerivedImageSize[];
42
- //# sourceMappingURL=utils.d.ts.map
@@ -19,4 +19,3 @@ export declare function InsertLayoutModal({ open, onClose, onSubmit, }: {
19
19
  onClose: () => void;
20
20
  onSubmit: (layout: string) => void;
21
21
  }): React.JSX.Element;
22
- //# sourceMappingURL=insert-layout-modal.d.ts.map
@@ -7,4 +7,3 @@ export declare const UPDATE_LAYOUT_COMMAND: LexicalCommand<{
7
7
  nodeKey: NodeKey;
8
8
  }>;
9
9
  export declare function LayoutPlugin(): React.JSX.Element;
10
- //# sourceMappingURL=layout-plugin.d.ts.map
@@ -19,4 +19,3 @@ export declare function AutoLinkPlugin({ matchers, onChange, }: {
19
19
  onChange?: ChangeHandler;
20
20
  }): React.JSX.Element | null;
21
21
  export {};
22
- //# sourceMappingURL=auto-link-plugin.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type * as React from 'react';
9
9
  export declare function AutoLinkPlugin(): React.JSX.Element;
10
- //# sourceMappingURL=index.d.ts.map
@@ -12,4 +12,3 @@ import './floating-link-editor.css';
12
12
  export declare function FloatingLinkEditorPlugin({ anchorElem, }: {
13
13
  anchorElem?: HTMLElement;
14
14
  }): React.JSX.Element | null;
15
- //# sourceMappingURL=floating-link-editor.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function LinkPlugin(): null;
2
- //# sourceMappingURL=index.d.ts.map
@@ -8,4 +8,3 @@
8
8
  import type * as React from 'react';
9
9
  import type { LinkModalProps } from './types';
10
10
  export declare const LinkModal: React.FC<LinkModalProps>;
11
- //# sourceMappingURL=link-modal.d.ts.map
@@ -16,4 +16,3 @@ export interface LinkModalProps {
16
16
  onSubmit: (data: LinkData) => void;
17
17
  data?: LinkData;
18
18
  }
19
- //# sourceMappingURL=types.d.ts.map
@@ -19,4 +19,3 @@
19
19
  */
20
20
  import type { LexicalNodeVisitor } from '../../lexical-populate-shared';
21
21
  export declare const linkVisitor: LexicalNodeVisitor;
22
- //# sourceMappingURL=populate.d.ts.map
@@ -3,4 +3,3 @@ export declare function TableActionMenuPlugin({ anchorElem, cellMerge, }: {
3
3
  anchorElem?: HTMLElement;
4
4
  cellMerge?: boolean;
5
5
  }): null | ReactPortal;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import * as React from 'react';
2
2
  export declare const OPEN_TABLE_MODAL_COMMAND: import("lexical").LexicalCommand<unknown>;
3
3
  export declare function TablePlugin(): React.JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -18,4 +18,3 @@ export declare function TableModal({ open, onClose, }: {
18
18
  open: boolean;
19
19
  onClose: () => void;
20
20
  }): React.JSX.Element;
21
- //# sourceMappingURL=table-modal.d.ts.map
@@ -14,4 +14,3 @@
14
14
  */
15
15
  import type * as React from 'react';
16
16
  export declare function ToolbarPlugin(): React.JSX.Element;
17
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type * as React from 'react';
9
9
  export declare function TreeViewPlugin(): React.JSX.Element;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type LexicalCommand } from 'lexical';
2
2
  export declare const INSERT_VIMEO_COMMAND: LexicalCommand<string>;
3
3
  export declare function VimeoPlugin(): React.JSX.Element | null;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { type LexicalCommand } from 'lexical';
2
2
  export declare const INSERT_YOUTUBE_COMMAND: LexicalCommand<string>;
3
3
  export declare function YouTubePlugin(): React.JSX.Element | null;
4
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  *
7
7
  */
8
8
  export declare const CAN_USE_DOM: boolean;
9
- //# sourceMappingURL=canUseDOM.d.ts.map
@@ -20,4 +20,3 @@ export declare const IS_SAFARI: boolean;
20
20
  export declare const IS_IOS: boolean;
21
21
  export declare const IS_CHROME: boolean;
22
22
  export declare const IS_APPLE_WEBKIT: boolean;
23
- //# sourceMappingURL=environment.d.ts.map
@@ -6,4 +6,3 @@
6
6
  *
7
7
  */
8
8
  export default function invariant(cond?: boolean, message?: string, ..._args: string[]): asserts cond;
9
- //# sourceMappingURL=invariant.d.ts.map
@@ -20,4 +20,3 @@ import { type Dispatch, type SetStateAction } from 'react';
20
20
  * sibling state such as validation errors that must align with the form.
21
21
  */
22
22
  export declare function useModalFormState<T>(isOpen: boolean, init: () => T, onReset?: () => void): [T, Dispatch<SetStateAction<T>>];
23
- //# sourceMappingURL=useModalFormState.d.ts.map
@@ -7,4 +7,3 @@
7
7
  */
8
8
  import type { EditorThemeClasses } from 'lexical';
9
9
  export declare const theme: EditorThemeClasses;
10
- //# sourceMappingURL=lexical-editor-theme.d.ts.map
@@ -29,4 +29,3 @@ export declare function ToolbarExtensionsProvider({ children, }: {
29
29
  }): React.JSX.Element;
30
30
  export declare function useToolbarExtensions(): ToolbarExtensionsContextType;
31
31
  export {};
32
- //# sourceMappingURL=toolbar-extensions.d.ts.map
@@ -18,4 +18,3 @@ export interface Position {
18
18
  }
19
19
  export declare function toHex(value: string): string;
20
20
  export {};
21
- //# sourceMappingURL=color-picker.d.ts.map
@@ -22,4 +22,3 @@ export declare function DropDown({ disabled, buttonLabel, buttonAriaLabel, butto
22
22
  children: ReactNode;
23
23
  stopCloseOnClickSelf?: boolean;
24
24
  }): React.JSX.Element;
25
- //# sourceMappingURL=dropdown.d.ts.map
@@ -14,4 +14,3 @@ export default function Modal({ onClose, children, title, closeOnClickOutside, }
14
14
  onClose: () => void;
15
15
  title: string;
16
16
  }): React.JSX.Element;
17
- //# sourceMappingURL=modal.d.ts.map
@@ -11,4 +11,3 @@ export default function PlaceholderInline({ children, className, }: {
11
11
  children: React.ReactNode;
12
12
  className?: string;
13
13
  }): React.JSX.Element;
14
- //# sourceMappingURL=placeholder-inline.d.ts.map
@@ -11,4 +11,3 @@ export declare function Placeholder({ children, className, }: {
11
11
  children: React.ReactNode;
12
12
  className?: string;
13
13
  }): React.JSX.Element;
14
- //# sourceMappingURL=placeholder.d.ts.map
@@ -17,4 +17,3 @@ type Props = Readonly<{
17
17
  }>;
18
18
  export default function TextInput({ label, value, onChange, placeholder, 'data-test-id': dataTestId, type, }: Props): JSX.Element;
19
19
  export {};
20
- //# sourceMappingURL=text-input.d.ts.map
@@ -6,4 +6,3 @@
6
6
  *
7
7
  */
8
8
  export declare function getDOMRangeRect(nativeSelection: Selection, rootElement: HTMLElement): DOMRect;
9
- //# sourceMappingURL=getDOMRangeRect.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { ElementNode, RangeSelection, TextNode } from 'lexical';
2
2
  export declare function getSelectedNode(selection: RangeSelection): TextNode | ElementNode;
3
- //# sourceMappingURL=getSelectedNode.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { SerializedEditorState } from 'lexical';
2
2
  export declare function hashSerializedState(state: SerializedEditorState | string): string;
3
- //# sourceMappingURL=hashSerializedState.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function setFloatingElemPosition(targetRect: DOMRect | null, floatingElem: HTMLElement, anchorElem: HTMLElement, isLink?: boolean, verticalGap?: number, horizontalOffset?: number): void;
2
- //# sourceMappingURL=setFloatingElemPosition.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function setFloatingElemPositionForLinkEditor(targetRect: ClientRect | null, floatingElem: HTMLElement, anchorElem: HTMLElement, verticalGap?: number, horizontalOffset?: number): void;
2
- //# sourceMappingURL=setFloatingElemPositionForLinkEditor.d.ts.map
@@ -8,4 +8,3 @@
8
8
  export declare function sanitizeUrl(url: string): string;
9
9
  export declare function validateUrl(url: string): boolean;
10
10
  export declare function encodeRelativeUrl(url: string): string;
11
- //# sourceMappingURL=url.d.ts.map
package/dist/index.d.ts CHANGED
@@ -9,4 +9,3 @@ export { hasText } from './validate/hasText';
9
9
  export type { EditorConfig, EditorSettings, EditorSettingsOverride } from './field/config/types';
10
10
  export type { DocumentRelation } from './field/nodes/document-relation';
11
11
  export type { InlineImageAttributes, Position as InlineImagePosition, SerializedInlineImageNode, } from './field/nodes/inline-image-node/types';
12
- //# sourceMappingURL=index.d.ts.map
@@ -38,4 +38,3 @@ import type { EditorConfig } from './field/config/types';
38
38
  * ```
39
39
  */
40
40
  export declare function lexicalEditor(configure?: (config: EditorConfig) => EditorConfig): RichTextEditorComponent;
41
- //# sourceMappingURL=lexical-editor.d.ts.map
@@ -22,4 +22,3 @@ interface Props {
22
22
  }
23
23
  export declare const RichTextField: ({ field, value, defaultValue, editorConfig, readonly, instanceKey, onChange, path, locale, }: Props) => React.JSX.Element;
24
24
  export {};
25
- //# sourceMappingURL=richtext-field.d.ts.map
package/dist/server.d.ts CHANGED
@@ -61,4 +61,3 @@ export interface LexicalServerOptions {
61
61
  * document tree, gated by each leaf field's `populateRelationsOnRead`.
62
62
  */
63
63
  export declare function lexicalEditorServer(options: LexicalServerOptions): RichTextPopulateFn;
64
- //# sourceMappingURL=server.d.ts.map
package/dist/types.d.ts CHANGED
@@ -34,4 +34,3 @@ export type EditorFieldProps = {
34
34
  onError?: (error: Error) => void;
35
35
  lexicalEditorProps?: LexicalEditorProps;
36
36
  };
37
- //# sourceMappingURL=types.d.ts.map
@@ -22,4 +22,3 @@ import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
22
22
  }
23
23
  */
24
24
  export declare function createEmptyEditorState(): SerializedEditorState<SerializedLexicalNode>;
25
- //# sourceMappingURL=createEmptyEditorState.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { SerializedEditorState, SerializedLexicalNode } from 'lexical';
2
2
  export declare function hasText(value: SerializedEditorState<SerializedLexicalNode> | null | undefined): boolean;
3
- //# sourceMappingURL=hasText.d.ts.map
@@ -2,4 +2,3 @@ import type { SerializedEditorState } from 'lexical';
2
2
  export declare const richTextValidate: (value: SerializedEditorState | undefined, options: {
3
3
  required?: boolean;
4
4
  }) => Promise<true | "validation:required">;
5
- //# sourceMappingURL=validate.d.ts.map