@1d1s/design-system 0.2.22 → 0.2.24

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.
@@ -13,9 +13,11 @@ export interface DiaryCardProps {
13
13
  challengeLabel: string;
14
14
  totalMemberCount?: number;
15
15
  onChallengeClick?(): void;
16
+ /** 프로필(아바타 + 이름) 클릭 시 호출되는 콜백. 지정하면 프로필 영역이 클릭 가능해집니다. */
17
+ onUserClick?(): void;
16
18
  date: string;
17
19
  emotion: Emotion;
18
20
  onClick?(): void;
19
21
  }
20
- export declare function DiaryCard({ imageUrl, percent, likes, isLiked: isLikedProp, defaultLiked, onLikeToggle, title, user, userImage, challengeLabel, totalMemberCount, onChallengeClick, date, emotion, onClick, }: DiaryCardProps): React.ReactElement;
22
+ export declare function DiaryCard({ imageUrl, percent, likes, isLiked: isLikedProp, defaultLiked, onLikeToggle, title, user, userImage, challengeLabel, totalMemberCount, onChallengeClick, onUserClick, date, emotion, onClick, }: DiaryCardProps): React.ReactElement;
21
23
  export {};
@@ -5,4 +5,5 @@ export default meta;
5
5
  type Story = StoryObj<typeof DiaryCard>;
6
6
  export declare const Default: Story;
7
7
  export declare const Mobile: Story;
8
+ export declare const WithUserClick: Story;
8
9
  export declare const ControlledLike: Story;