wafields 0.42.0 → 0.43.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,13 @@
1
+ import { CollectionType } from 'wenum';
2
+ import { ZeroFuncType } from 'waujs';
3
+ interface CollectionAvatarProps {
4
+ id: string;
5
+ name: string;
6
+ collectionTypeLabel: string;
7
+ collectionType: CollectionType;
8
+ avatarImageID?: string;
9
+ className?: string;
10
+ onClick?: ZeroFuncType;
11
+ }
12
+ declare function CollectionAvatar({ id, name, collectionTypeLabel, collectionType, avatarImageID, className, onClick }: CollectionAvatarProps): import("react").JSX.Element;
13
+ export default CollectionAvatar;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { default as CollectionAvatar } from './CollectionAvatar';
3
+ declare const meta: Meta<typeof CollectionAvatar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -1,3 +1,4 @@
1
1
  export { default as CollectionTypePicker } from './CollectionTypePicker';
2
2
  export { default as CollectionTypeTag } from './CollectionTypeTag';
3
3
  export { default as CollectionTypeTags } from './CollectionTypeTags';
4
+ export { default as CollectionAvatar } from './CollectionAvatar';
@@ -0,0 +1,13 @@
1
+ import { MarketType } from 'wenum';
2
+ import { ZeroFuncType } from 'waujs';
3
+ interface MarketAvatarProps {
4
+ id: string;
5
+ name: string;
6
+ marketTypeLabel: string;
7
+ marketType: MarketType;
8
+ avatarImageID?: string;
9
+ className?: string;
10
+ onClick?: ZeroFuncType;
11
+ }
12
+ declare function MarketAvatar({ id, name, marketTypeLabel, marketType, avatarImageID, className, onClick }: MarketAvatarProps): import("react").JSX.Element;
13
+ export default MarketAvatar;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { default as MarketAvatar } from './MarketAvatar';
3
+ declare const meta: Meta<typeof MarketAvatar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -1,3 +1,4 @@
1
1
  export { default as MarketTypePicker } from './MarketTypePicker';
2
2
  export { default as MarketTypeTag } from './MarketTypeTag';
3
3
  export { default as MarketTypeTags } from './MarketTypeTags';
4
+ export { default as MarketAvatar } from './MarketAvatar';