@trackunit/react-compound-components 1.7.53 → 1.7.56

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.53",
3
+ "version": "1.7.56",
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.38",
11
- "@trackunit/react-core-hooks": "1.7.41",
12
- "@trackunit/react-components": "1.9.51",
13
- "@trackunit/react-modal": "1.8.51",
14
- "@trackunit/css-class-variance-utilities": "1.7.35",
15
- "@trackunit/date-and-time-utils": "1.7.35",
16
- "@trackunit/react-form-components": "1.8.53",
17
- "@trackunit/i18n-library-translation": "1.7.42",
18
- "@trackunit/react-test-setup": "1.4.35",
19
- "@trackunit/shared-utils": "1.9.35",
20
- "@trackunit/ui-icons": "1.7.37"
10
+ "@trackunit/react-core-contexts-api": "1.8.41",
11
+ "@trackunit/react-core-hooks": "1.7.44",
12
+ "@trackunit/react-components": "1.9.54",
13
+ "@trackunit/react-modal": "1.8.54",
14
+ "@trackunit/css-class-variance-utilities": "1.7.38",
15
+ "@trackunit/date-and-time-utils": "1.7.38",
16
+ "@trackunit/react-form-components": "1.8.56",
17
+ "@trackunit/i18n-library-translation": "1.7.45",
18
+ "@trackunit/react-test-setup": "1.4.38",
19
+ "@trackunit/shared-utils": "1.9.38",
20
+ "@trackunit/ui-icons": "1.7.39"
21
21
  },
22
22
  "engines": {
23
23
  "node": ">=22.x",
@@ -1,8 +1,18 @@
1
- import { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { useConfirmationDialog } from "@trackunit/react-core-hooks";
3
- import { UseConfirmationDialogDemoComponent } from "./useConfirmationDialog.demo";
4
- type Story = StoryObj<typeof UseConfirmationDialogDemoComponent>;
5
- declare const meta: Meta<typeof useConfirmationDialog>;
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 packageName: () => import("react/jsx-runtime").JSX.Element;
17
+ export declare const PackageName: () => ReactElement;
8
18
  export declare const Default: Story;
@@ -1,11 +1,40 @@
1
- import { Meta } from "@storybook/react-webpack5";
2
- import { ComponentProps } from "react";
1
+ import { ComponentProps, ReactElement } from "react";
3
2
  import { ImageCollection } from "./ImageCollection";
4
- declare const meta: Meta<typeof ImageCollection>;
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 packageName: () => import("react/jsx-runtime").JSX.Element;
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 { Meta, StoryObj } from "@storybook/react-webpack5";
2
- import { PreferenceCard } from "./PreferenceCard";
3
- type Story = StoryObj<typeof PreferenceCard>;
4
- declare const meta: Meta<typeof PreferenceCard>;
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
- export declare const packageName: () => import("react/jsx-runtime").JSX.Element;
24
+ type Story = StoryObj<typeof meta>;
25
+ export declare const PackageName: () => ReactElement;
7
26
  export declare const Default: Story;
8
- export declare const Variants: () => import("react/jsx-runtime").JSX.Element;
27
+ export declare const Variants: () => ReactElement;