@1d1s/design-system 1.2.2 → 1.2.4

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;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const Gamepad2: (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 GraduationCap: (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 Music: (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 Wallet: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -6,9 +6,12 @@ export * from './Dumbbell';
6
6
  export * from './Flag';
7
7
  export * from './Flame';
8
8
  export * from './Code2';
9
+ export * from './Gamepad2';
10
+ export * from './GraduationCap';
9
11
  export * from './Icon';
10
12
  export * from './Laptop';
11
13
  export * from './LogIn';
14
+ export * from './Music';
12
15
  export * from './Palette';
13
16
  export * from './PencilLine';
14
17
  export * from './Plane';
@@ -17,6 +20,7 @@ export * from './Salad';
17
20
  export * from './Settings';
18
21
  export * from './Target';
19
22
  export * from './Trophy';
23
+ export * from './Wallet';
20
24
  export * from './Check';
21
25
  export * from './Chevron';
22
26
  export * from './ChevronDown';
@@ -4,6 +4,8 @@ declare const filterChipVariants: (props?: ({
4
4
  active?: boolean | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export interface FilterChipProps extends Omit<React.ComponentProps<"button">, "size">, VariantProps<typeof filterChipVariants> {
7
+ /** 라벨 좌측 아이콘/이모지 */
8
+ icon?: React.ReactNode;
7
9
  children: React.ReactNode;
8
10
  }
9
11
  /**
@@ -12,6 +14,7 @@ export interface FilterChipProps extends Omit<React.ComponentProps<"button">, "s
12
14
  *
13
15
  * @param active 선택 상태 (default `false`)
14
16
  * @param size `sm` · `md` (default) · `lg`
17
+ * @param icon 라벨 좌측 아이콘 또는 이모지
15
18
  *
16
19
  * @example
17
20
  * ```tsx
@@ -21,5 +24,5 @@ export interface FilterChipProps extends Omit<React.ComponentProps<"button">, "s
21
24
  * ))}
22
25
  * ```
23
26
  */
24
- export declare function FilterChip({ className, size, active, children, type, ...props }: FilterChipProps): React.ReactElement;
27
+ export declare function FilterChip({ className, size, active, icon, children, type, ...props }: FilterChipProps): React.ReactElement;
25
28
  export {};