@1d1s/design-system 0.2.13 → 0.2.15

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,11 @@ export default meta;
5
5
  type Story = StoryObj<typeof Calendar>;
6
6
  export declare const Default: Story;
7
7
  export declare const Range: Story;
8
+ /** 오늘로부터 N일 이전/이후만 클릭 가능 */
9
+ export declare const DisabledOutsideRange: Story;
10
+ /** 오늘 이후 날짜만 클릭 가능 (과거 비활성화) */
11
+ export declare const DisabledPastDays: Story;
12
+ /** 오늘 이전 날짜만 클릭 가능 (미래 비활성화) */
13
+ export declare const DisabledFutureDays: Story;
14
+ /** 특정 날짜 범위만 클릭 가능 */
15
+ export declare const DisabledWithCustomMatcher: Story;
@@ -34,6 +34,7 @@ export interface RightSidebarProps {
34
34
  onLogin?(): void;
35
35
  onJoinChallenge?(): void;
36
36
  onCreateChallenge?(): void;
37
+ onChallengeClick?(challenge: RightSidebarChallenge): void;
37
38
  }
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;
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;
39
40
  export {};