@underverse-ui/underverse 1.0.34 → 1.0.35
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/AGENTS.md +15 -13
- package/CHANGELOG.md +22 -0
- package/README.md +37 -28
- package/agent-recipes.json +5 -5
- package/api-reference.json +30 -2
- package/dist/index.cjs +2734 -2580
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -15
- package/dist/index.d.ts +49 -15
- package/dist/index.js +2182 -2030
- package/dist/index.js.map +1 -1
- package/llms.txt +7 -11
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -237,6 +237,8 @@ interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
237
237
|
description?: string;
|
|
238
238
|
variant?: "default" | "filled" | "outlined";
|
|
239
239
|
size?: "sm" | "md" | "lg";
|
|
240
|
+
/** Enable OverlayScrollbars on textarea viewport. Default: false */
|
|
241
|
+
useOverlayScrollbar?: boolean;
|
|
240
242
|
}
|
|
241
243
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
242
244
|
|
|
@@ -735,9 +737,44 @@ interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
735
737
|
variant?: "default" | "muted" | "primary" | "accent";
|
|
736
738
|
/** Show thin border like Card */
|
|
737
739
|
outlined?: boolean;
|
|
740
|
+
/** Enable OverlayScrollbars for this scroll viewport. Default: false */
|
|
741
|
+
useOverlayScrollbar?: boolean;
|
|
738
742
|
}
|
|
739
743
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
740
744
|
|
|
745
|
+
interface OverlayScrollbarBehavior {
|
|
746
|
+
enabled: boolean;
|
|
747
|
+
theme: string;
|
|
748
|
+
visibility: "visible" | "hidden" | "auto";
|
|
749
|
+
autoHide: "never" | "scroll" | "leave" | "move";
|
|
750
|
+
autoHideDelay: number;
|
|
751
|
+
dragScroll: boolean;
|
|
752
|
+
clickScroll: boolean;
|
|
753
|
+
/**
|
|
754
|
+
* Exclude selector list applied both on current node and ancestors.
|
|
755
|
+
* `html` and `body` are always skipped even if excluded list changes.
|
|
756
|
+
*/
|
|
757
|
+
exclude: string;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
interface OverlayScrollbarProviderProps extends Partial<OverlayScrollbarBehavior> {
|
|
761
|
+
children?: React__default.ReactNode;
|
|
762
|
+
/** @deprecated Global selector scanning is removed. Kept only for backward compatibility. */
|
|
763
|
+
selector?: string;
|
|
764
|
+
}
|
|
765
|
+
interface UseOverlayScrollbarTargetOptions extends Partial<OverlayScrollbarBehavior> {
|
|
766
|
+
}
|
|
767
|
+
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, exclude, selector, children, }?: OverlayScrollbarProviderProps): react_jsx_runtime.JSX.Element;
|
|
768
|
+
declare function useOverlayScrollbarTarget<T extends HTMLElement>(targetRef: React__default.RefObject<T | null>, options?: UseOverlayScrollbarTargetOptions): void;
|
|
769
|
+
|
|
770
|
+
interface OverlayScrollAreaProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
771
|
+
viewportClassName?: string;
|
|
772
|
+
viewportProps?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
773
|
+
enabled?: boolean;
|
|
774
|
+
overlayScrollbarOptions?: Omit<UseOverlayScrollbarTargetOptions, "enabled">;
|
|
775
|
+
}
|
|
776
|
+
declare const OverlayScrollArea: React__default.ForwardRefExoticComponent<OverlayScrollAreaProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
777
|
+
|
|
741
778
|
interface DatePickerProps {
|
|
742
779
|
id?: string;
|
|
743
780
|
value?: Date;
|
|
@@ -1430,6 +1467,8 @@ interface ComboboxProps {
|
|
|
1430
1467
|
renderValue?: (option: ComboboxOption) => React$1.ReactNode;
|
|
1431
1468
|
error?: string;
|
|
1432
1469
|
helperText?: string;
|
|
1470
|
+
/** Enable OverlayScrollbars on dropdown options list. Default: false */
|
|
1471
|
+
useOverlayScrollbar?: boolean;
|
|
1433
1472
|
}
|
|
1434
1473
|
declare const Combobox: React$1.FC<ComboboxProps>;
|
|
1435
1474
|
|
|
@@ -1473,6 +1512,8 @@ interface MultiComboboxProps {
|
|
|
1473
1512
|
error?: string;
|
|
1474
1513
|
helperText?: string;
|
|
1475
1514
|
maxTagsVisible?: number;
|
|
1515
|
+
/** Enable OverlayScrollbars on dropdown options list. Default: false */
|
|
1516
|
+
useOverlayScrollbar?: boolean;
|
|
1476
1517
|
}
|
|
1477
1518
|
declare const MultiCombobox: React$1.FC<MultiComboboxProps>;
|
|
1478
1519
|
|
|
@@ -1607,6 +1648,8 @@ interface CategoryTreeSelectBaseProps {
|
|
|
1607
1648
|
onNodeClick?: (node: Category) => void;
|
|
1608
1649
|
/** Custom class for the tree container */
|
|
1609
1650
|
className?: string;
|
|
1651
|
+
/** Enable OverlayScrollbars for dropdown tree viewport. Default: false */
|
|
1652
|
+
useOverlayScrollbar?: boolean;
|
|
1610
1653
|
}
|
|
1611
1654
|
interface CategoryTreeSelectMultiProps extends CategoryTreeSelectBaseProps {
|
|
1612
1655
|
singleSelect?: false;
|
|
@@ -2308,19 +2351,6 @@ interface LoadingBarProps {
|
|
|
2308
2351
|
}
|
|
2309
2352
|
declare const LoadingBar: React__default.FC<LoadingBarProps>;
|
|
2310
2353
|
|
|
2311
|
-
interface OverlayScrollbarProviderProps {
|
|
2312
|
-
enabled?: boolean;
|
|
2313
|
-
theme?: string;
|
|
2314
|
-
visibility?: "visible" | "hidden" | "auto";
|
|
2315
|
-
autoHide?: "never" | "scroll" | "leave" | "move";
|
|
2316
|
-
autoHideDelay?: number;
|
|
2317
|
-
dragScroll?: boolean;
|
|
2318
|
-
clickScroll?: boolean;
|
|
2319
|
-
selector?: string;
|
|
2320
|
-
exclude?: string;
|
|
2321
|
-
}
|
|
2322
|
-
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, selector, exclude, }?: OverlayScrollbarProviderProps): null;
|
|
2323
|
-
|
|
2324
2354
|
type FilterType = "text" | "select" | "date";
|
|
2325
2355
|
type DataTableSize = "sm" | "md" | "lg";
|
|
2326
2356
|
type DataTableDensity = "compact" | "normal" | "comfortable";
|
|
@@ -2398,14 +2428,18 @@ interface DataTableProps<T> {
|
|
|
2398
2428
|
stickyHeader?: boolean;
|
|
2399
2429
|
/** Chiều cao tối đa của bảng khi bật stickyHeader (mặc định: 500px) */
|
|
2400
2430
|
maxHeight?: number | string;
|
|
2431
|
+
/** Enable OverlayScrollbars on table viewport. Default: false */
|
|
2432
|
+
useOverlayScrollbar?: boolean;
|
|
2401
2433
|
labels?: DataTableLabels;
|
|
2402
2434
|
}
|
|
2403
2435
|
|
|
2404
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2436
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, useOverlayScrollbar, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2405
2437
|
|
|
2406
2438
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
2407
2439
|
containerClassName?: string;
|
|
2408
2440
|
disableContainer?: boolean;
|
|
2441
|
+
/** Enable OverlayScrollbars on table container. Default: false */
|
|
2442
|
+
useOverlayScrollbar?: boolean;
|
|
2409
2443
|
}
|
|
2410
2444
|
declare const Table: React__default.ForwardRefExoticComponent<TableProps & React__default.RefAttributes<HTMLTableElement>>;
|
|
2411
2445
|
interface TableHeaderProps extends React__default.HTMLAttributes<HTMLTableSectionElement> {
|
|
@@ -3688,4 +3722,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
3688
3722
|
};
|
|
3689
3723
|
};
|
|
3690
3724
|
|
|
3691
|
-
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineDayRangeMode, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineSize, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorInlineUploadedItem, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
3725
|
+
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineDayRangeMode, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineSize, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorInlineUploadedItem, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
package/dist/index.d.ts
CHANGED
|
@@ -237,6 +237,8 @@ interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
237
237
|
description?: string;
|
|
238
238
|
variant?: "default" | "filled" | "outlined";
|
|
239
239
|
size?: "sm" | "md" | "lg";
|
|
240
|
+
/** Enable OverlayScrollbars on textarea viewport. Default: false */
|
|
241
|
+
useOverlayScrollbar?: boolean;
|
|
240
242
|
}
|
|
241
243
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
242
244
|
|
|
@@ -735,9 +737,44 @@ interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
735
737
|
variant?: "default" | "muted" | "primary" | "accent";
|
|
736
738
|
/** Show thin border like Card */
|
|
737
739
|
outlined?: boolean;
|
|
740
|
+
/** Enable OverlayScrollbars for this scroll viewport. Default: false */
|
|
741
|
+
useOverlayScrollbar?: boolean;
|
|
738
742
|
}
|
|
739
743
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
740
744
|
|
|
745
|
+
interface OverlayScrollbarBehavior {
|
|
746
|
+
enabled: boolean;
|
|
747
|
+
theme: string;
|
|
748
|
+
visibility: "visible" | "hidden" | "auto";
|
|
749
|
+
autoHide: "never" | "scroll" | "leave" | "move";
|
|
750
|
+
autoHideDelay: number;
|
|
751
|
+
dragScroll: boolean;
|
|
752
|
+
clickScroll: boolean;
|
|
753
|
+
/**
|
|
754
|
+
* Exclude selector list applied both on current node and ancestors.
|
|
755
|
+
* `html` and `body` are always skipped even if excluded list changes.
|
|
756
|
+
*/
|
|
757
|
+
exclude: string;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
interface OverlayScrollbarProviderProps extends Partial<OverlayScrollbarBehavior> {
|
|
761
|
+
children?: React__default.ReactNode;
|
|
762
|
+
/** @deprecated Global selector scanning is removed. Kept only for backward compatibility. */
|
|
763
|
+
selector?: string;
|
|
764
|
+
}
|
|
765
|
+
interface UseOverlayScrollbarTargetOptions extends Partial<OverlayScrollbarBehavior> {
|
|
766
|
+
}
|
|
767
|
+
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, exclude, selector, children, }?: OverlayScrollbarProviderProps): react_jsx_runtime.JSX.Element;
|
|
768
|
+
declare function useOverlayScrollbarTarget<T extends HTMLElement>(targetRef: React__default.RefObject<T | null>, options?: UseOverlayScrollbarTargetOptions): void;
|
|
769
|
+
|
|
770
|
+
interface OverlayScrollAreaProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
771
|
+
viewportClassName?: string;
|
|
772
|
+
viewportProps?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
773
|
+
enabled?: boolean;
|
|
774
|
+
overlayScrollbarOptions?: Omit<UseOverlayScrollbarTargetOptions, "enabled">;
|
|
775
|
+
}
|
|
776
|
+
declare const OverlayScrollArea: React__default.ForwardRefExoticComponent<OverlayScrollAreaProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
777
|
+
|
|
741
778
|
interface DatePickerProps {
|
|
742
779
|
id?: string;
|
|
743
780
|
value?: Date;
|
|
@@ -1430,6 +1467,8 @@ interface ComboboxProps {
|
|
|
1430
1467
|
renderValue?: (option: ComboboxOption) => React$1.ReactNode;
|
|
1431
1468
|
error?: string;
|
|
1432
1469
|
helperText?: string;
|
|
1470
|
+
/** Enable OverlayScrollbars on dropdown options list. Default: false */
|
|
1471
|
+
useOverlayScrollbar?: boolean;
|
|
1433
1472
|
}
|
|
1434
1473
|
declare const Combobox: React$1.FC<ComboboxProps>;
|
|
1435
1474
|
|
|
@@ -1473,6 +1512,8 @@ interface MultiComboboxProps {
|
|
|
1473
1512
|
error?: string;
|
|
1474
1513
|
helperText?: string;
|
|
1475
1514
|
maxTagsVisible?: number;
|
|
1515
|
+
/** Enable OverlayScrollbars on dropdown options list. Default: false */
|
|
1516
|
+
useOverlayScrollbar?: boolean;
|
|
1476
1517
|
}
|
|
1477
1518
|
declare const MultiCombobox: React$1.FC<MultiComboboxProps>;
|
|
1478
1519
|
|
|
@@ -1607,6 +1648,8 @@ interface CategoryTreeSelectBaseProps {
|
|
|
1607
1648
|
onNodeClick?: (node: Category) => void;
|
|
1608
1649
|
/** Custom class for the tree container */
|
|
1609
1650
|
className?: string;
|
|
1651
|
+
/** Enable OverlayScrollbars for dropdown tree viewport. Default: false */
|
|
1652
|
+
useOverlayScrollbar?: boolean;
|
|
1610
1653
|
}
|
|
1611
1654
|
interface CategoryTreeSelectMultiProps extends CategoryTreeSelectBaseProps {
|
|
1612
1655
|
singleSelect?: false;
|
|
@@ -2308,19 +2351,6 @@ interface LoadingBarProps {
|
|
|
2308
2351
|
}
|
|
2309
2352
|
declare const LoadingBar: React__default.FC<LoadingBarProps>;
|
|
2310
2353
|
|
|
2311
|
-
interface OverlayScrollbarProviderProps {
|
|
2312
|
-
enabled?: boolean;
|
|
2313
|
-
theme?: string;
|
|
2314
|
-
visibility?: "visible" | "hidden" | "auto";
|
|
2315
|
-
autoHide?: "never" | "scroll" | "leave" | "move";
|
|
2316
|
-
autoHideDelay?: number;
|
|
2317
|
-
dragScroll?: boolean;
|
|
2318
|
-
clickScroll?: boolean;
|
|
2319
|
-
selector?: string;
|
|
2320
|
-
exclude?: string;
|
|
2321
|
-
}
|
|
2322
|
-
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, selector, exclude, }?: OverlayScrollbarProviderProps): null;
|
|
2323
|
-
|
|
2324
2354
|
type FilterType = "text" | "select" | "date";
|
|
2325
2355
|
type DataTableSize = "sm" | "md" | "lg";
|
|
2326
2356
|
type DataTableDensity = "compact" | "normal" | "comfortable";
|
|
@@ -2398,14 +2428,18 @@ interface DataTableProps<T> {
|
|
|
2398
2428
|
stickyHeader?: boolean;
|
|
2399
2429
|
/** Chiều cao tối đa của bảng khi bật stickyHeader (mặc định: 500px) */
|
|
2400
2430
|
maxHeight?: number | string;
|
|
2431
|
+
/** Enable OverlayScrollbars on table viewport. Default: false */
|
|
2432
|
+
useOverlayScrollbar?: boolean;
|
|
2401
2433
|
labels?: DataTableLabels;
|
|
2402
2434
|
}
|
|
2403
2435
|
|
|
2404
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2436
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, useOverlayScrollbar, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2405
2437
|
|
|
2406
2438
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
2407
2439
|
containerClassName?: string;
|
|
2408
2440
|
disableContainer?: boolean;
|
|
2441
|
+
/** Enable OverlayScrollbars on table container. Default: false */
|
|
2442
|
+
useOverlayScrollbar?: boolean;
|
|
2409
2443
|
}
|
|
2410
2444
|
declare const Table: React__default.ForwardRefExoticComponent<TableProps & React__default.RefAttributes<HTMLTableElement>>;
|
|
2411
2445
|
interface TableHeaderProps extends React__default.HTMLAttributes<HTMLTableSectionElement> {
|
|
@@ -3688,4 +3722,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
3688
3722
|
};
|
|
3689
3723
|
};
|
|
3690
3724
|
|
|
3691
|
-
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineDayRangeMode, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineSize, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorInlineUploadedItem, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
3725
|
+
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineDayRangeMode, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineSize, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorInlineUploadedItem, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|