@1d1s/design-system 1.2.4 → 1.2.5
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/ScheduleCalendar/ScheduleCalendar.d.ts +2 -0
- package/dist/components/StatCard/StatCard.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/index.d.ts +0 -2
- package/dist/index.es.js +4080 -4738
- package/dist/index.umd.js +13 -13
- package/package.json +1 -1
- package/dist/components/AppHeader/AppHeader.d.ts +0 -26
- package/dist/components/AppHeader/AppHeader.stories.d.ts +0 -9
- package/dist/components/AppHeader/index.d.ts +0 -1
- package/dist/components/RightSidebar/RightSidebar.d.ts +0 -41
- package/dist/components/RightSidebar/RightSidebar.stories.d.ts +0 -14
- package/dist/components/RightSidebar/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface AppHeaderNavItem {
|
|
3
|
-
key: string;
|
|
4
|
-
label: React.ReactNode;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface AppHeaderProps {
|
|
8
|
-
brandName?: string;
|
|
9
|
-
logo?: React.ReactNode;
|
|
10
|
-
navItems?: AppHeaderNavItem[];
|
|
11
|
-
activeKey?: string;
|
|
12
|
-
showProfile?: boolean;
|
|
13
|
-
profileImage?: string;
|
|
14
|
-
showBackButton?: boolean;
|
|
15
|
-
onBackClick?(): void;
|
|
16
|
-
className?: string;
|
|
17
|
-
onLogoClick?(): void;
|
|
18
|
-
onNavChange?(key: string): void;
|
|
19
|
-
onNotificationClick?(): void;
|
|
20
|
-
onProfileClick?(): void;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* AppHeader
|
|
24
|
-
* 로고, 주요 네비게이션, 우측 액션 아이콘을 포함한 상단 헤더 컴포넌트.
|
|
25
|
-
*/
|
|
26
|
-
export declare function AppHeader({ brandName, logo, navItems, activeKey, showProfile, profileImage, showBackButton, onBackClick, className, onLogoClick, onNavChange, onNotificationClick, onProfileClick, }: AppHeaderProps): React.ReactElement;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { AppHeader } from './AppHeader';
|
|
3
|
-
declare const meta: Meta<typeof AppHeader>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof AppHeader>;
|
|
6
|
-
export declare const WithProfile: Story;
|
|
7
|
-
export declare const WithoutProfile: Story;
|
|
8
|
-
export declare const WithBackButton: Story;
|
|
9
|
-
export declare const Mobile: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AppHeader';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type RightSidebarProgressTone = "blue" | "green" | "orange";
|
|
3
|
-
export interface RightSidebarChallenge {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
progress: number;
|
|
7
|
-
hasDeadline?: boolean;
|
|
8
|
-
tone?: RightSidebarProgressTone;
|
|
9
|
-
}
|
|
10
|
-
export interface RightSidebarProps {
|
|
11
|
-
isLoggedIn?: boolean;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
userName?: string;
|
|
14
|
-
userSubtitle?: string;
|
|
15
|
-
userImage?: string;
|
|
16
|
-
streakDays: number;
|
|
17
|
-
fixed?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
diaryButtonLabel?: string;
|
|
20
|
-
myPageButtonLabel?: string;
|
|
21
|
-
loginButtonLabel?: string;
|
|
22
|
-
loginPromptMessage?: string;
|
|
23
|
-
settingButtonLabel?: string;
|
|
24
|
-
challengeTitle?: string;
|
|
25
|
-
challenges?: RightSidebarChallenge[];
|
|
26
|
-
emptyChallengeMessage?: string;
|
|
27
|
-
joinChallengeButtonLabel?: string;
|
|
28
|
-
joinChallengeMaxUserCount?: number;
|
|
29
|
-
createChallengeButtonLabel?: string;
|
|
30
|
-
collapsible?: boolean;
|
|
31
|
-
onCollapseClick?(): void;
|
|
32
|
-
onOpenSettings?(): void;
|
|
33
|
-
onWriteDiary?(): void;
|
|
34
|
-
onGoMyPage?(): void;
|
|
35
|
-
onLogin?(): void;
|
|
36
|
-
onJoinChallenge?(): void;
|
|
37
|
-
onCreateChallenge?(): void;
|
|
38
|
-
onChallengeClick?(challenge: RightSidebarChallenge): void;
|
|
39
|
-
}
|
|
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;
|
|
41
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { RightSidebar } from './RightSidebar';
|
|
3
|
-
declare const meta: Meta<typeof RightSidebar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof RightSidebar>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const LoggedOut: Story;
|
|
8
|
-
export declare const EmptyChallenges: Story;
|
|
9
|
-
export declare const NotCollapsible: Story;
|
|
10
|
-
export declare const Mobile: Story;
|
|
11
|
-
export declare const EmptyChallengesJoinEnabled: Story;
|
|
12
|
-
export declare const Loading: Story;
|
|
13
|
-
export declare const LoadingLoggedOut: Story;
|
|
14
|
-
export declare const LoadingToLoadedTransition: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './RightSidebar';
|