@lexical/react 0.35.0 → 0.35.1-nightly.20250908.0
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/LexicalCollaborationContext.d.ts +0 -1
- package/LexicalCollaborationPlugin.dev.js +1 -1
- package/LexicalCollaborationPlugin.dev.mjs +1 -1
- package/LexicalComposerContext.d.ts +0 -1
- package/LexicalContentEditable.d.ts +1 -1
- package/LexicalContentEditable.dev.js +1 -1
- package/LexicalContentEditable.dev.mjs +1 -1
- package/LexicalTypeaheadMenuPlugin.dev.js +1 -1
- package/LexicalTypeaheadMenuPlugin.dev.mjs +1 -1
- package/package.json +17 -17
- package/shared/LexicalContentEditableElement.d.ts +13 -13
- package/shared/mergeRefs.d.ts +0 -1
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
|
-
/// <reference types="react" />
|
|
9
8
|
import type { EditorThemeClasses, LexicalEditor } from 'lexical';
|
|
10
9
|
export type LexicalComposerContextType = {
|
|
11
10
|
getTheme: () => EditorThemeClasses | null | undefined;
|
|
@@ -19,7 +19,7 @@ export type ContentEditableProps = Omit<ContentEditableElementProps, 'editor'> &
|
|
|
19
19
|
* @deprecated This type has been renamed to `ContentEditableProps` to provide a clearer and more descriptive name.
|
|
20
20
|
* For backward compatibility, this type is still exported as `Props`, but it is recommended to migrate to using `ContentEditableProps` instead.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* This alias is maintained for compatibility purposes but may be removed in future versions.
|
|
23
23
|
* Please update your codebase to use `ContentEditableProps` to ensure long-term maintainability.
|
|
24
24
|
*/
|
|
25
25
|
export type Props = ContentEditableProps;
|
|
@@ -187,7 +187,7 @@ function useCanShowPlaceholder(editor) {
|
|
|
187
187
|
* @deprecated This type has been renamed to `ContentEditableProps` to provide a clearer and more descriptive name.
|
|
188
188
|
* For backward compatibility, this type is still exported as `Props`, but it is recommended to migrate to using `ContentEditableProps` instead.
|
|
189
189
|
*
|
|
190
|
-
*
|
|
190
|
+
* This alias is maintained for compatibility purposes but may be removed in future versions.
|
|
191
191
|
* Please update your codebase to use `ContentEditableProps` to ensure long-term maintainability.
|
|
192
192
|
*/
|
|
193
193
|
|
|
@@ -185,7 +185,7 @@ function useCanShowPlaceholder(editor) {
|
|
|
185
185
|
* @deprecated This type has been renamed to `ContentEditableProps` to provide a clearer and more descriptive name.
|
|
186
186
|
* For backward compatibility, this type is still exported as `Props`, but it is recommended to migrate to using `ContentEditableProps` instead.
|
|
187
187
|
*
|
|
188
|
-
*
|
|
188
|
+
* This alias is maintained for compatibility purposes but may be removed in future versions.
|
|
189
189
|
* Please update your codebase to use `ContentEditableProps` to ensure long-term maintainability.
|
|
190
190
|
*/
|
|
191
191
|
|
package/package.json
CHANGED
|
@@ -8,25 +8,25 @@
|
|
|
8
8
|
"rich-text"
|
|
9
9
|
],
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"version": "0.35.0",
|
|
11
|
+
"version": "0.35.1-nightly.20250908.0",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@floating-ui/react": "^0.27.8",
|
|
14
|
-
"@lexical/devtools-core": "0.35.0",
|
|
15
|
-
"@lexical/dragon": "0.35.0",
|
|
16
|
-
"@lexical/hashtag": "0.35.0",
|
|
17
|
-
"@lexical/history": "0.35.0",
|
|
18
|
-
"@lexical/link": "0.35.0",
|
|
19
|
-
"@lexical/list": "0.35.0",
|
|
20
|
-
"@lexical/mark": "0.35.0",
|
|
21
|
-
"@lexical/markdown": "0.35.0",
|
|
22
|
-
"@lexical/overflow": "0.35.0",
|
|
23
|
-
"@lexical/plain-text": "0.35.0",
|
|
24
|
-
"@lexical/rich-text": "0.35.0",
|
|
25
|
-
"@lexical/table": "0.35.0",
|
|
26
|
-
"@lexical/text": "0.35.0",
|
|
27
|
-
"@lexical/utils": "0.35.0",
|
|
28
|
-
"@lexical/yjs": "0.35.0",
|
|
29
|
-
"lexical": "0.35.0",
|
|
14
|
+
"@lexical/devtools-core": "0.35.1-nightly.20250908.0",
|
|
15
|
+
"@lexical/dragon": "0.35.1-nightly.20250908.0",
|
|
16
|
+
"@lexical/hashtag": "0.35.1-nightly.20250908.0",
|
|
17
|
+
"@lexical/history": "0.35.1-nightly.20250908.0",
|
|
18
|
+
"@lexical/link": "0.35.1-nightly.20250908.0",
|
|
19
|
+
"@lexical/list": "0.35.1-nightly.20250908.0",
|
|
20
|
+
"@lexical/mark": "0.35.1-nightly.20250908.0",
|
|
21
|
+
"@lexical/markdown": "0.35.1-nightly.20250908.0",
|
|
22
|
+
"@lexical/overflow": "0.35.1-nightly.20250908.0",
|
|
23
|
+
"@lexical/plain-text": "0.35.1-nightly.20250908.0",
|
|
24
|
+
"@lexical/rich-text": "0.35.1-nightly.20250908.0",
|
|
25
|
+
"@lexical/table": "0.35.1-nightly.20250908.0",
|
|
26
|
+
"@lexical/text": "0.35.1-nightly.20250908.0",
|
|
27
|
+
"@lexical/utils": "0.35.1-nightly.20250908.0",
|
|
28
|
+
"@lexical/yjs": "0.35.1-nightly.20250908.0",
|
|
29
|
+
"lexical": "0.35.1-nightly.20250908.0",
|
|
30
30
|
"react-error-boundary": "^3.1.4"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -26,18 +26,18 @@ export type ContentEditableElementProps = {
|
|
|
26
26
|
} & Omit<React.AllHTMLAttributes<HTMLDivElement>, 'placeholder'>;
|
|
27
27
|
export declare const ContentEditableElement: React.ForwardRefExoticComponent<{
|
|
28
28
|
editor: LexicalEditor;
|
|
29
|
-
ariaActiveDescendant?: React.AriaAttributes[
|
|
30
|
-
ariaAutoComplete?: React.AriaAttributes[
|
|
31
|
-
ariaControls?: React.AriaAttributes[
|
|
32
|
-
ariaDescribedBy?: React.AriaAttributes[
|
|
33
|
-
ariaErrorMessage?: React.AriaAttributes[
|
|
34
|
-
ariaExpanded?: React.AriaAttributes[
|
|
35
|
-
ariaInvalid?: React.AriaAttributes[
|
|
36
|
-
ariaLabel?: React.AriaAttributes[
|
|
37
|
-
ariaLabelledBy?: React.AriaAttributes[
|
|
38
|
-
ariaMultiline?: React.AriaAttributes[
|
|
39
|
-
ariaOwns?: React.AriaAttributes[
|
|
40
|
-
ariaRequired?: React.AriaAttributes[
|
|
41
|
-
autoCapitalize?:
|
|
29
|
+
ariaActiveDescendant?: React.AriaAttributes["aria-activedescendant"];
|
|
30
|
+
ariaAutoComplete?: React.AriaAttributes["aria-autocomplete"];
|
|
31
|
+
ariaControls?: React.AriaAttributes["aria-controls"];
|
|
32
|
+
ariaDescribedBy?: React.AriaAttributes["aria-describedby"];
|
|
33
|
+
ariaErrorMessage?: React.AriaAttributes["aria-errormessage"];
|
|
34
|
+
ariaExpanded?: React.AriaAttributes["aria-expanded"];
|
|
35
|
+
ariaInvalid?: React.AriaAttributes["aria-invalid"];
|
|
36
|
+
ariaLabel?: React.AriaAttributes["aria-label"];
|
|
37
|
+
ariaLabelledBy?: React.AriaAttributes["aria-labelledby"];
|
|
38
|
+
ariaMultiline?: React.AriaAttributes["aria-multiline"];
|
|
39
|
+
ariaOwns?: React.AriaAttributes["aria-owns"];
|
|
40
|
+
ariaRequired?: React.AriaAttributes["aria-required"];
|
|
41
|
+
autoCapitalize?: HTMLDivElement["autocapitalize"];
|
|
42
42
|
'data-testid'?: string | null | undefined;
|
|
43
43
|
} & Omit<React.AllHTMLAttributes<HTMLDivElement>, "placeholder"> & React.RefAttributes<HTMLDivElement>>;
|
package/shared/mergeRefs.d.ts
CHANGED