@payloadcms/richtext-lexical 3.84.0 → 4.0.0-internal.38b7f1d
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/dist/exports/client/Field-PJW7KUJG.js +2 -0
- package/dist/exports/client/Field-PJW7KUJG.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-5RONAYJM.js +2 -0
- package/dist/exports/client/RelationshipComponent-5RONAYJM.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -1
- package/dist/exports/client/chunk-44G3K3W7.js +2 -0
- package/dist/exports/client/chunk-44G3K3W7.js.map +7 -0
- package/dist/exports/client/chunk-WSAPGI3Z.js +2 -0
- package/dist/exports/client/chunk-WSAPGI3Z.js.map +7 -0
- package/dist/exports/client/component-53Y3RYR5.js +2 -0
- package/dist/exports/client/component-53Y3RYR5.js.map +7 -0
- package/dist/exports/client/componentInline-PM4PLNUK.js +2 -0
- package/dist/exports/client/index.d.ts +0 -2
- package/dist/exports/client/index.d.ts.map +1 -1
- package/dist/exports/client/index.js +30 -30
- package/dist/exports/client/index.js.map +4 -4
- package/dist/features/align/client/toolbarAlignGroup.d.ts.map +1 -1
- package/dist/features/align/client/toolbarAlignGroup.js +1 -0
- package/dist/features/align/client/toolbarAlignGroup.js.map +1 -1
- package/dist/features/blockquote/server/index.d.ts.map +1 -1
- package/dist/features/blockquote/server/index.js +0 -39
- package/dist/features/blockquote/server/index.js.map +1 -1
- package/dist/features/blocks/client/component/BlockContent.d.ts +10 -0
- package/dist/features/blocks/client/component/BlockContent.d.ts.map +1 -1
- package/dist/features/blocks/client/component/BlockContent.js.map +1 -1
- package/dist/features/blocks/client/component/index.css +178 -0
- package/dist/features/blocks/client/component/index.d.ts +1 -1
- package/dist/features/blocks/client/component/index.d.ts.map +1 -1
- package/dist/features/blocks/client/component/index.js +88 -16
- package/dist/features/blocks/client/component/index.js.map +1 -1
- package/dist/features/blocks/client/componentInline/index.css +85 -0
- package/dist/features/blocks/client/componentInline/index.d.ts +1 -1
- package/dist/features/blocks/client/componentInline/index.d.ts.map +1 -1
- package/dist/features/blocks/client/componentInline/index.js +29 -6
- package/dist/features/blocks/client/componentInline/index.js.map +1 -1
- package/dist/features/blocks/client/index.d.ts.map +1 -1
- package/dist/features/blocks/client/index.js +0 -2
- package/dist/features/blocks/client/index.js.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Block.d.ts +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Block.d.ts.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Block.js +3 -0
- package/dist/features/blocks/premade/CodeBlock/Component/Block.js.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.css +26 -0
- package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.d.ts +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.d.ts.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.js +4 -1
- package/dist/features/blocks/premade/CodeBlock/Component/Collapse/index.js.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.css +40 -0
- package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.d.ts +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.d.ts.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.js +7 -8
- package/dist/features/blocks/premade/CodeBlock/Component/FloatingCollapse/index.js.map +1 -1
- package/dist/features/blocks/premade/CodeBlock/Component/index.css +171 -0
- package/dist/features/debug/jsxConverter/client/plugin/index.d.ts +1 -1
- package/dist/features/debug/jsxConverter/client/plugin/index.d.ts.map +1 -1
- package/dist/features/debug/jsxConverter/client/plugin/index.js +1 -0
- package/dist/features/debug/jsxConverter/client/plugin/index.js.map +1 -1
- package/dist/features/debug/jsxConverter/client/plugin/style.css +9 -0
- package/dist/features/debug/testRecorder/client/plugin/index.css +51 -0
- package/dist/features/debug/testRecorder/client/plugin/index.d.ts +1 -1
- package/dist/features/debug/testRecorder/client/plugin/index.d.ts.map +1 -1
- package/dist/features/debug/testRecorder/client/plugin/index.js +1 -0
- package/dist/features/debug/testRecorder/client/plugin/index.js.map +1 -1
- package/dist/features/debug/treeView/client/plugin/index.css +81 -0
- package/dist/features/debug/treeView/client/plugin/index.d.ts +1 -1
- package/dist/features/debug/treeView/client/plugin/index.d.ts.map +1 -1
- package/dist/features/debug/treeView/client/plugin/index.js +1 -0
- package/dist/features/debug/treeView/client/plugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.css +91 -0
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts +1 -1
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js +3 -2
- package/dist/features/experimental_table/client/plugins/TableActionMenuPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.css +11 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts +1 -1
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js +1 -0
- package/dist/features/experimental_table/client/plugins/TableCellResizerPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js +1 -1
- package/dist/features/experimental_table/client/plugins/TableHoverActionsPlugin/index.js.map +1 -1
- package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.css +166 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.d.ts +17 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.d.ts.map +1 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.js +219 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.js.map +1 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.css +235 -0
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts +1 -1
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.d.ts.map +1 -1
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js +95 -104
- package/dist/features/experimental_table/client/plugins/TablePlugin/index.js.map +1 -1
- package/dist/features/experimental_table/server/index.d.ts.map +1 -1
- package/dist/features/experimental_table/server/index.js +0 -102
- package/dist/features/experimental_table/server/index.js.map +1 -1
- package/dist/features/heading/server/index.d.ts.map +1 -1
- package/dist/features/heading/server/index.js +0 -39
- package/dist/features/heading/server/index.js.map +1 -1
- package/dist/features/horizontalRule/client/plugin/index.css +25 -0
- package/dist/features/horizontalRule/client/plugin/index.d.ts +1 -1
- package/dist/features/horizontalRule/client/plugin/index.d.ts.map +1 -1
- package/dist/features/horizontalRule/client/plugin/index.js +73 -4
- package/dist/features/horizontalRule/client/plugin/index.js.map +1 -1
- package/dist/features/horizontalRule/server/index.d.ts.map +1 -1
- package/dist/features/horizontalRule/server/index.js +0 -8
- package/dist/features/horizontalRule/server/index.js.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js +28 -8
- package/dist/features/link/client/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.css +112 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.d.ts.map +1 -1
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js +1 -0
- package/dist/features/link/client/plugins/floatingLinkEditor/index.js.map +1 -1
- package/dist/features/link/server/index.d.ts.map +1 -1
- package/dist/features/link/server/index.js +0 -71
- package/dist/features/link/server/index.js.map +1 -1
- package/dist/features/lists/checklist/server/index.d.ts.map +1 -1
- package/dist/features/lists/checklist/server/index.js +0 -7
- package/dist/features/lists/checklist/server/index.js.map +1 -1
- package/dist/features/lists/orderedList/server/index.d.ts.map +1 -1
- package/dist/features/lists/orderedList/server/index.js +0 -7
- package/dist/features/lists/orderedList/server/index.js.map +1 -1
- package/dist/features/lists/unorderedList/server/index.d.ts.map +1 -1
- package/dist/features/lists/unorderedList/server/index.js +0 -7
- package/dist/features/lists/unorderedList/server/index.js.map +1 -1
- package/dist/features/relationship/client/components/RelationshipComponent.d.ts +1 -1
- package/dist/features/relationship/client/components/RelationshipComponent.d.ts.map +1 -1
- package/dist/features/relationship/client/components/RelationshipComponent.js +27 -2
- package/dist/features/relationship/client/components/RelationshipComponent.js.map +1 -1
- package/dist/features/relationship/client/components/index.css +112 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.css +87 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts +1 -1
- package/dist/features/toolbars/fixed/client/Toolbar/index.d.ts.map +1 -1
- package/dist/features/toolbars/fixed/client/Toolbar/index.js +1 -0
- package/dist/features/toolbars/fixed/client/Toolbar/index.js.map +1 -1
- package/dist/features/toolbars/inline/client/Toolbar/index.css +43 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.d.ts +1 -1
- package/dist/features/toolbars/inline/client/Toolbar/index.d.ts.map +1 -1
- package/dist/features/toolbars/inline/client/Toolbar/index.js +1 -0
- package/dist/features/toolbars/inline/client/Toolbar/index.js.map +1 -1
- package/dist/features/toolbars/shared/ToolbarButton/index.css +57 -0
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts +1 -1
- package/dist/features/toolbars/shared/ToolbarButton/index.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarButton/index.js +80 -74
- package/dist/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js +4 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/index.css +214 -0
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/index.d.ts.map +1 -1
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js +11 -7
- package/dist/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
- package/dist/features/toolbars/types.d.ts +4 -0
- package/dist/features/toolbars/types.d.ts.map +1 -1
- package/dist/features/toolbars/types.js.map +1 -1
- package/dist/features/typesServer.d.ts +0 -17
- package/dist/features/typesServer.d.ts.map +1 -1
- package/dist/features/typesServer.js.map +1 -1
- package/dist/features/upload/client/component/index.css +218 -0
- package/dist/features/upload/client/component/index.d.ts +1 -1
- package/dist/features/upload/client/component/index.d.ts.map +1 -1
- package/dist/features/upload/client/component/index.js +86 -63
- package/dist/features/upload/client/component/index.js.map +1 -1
- package/dist/features/upload/client/component/pending/index.d.ts +0 -1
- package/dist/features/upload/client/component/pending/index.d.ts.map +1 -1
- package/dist/features/upload/client/component/pending/index.js.map +1 -1
- package/dist/features/upload/server/index.d.ts.map +1 -1
- package/dist/features/upload/server/index.js +0 -78
- package/dist/features/upload/server/index.js.map +1 -1
- package/dist/field/Diff/converters/listitem/index.css +44 -0
- package/dist/field/Diff/converters/listitem/index.d.ts +1 -1
- package/dist/field/Diff/converters/listitem/index.d.ts.map +1 -1
- package/dist/field/Diff/converters/listitem/index.js +1 -0
- package/dist/field/Diff/converters/listitem/index.js.map +1 -1
- package/dist/field/Diff/converters/relationship/index.css +68 -0
- package/dist/field/Diff/converters/relationship/index.d.ts +1 -1
- package/dist/field/Diff/converters/relationship/index.d.ts.map +1 -1
- package/dist/field/Diff/converters/relationship/index.js +1 -0
- package/dist/field/Diff/converters/relationship/index.js.map +1 -1
- package/dist/field/Diff/converters/unknown/index.css +37 -0
- package/dist/field/Diff/converters/unknown/index.d.ts +1 -1
- package/dist/field/Diff/converters/unknown/index.d.ts.map +1 -1
- package/dist/field/Diff/converters/unknown/index.js +1 -0
- package/dist/field/Diff/converters/unknown/index.js.map +1 -1
- package/dist/field/Diff/converters/upload/index.css +112 -0
- package/dist/field/Diff/converters/upload/index.d.ts +1 -1
- package/dist/field/Diff/converters/upload/index.d.ts.map +1 -1
- package/dist/field/Diff/converters/upload/index.js +1 -0
- package/dist/field/Diff/converters/upload/index.js.map +1 -1
- package/dist/field/Diff/index.css +101 -0
- package/dist/field/Diff/index.d.ts +1 -1
- package/dist/field/Diff/index.d.ts.map +1 -1
- package/dist/field/Diff/index.js +1 -0
- package/dist/field/Diff/index.js.map +1 -1
- package/dist/field/Field.d.ts +2 -2
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +11 -9
- package/dist/field/Field.js.map +1 -1
- package/dist/field/ViewSelector.css +32 -0
- package/dist/field/ViewSelector.d.ts +1 -1
- package/dist/field/ViewSelector.d.ts.map +1 -1
- package/dist/field/ViewSelector.js +1 -0
- package/dist/field/ViewSelector.js.map +1 -1
- package/dist/field/bundled.css +1 -1
- package/dist/field/index.css +60 -0
- package/dist/index.d.ts +0 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -1
- package/dist/lexical/LexicalEditor.css +50 -0
- package/dist/lexical/LexicalEditor.d.ts +1 -1
- package/dist/lexical/LexicalEditor.d.ts.map +1 -1
- package/dist/lexical/LexicalEditor.js +1 -0
- package/dist/lexical/LexicalEditor.js.map +1 -1
- package/dist/lexical/config/server/loader.d.ts.map +1 -1
- package/dist/lexical/config/server/loader.js +12 -9
- package/dist/lexical/config/server/loader.js.map +1 -1
- package/dist/lexical/config/server/sanitize.d.ts.map +1 -1
- package/dist/lexical/config/server/sanitize.js +0 -6
- package/dist/lexical/config/server/sanitize.js.map +1 -1
- package/dist/lexical/plugins/DecoratorPlugin/index.css +11 -0
- package/dist/lexical/plugins/DecoratorPlugin/index.d.ts +1 -1
- package/dist/lexical/plugins/DecoratorPlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/DecoratorPlugin/index.js +1 -0
- package/dist/lexical/plugins/DecoratorPlugin/index.js.map +1 -1
- package/dist/lexical/plugins/InsertParagraphAtEnd/index.css +52 -0
- package/dist/lexical/plugins/InsertParagraphAtEnd/index.d.ts +1 -1
- package/dist/lexical/plugins/InsertParagraphAtEnd/index.d.ts.map +1 -1
- package/dist/lexical/plugins/InsertParagraphAtEnd/index.js +1 -0
- package/dist/lexical/plugins/InsertParagraphAtEnd/index.js.map +1 -1
- package/dist/lexical/plugins/SlashMenu/index.css +65 -0
- package/dist/lexical/plugins/SlashMenu/index.d.ts +1 -1
- package/dist/lexical/plugins/SlashMenu/index.d.ts.map +1 -1
- package/dist/lexical/plugins/SlashMenu/index.js +2 -0
- package/dist/lexical/plugins/SlashMenu/index.js.map +1 -1
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.css +40 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts +1 -1
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js +1 -0
- package/dist/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.css +84 -0
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.d.ts.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js +15 -8
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js +1 -1
- package/dist/lexical/plugins/handles/DraggableBlockPlugin/setTargetLine.js.map +1 -1
- package/dist/lexical/theme/EditorTheme.css +359 -0
- package/dist/lexical/theme/EditorTheme.d.ts.map +1 -1
- package/dist/lexical/theme/EditorTheme.js +1 -0
- package/dist/lexical/theme/EditorTheme.js.map +1 -1
- package/dist/lexical/ui/ContentEditable.css +95 -0
- package/dist/lexical/ui/ContentEditable.d.ts +1 -1
- package/dist/lexical/ui/ContentEditable.d.ts.map +1 -1
- package/dist/lexical/ui/ContentEditable.js +1 -0
- package/dist/lexical/ui/ContentEditable.js.map +1 -1
- package/dist/lexical/ui/icons/Add/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Add/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Add/index.js +19 -12
- package/dist/lexical/ui/icons/Add/index.js.map +1 -1
- package/dist/lexical/ui/icons/Add/index.svg +2 -3
- package/dist/lexical/ui/icons/Add/light.svg +2 -3
- package/dist/lexical/ui/icons/AlignCenter/index.d.ts +3 -1
- package/dist/lexical/ui/icons/AlignCenter/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/AlignCenter/index.js +15 -19
- package/dist/lexical/ui/icons/AlignCenter/index.js.map +1 -1
- package/dist/lexical/ui/icons/AlignJustify/index.d.ts +3 -1
- package/dist/lexical/ui/icons/AlignJustify/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/AlignJustify/index.js +15 -19
- package/dist/lexical/ui/icons/AlignJustify/index.js.map +1 -1
- package/dist/lexical/ui/icons/AlignLeft/index.d.ts +3 -1
- package/dist/lexical/ui/icons/AlignLeft/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/AlignLeft/index.js +15 -19
- package/dist/lexical/ui/icons/AlignLeft/index.js.map +1 -1
- package/dist/lexical/ui/icons/AlignRight/index.d.ts +3 -1
- package/dist/lexical/ui/icons/AlignRight/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/AlignRight/index.js +15 -19
- package/dist/lexical/ui/icons/AlignRight/index.js.map +1 -1
- package/dist/lexical/ui/icons/Block/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Block/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Block/index.js +13 -28
- package/dist/lexical/ui/icons/Block/index.js.map +1 -1
- package/dist/lexical/ui/icons/Blockquote/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Blockquote/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Blockquote/index.js +9 -6
- package/dist/lexical/ui/icons/Blockquote/index.js.map +1 -1
- package/dist/lexical/ui/icons/Bold/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Bold/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Bold/index.js +13 -8
- package/dist/lexical/ui/icons/Bold/index.js.map +1 -1
- package/dist/lexical/ui/icons/Checklist/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Checklist/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Checklist/index.js +17 -18
- package/dist/lexical/ui/icons/Checklist/index.js.map +1 -1
- package/dist/lexical/ui/icons/Code/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Code/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Code/index.js +15 -13
- package/dist/lexical/ui/icons/Code/index.js.map +1 -1
- package/dist/lexical/ui/icons/CodeBlock/index.d.ts +4 -1
- package/dist/lexical/ui/icons/CodeBlock/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/CodeBlock/index.js +18 -7
- package/dist/lexical/ui/icons/CodeBlock/index.js.map +1 -1
- package/dist/lexical/ui/icons/Collapse/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Collapse/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Collapse/index.js +10 -8
- package/dist/lexical/ui/icons/Collapse/index.js.map +1 -1
- package/dist/lexical/ui/icons/DraggableBlock/index.svg +7 -7
- package/dist/lexical/ui/icons/DraggableBlock/light.svg +7 -7
- package/dist/lexical/ui/icons/Expand/index.d.ts +5 -0
- package/dist/lexical/ui/icons/Expand/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Expand/index.js +22 -0
- package/dist/lexical/ui/icons/Expand/index.js.map +1 -0
- package/dist/lexical/ui/icons/H1/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H1/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H1/index.js +9 -6
- package/dist/lexical/ui/icons/H1/index.js.map +1 -1
- package/dist/lexical/ui/icons/H2/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H2/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H2/index.js +9 -6
- package/dist/lexical/ui/icons/H2/index.js.map +1 -1
- package/dist/lexical/ui/icons/H3/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H3/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H3/index.js +9 -6
- package/dist/lexical/ui/icons/H3/index.js.map +1 -1
- package/dist/lexical/ui/icons/H4/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H4/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H4/index.js +9 -6
- package/dist/lexical/ui/icons/H4/index.js.map +1 -1
- package/dist/lexical/ui/icons/H5/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H5/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H5/index.js +9 -6
- package/dist/lexical/ui/icons/H5/index.js.map +1 -1
- package/dist/lexical/ui/icons/H6/index.d.ts +3 -1
- package/dist/lexical/ui/icons/H6/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/H6/index.js +9 -6
- package/dist/lexical/ui/icons/H6/index.js.map +1 -1
- package/dist/lexical/ui/icons/HorizontalRule/index.d.ts +3 -1
- package/dist/lexical/ui/icons/HorizontalRule/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/HorizontalRule/index.js +11 -11
- package/dist/lexical/ui/icons/HorizontalRule/index.js.map +1 -1
- package/dist/lexical/ui/icons/IndentDecrease/index.d.ts +3 -1
- package/dist/lexical/ui/icons/IndentDecrease/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/IndentDecrease/index.js +18 -22
- package/dist/lexical/ui/icons/IndentDecrease/index.js.map +1 -1
- package/dist/lexical/ui/icons/IndentIncrease/index.d.ts +3 -1
- package/dist/lexical/ui/icons/IndentIncrease/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/IndentIncrease/index.js +15 -22
- package/dist/lexical/ui/icons/IndentIncrease/index.js.map +1 -1
- package/dist/lexical/ui/icons/InlineBlocks/index.d.ts +3 -1
- package/dist/lexical/ui/icons/InlineBlocks/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/InlineBlocks/index.js +9 -6
- package/dist/lexical/ui/icons/InlineBlocks/index.js.map +1 -1
- package/dist/lexical/ui/icons/Italic/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Italic/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Italic/index.js +13 -8
- package/dist/lexical/ui/icons/Italic/index.js.map +1 -1
- package/dist/lexical/ui/icons/Link/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Link/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Link/index.js +14 -9
- package/dist/lexical/ui/icons/Link/index.js.map +1 -1
- package/dist/lexical/ui/icons/Meatballs/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Meatballs/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Meatballs/index.js +19 -15
- package/dist/lexical/ui/icons/Meatballs/index.js.map +1 -1
- package/dist/lexical/ui/icons/OrderedList/index.d.ts +4 -1
- package/dist/lexical/ui/icons/OrderedList/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/OrderedList/index.js +19 -25
- package/dist/lexical/ui/icons/OrderedList/index.js.map +1 -1
- package/dist/lexical/ui/icons/Page/index.d.ts +5 -0
- package/dist/lexical/ui/icons/Page/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Page/index.js +21 -0
- package/dist/lexical/ui/icons/Page/index.js.map +1 -0
- package/dist/lexical/ui/icons/Relationship/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Relationship/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Relationship/index.js +13 -25
- package/dist/lexical/ui/icons/Relationship/index.js.map +1 -1
- package/dist/lexical/ui/icons/Strikethrough/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Strikethrough/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Strikethrough/index.js +13 -13
- package/dist/lexical/ui/icons/Strikethrough/index.js.map +1 -1
- package/dist/lexical/ui/icons/Subscript/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Subscript/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Subscript/index.js +10 -7
- package/dist/lexical/ui/icons/Subscript/index.js.map +1 -1
- package/dist/lexical/ui/icons/Superscript/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Superscript/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Superscript/index.js +10 -7
- package/dist/lexical/ui/icons/Superscript/index.js.map +1 -1
- package/dist/lexical/ui/icons/Table/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Table/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Table/index.js +20 -15
- package/dist/lexical/ui/icons/Table/index.js.map +1 -1
- package/dist/lexical/ui/icons/Text/index.d.ts +4 -1
- package/dist/lexical/ui/icons/Text/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Text/index.js +17 -8
- package/dist/lexical/ui/icons/Text/index.js.map +1 -1
- package/dist/lexical/ui/icons/Trash/index.d.ts +10 -0
- package/dist/lexical/ui/icons/Trash/index.d.ts.map +1 -0
- package/dist/lexical/ui/icons/Trash/index.js +29 -0
- package/dist/lexical/ui/icons/Trash/index.js.map +1 -0
- package/dist/lexical/ui/icons/Underline/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Underline/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Underline/index.js +16 -14
- package/dist/lexical/ui/icons/Underline/index.js.map +1 -1
- package/dist/lexical/ui/icons/UnorderedList/index.d.ts +3 -1
- package/dist/lexical/ui/icons/UnorderedList/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/UnorderedList/index.js +13 -40
- package/dist/lexical/ui/icons/UnorderedList/index.js.map +1 -1
- package/dist/lexical/ui/icons/Upload/index.d.ts +3 -1
- package/dist/lexical/ui/icons/Upload/index.d.ts.map +1 -1
- package/dist/lexical/ui/icons/Upload/index.js +15 -22
- package/dist/lexical/ui/icons/Upload/index.js.map +1 -1
- package/dist/utilities/buildEditorState.d.ts.map +1 -1
- package/dist/utilities/buildEditorState.js +13 -0
- package/dist/utilities/buildEditorState.js.map +1 -1
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts +1 -0
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.d.ts.map +1 -1
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js +34 -18
- package/dist/utilities/fieldsDrawer/useLexicalDocumentDrawer.js.map +1 -1
- package/package.json +11 -16
- package/dist/exports/client/Component-DOSSWC76.js +0 -2
- package/dist/exports/client/Component-DOSSWC76.js.map +0 -7
- package/dist/exports/client/Component-MBLHTKDK.js +0 -2
- package/dist/exports/client/Component-MBLHTKDK.js.map +0 -7
- package/dist/exports/client/Field-4UEGQMIN.js +0 -2
- package/dist/exports/client/Field-4UEGQMIN.js.map +0 -7
- package/dist/exports/client/RelationshipComponent-BG3DPV3T.js +0 -2
- package/dist/exports/client/RelationshipComponent-BG3DPV3T.js.map +0 -7
- package/dist/exports/client/chunk-F26IQ5RE.js +0 -2
- package/dist/exports/client/chunk-F26IQ5RE.js.map +0 -7
- package/dist/exports/client/chunk-YWIZCGSY.js +0 -2
- package/dist/exports/client/chunk-YWIZCGSY.js.map +0 -7
- package/dist/exports/client/component-XIHC3W6W.js +0 -2
- package/dist/exports/client/component-XIHC3W6W.js.map +0 -7
- package/dist/exports/client/componentInline-CBBUBQ7P.js +0 -2
- package/dist/exports/server/migrate.d.ts +0 -16
- package/dist/exports/server/migrate.d.ts.map +0 -1
- package/dist/exports/server/migrate.js +0 -16
- package/dist/exports/server/migrate.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.d.ts +0 -4
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.js +0 -7
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/linebreak.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.d.ts +0 -4
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.js +0 -38
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/paragraph.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.d.ts +0 -4
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.js +0 -9
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/tab.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.d.ts +0 -4
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.js +0 -33
- package/dist/features/converters/lexicalToHtml_deprecated/converter/converters/text.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.d.ts +0 -6
- package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.js +0 -9
- package/dist/features/converters/lexicalToHtml_deprecated/converter/defaultConverters.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/index.d.ts +0 -70
- package/dist/features/converters/lexicalToHtml_deprecated/converter/index.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/index.js +0 -104
- package/dist/features/converters/lexicalToHtml_deprecated/converter/index.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/types.d.ts +0 -27
- package/dist/features/converters/lexicalToHtml_deprecated/converter/types.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/converter/types.js +0 -2
- package/dist/features/converters/lexicalToHtml_deprecated/converter/types.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/field/index.d.ts +0 -39
- package/dist/features/converters/lexicalToHtml_deprecated/field/index.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/field/index.js +0 -122
- package/dist/features/converters/lexicalToHtml_deprecated/field/index.js.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/index.d.ts +0 -12
- package/dist/features/converters/lexicalToHtml_deprecated/index.d.ts.map +0 -1
- package/dist/features/converters/lexicalToHtml_deprecated/index.js +0 -11
- package/dist/features/converters/lexicalToHtml_deprecated/index.js.map +0 -1
- package/dist/features/lists/htmlConverter.d.ts +0 -5
- package/dist/features/lists/htmlConverter.d.ts.map +0 -1
- package/dist/features/lists/htmlConverter.js +0 -81
- package/dist/features/lists/htmlConverter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js +0 -22
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js +0 -33
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js +0 -24
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/list/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js +0 -25
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js +0 -22
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/quote/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js +0 -28
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js +0 -22
- package/dist/features/migrations/lexicalPluginToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts +0 -3
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js +0 -9
- package/dist/features/migrations/lexicalPluginToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts +0 -19
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js +0 -78
- package/dist/features/migrations/lexicalPluginToLexical/converter/index.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts +0 -23
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.js +0 -2
- package/dist/features/migrations/lexicalPluginToLexical/converter/types.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts +0 -2
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.js +0 -10
- package/dist/features/migrations/lexicalPluginToLexical/feature.client.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts +0 -10
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js +0 -49
- package/dist/features/migrations/lexicalPluginToLexical/feature.server.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -9
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -15
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +0 -33
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js +0 -74
- package/dist/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js +0 -23
- package/dist/features/migrations/slateToLexical/converter/converters/blockquote/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js +0 -24
- package/dist/features/migrations/slateToLexical/converter/converters/heading/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js +0 -33
- package/dist/features/migrations/slateToLexical/converter/converters/indent/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js +0 -30
- package/dist/features/migrations/slateToLexical/converter/converters/link/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js +0 -26
- package/dist/features/migrations/slateToLexical/converter/converters/listItem/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js +0 -26
- package/dist/features/migrations/slateToLexical/converter/converters/orderedList/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js +0 -15
- package/dist/features/migrations/slateToLexical/converter/converters/relationship/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js +0 -27
- package/dist/features/migrations/slateToLexical/converter/converters/unknown/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js +0 -26
- package/dist/features/migrations/slateToLexical/converter/converters/unorderedList/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js +0 -18
- package/dist/features/migrations/slateToLexical/converter/converters/upload/converter.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts +0 -3
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.js +0 -12
- package/dist/features/migrations/slateToLexical/converter/defaultConverters.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/index.d.ts +0 -19
- package/dist/features/migrations/slateToLexical/converter/index.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/index.js +0 -130
- package/dist/features/migrations/slateToLexical/converter/index.js.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/types.d.ts +0 -16
- package/dist/features/migrations/slateToLexical/converter/types.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/converter/types.js +0 -2
- package/dist/features/migrations/slateToLexical/converter/types.js.map +0 -1
- package/dist/features/migrations/slateToLexical/feature.client.d.ts +0 -2
- package/dist/features/migrations/slateToLexical/feature.client.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/feature.client.js +0 -10
- package/dist/features/migrations/slateToLexical/feature.client.js.map +0 -1
- package/dist/features/migrations/slateToLexical/feature.server.d.ts +0 -40
- package/dist/features/migrations/slateToLexical/feature.server.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/feature.server.js +0 -68
- package/dist/features/migrations/slateToLexical/feature.server.js.map +0 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts +0 -9
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -15
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +0 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +0 -33
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +0 -1
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js +0 -74
- package/dist/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +0 -1
- package/dist/lexical/ui/icons/AI/index.d.ts +0 -3
- package/dist/lexical/ui/icons/AI/index.d.ts.map +0 -1
- package/dist/lexical/ui/icons/AI/index.js +0 -34
- package/dist/lexical/ui/icons/AI/index.js.map +0 -1
- package/dist/lexical/ui/icons/Caret/index.svg +0 -3
- package/dist/lexical/ui/icons/Edit/index.svg +0 -10
- package/dist/lexical/ui/icons/Remove/index.svg +0 -4
- package/dist/utilities/migrateSlateToLexical/index.d.ts +0 -15
- package/dist/utilities/migrateSlateToLexical/index.d.ts.map +0 -1
- package/dist/utilities/migrateSlateToLexical/index.js +0 -152
- package/dist/utilities/migrateSlateToLexical/index.js.map +0 -1
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts +0 -10
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.d.ts.map +0 -1
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js +0 -85
- package/dist/utilities/migrateSlateToLexical/migrateDocumentFieldsRecursively.js.map +0 -1
- /package/dist/exports/client/{componentInline-CBBUBQ7P.js.map → componentInline-PM4PLNUK.js.map} +0 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
import { createPortal } from 'react-dom';
|
|
7
|
+
import './index.css';
|
|
8
|
+
const GRID_COLUMNS = 10;
|
|
9
|
+
const GRID_ROWS = 7;
|
|
10
|
+
function ColumnsIcon() {
|
|
11
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
12
|
+
fill: "none",
|
|
13
|
+
height: "12",
|
|
14
|
+
viewBox: "0 0 12 12",
|
|
15
|
+
width: "12",
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
18
|
+
height: "9",
|
|
19
|
+
rx: "1",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
width: "3",
|
|
22
|
+
x: "1.5",
|
|
23
|
+
y: "1.5"
|
|
24
|
+
}), /*#__PURE__*/_jsx("rect", {
|
|
25
|
+
height: "9",
|
|
26
|
+
rx: "1",
|
|
27
|
+
stroke: "currentColor",
|
|
28
|
+
width: "3",
|
|
29
|
+
x: "7.5",
|
|
30
|
+
y: "1.5"
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function RowsIcon() {
|
|
35
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
36
|
+
fill: "none",
|
|
37
|
+
height: "12",
|
|
38
|
+
viewBox: "0 0 12 12",
|
|
39
|
+
width: "12",
|
|
40
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
41
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
42
|
+
height: "3",
|
|
43
|
+
rx: "1",
|
|
44
|
+
stroke: "currentColor",
|
|
45
|
+
width: "9",
|
|
46
|
+
x: "1.5",
|
|
47
|
+
y: "1.5"
|
|
48
|
+
}), /*#__PURE__*/_jsx("rect", {
|
|
49
|
+
height: "3",
|
|
50
|
+
rx: "1",
|
|
51
|
+
stroke: "currentColor",
|
|
52
|
+
width: "9",
|
|
53
|
+
x: "1.5",
|
|
54
|
+
y: "7.5"
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
export function TableGridPopup({
|
|
59
|
+
anchorElem,
|
|
60
|
+
editor: _editor,
|
|
61
|
+
isOpen,
|
|
62
|
+
onClose,
|
|
63
|
+
onInsert,
|
|
64
|
+
position
|
|
65
|
+
}) {
|
|
66
|
+
const [hoverCol, setHoverCol] = useState(0);
|
|
67
|
+
const [hoverRow, setHoverRow] = useState(0);
|
|
68
|
+
const [inputCols, setInputCols] = useState('');
|
|
69
|
+
const [inputRows, setInputRows] = useState('');
|
|
70
|
+
const [focusedInput, setFocusedInput] = useState(null);
|
|
71
|
+
const popupRef = useRef(null);
|
|
72
|
+
const colsInputRef = useRef(null);
|
|
73
|
+
const rowsInputRef = useRef(null);
|
|
74
|
+
const effectiveCols = hoverCol > 0 ? hoverCol : inputCols ? parseInt(inputCols, 10) || 0 : 5;
|
|
75
|
+
const effectiveRows = hoverRow > 0 ? hoverRow : inputRows ? parseInt(inputRows, 10) || 0 : 5;
|
|
76
|
+
useEffect(() => {
|
|
77
|
+
if (!isOpen) {
|
|
78
|
+
setHoverCol(0);
|
|
79
|
+
setHoverRow(0);
|
|
80
|
+
setInputCols('');
|
|
81
|
+
setInputRows('');
|
|
82
|
+
setFocusedInput(null);
|
|
83
|
+
}
|
|
84
|
+
}, [isOpen]);
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
if (!isOpen) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
const handleKeyDown = e => {
|
|
90
|
+
if (e.key === 'Escape') {
|
|
91
|
+
e.preventDefault();
|
|
92
|
+
e.stopPropagation();
|
|
93
|
+
onClose();
|
|
94
|
+
}
|
|
95
|
+
if (e.key === 'Enter' && focusedInput) {
|
|
96
|
+
e.preventDefault();
|
|
97
|
+
const cols = parseInt(inputCols, 10);
|
|
98
|
+
const rows = parseInt(inputRows, 10);
|
|
99
|
+
if (cols > 0 && rows > 0) {
|
|
100
|
+
onInsert(cols, rows);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
document.addEventListener('keydown', handleKeyDown, true);
|
|
105
|
+
return () => document.removeEventListener('keydown', handleKeyDown, true);
|
|
106
|
+
}, [isOpen, onClose, onInsert, focusedInput, inputCols, inputRows]);
|
|
107
|
+
const handleCellClick = useCallback((col, row) => {
|
|
108
|
+
if (col > 0 && row > 0) {
|
|
109
|
+
onInsert(col, row);
|
|
110
|
+
}
|
|
111
|
+
}, [onInsert]);
|
|
112
|
+
const handleCellMouseEnter = useCallback((col_0, row_0) => {
|
|
113
|
+
setHoverCol(col_0);
|
|
114
|
+
setHoverRow(row_0);
|
|
115
|
+
}, []);
|
|
116
|
+
const handleGridMouseLeave = useCallback(() => {
|
|
117
|
+
setHoverCol(0);
|
|
118
|
+
setHoverRow(0);
|
|
119
|
+
}, []);
|
|
120
|
+
if (!isOpen || !position || !anchorElem) {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
const cells = [];
|
|
124
|
+
for (let row_1 = 1; row_1 <= GRID_ROWS; row_1++) {
|
|
125
|
+
for (let col_1 = 1; col_1 <= GRID_COLUMNS; col_1++) {
|
|
126
|
+
const isInSelection = col_1 <= effectiveCols && row_1 <= effectiveRows;
|
|
127
|
+
const isHovered = col_1 <= hoverCol && row_1 <= hoverRow;
|
|
128
|
+
let className = 'table-grid-popup__cell';
|
|
129
|
+
if (isInSelection && isHovered) {
|
|
130
|
+
className += ' table-grid-popup__cell--hover';
|
|
131
|
+
} else if (isInSelection) {
|
|
132
|
+
className += ' table-grid-popup__cell--selected';
|
|
133
|
+
}
|
|
134
|
+
cells.push(/*#__PURE__*/_jsx("div", {
|
|
135
|
+
"aria-label": `${col_1} columns, ${row_1} rows`,
|
|
136
|
+
className: className,
|
|
137
|
+
onClick: () => handleCellClick(col_1, row_1),
|
|
138
|
+
onKeyDown: e_0 => {
|
|
139
|
+
if (e_0.key === 'Enter' || e_0.key === ' ') {
|
|
140
|
+
e_0.preventDefault();
|
|
141
|
+
handleCellClick(col_1, row_1);
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
onMouseEnter: () => handleCellMouseEnter(col_1, row_1),
|
|
145
|
+
role: "button",
|
|
146
|
+
tabIndex: -1
|
|
147
|
+
}, `${row_1}-${col_1}`));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
const showTooltip = hoverCol > 0 && hoverRow > 0;
|
|
151
|
+
return /*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(React.Fragment, {
|
|
152
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
153
|
+
className: "table-grid-popup__backdrop",
|
|
154
|
+
onClick: onClose
|
|
155
|
+
}), /*#__PURE__*/_jsx("div", {
|
|
156
|
+
className: "table-grid-popup",
|
|
157
|
+
ref: popupRef,
|
|
158
|
+
style: {
|
|
159
|
+
transform: `translate(${position.left}px, ${position.top}px)`
|
|
160
|
+
},
|
|
161
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
162
|
+
className: "table-grid-popup__content",
|
|
163
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
164
|
+
className: "table-grid-popup__header",
|
|
165
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
166
|
+
className: `table-grid-popup__input-group${focusedInput === 'cols' ? ' table-grid-popup__input-group--focused' : ''}`,
|
|
167
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
168
|
+
className: "table-grid-popup__input-icon",
|
|
169
|
+
children: /*#__PURE__*/_jsx(ColumnsIcon, {})
|
|
170
|
+
}), /*#__PURE__*/_jsx("input", {
|
|
171
|
+
"aria-label": "Columns",
|
|
172
|
+
className: "table-grid-popup__input",
|
|
173
|
+
min: 1,
|
|
174
|
+
onBlur: () => setFocusedInput(null),
|
|
175
|
+
onChange: e_1 => setInputCols(e_1.target.value),
|
|
176
|
+
onFocus: () => setFocusedInput('cols'),
|
|
177
|
+
placeholder: hoverCol > 0 ? String(hoverCol) : '5',
|
|
178
|
+
ref: colsInputRef,
|
|
179
|
+
type: "number",
|
|
180
|
+
value: inputCols
|
|
181
|
+
})]
|
|
182
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
183
|
+
className: "table-grid-popup__separator",
|
|
184
|
+
children: "×"
|
|
185
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
186
|
+
className: `table-grid-popup__input-group${focusedInput === 'rows' ? ' table-grid-popup__input-group--focused' : ''}`,
|
|
187
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
188
|
+
className: "table-grid-popup__input-icon",
|
|
189
|
+
children: /*#__PURE__*/_jsx(RowsIcon, {})
|
|
190
|
+
}), /*#__PURE__*/_jsx("input", {
|
|
191
|
+
"aria-label": "Rows",
|
|
192
|
+
className: "table-grid-popup__input",
|
|
193
|
+
min: 1,
|
|
194
|
+
onBlur: () => setFocusedInput(null),
|
|
195
|
+
onChange: e_2 => setInputRows(e_2.target.value),
|
|
196
|
+
onFocus: () => setFocusedInput('rows'),
|
|
197
|
+
placeholder: hoverRow > 0 ? String(hoverRow) : '5',
|
|
198
|
+
ref: rowsInputRef,
|
|
199
|
+
type: "number",
|
|
200
|
+
value: inputRows
|
|
201
|
+
})]
|
|
202
|
+
})]
|
|
203
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
204
|
+
className: "table-grid-popup__grid",
|
|
205
|
+
onMouseLeave: handleGridMouseLeave,
|
|
206
|
+
children: [cells, showTooltip && /*#__PURE__*/_jsxs("div", {
|
|
207
|
+
className: "table-grid-popup__tooltip",
|
|
208
|
+
style: {
|
|
209
|
+
left: `calc(${(hoverCol - 0.5) / GRID_COLUMNS * 100}%)`,
|
|
210
|
+
top: `calc(${(hoverRow - 1) / GRID_ROWS * 100}%)`
|
|
211
|
+
},
|
|
212
|
+
children: [effectiveCols, " × ", effectiveRows]
|
|
213
|
+
})]
|
|
214
|
+
})]
|
|
215
|
+
})
|
|
216
|
+
})]
|
|
217
|
+
}), anchorElem);
|
|
218
|
+
}
|
|
219
|
+
//# sourceMappingURL=index.js.map
|
package/dist/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["useCallback","useEffect","useRef","useState","React","createPortal","GRID_COLUMNS","GRID_ROWS","ColumnsIcon","_jsxs","fill","height","viewBox","width","xmlns","_jsx","rx","stroke","x","y","RowsIcon","TableGridPopup","anchorElem","editor","_editor","isOpen","onClose","onInsert","position","hoverCol","setHoverCol","hoverRow","setHoverRow","inputCols","setInputCols","inputRows","setInputRows","focusedInput","setFocusedInput","popupRef","colsInputRef","rowsInputRef","effectiveCols","parseInt","effectiveRows","handleKeyDown","e","key","preventDefault","stopPropagation","cols","rows","document","addEventListener","removeEventListener","handleCellClick","col","row","handleCellMouseEnter","handleGridMouseLeave","cells","isInSelection","isHovered","className","push","onClick","onKeyDown","onMouseEnter","role","tabIndex","showTooltip","Fragment","ref","style","transform","left","top","min","onBlur","onChange","target","value","onFocus","placeholder","String","type","onMouseLeave"],"sources":["../../../../../../../src/features/experimental_table/client/plugins/TablePlugin/TableGridPopup/index.tsx"],"sourcesContent":["'use client'\n\nimport type { LexicalEditor } from 'lexical'\n\nimport { useCallback, useEffect, useRef, useState } from 'react'\nimport * as React from 'react'\nimport { createPortal } from 'react-dom'\n\nimport './index.css'\n\nconst GRID_COLUMNS = 10\nconst GRID_ROWS = 7\n\nfunction ColumnsIcon() {\n return (\n <svg fill=\"none\" height=\"12\" viewBox=\"0 0 12 12\" width=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect height=\"9\" rx=\"1\" stroke=\"currentColor\" width=\"3\" x=\"1.5\" y=\"1.5\" />\n <rect height=\"9\" rx=\"1\" stroke=\"currentColor\" width=\"3\" x=\"7.5\" y=\"1.5\" />\n </svg>\n )\n}\n\nfunction RowsIcon() {\n return (\n <svg fill=\"none\" height=\"12\" viewBox=\"0 0 12 12\" width=\"12\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect height=\"3\" rx=\"1\" stroke=\"currentColor\" width=\"9\" x=\"1.5\" y=\"1.5\" />\n <rect height=\"3\" rx=\"1\" stroke=\"currentColor\" width=\"9\" x=\"1.5\" y=\"7.5\" />\n </svg>\n )\n}\n\ntype TableGridPopupProps = {\n anchorElem: HTMLElement | null\n editor: LexicalEditor\n isOpen: boolean\n onClose: () => void\n onInsert: (cols: number, rows: number) => void\n position: { left: number; top: number } | null\n}\n\nexport function TableGridPopup({\n anchorElem,\n editor: _editor,\n isOpen,\n onClose,\n onInsert,\n position,\n}: TableGridPopupProps) {\n const [hoverCol, setHoverCol] = useState(0)\n const [hoverRow, setHoverRow] = useState(0)\n const [inputCols, setInputCols] = useState('')\n const [inputRows, setInputRows] = useState('')\n const [focusedInput, setFocusedInput] = useState<'cols' | 'rows' | null>(null)\n const popupRef = useRef<HTMLDivElement>(null)\n const colsInputRef = useRef<HTMLInputElement>(null)\n const rowsInputRef = useRef<HTMLInputElement>(null)\n\n const effectiveCols = hoverCol > 0 ? hoverCol : inputCols ? parseInt(inputCols, 10) || 0 : 5\n const effectiveRows = hoverRow > 0 ? hoverRow : inputRows ? parseInt(inputRows, 10) || 0 : 5\n\n useEffect(() => {\n if (!isOpen) {\n setHoverCol(0)\n setHoverRow(0)\n setInputCols('')\n setInputRows('')\n setFocusedInput(null)\n }\n }, [isOpen])\n\n useEffect(() => {\n if (!isOpen) {\n return\n }\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Escape') {\n e.preventDefault()\n e.stopPropagation()\n onClose()\n }\n if (e.key === 'Enter' && focusedInput) {\n e.preventDefault()\n const cols = parseInt(inputCols, 10)\n const rows = parseInt(inputRows, 10)\n if (cols > 0 && rows > 0) {\n onInsert(cols, rows)\n }\n }\n }\n document.addEventListener('keydown', handleKeyDown, true)\n return () => document.removeEventListener('keydown', handleKeyDown, true)\n }, [isOpen, onClose, onInsert, focusedInput, inputCols, inputRows])\n\n const handleCellClick = useCallback(\n (col: number, row: number) => {\n if (col > 0 && row > 0) {\n onInsert(col, row)\n }\n },\n [onInsert],\n )\n\n const handleCellMouseEnter = useCallback((col: number, row: number) => {\n setHoverCol(col)\n setHoverRow(row)\n }, [])\n\n const handleGridMouseLeave = useCallback(() => {\n setHoverCol(0)\n setHoverRow(0)\n }, [])\n\n if (!isOpen || !position || !anchorElem) {\n return null\n }\n\n const cells: React.ReactNode[] = []\n for (let row = 1; row <= GRID_ROWS; row++) {\n for (let col = 1; col <= GRID_COLUMNS; col++) {\n const isInSelection = col <= effectiveCols && row <= effectiveRows\n const isHovered = col <= hoverCol && row <= hoverRow\n let className = 'table-grid-popup__cell'\n if (isInSelection && isHovered) {\n className += ' table-grid-popup__cell--hover'\n } else if (isInSelection) {\n className += ' table-grid-popup__cell--selected'\n }\n\n cells.push(\n <div\n aria-label={`${col} columns, ${row} rows`}\n className={className}\n key={`${row}-${col}`}\n onClick={() => handleCellClick(col, row)}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault()\n handleCellClick(col, row)\n }\n }}\n onMouseEnter={() => handleCellMouseEnter(col, row)}\n role=\"button\"\n tabIndex={-1}\n />,\n )\n }\n }\n\n const showTooltip = hoverCol > 0 && hoverRow > 0\n\n return createPortal(\n <React.Fragment>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <div className=\"table-grid-popup__backdrop\" onClick={onClose} />\n <div\n className=\"table-grid-popup\"\n ref={popupRef}\n style={{\n transform: `translate(${position.left}px, ${position.top}px)`,\n }}\n >\n <div className=\"table-grid-popup__content\">\n <div className=\"table-grid-popup__header\">\n <div\n className={`table-grid-popup__input-group${focusedInput === 'cols' ? ' table-grid-popup__input-group--focused' : ''}`}\n >\n <div className=\"table-grid-popup__input-icon\">\n <ColumnsIcon />\n </div>\n <input\n aria-label=\"Columns\"\n className=\"table-grid-popup__input\"\n min={1}\n onBlur={() => setFocusedInput(null)}\n onChange={(e) => setInputCols(e.target.value)}\n onFocus={() => setFocusedInput('cols')}\n placeholder={hoverCol > 0 ? String(hoverCol) : '5'}\n ref={colsInputRef}\n type=\"number\"\n value={inputCols}\n />\n </div>\n <span className=\"table-grid-popup__separator\">×</span>\n <div\n className={`table-grid-popup__input-group${focusedInput === 'rows' ? ' table-grid-popup__input-group--focused' : ''}`}\n >\n <div className=\"table-grid-popup__input-icon\">\n <RowsIcon />\n </div>\n <input\n aria-label=\"Rows\"\n className=\"table-grid-popup__input\"\n min={1}\n onBlur={() => setFocusedInput(null)}\n onChange={(e) => setInputRows(e.target.value)}\n onFocus={() => setFocusedInput('rows')}\n placeholder={hoverRow > 0 ? String(hoverRow) : '5'}\n ref={rowsInputRef}\n type=\"number\"\n value={inputRows}\n />\n </div>\n </div>\n {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */}\n <div className=\"table-grid-popup__grid\" onMouseLeave={handleGridMouseLeave}>\n {cells}\n {showTooltip && (\n <div\n className=\"table-grid-popup__tooltip\"\n style={{\n left: `calc(${((hoverCol - 0.5) / GRID_COLUMNS) * 100}%)`,\n top: `calc(${((hoverRow - 1) / GRID_ROWS) * 100}%)`,\n }}\n >\n {effectiveCols} × {effectiveRows}\n </div>\n )}\n </div>\n </div>\n </div>\n </React.Fragment>,\n anchorElem,\n )\n}\n"],"mappings":"AAAA;;;AAIA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ;AACzD,YAAYC,KAAA,MAAW;AACvB,SAASC,YAAY,QAAQ;AAE7B,OAAO;AAEP,MAAMC,YAAA,GAAe;AACrB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ScrollableWrapper {
|
|
3
|
+
overflow-x: auto;
|
|
4
|
+
margin: 0 var(--spacer-4) var(--spacer-5) 0;
|
|
5
|
+
}
|
|
6
|
+
.LexicalEditorTheme__tableScrollableWrapper > .LexicalEditorTheme__table {
|
|
7
|
+
margin-top: 0;
|
|
8
|
+
margin-bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.LexicalEditorTheme__tableAlignmentCenter {
|
|
12
|
+
margin-left: auto;
|
|
13
|
+
margin-right: auto;
|
|
14
|
+
}
|
|
15
|
+
.LexicalEditorTheme__tableAlignmentRight {
|
|
16
|
+
margin-left: auto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.LexicalEditorTheme__tableSelection *::selection {
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.LexicalEditorTheme__table {
|
|
24
|
+
border-collapse: collapse;
|
|
25
|
+
max-width: 100%;
|
|
26
|
+
border-spacing: 0;
|
|
27
|
+
overflow-y: scroll;
|
|
28
|
+
overflow-x: scroll;
|
|
29
|
+
table-layout: fixed;
|
|
30
|
+
width: fit-content;
|
|
31
|
+
margin-top: var(--spacer-4);
|
|
32
|
+
margin-bottom: var(--spacer-5);
|
|
33
|
+
|
|
34
|
+
::selection {
|
|
35
|
+
background: var(--color-bg-selected);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
br::selection {
|
|
39
|
+
background: unset;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.LexicalEditorTheme__tableFrozenColumn tr > td:first-child {
|
|
44
|
+
background-color: var(--color-bg);
|
|
45
|
+
position: sticky;
|
|
46
|
+
z-index: 2;
|
|
47
|
+
left: 0;
|
|
48
|
+
}
|
|
49
|
+
.LexicalEditorTheme__tableFrozenColumn tr > th:first-child {
|
|
50
|
+
background-color: var(--color-bg-secondary);
|
|
51
|
+
position: sticky;
|
|
52
|
+
z-index: 2;
|
|
53
|
+
left: 0;
|
|
54
|
+
}
|
|
55
|
+
.LexicalEditorTheme__tableFrozenColumn tr > :first-child::after {
|
|
56
|
+
content: '';
|
|
57
|
+
position: absolute;
|
|
58
|
+
left: 0;
|
|
59
|
+
top: 0;
|
|
60
|
+
right: 0;
|
|
61
|
+
height: 100%;
|
|
62
|
+
border-right: var(--stroke-width-small) solid var(--color-border);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.LexicalEditorTheme__tableFrozenColumn
|
|
66
|
+
tr
|
|
67
|
+
> :first-child.LexicalEditorTheme__tableCellSelected::after {
|
|
68
|
+
left: 0;
|
|
69
|
+
top: calc(var(--stroke-width-small) / -1);
|
|
70
|
+
right: calc(var(--stroke-width-small) / -1);
|
|
71
|
+
bottom: calc(var(--stroke-width-small) / -1);
|
|
72
|
+
height: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.LexicalEditorTheme__tableRowStriping tr:nth-child(even) {
|
|
76
|
+
background-color: var(--color-bg-hover);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.LexicalEditorTheme__tableSelected {
|
|
80
|
+
outline: 2px solid var(--color-border-selected);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.LexicalEditorTheme__tableCell {
|
|
84
|
+
border: var(--stroke-width-small) solid var(--color-border);
|
|
85
|
+
vertical-align: top;
|
|
86
|
+
text-align: start;
|
|
87
|
+
padding: var(--spacer-2);
|
|
88
|
+
position: relative;
|
|
89
|
+
cursor: default;
|
|
90
|
+
outline: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__paragraph,
|
|
94
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h1,
|
|
95
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h2,
|
|
96
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h3,
|
|
97
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h4,
|
|
98
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h5,
|
|
99
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__h6,
|
|
100
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__quote,
|
|
101
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__ol1,
|
|
102
|
+
.LexicalEditorTheme__tableCell > .LexicalEditorTheme__ul {
|
|
103
|
+
overflow: inherit;
|
|
104
|
+
margin-block: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.LexicalEditorTheme__tableCellResizer {
|
|
108
|
+
position: absolute;
|
|
109
|
+
right: calc(var(--spacer-1) * -1);
|
|
110
|
+
height: 100%;
|
|
111
|
+
width: var(--spacer-2);
|
|
112
|
+
cursor: ew-resize;
|
|
113
|
+
z-index: 10;
|
|
114
|
+
top: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.LexicalEditorTheme__tableCellHeader {
|
|
118
|
+
background-color: var(--color-bg-secondary);
|
|
119
|
+
text-align: start;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.LexicalEditorTheme__tableCellSelected {
|
|
123
|
+
caret-color: transparent;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.LexicalEditorTheme__tableCellSelected::after {
|
|
127
|
+
position: absolute;
|
|
128
|
+
left: calc(var(--stroke-width-small) / -1);
|
|
129
|
+
right: calc(var(--stroke-width-small) / -1);
|
|
130
|
+
bottom: calc(var(--stroke-width-small) / -1);
|
|
131
|
+
top: calc(var(--stroke-width-small) / -1);
|
|
132
|
+
background-color: var(--color-bg-selected);
|
|
133
|
+
border: var(--stroke-width-small) solid var(--color-border-selected);
|
|
134
|
+
opacity: 0.5;
|
|
135
|
+
content: '';
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.LexicalEditorTheme__tableCellHeader.LexicalEditorTheme__tableCellSelected::after {
|
|
140
|
+
background-color: var(--color-bg-selected-hover);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.LexicalEditorTheme__tableAddColumns {
|
|
144
|
+
height: 100%;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.LexicalEditorTheme__tableAddColumns,
|
|
148
|
+
.LexicalEditorTheme__tableAddRows {
|
|
149
|
+
position: absolute;
|
|
150
|
+
background-color: var(--color-bg-secondary);
|
|
151
|
+
border-radius: var(--radius-medium);
|
|
152
|
+
animation: table-controls 0.2s ease;
|
|
153
|
+
border: 0;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3C8.27614 3 8.5 3.22386 8.5 3.5V7.5H12.5C12.7761 7.5 13 7.72386 13 8C13 8.27614 12.7761 8.5 12.5 8.5H8.5V12.5C8.5 12.7761 8.27614 13 8 13C7.72386 13 7.5 12.7761 7.5 12.5V8.5H3.5C3.22386 8.5 3 8.27614 3 8C3 7.72386 3.22386 7.5 3.5 7.5H7.5V3.5C7.5 3.22386 7.72386 3 8 3Z' fill='black' fill-opacity='0.9'/%3E%3C/svg%3E");
|
|
156
|
+
background-repeat: no-repeat;
|
|
157
|
+
background-position: center;
|
|
158
|
+
background-size: var(--spacer-3) var(--spacer-3);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.LexicalEditorTheme__tableAddColumns:hover,
|
|
162
|
+
.LexicalEditorTheme__tableAddRows:hover {
|
|
163
|
+
background-color: var(--color-bg-secondary-hover);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.LexicalEditorTheme__tableAddRows {
|
|
167
|
+
width: calc(100% - 25px);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@keyframes table-controls {
|
|
171
|
+
0% {
|
|
172
|
+
opacity: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
100% {
|
|
176
|
+
opacity: 1;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.LexicalEditorTheme__tableCellResizeRuler {
|
|
181
|
+
display: block;
|
|
182
|
+
position: absolute;
|
|
183
|
+
width: var(--stroke-width-small);
|
|
184
|
+
background-color: var(--color-border-selected);
|
|
185
|
+
height: 100%;
|
|
186
|
+
top: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.LexicalEditorTheme__tableCellActionButtonContainer {
|
|
190
|
+
display: block;
|
|
191
|
+
right: var(--spacer-1);
|
|
192
|
+
top: var(--spacer-1);
|
|
193
|
+
position: absolute;
|
|
194
|
+
z-index: 4;
|
|
195
|
+
width: var(--spacer-3);
|
|
196
|
+
height: var(--spacer-3);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.LexicalEditorTheme__tableCellActionButton {
|
|
200
|
+
background-color: var(--color-bg-secondary);
|
|
201
|
+
display: block;
|
|
202
|
+
border: 0;
|
|
203
|
+
border-radius: var(--radius-full);
|
|
204
|
+
width: var(--spacer-3);
|
|
205
|
+
height: var(--spacer-3);
|
|
206
|
+
color: var(--color-text);
|
|
207
|
+
cursor: pointer;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.LexicalEditorTheme__tableCellActionButton:hover {
|
|
211
|
+
background-color: var(--color-border);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
html[data-theme='dark'] {
|
|
215
|
+
.LexicalEditorTheme__tableCellHeader {
|
|
216
|
+
background-color: var(--color-bg-secondary);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.LexicalEditorTheme__tableCellSelected::after {
|
|
220
|
+
background-color: var(--color-bg-selected);
|
|
221
|
+
opacity: 0.5;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.LexicalEditorTheme__tableAddColumns,
|
|
225
|
+
.LexicalEditorTheme__tableAddRows {
|
|
226
|
+
background-color: var(--color-bg-secondary);
|
|
227
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3C8.27614 3 8.5 3.22386 8.5 3.5V7.5H12.5C12.7761 7.5 13 7.72386 13 8C13 8.27614 12.7761 8.5 12.5 8.5H8.5V12.5C8.5 12.7761 8.27614 13 8 13C7.72386 13 7.5 12.7761 7.5 12.5V8.5H3.5C3.22386 8.5 3 8.27614 3 8C3 7.72386 3.22386 7.5 3.5 7.5H7.5V3.5C7.5 3.22386 7.72386 3 8 3Z' fill='white' fill-opacity='0.9'/%3E%3C/svg%3E");
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.LexicalEditorTheme__tableAddColumns:hover,
|
|
231
|
+
.LexicalEditorTheme__tableAddRows:hover {
|
|
232
|
+
background-color: var(--color-bg-secondary-hover);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
@@ -2,7 +2,7 @@ import type { EditorThemeClasses, Klass, LexicalCommand, LexicalEditor, LexicalN
|
|
|
2
2
|
import type { JSX } from 'react';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import type { PluginComponent } from '../../../../typesClient.js';
|
|
5
|
-
import './index.
|
|
5
|
+
import './index.css';
|
|
6
6
|
export type CellContextShape = {
|
|
7
7
|
cellEditorConfig: CellEditorConfig | null;
|
|
8
8
|
cellEditorPlugins: Array<JSX.Element> | JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/experimental_table/client/plugins/TablePlugin/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/experimental_table/client/plugins/TablePlugin/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,kBAAkB,EAClB,KAAK,EACL,cAAc,EACd,aAAa,EACb,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,GA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