@lexical/selection 0.16.1-nightly.20240612.0 → 0.16.1-nightly.20240614.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.
@@ -445,7 +445,7 @@ function $patchStyle(target, patch) {
445
445
  * Will update partially selected TextNodes by splitting the TextNode and applying
446
446
  * the styles to the appropriate one.
447
447
  * @param selection - The selected node(s) to update.
448
- * @param patch - The patch to apply, which can include multiple styles. { CSSProperty: value }. Can also accept a function that returns the new property value.
448
+ * @param patch - The patch to apply, which can include multiple styles. \\{CSSProperty: value\\} . Can also accept a function that returns the new property value.
449
449
  */
450
450
  function $patchStyleText(selection, patch) {
451
451
  const selectedNodes = selection.getNodes();
@@ -443,7 +443,7 @@ function $patchStyle(target, patch) {
443
443
  * Will update partially selected TextNodes by splitting the TextNode and applying
444
444
  * the styles to the appropriate one.
445
445
  * @param selection - The selected node(s) to update.
446
- * @param patch - The patch to apply, which can include multiple styles. { CSSProperty: value }. Can also accept a function that returns the new property value.
446
+ * @param patch - The patch to apply, which can include multiple styles. \\{CSSProperty: value\\} . Can also accept a function that returns the new property value.
447
447
  */
448
448
  function $patchStyleText(selection, patch) {
449
449
  const selectedNodes = selection.getNodes();
package/lexical-node.d.ts CHANGED
@@ -45,6 +45,6 @@ export declare function $addNodeStyle(node: TextNode): void;
45
45
  * Will update partially selected TextNodes by splitting the TextNode and applying
46
46
  * the styles to the appropriate one.
47
47
  * @param selection - The selected node(s) to update.
48
- * @param patch - The patch to apply, which can include multiple styles. { CSSProperty: value }. Can also accept a function that returns the new property value.
48
+ * @param patch - The patch to apply, which can include multiple styles. \\{CSSProperty: value\\} . Can also accept a function that returns the new property value.
49
49
  */
50
50
  export declare function $patchStyleText(selection: BaseSelection, patch: Record<string, string | null | ((currentStyleValue: string | null) => string)>): void;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "selection"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.16.1-nightly.20240612.0",
12
+ "version": "0.16.1-nightly.20240614.0",
13
13
  "main": "LexicalSelection.js",
14
14
  "types": "index.d.ts",
15
15
  "repository": {
@@ -37,6 +37,6 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "lexical": "0.16.1-nightly.20240612.0"
40
+ "lexical": "0.16.1-nightly.20240614.0"
41
41
  }
42
42
  }