@payloadcms/richtext-lexical 3.0.0-alpha.29 → 3.0.0-alpha.30

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 (56) hide show
  1. package/dist/field/features/align/feature.client.d.ts +1 -1
  2. package/dist/field/features/blockquote/feature.client.d.ts +1 -1
  3. package/dist/field/features/blocks/feature.client.d.ts +1 -1
  4. package/dist/field/features/blocks/nodes/BlocksNode.d.ts +1 -1
  5. package/dist/field/features/createClientComponent.d.ts +1 -1
  6. package/dist/field/features/debug/testrecorder/feature.client.d.ts +1 -1
  7. package/dist/field/features/debug/treeview/feature.client.d.ts +1 -1
  8. package/dist/field/features/format/bold/feature.client.d.ts +1 -1
  9. package/dist/field/features/format/inlinecode/feature.client.d.ts +1 -1
  10. package/dist/field/features/format/italic/feature.client.d.ts +1 -1
  11. package/dist/field/features/format/strikethrough/feature.client.d.ts +1 -1
  12. package/dist/field/features/format/subscript/feature.client.d.ts +1 -1
  13. package/dist/field/features/format/superscript/feature.client.d.ts +1 -1
  14. package/dist/field/features/format/underline/feature.client.d.ts +1 -1
  15. package/dist/field/features/heading/feature.client.d.ts +1 -1
  16. package/dist/field/features/indent/feature.client.d.ts +1 -1
  17. package/dist/field/features/link/feature.client.d.ts +1 -1
  18. package/dist/field/features/link/plugins/autoLink/index.d.ts +1 -1
  19. package/dist/field/features/lists/checklist/feature.client.d.ts +1 -1
  20. package/dist/field/features/lists/orderedlist/feature.client.d.ts +1 -1
  21. package/dist/field/features/lists/unorderedlist/feature.client.d.ts +1 -1
  22. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/heading/client.d.ts +1 -1
  23. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/link/client.d.ts +1 -1
  24. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/list/client.d.ts +1 -1
  25. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/listItem/client.d.ts +1 -1
  26. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/quote/client.d.ts +1 -1
  27. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/unknown/client.d.ts +1 -1
  28. package/dist/field/features/migrations/lexicalPluginToLexical/converter/converters/upload/client.d.ts +1 -1
  29. package/dist/field/features/migrations/lexicalPluginToLexical/feature.client.d.ts +1 -1
  30. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +1 -1
  31. package/dist/field/features/migrations/slateToLexical/converter/converters/blockquote/client.d.ts +1 -1
  32. package/dist/field/features/migrations/slateToLexical/converter/converters/heading/client.d.ts +1 -1
  33. package/dist/field/features/migrations/slateToLexical/converter/converters/indent/client.d.ts +1 -1
  34. package/dist/field/features/migrations/slateToLexical/converter/converters/link/client.d.ts +1 -1
  35. package/dist/field/features/migrations/slateToLexical/converter/converters/listItem/client.d.ts +1 -1
  36. package/dist/field/features/migrations/slateToLexical/converter/converters/orderedList/client.d.ts +1 -1
  37. package/dist/field/features/migrations/slateToLexical/converter/converters/relationship/client.d.ts +1 -1
  38. package/dist/field/features/migrations/slateToLexical/converter/converters/unknown/client.d.ts +1 -1
  39. package/dist/field/features/migrations/slateToLexical/converter/converters/unorderedList/client.d.ts +1 -1
  40. package/dist/field/features/migrations/slateToLexical/converter/converters/upload/client.d.ts +1 -1
  41. package/dist/field/features/migrations/slateToLexical/feature.client.d.ts +1 -1
  42. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +1 -1
  43. package/dist/field/features/paragraph/feature.client.d.ts +1 -1
  44. package/dist/field/features/relationship/feature.client.d.ts +1 -1
  45. package/dist/field/features/relationship/nodes/RelationshipNode.d.ts +1 -1
  46. package/dist/field/features/upload/feature.client.d.ts +1 -1
  47. package/dist/field/features/upload/nodes/UploadNode.d.ts +1 -1
  48. package/dist/field/features/upload/plugin/index.d.ts +1 -1
  49. package/dist/field/lexical/plugins/FloatingSelectToolbar/index.d.ts +1 -1
  50. package/dist/field/lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/index.d.ts +1 -1
  51. package/dist/field/lexical/plugins/SlashMenu/index.d.ts +1 -1
  52. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +1 -1
  53. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +1 -1
  54. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.d.ts +1 -1
  55. package/dist/field/lexical/ui/ContentEditable.d.ts +1 -1
  56. package/package.json +7 -7
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const AlignFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const BlockQuoteFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { ReducedBlock } from '@payloadcms/ui/types';
3
3
  export type BlocksFeatureClientProps = {
4
4
  reducedBlocks: ReducedBlock[];
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js';
3
3
  import type { DOMConversionMap, DOMExportOutput, EditorConfig, ElementFormatType, LexicalEditor, LexicalNode, NodeKey, Spread } from 'lexical';
4
4
  import { DecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js';
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { FeatureProviderProviderClient, ServerFeature } from './types.js';
3
3
  /**
4
4
  * Utility function to create a client component for the client feature
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const TestRecorderFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const TreeViewFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const BoldFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const InlineCodeFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const ItalicFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const StrikethroughFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const SubscriptFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const SuperscriptFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UnderlineFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { HeadingFeatureProps } from './feature.server.js';
3
3
  export declare const HeadingFeatureClientComponent: import("react").FC<import("../types.js").ClientComponentProps<HeadingFeatureProps>>;
4
4
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const IndentFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { ExclusiveLinkCollectionsProps } from './feature.server.js';
3
3
  export type ClientProps = ExclusiveLinkCollectionsProps;
4
4
  export declare const LinkFeatureClientComponent: import("react").FC<import("../types.js").ClientComponentProps<ExclusiveLinkCollectionsProps>>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { LinkFields } from '../../nodes/types.js';
3
3
  interface LinkMatcherResult {
4
4
  fields?: LinkFields;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const CheckListFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const OrderedListFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UnorderedListFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const HeadingConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const LinkConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const ListConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const ListItemConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const QuoteConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UnknownConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UploadConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const LexicalPluginToLexicalFeatureClientComponent: import("react").FC<null>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { SerializedLexicalNode, Spread } from 'lexical';
3
3
  import { DecoratorNode, type EditorConfig, type LexicalNode, type NodeKey } from 'lexical';
4
4
  export type UnknownConvertedNodeData = {
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const BlockQuoteConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const HeadingConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const IndentConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const LinkConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const ListItemConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const OrderedListConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const RelationshipConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UnknownConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UnorderedListConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const UploadConverterClient: import("react").FC<{
3
3
  componentKey: string;
4
4
  featureKey: string;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const SlateToLexicalFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { SerializedLexicalNode, Spread } from 'lexical';
3
3
  import { DecoratorNode, type EditorConfig, type LexicalNode, type NodeKey } from 'lexical';
4
4
  export type UnknownConvertedNodeData = {
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare const ParagraphFeatureClientComponent: import("react").FC<undefined>;
3
3
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { RelationshipFeatureProps } from './feature.server.js';
3
3
  export declare const RelationshipFeatureClientComponent: import("react").FC<import("../types.js").ClientComponentProps<RelationshipFeatureProps>>;
4
4
  //# sourceMappingURL=feature.client.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { DOMConversionMap, DOMExportOutput, EditorConfig, ElementFormatType, LexicalEditor, LexicalNode, NodeKey, Spread } from 'lexical';
3
3
  import { DecoratorBlockNode, type SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js';
4
4
  export type RelationshipData = {
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export type UploadFeaturePropsClient = {
3
3
  collections: {
4
4
  [collection: string]: {
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { SerializedDecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js';
3
3
  import type { ElementFormatType, NodeKey } from 'lexical';
4
4
  import { DecoratorBlockNode } from '@lexical/react/LexicalDecoratorBlockNode.js';
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import { type LexicalCommand } from 'lexical';
3
3
  import type { RawUploadPayload } from '../nodes/UploadNode.js';
4
4
  export type InsertUploadPayload = Readonly<RawUploadPayload>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './index.scss';
3
3
  export declare function FloatingSelectToolbarPlugin({ anchorElem, }: {
4
4
  anchorElem?: HTMLElement;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import type { LexicalCommand, ParagraphNode, TextNode } from 'lexical';
3
3
  import type { MenuTextMatch, TriggerFn } from '../useMenuTriggerMatch.js';
4
4
  import type { MenuRenderFn, MenuResolution } from './LexicalMenu.js';
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './index.scss';
3
3
  export declare function SlashMenuPlugin({ anchorElem, }: {
4
4
  anchorElem?: HTMLElement;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './index.scss';
3
3
  export declare function AddBlockHandlePlugin({ anchorElem, }: {
4
4
  anchorElem?: HTMLElement;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './index.scss';
3
3
  export declare function DraggableBlockPlugin({ anchorElem, }: {
4
4
  anchorElem?: HTMLElement;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  export declare function setTargetLine(SPACE: number, targetLineElem: HTMLElement, targetBlockElem: HTMLElement, lastTargetBlockElem: HTMLElement | null, mouseY: number, anchorElem: HTMLElement, event: DragEvent, debugHighlightRef: React.RefObject<HTMLDivElement>, isFoundNodeEmptyParagraph?: boolean): void;
3
3
  //# sourceMappingURL=setTargetLine.d.ts.map
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ /// <reference types="react" resolution-mode="require"/>
2
2
  import './ContentEditable.scss';
3
3
  export declare function LexicalContentEditable({ className }: {
4
4
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/richtext-lexical",
3
- "version": "3.0.0-alpha.29",
3
+ "version": "3.0.0-alpha.30",
4
4
  "description": "The officially supported Lexical richtext adapter for Payload",
5
5
  "repository": "https://github.com/payloadcms/payload",
6
6
  "license": "MIT",
@@ -37,14 +37,14 @@
37
37
  "@types/react": "18.2.15",
38
38
  "@types/react-dom": "18.2.7",
39
39
  "@payloadcms/eslint-config": "1.1.1",
40
- "payload": "3.0.0-alpha.29",
41
- "@payloadcms/ui": "3.0.0-alpha.29",
42
- "@payloadcms/translations": "3.0.0-alpha.29"
40
+ "payload": "3.0.0-alpha.30",
41
+ "@payloadcms/ui": "3.0.0-alpha.30",
42
+ "@payloadcms/translations": "3.0.0-alpha.30"
43
43
  },
44
44
  "peerDependencies": {
45
- "@payloadcms/translations": "3.0.0-alpha.29",
46
- "@payloadcms/ui": "3.0.0-alpha.29",
47
- "payload": "3.0.0-alpha.29"
45
+ "@payloadcms/translations": "3.0.0-alpha.30",
46
+ "@payloadcms/ui": "3.0.0-alpha.30",
47
+ "payload": "3.0.0-alpha.30"
48
48
  },
49
49
  "exports": {
50
50
  ".": {