Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@udecode/slate-react

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/slate-react - npm Package Compare versions

Comparing version 24.3.0 to 24.3.1

18

dist/index.d.ts

@@ -1,4 +0,4 @@

import React, { useLayoutEffect } from 'react';
import { Value, TEditor, TNode, TDescendant } from '@udecode/slate';
import { ReactEditor } from 'slate-react';
import React$1, { useLayoutEffect } from 'react';
import { Value, TEditor, TNode, TDescendant, TText, EText } from '@udecode/slate';
import { ReactEditor, RenderLeafProps } from 'slate-react';
import * as slate from 'slate';

@@ -10,3 +10,3 @@ import { Path, Location, Point, Range } from 'slate';

import { Value as Value$1 } from '@udecode/slate/dist';
import { UnknownObject } from '@udecode/utils';
import { UnknownObject, Modify } from '@udecode/utils';

@@ -149,6 +149,12 @@ declare const CAN_USE_DOM: boolean;

value: TDescendant[];
children: React.ReactNode;
children: React$1.ReactNode;
onChange: (value: SlateProps['value']) => void;
}
type TRenderLeafProps<V extends Value = Value, N extends TText = EText<V>> = Modify<RenderLeafProps, {
leaf: N;
text: N;
}>;
type RenderLeafFn<V extends Value = Value> = (props: TRenderLeafProps<V>) => React.ReactElement;
/**

@@ -161,2 +167,2 @@ * Focus an editor edge.

export { CAN_USE_DOM, SlateProps, TReactEditor, blurEditor, deselectEditor, findEditorDocumentOrShadowRoot, findEventRange, findNodeKey, findNodePath, focusEditor, focusEditorEdge, getEditorWindow, hasEditorDOMNode, hasEditorEditableTarget, hasEditorSelectableTarget, hasEditorTarget, insertData, isComposing, isEditorFocused, isEditorReadOnly, isTargetInsideNonReadonlyVoid, setFragmentData, toDOMNode, toDOMPoint, toDOMRange, toSlateNode, toSlatePoint, toSlateRange, useIsomorphicLayoutEffect };
export { CAN_USE_DOM, RenderLeafFn, SlateProps, TReactEditor, TRenderLeafProps, blurEditor, deselectEditor, findEditorDocumentOrShadowRoot, findEventRange, findNodeKey, findNodePath, focusEditor, focusEditorEdge, getEditorWindow, hasEditorDOMNode, hasEditorEditableTarget, hasEditorSelectableTarget, hasEditorTarget, insertData, isComposing, isEditorFocused, isEditorReadOnly, isTargetInsideNonReadonlyVoid, setFragmentData, toDOMNode, toDOMPoint, toDOMRange, toSlateNode, toSlatePoint, toSlateRange, useIsomorphicLayoutEffect };
{
"name": "@udecode/slate-react",
"version": "24.3.0",
"version": "24.3.1",
"description": "Slate extension",

@@ -42,3 +42,3 @@ "license": "MIT",

"dependencies": {
"@udecode/slate": "24.3.0",
"@udecode/slate": "24.3.1",
"@udecode/utils": "24.3.0"

@@ -45,0 +45,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc