wafields 0.49.0 → 0.49.2

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