@1d1s/design-system 0.2.0 → 0.2.2

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.
Files changed (65) hide show
  1. package/dist/components/AppHeader/AppHeader.d.ts +2 -2
  2. package/dist/components/AppHeader/AppHeader.stories.d.ts +2 -1
  3. package/dist/components/BannerCarousel/BannerCarousel.d.ts +41 -0
  4. package/dist/components/BannerCarousel/BannerCarousel.stories.d.ts +9 -0
  5. package/dist/components/BannerCarousel/index.d.ts +1 -0
  6. package/dist/components/Calendar/Calendar.stories.d.ts +1 -0
  7. package/dist/components/GoalAddList/GoalAddList.d.ts +15 -0
  8. package/dist/components/GoalAddList/GoalAddList.stories.d.ts +7 -0
  9. package/dist/components/GoalAddList/index.d.ts +1 -0
  10. package/dist/components/Icons/Bell.d.ts +2 -0
  11. package/dist/components/Icons/BookOpen.d.ts +2 -0
  12. package/dist/components/Icons/Check.d.ts +1 -1
  13. package/dist/components/Icons/Code2.d.ts +2 -0
  14. package/dist/components/Icons/Dumbbell.d.ts +2 -0
  15. package/dist/components/Icons/Flag.d.ts +2 -0
  16. package/dist/components/Icons/Flame.d.ts +2 -0
  17. package/dist/components/Icons/Icon.d.ts +52 -0
  18. package/dist/components/Icons/Laptop.d.ts +2 -0
  19. package/dist/components/Icons/LogIn.d.ts +2 -0
  20. package/dist/components/Icons/Palette.d.ts +2 -0
  21. package/dist/components/Icons/PencilLine.d.ts +2 -0
  22. package/dist/components/Icons/Plane.d.ts +2 -0
  23. package/dist/components/Icons/ProgressRing.d.ts +10 -0
  24. package/dist/components/Icons/Salad.d.ts +2 -0
  25. package/dist/components/Icons/Settings.d.ts +2 -0
  26. package/dist/components/Icons/Target.d.ts +2 -0
  27. package/dist/components/Icons/Trophy.d.ts +2 -0
  28. package/dist/components/Icons/index.d.ts +17 -6
  29. package/dist/components/ProgressBar/ProgressBar.d.ts +21 -0
  30. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +11 -0
  31. package/dist/components/ProgressBar/index.d.ts +1 -0
  32. package/dist/components/RightSidebar/RightSidebar.d.ts +9 -5
  33. package/dist/components/RightSidebar/RightSidebar.stories.d.ts +1 -0
  34. package/dist/components/StatContainer/StatContainer.d.ts +4 -2
  35. package/dist/components/Tag/Tag.d.ts +3 -2
  36. package/dist/components/UserListItem/UserListItem.d.ts +3 -3
  37. package/dist/components/index.d.ts +5 -6
  38. package/dist/index.es.js +4484 -4017
  39. package/dist/index.umd.js +12 -12
  40. package/package.json +1 -1
  41. package/dist/components/Footer/Footer.d.ts +0 -8
  42. package/dist/components/Footer/Footer.stories.d.ts +0 -6
  43. package/dist/components/Footer/index.d.ts +0 -1
  44. package/dist/components/Icons/ChallengeDumbbell.d.ts +0 -2
  45. package/dist/components/Icons/ChallengeFlag.d.ts +0 -2
  46. package/dist/components/Icons/ChallengeFlame.d.ts +0 -2
  47. package/dist/components/Icons/ChallengeLaptop.d.ts +0 -2
  48. package/dist/components/Icons/ChallengeTarget.d.ts +0 -2
  49. package/dist/components/Icons/ChallengeTrophy.d.ts +0 -2
  50. package/dist/components/PageBackground/PageBackground.d.ts +0 -15
  51. package/dist/components/PageBackground/PageBackground.stories.d.ts +0 -6
  52. package/dist/components/PageBackground/index.d.ts +0 -1
  53. package/dist/components/PageTitle/PageTitle.d.ts +0 -29
  54. package/dist/components/PageTitle/PageTitle.stories.d.ts +0 -7
  55. package/dist/components/PageTitle/index.d.ts +0 -1
  56. package/dist/components/ProfileCard/ProfileCard.d.ts +0 -6
  57. package/dist/components/ProfileCard/ProfileCard.stories.d.ts +0 -7
  58. package/dist/components/ProfileCard/index.d.ts +0 -1
  59. package/dist/components/Spacing/Spacing.d.ts +0 -12
  60. package/dist/components/Spacing/Spacing.stories.d.ts +0 -6
  61. package/dist/components/Spacing/index.d.ts +0 -1
  62. package/dist/components/ToggleCheck/ToggleCheck.d.ts +0 -15
  63. package/dist/components/ToggleCheck/ToggleCheck.stories.d.ts +0 -7
  64. package/dist/components/ToggleCheck/index.d.ts +0 -1
  65. package/dist/components/Ui/Button.d.ts +0 -11
@@ -9,11 +9,11 @@ export interface AppHeaderProps {
9
9
  logo?: React.ReactNode;
10
10
  navItems?: AppHeaderNavItem[];
11
11
  activeKey?: string;
12
+ showProfile?: boolean;
12
13
  profileImage?: string;
13
14
  className?: string;
14
15
  onLogoClick?(): void;
15
16
  onNavChange?(key: string): void;
16
- onSearchClick?(): void;
17
17
  onNotificationClick?(): void;
18
18
  onProfileClick?(): void;
19
19
  }
@@ -21,4 +21,4 @@ export interface AppHeaderProps {
21
21
  * AppHeader
22
22
  * 로고, 주요 네비게이션, 우측 액션 아이콘을 포함한 상단 헤더 컴포넌트.
23
23
  */
24
- export declare function AppHeader({ brandName, logo, navItems, activeKey, profileImage, className, onLogoClick, onNavChange, onSearchClick, onNotificationClick, onProfileClick, }: AppHeaderProps): React.ReactElement;
24
+ export declare function AppHeader({ brandName, logo, navItems, activeKey, showProfile, profileImage, className, onLogoClick, onNavChange, onNotificationClick, onProfileClick, }: AppHeaderProps): React.ReactElement;
@@ -3,4 +3,5 @@ import { AppHeader } from './AppHeader';
3
3
  declare const meta: Meta<typeof AppHeader>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof AppHeader>;
6
- export declare const Default: Story;
6
+ export declare const WithProfile: Story;
7
+ export declare const WithoutProfile: Story;
@@ -0,0 +1,41 @@
1
+ import { default as React } from 'react';
2
+ export interface BannerCarouselItem {
3
+ id?: string | number;
4
+ type: string;
5
+ title: string;
6
+ subtitle: string;
7
+ backgroundImageUrl?: string;
8
+ /** @deprecated `backgroundImageUrl`을 사용하세요. */
9
+ backgroundImage?: string;
10
+ }
11
+ export interface BannerTrackingPayload {
12
+ event: "impression" | "click" | "change";
13
+ componentId?: string;
14
+ bannerId: string;
15
+ bannerIndex: number;
16
+ bannerType: string;
17
+ bannerTitle: string;
18
+ bannerSubtitle: string;
19
+ timestamp: number;
20
+ }
21
+ export interface BannerCarouselProps extends React.HTMLAttributes<HTMLDivElement> {
22
+ items: BannerCarouselItem[];
23
+ autoSlideIntervalMs?: number;
24
+ initialIndex?: number;
25
+ enableLoop?: boolean;
26
+ showIndicators?: boolean;
27
+ aspectRatioClassName?: string;
28
+ componentId?: string;
29
+ enableDataLayerTracking?: boolean;
30
+ impressionMode?: "once" | "always";
31
+ onBannerClick?(payload: BannerTrackingPayload): void;
32
+ onBannerImpression?(payload: BannerTrackingPayload): void;
33
+ onBannerChange?(payload: BannerTrackingPayload): void;
34
+ onItemClick?(item: BannerCarouselItem, index: number): void;
35
+ }
36
+ /**
37
+ * BannerCarousel
38
+ * 메인 배너 슬라이더 컴포넌트. 자동 슬라이드, 무한 루프, 인디케이터를 지원하며
39
+ * 클릭/노출 추적 콜백 및 dataLayer 이벤트 전송 포인트를 제공합니다.
40
+ */
41
+ export declare function BannerCarousel({ items, autoSlideIntervalMs, initialIndex, enableLoop, showIndicators, aspectRatioClassName, componentId, enableDataLayerTracking, impressionMode, onBannerClick, onBannerImpression, onBannerChange, onItemClick, className, ...props }: BannerCarouselProps): React.ReactElement | null;
@@ -0,0 +1,9 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BannerCarousel } from './BannerCarousel';
3
+ declare const meta: Meta<typeof BannerCarousel>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof BannerCarousel>;
6
+ export declare const Default: Story;
7
+ export declare const ImageBackground: Story;
8
+ export declare const NoAutoSlide: Story;
9
+ export declare const NoIndicators: Story;
@@ -0,0 +1 @@
1
+ export * from './BannerCarousel';
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof Calendar>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Calendar>;
6
6
  export declare const Default: Story;
7
+ export declare const Range: Story;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ export interface GoalAddListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
3
+ goals?: string[];
4
+ defaultGoals?: string[];
5
+ onGoalsChange?(goals: string[]): void;
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ addOnBlur?: boolean;
9
+ inputAriaLabel?: string;
10
+ }
11
+ /**
12
+ * GoalAddList
13
+ * 목표 문자열 목록을 보여주고 하단 입력창에서 Enter로 새 목표를 추가하는 컴포넌트.
14
+ */
15
+ export declare function GoalAddList({ goals, defaultGoals, onGoalsChange, placeholder, disabled, addOnBlur, inputAriaLabel, className, ...props }: GoalAddListProps): React.ReactElement;
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { GoalAddList } from './GoalAddList';
3
+ declare const meta: Meta<typeof GoalAddList>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof GoalAddList>;
6
+ export declare const Default: Story;
7
+ export declare const Controlled: Story;
@@ -0,0 +1 @@
1
+ export * from './GoalAddList';
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Bell: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const BookOpen: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { default as React } from 'react';
2
- export declare const Check: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Check: ({ strokeWidth, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Code2: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Dumbbell: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Flag: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Flame: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,52 @@
1
+ import { default as React } from 'react';
2
+ declare const iconComponents: {
3
+ readonly AddCircle: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
4
+ readonly Bell: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
5
+ readonly BookOpen: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
6
+ readonly Calendar: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
7
+ readonly Check: ({ strokeWidth, ...props }: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
8
+ readonly Code2: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
9
+ readonly Chevron: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
10
+ readonly ChevronDown: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
11
+ readonly ChevronLeft: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
12
+ readonly ChevronRight: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
13
+ readonly ChevronUp: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
14
+ readonly Close: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
15
+ readonly Dumbbell: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
16
+ readonly Endless: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
17
+ readonly Eye: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
18
+ readonly EyeOff: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
19
+ readonly Flag: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
20
+ readonly Flame: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
21
+ readonly HamburgerMenu: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
22
+ readonly Heart: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
23
+ readonly HeartFilled: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
24
+ readonly Laptop: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
25
+ readonly LogIn: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
26
+ readonly Logo: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
27
+ readonly Minus: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
28
+ readonly Palette: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
29
+ readonly People: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
30
+ readonly PencilLine: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
31
+ readonly Person: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
32
+ readonly Pin: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
33
+ readonly Plane: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
34
+ readonly Plus: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
35
+ readonly Salad: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
36
+ readonly Search: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
37
+ readonly Settings: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
38
+ readonly Target: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
39
+ readonly Trophy: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
40
+ };
41
+ export type IconName = keyof typeof iconComponents;
42
+ export declare const ICON_NAMES: IconName[];
43
+ export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, "name"> {
44
+ name: IconName;
45
+ size?: number | string;
46
+ }
47
+ /**
48
+ * Icon
49
+ * name 기반으로 프로젝트 아이콘을 렌더링하는 공통 아이콘 컴포넌트.
50
+ */
51
+ export declare function Icon({ name, size, width, height, ...props }: IconProps): React.ReactElement;
52
+ export {};
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Laptop: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const LogIn: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Palette: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const PencilLine: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Plane: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ export interface ProgressRingProps {
3
+ baseSize: number;
4
+ radius: number;
5
+ strokeWidth: number;
6
+ circumference: number;
7
+ dashOffset: number;
8
+ className?: string;
9
+ }
10
+ export declare function ProgressRing({ baseSize, radius, strokeWidth, circumference, dashOffset, className, }: ProgressRingProps): React.ReactElement;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Salad: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Settings: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Target: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Trophy: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,22 @@
1
1
  export * from './AddCircle';
2
+ export * from './Bell';
3
+ export * from './BookOpen';
2
4
  export * from './Calendar';
3
- export * from './ChallengeDumbbell';
4
- export * from './ChallengeFlag';
5
- export * from './ChallengeFlame';
6
- export * from './ChallengeLaptop';
7
- export * from './ChallengeTarget';
8
- export * from './ChallengeTrophy';
5
+ export * from './Dumbbell';
6
+ export * from './Flag';
7
+ export * from './Flame';
8
+ export * from './Code2';
9
+ export * from './Icon';
10
+ export * from './Laptop';
11
+ export * from './LogIn';
12
+ export * from './Palette';
13
+ export * from './PencilLine';
14
+ export * from './Plane';
15
+ export * from './ProgressRing';
16
+ export * from './Salad';
17
+ export * from './Settings';
18
+ export * from './Target';
19
+ export * from './Trophy';
9
20
  export * from './Check';
10
21
  export * from './Chevron';
11
22
  export * from './ChevronDown';
@@ -0,0 +1,21 @@
1
+ import { default as React } from 'react';
2
+ export interface ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
3
+ value: number;
4
+ label?: React.ReactNode;
5
+ showLabel?: boolean;
6
+ showValueText?: boolean;
7
+ valueText?: React.ReactNode;
8
+ infinite?: boolean;
9
+ thickness?: number;
10
+ fillColor?: string;
11
+ trackColor?: string;
12
+ labelClassName?: string;
13
+ valueClassName?: string;
14
+ trackClassName?: string;
15
+ fillClassName?: string;
16
+ }
17
+ /**
18
+ * ProgressBar
19
+ * 라벨/퍼센트 텍스트/두께/색상을 유연하게 제어할 수 있는 진행률 바 컴포넌트.
20
+ */
21
+ export declare function ProgressBar({ value, label, showLabel, showValueText, valueText, infinite, thickness, fillColor, trackColor, className, labelClassName, valueClassName, trackClassName, fillClassName, ...props }: ProgressBarProps): React.ReactElement;
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { ProgressBar } from './ProgressBar';
3
+ declare const meta: Meta<typeof ProgressBar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ProgressBar>;
6
+ export declare const Default: Story;
7
+ export declare const WithoutLabel: Story;
8
+ export declare const WithoutValueText: Story;
9
+ export declare const CustomThickness: Story;
10
+ export declare const CustomColor: Story;
11
+ export declare const Infinite: Story;
@@ -0,0 +1 @@
1
+ export * from './ProgressBar';
@@ -1,21 +1,24 @@
1
1
  import { default as React } from 'react';
2
- type ChallengeTone = "blue" | "green" | "orange";
2
+ type RightSidebarProgressTone = "blue" | "green" | "orange";
3
3
  export interface RightSidebarChallenge {
4
4
  id: string;
5
5
  title: string;
6
6
  progress: number;
7
7
  hasDeadline?: boolean;
8
- tone?: ChallengeTone;
8
+ tone?: RightSidebarProgressTone;
9
9
  }
10
10
  export interface RightSidebarProps {
11
- userName: string;
12
- userHandle: string;
11
+ isLoggedIn?: boolean;
12
+ userName?: string;
13
+ userHandle?: string;
13
14
  userImage?: string;
14
15
  streakDays: number;
15
16
  fixed?: boolean;
16
17
  className?: string;
17
18
  diaryButtonLabel?: string;
18
19
  myPageButtonLabel?: string;
20
+ loginButtonLabel?: string;
21
+ loginPromptMessage?: string;
19
22
  settingButtonLabel?: string;
20
23
  challengeTitle?: string;
21
24
  challenges?: RightSidebarChallenge[];
@@ -23,6 +26,7 @@ export interface RightSidebarProps {
23
26
  onOpenSettings?(): void;
24
27
  onWriteDiary?(): void;
25
28
  onGoMyPage?(): void;
29
+ onLogin?(): void;
26
30
  }
27
- export declare function RightSidebar({ userName, userHandle, userImage, streakDays, fixed, className, diaryButtonLabel, myPageButtonLabel, settingButtonLabel, challengeTitle, challenges, onCollapseClick, onOpenSettings, onWriteDiary, onGoMyPage, }: RightSidebarProps): React.ReactElement;
31
+ export declare function RightSidebar({ isLoggedIn, userName, userHandle, userImage, streakDays, fixed, className, diaryButtonLabel, myPageButtonLabel, loginButtonLabel, loginPromptMessage, settingButtonLabel, challengeTitle, challenges, onCollapseClick, onOpenSettings, onWriteDiary, onGoMyPage, onLogin, }: RightSidebarProps): React.ReactElement;
28
32
  export {};
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof RightSidebar>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof RightSidebar>;
6
6
  export declare const Default: Story;
7
+ export declare const LoggedOut: Story;
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
+ import { IconName } from '../Icons/Icon';
2
3
  export interface StatContainerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
3
- icon: React.ReactNode;
4
+ icon?: React.ReactNode;
5
+ iconName?: IconName;
4
6
  title: React.ReactNode;
5
7
  value: React.ReactNode;
6
8
  unit: React.ReactNode;
@@ -10,4 +12,4 @@ export interface StatContainerProps extends Omit<React.HTMLAttributes<HTMLDivEle
10
12
  * StatContainer
11
13
  * 아이콘, 제목, 데이터, 단위를 표시하는 정보 카드 컴포넌트
12
14
  */
13
- export declare function StatContainer({ icon, title, value, unit, className, iconClassName, ...props }: StatContainerProps): React.ReactElement;
15
+ export declare function StatContainer({ icon, iconName, title, value, unit, className, iconClassName, ...props }: StatContainerProps): React.ReactElement;
@@ -1,12 +1,13 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ import { textVariants } from '../Text';
2
3
  declare const tagVariants: (props?: ({
3
4
  hasIcon?: boolean | null | undefined;
4
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
6
  type TagProps = {
6
- icon?: string;
7
+ icon?: React.ReactNode;
7
8
  children: React.ReactNode;
8
9
  className?: string;
9
- size?: 'caption3' | 'body1';
10
+ size?: VariantProps<typeof textVariants>['size'];
10
11
  weight?: 'bold' | 'medium' | 'regular' | 'light';
11
12
  } & VariantProps<typeof tagVariants>;
12
13
  /**
@@ -1,10 +1,10 @@
1
- interface UserListItemProps {
1
+ export interface UserListItemProps {
2
2
  className?: string;
3
3
  userName: string;
4
4
  userImageSrc?: string;
5
+ timeLabel?: string;
5
6
  isAuthor: boolean;
6
7
  onAccept?(): void;
7
8
  onReject?(): void;
8
9
  }
9
- export declare function UserListItem({ className, userName, userImageSrc, isAuthor, onAccept, onReject, }: UserListItemProps): React.ReactElement;
10
- export {};
10
+ export declare function UserListItem({ className, userName, userImageSrc, timeLabel, isAuthor, onAccept, onReject, }: UserListItemProps): React.ReactElement;
@@ -1,5 +1,6 @@
1
1
  export * from './Accordion';
2
2
  export * from './AppHeader';
3
+ export * from './BannerCarousel';
3
4
  export * from './Button';
4
5
  export * from './Calendar';
5
6
  export * from './ChallengeCard';
@@ -12,26 +13,24 @@ export * from './DatePicker';
12
13
  export * from './Dialog';
13
14
  export * from './DiaryCard';
14
15
  export * from './Dropdown';
15
- export * from './Footer';
16
+ export * from './GoalAddList';
17
+ export { Icon } from './Icons/Icon';
18
+ export type { IconName, IconProps } from './Icons/Icon';
16
19
  export * from './ImagePlaceholder';
17
20
  export * from './ImagePicker';
18
21
  export * from './InfoButton';
19
22
  export * from './Text';
20
- export * from './PageBackground';
21
- export * from './PageTitle';
22
23
  export * from './PageWatermark';
23
24
  export * from './Pagination';
24
- export * from './ProfileCard';
25
+ export * from './ProgressBar';
25
26
  export * from './RightSidebar';
26
27
  export * from './ScheduleCalendar';
27
- export * from './Spacing';
28
28
  export * from './StatContainer';
29
29
  export * from './StepIndicator';
30
30
  export * from './Streak';
31
31
  export * from './Tag';
32
32
  export * from './TextField';
33
33
  export * from './Toggle';
34
- export * from './ToggleCheck';
35
34
  export * from './ToggleGroup';
36
35
  export * from './Tooltip';
37
36
  export * from './UserListItem';