@mondrianai/runyourai-design-system 0.0.18 → 0.0.20
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 +51 -30
- package/dist/index.d.ts +51 -30
- package/dist/index.js +804 -786
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +906 -874
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1,
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$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';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -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> {
|
|
@@ -171,28 +171,40 @@ interface DrawerProps {
|
|
|
171
171
|
}
|
|
172
172
|
declare function Drawer({ open, onOpenChange, trigger, title, description, footer, children, shouldScaleBackground, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
174
|
+
type DropdownMenuItemConfig = {
|
|
175
|
+
type?: 'default' | 'checkbox' | 'radio';
|
|
176
|
+
label: string;
|
|
177
|
+
/** radio 아이템의 선택값. 미지정 시 label을 값으로 사용 */
|
|
178
|
+
value?: string;
|
|
179
|
+
icon?: React$1.ReactNode;
|
|
180
|
+
onClick?: () => void;
|
|
181
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
182
|
+
checked?: boolean;
|
|
183
|
+
disabled?: boolean;
|
|
184
|
+
variant?: 'default' | 'destructive';
|
|
185
|
+
shortcut?: string;
|
|
186
|
+
tooltip?: string;
|
|
187
|
+
/** 지정 시 해당 아이템은 서브 메뉴 트리거로 렌더링 */
|
|
188
|
+
subGroups?: DropdownMenuGroupConfig[];
|
|
189
|
+
};
|
|
190
|
+
type DropdownMenuGroupConfig = {
|
|
191
|
+
label?: string;
|
|
192
|
+
items: DropdownMenuItemConfig[];
|
|
193
|
+
separator?: boolean;
|
|
194
|
+
/** radio 그룹의 현재 선택값 (controlled) */
|
|
195
|
+
radioValue?: string;
|
|
196
|
+
onRadioValueChange?: (value: string) => void;
|
|
197
|
+
};
|
|
198
|
+
interface DropdownMenuProps {
|
|
199
|
+
trigger: React$1.ReactNode;
|
|
200
|
+
groups: DropdownMenuGroupConfig[];
|
|
201
|
+
open?: boolean;
|
|
202
|
+
onOpenChange?: (open: boolean) => void;
|
|
203
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
204
|
+
align?: 'start' | 'center' | 'end';
|
|
205
|
+
className?: string;
|
|
206
|
+
}
|
|
207
|
+
declare function DropdownMenu({ trigger, groups, open, onOpenChange, side, align, className, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
196
208
|
|
|
197
209
|
interface EmptyProps {
|
|
198
210
|
image?: React$1.ReactNode;
|
|
@@ -783,6 +795,7 @@ type SidebarMainMenuItem = {
|
|
|
783
795
|
href: string;
|
|
784
796
|
icon: React$1.ReactNode;
|
|
785
797
|
isActive?: boolean;
|
|
798
|
+
disabled?: boolean;
|
|
786
799
|
onClick?: () => void;
|
|
787
800
|
onHover?: (e: React$1.MouseEvent<HTMLElement>) => void;
|
|
788
801
|
subMenus?: SidebarSubMenuItem[];
|
|
@@ -869,6 +882,8 @@ declare function Stepper({ steps, currentStep, className }: StepperProps): react
|
|
|
869
882
|
interface TabItem<T extends string = string> {
|
|
870
883
|
value: T;
|
|
871
884
|
label: string;
|
|
885
|
+
/** 이 탭이 활성화됐을 때 탭 행 우측에 렌더링할 콘텐츠 (검색, 액션 버튼 등) */
|
|
886
|
+
rightContents?: ReactNode;
|
|
872
887
|
}
|
|
873
888
|
interface TabsProps<T extends string = string> {
|
|
874
889
|
allTabs: TabItem<T>[];
|
|
@@ -878,7 +893,7 @@ interface TabsProps<T extends string = string> {
|
|
|
878
893
|
* "pill" — 회색 배경 컨테이너 + 흰 배경 active (segment control 스타일)
|
|
879
894
|
* "underline" — 하단 밑줄 active (default)
|
|
880
895
|
*/
|
|
881
|
-
variant?:
|
|
896
|
+
variant?: 'pill' | 'underline';
|
|
882
897
|
/** 컨테이너를 w-full로 펼치고 각 탭 버튼을 균등 분할(flex-1)합니다 */
|
|
883
898
|
block?: boolean;
|
|
884
899
|
/** Tailwind height 클래스 (e.g. "h-[36px]"). 지정 시 내부 버튼 패딩도 자동 조정됩니다. */
|
|
@@ -981,9 +996,15 @@ interface PaginationProps {
|
|
|
981
996
|
previousLabel?: string;
|
|
982
997
|
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
983
998
|
nextLabel?: string;
|
|
999
|
+
/** 현재 페이지 크기. onPageSizeChange와 함께 사용하면 좌측에 Select가 표시됨. */
|
|
1000
|
+
pageSize?: number;
|
|
1001
|
+
/** 페이지 크기 변경 콜백. 제공 시 좌측에 페이지 크기 Select가 표시됨. */
|
|
1002
|
+
onPageSizeChange?: (size: number) => void;
|
|
1003
|
+
/** 페이지 크기 옵션. value는 숫자 문자열, label은 단위 포함 표시 텍스트. 예: [{ value: '10', label: '10개' }] */
|
|
1004
|
+
pageSizeOptions?: SelectOption[];
|
|
984
1005
|
className?: string;
|
|
985
1006
|
}
|
|
986
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1007
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, pageSize, onPageSizeChange, pageSizeOptions, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
987
1008
|
|
|
988
1009
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
989
1010
|
interface TableColumn<T> {
|
|
@@ -1109,7 +1130,7 @@ declare function UserMessageBubble({ content }: {
|
|
|
1109
1130
|
* · delayDuration — hover → open 지연 시간 (ms)
|
|
1110
1131
|
* · skipDelayDuration — 빠르게 연속 이동 시 딜레이 스킵 임계치 (ms)
|
|
1111
1132
|
*/
|
|
1112
|
-
declare function
|
|
1133
|
+
declare function RyaiDsProvider({ children }: {
|
|
1113
1134
|
children: React.ReactNode;
|
|
1114
1135
|
}): react_jsx_runtime.JSX.Element;
|
|
1115
1136
|
|
|
@@ -1620,4 +1641,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1620
1641
|
className?: string;
|
|
1621
1642
|
}): react_jsx_runtime.JSX.Element;
|
|
1622
1643
|
|
|
1623
|
-
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,
|
|
1644
|
+
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, type DropdownMenuGroupConfig, type DropdownMenuItemConfig, type DropdownMenuProps, 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,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1,
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$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';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -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> {
|
|
@@ -171,28 +171,40 @@ interface DrawerProps {
|
|
|
171
171
|
}
|
|
172
172
|
declare function Drawer({ open, onOpenChange, trigger, title, description, footer, children, shouldScaleBackground, className, }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
173
173
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
174
|
+
type DropdownMenuItemConfig = {
|
|
175
|
+
type?: 'default' | 'checkbox' | 'radio';
|
|
176
|
+
label: string;
|
|
177
|
+
/** radio 아이템의 선택값. 미지정 시 label을 값으로 사용 */
|
|
178
|
+
value?: string;
|
|
179
|
+
icon?: React$1.ReactNode;
|
|
180
|
+
onClick?: () => void;
|
|
181
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
182
|
+
checked?: boolean;
|
|
183
|
+
disabled?: boolean;
|
|
184
|
+
variant?: 'default' | 'destructive';
|
|
185
|
+
shortcut?: string;
|
|
186
|
+
tooltip?: string;
|
|
187
|
+
/** 지정 시 해당 아이템은 서브 메뉴 트리거로 렌더링 */
|
|
188
|
+
subGroups?: DropdownMenuGroupConfig[];
|
|
189
|
+
};
|
|
190
|
+
type DropdownMenuGroupConfig = {
|
|
191
|
+
label?: string;
|
|
192
|
+
items: DropdownMenuItemConfig[];
|
|
193
|
+
separator?: boolean;
|
|
194
|
+
/** radio 그룹의 현재 선택값 (controlled) */
|
|
195
|
+
radioValue?: string;
|
|
196
|
+
onRadioValueChange?: (value: string) => void;
|
|
197
|
+
};
|
|
198
|
+
interface DropdownMenuProps {
|
|
199
|
+
trigger: React$1.ReactNode;
|
|
200
|
+
groups: DropdownMenuGroupConfig[];
|
|
201
|
+
open?: boolean;
|
|
202
|
+
onOpenChange?: (open: boolean) => void;
|
|
203
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
204
|
+
align?: 'start' | 'center' | 'end';
|
|
205
|
+
className?: string;
|
|
206
|
+
}
|
|
207
|
+
declare function DropdownMenu({ trigger, groups, open, onOpenChange, side, align, className, }: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
196
208
|
|
|
197
209
|
interface EmptyProps {
|
|
198
210
|
image?: React$1.ReactNode;
|
|
@@ -783,6 +795,7 @@ type SidebarMainMenuItem = {
|
|
|
783
795
|
href: string;
|
|
784
796
|
icon: React$1.ReactNode;
|
|
785
797
|
isActive?: boolean;
|
|
798
|
+
disabled?: boolean;
|
|
786
799
|
onClick?: () => void;
|
|
787
800
|
onHover?: (e: React$1.MouseEvent<HTMLElement>) => void;
|
|
788
801
|
subMenus?: SidebarSubMenuItem[];
|
|
@@ -869,6 +882,8 @@ declare function Stepper({ steps, currentStep, className }: StepperProps): react
|
|
|
869
882
|
interface TabItem<T extends string = string> {
|
|
870
883
|
value: T;
|
|
871
884
|
label: string;
|
|
885
|
+
/** 이 탭이 활성화됐을 때 탭 행 우측에 렌더링할 콘텐츠 (검색, 액션 버튼 등) */
|
|
886
|
+
rightContents?: ReactNode;
|
|
872
887
|
}
|
|
873
888
|
interface TabsProps<T extends string = string> {
|
|
874
889
|
allTabs: TabItem<T>[];
|
|
@@ -878,7 +893,7 @@ interface TabsProps<T extends string = string> {
|
|
|
878
893
|
* "pill" — 회색 배경 컨테이너 + 흰 배경 active (segment control 스타일)
|
|
879
894
|
* "underline" — 하단 밑줄 active (default)
|
|
880
895
|
*/
|
|
881
|
-
variant?:
|
|
896
|
+
variant?: 'pill' | 'underline';
|
|
882
897
|
/** 컨테이너를 w-full로 펼치고 각 탭 버튼을 균등 분할(flex-1)합니다 */
|
|
883
898
|
block?: boolean;
|
|
884
899
|
/** Tailwind height 클래스 (e.g. "h-[36px]"). 지정 시 내부 버튼 패딩도 자동 조정됩니다. */
|
|
@@ -981,9 +996,15 @@ interface PaginationProps {
|
|
|
981
996
|
previousLabel?: string;
|
|
982
997
|
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
983
998
|
nextLabel?: string;
|
|
999
|
+
/** 현재 페이지 크기. onPageSizeChange와 함께 사용하면 좌측에 Select가 표시됨. */
|
|
1000
|
+
pageSize?: number;
|
|
1001
|
+
/** 페이지 크기 변경 콜백. 제공 시 좌측에 페이지 크기 Select가 표시됨. */
|
|
1002
|
+
onPageSizeChange?: (size: number) => void;
|
|
1003
|
+
/** 페이지 크기 옵션. value는 숫자 문자열, label은 단위 포함 표시 텍스트. 예: [{ value: '10', label: '10개' }] */
|
|
1004
|
+
pageSizeOptions?: SelectOption[];
|
|
984
1005
|
className?: string;
|
|
985
1006
|
}
|
|
986
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1007
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, pageSize, onPageSizeChange, pageSizeOptions, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
987
1008
|
|
|
988
1009
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
989
1010
|
interface TableColumn<T> {
|
|
@@ -1109,7 +1130,7 @@ declare function UserMessageBubble({ content }: {
|
|
|
1109
1130
|
* · delayDuration — hover → open 지연 시간 (ms)
|
|
1110
1131
|
* · skipDelayDuration — 빠르게 연속 이동 시 딜레이 스킵 임계치 (ms)
|
|
1111
1132
|
*/
|
|
1112
|
-
declare function
|
|
1133
|
+
declare function RyaiDsProvider({ children }: {
|
|
1113
1134
|
children: React.ReactNode;
|
|
1114
1135
|
}): react_jsx_runtime.JSX.Element;
|
|
1115
1136
|
|
|
@@ -1620,4 +1641,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1620
1641
|
className?: string;
|
|
1621
1642
|
}): react_jsx_runtime.JSX.Element;
|
|
1622
1643
|
|
|
1623
|
-
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,
|
|
1644
|
+
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, type DropdownMenuGroupConfig, type DropdownMenuItemConfig, type DropdownMenuProps, 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 };
|