@meowdown/react 0.41.0 → 0.42.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1603,7 +1603,7 @@ function ProseKitEditor({ markMode = "focus", initialMarkdown, onDocChange, onSl
1603
1603
  editor.focus();
1604
1604
  }
1605
1605
  function scrollIntoView() {
1606
- editor.view.dispatch(editor.state.tr.scrollIntoView());
1606
+ editor.commands.scrollIntoView();
1607
1607
  }
1608
1608
  function getSelectedTextFromState() {
1609
1609
  return getSelectedText(editor.state);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meowdown/react",
3
3
  "type": "module",
4
- "version": "0.41.0",
4
+ "version": "0.42.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "clsx": "^2.1.1",
27
27
  "lucide-react": "^1.21.0",
28
28
  "react-property": "^2.0.2",
29
- "@meowdown/core": "0.41.0"
29
+ "@meowdown/core": "0.42.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^19.0.0",