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

graphand-react

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphand-react - npm Package Compare versions

Comparing version 0.4.16-beta to 0.4.17-beta

4

dist/types/components/GraphandForm.d.ts

@@ -20,4 +20,4 @@ import { GraphandField, GraphandModel } from "graphand-js";

fields: {
render: (slug: string, _options: any) => JSX.Element;
renderDefault: () => JSX.Element;
render: (slug: string, _options: any) => React.ReactNode;
renderDefault: () => React.ReactNode;
} & any;

@@ -24,0 +24,0 @@ };

@@ -20,3 +20,3 @@ import { GraphandModel, GraphandModelList } from "graphand-js";

isActive: boolean;
renderItem: (assignProps?: any) => JSX.Element;
renderItem: (assignProps?: any) => React.ReactNode;
};

@@ -23,0 +23,0 @@ }>;

@@ -36,6 +36,6 @@ import React from "react";

componentWillUnmount(): void;
renderCallback(): JSX.Element;
renderFallback(): JSX.Element;
render(): JSX.Element;
renderCallback(): React.ReactNode;
renderFallback(): React.ReactNode;
render(): React.ReactNode;
}
export default PromiseSuspense;

@@ -1,3 +0,3 @@

/// <reference types="react" />
import { GraphandError, GraphandModel } from "graphand-js";
import React from "react";
import { GraphandFormTemplate, GraphandFormTemplateParamsBase } from "../components/GraphandForm";

@@ -8,3 +8,3 @@ export declare type GraphandFormOptions = {

instance?: GraphandModel;
controls?: JSX.Element | ((props: GraphandFormOptions) => JSX.Element);
controls?: React.ReactNode | ((props: GraphandFormOptions) => React.ReactNode);
fieldsOptions?: any;

@@ -23,3 +23,3 @@ onChange?: (values: any, helpers: GraphandFormTemplateParamsBase) => void;

};
declare function renderForm(options: GraphandFormOptions): JSX.Element;
declare function renderForm(options: GraphandFormOptions): React.ReactNode;
export default renderForm;

@@ -1,5 +0,5 @@

/// <reference types="react" />
import { GraphandModelListPromise, GraphandModelPromise } from "graphand-js";
export declare type PromiseSuspenseCallback<T> = JSX.Element | ((res: T, loading: boolean, error: Error) => JSX.Element);
export declare type PromiseSuspenseFallback<T> = JSX.Element | ((res: T, loading: boolean, error: Error) => JSX.Element);
import React from "react";
export declare type PromiseSuspenseCallback<T> = React.ReactNode | ((res: T, loading: boolean, error: Error) => React.ReactNode);
export declare type PromiseSuspenseFallback<T> = React.ReactNode | ((res: T, loading: boolean, error: Error) => React.ReactNode);
export declare type PromiseSuspenseOptions<T> = {

@@ -16,4 +16,4 @@ promise?: GraphandModelPromise<any> | GraphandModelListPromise<any>;

};
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => JSX.Element;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): JSX.Element;
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => React.ReactNode;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): React.ReactNode;
export default suspense;

@@ -21,5 +21,5 @@ import { GraphandModel, GraphandPlugin, GraphandField } from "graphand-js";

class GraphandModel {
static renderForm: (options: GraphandFormOptions) => JSX.Element;
static renderForm: (options: GraphandFormOptions) => React.ReactNode;
suspense: SuspenseDefinition<this>;
renderForm: (options: GraphandFormOptions) => JSX.Element;
renderForm: (options: GraphandFormOptions) => React.ReactNode;
renderFieldView: any;

@@ -26,0 +26,0 @@ renderFieldInput: any;

{
"name": "graphand-react",
"version": "0.4.16-beta",
"version": "0.4.17-beta",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/pierrecabriere/graphand-react",

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