@underverse-ui/underverse 2.0.23 → 2.0.25
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 +2 -0
- package/api-reference.json +23 -2
- package/dist/{chunk-ZQWVWDGS.js → chunk-FFVBGTHU.js} +2 -2
- package/dist/{chunk-O7AAN6W6.js → chunk-OJF3XRN7.js} +18 -5
- package/dist/chunk-OJF3XRN7.js.map +1 -0
- package/dist/{chunk-AEMS6WGX.js → chunk-XMAOZQJO.js} +37 -16
- package/dist/{chunk-AEMS6WGX.js.map → chunk-XMAOZQJO.js.map} +1 -1
- package/dist/index.cjs +194 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -10
- package/dist/index.d.ts +46 -10
- package/dist/index.js +146 -86
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-E7MNW6UC.js → menu-bar-4FM4Y273.js} +3 -3
- package/dist/ueditor.cjs +39 -15
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.js +2 -2
- package/package.json +7 -6
- package/dist/chunk-O7AAN6W6.js.map +0 -1
- /package/dist/{chunk-ZQWVWDGS.js.map → chunk-FFVBGTHU.js.map} +0 -0
- /package/dist/{menu-bar-E7MNW6UC.js.map → menu-bar-4FM4Y273.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -691,6 +691,8 @@ interface SheetProps {
|
|
|
691
691
|
maxSize?: number;
|
|
692
692
|
/** Called with each width/height update while the user resizes the sheet. */
|
|
693
693
|
onResize?: (size: number) => void;
|
|
694
|
+
/** Resolve the document element that should receive the sheet portal. */
|
|
695
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
694
696
|
}
|
|
695
697
|
declare const Sheet: React$1.FC<SheetProps>;
|
|
696
698
|
/** Public props for the `Drawer` component. */
|
|
@@ -862,6 +864,8 @@ interface DropdownMenuProps {
|
|
|
862
864
|
destructive?: boolean;
|
|
863
865
|
}>;
|
|
864
866
|
borderMode?: BorderMode;
|
|
867
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
868
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
865
869
|
}
|
|
866
870
|
declare const DropdownMenu: React__default.FC<DropdownMenuProps>;
|
|
867
871
|
/** Public props for the `DropdownMenuItem` component. */
|
|
@@ -885,7 +889,7 @@ declare const DropdownMenuItem: React__default.FC<DropdownMenuItemProps>;
|
|
|
885
889
|
declare const DropdownMenuSeparator: React__default.FC<{
|
|
886
890
|
className?: string;
|
|
887
891
|
}>;
|
|
888
|
-
|
|
892
|
+
interface SelectDropdownProps {
|
|
889
893
|
options: string[];
|
|
890
894
|
value?: string;
|
|
891
895
|
onChange: (value: string) => void;
|
|
@@ -893,7 +897,10 @@ declare const SelectDropdown: React__default.FC<{
|
|
|
893
897
|
className?: string;
|
|
894
898
|
borderMode?: BorderMode;
|
|
895
899
|
size?: FormControlSize;
|
|
896
|
-
|
|
900
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
901
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
902
|
+
}
|
|
903
|
+
declare const SelectDropdown: React__default.FC<SelectDropdownProps>;
|
|
897
904
|
|
|
898
905
|
/** Public props for the `Pagination` component. */
|
|
899
906
|
interface PaginationProps {
|
|
@@ -1039,6 +1046,8 @@ interface DatePickerProps {
|
|
|
1039
1046
|
/** Maximum selectable date (inclusive). Compared by day in local timezone. */
|
|
1040
1047
|
maxDate?: Date;
|
|
1041
1048
|
borderMode?: BorderMode;
|
|
1049
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1050
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1042
1051
|
}
|
|
1043
1052
|
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
1044
1053
|
/** Public props for the `DateRangePicker` component. */
|
|
@@ -1062,12 +1071,15 @@ interface DateRangePickerProps {
|
|
|
1062
1071
|
size?: FormControlSize;
|
|
1063
1072
|
disabled?: boolean;
|
|
1064
1073
|
borderMode?: BorderMode;
|
|
1074
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1075
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1065
1076
|
}
|
|
1066
1077
|
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
1067
1078
|
declare const CompactDatePicker: React$1.FC<{
|
|
1068
1079
|
value?: Date;
|
|
1069
1080
|
onChange: (date?: Date) => void;
|
|
1070
1081
|
className?: string;
|
|
1082
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1071
1083
|
}>;
|
|
1072
1084
|
|
|
1073
1085
|
type LunarDateValue = {
|
|
@@ -1140,6 +1152,8 @@ interface LunarDatePickerProps {
|
|
|
1140
1152
|
/** Maximum selectable date (inclusive). Compared by day in local timezone. */
|
|
1141
1153
|
maxDate?: LunarPickerValue;
|
|
1142
1154
|
borderMode?: BorderMode;
|
|
1155
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1156
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1143
1157
|
}
|
|
1144
1158
|
declare const LunarDatePicker: React$1.FC<LunarDatePickerProps>;
|
|
1145
1159
|
interface LunarDateRangePickerProps {
|
|
@@ -1158,6 +1172,8 @@ interface LunarDateRangePickerProps {
|
|
|
1158
1172
|
size?: FormControlSize;
|
|
1159
1173
|
disabled?: boolean;
|
|
1160
1174
|
borderMode?: BorderMode;
|
|
1175
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1176
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1161
1177
|
}
|
|
1162
1178
|
declare const LunarDateRangePicker: React$1.FC<LunarDateRangePickerProps>;
|
|
1163
1179
|
|
|
@@ -1184,6 +1200,8 @@ interface DateTimePickerProps {
|
|
|
1184
1200
|
/** Size variant */
|
|
1185
1201
|
size?: FormControlSize;
|
|
1186
1202
|
borderMode?: BorderMode;
|
|
1203
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1204
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1187
1205
|
}
|
|
1188
1206
|
declare const DateTimePicker: React$1.FC<DateTimePickerProps>;
|
|
1189
1207
|
|
|
@@ -1242,8 +1260,10 @@ interface TimePickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
|
1242
1260
|
/** Callback when popover closes */
|
|
1243
1261
|
onClose?: () => void;
|
|
1244
1262
|
borderMode?: BorderMode;
|
|
1263
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1264
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1245
1265
|
}
|
|
1246
|
-
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, matchTriggerWidth, showNow, showPresets, allowManualInput, customPresets, min, max, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, borderMode, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1266
|
+
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, matchTriggerWidth, showNow, showPresets, allowManualInput, customPresets, min, max, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, borderMode, getPortalContainer, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1247
1267
|
|
|
1248
1268
|
type MonthYearPickerVariant = "default" | "compact" | "inline";
|
|
1249
1269
|
/** Public props for the `MonthYearPicker` component. */
|
|
@@ -1314,8 +1334,10 @@ interface MonthYearPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElemen
|
|
|
1314
1334
|
year?: string;
|
|
1315
1335
|
};
|
|
1316
1336
|
borderMode?: BorderMode;
|
|
1337
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1338
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1317
1339
|
}
|
|
1318
|
-
declare function MonthYearPicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, labelClassName, required, clearable, variant, matchTriggerWidth, monthNames, shortMonthNames, minYear, maxYear, minDate, maxDate, error, success, helperText, animate, onOpen, onClose, showThisMonth, columnLabels, className, borderMode, ...rest }: MonthYearPickerProps): react_jsx_runtime.JSX.Element;
|
|
1340
|
+
declare function MonthYearPicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, labelClassName, required, clearable, variant, matchTriggerWidth, monthNames, shortMonthNames, minYear, maxYear, minDate, maxDate, error, success, helperText, animate, onOpen, onClose, showThisMonth, columnLabels, className, borderMode, getPortalContainer, ...rest }: MonthYearPickerProps): react_jsx_runtime.JSX.Element;
|
|
1319
1341
|
|
|
1320
1342
|
type SelectMode = "single" | "multiple" | "range";
|
|
1321
1343
|
type Variant$3 = "default" | "bordered" | "card" | "minimal";
|
|
@@ -1731,6 +1753,8 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
|
|
|
1731
1753
|
};
|
|
1732
1754
|
maxLanesPerRow?: number;
|
|
1733
1755
|
now?: Date;
|
|
1756
|
+
/** Resolve the document element that should receive timeline dropdown portals. */
|
|
1757
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1734
1758
|
renderResource?: (resource: CalendarTimelineResource<TResourceMeta>) => React$1.ReactNode;
|
|
1735
1759
|
renderGroup?: (group: CalendarTimelineGroup, args: {
|
|
1736
1760
|
collapsed: boolean;
|
|
@@ -1789,7 +1813,7 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
|
|
|
1789
1813
|
virtualization?: CalendarTimelineVirtualization;
|
|
1790
1814
|
}
|
|
1791
1815
|
|
|
1792
|
-
declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, enableEventSheet, eventSheetSize, eventSheetOverlayOpacity, renderEventSheet, selectedEventId, defaultSelectedEventId, onSelectedEventIdChange, eventSheetOpen, defaultEventSheetOpen, onEventSheetOpenChange, onlyView, view, defaultView, onViewChange, dueDateSprint, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, hideResourceColumn, resourceColumnWidth, defaultResourceColumnWidth, onResourceColumnWidthChange, minResourceColumnWidth, maxResourceColumnWidth, rowHeight, defaultRowHeight, onRowHeightChange, minRowHeight, maxRowHeight, rowHeights, defaultRowHeights, onRowHeightsChange, autoRowHeight, enableLayoutResize, slotMinWidth, adaptiveSlotWidths, dayEventStyle, dayEventMaxWidth, monthEventStyle, monthEventMaxWidth, overflowHidden, dayTimeStepMinutes, enableEventTooltips, dayHeaderMode, daySlotCompression, columnVirtualization, dayRangeMode, workHours, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEventClick, onCreateEvent, onEventMove, onEventResize, onEventDelete, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
|
|
1816
|
+
declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, enableEventSheet, eventSheetSize, eventSheetOverlayOpacity, renderEventSheet, selectedEventId, defaultSelectedEventId, onSelectedEventIdChange, eventSheetOpen, defaultEventSheetOpen, onEventSheetOpenChange, onlyView, view, defaultView, onViewChange, dueDateSprint, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, hideResourceColumn, resourceColumnWidth, defaultResourceColumnWidth, onResourceColumnWidthChange, minResourceColumnWidth, maxResourceColumnWidth, rowHeight, defaultRowHeight, onRowHeightChange, minRowHeight, maxRowHeight, rowHeights, defaultRowHeights, onRowHeightsChange, autoRowHeight, enableLayoutResize, slotMinWidth, adaptiveSlotWidths, dayEventStyle, dayEventMaxWidth, monthEventStyle, monthEventMaxWidth, overflowHidden, dayTimeStepMinutes, enableEventTooltips, dayHeaderMode, daySlotCompression, columnVirtualization, dayRangeMode, workHours, maxLanesPerRow, now, getPortalContainer, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEventClick, onCreateEvent, onEventMove, onEventResize, onEventDelete, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
|
|
1793
1817
|
|
|
1794
1818
|
type ComboboxOption = string | {
|
|
1795
1819
|
label: string;
|
|
@@ -1921,6 +1945,8 @@ interface MultiComboboxProps {
|
|
|
1921
1945
|
maxInitialOptions?: number;
|
|
1922
1946
|
/** Show a prompt instead of options while the query is shorter than minSearchLength. Default: false */
|
|
1923
1947
|
showSearchPromptWhenEmptyQuery?: boolean;
|
|
1948
|
+
/** Resolve the document element that should receive the options dropdown portal. */
|
|
1949
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1924
1950
|
}
|
|
1925
1951
|
declare const MultiCombobox: React$1.FC<MultiComboboxProps>;
|
|
1926
1952
|
|
|
@@ -2237,6 +2263,8 @@ interface CategoryTreeSelectBaseProps {
|
|
|
2237
2263
|
/** Show dashed vertical guide lines between parent and child levels. Default: `true`. */
|
|
2238
2264
|
showTreeLines?: boolean;
|
|
2239
2265
|
borderMode?: BorderMode;
|
|
2266
|
+
/** Resolve the document element that should receive the tree dropdown portal. */
|
|
2267
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2240
2268
|
}
|
|
2241
2269
|
/** Multi-select mode. This is the default when `singleSelect` is omitted. */
|
|
2242
2270
|
interface CategoryTreeSelectMultiProps extends CategoryTreeSelectBaseProps {
|
|
@@ -2659,6 +2687,8 @@ interface ColorPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2659
2687
|
size?: ColorPickerSize;
|
|
2660
2688
|
/** Visual variant of the picker */
|
|
2661
2689
|
variant?: ColorPickerVariant;
|
|
2690
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
2691
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2662
2692
|
/** Show recent colors history */
|
|
2663
2693
|
showRecent?: boolean;
|
|
2664
2694
|
/** Show color harmony suggestions */
|
|
@@ -2667,7 +2697,7 @@ interface ColorPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2667
2697
|
maxRecent?: number;
|
|
2668
2698
|
borderMode?: BorderMode;
|
|
2669
2699
|
}
|
|
2670
|
-
declare function ColorPicker({ value, defaultValue, onChange, disabled, withAlpha, format, presets, className, triggerClassName, contentClassName, clearable, copyable, size, variant, showRecent, showHarmony, maxRecent, borderMode, ...rest }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
2700
|
+
declare function ColorPicker({ value, defaultValue, onChange, disabled, withAlpha, format, presets, className, triggerClassName, contentClassName, clearable, copyable, size, variant, showRecent, showHarmony, maxRecent, borderMode, getPortalContainer, ...rest }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
2671
2701
|
|
|
2672
2702
|
interface Song {
|
|
2673
2703
|
id: number;
|
|
@@ -2976,11 +3006,13 @@ interface DataTableProps<T> {
|
|
|
2976
3006
|
enableHeaderAutoFit?: boolean;
|
|
2977
3007
|
labels?: DataTableLabels;
|
|
2978
3008
|
borderMode?: BorderMode;
|
|
3009
|
+
/** Resolve the document element that should receive table dropdown portals. */
|
|
3010
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2979
3011
|
/** Pagination variant: "default" (ellipsis) or "classic" (blocks of 10 with fast forward/backward) */
|
|
2980
3012
|
paginationVariant?: "default" | "classic";
|
|
2981
3013
|
}
|
|
2982
3014
|
|
|
2983
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, showToolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, uppercaseHeader, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, horizontalMode, overflowHidden, useOverlayScrollbar, virtualizedRows, estimatedRowHeight, overscan, paginationAlign, paginationRange, enableHeaderAutoFit, labels, columnColorGroups, borderMode, paginationVariant, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
3015
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, showToolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, uppercaseHeader, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, horizontalMode, overflowHidden, useOverlayScrollbar, virtualizedRows, estimatedRowHeight, overscan, paginationAlign, paginationRange, enableHeaderAutoFit, labels, columnColorGroups, borderMode, getPortalContainer, paginationVariant, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2984
3016
|
|
|
2985
3017
|
/** Public props for the `Table` component. */
|
|
2986
3018
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
@@ -3092,8 +3124,10 @@ interface ThemeToggleHeadlessProps {
|
|
|
3092
3124
|
system?: string;
|
|
3093
3125
|
};
|
|
3094
3126
|
className?: string;
|
|
3127
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
3128
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
3095
3129
|
}
|
|
3096
|
-
declare function ThemeToggleHeadless({ theme, onChange, labels, className, }: ThemeToggleHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3130
|
+
declare function ThemeToggleHeadless({ theme, onChange, labels, className, getPortalContainer, }: ThemeToggleHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3097
3131
|
|
|
3098
3132
|
interface LanguageOption {
|
|
3099
3133
|
code: string;
|
|
@@ -3109,8 +3143,10 @@ interface LanguageSwitcherHeadlessProps {
|
|
|
3109
3143
|
heading?: string;
|
|
3110
3144
|
};
|
|
3111
3145
|
className?: string;
|
|
3146
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
3147
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
3112
3148
|
}
|
|
3113
|
-
declare function LanguageSwitcherHeadless({ locales, currentLocale, onSwitch, labels, className, }: LanguageSwitcherHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3149
|
+
declare function LanguageSwitcherHeadless({ locales, currentLocale, onSwitch, labels, className, getPortalContainer, }: LanguageSwitcherHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3114
3150
|
|
|
3115
3151
|
/**
|
|
3116
3152
|
* Utility function to merge Tailwind CSS classes.
|
|
@@ -7234,4 +7270,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7234
7270
|
};
|
|
7235
7271
|
};
|
|
7236
7272
|
|
|
7237
|
-
export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, type BottomSheetProps, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarHoliday, 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, type CardProps, Carousel, type CarouselEffectOptions, type CarouselEffectPreset, type Category, CategoryTreeSelect, type CategoryTreeSelectBaseProps, type CategoryTreeSelectLabels, type CategoryTreeSelectMultiProps, type CategoryTreeSelectProps, type CategoryTreeSelectSingleProps, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, CompactDatePicker, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableLabels, type DataTablePaginationAlign, type DataTableProps, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, EmojiPicker, type EmojiPickerProps, FallingIcons, FileUpload, type FileUploadProps, type FilterType, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, type GlobalI18nConfig, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, type ImageUploadProps, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type LoadingState, type Locale, LunarDatePicker, type LunarDatePickerProps, LunarDateRangePicker, type LunarDateRangePickerProps, type LunarDateValue, type LunarPickerValue, lunar as LunarUtils, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NextIntlAdapter, NotificationBadge, NotificationModal, NumberInput, type NumberInputProps, OverlayControls, type OverlayControlsProps, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PillTabs, Popover, type PopoverPlacement, type PopoverProps, Progress, PulseBadge, RadioButtonGroup, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedControl, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleRadioGroup, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, type StickerAssetVariant, type StickerImageUrlOptions, StickerPicker, type StickerPickerProps, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, type ToastProviderProps, ToggleGroup, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UnderverseConfigProvider, type UnderverseConfigProviderProps, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UnderverseUIConfig, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, getAnimationStyles, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations, useUnderverseUIConfig };
|
|
7273
|
+
export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, type BottomSheetProps, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarHoliday, 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, type CardProps, Carousel, type CarouselEffectOptions, type CarouselEffectPreset, type Category, CategoryTreeSelect, type CategoryTreeSelectBaseProps, type CategoryTreeSelectLabels, type CategoryTreeSelectMultiProps, type CategoryTreeSelectProps, type CategoryTreeSelectSingleProps, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, CompactDatePicker, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableLabels, type DataTablePaginationAlign, type DataTableProps, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, EmojiPicker, type EmojiPickerProps, FallingIcons, FileUpload, type FileUploadProps, type FilterType, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, type GlobalI18nConfig, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, type ImageUploadProps, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type LoadingState, type Locale, LunarDatePicker, type LunarDatePickerProps, LunarDateRangePicker, type LunarDateRangePickerProps, type LunarDateValue, type LunarPickerValue, lunar as LunarUtils, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NextIntlAdapter, NotificationBadge, NotificationModal, NumberInput, type NumberInputProps, OverlayControls, type OverlayControlsProps, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PillTabs, Popover, type PopoverPlacement, type PopoverProps, Progress, PulseBadge, RadioButtonGroup, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedControl, SegmentedProgress, SelectDropdown, type SelectDropdownProps, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleRadioGroup, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, type StickerAssetVariant, type StickerImageUrlOptions, StickerPicker, type StickerPickerProps, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, type ToastProviderProps, ToggleGroup, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UnderverseConfigProvider, type UnderverseConfigProviderProps, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UnderverseUIConfig, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, getAnimationStyles, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations, useUnderverseUIConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -691,6 +691,8 @@ interface SheetProps {
|
|
|
691
691
|
maxSize?: number;
|
|
692
692
|
/** Called with each width/height update while the user resizes the sheet. */
|
|
693
693
|
onResize?: (size: number) => void;
|
|
694
|
+
/** Resolve the document element that should receive the sheet portal. */
|
|
695
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
694
696
|
}
|
|
695
697
|
declare const Sheet: React$1.FC<SheetProps>;
|
|
696
698
|
/** Public props for the `Drawer` component. */
|
|
@@ -862,6 +864,8 @@ interface DropdownMenuProps {
|
|
|
862
864
|
destructive?: boolean;
|
|
863
865
|
}>;
|
|
864
866
|
borderMode?: BorderMode;
|
|
867
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
868
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
865
869
|
}
|
|
866
870
|
declare const DropdownMenu: React__default.FC<DropdownMenuProps>;
|
|
867
871
|
/** Public props for the `DropdownMenuItem` component. */
|
|
@@ -885,7 +889,7 @@ declare const DropdownMenuItem: React__default.FC<DropdownMenuItemProps>;
|
|
|
885
889
|
declare const DropdownMenuSeparator: React__default.FC<{
|
|
886
890
|
className?: string;
|
|
887
891
|
}>;
|
|
888
|
-
|
|
892
|
+
interface SelectDropdownProps {
|
|
889
893
|
options: string[];
|
|
890
894
|
value?: string;
|
|
891
895
|
onChange: (value: string) => void;
|
|
@@ -893,7 +897,10 @@ declare const SelectDropdown: React__default.FC<{
|
|
|
893
897
|
className?: string;
|
|
894
898
|
borderMode?: BorderMode;
|
|
895
899
|
size?: FormControlSize;
|
|
896
|
-
|
|
900
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
901
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
902
|
+
}
|
|
903
|
+
declare const SelectDropdown: React__default.FC<SelectDropdownProps>;
|
|
897
904
|
|
|
898
905
|
/** Public props for the `Pagination` component. */
|
|
899
906
|
interface PaginationProps {
|
|
@@ -1039,6 +1046,8 @@ interface DatePickerProps {
|
|
|
1039
1046
|
/** Maximum selectable date (inclusive). Compared by day in local timezone. */
|
|
1040
1047
|
maxDate?: Date;
|
|
1041
1048
|
borderMode?: BorderMode;
|
|
1049
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1050
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1042
1051
|
}
|
|
1043
1052
|
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
1044
1053
|
/** Public props for the `DateRangePicker` component. */
|
|
@@ -1062,12 +1071,15 @@ interface DateRangePickerProps {
|
|
|
1062
1071
|
size?: FormControlSize;
|
|
1063
1072
|
disabled?: boolean;
|
|
1064
1073
|
borderMode?: BorderMode;
|
|
1074
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1075
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1065
1076
|
}
|
|
1066
1077
|
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
1067
1078
|
declare const CompactDatePicker: React$1.FC<{
|
|
1068
1079
|
value?: Date;
|
|
1069
1080
|
onChange: (date?: Date) => void;
|
|
1070
1081
|
className?: string;
|
|
1082
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1071
1083
|
}>;
|
|
1072
1084
|
|
|
1073
1085
|
type LunarDateValue = {
|
|
@@ -1140,6 +1152,8 @@ interface LunarDatePickerProps {
|
|
|
1140
1152
|
/** Maximum selectable date (inclusive). Compared by day in local timezone. */
|
|
1141
1153
|
maxDate?: LunarPickerValue;
|
|
1142
1154
|
borderMode?: BorderMode;
|
|
1155
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1156
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1143
1157
|
}
|
|
1144
1158
|
declare const LunarDatePicker: React$1.FC<LunarDatePickerProps>;
|
|
1145
1159
|
interface LunarDateRangePickerProps {
|
|
@@ -1158,6 +1172,8 @@ interface LunarDateRangePickerProps {
|
|
|
1158
1172
|
size?: FormControlSize;
|
|
1159
1173
|
disabled?: boolean;
|
|
1160
1174
|
borderMode?: BorderMode;
|
|
1175
|
+
/** Resolve the document element that should receive the calendar portal. */
|
|
1176
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1161
1177
|
}
|
|
1162
1178
|
declare const LunarDateRangePicker: React$1.FC<LunarDateRangePickerProps>;
|
|
1163
1179
|
|
|
@@ -1184,6 +1200,8 @@ interface DateTimePickerProps {
|
|
|
1184
1200
|
/** Size variant */
|
|
1185
1201
|
size?: FormControlSize;
|
|
1186
1202
|
borderMode?: BorderMode;
|
|
1203
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1204
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1187
1205
|
}
|
|
1188
1206
|
declare const DateTimePicker: React$1.FC<DateTimePickerProps>;
|
|
1189
1207
|
|
|
@@ -1242,8 +1260,10 @@ interface TimePickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
|
1242
1260
|
/** Callback when popover closes */
|
|
1243
1261
|
onClose?: () => void;
|
|
1244
1262
|
borderMode?: BorderMode;
|
|
1263
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1264
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1245
1265
|
}
|
|
1246
|
-
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, matchTriggerWidth, showNow, showPresets, allowManualInput, customPresets, min, max, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, borderMode, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1266
|
+
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, matchTriggerWidth, showNow, showPresets, allowManualInput, customPresets, min, max, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, borderMode, getPortalContainer, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
1247
1267
|
|
|
1248
1268
|
type MonthYearPickerVariant = "default" | "compact" | "inline";
|
|
1249
1269
|
/** Public props for the `MonthYearPicker` component. */
|
|
@@ -1314,8 +1334,10 @@ interface MonthYearPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElemen
|
|
|
1314
1334
|
year?: string;
|
|
1315
1335
|
};
|
|
1316
1336
|
borderMode?: BorderMode;
|
|
1337
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
1338
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1317
1339
|
}
|
|
1318
|
-
declare function MonthYearPicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, labelClassName, required, clearable, variant, matchTriggerWidth, monthNames, shortMonthNames, minYear, maxYear, minDate, maxDate, error, success, helperText, animate, onOpen, onClose, showThisMonth, columnLabels, className, borderMode, ...rest }: MonthYearPickerProps): react_jsx_runtime.JSX.Element;
|
|
1340
|
+
declare function MonthYearPicker({ value, defaultValue, onChange, placeholder, disabled, size: requestedSize, label, labelClassName, required, clearable, variant, matchTriggerWidth, monthNames, shortMonthNames, minYear, maxYear, minDate, maxDate, error, success, helperText, animate, onOpen, onClose, showThisMonth, columnLabels, className, borderMode, getPortalContainer, ...rest }: MonthYearPickerProps): react_jsx_runtime.JSX.Element;
|
|
1319
1341
|
|
|
1320
1342
|
type SelectMode = "single" | "multiple" | "range";
|
|
1321
1343
|
type Variant$3 = "default" | "bordered" | "card" | "minimal";
|
|
@@ -1731,6 +1753,8 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
|
|
|
1731
1753
|
};
|
|
1732
1754
|
maxLanesPerRow?: number;
|
|
1733
1755
|
now?: Date;
|
|
1756
|
+
/** Resolve the document element that should receive timeline dropdown portals. */
|
|
1757
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1734
1758
|
renderResource?: (resource: CalendarTimelineResource<TResourceMeta>) => React$1.ReactNode;
|
|
1735
1759
|
renderGroup?: (group: CalendarTimelineGroup, args: {
|
|
1736
1760
|
collapsed: boolean;
|
|
@@ -1789,7 +1813,7 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
|
|
|
1789
1813
|
virtualization?: CalendarTimelineVirtualization;
|
|
1790
1814
|
}
|
|
1791
1815
|
|
|
1792
|
-
declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, enableEventSheet, eventSheetSize, eventSheetOverlayOpacity, renderEventSheet, selectedEventId, defaultSelectedEventId, onSelectedEventIdChange, eventSheetOpen, defaultEventSheetOpen, onEventSheetOpenChange, onlyView, view, defaultView, onViewChange, dueDateSprint, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, hideResourceColumn, resourceColumnWidth, defaultResourceColumnWidth, onResourceColumnWidthChange, minResourceColumnWidth, maxResourceColumnWidth, rowHeight, defaultRowHeight, onRowHeightChange, minRowHeight, maxRowHeight, rowHeights, defaultRowHeights, onRowHeightsChange, autoRowHeight, enableLayoutResize, slotMinWidth, adaptiveSlotWidths, dayEventStyle, dayEventMaxWidth, monthEventStyle, monthEventMaxWidth, overflowHidden, dayTimeStepMinutes, enableEventTooltips, dayHeaderMode, daySlotCompression, columnVirtualization, dayRangeMode, workHours, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEventClick, onCreateEvent, onEventMove, onEventResize, onEventDelete, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
|
|
1816
|
+
declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, enableEventSheet, eventSheetSize, eventSheetOverlayOpacity, renderEventSheet, selectedEventId, defaultSelectedEventId, onSelectedEventIdChange, eventSheetOpen, defaultEventSheetOpen, onEventSheetOpenChange, onlyView, view, defaultView, onViewChange, dueDateSprint, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, hideResourceColumn, resourceColumnWidth, defaultResourceColumnWidth, onResourceColumnWidthChange, minResourceColumnWidth, maxResourceColumnWidth, rowHeight, defaultRowHeight, onRowHeightChange, minRowHeight, maxRowHeight, rowHeights, defaultRowHeights, onRowHeightsChange, autoRowHeight, enableLayoutResize, slotMinWidth, adaptiveSlotWidths, dayEventStyle, dayEventMaxWidth, monthEventStyle, monthEventMaxWidth, overflowHidden, dayTimeStepMinutes, enableEventTooltips, dayHeaderMode, daySlotCompression, columnVirtualization, dayRangeMode, workHours, maxLanesPerRow, now, getPortalContainer, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEventClick, onCreateEvent, onEventMove, onEventResize, onEventDelete, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
|
|
1793
1817
|
|
|
1794
1818
|
type ComboboxOption = string | {
|
|
1795
1819
|
label: string;
|
|
@@ -1921,6 +1945,8 @@ interface MultiComboboxProps {
|
|
|
1921
1945
|
maxInitialOptions?: number;
|
|
1922
1946
|
/** Show a prompt instead of options while the query is shorter than minSearchLength. Default: false */
|
|
1923
1947
|
showSearchPromptWhenEmptyQuery?: boolean;
|
|
1948
|
+
/** Resolve the document element that should receive the options dropdown portal. */
|
|
1949
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
1924
1950
|
}
|
|
1925
1951
|
declare const MultiCombobox: React$1.FC<MultiComboboxProps>;
|
|
1926
1952
|
|
|
@@ -2237,6 +2263,8 @@ interface CategoryTreeSelectBaseProps {
|
|
|
2237
2263
|
/** Show dashed vertical guide lines between parent and child levels. Default: `true`. */
|
|
2238
2264
|
showTreeLines?: boolean;
|
|
2239
2265
|
borderMode?: BorderMode;
|
|
2266
|
+
/** Resolve the document element that should receive the tree dropdown portal. */
|
|
2267
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2240
2268
|
}
|
|
2241
2269
|
/** Multi-select mode. This is the default when `singleSelect` is omitted. */
|
|
2242
2270
|
interface CategoryTreeSelectMultiProps extends CategoryTreeSelectBaseProps {
|
|
@@ -2659,6 +2687,8 @@ interface ColorPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2659
2687
|
size?: ColorPickerSize;
|
|
2660
2688
|
/** Visual variant of the picker */
|
|
2661
2689
|
variant?: ColorPickerVariant;
|
|
2690
|
+
/** Resolve the document element that should receive the picker portal. */
|
|
2691
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2662
2692
|
/** Show recent colors history */
|
|
2663
2693
|
showRecent?: boolean;
|
|
2664
2694
|
/** Show color harmony suggestions */
|
|
@@ -2667,7 +2697,7 @@ interface ColorPickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2667
2697
|
maxRecent?: number;
|
|
2668
2698
|
borderMode?: BorderMode;
|
|
2669
2699
|
}
|
|
2670
|
-
declare function ColorPicker({ value, defaultValue, onChange, disabled, withAlpha, format, presets, className, triggerClassName, contentClassName, clearable, copyable, size, variant, showRecent, showHarmony, maxRecent, borderMode, ...rest }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
2700
|
+
declare function ColorPicker({ value, defaultValue, onChange, disabled, withAlpha, format, presets, className, triggerClassName, contentClassName, clearable, copyable, size, variant, showRecent, showHarmony, maxRecent, borderMode, getPortalContainer, ...rest }: ColorPickerProps): react_jsx_runtime.JSX.Element;
|
|
2671
2701
|
|
|
2672
2702
|
interface Song {
|
|
2673
2703
|
id: number;
|
|
@@ -2976,11 +3006,13 @@ interface DataTableProps<T> {
|
|
|
2976
3006
|
enableHeaderAutoFit?: boolean;
|
|
2977
3007
|
labels?: DataTableLabels;
|
|
2978
3008
|
borderMode?: BorderMode;
|
|
3009
|
+
/** Resolve the document element that should receive table dropdown portals. */
|
|
3010
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
2979
3011
|
/** Pagination variant: "default" (ellipsis) or "classic" (blocks of 10 with fast forward/backward) */
|
|
2980
3012
|
paginationVariant?: "default" | "classic";
|
|
2981
3013
|
}
|
|
2982
3014
|
|
|
2983
|
-
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, showToolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, uppercaseHeader, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, horizontalMode, overflowHidden, useOverlayScrollbar, virtualizedRows, estimatedRowHeight, overscan, paginationAlign, paginationRange, enableHeaderAutoFit, labels, columnColorGroups, borderMode, paginationVariant, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
3015
|
+
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, pageSizeOptions, onQueryChange, caption, toolbar, showToolbar, size, enableColumnVisibilityToggle, enableDensityToggle, enableHeaderAlignToggle, uppercaseHeader, striped, columnDividers, className, storageKey, stickyHeader, maxHeight, horizontalMode, overflowHidden, useOverlayScrollbar, virtualizedRows, estimatedRowHeight, overscan, paginationAlign, paginationRange, enableHeaderAutoFit, labels, columnColorGroups, borderMode, getPortalContainer, paginationVariant, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
2984
3016
|
|
|
2985
3017
|
/** Public props for the `Table` component. */
|
|
2986
3018
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
@@ -3092,8 +3124,10 @@ interface ThemeToggleHeadlessProps {
|
|
|
3092
3124
|
system?: string;
|
|
3093
3125
|
};
|
|
3094
3126
|
className?: string;
|
|
3127
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
3128
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
3095
3129
|
}
|
|
3096
|
-
declare function ThemeToggleHeadless({ theme, onChange, labels, className, }: ThemeToggleHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3130
|
+
declare function ThemeToggleHeadless({ theme, onChange, labels, className, getPortalContainer, }: ThemeToggleHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3097
3131
|
|
|
3098
3132
|
interface LanguageOption {
|
|
3099
3133
|
code: string;
|
|
@@ -3109,8 +3143,10 @@ interface LanguageSwitcherHeadlessProps {
|
|
|
3109
3143
|
heading?: string;
|
|
3110
3144
|
};
|
|
3111
3145
|
className?: string;
|
|
3146
|
+
/** Resolve the document element that should receive the menu portal. */
|
|
3147
|
+
getPortalContainer?: () => HTMLElement | null;
|
|
3112
3148
|
}
|
|
3113
|
-
declare function LanguageSwitcherHeadless({ locales, currentLocale, onSwitch, labels, className, }: LanguageSwitcherHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3149
|
+
declare function LanguageSwitcherHeadless({ locales, currentLocale, onSwitch, labels, className, getPortalContainer, }: LanguageSwitcherHeadlessProps): react_jsx_runtime.JSX.Element;
|
|
3114
3150
|
|
|
3115
3151
|
/**
|
|
3116
3152
|
* Utility function to merge Tailwind CSS classes.
|
|
@@ -7234,4 +7270,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
7234
7270
|
};
|
|
7235
7271
|
};
|
|
7236
7272
|
|
|
7237
|
-
export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, type BottomSheetProps, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarHoliday, 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, type CardProps, Carousel, type CarouselEffectOptions, type CarouselEffectPreset, type Category, CategoryTreeSelect, type CategoryTreeSelectBaseProps, type CategoryTreeSelectLabels, type CategoryTreeSelectMultiProps, type CategoryTreeSelectProps, type CategoryTreeSelectSingleProps, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, CompactDatePicker, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableLabels, type DataTablePaginationAlign, type DataTableProps, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, EmojiPicker, type EmojiPickerProps, FallingIcons, FileUpload, type FileUploadProps, type FilterType, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, type GlobalI18nConfig, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, type ImageUploadProps, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type LoadingState, type Locale, LunarDatePicker, type LunarDatePickerProps, LunarDateRangePicker, type LunarDateRangePickerProps, type LunarDateValue, type LunarPickerValue, lunar as LunarUtils, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NextIntlAdapter, NotificationBadge, NotificationModal, NumberInput, type NumberInputProps, OverlayControls, type OverlayControlsProps, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PillTabs, Popover, type PopoverPlacement, type PopoverProps, Progress, PulseBadge, RadioButtonGroup, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedControl, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleRadioGroup, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, type StickerAssetVariant, type StickerImageUrlOptions, StickerPicker, type StickerPickerProps, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, type ToastProviderProps, ToggleGroup, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UnderverseConfigProvider, type UnderverseConfigProviderProps, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UnderverseUIConfig, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, getAnimationStyles, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations, useUnderverseUIConfig };
|
|
7273
|
+
export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, type BottomSheetProps, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarHoliday, 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, type CardProps, Carousel, type CarouselEffectOptions, type CarouselEffectPreset, type Category, CategoryTreeSelect, type CategoryTreeSelectBaseProps, type CategoryTreeSelectLabels, type CategoryTreeSelectMultiProps, type CategoryTreeSelectProps, type CategoryTreeSelectSingleProps, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxOption, type ComboboxProps, CompactDatePicker, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableLabels, type DataTablePaginationAlign, type DataTableProps, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, type DrawerProps, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuSeparator, EmojiPicker, type EmojiPickerProps, FallingIcons, FileUpload, type FileUploadProps, type FilterType, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, type GlobalI18nConfig, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, type ImageUploadProps, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type LoadingState, type Locale, LunarDatePicker, type LunarDatePickerProps, LunarDateRangePicker, type LunarDateRangePickerProps, type LunarDateValue, type LunarPickerValue, lunar as LunarUtils, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NextIntlAdapter, NotificationBadge, NotificationModal, NumberInput, type NumberInputProps, OverlayControls, type OverlayControlsProps, OverlayScrollArea, type OverlayScrollAreaProps, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, PillTabs, Popover, type PopoverPlacement, type PopoverProps, Progress, PulseBadge, RadioButtonGroup, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedControl, SegmentedProgress, SelectDropdown, type SelectDropdownProps, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleRadioGroup, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, type StickerAssetVariant, type StickerImageUrlOptions, StickerPicker, type StickerPickerProps, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableHeaderProps, type TableProps, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, type ToastProviderProps, ToggleGroup, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UnderverseConfigProvider, type UnderverseConfigProviderProps, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UnderverseUIConfig, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, getAnimationStyles, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations, useUnderverseUIConfig };
|