@1d1s/design-system 0.2.15 → 0.2.17
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.
- package/dist/components/ChallengeCard/ChallengeCard.d.ts +3 -1
- package/dist/components/ChallengeCard/ChallengeCard.stories.d.ts +1 -0
- package/dist/components/ChallengeListItem/ChallengeListItem.d.ts +3 -1
- package/dist/components/ChallengeListItem/ChallengeListItem.stories.d.ts +1 -0
- package/dist/components/RightSidebar/RightSidebar.d.ts +2 -1
- package/dist/components/RightSidebar/RightSidebar.stories.d.ts +4 -1
- package/dist/index.es.js +3160 -3040
- package/dist/index.umd.js +12 -12
- package/package.json +1 -1
|
@@ -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,6 @@ 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 InfiniteChallenge: Story;
|
|
12
13
|
export declare const Grid3x2: Story;
|
|
13
14
|
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,
|
|
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;
|
|
@@ -9,6 +9,7 @@ export interface RightSidebarChallenge {
|
|
|
9
9
|
}
|
|
10
10
|
export interface RightSidebarProps {
|
|
11
11
|
isLoggedIn?: boolean;
|
|
12
|
+
isLoading?: boolean;
|
|
12
13
|
userName?: string;
|
|
13
14
|
userSubtitle?: string;
|
|
14
15
|
userImage?: string;
|
|
@@ -36,5 +37,5 @@ export interface RightSidebarProps {
|
|
|
36
37
|
onCreateChallenge?(): void;
|
|
37
38
|
onChallengeClick?(challenge: RightSidebarChallenge): void;
|
|
38
39
|
}
|
|
39
|
-
export declare function RightSidebar({ isLoggedIn, userName, userSubtitle, userImage, streakDays, fixed, collapsible, className, diaryButtonLabel, myPageButtonLabel, loginButtonLabel, loginPromptMessage, settingButtonLabel, challengeTitle, challenges, emptyChallengeMessage, joinChallengeButtonLabel, joinChallengeMaxUserCount, createChallengeButtonLabel, onCollapseClick, onOpenSettings, onWriteDiary, onGoMyPage, onLogin, onJoinChallenge, onCreateChallenge, onChallengeClick, }: RightSidebarProps): React.ReactElement;
|
|
40
|
+
export declare function RightSidebar({ isLoggedIn, isLoading, userName, userSubtitle, userImage, streakDays, fixed, collapsible, className, diaryButtonLabel, myPageButtonLabel, loginButtonLabel, loginPromptMessage, settingButtonLabel, challengeTitle, challenges, emptyChallengeMessage, joinChallengeButtonLabel, joinChallengeMaxUserCount, createChallengeButtonLabel, onCollapseClick, onOpenSettings, onWriteDiary, onGoMyPage, onLogin, onJoinChallenge, onCreateChallenge, onChallengeClick, }: RightSidebarProps): React.ReactElement;
|
|
40
41
|
export {};
|
|
@@ -8,4 +8,7 @@ export declare const LoggedOut: Story;
|
|
|
8
8
|
export declare const EmptyChallenges: Story;
|
|
9
9
|
export declare const NotCollapsible: Story;
|
|
10
10
|
export declare const Mobile: Story;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const EmptyChallengesJoinEnabled: Story;
|
|
12
|
+
export declare const Loading: Story;
|
|
13
|
+
export declare const LoadingLoggedOut: Story;
|
|
14
|
+
export declare const LoadingToLoadedTransition: Story;
|