wacomm 1.97.2 → 1.98.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,7 @@
1
+ import { ZeroFuncType } from 'waujs';
2
+ export interface ShowMoreProps {
3
+ onClick?: ZeroFuncType;
4
+ className?: string;
5
+ }
6
+ declare function ShowMore({ onClick, className }: ShowMoreProps): import("react/jsx-runtime").JSX.Element;
7
+ export default ShowMore;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as ShowMore } from './ShowMore';
3
+ declare const meta: Meta<typeof ShowMore>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { ZeroFuncType } from 'waujs';
2
+ interface AvatarTimeTagProps {
3
+ name: string;
4
+ timestamp: number;
5
+ onClick?: ZeroFuncType;
6
+ className?: string;
7
+ avatarClassName?: string;
8
+ imgSrc?: string;
9
+ }
10
+ declare function AvatarTimeTag({ name, timestamp, onClick, className, avatarClassName, imgSrc }: AvatarTimeTagProps): import("react/jsx-runtime").JSX.Element;
11
+ export default AvatarTimeTag;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as AvatarTimeTag } from './AvatarTimeTag';
3
+ declare const meta: Meta<typeof AvatarTimeTag>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithAvatar: Story;
@@ -1,2 +1,3 @@
1
1
  export { default as Avatar } from './Avatar';
2
2
  export { default as AvatarTag } from './AvatarTag';
3
+ export { default as AvatarTimeTag } from './AvatarTimeTag';
@@ -1,11 +1,11 @@
1
- export interface ImageSrcProps {
1
+ export interface SmartImageSrcProps {
2
2
  src: string;
3
3
  fallbackSrc: string;
4
4
  }
5
5
  interface ImageGridProps {
6
6
  onSelect: (index: number) => void;
7
- selectedSrc: ImageSrcProps | null;
8
- srcs: ImageSrcProps[];
7
+ selectedSrc: SmartImageSrcProps | null;
8
+ srcs: SmartImageSrcProps[];
9
9
  className?: string;
10
10
  isMobile?: boolean;
11
11
  }
@@ -1,2 +1,2 @@
1
1
  export { default as ImageGrid } from './ImageGrid';
2
- export type { ImageSrcProps } from './ImageGrid';
2
+ export type { SmartImageSrcProps } from './ImageGrid';