@payloadcms/richtext-lexical 3.5.0 → 3.5.1-canary.15a5791
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-FMNFWV4P.js +2 -0
- package/dist/exports/client/Field-FMNFWV4P.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -1
- package/dist/exports/client/index.d.ts +2 -0
- package/dist/exports/client/index.d.ts.map +1 -1
- package/dist/exports/client/index.js +7 -7
- package/dist/exports/react/index.d.ts +1 -1
- package/dist/exports/react/index.d.ts.map +1 -1
- package/dist/exports/react/index.js.map +1 -1
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +17 -4
- package/dist/field/Field.js.map +1 -1
- package/dist/field/bundled.css +1 -1
- package/dist/lexical-proxy/@lexical-html.d.ts +2 -0
- package/dist/lexical-proxy/@lexical-html.d.ts.map +1 -0
- package/dist/lexical-proxy/@lexical-html.js +2 -0
- package/dist/lexical-proxy/@lexical-html.js.map +1 -0
- package/package.json +13 -6
- package/dist/exports/client/Field-KHGUSLMB.js +0 -2
- package/dist/exports/client/Field-KHGUSLMB.js.map +0 -7
|
@@ -10,6 +10,6 @@ export { TextJSXConverter } from './components/RichText/converter/converters/tex
|
|
|
10
10
|
export { UploadJSXConverter } from './components/RichText/converter/converters/upload.js';
|
|
11
11
|
export { defaultJSXConverters } from './components/RichText/converter/defaultConverters.js';
|
|
12
12
|
export { convertLexicalNodesToJSX } from './components/RichText/converter/index.js';
|
|
13
|
-
export type { JSXConverters, SerializedLexicalNodeWithParent, } from './components/RichText/converter/types.js';
|
|
13
|
+
export type { JSXConverter, JSXConverters, SerializedLexicalNodeWithParent, } from './components/RichText/converter/types.js';
|
|
14
14
|
export { type JSXConvertersFunction, RichText } from './components/RichText/index.js';
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exports/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAA;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAA;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,8DAA8D,CAAA;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAA;AAEzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAA;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA;AACnF,YAAY,EACV,aAAa,EACb,+BAA+B,GAChC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EAAE,KAAK,qBAAqB,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/exports/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0DAA0D,CAAA;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAA;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,8DAA8D,CAAA;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qDAAqD,CAAA;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAA;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAA;AAEzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAA;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAA;AACnF,YAAY,EACV,YAAY,EACZ,aAAa,EACb,+BAA+B,GAChC,MAAM,0CAA0C,CAAA;AACjD,OAAO,EAAE,KAAK,qBAAqB,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["BlockquoteJSXConverter","HeadingJSXConverter","HorizontalRuleJSXConverter","LinebreakJSXConverter","LinkJSXConverter","ListJSXConverter","ParagraphJSXConverter","TableJSXConverter","TextJSXConverter","UploadJSXConverter","defaultJSXConverters","convertLexicalNodesToJSX","RichText"],"sources":["../../../src/exports/react/index.ts"],"sourcesContent":["export { BlockquoteJSXConverter } from './components/RichText/converter/converters/blockquote.js'\nexport { HeadingJSXConverter } from './components/RichText/converter/converters/heading.js'\nexport { HorizontalRuleJSXConverter } from './components/RichText/converter/converters/horizontalRule.js'\nexport { LinebreakJSXConverter } from './components/RichText/converter/converters/linebreak.js'\nexport { LinkJSXConverter } from './components/RichText/converter/converters/link.js'\nexport { ListJSXConverter } from './components/RichText/converter/converters/list.js'\nexport { ParagraphJSXConverter } from './components/RichText/converter/converters/paragraph.js'\nexport { TableJSXConverter } from './components/RichText/converter/converters/table.js'\nexport { TextJSXConverter } from './components/RichText/converter/converters/text.js'\nexport { UploadJSXConverter } from './components/RichText/converter/converters/upload.js'\n\nexport { defaultJSXConverters } from './components/RichText/converter/defaultConverters.js'\nexport { convertLexicalNodesToJSX } from './components/RichText/converter/index.js'\nexport type {\n JSXConverters,\n SerializedLexicalNodeWithParent,\n} from './components/RichText/converter/types.js'\nexport { type JSXConvertersFunction, RichText } from './components/RichText/index.js'\n"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ;AACvC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,qBAAqB,QAAQ;AACtC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,qBAAqB,QAAQ;AACtC,SAASC,iBAAiB,QAAQ;AAClC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,kBAAkB,QAAQ;AAEnC,SAASC,oBAAoB,QAAQ;AACrC,SAASC,wBAAwB,QAAQ;
|
|
1
|
+
{"version":3,"file":"index.js","names":["BlockquoteJSXConverter","HeadingJSXConverter","HorizontalRuleJSXConverter","LinebreakJSXConverter","LinkJSXConverter","ListJSXConverter","ParagraphJSXConverter","TableJSXConverter","TextJSXConverter","UploadJSXConverter","defaultJSXConverters","convertLexicalNodesToJSX","RichText"],"sources":["../../../src/exports/react/index.ts"],"sourcesContent":["export { BlockquoteJSXConverter } from './components/RichText/converter/converters/blockquote.js'\nexport { HeadingJSXConverter } from './components/RichText/converter/converters/heading.js'\nexport { HorizontalRuleJSXConverter } from './components/RichText/converter/converters/horizontalRule.js'\nexport { LinebreakJSXConverter } from './components/RichText/converter/converters/linebreak.js'\nexport { LinkJSXConverter } from './components/RichText/converter/converters/link.js'\nexport { ListJSXConverter } from './components/RichText/converter/converters/list.js'\nexport { ParagraphJSXConverter } from './components/RichText/converter/converters/paragraph.js'\nexport { TableJSXConverter } from './components/RichText/converter/converters/table.js'\nexport { TextJSXConverter } from './components/RichText/converter/converters/text.js'\nexport { UploadJSXConverter } from './components/RichText/converter/converters/upload.js'\n\nexport { defaultJSXConverters } from './components/RichText/converter/defaultConverters.js'\nexport { convertLexicalNodesToJSX } from './components/RichText/converter/index.js'\nexport type {\n JSXConverter,\n JSXConverters,\n SerializedLexicalNodeWithParent,\n} from './components/RichText/converter/types.js'\nexport { type JSXConvertersFunction, RichText } from './components/RichText/index.js'\n"],"mappings":"AAAA,SAASA,sBAAsB,QAAQ;AACvC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,0BAA0B,QAAQ;AAC3C,SAASC,qBAAqB,QAAQ;AACtC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,qBAAqB,QAAQ;AACtC,SAASC,iBAAiB,QAAQ;AAClC,SAASC,gBAAgB,QAAQ;AACjC,SAASC,kBAAkB,QAAQ;AAEnC,SAASC,oBAAoB,QAAQ;AACrC,SAASC,wBAAwB,QAAQ;AAMzC,SAAqCC,QAAQ,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/field/Field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/field/Field.tsx"],"names":[],"mappings":"AAcA,OAAO,KAA+B,MAAM,OAAO,CAAA;AAGnD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAE5D,OAAO,mCAAmC,CAAA;AAC1C,OAAO,eAAe,CAAA;AACtB,OAAO,cAAc,CAAA;AAKrB,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAC/B;IACE,QAAQ,CAAC,YAAY,EAAE,2BAA2B,CAAA;CACnD,GAAG,yBAAyB,CAsG9B,CAAA;AAaD,eAAO,MAAM,QAAQ,EAAE,OAAO,iBAAoD,CAAA"}
|
package/dist/field/Field.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { FieldLabel, useEditDepth, useField, withCondition } from '@payloadcms/ui';
|
|
4
|
+
import { FieldDescription, FieldError, FieldLabel, RenderCustomComponent, useEditDepth, useField, withCondition } from '@payloadcms/ui';
|
|
5
5
|
import { mergeFieldStyles } from '@payloadcms/ui/shared';
|
|
6
6
|
import React, { useCallback, useMemo } from 'react';
|
|
7
7
|
import { ErrorBoundary } from 'react-error-boundary';
|
|
8
|
-
import { LexicalProvider } from '../lexical/LexicalProvider.js';
|
|
9
8
|
import './bundled.css';
|
|
9
|
+
import { LexicalProvider } from '../lexical/LexicalProvider.js';
|
|
10
10
|
const baseClass = 'rich-text-lexical';
|
|
11
11
|
const RichTextComponent = props => {
|
|
12
12
|
const {
|
|
@@ -16,6 +16,7 @@ const RichTextComponent = props => {
|
|
|
16
16
|
name,
|
|
17
17
|
admin: {
|
|
18
18
|
className,
|
|
19
|
+
description,
|
|
19
20
|
readOnly: readOnlyFromAdmin
|
|
20
21
|
} = {},
|
|
21
22
|
label,
|
|
@@ -71,7 +72,13 @@ const RichTextComponent = props => {
|
|
|
71
72
|
return /*#__PURE__*/_jsxs("div", {
|
|
72
73
|
className: classes,
|
|
73
74
|
style: styles,
|
|
74
|
-
children: [
|
|
75
|
+
children: [/*#__PURE__*/_jsx(RenderCustomComponent, {
|
|
76
|
+
CustomComponent: Error,
|
|
77
|
+
Fallback: /*#__PURE__*/_jsx(FieldError, {
|
|
78
|
+
path: path,
|
|
79
|
+
showError: showError
|
|
80
|
+
})
|
|
81
|
+
}), Label || /*#__PURE__*/_jsx(FieldLabel, {
|
|
75
82
|
label: label,
|
|
76
83
|
localized: localized,
|
|
77
84
|
required: required
|
|
@@ -91,7 +98,13 @@ const RichTextComponent = props => {
|
|
|
91
98
|
initialValue,
|
|
92
99
|
path
|
|
93
100
|
})), AfterInput]
|
|
94
|
-
}), Description
|
|
101
|
+
}), Description, /*#__PURE__*/_jsx(RenderCustomComponent, {
|
|
102
|
+
CustomComponent: Description,
|
|
103
|
+
Fallback: /*#__PURE__*/_jsx(FieldDescription, {
|
|
104
|
+
description: description,
|
|
105
|
+
path: path
|
|
106
|
+
})
|
|
107
|
+
})]
|
|
95
108
|
})]
|
|
96
109
|
}, pathWithEditDepth);
|
|
97
110
|
};
|
package/dist/field/Field.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","names":["FieldLabel","useEditDepth","useField","withCondition","mergeFieldStyles","React","useCallback","useMemo","ErrorBoundary","LexicalProvider","baseClass","RichTextComponent","props","editorConfig","field","name","admin","className","readOnly","readOnlyFromAdmin","label","localized","required","path","pathFromProps","readOnlyFromTopLevelProps","validate","readOnlyFromProps","editDepth","memoizedValidate","value","validationOptions","customComponents","AfterInput","BeforeInput","Description","Error","Label","formInitializing","formProcessing","initialValue","setValue","showError","disabled","classes","hideGutter","filter","Boolean","join","pathWithEditDepth","handleChange","editorState","toJSON","styles","_jsxs","style","_jsx","fallbackRender","onReset","composerKey","fieldProps","onChange","JSON","stringify","error","role","color","message","RichText"],"sources":["../../src/field/Field.tsx"],"sourcesContent":["'use client'\nimport type { EditorState, SerializedEditorState } from 'lexical'\nimport type { Validate } from 'payload'\n\nimport {
|
|
1
|
+
{"version":3,"file":"Field.js","names":["FieldDescription","FieldError","FieldLabel","RenderCustomComponent","useEditDepth","useField","withCondition","mergeFieldStyles","React","useCallback","useMemo","ErrorBoundary","LexicalProvider","baseClass","RichTextComponent","props","editorConfig","field","name","admin","className","description","readOnly","readOnlyFromAdmin","label","localized","required","path","pathFromProps","readOnlyFromTopLevelProps","validate","readOnlyFromProps","editDepth","memoizedValidate","value","validationOptions","customComponents","AfterInput","BeforeInput","Description","Error","Label","formInitializing","formProcessing","initialValue","setValue","showError","disabled","classes","hideGutter","filter","Boolean","join","pathWithEditDepth","handleChange","editorState","toJSON","styles","_jsxs","style","_jsx","CustomComponent","Fallback","fallbackRender","onReset","composerKey","fieldProps","onChange","JSON","stringify","error","role","color","message","RichText"],"sources":["../../src/field/Field.tsx"],"sourcesContent":["'use client'\nimport type { EditorState, SerializedEditorState } from 'lexical'\nimport type { Validate } from 'payload'\n\nimport {\n FieldDescription,\n FieldError,\n FieldLabel,\n RenderCustomComponent,\n useEditDepth,\n useField,\n withCondition,\n} from '@payloadcms/ui'\nimport { mergeFieldStyles } from '@payloadcms/ui/shared'\nimport React, { useCallback, useMemo } from 'react'\nimport { ErrorBoundary } from 'react-error-boundary'\n\nimport type { SanitizedClientEditorConfig } from '../lexical/config/types.js'\nimport type { LexicalRichTextFieldProps } from '../types.js'\n\nimport '../lexical/theme/EditorTheme.scss'\nimport './bundled.css'\nimport './index.scss'\nimport { LexicalProvider } from '../lexical/LexicalProvider.js'\n\nconst baseClass = 'rich-text-lexical'\n\nconst RichTextComponent: React.FC<\n {\n readonly editorConfig: SanitizedClientEditorConfig // With rendered features n stuff\n } & LexicalRichTextFieldProps\n> = (props) => {\n const {\n editorConfig,\n field,\n field: {\n name,\n admin: { className, description, readOnly: readOnlyFromAdmin } = {},\n label,\n localized,\n required,\n },\n path: pathFromProps,\n readOnly: readOnlyFromTopLevelProps,\n validate, // Users can pass in client side validation if they WANT to, but it's not required anymore\n } = props\n\n const readOnlyFromProps = readOnlyFromTopLevelProps || readOnlyFromAdmin\n const path = pathFromProps ?? name\n\n const editDepth = useEditDepth()\n\n const memoizedValidate = useCallback<Validate>(\n (value, validationOptions) => {\n if (typeof validate === 'function') {\n // @ts-expect-error - vestiges of when tsconfig was not strict. Feel free to improve\n return validate(value, { ...validationOptions, required })\n }\n return true\n },\n // Important: do not add props to the dependencies array.\n // This would cause an infinite loop and endless re-rendering.\n // Removing props from the dependencies array fixed this issue: https://github.com/payloadcms/payload/issues/3709\n [validate, required],\n )\n\n const {\n customComponents: { AfterInput, BeforeInput, Description, Error, Label } = {},\n formInitializing,\n formProcessing,\n initialValue,\n setValue,\n showError,\n value,\n } = useField<SerializedEditorState>({\n path,\n validate: memoizedValidate,\n })\n\n const disabled = readOnlyFromProps || formProcessing || formInitializing\n\n const classes = [\n baseClass,\n 'field-type',\n className,\n showError && 'error',\n disabled && `${baseClass}--read-only`,\n editorConfig?.admin?.hideGutter !== true ? `${baseClass}--show-gutter` : null,\n ]\n .filter(Boolean)\n .join(' ')\n\n const pathWithEditDepth = `${path}.${editDepth}`\n\n const handleChange = useCallback(\n (editorState: EditorState) => {\n setValue(editorState.toJSON())\n },\n [setValue],\n )\n\n const styles = useMemo(() => mergeFieldStyles(field), [field])\n\n return (\n <div className={classes} key={pathWithEditDepth} style={styles}>\n <RenderCustomComponent\n CustomComponent={Error}\n Fallback={<FieldError path={path} showError={showError} />}\n />\n {Label || <FieldLabel label={label} localized={localized} required={required} />}\n <div className={`${baseClass}__wrap`}>\n <ErrorBoundary fallbackRender={fallbackRender} onReset={() => {}}>\n {BeforeInput}\n <LexicalProvider\n composerKey={pathWithEditDepth}\n editorConfig={editorConfig}\n fieldProps={props}\n key={JSON.stringify({ initialValue, path })} // makes sure lexical is completely re-rendered when initialValue changes, bypassing the lexical-internal value memoization. That way, external changes to the form will update the editor. More infos in PR description (https://github.com/payloadcms/payload/pull/5010)\n onChange={handleChange}\n readOnly={disabled}\n value={value}\n />\n {AfterInput}\n </ErrorBoundary>\n {Description}\n <RenderCustomComponent\n CustomComponent={Description}\n Fallback={<FieldDescription description={description} path={path} />}\n />\n </div>\n </div>\n )\n}\n\nfunction fallbackRender({ error }: { error: Error }) {\n // Call resetErrorBoundary() to reset the error boundary and retry the render.\n\n return (\n <div className=\"errorBoundary\" role=\"alert\">\n <p>Something went wrong:</p>\n <pre style={{ color: 'red' }}>{error.message}</pre>\n </div>\n )\n}\n\nexport const RichText: typeof RichTextComponent = withCondition(RichTextComponent)\n"],"mappings":"AAAA;;;AAIA,SACEA,gBAAgB,EAChBC,UAAU,EACVC,UAAU,EACVC,qBAAqB,EACrBC,YAAY,EACZC,QAAQ,EACRC,aAAa,QACR;AACP,SAASC,gBAAgB,QAAQ;AACjC,OAAOC,KAAA,IAASC,WAAW,EAAEC,OAAO,QAAQ;AAC5C,SAASC,aAAa,QAAQ;AAM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