@confidencesystemsinc/sdk 1.6.4 → 1.6.5
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/dist/index.cjs +22 -22
- package/dist/index.js +1422 -1409
- package/dist/stories/ConfidenceCommentBox.stories.d.ts +6 -0
- package/dist/stories/ConfidencePlaybook.stories.d.ts +8 -0
- package/dist/stories/ConfidencePlaybookButton.stories.d.ts +3 -20
- package/dist/stories/ConfidenceTask.stories.d.ts +3 -48
- package/dist/stories/InitiatePlaybookModal.stories.d.ts +3 -16
- package/dist/stories/modal.stories.d.ts +3 -26
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ConfidenceCommentBox } from '../components/comments/ConfidenceCommentBox';
|
|
3
|
+
declare const meta: Meta<typeof ConfidenceCommentBox>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ConfidencePlaybook } from '../components/playbook/ConfidencePlaybook';
|
|
3
|
+
declare const meta: Meta<typeof ConfidencePlaybook.View>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const CardMode: Story;
|
|
7
|
+
export declare const ConfidenceOverlay: Story;
|
|
8
|
+
export declare const FiservOverlay: Story;
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component: ({ btnClassName, buttonNode, size, playbookId, onInitiated, disabled, btnLabel, btnColor, }: {
|
|
5
|
-
btnClassName?: string;
|
|
6
|
-
buttonNode?: React.ReactNode;
|
|
7
|
-
size?: import('../components/ui/button').ButtonSizeType;
|
|
8
|
-
playbookId: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
btnLabel?: string;
|
|
11
|
-
onInitiated: (playbookInstanceId: number, email: string) => void;
|
|
12
|
-
btnColor?: import('../components/playbook-button/ConfidencePlaybookButton').ConfidencePlaybookButtonColor;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
parameters: {
|
|
15
|
-
layout: string;
|
|
16
|
-
};
|
|
17
|
-
tags: string[];
|
|
18
|
-
argTypes: {};
|
|
19
|
-
args: {};
|
|
20
|
-
};
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ConfidencePlaybookButton } from '../components/playbook-button/ConfidencePlaybookButton';
|
|
3
|
+
declare const meta: Meta<typeof ConfidencePlaybookButton>;
|
|
21
4
|
export default meta;
|
|
22
5
|
type Story = StoryObj<typeof meta>;
|
|
23
6
|
export declare const Default: Story;
|
|
@@ -1,51 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const meta:
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ task, step, playbookType, onButtonClick, viewMode, canStart, isExpanded, toggleExpanded, playbookId, taskStyle, listStickyTopBase, }: {
|
|
6
|
-
task: import('../types/task.types').Task;
|
|
7
|
-
playbookType: import('../types/playbook.types').PlaybookType;
|
|
8
|
-
step: number;
|
|
9
|
-
onButtonClick: (buttonType: TaskButton) => Promise<void>;
|
|
10
|
-
viewMode?: "card" | "list";
|
|
11
|
-
canStart?: boolean;
|
|
12
|
-
isExpanded?: boolean;
|
|
13
|
-
toggleExpanded?: (expand?: boolean) => void;
|
|
14
|
-
playbookId: number;
|
|
15
|
-
taskStyle?: {
|
|
16
|
-
titleColor?: string;
|
|
17
|
-
};
|
|
18
|
-
listStickyTopBase?: number;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
parameters: {
|
|
21
|
-
layout: string;
|
|
22
|
-
};
|
|
23
|
-
tags: string[];
|
|
24
|
-
argTypes: {};
|
|
25
|
-
args: {
|
|
26
|
-
task: {
|
|
27
|
-
taskInstanceId: number;
|
|
28
|
-
taskId: number;
|
|
29
|
-
sequenceOrder: number;
|
|
30
|
-
workflowStatus: "Open";
|
|
31
|
-
taskInstanceName: string;
|
|
32
|
-
taskStartTime: string;
|
|
33
|
-
taskCompletedTime: string;
|
|
34
|
-
imageRequired: number;
|
|
35
|
-
hasDescription: true;
|
|
36
|
-
numberOfComments: number;
|
|
37
|
-
taskVerified: false;
|
|
38
|
-
recentCommentType: "Info";
|
|
39
|
-
};
|
|
40
|
-
playbookType: "Non-Sequential";
|
|
41
|
-
step: number;
|
|
42
|
-
onButtonClick: (action: TaskButton) => Promise<void>;
|
|
43
|
-
viewMode: "card";
|
|
44
|
-
canStart: true;
|
|
45
|
-
isExpanded: false;
|
|
46
|
-
playbookId: number;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ConfidenceTask } from '../components/task/ConfidenceTask';
|
|
3
|
+
declare const meta: Meta<typeof ConfidenceTask>;
|
|
49
4
|
export default meta;
|
|
50
5
|
type Story = StoryObj<typeof meta>;
|
|
51
6
|
export declare const CardMode: Story;
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component: ({ onConfirm, onClose, isOpen, title, }: {
|
|
5
|
-
onConfirm: (email: string) => Promise<void>;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
title?: string;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
};
|
|
13
|
-
tags: string[];
|
|
14
|
-
argTypes: {};
|
|
15
|
-
args: {};
|
|
16
|
-
};
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { InitiatePlaybookModal } from '../components/initiate-playbook-modal/InitiatePlaybookModal';
|
|
3
|
+
declare const meta: Meta<typeof InitiatePlaybookModal>;
|
|
17
4
|
export default meta;
|
|
18
5
|
type Story = StoryObj<typeof meta>;
|
|
19
6
|
export declare const Default: Story;
|
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
component: ({ isOpen, close, title, dismissOptions, confirmOptions, children, className, }: {
|
|
5
|
-
className?: string;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
close: () => void;
|
|
8
|
-
title?: string;
|
|
9
|
-
children: import('react').ReactNode;
|
|
10
|
-
dismissOptions?: {
|
|
11
|
-
label: string;
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
};
|
|
14
|
-
confirmOptions?: {
|
|
15
|
-
label: string;
|
|
16
|
-
onClick: () => void;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
};
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
parameters: {
|
|
21
|
-
layout: string;
|
|
22
|
-
};
|
|
23
|
-
tags: string[];
|
|
24
|
-
argTypes: {};
|
|
25
|
-
args: {};
|
|
26
|
-
};
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Modal } from '../components/ui/modal';
|
|
3
|
+
declare const meta: Meta<typeof Modal>;
|
|
27
4
|
export default meta;
|
|
28
5
|
type Story = StoryObj<typeof meta>;
|
|
29
6
|
export declare const Default: Story;
|