@jsonui/react 0.7.5 → 0.8.0
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/dist/cjs/index.js +3401 -19187
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/ErrorBoundary.d.ts +3 -2
- package/dist/cjs/types/ReduxProviders.d.ts +1 -1
- package/dist/cjs/types/Renderer.d.ts +5 -2
- package/dist/cjs/types/ViewerWeb.d.ts +1 -2
- package/dist/cjs/types/Wrapper.d.ts +1 -2
- package/dist/cjs/types/index.d.ts +1 -2
- package/dist/cjs/types/stock/components/Button.d.ts +1 -2
- package/dist/cjs/types/stock/components/Edit.d.ts +1 -2
- package/dist/cjs/types/stock/components/FormResult.d.ts +1 -2
- package/dist/cjs/types/stock/components/HelperText.d.ts +1 -2
- package/dist/cjs/types/stock/components/Image.d.ts +1 -2
- package/dist/cjs/types/stock/components/Label.d.ts +2 -2
- package/dist/cjs/types/stock/components/PrimitiveProp.d.ts +1 -2
- package/dist/cjs/types/stock/components/Text.d.ts +1 -2
- package/dist/cjs/types/stock/components/Undefined.d.ts +1 -2
- package/dist/cjs/types/stock/components/View.d.ts +1 -2
- package/dist/cjs/types/stories/JsonUI.stories.d.ts +3 -4
- package/dist/cjs/types/stories/MultiChild.stories.d.ts +2 -3
- package/dist/cjs/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +2 -3
- package/dist/cjs/types/stories/PerformansTest1.stories.d.ts +1 -2
- package/dist/cjs/types/stories/PerformansTest2.stories.d.ts +1 -2
- package/dist/cjs/types/stories/ReduxTest.stories.d.ts +3 -4
- package/dist/cjs/types/stories/Simple.stories.d.ts +2 -3
- package/dist/cjs/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +2 -3
- package/dist/cjs/types/stories/Table.stories.d.ts +2 -3
- package/dist/cjs/types/stories/Validation.stories.d.ts +2 -3
- package/dist/esm/index.js +3377 -19159
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/ErrorBoundary.d.ts +3 -2
- package/dist/esm/types/ReduxProviders.d.ts +1 -1
- package/dist/esm/types/Renderer.d.ts +5 -2
- package/dist/esm/types/ViewerWeb.d.ts +1 -2
- package/dist/esm/types/Wrapper.d.ts +1 -2
- package/dist/esm/types/index.d.ts +1 -2
- package/dist/esm/types/stock/components/Button.d.ts +1 -2
- package/dist/esm/types/stock/components/Edit.d.ts +1 -2
- package/dist/esm/types/stock/components/FormResult.d.ts +1 -2
- package/dist/esm/types/stock/components/HelperText.d.ts +1 -2
- package/dist/esm/types/stock/components/Image.d.ts +1 -2
- package/dist/esm/types/stock/components/Label.d.ts +2 -2
- package/dist/esm/types/stock/components/PrimitiveProp.d.ts +1 -2
- package/dist/esm/types/stock/components/Text.d.ts +1 -2
- package/dist/esm/types/stock/components/Undefined.d.ts +1 -2
- package/dist/esm/types/stock/components/View.d.ts +1 -2
- package/dist/esm/types/stories/JsonUI.stories.d.ts +3 -4
- package/dist/esm/types/stories/MultiChild.stories.d.ts +2 -3
- package/dist/esm/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +2 -3
- package/dist/esm/types/stories/PerformansTest1.stories.d.ts +1 -2
- package/dist/esm/types/stories/PerformansTest2.stories.d.ts +1 -2
- package/dist/esm/types/stories/ReduxTest.stories.d.ts +3 -4
- package/dist/esm/types/stories/Simple.stories.d.ts +2 -3
- package/dist/esm/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +2 -3
- package/dist/esm/types/stories/Table.stories.d.ts +2 -3
- package/dist/esm/types/stories/Validation.stories.d.ts +2 -3
- package/dist/index.d.ts +23 -10
- package/package.json +51 -46
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface ErrorBoundaryProps
|
|
2
|
+
export interface ErrorBoundaryProps {
|
|
3
3
|
type?: string;
|
|
4
4
|
id?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
5
6
|
}
|
|
6
7
|
declare type errorType = any;
|
|
7
8
|
export interface ErrorBoundaryState {
|
|
@@ -16,6 +17,6 @@ declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBou
|
|
|
16
17
|
error: any;
|
|
17
18
|
};
|
|
18
19
|
componentDidCatch(error: errorType, info: any): void;
|
|
19
|
-
render(): React.ReactNode;
|
|
20
|
+
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
20
21
|
}
|
|
21
22
|
export default ErrorBoundary;
|
|
@@ -5,5 +5,5 @@ interface Props {
|
|
|
5
5
|
defaultValues?: DefaultValues;
|
|
6
6
|
getFormState?: GetFormState;
|
|
7
7
|
}
|
|
8
|
-
declare const Providers: ({ children, defaultValues: root, getFormState: getState }: Props) => JSX.Element;
|
|
8
|
+
declare const Providers: ({ children, defaultValues: root, getFormState: getState }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default Providers;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Stock } from '@jsonui/core';
|
|
3
|
+
export declare const StockContext: React.Context<Stock | null>;
|
|
4
|
+
export declare const PathModifierContext: React.Context<{}>;
|
|
2
5
|
interface RendererFuncProps {
|
|
3
6
|
model: any;
|
|
4
7
|
stockInit: any;
|
|
5
8
|
}
|
|
6
|
-
declare const rendererFunc: (props: RendererFuncProps) => JSX.Element;
|
|
9
|
+
declare const rendererFunc: (props: RendererFuncProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export default rendererFunc;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ViewerProps } from 'types';
|
|
3
|
-
declare function ViewerWeb({ defaultValues, getFormState, ...props }: ViewerProps): JSX.Element;
|
|
2
|
+
declare function ViewerWeb({ defaultValues, getFormState, ...props }: ViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default ViewerWeb;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { PropsType } from '@jsonui/core';
|
|
3
2
|
export declare const getStyle: (props: PropsType | undefined, component: string) => any;
|
|
4
3
|
declare function Wrapper({ props: origProps }: {
|
|
5
4
|
props: any;
|
|
6
|
-
}): JSX.Element | null;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export default Wrapper;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { JsonUIComponentsType, JsonUIFunctions, JsonUIFunctionType } from '@jsonui/core';
|
|
3
2
|
import { ChangeDefaultValueFuncProp, JSONValue, ViewerProps } from './types';
|
|
4
3
|
import { MessageHandlerContext, MessageHandler } from './MessageReceiverContext';
|
|
5
|
-
declare const JsonUI: (props: ViewerProps) => JSX.Element;
|
|
4
|
+
declare const JsonUI: (props: ViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { JsonUI, MessageHandlerContext, MessageHandler };
|
|
7
6
|
export type { ViewerProps as JsonUIProps, JSONValue, ChangeDefaultValueFuncProp, JsonUIFunctions, JsonUIFunctionType, JsonUIComponentsType };
|
|
8
7
|
export default JsonUI;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const getLabel: (props: any) => JSX.Element;
|
|
2
|
+
export declare const getLabel: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare class InfoBox extends React.PureComponent {
|
|
4
4
|
counter: number;
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
componentDidMount(): void;
|
|
7
7
|
componentDidUpdate(): void;
|
|
8
|
-
render(): JSX.Element | null;
|
|
8
|
+
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
5
|
-
export declare const InputTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export declare const InputTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
5
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const MultiChild: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const MultiChild: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const PartialValueUpdateTest: ComponentStory<(props: import("../../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const PartialValueUpdateTest: ComponentStory<(props: import("../../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
3
|
export declare const InputTest: ComponentStory<any>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
3
|
export declare const BoxTest: ComponentStory<any>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const TwoEditAnd1Modifier: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
5
|
-
export declare const PathModifierTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const TwoEditAnd1Modifier: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export declare const PathModifierTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
5
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const PrimitivesTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const PrimitivesTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const StoreStateTest: ComponentStory<(props: import("types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const StoreStateTest: ComponentStory<(props: import("types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const TableTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
4
|
-
export declare const ValidationTest: ComponentStory<(props: import("../types").ViewerProps) => JSX.Element>;
|
|
2
|
+
declare const JsonUIStory: ComponentMeta<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export declare const ValidationTest: ComponentStory<(props: import("../types").ViewerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export default JsonUIStory;
|
|
6
5
|
/**
|
|
7
6
|
* TODO:
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
3
|
import { JsonUIComponentsType, JsonUIFunctions } from '@jsonui/core';
|
|
3
4
|
export { JsonUIComponentsType, JsonUIFunctionType, JsonUIFunctions } from '@jsonui/core';
|
|
4
5
|
import * as react from 'react';
|
|
5
|
-
import { ChangeDefaultValueFunc } from 'types';
|
|
6
6
|
|
|
7
|
-
declare type JSONPrimitive = string | number | boolean | null;
|
|
8
|
-
declare type JSONObject = {
|
|
7
|
+
declare type JSONPrimitive$1 = string | number | boolean | null;
|
|
8
|
+
declare type JSONObject$1 = {
|
|
9
9
|
[member: string]: any;
|
|
10
10
|
};
|
|
11
|
-
declare type JSONArray = Array<any>;
|
|
12
|
-
declare type JSONValue = JSONPrimitive | JSONObject | JSONArray | undefined;
|
|
13
|
-
interface ChangeDefaultValueFuncProp {
|
|
11
|
+
declare type JSONArray$1 = Array<any>;
|
|
12
|
+
declare type JSONValue$1 = JSONPrimitive$1 | JSONObject$1 | JSONArray$1 | undefined;
|
|
13
|
+
interface ChangeDefaultValueFuncProp$1 {
|
|
14
14
|
store: string;
|
|
15
15
|
path: string;
|
|
16
|
-
value: JSONValue;
|
|
16
|
+
value: JSONValue$1;
|
|
17
17
|
}
|
|
18
18
|
interface DefaultValues {
|
|
19
|
-
[key: string]: JSONValue;
|
|
19
|
+
[key: string]: JSONValue$1;
|
|
20
20
|
}
|
|
21
21
|
declare type GetFormState = React.MutableRefObject<(() => DefaultValues) | undefined>;
|
|
22
22
|
interface ViewerProps {
|
|
@@ -27,6 +27,18 @@ interface ViewerProps {
|
|
|
27
27
|
getFormState?: GetFormState;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
type JSONPrimitive = string | number | boolean | null
|
|
31
|
+
type JSONObject = { [member: string]: any } //any to avoid circular dependency
|
|
32
|
+
type JSONArray = Array<any> //any to avoid circular dependency
|
|
33
|
+
type JSONValue = JSONPrimitive | JSONObject | JSONArray | undefined //not perfect, typescript doesn't support it properly
|
|
34
|
+
|
|
35
|
+
interface ChangeDefaultValueFuncProp {
|
|
36
|
+
store: string
|
|
37
|
+
path: string
|
|
38
|
+
value: JSONValue
|
|
39
|
+
}
|
|
40
|
+
type ChangeDefaultValueFunc = (arg: ChangeDefaultValueFuncProp) => void
|
|
41
|
+
|
|
30
42
|
declare class MessageHandler {
|
|
31
43
|
updateDefaultValueHandler?: ChangeDefaultValueFunc;
|
|
32
44
|
set: (newFunc: ChangeDefaultValueFunc) => void;
|
|
@@ -34,6 +46,7 @@ declare class MessageHandler {
|
|
|
34
46
|
}
|
|
35
47
|
declare const MessageHandlerContext: react.Context<MessageHandler | null>;
|
|
36
48
|
|
|
37
|
-
declare const JsonUI: (props: ViewerProps) => JSX.Element;
|
|
49
|
+
declare const JsonUI: (props: ViewerProps) => react_jsx_runtime.JSX.Element;
|
|
38
50
|
|
|
39
|
-
export {
|
|
51
|
+
export { JsonUI, MessageHandler, MessageHandlerContext, JsonUI as default };
|
|
52
|
+
export type { ChangeDefaultValueFuncProp$1 as ChangeDefaultValueFuncProp, JSONValue$1 as JSONValue, ViewerProps as JsonUIProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonui/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"author": "Istvan Fodor <fodori@jsonui.org>",
|
|
5
6
|
"contributors": [],
|
|
6
7
|
"bugs": {
|
|
@@ -22,59 +23,55 @@
|
|
|
22
23
|
"access": "public"
|
|
23
24
|
},
|
|
24
25
|
"license": "MIT",
|
|
25
|
-
"main": "dist/cjs/index.js",
|
|
26
|
-
"module": "dist/esm/index.js",
|
|
27
26
|
"files": [
|
|
28
27
|
"dist"
|
|
29
28
|
],
|
|
29
|
+
"main": "dist/cjs/index.js",
|
|
30
|
+
"module": "dist/esm/index.js",
|
|
30
31
|
"types": "dist/index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"import": "./dist/esm/index.js",
|
|
35
|
+
"require": "./dist/cjs/index.js",
|
|
36
|
+
"types": "./dist/index.d.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
31
39
|
"scripts": {
|
|
32
40
|
"build": "rollup -c",
|
|
33
41
|
"lint": "eslint src --ext .jsx,.js,.tsx,.ts",
|
|
34
|
-
"storybook": "
|
|
35
|
-
"build-storybook": "build
|
|
42
|
+
"storybook": "storybook dev -p 6006",
|
|
43
|
+
"build-storybook": "storybook build",
|
|
36
44
|
"test": "jest"
|
|
37
45
|
},
|
|
38
46
|
"dependencies": {
|
|
39
|
-
"@emotion/react": "^11.
|
|
40
|
-
"@jsonui/core": "^0.
|
|
47
|
+
"@emotion/react": "^11.14.0",
|
|
48
|
+
"@jsonui/core": "^0.8.0",
|
|
41
49
|
"batchflow": "^0.4.0",
|
|
42
|
-
"jsonata": "^1.
|
|
43
|
-
"lodash": "^4.17.21",
|
|
44
|
-
"react-redux": "^7.2.6",
|
|
45
|
-
"redux": "^4.1.2",
|
|
46
|
-
"typescript": "^4.5.4"
|
|
50
|
+
"jsonata": "^2.1.0"
|
|
47
51
|
},
|
|
48
52
|
"devDependencies": {
|
|
49
53
|
"@babel/core": "^7.17.5",
|
|
50
54
|
"@babel/preset-env": "^7.16.11",
|
|
51
55
|
"@babel/preset-react": "^7.16.7",
|
|
52
|
-
"@emotion/jest": "^11.
|
|
53
|
-
"@rollup/plugin-commonjs": "^
|
|
54
|
-
"@rollup/plugin-json": "^
|
|
55
|
-
"@rollup/plugin-node-resolve": "^
|
|
56
|
-
"@rollup/plugin-typescript": "^
|
|
57
|
-
"@storybook/
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"@types/
|
|
67
|
-
"@types/jest": "^27.4.0",
|
|
68
|
-
"@types/lodash": "^4.14.178",
|
|
69
|
-
"@types/node": "^16.11.19",
|
|
70
|
-
"@types/react": "^17.0.38",
|
|
71
|
-
"@types/react-dom": "^17.0.11",
|
|
56
|
+
"@emotion/jest": "^11.14.2",
|
|
57
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
58
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
59
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
60
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
61
|
+
"@storybook/react-vite": "^10.0.7",
|
|
62
|
+
"@storybook/testing-library": "^0.2.2",
|
|
63
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
64
|
+
"@testing-library/react": "^16.3.0",
|
|
65
|
+
"@testing-library/user-event": "^14.6.1",
|
|
66
|
+
"@types/jest": "^30.0.0",
|
|
67
|
+
"@types/lodash": "^4.17.20",
|
|
68
|
+
"@types/node": "^24.10.00",
|
|
69
|
+
"@types/react": "^19.2.3",
|
|
70
|
+
"@types/react-dom": "^19.2.2",
|
|
72
71
|
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
73
72
|
"@typescript-eslint/parser": "^5.10.0",
|
|
74
|
-
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
75
73
|
"babel-jest": "^27.5.1",
|
|
76
74
|
"babel-loader": "^8.2.3",
|
|
77
|
-
"enzyme": "^3.11.0",
|
|
78
75
|
"eslint": "^8.2.0",
|
|
79
76
|
"eslint-config-airbnb": "^19.0.4",
|
|
80
77
|
"eslint-config-prettier": "^8.3.0",
|
|
@@ -84,21 +81,29 @@
|
|
|
84
81
|
"eslint-plugin-react": "^7.28.0",
|
|
85
82
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
86
83
|
"eslint-plugin-storybook": "^0.5.7",
|
|
87
|
-
"husky": "^
|
|
88
|
-
"jest": "^
|
|
89
|
-
"
|
|
84
|
+
"husky": "^9.1.7",
|
|
85
|
+
"jest": "^30.2.0",
|
|
86
|
+
"jest-environment-jsdom": "^30.0.0",
|
|
87
|
+
"lint-staged": "^16.2.6",
|
|
88
|
+
"lodash": "^4.17.21",
|
|
90
89
|
"prettier": "^2.5.1",
|
|
91
|
-
"react-
|
|
90
|
+
"react-redux": "^9.2.0",
|
|
91
|
+
"react-test-renderer": "^19.2.0",
|
|
92
|
+
"redux": "^5.0.1",
|
|
92
93
|
"redux-devtools": "^3.7.0",
|
|
93
|
-
"rollup": "^
|
|
94
|
-
"rollup-plugin-dts": "^
|
|
95
|
-
"rollup-plugin-visualizer": "^
|
|
96
|
-
"
|
|
97
|
-
"ts-
|
|
94
|
+
"rollup": "^4.53.2",
|
|
95
|
+
"rollup-plugin-dts": "^6.2.3",
|
|
96
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
97
|
+
"storybook": "^10.0.7",
|
|
98
|
+
"ts-jest": "^29.4.5",
|
|
99
|
+
"ts-node": "^10.9.2",
|
|
100
|
+
"typescript": "^5.9.3",
|
|
101
|
+
"vite": "^7.2.2"
|
|
98
102
|
},
|
|
99
103
|
"peerDependencies": {
|
|
100
|
-
"
|
|
101
|
-
"react-
|
|
104
|
+
"lodash": "^4.17.21",
|
|
105
|
+
"react-redux": "^9.2.0",
|
|
106
|
+
"redux": "^5.0.1"
|
|
102
107
|
},
|
|
103
108
|
"browserslist": {
|
|
104
109
|
"production": [
|
|
@@ -112,5 +117,5 @@
|
|
|
112
117
|
"last 1 safari version"
|
|
113
118
|
]
|
|
114
119
|
},
|
|
115
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "743c310a80c03af33b3e6e40f3c4b0b6dd62c6a0"
|
|
116
121
|
}
|