@1d1s/design-system 0.2.16 → 0.2.18

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.
@@ -9,6 +9,8 @@ export interface ChallengeCardProps {
9
9
  maxUserCount: number;
10
10
  startDate: string;
11
11
  endDate: string;
12
+ isInfiniteChallenge?: boolean;
13
+ isEarlyEnded?: boolean;
12
14
  isOngoing: boolean;
13
15
  isEnded?: boolean;
14
16
  className?: string;
@@ -18,4 +20,4 @@ export interface ChallengeCardProps {
18
20
  * ChallengeCard
19
21
  * 챌린지 카드 컴포넌트 - 제목, 유형, 참여자 수, 기간, 상태(진행중/모집중/종료됨) 표시
20
22
  */
21
- export declare function ChallengeCard({ challengeTitle, challengeType, challengeCategory, imageUrl, currentUserCount, maxUserCount, startDate, endDate, isOngoing, isEnded, className, onClick, }: ChallengeCardProps): React.ReactElement;
23
+ export declare function ChallengeCard({ challengeTitle, challengeType, challengeCategory, imageUrl, currentUserCount, maxUserCount, startDate, endDate, isInfiniteChallenge, isEarlyEnded, isOngoing, isEnded, className, onClick, }: ChallengeCardProps): React.ReactElement;
@@ -9,5 +9,7 @@ export declare const Recruiting: Story;
9
9
  export declare const IndividualParticipant: Story;
10
10
  export declare const GroupParticipantCount: Story;
11
11
  export declare const Ended: Story;
12
+ export declare const LongTitle: Story;
13
+ export declare const InfiniteChallenge: Story;
12
14
  export declare const Grid3x2: Story;
13
15
  export declare const ChallengeIcons: Story;
@@ -9,9 +9,11 @@ export interface ChallengeListItemProps {
9
9
  maxUserCount: number;
10
10
  startDate: string;
11
11
  endDate: string;
12
+ isInfiniteChallenge?: boolean;
13
+ isEarlyEnded?: boolean;
12
14
  isOngoing: boolean;
13
15
  isEnded?: boolean;
14
16
  className?: string;
15
17
  onClick?(): void;
16
18
  }
17
- export declare function ChallengeListItem({ challengeTitle, challengeType, challengeCategory, challengeIcon, imageUrl, currentUserCount, maxUserCount, startDate, endDate, isOngoing, isEnded, className, onClick, }: ChallengeListItemProps): React.ReactElement;
19
+ export declare function ChallengeListItem({ challengeTitle, challengeType, challengeCategory, imageUrl, currentUserCount, maxUserCount, startDate, endDate, isInfiniteChallenge, isEarlyEnded, isOngoing, isEnded, className, onClick, }: ChallengeListItemProps): React.ReactElement;
@@ -6,6 +6,7 @@ type Story = StoryObj<typeof ChallengeListItem>;
6
6
  export declare const Ongoing: Story;
7
7
  export declare const Recruiting: Story;
8
8
  export declare const Ended: Story;
9
+ export declare const InfiniteChallenge: Story;
9
10
  export declare const Individual: Story;
10
11
  export declare const WithImage: Story;
11
12
  export declare const Mobile: Story;