@datacrest/dcuikit 1.0.47 → 1.0.49
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/build/index.css +1 -1
- package/build/index.esm.css +1 -1
- package/build/index.esm.js +49 -16
- package/build/index.esm.js.map +1 -1
- package/build/index.js +49 -16
- package/build/index.js.map +1 -1
- package/build/tsconfig.prod.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +67 -69
- package/build/components/Atom/Button/Button.stories.d.ts +0 -5
- package/build/components/Atom/Button/Button.test.d.ts +0 -1
- package/build/components/Atom/Checkbox/Checkbox.stories.d.ts +0 -4
- package/build/components/Atom/Checkbox/Checkbox.test.d.ts +0 -1
- package/build/components/Atom/Icon/Custom/CustomIcons.test.d.ts +0 -1
- package/build/components/Atom/Icon/Custom/Icons.stories.d.ts +0 -4
- package/build/components/Atom/Icon/Icon.stories.d.ts +0 -6
- package/build/components/Atom/Icon/Icon.test.d.ts +0 -1
- package/build/components/Atom/Input/Input.stories.d.ts +0 -8
- package/build/components/Atom/Input/Input.test.d.ts +0 -1
- package/build/components/Atom/Radiogroup/RadioGroup.stories.d.ts +0 -5
- package/build/components/Atom/Radiogroup/RadioGroup.test.d.ts +0 -1
- package/build/components/Atom/Switch/Switch.stories.d.ts +0 -5
- package/build/components/Atom/Switch/Switch.test.d.ts +0 -1
- package/build/components/Atom/TextArea/TextArea.stories.d.ts +0 -5
- package/build/components/Atom/TextArea/TextArea.test.d.ts +0 -1
- package/build/components/Atom/Typography/Heading.stories.d.ts +0 -5
- package/build/components/Atom/Typography/Heading.test.d.ts +0 -1
- package/build/components/Atom/Typography/Text.stories.d.ts +0 -5
- package/build/components/Atom/Typography/Text.test.d.ts +0 -1
- package/build/components/Molecule/AlertDialog/AlertDialog.stories.d.ts +0 -55
- package/build/components/Molecule/AlertDialog/AlertDialog.test.d.ts +0 -1
- package/build/components/Molecule/BreadCrumb/BreadCrumb.stories.d.ts +0 -5
- package/build/components/Molecule/BreadCrumb/BreadCrumb.test.d.ts +0 -1
- package/build/components/Molecule/Calendar/Calendar.stories.d.ts +0 -5
- package/build/components/Molecule/Calendar/Calendar.test.d.ts +0 -1
- package/build/components/Molecule/Card/Card.stories.d.ts +0 -5
- package/build/components/Molecule/Card/Card.test.d.ts +0 -1
- package/build/components/Molecule/Carousel/Carousel.stories.d.ts +0 -51
- package/build/components/Molecule/Carousel/Carousel.test.d.ts +0 -1
- package/build/components/Molecule/Chart/Chart.stories.d.ts +0 -5
- package/build/components/Molecule/Chart/Chart.test.d.ts +0 -1
- package/build/components/Molecule/Collapse/Collapse.stories.d.ts +0 -9
- package/build/components/Molecule/Collapse/Collapse.test.d.ts +0 -1
- package/build/components/Molecule/DatePicker/DatePicker.stories.d.ts +0 -5
- package/build/components/Molecule/DatePicker/DatePicker.test.d.ts +0 -1
- package/build/components/Molecule/Dialog/Dialog.stories.d.ts +0 -5
- package/build/components/Molecule/Dialog/Dialog.test.d.ts +0 -1
- package/build/components/Molecule/Drawer/Drawer.stories.d.ts +0 -44
- package/build/components/Molecule/Drawer/Drawer.test.d.ts +0 -1
- package/build/components/Molecule/Dropdown/Dropdown.stories.d.ts +0 -5
- package/build/components/Molecule/Dropdown/Dropdown.test.d.ts +0 -1
- package/build/components/Molecule/Editor/Editor.stories.d.ts +0 -5
- package/build/components/Molecule/Editor/Editor.test.d.ts +0 -1
- package/build/components/Molecule/FileUploader/FileUploader.stories.d.ts +0 -5
- package/build/components/Molecule/FileUploader/FileUploader.test.d.ts +0 -1
- package/build/components/Molecule/Loader/Loader.stories.d.ts +0 -6
- package/build/components/Molecule/Loader/Loader.test.d.ts +0 -1
- package/build/components/Molecule/Message/Message.stories.d.ts +0 -66
- package/build/components/Molecule/Message/Message.test.d.ts +0 -1
- package/build/components/Molecule/Otp/Otp.stories.d.ts +0 -47
- package/build/components/Molecule/Otp/Otp.test.d.ts +0 -1
- package/build/components/Molecule/Pagination/Pagination.stories.d.ts +0 -5
- package/build/components/Molecule/Pagination/Pagination.test.d.ts +0 -1
- package/build/components/Molecule/Popover/Popover.stories.d.ts +0 -41
- package/build/components/Molecule/Popover/Popover.test.d.ts +0 -1
- package/build/components/Molecule/ProfileCard/ProfileCard.stories.d.ts +0 -40
- package/build/components/Molecule/ProfileCard/ProfileCard.test.d.ts +0 -1
- package/build/components/Molecule/Separator/Separator.stories.d.ts +0 -6
- package/build/components/Molecule/Separator/Separator.test.d.ts +0 -1
- package/build/components/Molecule/Sheet/Sheet.stories.d.ts +0 -9
- package/build/components/Molecule/Sheet/Sheet.test.d.ts +0 -1
- package/build/components/Molecule/Skeleton/Skeleton.stories.d.ts +0 -5
- package/build/components/Molecule/Skeleton/Skeleton.test.d.ts +0 -1
- package/build/components/Molecule/Stepper/Stepper.stories.d.ts +0 -5
- package/build/components/Molecule/Stepper/Stepper.test.d.ts +0 -1
- package/build/components/Molecule/Table/Table.stories.d.ts +0 -20
- package/build/components/Molecule/Table/Table.test.d.ts +0 -1
- package/build/components/Molecule/Tabs/Tabs.stories.d.ts +0 -41
- package/build/components/Molecule/Tabs/Tabs.test.d.ts +0 -1
- package/build/components/Molecule/Tooltip/Tooltip.stories.d.ts +0 -9
- package/build/components/Molecule/Tooltip/Tooltip.test.d.ts +0 -1
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MessageProps, MessageVariants, MessagePosition } from './Message.types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ id, destroy, title, description, variant, position, duration, animationDuration, icon, dataTestId, }: MessageProps) => React.JSX.Element;
|
|
6
|
-
argTypes: {
|
|
7
|
-
variant: {
|
|
8
|
-
control: "select";
|
|
9
|
-
options: MessageVariants[];
|
|
10
|
-
description: string;
|
|
11
|
-
defaultValue: MessageVariants;
|
|
12
|
-
};
|
|
13
|
-
position: {
|
|
14
|
-
control: "select";
|
|
15
|
-
options: MessagePosition[];
|
|
16
|
-
description: string;
|
|
17
|
-
defaultValue: MessagePosition;
|
|
18
|
-
};
|
|
19
|
-
title: {
|
|
20
|
-
control: "text";
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
description: {
|
|
24
|
-
control: "text";
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
duration: {
|
|
28
|
-
control: {
|
|
29
|
-
type: "number";
|
|
30
|
-
min: number;
|
|
31
|
-
max: number;
|
|
32
|
-
step: number;
|
|
33
|
-
};
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
animationDuration: {
|
|
37
|
-
control: {
|
|
38
|
-
type: "number";
|
|
39
|
-
min: number;
|
|
40
|
-
max: number;
|
|
41
|
-
step: number;
|
|
42
|
-
};
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
icon: {
|
|
46
|
-
control: "boolean";
|
|
47
|
-
description: string;
|
|
48
|
-
defaultValue: boolean;
|
|
49
|
-
};
|
|
50
|
-
dataTestId: {
|
|
51
|
-
control: "text";
|
|
52
|
-
description: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
tags: string[];
|
|
56
|
-
parameters: {
|
|
57
|
-
design: {
|
|
58
|
-
type: string;
|
|
59
|
-
url: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export default _default;
|
|
64
|
-
export declare const Message: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Omit<MessageProps, "destroy"> & {
|
|
65
|
-
position: MessagePosition;
|
|
66
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { OTPInputProps } from './types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: {
|
|
6
|
-
({ value, maxLength, onChange, disabled, isError, placeholder, className, }: OTPInputProps): React.JSX.Element;
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
argTypes: {
|
|
10
|
-
maxLength: {
|
|
11
|
-
control: "number";
|
|
12
|
-
description: string;
|
|
13
|
-
defaultValue: number;
|
|
14
|
-
};
|
|
15
|
-
disabled: {
|
|
16
|
-
control: "boolean";
|
|
17
|
-
description: string;
|
|
18
|
-
defaultValue: boolean;
|
|
19
|
-
};
|
|
20
|
-
isError: {
|
|
21
|
-
control: "boolean";
|
|
22
|
-
description: string;
|
|
23
|
-
defaultValue: boolean;
|
|
24
|
-
};
|
|
25
|
-
placeholder: {
|
|
26
|
-
control: "text";
|
|
27
|
-
description: string;
|
|
28
|
-
defaultValue: string;
|
|
29
|
-
};
|
|
30
|
-
showControls: {
|
|
31
|
-
control: "boolean";
|
|
32
|
-
description: string;
|
|
33
|
-
defaultValue: boolean;
|
|
34
|
-
};
|
|
35
|
-
value: {
|
|
36
|
-
control: "text";
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
onChange: {
|
|
40
|
-
action: string;
|
|
41
|
-
description: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
tags: string[];
|
|
45
|
-
};
|
|
46
|
-
export default _default;
|
|
47
|
-
export declare const OTPInput: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, OTPInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import PaginationComponent from './Pagination';
|
|
3
|
-
declare const _default: Meta<typeof PaginationComponent>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Pagination: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./types").PaginationComponentProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PopoverStoryProps } from './types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<import("@radix-ui/react-popover").PopoverProps>;
|
|
6
|
-
argTypes: {
|
|
7
|
-
side: {
|
|
8
|
-
control: "select";
|
|
9
|
-
options: string[];
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
align: {
|
|
13
|
-
control: "select";
|
|
14
|
-
options: string[];
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
variant: {
|
|
18
|
-
control: "select";
|
|
19
|
-
options: string[];
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
title: {
|
|
23
|
-
control: "text";
|
|
24
|
-
description: string;
|
|
25
|
-
};
|
|
26
|
-
description: {
|
|
27
|
-
control: "text";
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
buttonText: {
|
|
31
|
-
control: "text";
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
onOpenChange: {
|
|
35
|
-
action: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
tags: string[];
|
|
39
|
-
};
|
|
40
|
-
export default _default;
|
|
41
|
-
export declare const Popover: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, PopoverStoryProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ProfileCardProps } from './types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<ProfileCardProps>;
|
|
6
|
-
argTypes: {
|
|
7
|
-
size: {
|
|
8
|
-
control: "select";
|
|
9
|
-
options: string[];
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
avatarUrl: {
|
|
13
|
-
control: "text";
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
name: {
|
|
17
|
-
control: "text";
|
|
18
|
-
description: string;
|
|
19
|
-
};
|
|
20
|
-
email: {
|
|
21
|
-
control: "text";
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
position: {
|
|
25
|
-
control: "text";
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
dropdownItems: {
|
|
29
|
-
control: "object";
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
isDropdownOpen: {
|
|
33
|
-
control: "boolean";
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
tags: string[];
|
|
38
|
-
};
|
|
39
|
-
export default _default;
|
|
40
|
-
export declare const ProfileCard: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ProfileCardProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { SheetProps } from './types';
|
|
3
|
-
declare const _default: Meta<SheetProps & {
|
|
4
|
-
isDrawer: boolean;
|
|
5
|
-
}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const SheetStory: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SheetProps & {
|
|
8
|
-
isDrawer: boolean;
|
|
9
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import type { SkeletonProps } from './types';
|
|
3
|
-
declare const _default: Meta<SkeletonProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Skeleton: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SkeletonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import type { StepperProps } from './types';
|
|
3
|
-
declare const _default: Meta<StepperProps>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Stepper: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, StepperProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { PAGE_SIZES, PersonData } from './const';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
interface TableStoryProps {
|
|
6
|
-
sortable: boolean;
|
|
7
|
-
pagination: boolean;
|
|
8
|
-
searchable: boolean;
|
|
9
|
-
currentPage: number;
|
|
10
|
-
pageSize: (typeof PAGE_SIZES)[number];
|
|
11
|
-
showCustomCells: boolean;
|
|
12
|
-
showActions: boolean;
|
|
13
|
-
onRowClick?: (row: PersonData) => void;
|
|
14
|
-
useBuiltInStatus: boolean;
|
|
15
|
-
swapPaginationLayout: boolean;
|
|
16
|
-
selectable: boolean;
|
|
17
|
-
enableTextTruncation: boolean;
|
|
18
|
-
maxWords: number;
|
|
19
|
-
}
|
|
20
|
-
export declare const Table: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TableStoryProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { TabsProps } from './types';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: React.FC<TabsProps>;
|
|
6
|
-
argTypes: {
|
|
7
|
-
items: {
|
|
8
|
-
control: "object";
|
|
9
|
-
description: string;
|
|
10
|
-
defaultValue: import("./types").TabItem[];
|
|
11
|
-
};
|
|
12
|
-
defaultValue: {
|
|
13
|
-
control: "text";
|
|
14
|
-
description: string;
|
|
15
|
-
defaultValue: string;
|
|
16
|
-
};
|
|
17
|
-
orientation: {
|
|
18
|
-
control: "radio";
|
|
19
|
-
options: string[];
|
|
20
|
-
description: string;
|
|
21
|
-
defaultValue: string;
|
|
22
|
-
};
|
|
23
|
-
disabled: {
|
|
24
|
-
control: "boolean";
|
|
25
|
-
description: string;
|
|
26
|
-
defaultValue: boolean;
|
|
27
|
-
};
|
|
28
|
-
width: {
|
|
29
|
-
control: "text";
|
|
30
|
-
description: string;
|
|
31
|
-
defaultValue: string;
|
|
32
|
-
};
|
|
33
|
-
onValueChange: {
|
|
34
|
-
action: string;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
tags: string[];
|
|
39
|
-
};
|
|
40
|
-
export default _default;
|
|
41
|
-
export declare const Tabs: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TabsProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { StoryFn, Meta } from '@storybook/react';
|
|
2
|
-
import { TooltipProps } from './Tooltip';
|
|
3
|
-
interface TooltipStoryProps extends TooltipProps {
|
|
4
|
-
showFooter?: boolean;
|
|
5
|
-
showCustomOverlay?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: Meta<TooltipStoryProps>;
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const Tooltip: StoryFn<TooltipStoryProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|