@trackunit/react-modal 1.14.14 → 1.14.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-modal",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.16",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@floating-ui/react": "^0.26.25",
|
|
11
|
-
"@trackunit/react-components": "1.17.
|
|
11
|
+
"@trackunit/react-components": "1.17.12",
|
|
12
12
|
"react": "19.0.0",
|
|
13
|
-
"@trackunit/css-class-variance-utilities": "1.11.
|
|
14
|
-
"@trackunit/shared-utils": "1.13.
|
|
13
|
+
"@trackunit/css-class-variance-utilities": "1.11.41",
|
|
14
|
+
"@trackunit/shared-utils": "1.13.41",
|
|
15
15
|
"@floating-ui/react-dom": "2.1.2",
|
|
16
|
-
"@trackunit/react-core-contexts-api": "1.13.
|
|
17
|
-
"@trackunit/i18n-library-translation": "1.12.
|
|
16
|
+
"@trackunit/react-core-contexts-api": "1.13.22",
|
|
17
|
+
"@trackunit/i18n-library-translation": "1.12.25"
|
|
18
18
|
},
|
|
19
19
|
"module": "./index.esm.js",
|
|
20
20
|
"main": "./index.cjs.js",
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { StoryObjWithOptionalArgs } from "@trackunit/shared-utils";
|
|
2
|
-
import { ReactElement } from "react";
|
|
3
|
-
type Story = StoryObjWithOptionalArgs<typeof meta, "ref" | "isOpen" | "close" | "open" | "toggle" | "floatingUi" | "children">;
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: {
|
|
7
|
-
({ children, isOpen, role, "data-testid": dataTestId, className, size, floatingUi, ref, restoreFocus, }: import("./Modal").ModalProps): ReactElement;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
tags: string[];
|
|
11
|
-
parameters: {
|
|
12
|
-
docs: {
|
|
13
|
-
description: {
|
|
14
|
-
component: string;
|
|
15
|
-
};
|
|
16
|
-
source: {
|
|
17
|
-
type: string;
|
|
18
|
-
excludeDecorators: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
argTypes: {
|
|
23
|
-
floatingUi: {
|
|
24
|
-
control: false;
|
|
25
|
-
description: string;
|
|
26
|
-
table: {
|
|
27
|
-
category: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
ref: {
|
|
31
|
-
control: false;
|
|
32
|
-
description: string;
|
|
33
|
-
table: {
|
|
34
|
-
category: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
open: {
|
|
38
|
-
control: false;
|
|
39
|
-
description: string;
|
|
40
|
-
table: {
|
|
41
|
-
category: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
close: {
|
|
45
|
-
control: false;
|
|
46
|
-
description: string;
|
|
47
|
-
table: {
|
|
48
|
-
category: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
toggle: {
|
|
52
|
-
control: false;
|
|
53
|
-
description: string;
|
|
54
|
-
table: {
|
|
55
|
-
category: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
isOpen: {
|
|
59
|
-
control: false;
|
|
60
|
-
description: string;
|
|
61
|
-
table: {
|
|
62
|
-
category: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
size: {
|
|
66
|
-
control: {
|
|
67
|
-
type: "select";
|
|
68
|
-
};
|
|
69
|
-
options: string[];
|
|
70
|
-
description: string;
|
|
71
|
-
table: {
|
|
72
|
-
defaultValue: {
|
|
73
|
-
summary: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export default meta;
|
|
80
|
-
export declare const PackageName: () => ReactElement;
|
|
81
|
-
export declare const Default: Story;
|
|
82
|
-
export declare const WithScrollableContent: Story;
|
|
83
|
-
export declare const MultiColumnLayout: Story;
|
|
84
|
-
export declare const UnsavedChangesConfirmation: Story;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { StoryObjWithOptionalArgs } from "@trackunit/shared-utils";
|
|
2
|
-
import { ReactElement } from "react";
|
|
3
|
-
type Story = StoryObjWithOptionalArgs<typeof meta, "children">;
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<import("./ModalBody").ModalBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
source: {
|
|
11
|
-
type: string;
|
|
12
|
-
excludeDecorators: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
argTypes: {
|
|
17
|
-
children: {
|
|
18
|
-
control: false;
|
|
19
|
-
};
|
|
20
|
-
className: {
|
|
21
|
-
control: "text";
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
"data-testid": {
|
|
25
|
-
control: "text";
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default meta;
|
|
31
|
-
export declare const PackageName: () => ReactElement;
|
|
32
|
-
export declare const Default: Story;
|
|
33
|
-
export declare const InContextWithinModal: Story;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react-webpack5";
|
|
2
|
-
import { ReactElement } from "react";
|
|
3
|
-
type Story = StoryObj<typeof meta>;
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<import("./ModalFooter").ModalFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
source: {
|
|
11
|
-
type: string;
|
|
12
|
-
excludeDecorators: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
argTypes: {
|
|
17
|
-
onCancel: {
|
|
18
|
-
action: string;
|
|
19
|
-
};
|
|
20
|
-
primaryAction: {
|
|
21
|
-
action: string;
|
|
22
|
-
};
|
|
23
|
-
secondaryAction: {
|
|
24
|
-
action: string;
|
|
25
|
-
};
|
|
26
|
-
primaryVariant: {
|
|
27
|
-
control: {
|
|
28
|
-
type: "select";
|
|
29
|
-
};
|
|
30
|
-
options: string[];
|
|
31
|
-
};
|
|
32
|
-
secondaryVariant: {
|
|
33
|
-
control: {
|
|
34
|
-
type: "select";
|
|
35
|
-
};
|
|
36
|
-
options: string[];
|
|
37
|
-
};
|
|
38
|
-
primaryLoading: {
|
|
39
|
-
control: "boolean";
|
|
40
|
-
};
|
|
41
|
-
secondaryLoading: {
|
|
42
|
-
control: "boolean";
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
export default meta;
|
|
47
|
-
export declare const PackageName: () => ReactElement;
|
|
48
|
-
export declare const Default: Story;
|
|
49
|
-
export declare const WithSecondaryAction: Story;
|
|
50
|
-
export declare const PrimaryDanger: Story;
|
|
51
|
-
export declare const LoadingPrimary: Story;
|
|
52
|
-
export declare const OnlyCancel: Story;
|
|
53
|
-
export declare const SecondaryDanger: Story;
|
|
54
|
-
export declare const LoadingSecondary: Story;
|
|
55
|
-
export declare const InContextWithinModal: () => ReactElement;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from "@storybook/react-webpack5";
|
|
2
|
-
import { ReactElement } from "react";
|
|
3
|
-
type Story = StoryObj<typeof meta>;
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: import("react").ForwardRefExoticComponent<import("./ModalHeader").ModalHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
-
tags: string[];
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
source: {
|
|
11
|
-
type: string;
|
|
12
|
-
excludeDecorators: boolean;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
argTypes: {
|
|
17
|
-
onClickClose: {
|
|
18
|
-
action: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default meta;
|
|
23
|
-
export declare const PackageName: () => ReactElement;
|
|
24
|
-
export declare const Default: Story;
|
|
25
|
-
export declare const WithSubHeading: Story;
|
|
26
|
-
export declare const WithAccessories: Story;
|
|
27
|
-
export declare const LongHeadings: Story;
|
|
28
|
-
export declare const InContextWithinModal: () => ReactElement;
|