@octanejs/lexical 0.2.2 → 0.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/lexical",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -114,10 +114,10 @@
114
114
  "@lexical/yjs": "0.51.0",
115
115
  "lexical": "0.51.0",
116
116
  "yjs": "^13.6.31",
117
- "@octanejs/floating-ui": "0.1.59"
117
+ "@octanejs/floating-ui": "0.1.61"
118
118
  },
119
119
  "peerDependencies": {
120
- "octane": "^0.8.0"
120
+ "octane": "^0.9.0"
121
121
  },
122
122
  "devDependencies": {
123
123
  "@lexical/react": "0.51.0",
@@ -127,7 +127,7 @@
127
127
  "react-dom": "19.2.7",
128
128
  "typescript": "^5.9.3",
129
129
  "vitest": "^4.1.10",
130
- "octane": "0.8.0"
130
+ "octane": "0.9.1"
131
131
  },
132
132
  "scripts": {
133
133
  "test": "vitest run"
@@ -3,11 +3,7 @@
3
3
  // that lowers to an element descriptor, which the Decorators portal renders into
4
4
  // the <hr> element Lexical created. This is the first decorator node, so it
5
5
  // exercises the full decorator portal-map.
6
- import {
7
- $isHorizontalRuleNode,
8
- HorizontalRuleNode as BaseHorizontalRuleNode,
9
- INSERT_HORIZONTAL_RULE_COMMAND,
10
- } from '@lexical/extension';
6
+ import { HorizontalRuleNode as BaseHorizontalRuleNode } from '@lexical/extension';
11
7
  import { useLexicalComposerContext } from './LexicalComposerContext';
12
8
  import { useLexicalNodeSelection } from './useLexicalNodeSelection';
13
9
  import {
@@ -14,7 +14,7 @@ export function HorizontalRulePlugin() {
14
14
  useEffect(() => {
15
15
  return editor.registerCommand(
16
16
  INSERT_HORIZONTAL_RULE_COMMAND,
17
- (type) => {
17
+ (_type) => {
18
18
  const selection = $getSelection();
19
19
  if (!$isRangeSelection(selection)) {
20
20
  return false;