@1d1s/design-system 0.2.14 → 0.2.16
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,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;
|