@1d1s/design-system 1.2.3 → 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.
@@ -22,10 +22,11 @@ export interface CommentThreadProps {
22
22
  replyPlaceholder?: string;
23
23
  replySubmitLabel?: string;
24
24
  replyCancelLabel?: string;
25
+ replyButtonLabel?: string;
25
26
  loadMoreRepliesLabel?: string;
26
27
  onDelete?(comment: CommentNode): void;
27
28
  onReport?(comment: CommentNode): void;
28
29
  onReplySubmit?(comment: CommentNode, content: string): void;
29
30
  onLoadMoreReplies?(comment: CommentNode): void;
30
31
  }
31
- export declare function CommentThread({ comments, currentUserId, className, replyPlaceholder, replySubmitLabel, replyCancelLabel, loadMoreRepliesLabel, onReplySubmit, onLoadMoreReplies, onDelete, onReport, }: CommentThreadProps): React.ReactElement;
32
+ export declare function CommentThread({ comments, currentUserId, className, replyPlaceholder, replySubmitLabel, replyCancelLabel, replyButtonLabel, loadMoreRepliesLabel, onReplySubmit, onLoadMoreReplies, onDelete, onReport, }: CommentThreadProps): React.ReactElement;
@@ -4,6 +4,7 @@ declare const meta: Meta<typeof CommentThread>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof CommentThread>;
6
6
  export declare const Default: Story;
7
+ export declare const SingleComment: Story;
7
8
  export declare const Empty: Story;
8
9
  export declare const LongContent: Story;
9
10
  export declare const ManyReplies: Story;
@@ -12,6 +12,8 @@ export interface ScheduleCalendarCell {
12
12
  title?: React.ReactNode;
13
13
  subtitle?: React.ReactNode;
14
14
  bars?: ScheduleCalendarBar[];
15
+ /** 해당 날짜에 일지를 작성한 사용자 수. 2 이상일 때 셀 하단에 카운트 pill로 표시됨. */
16
+ participantCount?: number;
15
17
  highlighted?: boolean;
16
18
  muted?: boolean;
17
19
  colSpan?: number;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  declare const statCardVariants: (props?: ({
4
- tone?: "mint" | "blue" | "gray" | "white" | "brand" | null | undefined;
4
+ tone?: "mint" | "blue" | "gray" | "brand" | "white" | null | undefined;
5
5
  size?: "sm" | "md" | "lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  export interface StatCardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof statCardVariants> {
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  declare const tagVariants: (props?: ({
3
- tone?: "mint" | "blue" | "green" | "gray" | "red" | "brand" | null | undefined;
3
+ tone?: "mint" | "blue" | "green" | "gray" | "brand" | "red" | null | undefined;
4
4
  size?: "sm" | "md" | "lg" | "xs" | null | undefined;
5
5
  pill?: boolean | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,6 +1,5 @@
1
1
  export * from './Accordion';
2
2
  export * from './AchievementBadge';
3
- export * from './AppHeader';
4
3
  export * from './AvatarImagePicker';
5
4
  export * from './Banner';
6
5
  export * from './BannerCarousel';
@@ -28,7 +27,6 @@ export * from './ImagePlaceholder';
28
27
  export * from './PageWatermark';
29
28
  export * from './ProgressBar';
30
29
  export * from './Radio';
31
- export * from './RightSidebar';
32
30
  export * from './ScheduleCalendar';
33
31
  export * from './SectionHeader';
34
32
  export * from './Select';