@1d1s/design-system 0.2.7 → 0.2.8

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.
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<typeof AppHeader>;
6
6
  export declare const WithProfile: Story;
7
7
  export declare const WithoutProfile: Story;
8
+ export declare const Mobile: Story;
@@ -26,6 +26,7 @@ export interface RightSidebarProps {
26
26
  joinChallengeButtonLabel?: string;
27
27
  joinChallengeMaxUserCount?: number;
28
28
  createChallengeButtonLabel?: string;
29
+ collapsible?: boolean;
29
30
  onCollapseClick?(): void;
30
31
  onOpenSettings?(): void;
31
32
  onWriteDiary?(): void;
@@ -34,5 +35,5 @@ export interface RightSidebarProps {
34
35
  onJoinChallenge?(): void;
35
36
  onCreateChallenge?(): void;
36
37
  }
37
- export declare function RightSidebar({ isLoggedIn, userName, userSubtitle, userImage, streakDays, fixed, className, diaryButtonLabel, myPageButtonLabel, loginButtonLabel, loginPromptMessage, settingButtonLabel, challengeTitle, challenges, emptyChallengeMessage, joinChallengeButtonLabel, joinChallengeMaxUserCount, createChallengeButtonLabel, onCollapseClick, onOpenSettings, onWriteDiary, onGoMyPage, onLogin, onJoinChallenge, onCreateChallenge, }: RightSidebarProps): React.ReactElement;
38
+ 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, }: RightSidebarProps): React.ReactElement;
38
39
  export {};
@@ -6,4 +6,5 @@ type Story = StoryObj<typeof RightSidebar>;
6
6
  export declare const Default: Story;
7
7
  export declare const LoggedOut: Story;
8
8
  export declare const EmptyChallenges: Story;
9
+ export declare const NotCollapsible: Story;
9
10
  export declare const EmptyChallengesJoinDisabled: Story;