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

@uiw/react-json-view

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-json-view - npm Package Compare versions

Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5

2

cjs/section/Copied.d.ts
import { type TagType } from '../store/Types';
import { type SectionElement } from '../store/Section';
export declare const Copied: {
(props: SectionElement<TagType>): null;
<K extends TagType = "svg">(props: SectionElement<K>): null;
displayName: string;
};

@@ -13,4 +13,4 @@ /// <reference types="react" />

export declare const CountInfoComp: {
<T extends object>(props: SectionElementProps<TagType> & CountInfoCompProps<T> & import("react").HTMLAttributes<HTMLElement>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
<K extends TagType, T extends object>(props: SectionElementProps<K> & CountInfoCompProps<T> & import("react").HTMLAttributes<HTMLElement>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};

@@ -13,4 +13,4 @@ /// <reference types="react" />

export declare const CountInfoExtraComps: {
<T extends object>(props: SectionElementProps<TagType> & CountInfoExtraCompsProps<T>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
<T extends object, K extends TagType>(props: SectionElementProps<K> & CountInfoExtraCompsProps<T>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};
import React, { FC, PropsWithChildren, ComponentPropsWithoutRef } from 'react';
import { type TagType } from './Types';
export type SectionElementProps<T extends TagType> = {
export type SectionElementProps<T extends TagType = 'span'> = {
as?: T;

@@ -10,3 +10,3 @@ render?: (props: SectionElement<T>, result: {

};
export type SectionElement<T extends TagType> = SectionElementProps<T> & ComponentPropsWithoutRef<T>;
export type SectionElement<T extends TagType = 'span'> = SectionElementProps<T> & ComponentPropsWithoutRef<T>;
type InitialState<T extends TagType> = {

@@ -13,0 +13,0 @@ Copied?: SectionElement<T>;

import { FC, PropsWithChildren, ElementType, ComponentPropsWithoutRef } from 'react';
import { type TagType } from './Types';
type SymbolsElementProps<T extends TagType> = {
type SymbolsElementProps<T extends TagType = 'span'> = {
as?: T;

@@ -8,3 +8,3 @@ render?: (props: SymbolsElement<T>) => React.ReactNode;

};
export type SymbolsElement<T extends TagType> = SymbolsElementProps<T> & ComponentPropsWithoutRef<T>;
export type SymbolsElement<T extends TagType = 'span'> = SymbolsElementProps<T> & ComponentPropsWithoutRef<T>;
type InitialState<T extends ElementType = 'span'> = {

@@ -11,0 +11,0 @@ Arrow?: SymbolsElement<T>;

import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Arrow: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BraceLeft: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BraceRight: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BracketsLeft: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BracketsRight: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Colon: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Quote: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const ValueQuote: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Bigint: {
<K extends TagType>(props: TypesElement<K>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Date: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const False: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Float: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Int: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Map: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Nan: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Null: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Set: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const StringText: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const True: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Undefined: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Url: {
(props: TypesElement<TagType>): null;
<K extends TagType = "a">(props: TypesElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType, type TypesElement } from '../store/Types';
import { type SectionElement } from '../store/Section';
export declare function useSymbolsRender(currentProps: SymbolsElement<TagType>, props: SymbolsElement<TagType>, key: string): void;
export declare function useSymbolsRender<K extends TagType>(currentProps: SymbolsElement<TagType>, props: SymbolsElement<K>, key: string): void;
export declare function useTypesRender<K extends TagType>(currentProps: TypesElement<TagType>, props: TypesElement<K>, key: string): void;
export declare function useSectionRender<K extends TagType>(currentProps: SectionElement<TagType>, props: SectionElement<K>, key: string): void;
import { type TagType } from '../store/Types';
import { type SectionElement } from '../store/Section';
export declare const Copied: {
(props: SectionElement<TagType>): null;
<K extends TagType = "svg">(props: SectionElement<K>): null;
displayName: string;
};

@@ -13,4 +13,4 @@ /// <reference types="react" />

export declare const CountInfoComp: {
<T extends object>(props: SectionElementProps<TagType> & CountInfoCompProps<T> & import("react").HTMLAttributes<HTMLElement>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
<K extends TagType, T extends object>(props: SectionElementProps<K> & CountInfoCompProps<T> & import("react").HTMLAttributes<HTMLElement>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};

@@ -13,4 +13,4 @@ /// <reference types="react" />

export declare const CountInfoExtraComps: {
<T extends object>(props: SectionElementProps<TagType> & CountInfoExtraCompsProps<T>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
<T extends object, K extends TagType>(props: SectionElementProps<K> & CountInfoExtraCompsProps<T>): string | number | true | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};
import React, { FC, PropsWithChildren, ComponentPropsWithoutRef } from 'react';
import { type TagType } from './Types';
export type SectionElementProps<T extends TagType> = {
export type SectionElementProps<T extends TagType = 'span'> = {
as?: T;

@@ -10,3 +10,3 @@ render?: (props: SectionElement<T>, result: {

};
export type SectionElement<T extends TagType> = SectionElementProps<T> & ComponentPropsWithoutRef<T>;
export type SectionElement<T extends TagType = 'span'> = SectionElementProps<T> & ComponentPropsWithoutRef<T>;
type InitialState<T extends TagType> = {

@@ -13,0 +13,0 @@ Copied?: SectionElement<T>;

import { FC, PropsWithChildren, ElementType, ComponentPropsWithoutRef } from 'react';
import { type TagType } from './Types';
type SymbolsElementProps<T extends TagType> = {
type SymbolsElementProps<T extends TagType = 'span'> = {
as?: T;

@@ -8,3 +8,3 @@ render?: (props: SymbolsElement<T>) => React.ReactNode;

};
export type SymbolsElement<T extends TagType> = SymbolsElementProps<T> & ComponentPropsWithoutRef<T>;
export type SymbolsElement<T extends TagType = 'span'> = SymbolsElementProps<T> & ComponentPropsWithoutRef<T>;
type InitialState<T extends ElementType = 'span'> = {

@@ -11,0 +11,0 @@ Arrow?: SymbolsElement<T>;

import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Arrow: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BraceLeft: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BraceRight: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BracketsLeft: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const BracketsRight: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Colon: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const Quote: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType } from '../store/Types';
export declare const ValueQuote: {
(props: SymbolsElement<TagType>): null;
<K extends TagType = "span">(props: SymbolsElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Bigint: {
<K extends TagType>(props: TypesElement<K>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Date: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const False: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Float: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Int: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Map: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Nan: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Null: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Set: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const StringText: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const True: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Undefined: {
(props: TypesElement<TagType>): null;
<K extends TagType = "span">(props: TypesElement<K>): null;
displayName: string;
};
import { type TagType, type TypesElement } from '../store/Types';
export declare const Url: {
(props: TypesElement<TagType>): null;
<K extends TagType = "a">(props: TypesElement<K>): null;
displayName: string;
};
import { type SymbolsElement } from '../store/Symbols';
import { type TagType, type TypesElement } from '../store/Types';
import { type SectionElement } from '../store/Section';
export declare function useSymbolsRender(currentProps: SymbolsElement<TagType>, props: SymbolsElement<TagType>, key: string): void;
export declare function useSymbolsRender<K extends TagType>(currentProps: SymbolsElement<TagType>, props: SymbolsElement<K>, key: string): void;
export declare function useTypesRender<K extends TagType>(currentProps: TypesElement<TagType>, props: TypesElement<K>, key: string): void;
export declare function useSectionRender<K extends TagType>(currentProps: SectionElement<TagType>, props: SectionElement<K>, key: string): void;
{
"name": "@uiw/react-json-view",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "JSON viewer for react.",

@@ -5,0 +5,0 @@ "main": "cjs/index.js",

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