@jsonui/react 0.7.4 → 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.
Files changed (58) hide show
  1. package/dist/cjs/index.js +3401 -19187
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/ErrorBoundary.d.ts +3 -2
  4. package/dist/cjs/types/ReduxProviders.d.ts +1 -1
  5. package/dist/cjs/types/Renderer.d.ts +5 -2
  6. package/dist/cjs/types/ViewerWeb.d.ts +1 -2
  7. package/dist/cjs/types/Wrapper.d.ts +1 -2
  8. package/dist/cjs/types/index.d.ts +1 -2
  9. package/dist/cjs/types/stock/components/Button.d.ts +1 -2
  10. package/dist/cjs/types/stock/components/Edit.d.ts +1 -2
  11. package/dist/cjs/types/stock/components/FormResult.d.ts +1 -2
  12. package/dist/cjs/types/stock/components/HelperText.d.ts +1 -2
  13. package/dist/cjs/types/stock/components/Image.d.ts +1 -2
  14. package/dist/cjs/types/stock/components/Label.d.ts +2 -2
  15. package/dist/cjs/types/stock/components/PrimitiveProp.d.ts +1 -2
  16. package/dist/cjs/types/stock/components/Text.d.ts +1 -2
  17. package/dist/cjs/types/stock/components/Undefined.d.ts +1 -2
  18. package/dist/cjs/types/stock/components/View.d.ts +1 -2
  19. package/dist/cjs/types/stories/JsonUI.stories.d.ts +3 -4
  20. package/dist/cjs/types/stories/MultiChild.stories.d.ts +2 -3
  21. package/dist/cjs/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +2 -3
  22. package/dist/cjs/types/stories/PerformansTest1.stories.d.ts +1 -2
  23. package/dist/cjs/types/stories/PerformansTest2.stories.d.ts +1 -2
  24. package/dist/cjs/types/stories/ReduxTest.stories.d.ts +3 -4
  25. package/dist/cjs/types/stories/Simple.stories.d.ts +2 -3
  26. package/dist/cjs/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +2 -3
  27. package/dist/cjs/types/stories/Table.stories.d.ts +2 -3
  28. package/dist/cjs/types/stories/Validation.stories.d.ts +2 -3
  29. package/dist/esm/index.js +3377 -19159
  30. package/dist/esm/index.js.map +1 -1
  31. package/dist/esm/types/ErrorBoundary.d.ts +3 -2
  32. package/dist/esm/types/ReduxProviders.d.ts +1 -1
  33. package/dist/esm/types/Renderer.d.ts +5 -2
  34. package/dist/esm/types/ViewerWeb.d.ts +1 -2
  35. package/dist/esm/types/Wrapper.d.ts +1 -2
  36. package/dist/esm/types/index.d.ts +1 -2
  37. package/dist/esm/types/stock/components/Button.d.ts +1 -2
  38. package/dist/esm/types/stock/components/Edit.d.ts +1 -2
  39. package/dist/esm/types/stock/components/FormResult.d.ts +1 -2
  40. package/dist/esm/types/stock/components/HelperText.d.ts +1 -2
  41. package/dist/esm/types/stock/components/Image.d.ts +1 -2
  42. package/dist/esm/types/stock/components/Label.d.ts +2 -2
  43. package/dist/esm/types/stock/components/PrimitiveProp.d.ts +1 -2
  44. package/dist/esm/types/stock/components/Text.d.ts +1 -2
  45. package/dist/esm/types/stock/components/Undefined.d.ts +1 -2
  46. package/dist/esm/types/stock/components/View.d.ts +1 -2
  47. package/dist/esm/types/stories/JsonUI.stories.d.ts +3 -4
  48. package/dist/esm/types/stories/MultiChild.stories.d.ts +2 -3
  49. package/dist/esm/types/stories/PartialValueUpdateTest/PushNotificationTest.stories.d.ts +2 -3
  50. package/dist/esm/types/stories/PerformansTest1.stories.d.ts +1 -2
  51. package/dist/esm/types/stories/PerformansTest2.stories.d.ts +1 -2
  52. package/dist/esm/types/stories/ReduxTest.stories.d.ts +3 -4
  53. package/dist/esm/types/stories/Simple.stories.d.ts +2 -3
  54. package/dist/esm/types/stories/StateSaveTest/StateSaveTest.stories.d.ts +2 -3
  55. package/dist/esm/types/stories/Table.stories.d.ts +2 -3
  56. package/dist/esm/types/stories/Validation.stories.d.ts +2 -3
  57. package/dist/index.d.ts +23 -10
  58. package/package.json +51 -46
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- export interface ErrorBoundaryProps extends React.Props<any> {
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
- /// <reference types="react" />
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,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function Button({ children, type, ...props }: any): JSX.Element;
1
+ declare function Button({ children, type, ...props }: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default Button;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function Edit(props: any): JSX.Element;
1
+ declare function Edit(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default Edit;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  declare function FormResult({ value }: {
3
2
  value: any;
4
- }): JSX.Element;
3
+ }): import("react/jsx-runtime").JSX.Element;
5
4
  export default FormResult;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function HelperText(props: any): JSX.Element | null;
1
+ declare function HelperText(props: any): import("react/jsx-runtime").JSX.Element | null;
3
2
  export default HelperText;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function Image(props: any): JSX.Element;
1
+ declare function Image(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default Image;
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function PrimitiveProp({ children }: any): JSX.Element;
1
+ declare function PrimitiveProp({ children }: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default PrimitiveProp;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function Text({ value, children, ...props }: any): JSX.Element;
1
+ declare function Text({ value, children, ...props }: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function Undefined(props: any): JSX.Element;
1
+ declare function Undefined(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default Undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
- declare function View(props: any): JSX.Element;
1
+ declare function View(props: any): import("react/jsx-runtime").JSX.Element;
3
2
  export default View;
@@ -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 { ChangeDefaultValueFuncProp, JSONValue, JsonUI, ViewerProps as JsonUIProps, MessageHandler, MessageHandlerContext, JsonUI as default };
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.7.4",
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": "export SET NODE_OPTIONS=--openssl-legacy-provider && start-storybook -p 6006",
35
- "build-storybook": "build-storybook",
42
+ "storybook": "storybook dev -p 6006",
43
+ "build-storybook": "storybook build",
36
44
  "test": "jest"
37
45
  },
38
46
  "dependencies": {
39
- "@emotion/react": "^11.13.3",
40
- "@jsonui/core": "^0.7.4",
47
+ "@emotion/react": "^11.14.0",
48
+ "@jsonui/core": "^0.8.0",
41
49
  "batchflow": "^0.4.0",
42
- "jsonata": "^1.8.5",
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.13.0",
53
- "@rollup/plugin-commonjs": "^21.0.1",
54
- "@rollup/plugin-json": "^4.1.0",
55
- "@rollup/plugin-node-resolve": "^13.1.3",
56
- "@rollup/plugin-typescript": "^8.3.0",
57
- "@storybook/addon-actions": "^6.4.19",
58
- "@storybook/addon-essentials": "^6.4.19",
59
- "@storybook/addon-interactions": "^6.4.19",
60
- "@storybook/addon-links": "^6.4.19",
61
- "@storybook/react": "^6.4.19",
62
- "@storybook/testing-library": "^0.0.9",
63
- "@testing-library/jest-dom": "^5.16.1",
64
- "@testing-library/react": "^12.1.2",
65
- "@testing-library/user-event": "^13.5.0",
66
- "@types/enzyme": "^3.10.11",
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": "^7.0.4",
88
- "jest": "^27.5.1",
89
- "lint-staged": "^12.2.1",
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-test-renderer": "^17.0.2",
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": "^2.66.1",
94
- "rollup-plugin-dts": "^4.1.0",
95
- "rollup-plugin-visualizer": "^5.5.4",
96
- "ts-jest": "^27.1.4",
97
- "ts-node": "^10.7.0"
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
- "react": "^17.0.2",
101
- "react-dom": "^17.0.2"
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": "dd5ce75c39d19ad204eaf23c3a6d2d67504e52da"
120
+ "gitHead": "743c310a80c03af33b3e6e40f3c4b0b6dd62c6a0"
116
121
  }