@trackunit/react-compound-components 1.7.55 → 1.7.57
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,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-compound-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.57",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"react": "19.0.0",
|
|
8
8
|
"tailwind-merge": "^2.0.0",
|
|
9
9
|
"react-image-gallery": "1.3.0",
|
|
10
|
-
"@trackunit/react-core-contexts-api": "1.8.
|
|
11
|
-
"@trackunit/react-core-hooks": "1.7.
|
|
12
|
-
"@trackunit/react-components": "1.9.
|
|
13
|
-
"@trackunit/react-modal": "1.8.
|
|
14
|
-
"@trackunit/css-class-variance-utilities": "1.7.
|
|
15
|
-
"@trackunit/date-and-time-utils": "1.7.
|
|
16
|
-
"@trackunit/react-form-components": "1.8.
|
|
17
|
-
"@trackunit/i18n-library-translation": "1.7.
|
|
18
|
-
"@trackunit/react-test-setup": "1.4.
|
|
19
|
-
"@trackunit/shared-utils": "1.9.
|
|
20
|
-
"@trackunit/ui-icons": "1.7.
|
|
10
|
+
"@trackunit/react-core-contexts-api": "1.8.42",
|
|
11
|
+
"@trackunit/react-core-hooks": "1.7.45",
|
|
12
|
+
"@trackunit/react-components": "1.9.55",
|
|
13
|
+
"@trackunit/react-modal": "1.8.55",
|
|
14
|
+
"@trackunit/css-class-variance-utilities": "1.7.39",
|
|
15
|
+
"@trackunit/date-and-time-utils": "1.7.39",
|
|
16
|
+
"@trackunit/react-form-components": "1.8.57",
|
|
17
|
+
"@trackunit/i18n-library-translation": "1.7.46",
|
|
18
|
+
"@trackunit/react-test-setup": "1.4.39",
|
|
19
|
+
"@trackunit/shared-utils": "1.9.39",
|
|
20
|
+
"@trackunit/ui-icons": "1.7.40"
|
|
21
21
|
},
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=22.x",
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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: (props: import("./useConfirmationDialog.demo").ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
docs: {
|
|
9
|
+
source: {
|
|
10
|
+
type: string;
|
|
11
|
+
excludeDecorators: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
6
16
|
export default meta;
|
|
7
|
-
export declare const
|
|
17
|
+
export declare const PackageName: () => ReactElement;
|
|
8
18
|
export declare const Default: Story;
|
|
@@ -1,11 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentProps } from "react";
|
|
1
|
+
import { ComponentProps, ReactElement } from "react";
|
|
3
2
|
import { ImageCollection } from "./ImageCollection";
|
|
4
|
-
declare const meta:
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: (props: Omit<import("react-image-gallery").ReactImageGalleryProps, "items"> & {
|
|
6
|
+
imagesData: Array<{
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
timestamp: string;
|
|
10
|
+
}>;
|
|
11
|
+
actions?: {
|
|
12
|
+
upload?: {
|
|
13
|
+
label: string;
|
|
14
|
+
onUpload: (pictures: FileList) => Promise<void>;
|
|
15
|
+
};
|
|
16
|
+
remove?: {
|
|
17
|
+
label: string;
|
|
18
|
+
onRemove?: (id: string) => Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
emptyPlaceholderActionLabel?: string;
|
|
22
|
+
additionalItemClassName?: string;
|
|
23
|
+
uploading?: boolean;
|
|
24
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
tags: string[];
|
|
26
|
+
parameters: {
|
|
27
|
+
docs: {
|
|
28
|
+
source: {
|
|
29
|
+
type: string;
|
|
30
|
+
excludeDecorators: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
5
35
|
export default meta;
|
|
6
|
-
export declare const
|
|
36
|
+
export declare const PackageName: () => ReactElement;
|
|
7
37
|
export declare const Default: {
|
|
8
|
-
name: string;
|
|
9
38
|
render: (props: ComponentProps<typeof ImageCollection>) => import("react/jsx-runtime").JSX.Element;
|
|
10
39
|
args: {
|
|
11
40
|
imageIds: {
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const meta:
|
|
1
|
+
import { StoryObj } from "@storybook/react-webpack5";
|
|
2
|
+
import { ReactElement } from "react";
|
|
3
|
+
import { PreferenceCardProps } from "./PreferenceCard";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ title, description, icon, input, firstTag, secondTag, disabled, loading, className, dataTestId, children, onClick, }: PreferenceCardProps) => import("react").ReactNode;
|
|
7
|
+
args: {};
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
source: {
|
|
12
|
+
type: string;
|
|
13
|
+
excludeDecorators: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
input: {
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
5
23
|
export default meta;
|
|
6
|
-
|
|
24
|
+
type Story = StoryObj<typeof meta>;
|
|
25
|
+
export declare const PackageName: () => ReactElement;
|
|
7
26
|
export declare const Default: Story;
|
|
8
|
-
export declare const Variants: () =>
|
|
27
|
+
export declare const Variants: () => ReactElement;
|