wafields 0.48.0 → 0.49.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.
@@ -0,0 +1,8 @@
1
+ import { ZeroFuncType } from 'waujs';
2
+ interface MoreActionsProps {
3
+ onEdit: ZeroFuncType;
4
+ onDelete: ZeroFuncType;
5
+ className?: string;
6
+ }
7
+ declare function MoreActions({ onEdit, onDelete, className }: MoreActionsProps): import("react").JSX.Element;
8
+ export default MoreActions;
@@ -2,6 +2,7 @@ export { default as BuddiesNearbyLogo } from './logo/BuddiesNearbyLogo';
2
2
  export { default as PlayerTag } from './PlayerTag';
3
3
  export { default as PasswordRequirement } from './PasswordRequirement';
4
4
  export { default as EditedLabel } from './EditedLabel';
5
+ export { default as MoreActions } from './MoreActions';
5
6
  export { default as InviteByEmails } from './inviteByEmails/InviteByEmails';
6
7
  export type { EmailEntry } from './inviteByEmails/types';
7
8
  export * from './message';
@@ -1,11 +1,11 @@
1
1
  import { ZeroFuncType } from 'waujs';
2
2
  import { ContentViolationOption } from 'wenum';
3
- interface MoreActionsProps {
3
+ interface MoreActionsOnContentProps {
4
4
  onReport: (option: ContentViolationOption, note?: string) => void;
5
5
  onBlock: ZeroFuncType;
6
6
  username?: string;
7
7
  notePlaceholder?: string;
8
8
  className?: string;
9
9
  }
10
- declare function MoreActions({ onReport, onBlock, username, notePlaceholder, className }: MoreActionsProps): import("react").JSX.Element;
11
- export default MoreActions;
10
+ declare function MoreActionsOnContent({ onReport, onBlock, username, notePlaceholder, className }: MoreActionsOnContentProps): import("react").JSX.Element;
11
+ export default MoreActionsOnContent;
@@ -1,6 +1,6 @@
1
1
  import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { default as MoreActions } from './MoreActions';
3
- declare const meta: Meta<typeof MoreActions>;
2
+ import { default as MoreActionsOnContent } from './MoreActionsOnContent';
3
+ declare const meta: Meta<typeof MoreActionsOnContent>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
6
  export declare const Default: Story;
@@ -1 +1 @@
1
- export { default as MoreActions } from './MoreActions';
1
+ export { default as MoreActionsOnContent } from './MoreActionsOnContent';