wacomm 2.11.1 → 2.12.3

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.
@@ -0,0 +1,12 @@
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-runtime").JSX.Element;
12
+ export default EmailAddForm;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
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;
@@ -0,0 +1,8 @@
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-runtime").JSX.Element;
8
+ export default EmailEntryItem;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
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;
@@ -0,0 +1,7 @@
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-runtime").JSX.Element | null;
7
+ export default EmailEntryList;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
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;
@@ -0,0 +1,6 @@
1
+ import { EmailEntry } from './types';
2
+ interface InviteByEmailsProps {
3
+ onInvite: (entries: EmailEntry[]) => void;
4
+ }
5
+ declare function InviteByEmails({ onInvite }: InviteByEmailsProps): import("react/jsx-runtime").JSX.Element;
6
+ export default InviteByEmails;
@@ -1,6 +1,6 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { default as InviteFriendByEmailButton } from './InviteFriendByEmailButton';
3
- declare const meta: Meta<typeof InviteFriendByEmailButton>;
2
+ import { default as InviteByEmails } from './InviteByEmails';
3
+ declare const meta: Meta<typeof InviteByEmails>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Default: Story;
@@ -0,0 +1,4 @@
1
+ export type EmailEntry = {
2
+ email: string;
3
+ note: string;
4
+ };
@@ -1,4 +1,4 @@
1
- import { g as qT } from "./index-Ca5lpkNQ.mjs";
1
+ import { g as qT } from "./index-c6q1So03.mjs";
2
2
  function $T(Cu, gm) {
3
3
  for (var Io = 0; Io < gm.length; Io++) {
4
4
  const gs = gm[Io];