@mondrianai/runyourai-design-system 0.0.17 → 0.0.19
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.
- package/dist/index.d.mts +52 -17
- package/dist/index.d.ts +52 -17
- package/dist/index.js +552 -461
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +674 -583
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
3
|
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, DropdownMenu as DropdownMenu$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Menubar as Menubar$1, Slider as Slider$1, Switch as Switch$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -33,7 +33,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
33
33
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
34
34
|
|
|
35
35
|
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
36
|
-
variant?: "
|
|
36
|
+
variant?: "destructive" | "default" | null | undefined;
|
|
37
37
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
39
39
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -112,7 +112,7 @@ declare function BreadcrumbSeparator({ iconName, className, ...props }: React__d
|
|
|
112
112
|
}): react_jsx_runtime.JSX.Element;
|
|
113
113
|
|
|
114
114
|
declare const buttonVariants: (props?: ({
|
|
115
|
-
variant?: "link" | "
|
|
115
|
+
variant?: "link" | "primary" | "secondary" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
116
116
|
size?: "rounded" | "default" | "icon" | "pill" | null | undefined;
|
|
117
117
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
118
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -153,14 +153,23 @@ interface DataSectionProps {
|
|
|
153
153
|
declare function DataSection({ title, left, right, className, childrenClassName, children, }: DataSectionProps): react_jsx_runtime.JSX.Element;
|
|
154
154
|
|
|
155
155
|
interface DrawerProps {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
/** 드로어를 여는 트리거 요소 (필수) */
|
|
157
|
+
trigger: React$1.ReactNode;
|
|
158
|
+
/** 드로어 제목 (필수) */
|
|
158
159
|
title: React$1.ReactNode;
|
|
160
|
+
/** 컨텐츠 영역 (필수) */
|
|
159
161
|
children: React$1.ReactNode;
|
|
160
|
-
|
|
162
|
+
/** 외부에서 열림 상태를 직접 제어할 때 사용 (footer에서 닫기 등) */
|
|
163
|
+
open?: boolean;
|
|
164
|
+
onOpenChange?: (open: boolean) => void;
|
|
165
|
+
/** 제목 아래 부제목 */
|
|
166
|
+
description?: React$1.ReactNode;
|
|
167
|
+
/** 하단 고정 footer 영역 */
|
|
168
|
+
footer?: React$1.ReactNode;
|
|
169
|
+
shouldScaleBackground?: boolean;
|
|
161
170
|
className?: string;
|
|
162
171
|
}
|
|
163
|
-
declare function Drawer({ open,
|
|
172
|
+
declare function Drawer({ open, onOpenChange, trigger, title, description, footer, children, shouldScaleBackground, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
164
173
|
|
|
165
174
|
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
166
175
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -719,15 +728,28 @@ interface MultiSelectProps extends SelectBase {
|
|
|
719
728
|
type SelectProps = SingleSelectProps | MultiSelectProps;
|
|
720
729
|
declare function Select(props: SelectProps): react_jsx_runtime.JSX.Element;
|
|
721
730
|
|
|
731
|
+
type SheetSide = 'top' | 'right' | 'bottom' | 'left';
|
|
722
732
|
interface SheetProps {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
description?: string;
|
|
733
|
+
/** 시트 제목 — 문자열 또는 ReactNode (아이콘·뱃지 조합 등) (필수) */
|
|
734
|
+
title: React$1.ReactNode;
|
|
735
|
+
/** 콘텐츠 영역 (필수) */
|
|
727
736
|
children: React$1.ReactNode;
|
|
737
|
+
/** 시트를 여는 트리거 요소 — 외부 버튼으로 open을 제어할 경우 생략 가능 */
|
|
738
|
+
trigger?: React$1.ReactNode;
|
|
739
|
+
/** 외부에서 열림 상태를 직접 제어할 때 사용 (trigger 없이 open만으로 제어하는 경우 등) */
|
|
740
|
+
open?: boolean;
|
|
741
|
+
onOpenChange?: (open: boolean) => void;
|
|
742
|
+
/** 패널이 열리는 방향 (기본: right) */
|
|
743
|
+
side?: SheetSide;
|
|
744
|
+
/** 제목 아래 부제목 */
|
|
745
|
+
description?: React$1.ReactNode;
|
|
746
|
+
/** 하단 고정 footer 영역 */
|
|
728
747
|
footer?: React$1.ReactNode;
|
|
748
|
+
/** 우상단 X 닫기 버튼 표시 여부 (기본: true) */
|
|
749
|
+
showCloseButton?: boolean;
|
|
750
|
+
className?: string;
|
|
729
751
|
}
|
|
730
|
-
declare function Sheet({ open,
|
|
752
|
+
declare function Sheet({ open, onOpenChange, trigger, side, title, description, footer, showCloseButton, children, className, }: SheetProps): react_jsx_runtime.JSX.Element;
|
|
731
753
|
|
|
732
754
|
/**
|
|
733
755
|
* 링크 컴포넌트 타입. next/link의 Link, react-router의 Link 등을 그대로 전달할 수 있습니다.
|
|
@@ -847,6 +869,8 @@ declare function Stepper({ steps, currentStep, className }: StepperProps): react
|
|
|
847
869
|
interface TabItem<T extends string = string> {
|
|
848
870
|
value: T;
|
|
849
871
|
label: string;
|
|
872
|
+
/** 이 탭이 활성화됐을 때 탭 행 우측에 렌더링할 콘텐츠 (검색, 액션 버튼 등) */
|
|
873
|
+
rightContents?: ReactNode;
|
|
850
874
|
}
|
|
851
875
|
interface TabsProps<T extends string = string> {
|
|
852
876
|
allTabs: TabItem<T>[];
|
|
@@ -856,7 +880,7 @@ interface TabsProps<T extends string = string> {
|
|
|
856
880
|
* "pill" — 회색 배경 컨테이너 + 흰 배경 active (segment control 스타일)
|
|
857
881
|
* "underline" — 하단 밑줄 active (default)
|
|
858
882
|
*/
|
|
859
|
-
variant?:
|
|
883
|
+
variant?: 'pill' | 'underline';
|
|
860
884
|
/** 컨테이너를 w-full로 펼치고 각 탭 버튼을 균등 분할(flex-1)합니다 */
|
|
861
885
|
block?: boolean;
|
|
862
886
|
/** Tailwind height 클래스 (e.g. "h-[36px]"). 지정 시 내부 버튼 패딩도 자동 조정됩니다. */
|
|
@@ -959,9 +983,15 @@ interface PaginationProps {
|
|
|
959
983
|
previousLabel?: string;
|
|
960
984
|
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
961
985
|
nextLabel?: string;
|
|
986
|
+
/** 현재 페이지 크기. onPageSizeChange와 함께 사용하면 좌측에 Select가 표시됨. */
|
|
987
|
+
pageSize?: number;
|
|
988
|
+
/** 페이지 크기 변경 콜백. 제공 시 좌측에 페이지 크기 Select가 표시됨. */
|
|
989
|
+
onPageSizeChange?: (size: number) => void;
|
|
990
|
+
/** 페이지 크기 옵션. value는 숫자 문자열, label은 단위 포함 표시 텍스트. 예: [{ value: '10', label: '10개' }] */
|
|
991
|
+
pageSizeOptions?: SelectOption[];
|
|
962
992
|
className?: string;
|
|
963
993
|
}
|
|
964
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
994
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, pageSize, onPageSizeChange, pageSizeOptions, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
965
995
|
|
|
966
996
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
967
997
|
interface TableColumn<T> {
|
|
@@ -1042,11 +1072,16 @@ interface TableProps<T> {
|
|
|
1042
1072
|
*/
|
|
1043
1073
|
onSortingChange?: (sorting: SortingState) => void;
|
|
1044
1074
|
className?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* 설정 시 tbody 영역만 스크롤되고 thead가 상단에 고정됩니다.
|
|
1077
|
+
* CSS 값을 그대로 받습니다. 예: "calc(100dvh - 260px)", "400px"
|
|
1078
|
+
*/
|
|
1079
|
+
maxHeight?: string;
|
|
1045
1080
|
}
|
|
1046
1081
|
declare function SortIcon({ direction }: {
|
|
1047
1082
|
direction: SortDirection;
|
|
1048
1083
|
}): react_jsx_runtime.JSX.Element;
|
|
1049
|
-
declare function Table<T>({ columns, data, rowKey, pagination, defaultSorting, loading, enableRowSelection, rowSelection: rowSelectionProp, onRowSelectionChange, rowActions, onRowClick, onSortingChange, className, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function Table<T>({ columns, data, rowKey, pagination, defaultSorting, loading, enableRowSelection, rowSelection: rowSelectionProp, onRowSelectionChange, rowActions, onRowClick, onSortingChange, className, maxHeight, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1050
1085
|
|
|
1051
1086
|
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
1052
1087
|
interface TooltipProps extends Pick<React$1.ComponentPropsWithoutRef<typeof Tooltip$1.Root>, 'open' | 'defaultOpen' | 'onOpenChange' | 'delayDuration'>, Omit<React$1.ComponentPropsWithoutRef<typeof Tooltip$1.Content>, 'children' | 'content'> {
|
|
@@ -1082,7 +1117,7 @@ declare function UserMessageBubble({ content }: {
|
|
|
1082
1117
|
* · delayDuration — hover → open 지연 시간 (ms)
|
|
1083
1118
|
* · skipDelayDuration — 빠르게 연속 이동 시 딜레이 스킵 임계치 (ms)
|
|
1084
1119
|
*/
|
|
1085
|
-
declare function
|
|
1120
|
+
declare function RyaiDsProvider({ children }: {
|
|
1086
1121
|
children: React.ReactNode;
|
|
1087
1122
|
}): react_jsx_runtime.JSX.Element;
|
|
1088
1123
|
|
|
@@ -1593,4 +1628,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1593
1628
|
className?: string;
|
|
1594
1629
|
}): react_jsx_runtime.JSX.Element;
|
|
1595
1630
|
|
|
1596
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgentBlogIcon, AgentCsIcon, AgentDataIcon, AgentHrIcon, AgentMailIcon, AgentTrendIcon, AiAgentIcon, AiBuilderIcon, AiCloudIcon, AiDatacenterIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlignJustifyIcon, AlignLeftIcon, ArrowDownIcon, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarSize, BADGE_VARIANT_STYLES, Badge, type BadgeProps, type BadgeVariant, BlockquoteIcon, BoldIcon, BookOpenIcon, BookUpIcon, Breadcrumb, Button, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, ChevronsUpDownIcon, ChoiceCardGroup, type ChoiceCardGroupProps, ChoiceCardItem, type ChoiceCardItemProps, CircleCheckFillIcon, CircleHelpIcon, CircleIndicator, type CircleIndicatorProps, CircleOutlineIcon, ClaudeIcon, CodeIcon, CodeSquareIcon, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleRoot, CollapsibleTrigger, type CollapsibleWorkspace, Combobox, type ComboboxOption, type ComboboxProps, CreditIcon, DataSection, type DataSectionProps, DatePicker, type DatePickerLocale, type DatePickerMode, type DatePickerProps, type DateRange, DeepSeekIcon, type DisabledDateRule, DownloadIcon, Drawer, type DrawerProps, DriveIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyTrayIcon, Field, FieldDivider, type FieldProps, FieldRow, type FieldRowProps, FieldSection, type FieldSectionProps, FileCodeIcon, FileSearchIcon, FileTypeCornerIcon, FolderAmberIcon, FolderBlueIcon, FolderClosedIcon, FolderGreenIcon, FolderVioletIcon, GeminiIcon, GoogleIcon, HangulFileIcon, Header, type HeaderNavItem, type HeaderProps, HeadingIcon, HtmlFileIcon, ICON_NODES, Icon, type IconProps, ImageIcon, ImportIcon, IndentIcon, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalicIcon, KbCard, type KbCardMetadataItem, type KbCardProps, KeyRoundIcon, type LanguageItem, LayersIcon, LayoutGridIcon, LineChartIcon, LinkIcon, ListIcon, ListOrderedIcon, MarkdownFileIcon, MarkdownMessage, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageCircleIcon, MessageFooter, type MessageFooterProps, MessagesSquareIcon, Modal, type ModalProps, MyPageIcon, type NavDropdownItem, type NotificationItem, NumberBadge, type NumberBadgeProps, OpenAiIcon, OutdentIcon, Pagination, type PaginationProps, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold,
|
|
1631
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgentBlogIcon, AgentCsIcon, AgentDataIcon, AgentHrIcon, AgentMailIcon, AgentTrendIcon, AiAgentIcon, AiBuilderIcon, AiCloudIcon, AiDatacenterIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlignJustifyIcon, AlignLeftIcon, ArrowDownIcon, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarSize, BADGE_VARIANT_STYLES, Badge, type BadgeProps, type BadgeVariant, BlockquoteIcon, BoldIcon, BookOpenIcon, BookUpIcon, Breadcrumb, Button, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, ChevronsUpDownIcon, ChoiceCardGroup, type ChoiceCardGroupProps, ChoiceCardItem, type ChoiceCardItemProps, CircleCheckFillIcon, CircleHelpIcon, CircleIndicator, type CircleIndicatorProps, CircleOutlineIcon, ClaudeIcon, CodeIcon, CodeSquareIcon, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleRoot, CollapsibleTrigger, type CollapsibleWorkspace, Combobox, type ComboboxOption, type ComboboxProps, CreditIcon, DataSection, type DataSectionProps, DatePicker, type DatePickerLocale, type DatePickerMode, type DatePickerProps, type DateRange, DeepSeekIcon, type DisabledDateRule, DownloadIcon, Drawer, type DrawerProps, DriveIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyTrayIcon, Field, FieldDivider, type FieldProps, FieldRow, type FieldRowProps, FieldSection, type FieldSectionProps, FileCodeIcon, FileSearchIcon, FileTypeCornerIcon, FolderAmberIcon, FolderBlueIcon, FolderClosedIcon, FolderGreenIcon, FolderVioletIcon, GeminiIcon, GoogleIcon, HangulFileIcon, Header, type HeaderNavItem, type HeaderProps, HeadingIcon, HtmlFileIcon, ICON_NODES, Icon, type IconProps, ImageIcon, ImportIcon, IndentIcon, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalicIcon, KbCard, type KbCardMetadataItem, type KbCardProps, KeyRoundIcon, type LanguageItem, LayersIcon, LayoutGridIcon, LineChartIcon, LinkIcon, ListIcon, ListOrderedIcon, MarkdownFileIcon, MarkdownMessage, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageCircleIcon, MessageFooter, type MessageFooterProps, MessagesSquareIcon, Modal, type ModalProps, MyPageIcon, type NavDropdownItem, type NotificationItem, NumberBadge, type NumberBadgeProps, OpenAiIcon, OutdentIcon, Pagination, type PaginationProps, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold, RefreshCwIcon, RyaiDsProvider, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, type SheetProps, ShoppingBagIcon, Sidebar, SidebarLink, type SidebarMainMenuItem, type SidebarSubMenuItem, type SidebarUtilityItem, Skeleton, type SkeletonProps, SlideFileIcon, Slider, SmileIcon, type SortDirection, SortIcon, SparklesIcon, SquareCheckIcon, SquareCheckOutlineIcon, StarIcon, Stepper, type StepperProps, StrikethroughIcon, Switch, SwitchField, type SwitchFieldProps, type TabItem, Table, type TableColumn, type TablePaginationConfig, TablePropertiesIcon, type TableProps, type TableSortingItem, Tabs, type TabsProps, Toggle, ToggleGroup, type ToggleGroupItemData, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, TooltipProvider, TooltipWithIcon, type TooltipWithIconProps, TrashIcon, UpstageIcon, type UserMenuSection, type UserMenuSectionItem, UserMessageBubble, WandSparklesIcon, WordFileIcon, buttonVariants, toggleBaseClasses, toggleSizeClasses };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
3
|
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, DropdownMenu as DropdownMenu$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Menubar as Menubar$1, Slider as Slider$1, Switch as Switch$1, Tooltip as Tooltip$1 } from 'radix-ui';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -33,7 +33,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
33
33
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
34
34
|
|
|
35
35
|
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
36
|
-
variant?: "
|
|
36
|
+
variant?: "destructive" | "default" | null | undefined;
|
|
37
37
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
38
38
|
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
39
39
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -112,7 +112,7 @@ declare function BreadcrumbSeparator({ iconName, className, ...props }: React__d
|
|
|
112
112
|
}): react_jsx_runtime.JSX.Element;
|
|
113
113
|
|
|
114
114
|
declare const buttonVariants: (props?: ({
|
|
115
|
-
variant?: "link" | "
|
|
115
|
+
variant?: "link" | "primary" | "secondary" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
116
116
|
size?: "rounded" | "default" | "icon" | "pill" | null | undefined;
|
|
117
117
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
118
118
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -153,14 +153,23 @@ interface DataSectionProps {
|
|
|
153
153
|
declare function DataSection({ title, left, right, className, childrenClassName, children, }: DataSectionProps): react_jsx_runtime.JSX.Element;
|
|
154
154
|
|
|
155
155
|
interface DrawerProps {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
/** 드로어를 여는 트리거 요소 (필수) */
|
|
157
|
+
trigger: React$1.ReactNode;
|
|
158
|
+
/** 드로어 제목 (필수) */
|
|
158
159
|
title: React$1.ReactNode;
|
|
160
|
+
/** 컨텐츠 영역 (필수) */
|
|
159
161
|
children: React$1.ReactNode;
|
|
160
|
-
|
|
162
|
+
/** 외부에서 열림 상태를 직접 제어할 때 사용 (footer에서 닫기 등) */
|
|
163
|
+
open?: boolean;
|
|
164
|
+
onOpenChange?: (open: boolean) => void;
|
|
165
|
+
/** 제목 아래 부제목 */
|
|
166
|
+
description?: React$1.ReactNode;
|
|
167
|
+
/** 하단 고정 footer 영역 */
|
|
168
|
+
footer?: React$1.ReactNode;
|
|
169
|
+
shouldScaleBackground?: boolean;
|
|
161
170
|
className?: string;
|
|
162
171
|
}
|
|
163
|
-
declare function Drawer({ open,
|
|
172
|
+
declare function Drawer({ open, onOpenChange, trigger, title, description, footer, children, shouldScaleBackground, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
164
173
|
|
|
165
174
|
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
|
|
166
175
|
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
@@ -719,15 +728,28 @@ interface MultiSelectProps extends SelectBase {
|
|
|
719
728
|
type SelectProps = SingleSelectProps | MultiSelectProps;
|
|
720
729
|
declare function Select(props: SelectProps): react_jsx_runtime.JSX.Element;
|
|
721
730
|
|
|
731
|
+
type SheetSide = 'top' | 'right' | 'bottom' | 'left';
|
|
722
732
|
interface SheetProps {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
description?: string;
|
|
733
|
+
/** 시트 제목 — 문자열 또는 ReactNode (아이콘·뱃지 조합 등) (필수) */
|
|
734
|
+
title: React$1.ReactNode;
|
|
735
|
+
/** 콘텐츠 영역 (필수) */
|
|
727
736
|
children: React$1.ReactNode;
|
|
737
|
+
/** 시트를 여는 트리거 요소 — 외부 버튼으로 open을 제어할 경우 생략 가능 */
|
|
738
|
+
trigger?: React$1.ReactNode;
|
|
739
|
+
/** 외부에서 열림 상태를 직접 제어할 때 사용 (trigger 없이 open만으로 제어하는 경우 등) */
|
|
740
|
+
open?: boolean;
|
|
741
|
+
onOpenChange?: (open: boolean) => void;
|
|
742
|
+
/** 패널이 열리는 방향 (기본: right) */
|
|
743
|
+
side?: SheetSide;
|
|
744
|
+
/** 제목 아래 부제목 */
|
|
745
|
+
description?: React$1.ReactNode;
|
|
746
|
+
/** 하단 고정 footer 영역 */
|
|
728
747
|
footer?: React$1.ReactNode;
|
|
748
|
+
/** 우상단 X 닫기 버튼 표시 여부 (기본: true) */
|
|
749
|
+
showCloseButton?: boolean;
|
|
750
|
+
className?: string;
|
|
729
751
|
}
|
|
730
|
-
declare function Sheet({ open,
|
|
752
|
+
declare function Sheet({ open, onOpenChange, trigger, side, title, description, footer, showCloseButton, children, className, }: SheetProps): react_jsx_runtime.JSX.Element;
|
|
731
753
|
|
|
732
754
|
/**
|
|
733
755
|
* 링크 컴포넌트 타입. next/link의 Link, react-router의 Link 등을 그대로 전달할 수 있습니다.
|
|
@@ -847,6 +869,8 @@ declare function Stepper({ steps, currentStep, className }: StepperProps): react
|
|
|
847
869
|
interface TabItem<T extends string = string> {
|
|
848
870
|
value: T;
|
|
849
871
|
label: string;
|
|
872
|
+
/** 이 탭이 활성화됐을 때 탭 행 우측에 렌더링할 콘텐츠 (검색, 액션 버튼 등) */
|
|
873
|
+
rightContents?: ReactNode;
|
|
850
874
|
}
|
|
851
875
|
interface TabsProps<T extends string = string> {
|
|
852
876
|
allTabs: TabItem<T>[];
|
|
@@ -856,7 +880,7 @@ interface TabsProps<T extends string = string> {
|
|
|
856
880
|
* "pill" — 회색 배경 컨테이너 + 흰 배경 active (segment control 스타일)
|
|
857
881
|
* "underline" — 하단 밑줄 active (default)
|
|
858
882
|
*/
|
|
859
|
-
variant?:
|
|
883
|
+
variant?: 'pill' | 'underline';
|
|
860
884
|
/** 컨테이너를 w-full로 펼치고 각 탭 버튼을 균등 분할(flex-1)합니다 */
|
|
861
885
|
block?: boolean;
|
|
862
886
|
/** Tailwind height 클래스 (e.g. "h-[36px]"). 지정 시 내부 버튼 패딩도 자동 조정됩니다. */
|
|
@@ -959,9 +983,15 @@ interface PaginationProps {
|
|
|
959
983
|
previousLabel?: string;
|
|
960
984
|
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
961
985
|
nextLabel?: string;
|
|
986
|
+
/** 현재 페이지 크기. onPageSizeChange와 함께 사용하면 좌측에 Select가 표시됨. */
|
|
987
|
+
pageSize?: number;
|
|
988
|
+
/** 페이지 크기 변경 콜백. 제공 시 좌측에 페이지 크기 Select가 표시됨. */
|
|
989
|
+
onPageSizeChange?: (size: number) => void;
|
|
990
|
+
/** 페이지 크기 옵션. value는 숫자 문자열, label은 단위 포함 표시 텍스트. 예: [{ value: '10', label: '10개' }] */
|
|
991
|
+
pageSizeOptions?: SelectOption[];
|
|
962
992
|
className?: string;
|
|
963
993
|
}
|
|
964
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
994
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, pageSize, onPageSizeChange, pageSizeOptions, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
965
995
|
|
|
966
996
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
967
997
|
interface TableColumn<T> {
|
|
@@ -1042,11 +1072,16 @@ interface TableProps<T> {
|
|
|
1042
1072
|
*/
|
|
1043
1073
|
onSortingChange?: (sorting: SortingState) => void;
|
|
1044
1074
|
className?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* 설정 시 tbody 영역만 스크롤되고 thead가 상단에 고정됩니다.
|
|
1077
|
+
* CSS 값을 그대로 받습니다. 예: "calc(100dvh - 260px)", "400px"
|
|
1078
|
+
*/
|
|
1079
|
+
maxHeight?: string;
|
|
1045
1080
|
}
|
|
1046
1081
|
declare function SortIcon({ direction }: {
|
|
1047
1082
|
direction: SortDirection;
|
|
1048
1083
|
}): react_jsx_runtime.JSX.Element;
|
|
1049
|
-
declare function Table<T>({ columns, data, rowKey, pagination, defaultSorting, loading, enableRowSelection, rowSelection: rowSelectionProp, onRowSelectionChange, rowActions, onRowClick, onSortingChange, className, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare function Table<T>({ columns, data, rowKey, pagination, defaultSorting, loading, enableRowSelection, rowSelection: rowSelectionProp, onRowSelectionChange, rowActions, onRowClick, onSortingChange, className, maxHeight, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1050
1085
|
|
|
1051
1086
|
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
1052
1087
|
interface TooltipProps extends Pick<React$1.ComponentPropsWithoutRef<typeof Tooltip$1.Root>, 'open' | 'defaultOpen' | 'onOpenChange' | 'delayDuration'>, Omit<React$1.ComponentPropsWithoutRef<typeof Tooltip$1.Content>, 'children' | 'content'> {
|
|
@@ -1082,7 +1117,7 @@ declare function UserMessageBubble({ content }: {
|
|
|
1082
1117
|
* · delayDuration — hover → open 지연 시간 (ms)
|
|
1083
1118
|
* · skipDelayDuration — 빠르게 연속 이동 시 딜레이 스킵 임계치 (ms)
|
|
1084
1119
|
*/
|
|
1085
|
-
declare function
|
|
1120
|
+
declare function RyaiDsProvider({ children }: {
|
|
1086
1121
|
children: React.ReactNode;
|
|
1087
1122
|
}): react_jsx_runtime.JSX.Element;
|
|
1088
1123
|
|
|
@@ -1593,4 +1628,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1593
1628
|
className?: string;
|
|
1594
1629
|
}): react_jsx_runtime.JSX.Element;
|
|
1595
1630
|
|
|
1596
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgentBlogIcon, AgentCsIcon, AgentDataIcon, AgentHrIcon, AgentMailIcon, AgentTrendIcon, AiAgentIcon, AiBuilderIcon, AiCloudIcon, AiDatacenterIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlignJustifyIcon, AlignLeftIcon, ArrowDownIcon, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarSize, BADGE_VARIANT_STYLES, Badge, type BadgeProps, type BadgeVariant, BlockquoteIcon, BoldIcon, BookOpenIcon, BookUpIcon, Breadcrumb, Button, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, ChevronsUpDownIcon, ChoiceCardGroup, type ChoiceCardGroupProps, ChoiceCardItem, type ChoiceCardItemProps, CircleCheckFillIcon, CircleHelpIcon, CircleIndicator, type CircleIndicatorProps, CircleOutlineIcon, ClaudeIcon, CodeIcon, CodeSquareIcon, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleRoot, CollapsibleTrigger, type CollapsibleWorkspace, Combobox, type ComboboxOption, type ComboboxProps, CreditIcon, DataSection, type DataSectionProps, DatePicker, type DatePickerLocale, type DatePickerMode, type DatePickerProps, type DateRange, DeepSeekIcon, type DisabledDateRule, DownloadIcon, Drawer, type DrawerProps, DriveIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyTrayIcon, Field, FieldDivider, type FieldProps, FieldRow, type FieldRowProps, FieldSection, type FieldSectionProps, FileCodeIcon, FileSearchIcon, FileTypeCornerIcon, FolderAmberIcon, FolderBlueIcon, FolderClosedIcon, FolderGreenIcon, FolderVioletIcon, GeminiIcon, GoogleIcon, HangulFileIcon, Header, type HeaderNavItem, type HeaderProps, HeadingIcon, HtmlFileIcon, ICON_NODES, Icon, type IconProps, ImageIcon, ImportIcon, IndentIcon, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalicIcon, KbCard, type KbCardMetadataItem, type KbCardProps, KeyRoundIcon, type LanguageItem, LayersIcon, LayoutGridIcon, LineChartIcon, LinkIcon, ListIcon, ListOrderedIcon, MarkdownFileIcon, MarkdownMessage, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageCircleIcon, MessageFooter, type MessageFooterProps, MessagesSquareIcon, Modal, type ModalProps, MyPageIcon, type NavDropdownItem, type NotificationItem, NumberBadge, type NumberBadgeProps, OpenAiIcon, OutdentIcon, Pagination, type PaginationProps, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold,
|
|
1631
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgentBlogIcon, AgentCsIcon, AgentDataIcon, AgentHrIcon, AgentMailIcon, AgentTrendIcon, AiAgentIcon, AiBuilderIcon, AiCloudIcon, AiDatacenterIcon, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlignJustifyIcon, AlignLeftIcon, ArrowDownIcon, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, type AvatarProps, type AvatarSize, BADGE_VARIANT_STYLES, Badge, type BadgeProps, type BadgeVariant, BlockquoteIcon, BoldIcon, BookOpenIcon, BookUpIcon, Breadcrumb, Button, type ButtonProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, ChevronsUpDownIcon, ChoiceCardGroup, type ChoiceCardGroupProps, ChoiceCardItem, type ChoiceCardItemProps, CircleCheckFillIcon, CircleHelpIcon, CircleIndicator, type CircleIndicatorProps, CircleOutlineIcon, ClaudeIcon, CodeIcon, CodeSquareIcon, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleRoot, CollapsibleTrigger, type CollapsibleWorkspace, Combobox, type ComboboxOption, type ComboboxProps, CreditIcon, DataSection, type DataSectionProps, DatePicker, type DatePickerLocale, type DatePickerMode, type DatePickerProps, type DateRange, DeepSeekIcon, type DisabledDateRule, DownloadIcon, Drawer, type DrawerProps, DriveIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyTrayIcon, Field, FieldDivider, type FieldProps, FieldRow, type FieldRowProps, FieldSection, type FieldSectionProps, FileCodeIcon, FileSearchIcon, FileTypeCornerIcon, FolderAmberIcon, FolderBlueIcon, FolderClosedIcon, FolderGreenIcon, FolderVioletIcon, GeminiIcon, GoogleIcon, HangulFileIcon, Header, type HeaderNavItem, type HeaderProps, HeadingIcon, HtmlFileIcon, ICON_NODES, Icon, type IconProps, ImageIcon, ImportIcon, IndentIcon, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, ItalicIcon, KbCard, type KbCardMetadataItem, type KbCardProps, KeyRoundIcon, type LanguageItem, LayersIcon, LayoutGridIcon, LineChartIcon, LinkIcon, ListIcon, ListOrderedIcon, MarkdownFileIcon, MarkdownMessage, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MessageCircleIcon, MessageFooter, type MessageFooterProps, MessagesSquareIcon, Modal, type ModalProps, MyPageIcon, type NavDropdownItem, type NotificationItem, NumberBadge, type NumberBadgeProps, OpenAiIcon, OutdentIcon, Pagination, type PaginationProps, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold, RefreshCwIcon, RyaiDsProvider, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, type SheetProps, ShoppingBagIcon, Sidebar, SidebarLink, type SidebarMainMenuItem, type SidebarSubMenuItem, type SidebarUtilityItem, Skeleton, type SkeletonProps, SlideFileIcon, Slider, SmileIcon, type SortDirection, SortIcon, SparklesIcon, SquareCheckIcon, SquareCheckOutlineIcon, StarIcon, Stepper, type StepperProps, StrikethroughIcon, Switch, SwitchField, type SwitchFieldProps, type TabItem, Table, type TableColumn, type TablePaginationConfig, TablePropertiesIcon, type TableProps, type TableSortingItem, Tabs, type TabsProps, Toggle, ToggleGroup, type ToggleGroupItemData, type ToggleGroupProps, type ToggleProps, Tooltip, type TooltipProps, TooltipProvider, TooltipWithIcon, type TooltipWithIconProps, TrashIcon, UpstageIcon, type UserMenuSection, type UserMenuSectionItem, UserMessageBubble, WandSparklesIcon, WordFileIcon, buttonVariants, toggleBaseClasses, toggleSizeClasses };
|