Socket
Socket
Sign inDemoInstall

@udecode/plate-core

Package Overview
Dependencies
Maintainers
2
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-core - npm Package Compare versions

Comparing version 10.2.2 to 10.4.0

dist/components/PlateEventProvider.d.ts

12

CHANGELOG.md
# @udecode/plate-core
## 10.4.0
### Minor Changes
- [#1435](https://github.com/udecode/plate/pull/1435) by [@zbeyens](https://github.com/zbeyens) – Fix a critical issue when using multiple editors #1352
- `withHOC`: 3rd parameter can be used to add props to HOC.
- `usePlateId` now just gets plate id atom value and no longer gets event editor id as fallback.
- `useEventEditorId`: Get last event editor id: focus, blur or last.
- `useEventPlateId`: Get provider plate id or event editor id.
- `PlateEventProvider`: `PlateProvider` where id is the event editor id (used for toolbar buttons).
- `withPlateEventProvider`
## 10.2.2

@@ -4,0 +16,0 @@

2

dist/common/hoc/index.d.ts

@@ -6,5 +6,5 @@ /**

export * from './createNodesHOC';
export * from './withHOC';
export * from './withProps';
export * from './withProviders';
export * from './withHOC';
//# sourceMappingURL=index.d.ts.map
import React, { FunctionComponent } from 'react';
export declare const withHOC: <T>(HOC: FunctionComponent<any>, Component: React.FunctionComponent<T>) => React.FunctionComponent<T>;
export declare const withHOC: <T>(HOC: FunctionComponent<any>, Component: React.FunctionComponent<T>, hocProps?: any) => React.FunctionComponent<T>;
//# sourceMappingURL=withHOC.d.ts.map

@@ -6,7 +6,8 @@ /**

export * from './EditablePlugins';
export * from './PlateProvider';
export * from './EditorRefEffect';
export * from './EditorStateEffect';
export * from './Plate';
export * from './PlateEventProvider';
export * from './PlateProvider';
export * from './PlateTest';
//# sourceMappingURL=index.d.ts.map
import React, { FC } from 'react';
export declare const PlateProvider: ({ id: _ids, children, }: {
id?: string | string[] | undefined;
export declare const PlateProvider: ({ id, children, }: {
id?: string | undefined;
children: any;
}) => JSX.Element | null;
export declare const withPlateProvider: <T>(Component: React.FC<T>) => React.FunctionComponent<T>;
export declare const withPlateProvider: <T>(Component: React.FC<T>, hocProps?: T | undefined) => React.FunctionComponent<T>;
//# sourceMappingURL=PlateProvider.d.ts.map

@@ -6,4 +6,4 @@ /**

export * from './useEditorState';
export * from './usePlatesStoreEffect';
export * from './usePlate/index';
export * from './usePlatesStoreEffect';
//# sourceMappingURL=index.d.ts.map

@@ -7,3 +7,4 @@ /**

export * from './usePlateEffects';
export * from './usePlateStoreEffects';
export * from './useSlateProps';
//# sourceMappingURL=index.d.ts.map

@@ -6,3 +6,3 @@ import { PlateProps } from '../components/Plate';

*/
export declare const usePlatesStoreEffect: (_ids?: string | string[] | undefined, props?: PlateProps<{}> | undefined) => void;
export declare const usePlatesStoreEffect: (id?: string | undefined, props?: PlateProps<{}> | undefined) => void;
//# sourceMappingURL=usePlatesStoreEffect.d.ts.map

@@ -5,2 +5,3 @@ /**

export * from './event-editor.store';
export * from './selectors/index';
//# sourceMappingURL=index.d.ts.map
/**
* @file Automatically generated by barrelsby.
*/
export * from './plateIdAtom';
export * from './event-editor/index';
export * from './plate/index';
export { plateIdAtom } from './plateIdAtom';
//# sourceMappingURL=index.d.ts.map
/**
* @file Automatically generated by barrelsby.
*/
export * from './getPlateId';
export * from './usePlateEditorRef';
export * from './usePlateEditorState';
export * from './usePlateId';
export * from './usePlatePlugins';
export * from './usePlateSelection';
//# sourceMappingURL=index.d.ts.map
{
"name": "@udecode/plate-core",
"version": "10.2.2",
"version": "10.4.0",
"description": "The core architecture of Plate – a plugin system for slate",

@@ -53,3 +53,3 @@ "keywords": [

"slate-history": ">=0.66.0",
"slate-react": ">=0.66.1"
"slate-react": ">=0.74.2"
},

@@ -56,0 +56,0 @@ "publishConfig": {

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

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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