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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wacomm",
3
- "version": "2.23.0",
3
+ "version": "2.25.0",
4
4
  "main": "dist/wacomm.cjs.js",
5
5
  "module": "dist/wacomm.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -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,8 +0,0 @@
1
- interface EmailEntryItemProps {
2
- index: number;
3
- email: string;
4
- note: string;
5
- onRemove: () => void;
6
- }
7
- declare function EmailEntryItem({ index, email, note, onRemove }: EmailEntryItemProps): import("react").JSX.Element;
8
- export default EmailEntryItem;
@@ -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 { EmailEntry } from './types';
2
- interface InviteByEmailsProps {
3
- onInvite: (entries: EmailEntry[]) => void;
4
- }
5
- declare function InviteByEmails({ onInvite }: InviteByEmailsProps): import("react").JSX.Element;
6
- export default InviteByEmails;
@@ -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,4 +0,0 @@
1
- export type EmailEntry = {
2
- email: string;
3
- note: string;
4
- };
@@ -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,7 +0,0 @@
1
- interface MessageInputProps {
2
- onSend: (content: string) => void;
3
- disabled?: boolean;
4
- autoFocus?: boolean;
5
- }
6
- declare function MessageInput({ onSend, disabled, autoFocus }: MessageInputProps): import("react").JSX.Element;
7
- export default MessageInput;
@@ -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;
@@ -1,2 +0,0 @@
1
- export { default as MessageInput } from './MessageInput';
2
- export { default as MessageButton } from './MessageButton';