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

@remirror/react-utils

Package Overview
Dependencies
Maintainers
1
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/react-utils - npm Package Compare versions

Comparing version 0.4.2-canary.0 to 0.4.2-canary.1

lib/react-types.d.ts

2

lib/helpers.d.ts
import { css as emotionCss } from '@emotion/core';
import { AnyFunction, PlainObject } from '@remirror/core';
import { PropsWithChildren, ReactElement, ReactNode } from 'react';
import { RemirrorElement } from './types';
import { RemirrorElement } from './react-types';
/**

@@ -6,0 +6,0 @@ * A drop in replacement for built in React.isValidElement which accepts a test value of any type

@@ -26,3 +26,3 @@ "use strict";

var _types = require("./types");
var _reactTypes = require("./react-types");

@@ -140,3 +140,3 @@ var _emotion = require("emotion");

var isRemirrorContextProvider = isRemirrorElementOfType(_types.RemirrorElementType.ContextProvider);
var isRemirrorContextProvider = isRemirrorElementOfType(_reactTypes.RemirrorElementType.ContextProvider);
/**

@@ -150,3 +150,3 @@ * Checks if this is a RemirrorExtension type. These are used to configure the extensions that determine

exports.isRemirrorContextProvider = isRemirrorContextProvider;
var isRemirrorExtension = isRemirrorElementOfType(_types.RemirrorElementType.Extension);
var isRemirrorExtension = isRemirrorElementOfType(_reactTypes.RemirrorElementType.Extension);
/**

@@ -159,3 +159,3 @@ * Finds if this is a RemirrorProvider (which provides the RemirrorInjectedProps into the context);

exports.isRemirrorExtension = isRemirrorExtension;
var isRemirrorProvider = isRemirrorElementOfType(_types.RemirrorElementType.EditorProvider);
var isRemirrorProvider = isRemirrorElementOfType(_reactTypes.RemirrorElementType.EditorProvider);
/**

@@ -169,3 +169,3 @@ * Checks if this is a ManagedRemirrorProvider which pulls in the manager from the context and places it's children

exports.isRemirrorProvider = isRemirrorProvider;
var isManagedRemirrorProvider = isRemirrorElementOfType(_types.RemirrorElementType.ManagedEditorProvider);
var isManagedRemirrorProvider = isRemirrorElementOfType(_reactTypes.RemirrorElementType.ManagedEditorProvider);
/**

@@ -172,0 +172,0 @@ * Clones an element while also enabling the css prop on jsx elements at the same time.

export * from './helpers';
export * from './types';
export * from './react-types';
export * from './positioners';
export * from './react-node-view';
//# sourceMappingURL=index.d.ts.map

@@ -19,5 +19,5 @@ "use strict";

var _types = require("./types");
var _reactTypes = require("./react-types");
Object.keys(_types).forEach(function (key) {
Object.keys(_reactTypes).forEach(function (key) {
if (key === "default" || key === "__esModule") return;

@@ -27,3 +27,3 @@ Object.defineProperty(exports, key, {

get: function get() {
return _types[key];
return _reactTypes[key];
}

@@ -30,0 +30,0 @@ });

@@ -1,2 +0,2 @@

import { Positioner } from './types';
import { Positioner } from './react-types';
export declare const defaultPositioner: Positioner;

@@ -19,3 +19,3 @@ /**

*/
export declare const createNodeTypePositioner: (nodeType: string | import("prosemirror-model").NodeType<import("prosemirror-model").Schema<string, string>>) => Positioner;
export declare const createNodeTypePositioner: (nodeType: string | import("prosemirror-model").NodeType<import("prosemirror-model").Schema<string, string>>) => Positioner<import("@remirror/core").Extension<any, any>[]>;
//# sourceMappingURL=positioners.d.ts.map
import { ComponentType } from 'react';
import { Decoration, EditorView, EditorViewParams, NodeView, NodeViewPortalContainer, PlainObject, ProsemirrorNode } from '@remirror/core';
import { Interpolation } from 'emotion';
import { RemirrorProps } from './types';
import { RemirrorProps } from './react-types';
/**

@@ -6,0 +6,0 @@ * Retrieve the position of the current nodeView

@@ -12,3 +12,3 @@ {

},
"version": "0.4.2-canary.0",
"version": "0.4.2-canary.1",
"main": "lib/index.js",

@@ -34,3 +34,3 @@ "module": "lib/dist/react-utils.esm.js",

"@emotion/core": "^10.0.14",
"@remirror/core": "0.4.2-canary.0",
"@remirror/core": "0.4.2-canary.1",
"emotion": "^10.0.14"

@@ -47,3 +47,3 @@ },

"sideEffects": false,
"gitHead": "e6500c65aecbffad1b0f9bb2c0b8d4891ba764d3"
"gitHead": "0330899c87713ed1398df695715d1fed87267462"
}

@@ -21,3 +21,3 @@ import { css as emotionCss, jsx } from '@emotion/core';

} from 'react';
import { RemirrorComponentType, RemirrorElement, RemirrorElementType } from './types';
import { RemirrorComponentType, RemirrorElement, RemirrorElementType } from './react-types';

@@ -24,0 +24,0 @@ /**

export * from './helpers';
export * from './types';
export * from './react-types';
export * from './positioners';
export * from './react-node-view';

@@ -11,3 +11,3 @@ import {

} from '@remirror/core';
import { Positioner } from './types';
import { Positioner } from './react-types';

@@ -14,0 +14,0 @@ export const defaultPositioner: Positioner = {

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 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