lexical 0.31.1-nightly.20250507.0 → 0.31.1-nightly.20250509.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/Lexical.dev.js CHANGED
@@ -9428,6 +9428,15 @@ const SKIP_SCROLL_INTO_VIEW_TAG = 'skip-scroll-into-view';
9428
9428
  */
9429
9429
  const SKIP_DOM_SELECTION_TAG = 'skip-dom-selection';
9430
9430
 
9431
+ /**
9432
+ * The update was triggered by editor.focus()
9433
+ */
9434
+ const FOCUS_TAG = 'focus';
9435
+
9436
+ /**
9437
+ * The set of known update tags to help with TypeScript suggestions.
9438
+ */
9439
+
9431
9440
  /**
9432
9441
  * Copyright (c) Meta Platforms, Inc. and affiliates.
9433
9442
  *
@@ -10383,7 +10392,7 @@ class LexicalEditor {
10383
10392
  root.selectEnd();
10384
10393
  }
10385
10394
  }
10386
- $addUpdateTag('focus');
10395
+ $addUpdateTag(FOCUS_TAG);
10387
10396
  $onUpdate(() => {
10388
10397
  rootElement.removeAttribute('autocapitalize');
10389
10398
  if (callbackFn) {
@@ -10445,7 +10454,7 @@ class LexicalEditor {
10445
10454
  };
10446
10455
  }
10447
10456
  }
10448
- LexicalEditor.version = "0.31.1-nightly.20250507.0+dev.cjs";
10457
+ LexicalEditor.version = "0.31.1-nightly.20250509.0+dev.cjs";
10449
10458
 
10450
10459
  let keyCounter = 1;
10451
10460
  function resetRandomKey() {
package/Lexical.dev.mjs CHANGED
@@ -9426,6 +9426,15 @@ const SKIP_SCROLL_INTO_VIEW_TAG = 'skip-scroll-into-view';
9426
9426
  */
9427
9427
  const SKIP_DOM_SELECTION_TAG = 'skip-dom-selection';
9428
9428
 
9429
+ /**
9430
+ * The update was triggered by editor.focus()
9431
+ */
9432
+ const FOCUS_TAG = 'focus';
9433
+
9434
+ /**
9435
+ * The set of known update tags to help with TypeScript suggestions.
9436
+ */
9437
+
9429
9438
  /**
9430
9439
  * Copyright (c) Meta Platforms, Inc. and affiliates.
9431
9440
  *
@@ -10381,7 +10390,7 @@ class LexicalEditor {
10381
10390
  root.selectEnd();
10382
10391
  }
10383
10392
  }
10384
- $addUpdateTag('focus');
10393
+ $addUpdateTag(FOCUS_TAG);
10385
10394
  $onUpdate(() => {
10386
10395
  rootElement.removeAttribute('autocapitalize');
10387
10396
  if (callbackFn) {
@@ -10443,7 +10452,7 @@ class LexicalEditor {
10443
10452
  };
10444
10453
  }
10445
10454
  }
10446
- LexicalEditor.version = "0.31.1-nightly.20250507.0+dev.esm";
10455
+ LexicalEditor.version = "0.31.1-nightly.20250509.0+dev.esm";
10447
10456
 
10448
10457
  let keyCounter = 1;
10449
10458
  function resetRandomKey() {