@berviantoleo/react-multi-crop 0.31.4 → 0.31.6
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/CHANGELOG.md +12 -0
- package/dist/types/ReactMultiCrop/ReactMultiCrop.d.ts +34 -34
- package/dist/types/ReactMultiCrop/ReactMultiCrop.stories.d.ts +8 -7
- package/dist/types/ReactMultiCrop/components/ActionsComponent.d.ts +2 -2
- package/dist/types/ReactMultiCrop/components/Container.d.ts +9 -9
- package/dist/types/ReactMultiCrop/index.d.ts +1 -1
- package/dist/types/ReactMultiCrop/interfaces/index.d.ts +115 -115
- package/dist/types/index.d.ts +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.31.6](https://github.com/berviantoleo/react-multi-crop/compare/@berviantoleo/react-multi-crop@0.31.5...@berviantoleo/react-multi-crop@0.31.6) (2023-05-16)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- update deps ([#1843](https://github.com/berviantoleo/react-multi-crop/issues/1843)) ([3ceeb2c](https://github.com/berviantoleo/react-multi-crop/commit/3ceeb2c10d56b408ff5bd1d1382db1133b7f45bc))
|
|
11
|
+
|
|
12
|
+
## [0.31.5](https://github.com/berviantoleo/react-multi-crop/compare/@berviantoleo/react-multi-crop@0.31.4...@berviantoleo/react-multi-crop@0.31.5) (2023-05-10)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- init update storybook ([#1824](https://github.com/berviantoleo/react-multi-crop/issues/1824)) ([8c32615](https://github.com/berviantoleo/react-multi-crop/commit/8c32615b2f54ab9ec7325ef78b670aa4d92e36db))
|
|
17
|
+
|
|
6
18
|
## [0.31.4](https://github.com/berviantoleo/react-multi-crop/compare/@berviantoleo/react-multi-crop@0.31.3...@berviantoleo/react-multi-crop@0.31.4) (2023-05-06)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import { fabric } from 'fabric';
|
|
3
|
-
import { CustomFabricRect, IAttribute, ICoord, IOutputData, IReactMultiCropProps, IReactMultiCropStates } from './interfaces';
|
|
4
|
-
declare class ReactMultiCrop extends Component<IReactMultiCropProps, IReactMultiCropStates> {
|
|
5
|
-
static defaultProps: IReactMultiCropProps;
|
|
6
|
-
private REGEXP_ORIGINS;
|
|
7
|
-
constructor(props: IReactMultiCropProps);
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentDidUpdate(prevProps: any): void;
|
|
10
|
-
updateCropAttributes(canvas: fabric.Canvas, attribute: IAttribute): void;
|
|
11
|
-
changeImage(): void;
|
|
12
|
-
loadImage(img: fabric.Image): void;
|
|
13
|
-
isCrossOriginURL(url: string): boolean;
|
|
14
|
-
initialImage(): void;
|
|
15
|
-
initialObjects(): void;
|
|
16
|
-
zoom(options: any): void;
|
|
17
|
-
mouseHover(options: any): void;
|
|
18
|
-
mouseOut(options: any): void;
|
|
19
|
-
selectionHandler(options: any): void;
|
|
20
|
-
selectionClearHandler(): void;
|
|
21
|
-
initialCanvas(): void;
|
|
22
|
-
addNew(): void;
|
|
23
|
-
doubleClickEvent(options: any): void;
|
|
24
|
-
createObjectByAttribute(existingId: string | null, attribute: IAttribute, readonly: boolean): CustomFabricRect;
|
|
25
|
-
private convertLeftTop;
|
|
26
|
-
shapetoStructureData(element: CustomFabricRect): IOutputData | null;
|
|
27
|
-
deleteShapes(): void;
|
|
28
|
-
setOutput(): void;
|
|
29
|
-
createObject(canvas: fabric.Canvas | null, coor: ICoord, attribute: IAttribute, readonly: boolean): CustomFabricRect | null;
|
|
30
|
-
discardActiveObject(): void;
|
|
31
|
-
keyboardHandler(event: React.KeyboardEvent<HTMLDivElement>): void;
|
|
32
|
-
render(): JSX.Element;
|
|
33
|
-
}
|
|
34
|
-
export default ReactMultiCrop;
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import { fabric } from 'fabric';
|
|
3
|
+
import { CustomFabricRect, IAttribute, ICoord, IOutputData, IReactMultiCropProps, IReactMultiCropStates } from './interfaces';
|
|
4
|
+
declare class ReactMultiCrop extends Component<IReactMultiCropProps, IReactMultiCropStates> {
|
|
5
|
+
static defaultProps: IReactMultiCropProps;
|
|
6
|
+
private REGEXP_ORIGINS;
|
|
7
|
+
constructor(props: IReactMultiCropProps);
|
|
8
|
+
componentDidMount(): void;
|
|
9
|
+
componentDidUpdate(prevProps: any): void;
|
|
10
|
+
updateCropAttributes(canvas: fabric.Canvas, attribute: IAttribute): void;
|
|
11
|
+
changeImage(): void;
|
|
12
|
+
loadImage(img: fabric.Image): void;
|
|
13
|
+
isCrossOriginURL(url: string): boolean;
|
|
14
|
+
initialImage(): void;
|
|
15
|
+
initialObjects(): void;
|
|
16
|
+
zoom(options: any): void;
|
|
17
|
+
mouseHover(options: any): void;
|
|
18
|
+
mouseOut(options: any): void;
|
|
19
|
+
selectionHandler(options: any): void;
|
|
20
|
+
selectionClearHandler(): void;
|
|
21
|
+
initialCanvas(): void;
|
|
22
|
+
addNew(): void;
|
|
23
|
+
doubleClickEvent(options: any): void;
|
|
24
|
+
createObjectByAttribute(existingId: string | null, attribute: IAttribute, readonly: boolean): CustomFabricRect;
|
|
25
|
+
private convertLeftTop;
|
|
26
|
+
shapetoStructureData(element: CustomFabricRect): IOutputData | null;
|
|
27
|
+
deleteShapes(): void;
|
|
28
|
+
setOutput(): void;
|
|
29
|
+
createObject(canvas: fabric.Canvas | null, coor: ICoord, attribute: IAttribute, readonly: boolean): CustomFabricRect | null;
|
|
30
|
+
discardActiveObject(): void;
|
|
31
|
+
keyboardHandler(event: React.KeyboardEvent<HTMLDivElement>): void;
|
|
32
|
+
render(): JSX.Element;
|
|
33
|
+
}
|
|
34
|
+
export default ReactMultiCrop;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
declare const _default:
|
|
4
|
-
export default _default;
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import ReactMultiCrop from './ReactMultiCrop';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./interfaces").IReactMultiCropProps>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type Story = StoryObj<typeof ReactMultiCrop>;
|
|
6
|
+
export declare const DefaultEditable: Story;
|
|
7
|
+
export declare const DefaultReadOnly: Story;
|
|
8
|
+
export declare const ShowButton: Story;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IActionComponentProps } from '../interfaces';
|
|
2
|
-
export declare function ActionsComponent({ addButton, addNew, deleteButton, deleteShapes, discardActiveObject, discardButton, }: IActionComponentProps): JSX.Element;
|
|
1
|
+
import { IActionComponentProps } from '../interfaces';
|
|
2
|
+
export declare function ActionsComponent({ addButton, addNew, deleteButton, deleteShapes, discardActiveObject, discardButton, }: IActionComponentProps): JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
height?: number;
|
|
5
|
-
width?: number;
|
|
6
|
-
row?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export default function Container({ children, height, width, row }: Props): JSX.Element;
|
|
9
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
height?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
row?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export default function Container({ children, height, width, row }: Props): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './ReactMultiCrop';
|
|
1
|
+
export { default } from './ReactMultiCrop';
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
import { fabric } from 'fabric';
|
|
2
|
-
import CSS from 'csstype';
|
|
3
|
-
export interface ICropStyle {
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
cornerColor?: string;
|
|
6
|
-
cornerSize?: number;
|
|
7
|
-
cropBackgroundColor?: string;
|
|
8
|
-
cropBackgroundOpacity?: number;
|
|
9
|
-
transparentCorners?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface IRectCoord {
|
|
12
|
-
x1: number;
|
|
13
|
-
x2: number;
|
|
14
|
-
y1: number;
|
|
15
|
-
y2: number;
|
|
16
|
-
}
|
|
17
|
-
export interface ICoord {
|
|
18
|
-
id: string | null;
|
|
19
|
-
rect: IRectCoord | string;
|
|
20
|
-
objectId?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ICropProps extends ICoord {
|
|
23
|
-
rectPx?: IRectCoord | string | object;
|
|
24
|
-
style?: ICropStyle;
|
|
25
|
-
}
|
|
26
|
-
export interface IRecordProps {
|
|
27
|
-
clippings: Array<ICropProps>;
|
|
28
|
-
}
|
|
29
|
-
export interface IOutputData extends ICoord {
|
|
30
|
-
crop?: string;
|
|
31
|
-
deletedAt?: string;
|
|
32
|
-
dataUrl?: string | null;
|
|
33
|
-
canvasElement?: HTMLCanvasElement | null;
|
|
34
|
-
objectId: string;
|
|
35
|
-
}
|
|
36
|
-
export interface IInputProps {
|
|
37
|
-
/**
|
|
38
|
-
* Give output each changes in the canvas, might be moved to root props.
|
|
39
|
-
* @param value Output value
|
|
40
|
-
*/
|
|
41
|
-
onChange(value: Array<IOutputData>): void;
|
|
42
|
-
}
|
|
43
|
-
export interface IReactMultiCropProps {
|
|
44
|
-
activeObject?: string;
|
|
45
|
-
disableZoom?: boolean;
|
|
46
|
-
id?: string;
|
|
47
|
-
image?: string;
|
|
48
|
-
includeDataUrl?: boolean;
|
|
49
|
-
includeHtmlCanvas?: boolean;
|
|
50
|
-
input?: IInputProps;
|
|
51
|
-
onHover?(value: IOutputData | null): void;
|
|
52
|
-
onSelect?(value: IOutputData | null): void;
|
|
53
|
-
readonly?: boolean;
|
|
54
|
-
record?: IRecordProps;
|
|
55
|
-
height?: number;
|
|
56
|
-
width?: number;
|
|
57
|
-
zoomChanged?(value: number): void;
|
|
58
|
-
zoomLevel?: number;
|
|
59
|
-
/** @deprecated use borderColor in record */
|
|
60
|
-
borderColor?: string;
|
|
61
|
-
/** @deprecated use cornerColor in record */
|
|
62
|
-
cornerColor?: string;
|
|
63
|
-
/** @deprecated use cornerSize in record */
|
|
64
|
-
cornerSize?: number;
|
|
65
|
-
/** @deprecated use cropBackgroundColor in record */
|
|
66
|
-
cropBackgroundColor?: string;
|
|
67
|
-
/** @deprecated use cropBackgroundOpacity in record */
|
|
68
|
-
cropBackgroundOpacity?: number;
|
|
69
|
-
/** @deprecated use transparentCorners in record */
|
|
70
|
-
transparentCorners?: boolean;
|
|
71
|
-
/** @deprecated will completely remove the buttons */
|
|
72
|
-
addButton?: JSX.Element;
|
|
73
|
-
/** @deprecated will completely remove the buttons */
|
|
74
|
-
deleteButton?: JSX.Element;
|
|
75
|
-
/** @deprecated will completely remove the buttons */
|
|
76
|
-
discardButton?: JSX.Element;
|
|
77
|
-
/** @deprecated will completely remove the buttons */
|
|
78
|
-
showButton?: boolean;
|
|
79
|
-
/** @deprecated avoid to use this props */
|
|
80
|
-
style?: CSS.Properties;
|
|
81
|
-
}
|
|
82
|
-
export interface IReactMultiCropStates {
|
|
83
|
-
canvas: fabric.Canvas | null;
|
|
84
|
-
initial: boolean;
|
|
85
|
-
}
|
|
86
|
-
export interface IAttribute {
|
|
87
|
-
left?: number;
|
|
88
|
-
top?: number;
|
|
89
|
-
height?: number;
|
|
90
|
-
width?: number;
|
|
91
|
-
borderColor?: string;
|
|
92
|
-
cornerColor?: string;
|
|
93
|
-
cornerSize?: number;
|
|
94
|
-
transparentCorners?: boolean;
|
|
95
|
-
cropBackgroundColor?: string;
|
|
96
|
-
cropBackgroundOpacity?: number;
|
|
97
|
-
}
|
|
98
|
-
export interface ICustomFabricRect extends fabric.IRectOptions {
|
|
99
|
-
id: string | null;
|
|
100
|
-
objectId: string;
|
|
101
|
-
}
|
|
102
|
-
export declare class CustomFabricRect extends fabric.Rect {
|
|
103
|
-
id: string | null;
|
|
104
|
-
objectId: string;
|
|
105
|
-
constructor(options?: ICustomFabricRect);
|
|
106
|
-
}
|
|
107
|
-
/** @deprecated will completely remove the buttons */
|
|
108
|
-
export interface IActionComponentProps {
|
|
109
|
-
addButton?: JSX.Element;
|
|
110
|
-
addNew(): void;
|
|
111
|
-
deleteButton?: JSX.Element;
|
|
112
|
-
deleteShapes(): void;
|
|
113
|
-
discardActiveObject(): void;
|
|
114
|
-
discardButton?: JSX.Element;
|
|
115
|
-
}
|
|
1
|
+
import { fabric } from 'fabric';
|
|
2
|
+
import CSS from 'csstype';
|
|
3
|
+
export interface ICropStyle {
|
|
4
|
+
borderColor?: string;
|
|
5
|
+
cornerColor?: string;
|
|
6
|
+
cornerSize?: number;
|
|
7
|
+
cropBackgroundColor?: string;
|
|
8
|
+
cropBackgroundOpacity?: number;
|
|
9
|
+
transparentCorners?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IRectCoord {
|
|
12
|
+
x1: number;
|
|
13
|
+
x2: number;
|
|
14
|
+
y1: number;
|
|
15
|
+
y2: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ICoord {
|
|
18
|
+
id: string | null;
|
|
19
|
+
rect: IRectCoord | string;
|
|
20
|
+
objectId?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ICropProps extends ICoord {
|
|
23
|
+
rectPx?: IRectCoord | string | object;
|
|
24
|
+
style?: ICropStyle;
|
|
25
|
+
}
|
|
26
|
+
export interface IRecordProps {
|
|
27
|
+
clippings: Array<ICropProps>;
|
|
28
|
+
}
|
|
29
|
+
export interface IOutputData extends ICoord {
|
|
30
|
+
crop?: string;
|
|
31
|
+
deletedAt?: string;
|
|
32
|
+
dataUrl?: string | null;
|
|
33
|
+
canvasElement?: HTMLCanvasElement | null;
|
|
34
|
+
objectId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IInputProps {
|
|
37
|
+
/**
|
|
38
|
+
* Give output each changes in the canvas, might be moved to root props.
|
|
39
|
+
* @param value Output value
|
|
40
|
+
*/
|
|
41
|
+
onChange(value: Array<IOutputData>): void;
|
|
42
|
+
}
|
|
43
|
+
export interface IReactMultiCropProps {
|
|
44
|
+
activeObject?: string;
|
|
45
|
+
disableZoom?: boolean;
|
|
46
|
+
id?: string;
|
|
47
|
+
image?: string;
|
|
48
|
+
includeDataUrl?: boolean;
|
|
49
|
+
includeHtmlCanvas?: boolean;
|
|
50
|
+
input?: IInputProps;
|
|
51
|
+
onHover?(value: IOutputData | null): void;
|
|
52
|
+
onSelect?(value: IOutputData | null): void;
|
|
53
|
+
readonly?: boolean;
|
|
54
|
+
record?: IRecordProps;
|
|
55
|
+
height?: number;
|
|
56
|
+
width?: number;
|
|
57
|
+
zoomChanged?(value: number): void;
|
|
58
|
+
zoomLevel?: number;
|
|
59
|
+
/** @deprecated use borderColor in record */
|
|
60
|
+
borderColor?: string;
|
|
61
|
+
/** @deprecated use cornerColor in record */
|
|
62
|
+
cornerColor?: string;
|
|
63
|
+
/** @deprecated use cornerSize in record */
|
|
64
|
+
cornerSize?: number;
|
|
65
|
+
/** @deprecated use cropBackgroundColor in record */
|
|
66
|
+
cropBackgroundColor?: string;
|
|
67
|
+
/** @deprecated use cropBackgroundOpacity in record */
|
|
68
|
+
cropBackgroundOpacity?: number;
|
|
69
|
+
/** @deprecated use transparentCorners in record */
|
|
70
|
+
transparentCorners?: boolean;
|
|
71
|
+
/** @deprecated will completely remove the buttons */
|
|
72
|
+
addButton?: JSX.Element;
|
|
73
|
+
/** @deprecated will completely remove the buttons */
|
|
74
|
+
deleteButton?: JSX.Element;
|
|
75
|
+
/** @deprecated will completely remove the buttons */
|
|
76
|
+
discardButton?: JSX.Element;
|
|
77
|
+
/** @deprecated will completely remove the buttons */
|
|
78
|
+
showButton?: boolean;
|
|
79
|
+
/** @deprecated avoid to use this props */
|
|
80
|
+
style?: CSS.Properties;
|
|
81
|
+
}
|
|
82
|
+
export interface IReactMultiCropStates {
|
|
83
|
+
canvas: fabric.Canvas | null;
|
|
84
|
+
initial: boolean;
|
|
85
|
+
}
|
|
86
|
+
export interface IAttribute {
|
|
87
|
+
left?: number;
|
|
88
|
+
top?: number;
|
|
89
|
+
height?: number;
|
|
90
|
+
width?: number;
|
|
91
|
+
borderColor?: string;
|
|
92
|
+
cornerColor?: string;
|
|
93
|
+
cornerSize?: number;
|
|
94
|
+
transparentCorners?: boolean;
|
|
95
|
+
cropBackgroundColor?: string;
|
|
96
|
+
cropBackgroundOpacity?: number;
|
|
97
|
+
}
|
|
98
|
+
export interface ICustomFabricRect extends fabric.IRectOptions {
|
|
99
|
+
id: string | null;
|
|
100
|
+
objectId: string;
|
|
101
|
+
}
|
|
102
|
+
export declare class CustomFabricRect extends fabric.Rect {
|
|
103
|
+
id: string | null;
|
|
104
|
+
objectId: string;
|
|
105
|
+
constructor(options?: ICustomFabricRect);
|
|
106
|
+
}
|
|
107
|
+
/** @deprecated will completely remove the buttons */
|
|
108
|
+
export interface IActionComponentProps {
|
|
109
|
+
addButton?: JSX.Element;
|
|
110
|
+
addNew(): void;
|
|
111
|
+
deleteButton?: JSX.Element;
|
|
112
|
+
deleteShapes(): void;
|
|
113
|
+
discardActiveObject(): void;
|
|
114
|
+
discardButton?: JSX.Element;
|
|
115
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as ReactMultiCrop } from './ReactMultiCrop';
|
|
2
|
-
export { IRecordProps, IOutputData, IInputProps, IReactMultiCropProps, IReactMultiCropStates, IRectCoord, ICoord, IAttribute, ICustomFabricRect, CustomFabricRect, } from './ReactMultiCrop/interfaces';
|
|
1
|
+
export { default as ReactMultiCrop } from './ReactMultiCrop';
|
|
2
|
+
export { IRecordProps, IOutputData, IInputProps, IReactMultiCropProps, IReactMultiCropStates, IRectCoord, ICoord, IAttribute, ICustomFabricRect, CustomFabricRect, } from './ReactMultiCrop/interfaces';
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"source": "src/index.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "rollup -c --bundleConfigAsCjs",
|
|
10
|
-
"docs": "
|
|
10
|
+
"docs": "storybook build -o ../../docs/components",
|
|
11
11
|
"fix-lint": "eslint \"src/**/*.{js,ts,tsx}\" \"test/**/*.{js,ts,tsx}\" --quiet --fix",
|
|
12
12
|
"lint": "eslint \"src/**/*.{js,ts,tsx}\" \"test/**/*.{js,ts,tsx}\"",
|
|
13
13
|
"start": "rollup -c -w",
|
|
14
|
-
"storybook": "
|
|
14
|
+
"storybook": "storybook dev -p 5403",
|
|
15
15
|
"test": "jest --coverage"
|
|
16
16
|
},
|
|
17
17
|
"repository": {
|
|
@@ -35,14 +35,13 @@
|
|
|
35
35
|
"@babel/runtime": "^7.21.5",
|
|
36
36
|
"@rollup/plugin-babel": "^6.0.3",
|
|
37
37
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
38
|
-
"@storybook/addon-essentials": "^
|
|
39
|
-
"@storybook/addon-links": "^
|
|
40
|
-
"@storybook/addon-storysource": "^
|
|
41
|
-
"@storybook/addons": "^
|
|
42
|
-
"@storybook/
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/
|
|
45
|
-
"@storybook/source-loader": "^6.5.16",
|
|
38
|
+
"@storybook/addon-essentials": "^7.0.12",
|
|
39
|
+
"@storybook/addon-links": "^7.0.12",
|
|
40
|
+
"@storybook/addon-storysource": "^7.0.12",
|
|
41
|
+
"@storybook/addons": "^7.0.12",
|
|
42
|
+
"@storybook/react": "^7.0.12",
|
|
43
|
+
"@storybook/react-webpack5": "7.0.12",
|
|
44
|
+
"@storybook/source-loader": "^7.0.12",
|
|
46
45
|
"@testing-library/jest-dom": "^5.16.5",
|
|
47
46
|
"@testing-library/react": "^14.0.0",
|
|
48
47
|
"@types/fabric": "^5.3.1",
|
|
@@ -55,12 +54,13 @@
|
|
|
55
54
|
"jest-environment-jsdom": "^29.5.0",
|
|
56
55
|
"node-sass": "^8.0.0",
|
|
57
56
|
"react-test-renderer": "^18.2.0",
|
|
58
|
-
"rollup": "^3.21.
|
|
57
|
+
"rollup": "^3.21.7",
|
|
59
58
|
"rollup-plugin-delete": "^2.0.0",
|
|
60
59
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
61
60
|
"rollup-plugin-sizes": "^1.0.5",
|
|
62
61
|
"rollup-plugin-terser": "^7.0.2",
|
|
63
62
|
"rollup-plugin-typescript2": "^0.34.1",
|
|
63
|
+
"storybook": "7.0.10",
|
|
64
64
|
"ts-jest": "^29.1.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"uuid": "^9.0.0"
|
|
77
77
|
},
|
|
78
78
|
"license": "MIT",
|
|
79
|
-
"version": "0.31.
|
|
80
|
-
"gitHead": "
|
|
79
|
+
"version": "0.31.6",
|
|
80
|
+
"gitHead": "11df18fcec41cb82fa3133b400fd9270ba41bd79"
|
|
81
81
|
}
|