@udecode/plate-indent
Advanced tools
Comparing version 24.3.6 to 24.4.0
@@ -41,3 +41,4 @@ import * as _udecode_plate_core from '@udecode/plate-core'; | ||
props: { | ||
onClick: (e: React.MouseEvent<HTMLButtonElement>) => void; | ||
onMouseDown: (e: React.MouseEvent<HTMLButtonElement>) => void; | ||
onClick: () => void; | ||
}; | ||
@@ -48,3 +49,4 @@ }; | ||
props: { | ||
onClick: (e: React.MouseEvent<HTMLButtonElement>) => void; | ||
onMouseDown: (e: React.MouseEvent<HTMLButtonElement>) => void; | ||
onClick: () => void; | ||
}; | ||
@@ -51,0 +53,0 @@ }; |
@@ -191,7 +191,7 @@ "use strict"; | ||
props: { | ||
onClick: (e) => { | ||
onMouseDown: (e) => { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
}, | ||
onClick: () => { | ||
indent(editor); | ||
(0, import_plate_common6.focusEditor)(editor); | ||
} | ||
@@ -208,7 +208,7 @@ } | ||
props: { | ||
onClick: (e) => { | ||
onMouseDown: (e) => { | ||
e.preventDefault(); | ||
e.stopPropagation(); | ||
}, | ||
onClick: () => { | ||
outdent(editor); | ||
(0, import_plate_common7.focusEditor)(editor); | ||
} | ||
@@ -215,0 +215,0 @@ } |
{ | ||
"name": "@udecode/plate-indent", | ||
"version": "24.3.6", | ||
"version": "24.4.0", | ||
"description": "Indent plugin for Plate", | ||
@@ -42,3 +42,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@udecode/plate-common": "24.3.6" | ||
"@udecode/plate-common": "24.4.0" | ||
}, | ||
@@ -51,3 +51,3 @@ "peerDependencies": { | ||
"slate-hyperscript": ">=0.66.0", | ||
"slate-react": ">=0.95.0" | ||
"slate-react": ">=0.99.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
502
41986
+ Added@udecode/plate-common@24.4.0(transitive)
+ Added@udecode/plate-core@24.4.0(transitive)
+ Added@udecode/plate-utils@24.4.0(transitive)
+ Added@udecode/slate-react@24.4.0(transitive)
- Removed@udecode/plate-common@24.3.6(transitive)
- Removed@udecode/plate-core@24.3.6(transitive)
- Removed@udecode/plate-utils@24.3.6(transitive)
- Removed@udecode/slate-react@24.3.6(transitive)
Updated@udecode/plate-common@24.4.0