@mzc-fe/design-system 0.0.6 → 0.0.7-rc.1

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 (59) hide show
  1. package/dist/components/accordion/accordion.d.ts +50 -0
  2. package/dist/components/alert/alert.d.ts +31 -0
  3. package/dist/components/alert-dialog/alert-dialog.d.ts +35 -0
  4. package/dist/components/aspect-ratio/aspect-ratio.d.ts +12 -0
  5. package/dist/components/avatar/avatar.d.ts +11 -0
  6. package/dist/components/badge/badge.d.ts +12 -0
  7. package/dist/components/breadcrumb/breadcrumb.d.ts +23 -0
  8. package/dist/components/button/button.d.ts +15 -0
  9. package/dist/components/button-group/button-group.d.ts +16 -0
  10. package/dist/components/calendar/calendar.d.ts +15 -0
  11. package/dist/components/card/card.d.ts +15 -0
  12. package/dist/components/carousel/carousel.d.ts +24 -0
  13. package/dist/components/chart/chart.d.ts +20 -0
  14. package/dist/components/checkbox/checkbox.d.ts +9 -0
  15. package/dist/components/collapsible/collapsible.d.ts +13 -0
  16. package/dist/components/command/command.d.ts +18 -0
  17. package/dist/components/context-menu/context-menu.d.ts +18 -0
  18. package/dist/components/dialog/dialog.d.ts +25 -0
  19. package/dist/components/drawer/drawer.d.ts +18 -0
  20. package/dist/components/dropdown-menu/dropdown-menu.d.ts +21 -0
  21. package/dist/components/empty/empty.d.ts +25 -0
  22. package/dist/components/field/field.d.ts +26 -0
  23. package/dist/components/form/form.d.ts +30 -1
  24. package/dist/components/hover-card/hover-card.d.ts +13 -0
  25. package/dist/components/input/input.d.ts +10 -0
  26. package/dist/components/input-group/input-group.d.ts +19 -0
  27. package/dist/components/input-otp/input-otp.d.ts +23 -0
  28. package/dist/components/item/item.d.ts +33 -1
  29. package/dist/components/kbd/kbd.d.ts +10 -0
  30. package/dist/components/label/label.d.ts +9 -0
  31. package/dist/components/menubar/menubar.d.ts +25 -0
  32. package/dist/components/navigation-menu/navigation-menu.d.ts +26 -0
  33. package/dist/components/pagination/pagination.d.ts +26 -0
  34. package/dist/components/popover/popover.d.ts +17 -0
  35. package/dist/components/progress/progress.d.ts +10 -0
  36. package/dist/components/radio-group/radio-group.d.ts +12 -0
  37. package/dist/components/resizable/resizable.d.ts +19 -0
  38. package/dist/components/scroll-area/scroll-area.d.ts +14 -0
  39. package/dist/components/select/select.d.ts +25 -0
  40. package/dist/components/separator/separator.d.ts +11 -0
  41. package/dist/components/sheet/sheet.d.ts +23 -0
  42. package/dist/components/sidebar/sidebar.d.ts +50 -0
  43. package/dist/components/skeleton/skeleton.d.ts +8 -0
  44. package/dist/components/slider/slider.d.ts +12 -0
  45. package/dist/components/sonner/sonner.d.ts +14 -0
  46. package/dist/components/spinner/spinner.d.ts +9 -0
  47. package/dist/components/switch/switch.d.ts +8 -0
  48. package/dist/components/table/table.d.ts +26 -0
  49. package/dist/components/tabs/tabs.d.ts +16 -6
  50. package/dist/components/textarea/textarea.d.ts +8 -0
  51. package/dist/components/toggle/toggle.d.ts +13 -0
  52. package/dist/components/toggle-group/toggle-group.d.ts +1 -0
  53. package/dist/components/tooltip/tooltip.d.ts +21 -0
  54. package/dist/design-system.css +1 -1
  55. package/dist/design-system.es.js +3481 -28494
  56. package/dist/design-system.umd.js +4 -257
  57. package/package.json +25 -18
  58. package/README.md +0 -184
  59. package/dist/vite.svg +0 -1
@@ -1,11 +1,36 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
+ /**
3
+ * 콘텐츠가 없을 때 빈 상태를 표시하는 컴포넌트입니다.
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * <Empty>
8
+ * <EmptyHeader>
9
+ * <EmptyMedia><InboxIcon /></EmptyMedia>
10
+ * <EmptyTitle>항목이 없습니다</EmptyTitle>
11
+ * <EmptyDescription>새 항목을 추가해보세요</EmptyDescription>
12
+ * </EmptyHeader>
13
+ * <EmptyContent>
14
+ * <Button>항목 추가</Button>
15
+ * </EmptyContent>
16
+ * </Empty>
17
+ * ```
18
+ */
2
19
  declare function Empty({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
20
+ /** Empty 컴포넌트의 헤더 영역입니다. */
3
21
  declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
22
  declare const emptyMediaVariants: (props?: ({
5
23
  variant?: "default" | "icon" | null | undefined;
6
24
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
25
+ /**
26
+ * Empty 컴포넌트의 미디어(아이콘/이미지) 영역입니다.
27
+ * @param props.variant - 스타일 변형 ('default' | 'icon')
28
+ */
7
29
  declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): import("react/jsx-runtime").JSX.Element;
30
+ /** Empty 컴포넌트의 제목입니다. */
8
31
  declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
32
+ /** Empty 컴포넌트의 설명 텍스트입니다. */
9
33
  declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
34
+ /** Empty 컴포넌트의 액션 영역입니다. */
10
35
  declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
36
  export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, };
@@ -1,21 +1,47 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Label } from '../label';
3
+ /**
4
+ * 폼 필드들을 그룹화하는 fieldset 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <FieldSet>
9
+ * <FieldLegend>개인 정보</FieldLegend>
10
+ * <Field>
11
+ * <FieldLabel>이름</FieldLabel>
12
+ * <Input />
13
+ * </Field>
14
+ * </FieldSet>
15
+ * ```
16
+ */
3
17
  declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
18
+ /** FieldSet의 제목 컴포넌트입니다. */
4
19
  declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
5
20
  variant?: "legend" | "label";
6
21
  }): import("react/jsx-runtime").JSX.Element;
22
+ /** 여러 Field를 그룹화하는 컴포넌트입니다. */
7
23
  declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
24
  declare const fieldVariants: (props?: ({
9
25
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
10
26
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
27
+ /**
28
+ * 개별 폼 필드 컴포넌트입니다.
29
+ * @param props.orientation - 레이아웃 방향 ('vertical' | 'horizontal' | 'responsive')
30
+ */
11
31
  declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
32
+ /** Field의 콘텐츠 영역입니다. */
12
33
  declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
34
+ /** Field의 레이블 컴포넌트입니다. */
13
35
  declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
36
+ /** Field의 제목 컴포넌트입니다. */
14
37
  declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
38
+ /** Field의 설명 텍스트 컴포넌트입니다. */
15
39
  declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
40
+ /** Field 사이의 구분선 컴포넌트입니다. */
16
41
  declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
17
42
  children?: React.ReactNode;
18
43
  }): import("react/jsx-runtime").JSX.Element;
44
+ /** Field의 오류 메시지 컴포넌트입니다. */
19
45
  declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
20
46
  errors?: Array<{
21
47
  message?: string;
@@ -2,7 +2,31 @@ import { Slot } from '@radix-ui/react-slot';
2
2
  import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form';
3
3
  import * as React from "react";
4
4
  import type * as LabelPrimitive from "@radix-ui/react-label";
5
- declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
+ /**
6
+ * react-hook-form 기반 폼 컴포넌트입니다.
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * const form = useForm();
11
+ *
12
+ * <Form {...form}>
13
+ * <FormField
14
+ * control={form.control}
15
+ * name="email"
16
+ * render={({ field }) => (
17
+ * <FormItem>
18
+ * <FormLabel>이메일</FormLabel>
19
+ * <FormControl>
20
+ * <Input {...field} />
21
+ * </FormControl>
22
+ * <FormMessage />
23
+ * </FormItem>
24
+ * )}
25
+ * />
26
+ * </Form>
27
+ * ```
28
+ */
29
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import('react-hook-form').FormProviderProps<TFieldValues, TContext, TTransformedValues>) => import("react").JSX.Element;
6
30
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
7
31
  declare const useFormField: () => {
8
32
  invalid: boolean;
@@ -16,9 +40,14 @@ declare const useFormField: () => {
16
40
  formDescriptionId: string;
17
41
  formMessageId: string;
18
42
  };
43
+ /** 폼 필드를 감싸는 컨테이너 컴포넌트입니다. */
19
44
  declare function FormItem({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
45
+ /** 폼 필드의 레이블 컴포넌트입니다. */
20
46
  declare function FormLabel({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
47
+ /** 폼 입력 컨트롤을 감싸는 컴포넌트입니다. */
21
48
  declare function FormControl({ ...props }: React.ComponentProps<typeof Slot>): import("react/jsx-runtime").JSX.Element;
49
+ /** 폼 필드의 설명 텍스트 컴포넌트입니다. */
22
50
  declare function FormDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
51
+ /** 폼 필드의 유효성 검증 메시지 컴포넌트입니다. */
23
52
  declare function FormMessage({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element | null;
24
53
  export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
@@ -1,6 +1,19 @@
1
1
  import * as React from "react";
2
2
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
3
+ /**
4
+ * 호버 시 미리보기 카드를 표시하는 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <HoverCard>
9
+ * <HoverCardTrigger>@사용자</HoverCardTrigger>
10
+ * <HoverCardContent>프로필 정보</HoverCardContent>
11
+ * </HoverCard>
12
+ * ```
13
+ */
3
14
  declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
15
+ /** 호버 카드를 표시할 트리거 요소입니다. */
4
16
  declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
17
+ /** 호버 카드 콘텐츠 영역입니다. */
5
18
  declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
19
  export { HoverCard, HoverCardTrigger, HoverCardContent };
@@ -1,3 +1,13 @@
1
1
  import * as React from "react";
2
+ /**
3
+ * 텍스트 입력을 받는 인풋 컴포넌트입니다.
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * <Input type="text" placeholder="이름을 입력하세요" />
8
+ * <Input type="email" placeholder="이메일" />
9
+ * <Input type="password" placeholder="비밀번호" />
10
+ * ```
11
+ */
2
12
  declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
13
  export { Input };
@@ -1,16 +1,35 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Button } from '../button';
3
3
  import * as React from "react";
4
+ /**
5
+ * 입력 필드와 관련 요소들을 그룹화하는 컴포넌트입니다.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <InputGroup>
10
+ * <InputGroupAddon align="inline-start">$</InputGroupAddon>
11
+ * <InputGroupInput placeholder="0.00" />
12
+ * </InputGroup>
13
+ * ```
14
+ */
4
15
  declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
16
  declare const inputGroupAddonVariants: (props?: ({
6
17
  align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
18
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
19
+ /**
20
+ * 입력 그룹에 추가 요소(아이콘, 텍스트, 버튼 등)를 배치하는 컴포넌트입니다.
21
+ * @param props.align - 배치 위치 ('inline-start' | 'inline-end' | 'block-start' | 'block-end')
22
+ */
8
23
  declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
24
  declare const inputGroupButtonVariants: (props?: ({
10
25
  size?: "sm" | "icon-sm" | "xs" | "icon-xs" | null | undefined;
11
26
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
27
+ /** 입력 그룹 내에서 사용하는 버튼 컴포넌트입니다. */
12
28
  declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
29
+ /** 입력 그룹 내 텍스트 레이블 컴포넌트입니다. */
13
30
  declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
31
+ /** 입력 그룹용 입력 필드 컴포넌트입니다. */
14
32
  declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
33
+ /** 입력 그룹용 텍스트 영역 컴포넌트입니다. */
15
34
  declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
16
35
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
@@ -1,11 +1,34 @@
1
1
  import { OTPInput } from 'input-otp';
2
2
  import * as React from "react";
3
+ /**
4
+ * OTP(일회용 비밀번호) 입력을 위한 컴포넌트입니다.
5
+ *
6
+ * @param props.maxLength - 최대 입력 자릿수
7
+ * @param props.containerClassName - 컨테이너 클래스명
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * <InputOTP maxLength={6}>
12
+ * <InputOTPGroup>
13
+ * <InputOTPSlot index={0} />
14
+ * <InputOTPSlot index={1} />
15
+ * <InputOTPSlot index={2} />
16
+ * </InputOTPGroup>
17
+ * </InputOTP>
18
+ * ```
19
+ */
3
20
  declare function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & {
4
21
  containerClassName?: string;
5
22
  }): import("react/jsx-runtime").JSX.Element;
23
+ /** OTP 슬롯들을 그룹화하는 컴포넌트입니다. */
6
24
  declare function InputOTPGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
25
+ /**
26
+ * 개별 OTP 입력 슬롯입니다.
27
+ * @param props.index - 슬롯 인덱스 (0부터 시작)
28
+ */
7
29
  declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<"div"> & {
8
30
  index: number;
9
31
  }): import("react/jsx-runtime").JSX.Element;
32
+ /** OTP 그룹 사이의 구분선 컴포넌트입니다. */
10
33
  declare function InputOTPSeparator({ ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
34
  export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
@@ -1,23 +1,55 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { Separator } from '../separator';
3
3
  import * as React from "react";
4
+ /**
5
+ * 리스트 아이템들을 그룹화하는 컴포넌트입니다.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * <ItemGroup>
10
+ * <Item>
11
+ * <ItemMedia variant="icon"><UserIcon /></ItemMedia>
12
+ * <ItemContent>
13
+ * <ItemTitle>제목</ItemTitle>
14
+ * <ItemDescription>설명</ItemDescription>
15
+ * </ItemContent>
16
+ * </Item>
17
+ * </ItemGroup>
18
+ * ```
19
+ */
4
20
  declare function ItemGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
21
+ /** 아이템 사이의 구분선 컴포넌트입니다. */
5
22
  declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
6
23
  declare const itemVariants: (props?: ({
7
24
  variant?: "default" | "outline" | "muted" | null | undefined;
8
25
  size?: "default" | "sm" | null | undefined;
9
26
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
27
+ /**
28
+ * 개별 리스트 아이템 컴포넌트입니다.
29
+ * @param props.variant - 스타일 변형 ('default' | 'outline' | 'muted')
30
+ * @param props.size - 크기 ('default' | 'sm')
31
+ */
10
32
  declare function Item({ className, variant, size, asChild, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
11
33
  asChild?: boolean;
12
34
  }): import("react/jsx-runtime").JSX.Element;
13
35
  declare const itemMediaVariants: (props?: ({
14
- variant?: "default" | "image" | "icon" | null | undefined;
36
+ variant?: "image" | "default" | "icon" | null | undefined;
15
37
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
38
+ /**
39
+ * 아이템의 미디어(아이콘/이미지) 영역입니다.
40
+ * @param props.variant - 스타일 변형 ('default' | 'icon' | 'image')
41
+ */
16
42
  declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): import("react/jsx-runtime").JSX.Element;
43
+ /** 아이템의 콘텐츠 영역입니다. */
17
44
  declare function ItemContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
45
+ /** 아이템의 제목 컴포넌트입니다. */
18
46
  declare function ItemTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
47
+ /** 아이템의 설명 텍스트입니다. */
19
48
  declare function ItemDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
49
+ /** 아이템의 액션 버튼 영역입니다. */
20
50
  declare function ItemActions({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
51
+ /** 아이템의 헤더 영역입니다. */
21
52
  declare function ItemHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
53
+ /** 아이템의 푸터 영역입니다. */
22
54
  declare function ItemFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
23
55
  export { Item, ItemMedia, ItemContent, ItemActions, ItemGroup, ItemSeparator, ItemTitle, ItemDescription, ItemHeader, ItemFooter, };
@@ -1,3 +1,13 @@
1
+ /**
2
+ * 키보드 단축키를 표시하는 컴포넌트입니다.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * <Kbd>⌘</Kbd>
7
+ * <Kbd>K</Kbd>
8
+ * ```
9
+ */
1
10
  declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): import("react/jsx-runtime").JSX.Element;
11
+ /** 여러 키보드 단축키를 그룹화하는 컴포넌트입니다. */
2
12
  declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
13
  export { Kbd, KbdGroup };
@@ -1,4 +1,13 @@
1
1
  import * as React from "react";
2
2
  import * as LabelPrimitive from "@radix-ui/react-label";
3
+ /**
4
+ * 폼 요소에 대한 레이블을 표시하는 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Label htmlFor="email">이메일</Label>
9
+ * <Input id="email" type="email" />
10
+ * ```
11
+ */
3
12
  declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
13
  export { Label };
@@ -1,22 +1,47 @@
1
1
  import * as React from "react";
2
2
  import * as MenubarPrimitive from "@radix-ui/react-menubar";
3
+ /**
4
+ * 수평 메뉴바 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Menubar>
9
+ * <MenubarMenu>
10
+ * <MenubarTrigger>파일</MenubarTrigger>
11
+ * <MenubarContent>
12
+ * <MenubarItem>새로 만들기</MenubarItem>
13
+ * <MenubarItem>열기</MenubarItem>
14
+ * </MenubarContent>
15
+ * </MenubarMenu>
16
+ * </Menubar>
17
+ * ```
18
+ */
3
19
  declare function Menubar({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
20
+ /** 개별 메뉴 컨테이너입니다. */
4
21
  declare function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>): import("react/jsx-runtime").JSX.Element;
5
22
  declare function MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
6
23
  declare function MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
24
  declare function MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
25
+ /** 메뉴를 여는 트리거 버튼입니다. */
8
26
  declare function MenubarTrigger({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
27
+ /** 메뉴 콘텐츠 드롭다운입니다. */
9
28
  declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React.ComponentProps<typeof MenubarPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
29
+ /** 메뉴 아이템 컴포넌트입니다. */
10
30
  declare function MenubarItem({ className, inset, variant, ...props }: React.ComponentProps<typeof MenubarPrimitive.Item> & {
11
31
  inset?: boolean;
12
32
  variant?: "default" | "destructive";
13
33
  }): import("react/jsx-runtime").JSX.Element;
34
+ /** 체크박스 형태의 메뉴 아이템입니다. */
14
35
  declare function MenubarCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
36
+ /** 라디오 형태의 메뉴 아이템입니다. */
15
37
  declare function MenubarRadioItem({ className, children, ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
38
+ /** 메뉴 섹션의 레이블입니다. */
16
39
  declare function MenubarLabel({ className, inset, ...props }: React.ComponentProps<typeof MenubarPrimitive.Label> & {
17
40
  inset?: boolean;
18
41
  }): import("react/jsx-runtime").JSX.Element;
42
+ /** 메뉴 아이템 사이의 구분선입니다. */
19
43
  declare function MenubarSeparator({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
44
+ /** 메뉴 아이템의 단축키 표시입니다. */
20
45
  declare function MenubarShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
21
46
  declare function MenubarSub({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
22
47
  declare function MenubarSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
@@ -1,14 +1,40 @@
1
1
  import * as React from "react";
2
2
  import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
3
+ /**
4
+ * 수평 네비게이션 메뉴 컴포넌트입니다.
5
+ *
6
+ * @param props.viewport - 뷰포트 사용 여부
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <NavigationMenu>
11
+ * <NavigationMenuList>
12
+ * <NavigationMenuItem>
13
+ * <NavigationMenuTrigger>시작하기</NavigationMenuTrigger>
14
+ * <NavigationMenuContent>
15
+ * <NavigationMenuLink>소개</NavigationMenuLink>
16
+ * </NavigationMenuContent>
17
+ * </NavigationMenuItem>
18
+ * </NavigationMenuList>
19
+ * </NavigationMenu>
20
+ * ```
21
+ */
3
22
  declare function NavigationMenu({ className, children, viewport, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
4
23
  viewport?: boolean;
5
24
  }): import("react/jsx-runtime").JSX.Element;
25
+ /** 네비게이션 메뉴 아이템들의 목록입니다. */
6
26
  declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>): import("react/jsx-runtime").JSX.Element;
27
+ /** 개별 네비게이션 메뉴 아이템입니다. */
7
28
  declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
8
29
  declare const navigationMenuTriggerStyle: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
30
+ /** 드롭다운을 여는 트리거 버튼입니다. */
9
31
  declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
32
+ /** 네비게이션 메뉴의 드롭다운 콘텐츠입니다. */
10
33
  declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
34
+ /** 드롭다운 콘텐츠를 표시하는 뷰포트입니다. */
11
35
  declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): import("react/jsx-runtime").JSX.Element;
36
+ /** 네비게이션 링크 컴포넌트입니다. */
12
37
  declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>): import("react/jsx-runtime").JSX.Element;
38
+ /** 현재 활성 메뉴를 가리키는 인디케이터입니다. */
13
39
  declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): import("react/jsx-runtime").JSX.Element;
14
40
  export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, };
@@ -1,13 +1,39 @@
1
1
  import { Button } from '../button';
2
2
  import * as React from "react";
3
+ /**
4
+ * 페이지 목록을 탐색하는 페이지네이션 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Pagination>
9
+ * <PaginationContent>
10
+ * <PaginationItem>
11
+ * <PaginationPrevious href="#" />
12
+ * </PaginationItem>
13
+ * <PaginationItem>
14
+ * <PaginationLink href="#" isActive>1</PaginationLink>
15
+ * </PaginationItem>
16
+ * <PaginationItem>
17
+ * <PaginationNext href="#" />
18
+ * </PaginationItem>
19
+ * </PaginationContent>
20
+ * </Pagination>
21
+ * ```
22
+ */
3
23
  declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
4
24
  declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
5
25
  declare function PaginationItem({ ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
6
26
  type PaginationLinkProps = {
7
27
  isActive?: boolean;
8
28
  } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
29
+ /**
30
+ * 페이지네이션 링크입니다.
31
+ * @param props.isActive - 현재 페이지 여부
32
+ */
9
33
  declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
34
+ /** 이전 페이지로 이동하는 링크입니다. */
10
35
  declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
36
+ /** 다음 페이지로 이동하는 링크입니다. */
11
37
  declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
12
38
  declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
13
39
  export { Pagination, PaginationContent, PaginationLink, PaginationItem, PaginationPrevious, PaginationNext, PaginationEllipsis, };
@@ -1,7 +1,24 @@
1
1
  import { Popover as PopoverPrimitive } from 'radix-ui';
2
2
  import * as React from "react";
3
+ /**
4
+ * 트리거 요소 근처에 팝업 콘텐츠를 표시하는 팝오버 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Popover>
9
+ * <PopoverTrigger>열기</PopoverTrigger>
10
+ * <PopoverContent>팝오버 내용</PopoverContent>
11
+ * </Popover>
12
+ * ```
13
+ */
3
14
  declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
15
+ /** 팝오버를 열기 위한 트리거 요소입니다. */
4
16
  declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
17
+ /**
18
+ * 팝오버의 콘텐츠 영역입니다.
19
+ * @param props.align - 정렬 방식 ('start' | 'center' | 'end')
20
+ * @param props.sideOffset - 트리거와의 간격 (기본값: 4)
21
+ */
5
22
  declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
23
  declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
24
  declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,14 @@
1
1
  import * as React from "react";
2
2
  import * as ProgressPrimitive from "@radix-ui/react-progress";
3
+ /**
4
+ * 작업 진행 상태를 시각적으로 표시하는 프로그레스 바 컴포넌트입니다.
5
+ *
6
+ * @param props.value - 진행률 (0-100)
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Progress value={45} />
11
+ * ```
12
+ */
3
13
  declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
14
  export { Progress };
@@ -1,5 +1,17 @@
1
1
  import * as React from "react";
2
2
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
+ /**
4
+ * 여러 옵션 중 하나를 선택하는 라디오 그룹 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <RadioGroup defaultValue="option1">
9
+ * <RadioGroupItem value="option1" />
10
+ * <RadioGroupItem value="option2" />
11
+ * </RadioGroup>
12
+ * ```
13
+ */
3
14
  declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
15
+ /** 라디오 그룹의 개별 옵션 아이템입니다. */
4
16
  declare function RadioGroupItem({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
17
  export { RadioGroup, RadioGroupItem };
@@ -1,7 +1,26 @@
1
1
  import * as React from "react";
2
2
  import * as ResizablePrimitive from "react-resizable-panels";
3
+ /**
4
+ * 크기 조절 가능한 패널 그룹 컴포넌트입니다.
5
+ *
6
+ * @param props.direction - 패널 방향 ('horizontal' | 'vertical')
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <ResizablePanelGroup direction="horizontal">
11
+ * <ResizablePanel>패널 1</ResizablePanel>
12
+ * <ResizableHandle />
13
+ * <ResizablePanel>패널 2</ResizablePanel>
14
+ * </ResizablePanelGroup>
15
+ * ```
16
+ */
3
17
  declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): import("react/jsx-runtime").JSX.Element;
18
+ /** 크기 조절 가능한 패널입니다. */
4
19
  declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): import("react/jsx-runtime").JSX.Element;
20
+ /**
21
+ * 패널 크기 조절 핸들입니다.
22
+ * @param props.withHandle - 드래그 핸들 아이콘 표시 여부
23
+ */
5
24
  declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
6
25
  withHandle?: boolean;
7
26
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,19 @@
1
1
  import * as React from "react";
2
2
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
3
+ /**
4
+ * 커스텀 스크롤바를 제공하는 스크롤 영역 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <ScrollArea className="h-[200px]">
9
+ * <div>스크롤 가능한 콘텐츠</div>
10
+ * </ScrollArea>
11
+ * ```
12
+ */
3
13
  declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
14
+ /**
15
+ * 스크롤바 컴포넌트입니다.
16
+ * @param props.orientation - 스크롤바 방향 ('vertical' | 'horizontal')
17
+ */
4
18
  declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
5
19
  export { ScrollArea, ScrollBar };
@@ -1,13 +1,38 @@
1
1
  import * as React from "react";
2
2
  import * as SelectPrimitive from "@radix-ui/react-select";
3
+ /**
4
+ * 옵션 목록에서 하나의 값을 선택하는 셀렉트 컴포넌트입니다.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * <Select>
9
+ * <SelectTrigger>
10
+ * <SelectValue placeholder="선택하세요" />
11
+ * </SelectTrigger>
12
+ * <SelectContent>
13
+ * <SelectItem value="1">옵션 1</SelectItem>
14
+ * <SelectItem value="2">옵션 2</SelectItem>
15
+ * </SelectContent>
16
+ * </Select>
17
+ * ```
18
+ */
3
19
  declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
20
  declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
5
21
  declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): import("react/jsx-runtime").JSX.Element;
22
+ /**
23
+ * 셀렉트 트리거 버튼입니다.
24
+ * @param props.size - 크기 ('sm' | 'default')
25
+ */
6
26
  declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
7
27
  size?: "sm" | "default";
8
28
  }): import("react/jsx-runtime").JSX.Element;
29
+ /**
30
+ * 셀렉트 옵션 목록 콘텐츠입니다.
31
+ * @param props.position - 위치 정렬 방식 ('item-aligned' | 'popper')
32
+ */
9
33
  declare function SelectContent({ className, children, position, align, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
10
34
  declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
35
+ /** 셀렉트 옵션 아이템입니다. */
11
36
  declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
12
37
  declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
13
38
  declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,15 @@
1
1
  import * as React from "react";
2
2
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
+ /**
4
+ * 콘텐츠를 시각적으로 분리하는 구분선 컴포넌트입니다.
5
+ *
6
+ * @param props.orientation - 방향 ('horizontal' | 'vertical')
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * <Separator />
11
+ * <Separator orientation="vertical" />
12
+ * ```
13
+ */
3
14
  declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
15
  export { Separator };