wacomm 2.23.0 → 2.25.0
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/buttons/index.d.ts +0 -1
- package/dist/index.d.ts +2 -1
- package/dist/success/SuccessMessage.d.ts +6 -0
- package/dist/success/SuccessMessage.stories.d.ts +7 -0
- package/dist/success/index.d.ts +1 -0
- package/dist/toaster/Toaster.d.ts +11 -0
- package/dist/toaster/Toaster.stories.d.ts +8 -0
- package/dist/toaster/index.d.ts +1 -0
- package/dist/wacomm.cjs.js +18 -18
- package/dist/wacomm.css +1 -1
- package/dist/wacomm.es.js +5014 -5176
- package/package.json +1 -1
- package/dist/inviteByEmails/EmailAddForm.d.ts +0 -12
- package/dist/inviteByEmails/EmailAddForm.stories.d.ts +0 -9
- package/dist/inviteByEmails/EmailEntryItem.d.ts +0 -8
- package/dist/inviteByEmails/EmailEntryItem.stories.d.ts +0 -7
- package/dist/inviteByEmails/EmailEntryList.d.ts +0 -7
- package/dist/inviteByEmails/EmailEntryList.stories.d.ts +0 -8
- package/dist/inviteByEmails/InviteByEmails.d.ts +0 -6
- package/dist/inviteByEmails/InviteByEmails.stories.d.ts +0 -6
- package/dist/inviteByEmails/types.d.ts +0 -4
- package/dist/message/MessageButton.d.ts +0 -8
- package/dist/message/MessageButton.stories.d.ts +0 -20
- package/dist/message/MessageInput.d.ts +0 -7
- package/dist/message/MessageInput.stories.d.ts +0 -15
- package/dist/message/index.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface EmailAddFormProps {
|
|
2
|
-
input: string;
|
|
3
|
-
noteInput: string;
|
|
4
|
-
error: string;
|
|
5
|
-
addedNote: string;
|
|
6
|
-
onInputChange: (val: string) => void;
|
|
7
|
-
onNoteChange: (val: string) => void;
|
|
8
|
-
onAdd: () => void;
|
|
9
|
-
onClear: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare function EmailAddForm({ input, noteInput, error, addedNote, onInputChange, onNoteChange, onAdd, onClear }: EmailAddFormProps): import("react").JSX.Element;
|
|
12
|
-
export default EmailAddForm;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as EmailAddForm } from './EmailAddForm';
|
|
3
|
-
declare const meta: Meta<typeof EmailAddForm>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Empty: Story;
|
|
7
|
-
export declare const ValidEmail: Story;
|
|
8
|
-
export declare const WithError: Story;
|
|
9
|
-
export declare const WithAddedNote: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as EmailEntryItem } from './EmailEntryItem';
|
|
3
|
-
declare const meta: Meta<typeof EmailEntryItem>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithNote: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EmailEntry } from './types';
|
|
2
|
-
interface EmailEntryListProps {
|
|
3
|
-
entries: EmailEntry[];
|
|
4
|
-
onRemove: (email: string) => void;
|
|
5
|
-
}
|
|
6
|
-
declare function EmailEntryList({ entries, onRemove }: EmailEntryListProps): import("react").JSX.Element | null;
|
|
7
|
-
export default EmailEntryList;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as EmailEntryList } from './EmailEntryList';
|
|
3
|
-
declare const meta: Meta<typeof EmailEntryList>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Empty: Story;
|
|
7
|
-
export declare const SingleEntry: Story;
|
|
8
|
-
export declare const MultipleEntries: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as InviteByEmails } from './InviteByEmails';
|
|
3
|
-
declare const meta: Meta<typeof InviteByEmails>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface MessageButtonProps {
|
|
2
|
-
onSend: (content: string) => Promise<void> | void;
|
|
3
|
-
onSuccess?: () => void;
|
|
4
|
-
onError?: (error: unknown) => void;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare function MessageButton({ onSend, onSuccess, onError, disabled }: MessageButtonProps): import("react").JSX.Element;
|
|
8
|
-
export default MessageButton;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as MessageButton } from './MessageButton';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof MessageButton;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
args: {
|
|
11
|
-
onSend: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
|
-
onSuccess: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
13
|
-
onError: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default meta;
|
|
17
|
-
type Story = StoryObj<typeof meta>;
|
|
18
|
-
export declare const Default: Story;
|
|
19
|
-
export declare const Disabled: Story;
|
|
20
|
-
export declare const SendError: Story;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { default as MessageInput } from './MessageInput';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof MessageInput;
|
|
6
|
-
tags: string[];
|
|
7
|
-
args: {
|
|
8
|
-
onSend: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
type Story = StoryObj<typeof meta>;
|
|
13
|
-
export declare const Default: Story;
|
|
14
|
-
export declare const Disabled: Story;
|
|
15
|
-
export declare const CssCheck: Story;
|
package/dist/message/index.d.ts
DELETED