@mondrianai/runyourai-design-system 0.0.15 → 0.0.17
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 +56 -11
- package/dist/index.d.ts +56 -11
- package/dist/index.js +967 -770
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +971 -774
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -314,6 +314,17 @@ type DateRange = {
|
|
|
314
314
|
start?: Date;
|
|
315
315
|
end?: Date;
|
|
316
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* A rule that disables one or more dates in the calendar:
|
|
319
|
+
* - `'past'` — all dates strictly before today
|
|
320
|
+
* - `'future'` — all dates strictly after today
|
|
321
|
+
* - `Date` — a specific single day
|
|
322
|
+
* - `{ start?, end? }` — an inclusive date range; omit either bound for an open-ended range
|
|
323
|
+
*/
|
|
324
|
+
type DisabledDateRule = 'past' | 'future' | Date | {
|
|
325
|
+
start?: Date;
|
|
326
|
+
end?: Date;
|
|
327
|
+
};
|
|
317
328
|
interface DatePickerProps {
|
|
318
329
|
/** Controlled value (date / offset modes) */
|
|
319
330
|
value?: Date;
|
|
@@ -333,7 +344,29 @@ interface DatePickerProps {
|
|
|
333
344
|
defaultRange?: DateRange;
|
|
334
345
|
/** Called when the selected range changes. Used when mode='range'. */
|
|
335
346
|
onRangeChange?: (range: DateRange) => void;
|
|
336
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* One or more rules that disable specific dates in the calendar.
|
|
349
|
+
*
|
|
350
|
+
* ```tsx
|
|
351
|
+
* // 오늘 이후 선택 불가
|
|
352
|
+
* disabledDates="future"
|
|
353
|
+
*
|
|
354
|
+
* // 특정 날짜 하루 비활성화
|
|
355
|
+
* disabledDates={new Date(2025, 5, 10)}
|
|
356
|
+
*
|
|
357
|
+
* // 복합 규칙
|
|
358
|
+
* disabledDates={[
|
|
359
|
+
* 'past',
|
|
360
|
+
* new Date(2025, 5, 3),
|
|
361
|
+
* { start: new Date(2025, 4, 1), end: new Date(2025, 4, 5) },
|
|
362
|
+
* ]}
|
|
363
|
+
* ```
|
|
364
|
+
*/
|
|
365
|
+
disabledDates?: DisabledDateRule | DisabledDateRule[];
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated Use `disabledDates="past"` instead.
|
|
368
|
+
* When true, dates before today cannot be selected.
|
|
369
|
+
*/
|
|
337
370
|
disablePast?: boolean;
|
|
338
371
|
locale?: DatePickerLocale;
|
|
339
372
|
/** Override the placeholder shown when no date is selected */
|
|
@@ -348,7 +381,7 @@ interface DatePickerProps {
|
|
|
348
381
|
showTodayLabel?: boolean;
|
|
349
382
|
disabled?: boolean;
|
|
350
383
|
}
|
|
351
|
-
declare function DatePicker({ value, defaultValue, onChange, mode, range, defaultRange, onRangeChange, disablePast, locale, placeholder, className, yearRange, showTodayLabel, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
384
|
+
declare function DatePicker({ value, defaultValue, onChange, mode, range, defaultRange, onRangeChange, disabledDates, disablePast, locale, placeholder, className, yearRange, showTodayLabel, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
352
385
|
|
|
353
386
|
interface FieldProps {
|
|
354
387
|
/** 필드 레이블 */
|
|
@@ -644,8 +677,10 @@ interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
644
677
|
onChange: (value: string) => void;
|
|
645
678
|
placeholder?: string;
|
|
646
679
|
className?: string;
|
|
680
|
+
/** onChange를 지연 호출할 ms. 지정하면 내부 draft 상태로 즉시 표시하고, 입력 완료 후 지연 커밋. */
|
|
681
|
+
debounce?: number;
|
|
647
682
|
}
|
|
648
|
-
declare function SearchInput({ value, onChange, placeholder, className, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
683
|
+
declare function SearchInput({ value, onChange, placeholder, className, debounce: debounceMs, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
649
684
|
|
|
650
685
|
interface SelectOption {
|
|
651
686
|
value: string;
|
|
@@ -911,6 +946,23 @@ interface SwitchFieldProps extends React__default.ComponentPropsWithoutRef<typeo
|
|
|
911
946
|
}
|
|
912
947
|
declare function SwitchField({ label, description, className, id, ...props }: SwitchFieldProps): react_jsx_runtime.JSX.Element;
|
|
913
948
|
|
|
949
|
+
interface PaginationProps {
|
|
950
|
+
currentPage: number;
|
|
951
|
+
totalPages: number;
|
|
952
|
+
onPageChange: (page: number) => void;
|
|
953
|
+
/**
|
|
954
|
+
* true이면 이전/다음 버튼을 아이콘만 표시 (라벨 생략).
|
|
955
|
+
* 기본값 false — previousLabel/nextLabel이 표시됨.
|
|
956
|
+
*/
|
|
957
|
+
simple?: boolean;
|
|
958
|
+
/** 이전 버튼 라벨. simple=true 이면 무시됨. 기본값 "이전" */
|
|
959
|
+
previousLabel?: string;
|
|
960
|
+
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
961
|
+
nextLabel?: string;
|
|
962
|
+
className?: string;
|
|
963
|
+
}
|
|
964
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
965
|
+
|
|
914
966
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
915
967
|
interface TableColumn<T> {
|
|
916
968
|
key: string;
|
|
@@ -994,13 +1046,6 @@ interface TableProps<T> {
|
|
|
994
1046
|
declare function SortIcon({ direction }: {
|
|
995
1047
|
direction: SortDirection;
|
|
996
1048
|
}): react_jsx_runtime.JSX.Element;
|
|
997
|
-
interface PaginationProps {
|
|
998
|
-
currentPage: number;
|
|
999
|
-
totalPages: number;
|
|
1000
|
-
onPageChange: (page: number) => void;
|
|
1001
|
-
className?: string;
|
|
1002
|
-
}
|
|
1003
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1004
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;
|
|
1005
1050
|
|
|
1006
1051
|
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
@@ -1548,4 +1593,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1548
1593
|
className?: string;
|
|
1549
1594
|
}): react_jsx_runtime.JSX.Element;
|
|
1550
1595
|
|
|
1551
|
-
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, 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, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold, Providers, RefreshCwIcon, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, 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 };
|
|
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, Providers, RefreshCwIcon, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, 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
|
@@ -314,6 +314,17 @@ type DateRange = {
|
|
|
314
314
|
start?: Date;
|
|
315
315
|
end?: Date;
|
|
316
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* A rule that disables one or more dates in the calendar:
|
|
319
|
+
* - `'past'` — all dates strictly before today
|
|
320
|
+
* - `'future'` — all dates strictly after today
|
|
321
|
+
* - `Date` — a specific single day
|
|
322
|
+
* - `{ start?, end? }` — an inclusive date range; omit either bound for an open-ended range
|
|
323
|
+
*/
|
|
324
|
+
type DisabledDateRule = 'past' | 'future' | Date | {
|
|
325
|
+
start?: Date;
|
|
326
|
+
end?: Date;
|
|
327
|
+
};
|
|
317
328
|
interface DatePickerProps {
|
|
318
329
|
/** Controlled value (date / offset modes) */
|
|
319
330
|
value?: Date;
|
|
@@ -333,7 +344,29 @@ interface DatePickerProps {
|
|
|
333
344
|
defaultRange?: DateRange;
|
|
334
345
|
/** Called when the selected range changes. Used when mode='range'. */
|
|
335
346
|
onRangeChange?: (range: DateRange) => void;
|
|
336
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* One or more rules that disable specific dates in the calendar.
|
|
349
|
+
*
|
|
350
|
+
* ```tsx
|
|
351
|
+
* // 오늘 이후 선택 불가
|
|
352
|
+
* disabledDates="future"
|
|
353
|
+
*
|
|
354
|
+
* // 특정 날짜 하루 비활성화
|
|
355
|
+
* disabledDates={new Date(2025, 5, 10)}
|
|
356
|
+
*
|
|
357
|
+
* // 복합 규칙
|
|
358
|
+
* disabledDates={[
|
|
359
|
+
* 'past',
|
|
360
|
+
* new Date(2025, 5, 3),
|
|
361
|
+
* { start: new Date(2025, 4, 1), end: new Date(2025, 4, 5) },
|
|
362
|
+
* ]}
|
|
363
|
+
* ```
|
|
364
|
+
*/
|
|
365
|
+
disabledDates?: DisabledDateRule | DisabledDateRule[];
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated Use `disabledDates="past"` instead.
|
|
368
|
+
* When true, dates before today cannot be selected.
|
|
369
|
+
*/
|
|
337
370
|
disablePast?: boolean;
|
|
338
371
|
locale?: DatePickerLocale;
|
|
339
372
|
/** Override the placeholder shown when no date is selected */
|
|
@@ -348,7 +381,7 @@ interface DatePickerProps {
|
|
|
348
381
|
showTodayLabel?: boolean;
|
|
349
382
|
disabled?: boolean;
|
|
350
383
|
}
|
|
351
|
-
declare function DatePicker({ value, defaultValue, onChange, mode, range, defaultRange, onRangeChange, disablePast, locale, placeholder, className, yearRange, showTodayLabel, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
384
|
+
declare function DatePicker({ value, defaultValue, onChange, mode, range, defaultRange, onRangeChange, disabledDates, disablePast, locale, placeholder, className, yearRange, showTodayLabel, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
352
385
|
|
|
353
386
|
interface FieldProps {
|
|
354
387
|
/** 필드 레이블 */
|
|
@@ -644,8 +677,10 @@ interface SearchInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
|
|
|
644
677
|
onChange: (value: string) => void;
|
|
645
678
|
placeholder?: string;
|
|
646
679
|
className?: string;
|
|
680
|
+
/** onChange를 지연 호출할 ms. 지정하면 내부 draft 상태로 즉시 표시하고, 입력 완료 후 지연 커밋. */
|
|
681
|
+
debounce?: number;
|
|
647
682
|
}
|
|
648
|
-
declare function SearchInput({ value, onChange, placeholder, className, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
683
|
+
declare function SearchInput({ value, onChange, placeholder, className, debounce: debounceMs, ...props }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
649
684
|
|
|
650
685
|
interface SelectOption {
|
|
651
686
|
value: string;
|
|
@@ -911,6 +946,23 @@ interface SwitchFieldProps extends React__default.ComponentPropsWithoutRef<typeo
|
|
|
911
946
|
}
|
|
912
947
|
declare function SwitchField({ label, description, className, id, ...props }: SwitchFieldProps): react_jsx_runtime.JSX.Element;
|
|
913
948
|
|
|
949
|
+
interface PaginationProps {
|
|
950
|
+
currentPage: number;
|
|
951
|
+
totalPages: number;
|
|
952
|
+
onPageChange: (page: number) => void;
|
|
953
|
+
/**
|
|
954
|
+
* true이면 이전/다음 버튼을 아이콘만 표시 (라벨 생략).
|
|
955
|
+
* 기본값 false — previousLabel/nextLabel이 표시됨.
|
|
956
|
+
*/
|
|
957
|
+
simple?: boolean;
|
|
958
|
+
/** 이전 버튼 라벨. simple=true 이면 무시됨. 기본값 "이전" */
|
|
959
|
+
previousLabel?: string;
|
|
960
|
+
/** 다음 버튼 라벨. simple=true 이면 무시됨. 기본값 "다음" */
|
|
961
|
+
nextLabel?: string;
|
|
962
|
+
className?: string;
|
|
963
|
+
}
|
|
964
|
+
declare function Pagination({ currentPage, totalPages, onPageChange, simple, previousLabel, nextLabel, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
965
|
+
|
|
914
966
|
type SortDirection = 'ASC' | 'DESC' | null;
|
|
915
967
|
interface TableColumn<T> {
|
|
916
968
|
key: string;
|
|
@@ -994,13 +1046,6 @@ interface TableProps<T> {
|
|
|
994
1046
|
declare function SortIcon({ direction }: {
|
|
995
1047
|
direction: SortDirection;
|
|
996
1048
|
}): react_jsx_runtime.JSX.Element;
|
|
997
|
-
interface PaginationProps {
|
|
998
|
-
currentPage: number;
|
|
999
|
-
totalPages: number;
|
|
1000
|
-
onPageChange: (page: number) => void;
|
|
1001
|
-
className?: string;
|
|
1002
|
-
}
|
|
1003
|
-
declare function Pagination({ currentPage, totalPages, onPageChange, className, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
1004
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;
|
|
1005
1050
|
|
|
1006
1051
|
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
@@ -1548,4 +1593,4 @@ declare function WordFileIcon({ className }: {
|
|
|
1548
1593
|
className?: string;
|
|
1549
1594
|
}): react_jsx_runtime.JSX.Element;
|
|
1550
1595
|
|
|
1551
|
-
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, 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, PanelLeftIcon, PdfFileIcon, PenLineIcon, PencilLineIcon, PresentationIcon, Progress, type ProgressProps, type ProgressThreshold, Providers, RefreshCwIcon, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, 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 };
|
|
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, Providers, RefreshCwIcon, RyaiLogoIcon, SearchInput, type SearchInputProps, SegmentedControl, Select, type SelectGroup, type SelectOption, type SelectProps, Sheet, SheetFileIcon, 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 };
|