@payloadcms/richtext-lexical 3.0.0-beta.48 → 3.0.0-beta.49
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/README.md +1 -1
- package/dist/cell/index.d.ts +1 -1
- package/dist/cell/index.d.ts.map +1 -1
- package/dist/cell/index.js +1 -2
- package/dist/cell/index.js.map +1 -1
- package/dist/exports/client/Component-6AVANNNR.js +2 -0
- package/dist/exports/client/Component-6AVANNNR.js.map +7 -0
- package/dist/exports/client/Component-SZVAYRJX.js +2 -0
- package/dist/exports/client/Component-SZVAYRJX.js.map +7 -0
- package/dist/exports/client/Field-U5PHZTST.js +2 -0
- package/dist/exports/client/Field-U5PHZTST.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +2 -0
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -0
- package/dist/exports/client/chunk-33ZTAHVL.js +2 -0
- package/dist/exports/client/chunk-33ZTAHVL.js.map +7 -0
- package/dist/exports/client/chunk-35NZOHAF.js +2 -0
- package/dist/exports/client/chunk-35NZOHAF.js.map +7 -0
- package/dist/exports/client/chunk-3PZ2ZFQG.js +3 -0
- package/dist/exports/client/chunk-3PZ2ZFQG.js.map +7 -0
- package/dist/exports/client/chunk-FSTRW2TI.js +2 -0
- package/dist/exports/client/chunk-FSTRW2TI.js.map +7 -0
- package/dist/exports/client/chunk-Y5455JF3.js +2 -0
- package/dist/exports/client/chunk-Y5455JF3.js.map +7 -0
- package/dist/exports/client/component-FFLILIUZ.js +2 -0
- package/dist/exports/client/component-FFLILIUZ.js.map +7 -0
- package/dist/exports/client/component-GR6KYTLO.js +2 -0
- package/dist/exports/client/component-GR6KYTLO.js.map +7 -0
- package/dist/exports/client/component-RAVN56DE.js +2 -0
- package/dist/exports/client/component-RAVN56DE.js.map +7 -0
- package/dist/exports/client/index.d.ts +52 -0
- package/dist/exports/client/index.d.ts.map +1 -0
- package/dist/exports/client/index.js +36 -0
- package/dist/exports/client/index.js.map +7 -0
- package/dist/field/Field.d.ts +1 -0
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +2 -7
- package/dist/field/Field.js.map +1 -1
- package/dist/field/bundled.css +0 -0
- package/dist/field/features/align/feature.server.d.ts.map +1 -1
- package/dist/field/features/align/feature.server.js +2 -1
- package/dist/field/features/align/feature.server.js.map +1 -1
- package/dist/field/features/blockquote/feature.server.d.ts.map +1 -1
- package/dist/field/features/blockquote/feature.server.js +2 -1
- package/dist/field/features/blockquote/feature.server.js.map +1 -1
- package/dist/field/features/blocks/component/BlockContent.js +1 -9
- package/dist/field/features/blocks/component/BlockContent.js.map +1 -1
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts +1 -2
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +1 -1
- package/dist/field/features/blocks/component/FormSavePlugin.js +2 -2
- package/dist/field/features/blocks/component/FormSavePlugin.js.map +1 -1
- package/dist/field/features/blocks/component/index.d.ts.map +1 -1
- package/dist/field/features/blocks/component/index.js +2 -12
- package/dist/field/features/blocks/component/index.js.map +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +1 -1
- package/dist/field/features/blocks/drawer/index.d.ts.map +1 -1
- package/dist/field/features/blocks/drawer/index.js +1 -4
- package/dist/field/features/blocks/drawer/index.js.map +1 -1
- package/dist/field/features/blocks/feature.server.d.ts +1 -1
- package/dist/field/features/blocks/feature.server.d.ts.map +1 -1
- package/dist/field/features/blocks/feature.server.js +3 -3
- package/dist/field/features/blocks/feature.server.js.map +1 -1
- package/dist/field/features/converters/html/field/index.d.ts +1 -1
- package/dist/field/features/converters/html/field/index.d.ts.map +1 -1
- package/dist/field/features/converters/html/field/index.js.map +1 -1
- package/dist/field/features/createFeaturePropComponent.d.ts.map +1 -1
- package/dist/field/features/createFeaturePropComponent.js +1 -3
- package/dist/field/features/createFeaturePropComponent.js.map +1 -1
- package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +1 -1
- package/dist/field/features/debug/testRecorder/feature.server.js +2 -1
- package/dist/field/features/debug/testRecorder/feature.server.js.map +1 -1
- package/dist/field/features/debug/testRecorder/plugin/index.js +0 -1
- package/dist/field/features/debug/testRecorder/plugin/index.js.map +1 -1
- package/dist/field/features/debug/treeView/feature.server.d.ts.map +1 -1
- package/dist/field/features/debug/treeView/feature.server.js +2 -1
- package/dist/field/features/debug/treeView/feature.server.js.map +1 -1
- package/dist/field/features/debug/treeView/plugin/index.js +0 -1
- package/dist/field/features/debug/treeView/plugin/index.js.map +1 -1
- package/dist/field/features/format/bold/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/bold/feature.server.js +2 -1
- package/dist/field/features/format/bold/feature.server.js.map +1 -1
- package/dist/field/features/format/inlineCode/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/inlineCode/feature.server.js +2 -1
- package/dist/field/features/format/inlineCode/feature.server.js.map +1 -1
- package/dist/field/features/format/italic/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/italic/feature.server.js +2 -1
- package/dist/field/features/format/italic/feature.server.js.map +1 -1
- package/dist/field/features/format/strikethrough/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/strikethrough/feature.server.js +2 -1
- package/dist/field/features/format/strikethrough/feature.server.js.map +1 -1
- package/dist/field/features/format/subscript/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/subscript/feature.server.js +2 -1
- package/dist/field/features/format/subscript/feature.server.js.map +1 -1
- package/dist/field/features/format/superscript/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/superscript/feature.server.js +2 -1
- package/dist/field/features/format/superscript/feature.server.js.map +1 -1
- package/dist/field/features/format/underline/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/underline/feature.server.js +2 -1
- package/dist/field/features/format/underline/feature.server.js.map +1 -1
- package/dist/field/features/heading/feature.client.d.ts.map +1 -1
- package/dist/field/features/heading/feature.client.js +1 -2
- package/dist/field/features/heading/feature.client.js.map +1 -1
- package/dist/field/features/heading/feature.server.d.ts.map +1 -1
- package/dist/field/features/heading/feature.server.js +2 -1
- package/dist/field/features/heading/feature.server.js.map +1 -1
- package/dist/field/features/horizontalRule/feature.server.d.ts.map +1 -1
- package/dist/field/features/horizontalRule/feature.server.js +2 -1
- package/dist/field/features/horizontalRule/feature.server.js.map +1 -1
- package/dist/field/features/horizontalRule/plugin/index.js +0 -1
- package/dist/field/features/horizontalRule/plugin/index.js.map +1 -1
- package/dist/field/features/indent/feature.server.d.ts.map +1 -1
- package/dist/field/features/indent/feature.server.js +2 -1
- package/dist/field/features/indent/feature.server.js.map +1 -1
- package/dist/field/features/link/drawer/baseFields.d.ts +1 -2
- package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -1
- package/dist/field/features/link/drawer/baseFields.js.map +1 -1
- package/dist/field/features/link/drawer/index.d.ts.map +1 -1
- package/dist/field/features/link/drawer/index.js +2 -10
- package/dist/field/features/link/drawer/index.js.map +1 -1
- package/dist/field/features/link/drawer/types.d.ts +1 -1
- package/dist/field/features/link/drawer/types.d.ts.map +1 -1
- package/dist/field/features/link/drawer/types.js.map +1 -1
- package/dist/field/features/link/feature.server.d.ts +1 -2
- package/dist/field/features/link/feature.server.d.ts.map +1 -1
- package/dist/field/features/link/feature.server.js +5 -4
- package/dist/field/features/link/feature.server.js.map +1 -1
- package/dist/field/features/link/nodes/LinkNode.d.ts.map +1 -1
- package/dist/field/features/link/nodes/LinkNode.js.map +1 -1
- package/dist/field/features/link/plugins/autoLink/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +3 -8
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +1 -2
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -1
- package/dist/field/features/link/validate.d.ts +1 -1
- package/dist/field/features/link/validate.d.ts.map +1 -1
- package/dist/field/features/link/validate.js.map +1 -1
- package/dist/field/features/lists/checklist/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/checklist/feature.server.js +2 -1
- package/dist/field/features/lists/checklist/feature.server.js.map +1 -1
- package/dist/field/features/lists/orderedList/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/orderedList/feature.server.js +2 -1
- package/dist/field/features/lists/orderedList/feature.server.js.map +1 -1
- package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/unorderedList/feature.server.js +2 -1
- package/dist/field/features/lists/unorderedList/feature.server.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +2 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +1 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js +2 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/field/features/paragraph/feature.server.d.ts.map +1 -1
- package/dist/field/features/paragraph/feature.server.js +2 -1
- package/dist/field/features/paragraph/feature.server.js.map +1 -1
- package/dist/field/features/relationship/drawer/index.js +1 -1
- package/dist/field/features/relationship/drawer/index.js.map +1 -1
- package/dist/field/features/relationship/feature.server.d.ts.map +1 -1
- package/dist/field/features/relationship/feature.server.js +2 -1
- package/dist/field/features/relationship/feature.server.js.map +1 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +2 -8
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +1 -1
- package/dist/field/features/relationship/plugins/index.d.ts.map +1 -1
- package/dist/field/features/relationship/plugins/index.js +2 -3
- package/dist/field/features/relationship/plugins/index.js.map +1 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +1 -3
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.js +1 -3
- package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +1 -1
- package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +1 -1
- package/dist/field/features/toolbars/fixed/feature.server.js +2 -1
- package/dist/field/features/toolbars/fixed/feature.server.js.map +1 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.js +0 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.js.map +1 -1
- package/dist/field/features/toolbars/inline/feature.server.d.ts.map +1 -1
- package/dist/field/features/toolbars/inline/feature.server.js +2 -1
- package/dist/field/features/toolbars/inline/feature.server.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.js +0 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
- package/dist/field/features/types.d.ts +1 -3
- package/dist/field/features/types.d.ts.map +1 -1
- package/dist/field/features/types.js.map +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +3 -10
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -1
- package/dist/field/features/upload/component/index.d.ts.map +1 -1
- package/dist/field/features/upload/component/index.js +1 -9
- package/dist/field/features/upload/component/index.js.map +1 -1
- package/dist/field/features/upload/drawer/index.js +1 -1
- package/dist/field/features/upload/drawer/index.js.map +1 -1
- package/dist/field/features/upload/feature.server.d.ts +1 -1
- package/dist/field/features/upload/feature.server.d.ts.map +1 -1
- package/dist/field/features/upload/feature.server.js +3 -2
- package/dist/field/features/upload/feature.server.js.map +1 -1
- package/dist/field/features/upload/nodes/UploadNode.d.ts +1 -2
- package/dist/field/features/upload/nodes/UploadNode.d.ts.map +1 -1
- package/dist/field/features/upload/nodes/UploadNode.js.map +1 -1
- package/dist/field/features/upload/plugin/index.js +1 -1
- package/dist/field/features/upload/plugin/index.js.map +1 -1
- package/dist/field/features/upload/validate.js +1 -1
- package/dist/field/features/upload/validate.js.map +1 -1
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +35 -99
- package/dist/field/index.js.map +1 -1
- package/dist/field/lexical/LexicalEditor.js +1 -2
- package/dist/field/lexical/LexicalEditor.js.map +1 -1
- package/dist/field/lexical/LexicalProvider.d.ts +1 -2
- package/dist/field/lexical/LexicalProvider.d.ts.map +1 -1
- package/dist/field/lexical/LexicalProvider.js +1 -1
- package/dist/field/lexical/LexicalProvider.js.map +1 -1
- package/dist/field/lexical/config/server/loader.d.ts +1 -1
- package/dist/field/lexical/config/server/loader.d.ts.map +1 -1
- package/dist/field/lexical/config/server/loader.js.map +1 -1
- package/dist/field/lexical/config/server/sanitize.d.ts +1 -1
- package/dist/field/lexical/config/server/sanitize.d.ts.map +1 -1
- package/dist/field/lexical/config/server/sanitize.js.map +1 -1
- package/dist/field/lexical/nodes/index.d.ts.map +1 -1
- package/dist/field/lexical/nodes/index.js.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +2 -3
- package/dist/field/lexical/plugins/SlashMenu/index.js.map +1 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
- package/dist/field/lexical/theme/EditorTheme.js +0 -1
- package/dist/field/lexical/theme/EditorTheme.js.map +1 -1
- package/dist/field/lexical/ui/ContentEditable.js +0 -1
- package/dist/field/lexical/ui/ContentEditable.js.map +1 -1
- package/dist/generateComponentMap.d.ts +1 -1
- package/dist/generateComponentMap.d.ts.map +1 -1
- package/dist/generateComponentMap.js.map +1 -1
- package/dist/generateSchemaMap.d.ts +1 -1
- package/dist/generateSchemaMap.d.ts.map +1 -1
- package/dist/generateSchemaMap.js.map +1 -1
- package/dist/index.d.ts +0 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -22
- package/dist/index.js.map +1 -1
- package/dist/populateGraphQL/populate.d.ts +1 -1
- package/dist/populateGraphQL/populate.d.ts.map +1 -1
- package/dist/populateGraphQL/populate.js +1 -1
- package/dist/populateGraphQL/populate.js.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -2
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
- package/dist/types.d.ts +1 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/useLexicalFeature.d.ts.map +1 -1
- package/dist/useLexicalFeature.js +1 -3
- package/dist/useLexicalFeature.js.map +1 -1
- package/dist/validate/index.d.ts +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/validateNodes.d.ts +1 -1
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js.map +1 -1
- package/package.json +22 -22
- package/components.d.ts +0 -6
- package/components.js +0 -7
- package/dist/exports/components.d.ts +0 -11
- package/dist/exports/components.d.ts.map +0 -1
- package/dist/exports/components.js +0 -12
- package/dist/exports/components.js.map +0 -1
- package/dist/field/features/blocks/component/index.scss +0 -149
- package/dist/field/features/debug/testRecorder/plugin/index.scss +0 -49
- package/dist/field/features/debug/treeView/plugin/index.scss +0 -78
- package/dist/field/features/horizontalRule/plugin/index.scss +0 -20
- package/dist/field/features/link/drawer/index.scss +0 -50
- package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -86
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/relationship/nodes/components/index.scss +0 -97
- package/dist/field/features/toolbars/fixed/Toolbar/index.scss +0 -119
- package/dist/field/features/toolbars/inline/Toolbar/index.scss +0 -53
- package/dist/field/features/toolbars/shared/ToolbarButton/index.scss +0 -39
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.scss +0 -112
- package/dist/field/features/upload/component/index.scss +0 -152
- package/dist/field/index.scss +0 -25
- package/dist/field/lexical/LexicalEditor.scss +0 -49
- package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -72
- package/dist/field/lexical/theme/EditorTheme.scss +0 -509
- package/dist/field/lexical/ui/ContentEditable.scss +0 -76
- package/dist/scss/app.scss +0 -208
- package/dist/scss/colors.scss +0 -269
- package/dist/scss/queries.scss +0 -27
- package/dist/scss/resets.scss +0 -17
- package/dist/scss/styles.scss +0 -11
- package/dist/scss/svg.scss +0 -10
- package/dist/scss/toasts.scss +0 -111
- package/dist/scss/type.scss +0 -117
- package/dist/scss/vars.scss +0 -213
- package/dist/scss/z-index.scss +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payloadcms/richtext-lexical",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.49",
|
|
4
4
|
"description": "The officially supported Lexical richtext adapter for Payload",
|
|
5
5
|
"homepage": "https://payloadcms.com",
|
|
6
6
|
"repository": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
13
|
+
"sideEffects": false,
|
|
13
14
|
"type": "module",
|
|
14
15
|
"exports": {
|
|
15
16
|
".": {
|
|
@@ -17,18 +18,16 @@
|
|
|
17
18
|
"require": "./dist/index.js",
|
|
18
19
|
"types": "./dist/index.d.ts"
|
|
19
20
|
},
|
|
20
|
-
"
|
|
21
|
-
"import": "./dist/exports
|
|
22
|
-
"require": "./dist/exports
|
|
23
|
-
"types": "./dist/exports
|
|
21
|
+
"./client": {
|
|
22
|
+
"import": "./dist/exports/client/index.js",
|
|
23
|
+
"require": "./dist/exports/*client/index.js",
|
|
24
|
+
"types": "./dist/exports/client/index.d.ts"
|
|
24
25
|
}
|
|
25
26
|
},
|
|
26
27
|
"main": "./dist/index.js",
|
|
27
28
|
"types": "./dist/index.d.ts",
|
|
28
29
|
"files": [
|
|
29
|
-
"dist"
|
|
30
|
-
"components.js",
|
|
31
|
-
"components.d.ts"
|
|
30
|
+
"dist"
|
|
32
31
|
],
|
|
33
32
|
"dependencies": {
|
|
34
33
|
"@faceless-ui/modal": "3.0.0-beta.0",
|
|
@@ -44,13 +43,11 @@
|
|
|
44
43
|
"@lexical/utils": "0.16.0",
|
|
45
44
|
"@types/uuid": "^9.0.8",
|
|
46
45
|
"bson-objectid": "2.0.4",
|
|
47
|
-
"classnames": "^2.3.2",
|
|
48
46
|
"deep-equal": "2.2.3",
|
|
49
47
|
"json-schema": "^0.4.0",
|
|
50
48
|
"lexical": "0.16.0",
|
|
51
|
-
"lodash": "4.17.21",
|
|
52
49
|
"react-error-boundary": "4.0.13",
|
|
53
|
-
"uuid": "
|
|
50
|
+
"uuid": "10.0.0"
|
|
54
51
|
},
|
|
55
52
|
"devDependencies": {
|
|
56
53
|
"@lexical/eslint-plugin": "0.15.0",
|
|
@@ -58,11 +55,13 @@
|
|
|
58
55
|
"@types/node": "20.12.5",
|
|
59
56
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
|
60
57
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
|
|
58
|
+
"esbuild": "^0.21.4",
|
|
59
|
+
"esbuild-sass-plugin": "^3.3.0",
|
|
61
60
|
"@payloadcms/eslint-config": "1.1.1",
|
|
62
|
-
"@payloadcms/next": "3.0.0-beta.
|
|
63
|
-
"@payloadcms/translations": "3.0.0-beta.
|
|
64
|
-
"
|
|
65
|
-
"
|
|
61
|
+
"@payloadcms/next": "3.0.0-beta.49",
|
|
62
|
+
"@payloadcms/translations": "3.0.0-beta.49",
|
|
63
|
+
"@payloadcms/ui": "3.0.0-beta.49",
|
|
64
|
+
"payload": "3.0.0-beta.49"
|
|
66
65
|
},
|
|
67
66
|
"peerDependencies": {
|
|
68
67
|
"@faceless-ui/modal": "3.0.0-beta.0",
|
|
@@ -79,10 +78,10 @@
|
|
|
79
78
|
"lexical": "0.16.0",
|
|
80
79
|
"react": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522",
|
|
81
80
|
"react-dom": "^19.0.0 || ^19.0.0-rc-f994737d14-20240522",
|
|
82
|
-
"@payloadcms/
|
|
83
|
-
"
|
|
84
|
-
"@payloadcms/
|
|
85
|
-
"
|
|
81
|
+
"@payloadcms/ui": "3.0.0-beta.49",
|
|
82
|
+
"payload": "3.0.0-beta.49",
|
|
83
|
+
"@payloadcms/next": "3.0.0-beta.49",
|
|
84
|
+
"@payloadcms/translations": "3.0.0-beta.49"
|
|
86
85
|
},
|
|
87
86
|
"engines": {
|
|
88
87
|
"node": "^18.20.2 || >=20.9.0"
|
|
@@ -95,12 +94,13 @@
|
|
|
95
94
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2"
|
|
96
95
|
},
|
|
97
96
|
"scripts": {
|
|
98
|
-
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:
|
|
97
|
+
"build": "rm -rf dist && rm -rf tsconfig.tsbuildinfo && pnpm copyfiles && pnpm build:types && pnpm build:swc && pnpm build:esbuild",
|
|
99
98
|
"build:clean": "find . \\( -type d \\( -name build -o -name dist -o -name .cache \\) -o -type f -name tsconfig.tsbuildinfo \\) -exec rm -rf {} + && pnpm build",
|
|
100
|
-
"build:
|
|
99
|
+
"build:esbuild": "node bundle.js",
|
|
100
|
+
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
101
101
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
102
102
|
"clean": "rimraf {dist,*.tsbuildinfo}",
|
|
103
|
-
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,
|
|
103
|
+
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
104
104
|
"translateNewKeys": "tsx scripts/translateNewKeys.ts"
|
|
105
105
|
}
|
|
106
106
|
}
|
package/components.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { RichTextCell } from './dist/cell/index.js';
|
|
2
|
-
export { RichTextField } from './dist/field/index.js';
|
|
3
|
-
export { defaultEditorLexicalConfig } from './dist/field/lexical/config/client/default.js';
|
|
4
|
-
export { ToolbarButton } from './dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js';
|
|
5
|
-
export { ToolbarDropdown } from './dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js';
|
|
6
|
-
//# sourceMappingURL=components.d.ts.map
|
package/components.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { RichTextCell } from './dist/cell/index.js';
|
|
2
|
-
export { RichTextField } from './dist/field/index.js';
|
|
3
|
-
export { defaultEditorLexicalConfig } from './dist/field/lexical/config/client/default.js';
|
|
4
|
-
export { ToolbarButton } from './dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarButton/index.js';
|
|
5
|
-
export { ToolbarDropdown } from './dist/field/lexical/plugins/FloatingSelectToolbar/ToolbarDropdown/index.js';
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { RichTextCell } from '../cell/index.js';
|
|
2
|
-
export { createClientComponent } from '../field/features/createClientComponent.js';
|
|
3
|
-
export { toolbarFormatGroupWithItems } from '../field/features/format/shared/toolbarFormatGroup.js';
|
|
4
|
-
export { toolbarAddDropdownGroupWithItems } from '../field/features/shared/toolbar/addDropdownGroup.js';
|
|
5
|
-
export { toolbarFeatureButtonsGroupWithItems } from '../field/features/shared/toolbar/featureButtonsGroup.js';
|
|
6
|
-
export { toolbarTextDropdownGroupWithItems } from '../field/features/shared/toolbar/textDropdownGroup.js';
|
|
7
|
-
export { ToolbarButton } from '../field/features/toolbars/shared/ToolbarButton/index.js';
|
|
8
|
-
export { ToolbarDropdown } from '../field/features/toolbars/shared/ToolbarDropdown/index.js';
|
|
9
|
-
export { RichTextField } from '../field/index.js';
|
|
10
|
-
export { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js';
|
|
11
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/exports/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAA;AAElF,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAA;AACnG,OAAO,EAAE,gCAAgC,EAAE,MAAM,sDAAsD,CAAA;AACvG,OAAO,EAAE,mCAAmC,EAAE,MAAM,yDAAyD,CAAA;AAC7G,OAAO,EAAE,iCAAiC,EAAE,MAAM,uDAAuD,CAAA;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,0DAA0D,CAAA;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,4DAA4D,CAAA;AAE5F,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { RichTextCell } from '../cell/index.js';
|
|
2
|
-
export { createClientComponent } from '../field/features/createClientComponent.js';
|
|
3
|
-
export { toolbarFormatGroupWithItems } from '../field/features/format/shared/toolbarFormatGroup.js';
|
|
4
|
-
export { toolbarAddDropdownGroupWithItems } from '../field/features/shared/toolbar/addDropdownGroup.js';
|
|
5
|
-
export { toolbarFeatureButtonsGroupWithItems } from '../field/features/shared/toolbar/featureButtonsGroup.js';
|
|
6
|
-
export { toolbarTextDropdownGroupWithItems } from '../field/features/shared/toolbar/textDropdownGroup.js';
|
|
7
|
-
export { ToolbarButton } from '../field/features/toolbars/shared/ToolbarButton/index.js';
|
|
8
|
-
export { ToolbarDropdown } from '../field/features/toolbars/shared/ToolbarDropdown/index.js';
|
|
9
|
-
export { RichTextField } from '../field/index.js';
|
|
10
|
-
export { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js';
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/components.ts"],"sourcesContent":["export { RichTextCell } from '../cell/index.js'\nexport { createClientComponent } from '../field/features/createClientComponent.js'\n\nexport { toolbarFormatGroupWithItems } from '../field/features/format/shared/toolbarFormatGroup.js'\nexport { toolbarAddDropdownGroupWithItems } from '../field/features/shared/toolbar/addDropdownGroup.js'\nexport { toolbarFeatureButtonsGroupWithItems } from '../field/features/shared/toolbar/featureButtonsGroup.js'\nexport { toolbarTextDropdownGroupWithItems } from '../field/features/shared/toolbar/textDropdownGroup.js'\nexport { ToolbarButton } from '../field/features/toolbars/shared/ToolbarButton/index.js'\nexport { ToolbarDropdown } from '../field/features/toolbars/shared/ToolbarDropdown/index.js'\n\nexport { RichTextField } from '../field/index.js'\n\nexport { defaultEditorLexicalConfig } from '../field/lexical/config/client/default.js'\n"],"names":["RichTextCell","createClientComponent","toolbarFormatGroupWithItems","toolbarAddDropdownGroupWithItems","toolbarFeatureButtonsGroupWithItems","toolbarTextDropdownGroupWithItems","ToolbarButton","ToolbarDropdown","RichTextField","defaultEditorLexicalConfig"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,SAASA,YAAY,QAAQ,mBAAkB;AAC/C,SAASC,qBAAqB,QAAQ,6CAA4C;AAElF,SAASC,2BAA2B,QAAQ,wDAAuD;AACnG,SAASC,gCAAgC,QAAQ,uDAAsD;AACvG,SAASC,mCAAmC,QAAQ,0DAAyD;AAC7G,SAASC,iCAAiC,QAAQ,wDAAuD;AACzG,SAASC,aAAa,QAAQ,2DAA0D;AACxF,SAASC,eAAe,QAAQ,6DAA4D;AAE5F,SAASC,aAAa,QAAQ,oBAAmB;AAEjD,SAASC,0BAA0B,QAAQ,4CAA2C"}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
@import '../../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
.ContentEditable__root > div:has(.lexical-block) {
|
|
4
|
-
// Fixes a bug where, if the block field has a Select field, the Select field's dropdown menu would be hidden behind the lexical editor.
|
|
5
|
-
z-index: 1;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.lexical-block {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
gap: calc(var(--base) / 2);
|
|
12
|
-
font-family: var(
|
|
13
|
-
--font-body
|
|
14
|
-
); // Reset font to non-serif, body font, as the lexical editor parent uses a serif font.
|
|
15
|
-
|
|
16
|
-
margin: 0 0 1.5em;
|
|
17
|
-
|
|
18
|
-
&__header {
|
|
19
|
-
h3 {
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__header-wrap {
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: flex-end;
|
|
27
|
-
width: 100%;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__heading-with-error {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: calc(var(--base) * 0.5);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&--has-no-error {
|
|
38
|
-
> .array-field__header .array-field__heading-with-error {
|
|
39
|
-
color: var(--theme-text);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&--has-error {
|
|
44
|
-
> .array-field__header {
|
|
45
|
-
color: var(--theme-error-500);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__error-pill {
|
|
50
|
-
align-self: center;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&__header-actions {
|
|
54
|
-
list-style: none;
|
|
55
|
-
margin: 0;
|
|
56
|
-
padding: 0;
|
|
57
|
-
display: flex;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&__header-action {
|
|
61
|
-
@extend %btn-reset;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
margin-left: calc(var(--base) * 0.5);
|
|
64
|
-
|
|
65
|
-
&:hover,
|
|
66
|
-
&:focus-visible {
|
|
67
|
-
text-decoration: underline;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.collapsible {
|
|
72
|
-
&__header-wrap {
|
|
73
|
-
// Make more space for the block header (default right: is `calc(var(--base) * 3)`) so that the remove button aligns nicely to the right
|
|
74
|
-
right: calc(var(--base) * 1.5);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&__removeButton.btn {
|
|
79
|
-
margin: 0;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__block-header {
|
|
83
|
-
pointer-events: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&__block-header * {
|
|
87
|
-
pointer-events: all;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&__block-header,
|
|
91
|
-
&__block-header > div {
|
|
92
|
-
display: flex;
|
|
93
|
-
max-width: 100%;
|
|
94
|
-
overflow: hidden;
|
|
95
|
-
gap: calc(var(--base) * 0.375);
|
|
96
|
-
justify-content: space-between;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&__block-number {
|
|
100
|
-
flex-shrink: 0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&__block-pill {
|
|
104
|
-
flex-shrink: 0;
|
|
105
|
-
display: block;
|
|
106
|
-
line-height: unset;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&__rows {
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: column;
|
|
112
|
-
gap: calc(var(--base) / 2);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&__drawer-toggler {
|
|
116
|
-
background-color: transparent;
|
|
117
|
-
margin: 0;
|
|
118
|
-
padding: 0;
|
|
119
|
-
border: none;
|
|
120
|
-
align-self: flex-start;
|
|
121
|
-
|
|
122
|
-
.btn {
|
|
123
|
-
color: var(--theme-elevation-400);
|
|
124
|
-
margin: 0;
|
|
125
|
-
|
|
126
|
-
&:hover {
|
|
127
|
-
color: var(--theme-elevation-800);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
html[data-theme='light'] {
|
|
134
|
-
.blocks-field--has-error {
|
|
135
|
-
.section-title__input,
|
|
136
|
-
.blocks-field__heading-with-error {
|
|
137
|
-
color: var(--theme-error-750);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
html[data-theme='dark'] {
|
|
143
|
-
.blocks-field--has-error {
|
|
144
|
-
.section-title__input,
|
|
145
|
-
.blocks-field__heading-with-error {
|
|
146
|
-
color: var(--theme-error-500);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.test-recorder-output {
|
|
2
|
-
margin: 20px auto 20px auto;
|
|
3
|
-
width: 100%;
|
|
4
|
-
}
|
|
5
|
-
.test-recorder-toolbar {
|
|
6
|
-
display: flex;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.test-recorder-button {
|
|
10
|
-
position: relative;
|
|
11
|
-
display: block;
|
|
12
|
-
font-size: 10px;
|
|
13
|
-
padding: 6px 6px;
|
|
14
|
-
border-radius: 4px;
|
|
15
|
-
border: none;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
outline: none;
|
|
18
|
-
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
|
|
19
|
-
background-color: #222;
|
|
20
|
-
color: white;
|
|
21
|
-
transition: box-shadow 50ms ease-out;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.test-recorder-button:active {
|
|
25
|
-
box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.test-recorder-button + .test-recorder-button {
|
|
29
|
-
margin-left: 4px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.test-recorder-button::after {
|
|
33
|
-
content: '';
|
|
34
|
-
position: absolute;
|
|
35
|
-
top: 8px;
|
|
36
|
-
right: 8px;
|
|
37
|
-
bottom: 8px;
|
|
38
|
-
left: 8px;
|
|
39
|
-
display: block;
|
|
40
|
-
background-size: contain;
|
|
41
|
-
filter: invert(1);
|
|
42
|
-
}
|
|
43
|
-
#test-recorder-button {
|
|
44
|
-
position: relative;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#test-recorder-button-snapshot {
|
|
48
|
-
margin-right: auto;
|
|
49
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
.tree-view-output {
|
|
2
|
-
display: block;
|
|
3
|
-
background: #222;
|
|
4
|
-
color: #fff;
|
|
5
|
-
padding: 0;
|
|
6
|
-
font-size: 12px;
|
|
7
|
-
margin: 1px auto 10px auto;
|
|
8
|
-
position: relative;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
border-bottom-left-radius: 10px;
|
|
11
|
-
border-bottom-right-radius: 10px;
|
|
12
|
-
|
|
13
|
-
pre {
|
|
14
|
-
line-height: 1.1;
|
|
15
|
-
background: #222;
|
|
16
|
-
color: #fff;
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 10px;
|
|
19
|
-
font-size: 12px;
|
|
20
|
-
overflow: auto;
|
|
21
|
-
max-height: 400px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.debug-treetype-button {
|
|
25
|
-
border: 0;
|
|
26
|
-
padding: 0;
|
|
27
|
-
font-size: 12px;
|
|
28
|
-
top: 10px;
|
|
29
|
-
right: 85px;
|
|
30
|
-
position: absolute;
|
|
31
|
-
background: none;
|
|
32
|
-
color: #fff;
|
|
33
|
-
|
|
34
|
-
&:hover {
|
|
35
|
-
text-decoration: underline;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.debug-timetravel-button {
|
|
40
|
-
border: 0;
|
|
41
|
-
padding: 0;
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
top: 10px;
|
|
44
|
-
right: 15px;
|
|
45
|
-
position: absolute;
|
|
46
|
-
background: none;
|
|
47
|
-
color: #fff;
|
|
48
|
-
|
|
49
|
-
&:hover {
|
|
50
|
-
text-decoration: underline;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.debug-timetravel-panel {
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
padding: 0 0 10px;
|
|
57
|
-
margin: auto;
|
|
58
|
-
display: flex;
|
|
59
|
-
|
|
60
|
-
&-button {
|
|
61
|
-
padding: 0;
|
|
62
|
-
border: 0;
|
|
63
|
-
background: none;
|
|
64
|
-
flex: 1;
|
|
65
|
-
color: #fff;
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
|
|
68
|
-
&:hover {
|
|
69
|
-
text-decoration: underline;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-slider {
|
|
74
|
-
padding: 0;
|
|
75
|
-
flex: 8;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import '../../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
.LexicalEditorTheme__hr {
|
|
4
|
-
padding: 2px 2px;
|
|
5
|
-
border: none;
|
|
6
|
-
margin: 1rem 0;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.LexicalEditorTheme__hr:after {
|
|
11
|
-
content: '';
|
|
12
|
-
display: block;
|
|
13
|
-
height: 2px;
|
|
14
|
-
background-color: var(--theme-elevation-250);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.LexicalEditorTheme__hr.selected {
|
|
18
|
-
outline: 2px solid var(--theme-success-500);
|
|
19
|
-
user-select: none;
|
|
20
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@import '../../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
.lexical-link-edit-drawer {
|
|
4
|
-
&__template {
|
|
5
|
-
position: relative;
|
|
6
|
-
z-index: 1;
|
|
7
|
-
padding-top: var(--base);
|
|
8
|
-
padding-bottom: calc(var(--base) * 2);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&__header {
|
|
12
|
-
width: 100%;
|
|
13
|
-
margin-bottom: var(--base);
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
margin-top: calc(var(--base) * 2.5);
|
|
17
|
-
margin-bottom: var(--base);
|
|
18
|
-
|
|
19
|
-
@include mid-break {
|
|
20
|
-
margin-top: calc(var(--base) * 1.5);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__header-text {
|
|
25
|
-
margin: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&__header-close {
|
|
29
|
-
border: 0;
|
|
30
|
-
background-color: transparent;
|
|
31
|
-
padding: 0;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
width: var(--base);
|
|
35
|
-
height: var(--base);
|
|
36
|
-
|
|
37
|
-
svg {
|
|
38
|
-
width: calc(var(--base) * 2.75);
|
|
39
|
-
height: calc(var(--base) * 2.75);
|
|
40
|
-
position: relative;
|
|
41
|
-
left: calc(var(--base) * -0.825);
|
|
42
|
-
top: calc(var(--base) * -0.825);
|
|
43
|
-
|
|
44
|
-
.stroke {
|
|
45
|
-
stroke-width: 2px;
|
|
46
|
-
vector-effect: non-scaling-stroke;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
@import '../../../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
html[data-theme='light'] {
|
|
4
|
-
.link-editor {
|
|
5
|
-
@include shadow-m;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.link-editor {
|
|
10
|
-
z-index: 1;
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
background: var(--color-base-0);
|
|
14
|
-
padding: 0 3.72px 0 6.25px;
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
left: 0;
|
|
19
|
-
opacity: 0;
|
|
20
|
-
border-radius: 6.25px;
|
|
21
|
-
transition: opacity 0.2s;
|
|
22
|
-
height: 37.5px;
|
|
23
|
-
will-change: transform;
|
|
24
|
-
|
|
25
|
-
.link-input {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
flex-wrap: nowrap;
|
|
30
|
-
min-height: 28px;
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
padding: 2px 4px;
|
|
33
|
-
font-size: 15px;
|
|
34
|
-
border: 0;
|
|
35
|
-
outline: 0;
|
|
36
|
-
position: relative;
|
|
37
|
-
font-family: var(--font-body);
|
|
38
|
-
|
|
39
|
-
&__label-pure {
|
|
40
|
-
color: var(--color-base-1000);
|
|
41
|
-
margin-right: 15px;
|
|
42
|
-
display: block;
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
a {
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
display: block;
|
|
50
|
-
white-space: nowrap;
|
|
51
|
-
overflow: hidden;
|
|
52
|
-
margin-right: 15px;
|
|
53
|
-
text-overflow: ellipsis;
|
|
54
|
-
color: var(--color-blue-600);
|
|
55
|
-
border-bottom: 1px dotted;
|
|
56
|
-
|
|
57
|
-
&:hover {
|
|
58
|
-
color: var(--color-blue-400);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
button {
|
|
64
|
-
all: unset;
|
|
65
|
-
background-size: 16px;
|
|
66
|
-
background-position: center;
|
|
67
|
-
background-repeat: no-repeat;
|
|
68
|
-
width: 30px;
|
|
69
|
-
height: 30px;
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
color: var(--color-base-600);
|
|
72
|
-
border-radius: 4px;
|
|
73
|
-
|
|
74
|
-
&:hover:not([disabled]) {
|
|
75
|
-
background-color: var(--color-base-100);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.link-edit {
|
|
80
|
-
background-image: url(../../../../lexical/ui/icons/Edit/index.svg);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.link-trash {
|
|
84
|
-
background-image: url(../../../../lexical/ui/icons/Remove/index.svg);
|
|
85
|
-
}
|
|
86
|
-
}
|
package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
span.unknownConverted {
|
|
2
|
-
text-transform: uppercase;
|
|
3
|
-
font-family: 'Roboto Mono', monospace;
|
|
4
|
-
letter-spacing: 2px;
|
|
5
|
-
font-size: calc(var(--base) * 0.5);
|
|
6
|
-
margin: 0 0 var(--base);
|
|
7
|
-
background: red;
|
|
8
|
-
color: white;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
|
|
11
|
-
div {
|
|
12
|
-
background: red;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
span.unknownConverted {
|
|
2
|
-
text-transform: uppercase;
|
|
3
|
-
font-family: 'Roboto Mono', monospace;
|
|
4
|
-
letter-spacing: 2px;
|
|
5
|
-
font-size: calc(var(--base) * 0.5);
|
|
6
|
-
margin: 0 0 var(--base);
|
|
7
|
-
background: red;
|
|
8
|
-
color: white;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
|
|
11
|
-
div {
|
|
12
|
-
background: red;
|
|
13
|
-
}
|
|
14
|
-
}
|