@uiw/react-json-view 2.0.0-alpha.35 → 2.0.0-alpha.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/basic.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/basic' {
2
- export const basicTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const basicTheme: CSS.Properties<string | number>;
3
4
  }
@@ -1 +1,2 @@
1
- export declare const basicTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const basicTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const darkTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const darkTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const githubDarkTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const githubDarkTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const githubLightTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const githubLightTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const gruvboxTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const gruvboxTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const lightTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const lightTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const monokaiTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const monokaiTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const nordTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const nordTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const vscodeTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const vscodeTheme: CSS.Properties<string | number>;
@@ -1,4 +1,4 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import { type FC, type PropsWithChildren } from 'react';
2
2
  export declare const bigIntToString: (bi?: BigInt | string) => string;
3
3
  export declare const SetComp: FC<PropsWithChildren<{
4
4
  value: unknown;
package/dark.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/dark' {
2
- export const darkTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const darkTheme: CSS.Properties<string | number>;
3
4
  }
@@ -1 +1,2 @@
1
- export declare const basicTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const basicTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const darkTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const darkTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const githubDarkTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const githubDarkTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const githubLightTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const githubLightTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const gruvboxTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const gruvboxTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const lightTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const lightTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const monokaiTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const monokaiTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const nordTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const nordTheme: CSS.Properties<string | number>;
@@ -1 +1,2 @@
1
- export declare const vscodeTheme: React.CSSProperties;
1
+ import type * as CSS from 'csstype';
2
+ export declare const vscodeTheme: CSS.Properties<string | number>;
@@ -1,4 +1,4 @@
1
- import { FC, PropsWithChildren } from 'react';
1
+ import { type FC, type PropsWithChildren } from 'react';
2
2
  export declare const bigIntToString: (bi?: BigInt | string) => string;
3
3
  export declare const SetComp: FC<PropsWithChildren<{
4
4
  value: unknown;
package/githubDark.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/githubDark' {
2
- export const githubDarkTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const githubDarkTheme: CSS.Properties<string | number>;
3
4
  }
package/githubLight.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/githubLight' {
2
- export const githubLightTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const githubLightTheme: CSS.Properties<string | number>;
3
4
  }
package/gruvbox.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/gruvbox' {
2
- export const gruvboxTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const gruvboxTheme: CSS.Properties<string | number>;
3
4
  }
package/light.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/light' {
2
- export const lightTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const lightTheme: CSS.Properties<string | number>;
3
4
  }
package/monokai.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/monokai' {
2
- export const monokaiTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const monokaiTheme: CSS.Properties<string | number>;
3
4
  }
package/nord.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/nord' {
2
- export const nordTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const nordTheme: CSS.Properties<string | number>;
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiw/react-json-view",
3
- "version": "2.0.0-alpha.35",
3
+ "version": "2.0.0-alpha.36",
4
4
  "description": "JSON viewer for react.",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
package/vscode.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  declare module '@uiw/react-json-view/vscode' {
2
- export const vscodeTheme: import('react').CSSProperties;
2
+ import type * as CSS from 'csstype';
3
+ export const vscodeTheme: CSS.Properties<string | number>;
3
4
  }