@1d1s/design-system 0.2.11 → 0.2.13

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.
@@ -11,6 +11,8 @@ export interface AppHeaderProps {
11
11
  activeKey?: string;
12
12
  showProfile?: boolean;
13
13
  profileImage?: string;
14
+ showBackButton?: boolean;
15
+ onBackClick?(): void;
14
16
  className?: string;
15
17
  onLogoClick?(): void;
16
18
  onNavChange?(key: string): void;
@@ -21,4 +23,4 @@ export interface AppHeaderProps {
21
23
  * AppHeader
22
24
  * 로고, 주요 네비게이션, 우측 액션 아이콘을 포함한 상단 헤더 컴포넌트.
23
25
  */
24
- export declare function AppHeader({ brandName, logo, navItems, activeKey, showProfile, profileImage, className, onLogoClick, onNavChange, onNotificationClick, onProfileClick, }: AppHeaderProps): React.ReactElement;
26
+ export declare function AppHeader({ brandName, logo, navItems, activeKey, showProfile, profileImage, showBackButton, onBackClick, className, onLogoClick, onNavChange, onNotificationClick, onProfileClick, }: AppHeaderProps): React.ReactElement;
@@ -5,4 +5,5 @@ 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 WithBackButton: Story;
8
9
  export declare const Mobile: Story;
@@ -3,14 +3,17 @@ export interface StepIndicatorItem {
3
3
  id?: string;
4
4
  label: React.ReactNode;
5
5
  }
6
+ type StepIndicatorSize = "sm" | "md" | "lg";
6
7
  export interface StepIndicatorProps {
7
8
  steps: StepIndicatorItem[];
8
9
  /** 현재 단계 (1부터 시작) */
9
10
  currentStep: number;
11
+ size?: StepIndicatorSize;
10
12
  className?: string;
11
13
  }
12
14
  /**
13
15
  * StepIndicator
14
16
  * 단계 진행 상태를 가로 라인과 원형 포인트로 표시하는 컴포넌트.
15
17
  */
16
- export declare function StepIndicator({ steps, currentStep, className, }: StepIndicatorProps): React.ReactElement;
18
+ export declare function StepIndicator({ steps, currentStep, size, className, }: StepIndicatorProps): React.ReactElement;
19
+ export {};
@@ -6,3 +6,5 @@ type Story = StoryObj<typeof StepIndicator>;
6
6
  export declare const Default: Story;
7
7
  export declare const Completed: Story;
8
8
  export declare const FirstStep: Story;
9
+ export declare const Small: Story;
10
+ export declare const Large: Story;