@underverse-ui/underverse 1.0.116 → 1.0.118
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/api-reference.json +16 -2
- package/dist/index.cjs +2471 -2430
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +192 -4
- package/dist/index.d.ts +192 -4
- package/dist/index.js +2227 -2187
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -899,8 +899,8 @@ declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
|
899
899
|
interface DateRangePickerProps {
|
|
900
900
|
id?: string;
|
|
901
901
|
startDate?: Date;
|
|
902
|
-
endDate?: Date;
|
|
903
|
-
onChange: (start: Date | undefined, end: Date | undefined) => void;
|
|
902
|
+
endDate?: Date | null;
|
|
903
|
+
onChange: (start: Date | undefined, end: Date | null | undefined) => void;
|
|
904
904
|
placeholder?: string;
|
|
905
905
|
className?: string;
|
|
906
906
|
label?: string;
|
|
@@ -2867,6 +2867,189 @@ declare const VARIANT_STYLES_ALERT: {
|
|
|
2867
2867
|
error: string;
|
|
2868
2868
|
};
|
|
2869
2869
|
|
|
2870
|
+
/**
|
|
2871
|
+
* Flat i18n config for overriding built-in English labels across all components.
|
|
2872
|
+
* Pass this via the `i18n` prop on `UnderverseNextIntlProvider` or `TranslationProvider`.
|
|
2873
|
+
*
|
|
2874
|
+
* Component-level props (e.g. `searchPlaceholder` on `<Combobox />`) still take
|
|
2875
|
+
* precedence over this global config — this only sets the global default.
|
|
2876
|
+
*
|
|
2877
|
+
* @example
|
|
2878
|
+
* ```tsx
|
|
2879
|
+
* <UnderverseNextIntlProvider
|
|
2880
|
+
* i18n={{
|
|
2881
|
+
* searchPlaceholder: "Tìm kiếm...",
|
|
2882
|
+
* selectPlaceholder: "Chọn...",
|
|
2883
|
+
* noResults: "Không có kết quả",
|
|
2884
|
+
* clearAll: "Xóa tất cả",
|
|
2885
|
+
* selectedCount: (n) => `Đã chọn ${n}`,
|
|
2886
|
+
* moreCount: (n) => `+${n} khác`,
|
|
2887
|
+
* }}
|
|
2888
|
+
* >
|
|
2889
|
+
* <App />
|
|
2890
|
+
* </UnderverseNextIntlProvider>
|
|
2891
|
+
* ```
|
|
2892
|
+
*/
|
|
2893
|
+
interface GlobalI18nConfig {
|
|
2894
|
+
/** Placeholder for search inputs inside dropdowns. Default: "Search..." */
|
|
2895
|
+
searchPlaceholder?: string;
|
|
2896
|
+
/** Placeholder shown on trigger button/input when nothing is selected. Default: "Select..." */
|
|
2897
|
+
selectPlaceholder?: string;
|
|
2898
|
+
/** Placeholder for CategoryTreeSelect trigger when nothing is selected. Falls back to `selectPlaceholder`. */
|
|
2899
|
+
selectCategoryPlaceholder?: string;
|
|
2900
|
+
/** Text shown when a search returns no results. Default: "No results found" */
|
|
2901
|
+
noResults?: string;
|
|
2902
|
+
/** Text shown when a category tree has no items. Default: "No categories" */
|
|
2903
|
+
noCategories?: string;
|
|
2904
|
+
/** Loading indicator text. Default: "Loading..." */
|
|
2905
|
+
loading?: string;
|
|
2906
|
+
/** "Clear all" button label (MultiCombobox dropdown header + trigger). Default: "Clear all" */
|
|
2907
|
+
clearAll?: string;
|
|
2908
|
+
/** aria-label for the × button that clears a search input. Default: "Clear search" */
|
|
2909
|
+
clearSearch?: string;
|
|
2910
|
+
/** aria-label for the × button that clears the current selection. Default: "Clear selection" */
|
|
2911
|
+
clearSelection?: string;
|
|
2912
|
+
/** Suggestion shown in empty search state. Default: "Try a different keyword" */
|
|
2913
|
+
tryDifferentSearch?: string;
|
|
2914
|
+
/** "Today" button label in DatePicker / CalendarTimeline. Default: "Today" */
|
|
2915
|
+
today?: string;
|
|
2916
|
+
/** "Clear" button label in DatePicker / TimePicker. Default: "Clear" */
|
|
2917
|
+
clear?: string;
|
|
2918
|
+
/** aria-label announced when a valid time is selected in TimePicker. Default: "Valid time selected" */
|
|
2919
|
+
validTimeSelected?: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* Summary shown in the MultiCombobox trigger when items are selected and
|
|
2922
|
+
* there is no `maxSelected` limit. Default: `(n) => \`${n} items selected\``
|
|
2923
|
+
*/
|
|
2924
|
+
selectedCount?: (count: number) => string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Summary shown in the MultiCombobox trigger when `maxSelected` is set.
|
|
2927
|
+
* Default: `(count, max) => \`${count}/${max} selected\``
|
|
2928
|
+
*/
|
|
2929
|
+
selectedCountWithMax?: (count: number, max: number) => string;
|
|
2930
|
+
/**
|
|
2931
|
+
* Compact summary used in the MultiCombobox dropdown header.
|
|
2932
|
+
* Default: `(n) => \`${n} selected\``
|
|
2933
|
+
*/
|
|
2934
|
+
itemSelectedCount?: (count: number) => string;
|
|
2935
|
+
/**
|
|
2936
|
+
* Overflow pill shown when visible tags exceed `maxTagsVisible`.
|
|
2937
|
+
* Default: `(n) => \`+${n} more\``
|
|
2938
|
+
*/
|
|
2939
|
+
moreCount?: (count: number) => string;
|
|
2940
|
+
/** aria-label for the × button that closes a modal. Default: "Close modal" */
|
|
2941
|
+
closeModal?: string;
|
|
2942
|
+
/** aria-label for the × button that dismisses a toast. Default: "Close toast" */
|
|
2943
|
+
closeToast?: string;
|
|
2944
|
+
/** aria-label for the × button inside a text input. Default: "Clear input" */
|
|
2945
|
+
clearInput?: string;
|
|
2946
|
+
/** aria-label for the eye button when password is hidden. Default: "Show password" */
|
|
2947
|
+
showPassword?: string;
|
|
2948
|
+
/** aria-label for the eye button when password is visible. Default: "Hide password" */
|
|
2949
|
+
hidePassword?: string;
|
|
2950
|
+
/** aria-label for the + stepper button on a number input. Default: "Increase value" */
|
|
2951
|
+
increaseValue?: string;
|
|
2952
|
+
/** aria-label for the − stepper button on a number input. Default: "Decrease value" */
|
|
2953
|
+
decreaseValue?: string;
|
|
2954
|
+
/** aria-label for the TimePicker trigger button. Default: "Select time" */
|
|
2955
|
+
selectTime?: string;
|
|
2956
|
+
/** aria-label for the inline time text input. Default: "Edit time value" */
|
|
2957
|
+
editTimeValue?: string;
|
|
2958
|
+
/** aria-label for the editable selected-time display. Default: "Edit selected time" */
|
|
2959
|
+
editSelectedTime?: string;
|
|
2960
|
+
/** aria-label for the AM/PM toggle. Default: "Select AM or PM" */
|
|
2961
|
+
selectAmPm?: string;
|
|
2962
|
+
/** aria-label for the "now" button in TimePicker. Default: "Set current time" */
|
|
2963
|
+
setCurrentTime?: string;
|
|
2964
|
+
/** aria-label for the clear button in TimePicker. Default: "Clear selected time" */
|
|
2965
|
+
clearTime?: string;
|
|
2966
|
+
/** title/aria-label for the download button on an uploaded file. Default: "Download" */
|
|
2967
|
+
download?: string;
|
|
2968
|
+
/** title/aria-label for the remove button on an uploaded file. Default: "Remove" */
|
|
2969
|
+
removeFile?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* aria-label for the × button that removes a tag from TagInput.
|
|
2972
|
+
* Default: `(tag) => \`Remove ${tag}\``
|
|
2973
|
+
*/
|
|
2974
|
+
removeTag?: (tag: string) => string;
|
|
2975
|
+
/** aria-label for the × button that removes a dismissible Badge. Default: "Remove badge" */
|
|
2976
|
+
removeBadge?: string;
|
|
2977
|
+
/** aria-label for the ‹ button that goes to the previous slide. Default: "Previous slide" */
|
|
2978
|
+
prevSlide?: string;
|
|
2979
|
+
/** aria-label for the › button that goes to the next slide. Default: "Next slide" */
|
|
2980
|
+
nextSlide?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* aria-label for a dot/tab button in the Carousel pagination strip.
|
|
2983
|
+
* Default: `(n) => \`Go to slide ${n}\``
|
|
2984
|
+
*/
|
|
2985
|
+
goToSlide?: (n: number) => string;
|
|
2986
|
+
/**
|
|
2987
|
+
* aria-label for a thumbnail button in the Carousel thumbnail strip.
|
|
2988
|
+
* Default: `(n) => \`Thumbnail ${n}\``
|
|
2989
|
+
*/
|
|
2990
|
+
carouselThumbnail?: (n: number) => string;
|
|
2991
|
+
/**
|
|
2992
|
+
* aria-label for the filter icon in a DataTable column header.
|
|
2993
|
+
* Default: `(column) => \`Filter by ${column}\``
|
|
2994
|
+
*/
|
|
2995
|
+
filterByColumn?: (column: string) => string;
|
|
2996
|
+
/**
|
|
2997
|
+
* aria-label for the auto-fit icon in a DataTable column header.
|
|
2998
|
+
* Default: `(column) => \`Auto fit ${column}\``
|
|
2999
|
+
*/
|
|
3000
|
+
autoFitColumn?: (column: string) => string;
|
|
3001
|
+
/** Fallback label for the "Sort by" button when no `sortByLabel` prop is provided. Default: "Sort by" */
|
|
3002
|
+
sortBy?: string;
|
|
3003
|
+
/** aria-label for the ColorPicker trigger button. Default: "Open color picker" */
|
|
3004
|
+
openColorPicker?: string;
|
|
3005
|
+
/** aria-label for the MonthYearPicker trigger button. Default: "Select month and year" */
|
|
3006
|
+
selectMonthYear?: string;
|
|
3007
|
+
/** aria-label for the minimum-value thumb on a Slider. Default: "Minimum value" */
|
|
3008
|
+
minimumValue?: string;
|
|
3009
|
+
/** aria-label for the maximum-value thumb on a Slider. Default: "Maximum value" */
|
|
3010
|
+
maximumValue?: string;
|
|
3011
|
+
/** aria-label for the "show all" button inside a collapsed Breadcrumb. Default: "Show all breadcrumb items" */
|
|
3012
|
+
showAllBreadcrumbs?: string;
|
|
3013
|
+
/** aria-label for the Carousel dots / pagination nav. Default: "Carousel pagination" */
|
|
3014
|
+
carouselPagination?: string;
|
|
3015
|
+
/** aria-label for the resize handle on a Sheet panel. Default: "Resize sheet" */
|
|
3016
|
+
resizeSheet?: string;
|
|
3017
|
+
/** aria-label for the row-height resize handle in CalendarTimeline. Default: "Resize row height" */
|
|
3018
|
+
resizeRowHeight?: string;
|
|
3019
|
+
/** aria-label for the resource-column resize handle in CalendarTimeline. Default: "Resize resource column" */
|
|
3020
|
+
resizeResourceColumn?: string;
|
|
3021
|
+
/** aria-label for the battery-level Progress bar. Default: "Battery level" */
|
|
3022
|
+
batteryLevel?: string;
|
|
3023
|
+
/** aria-label for the Breadcrumb `<nav>` landmark. Default: "Breadcrumb navigation" */
|
|
3024
|
+
breadcrumbNavigation?: string;
|
|
3025
|
+
/** aria-label for the step-list container in a Progress component. Default: "Progress steps" */
|
|
3026
|
+
progressSteps?: string;
|
|
3027
|
+
/** title for the preview button on an uploaded file. Default: "Preview" */
|
|
3028
|
+
previewFile?: string;
|
|
3029
|
+
/** title for the retry button on a failed upload. Default: "Retry" */
|
|
3030
|
+
retryUpload?: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* aria-label for the expand/collapse button on a CategoryTreeSelect item.
|
|
3033
|
+
* Receives the category name and the current expanded state.
|
|
3034
|
+
* Default: `(name, expanded) => expanded ? \`Collapse ${name}\` : \`Expand ${name}\``
|
|
3035
|
+
*/
|
|
3036
|
+
toggleCategory?: (name: string, expanded: boolean) => string;
|
|
3037
|
+
/** Column header label for the "Hour" spinner in TimePicker. Default: "Hour" */
|
|
3038
|
+
hourLabel?: string;
|
|
3039
|
+
/** Column header label for the "Min" spinner in TimePicker. Default: "Min" */
|
|
3040
|
+
minuteLabel?: string;
|
|
3041
|
+
/** Column header label for the "Sec" spinner in TimePicker. Default: "Sec" */
|
|
3042
|
+
secondLabel?: string;
|
|
3043
|
+
/** Label for the alpha (opacity) slider in ColorPicker. Default: "Alpha" */
|
|
3044
|
+
alphaLabel?: string;
|
|
3045
|
+
/** 12 full month names starting from January. */
|
|
3046
|
+
monthNames?: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
3047
|
+
/** 7 weekday names starting from Sunday. */
|
|
3048
|
+
weekdayNames?: [string, string, string, string, string, string, string];
|
|
3049
|
+
}
|
|
3050
|
+
/** Read the nearest `GlobalI18nConfig`. Returns `{}` when no provider is present. */
|
|
3051
|
+
declare function useGlobalI18n(): GlobalI18nConfig;
|
|
3052
|
+
|
|
2870
3053
|
type Locale = "en" | "vi" | "ko" | "ja";
|
|
2871
3054
|
type Translations = Record<string, Record<string, string | Record<string, string>>>;
|
|
2872
3055
|
/** Public props for the `TranslationProvider` component. */
|
|
@@ -2876,7 +3059,10 @@ interface TranslationProviderProps {
|
|
|
2876
3059
|
locale?: Locale;
|
|
2877
3060
|
/** Custom translations to merge with defaults */
|
|
2878
3061
|
translations?: Partial<Record<Locale, Translations>>;
|
|
3062
|
+
/** Global flat label overrides — lets callers skip per-component prop drilling for common strings. */
|
|
3063
|
+
i18n?: GlobalI18nConfig;
|
|
2879
3064
|
}
|
|
3065
|
+
|
|
2880
3066
|
/**
|
|
2881
3067
|
* TranslationProvider for Underverse UI components.
|
|
2882
3068
|
*
|
|
@@ -2929,8 +3115,10 @@ interface NextIntlAdapterProps {
|
|
|
2929
3115
|
children: React$1.ReactNode;
|
|
2930
3116
|
locale?: string | null;
|
|
2931
3117
|
messages?: Record<string, unknown> | null;
|
|
3118
|
+
/** Global flat label overrides — lets callers skip per-component prop drilling for common strings. */
|
|
3119
|
+
i18n?: GlobalI18nConfig;
|
|
2932
3120
|
}
|
|
2933
|
-
declare function NextIntlAdapter({ children, locale, messages }: NextIntlAdapterProps): react_jsx_runtime.JSX.Element;
|
|
3121
|
+
declare function NextIntlAdapter({ children, locale, messages, i18n }: NextIntlAdapterProps): react_jsx_runtime.JSX.Element;
|
|
2934
3122
|
declare const UnderverseNextIntlProvider: typeof NextIntlAdapter;
|
|
2935
3123
|
|
|
2936
3124
|
type LegacyTranslations = Record<string, Record<string, string | Record<string, string>>>;
|
|
@@ -5170,4 +5358,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5170
5358
|
};
|
|
5171
5359
|
};
|
|
5172
5360
|
|
|
5173
|
-
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 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, 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, 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, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, 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, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
5361
|
+
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 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, 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, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, 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, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
package/dist/index.d.ts
CHANGED
|
@@ -899,8 +899,8 @@ declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
|
899
899
|
interface DateRangePickerProps {
|
|
900
900
|
id?: string;
|
|
901
901
|
startDate?: Date;
|
|
902
|
-
endDate?: Date;
|
|
903
|
-
onChange: (start: Date | undefined, end: Date | undefined) => void;
|
|
902
|
+
endDate?: Date | null;
|
|
903
|
+
onChange: (start: Date | undefined, end: Date | null | undefined) => void;
|
|
904
904
|
placeholder?: string;
|
|
905
905
|
className?: string;
|
|
906
906
|
label?: string;
|
|
@@ -2867,6 +2867,189 @@ declare const VARIANT_STYLES_ALERT: {
|
|
|
2867
2867
|
error: string;
|
|
2868
2868
|
};
|
|
2869
2869
|
|
|
2870
|
+
/**
|
|
2871
|
+
* Flat i18n config for overriding built-in English labels across all components.
|
|
2872
|
+
* Pass this via the `i18n` prop on `UnderverseNextIntlProvider` or `TranslationProvider`.
|
|
2873
|
+
*
|
|
2874
|
+
* Component-level props (e.g. `searchPlaceholder` on `<Combobox />`) still take
|
|
2875
|
+
* precedence over this global config — this only sets the global default.
|
|
2876
|
+
*
|
|
2877
|
+
* @example
|
|
2878
|
+
* ```tsx
|
|
2879
|
+
* <UnderverseNextIntlProvider
|
|
2880
|
+
* i18n={{
|
|
2881
|
+
* searchPlaceholder: "Tìm kiếm...",
|
|
2882
|
+
* selectPlaceholder: "Chọn...",
|
|
2883
|
+
* noResults: "Không có kết quả",
|
|
2884
|
+
* clearAll: "Xóa tất cả",
|
|
2885
|
+
* selectedCount: (n) => `Đã chọn ${n}`,
|
|
2886
|
+
* moreCount: (n) => `+${n} khác`,
|
|
2887
|
+
* }}
|
|
2888
|
+
* >
|
|
2889
|
+
* <App />
|
|
2890
|
+
* </UnderverseNextIntlProvider>
|
|
2891
|
+
* ```
|
|
2892
|
+
*/
|
|
2893
|
+
interface GlobalI18nConfig {
|
|
2894
|
+
/** Placeholder for search inputs inside dropdowns. Default: "Search..." */
|
|
2895
|
+
searchPlaceholder?: string;
|
|
2896
|
+
/** Placeholder shown on trigger button/input when nothing is selected. Default: "Select..." */
|
|
2897
|
+
selectPlaceholder?: string;
|
|
2898
|
+
/** Placeholder for CategoryTreeSelect trigger when nothing is selected. Falls back to `selectPlaceholder`. */
|
|
2899
|
+
selectCategoryPlaceholder?: string;
|
|
2900
|
+
/** Text shown when a search returns no results. Default: "No results found" */
|
|
2901
|
+
noResults?: string;
|
|
2902
|
+
/** Text shown when a category tree has no items. Default: "No categories" */
|
|
2903
|
+
noCategories?: string;
|
|
2904
|
+
/** Loading indicator text. Default: "Loading..." */
|
|
2905
|
+
loading?: string;
|
|
2906
|
+
/** "Clear all" button label (MultiCombobox dropdown header + trigger). Default: "Clear all" */
|
|
2907
|
+
clearAll?: string;
|
|
2908
|
+
/** aria-label for the × button that clears a search input. Default: "Clear search" */
|
|
2909
|
+
clearSearch?: string;
|
|
2910
|
+
/** aria-label for the × button that clears the current selection. Default: "Clear selection" */
|
|
2911
|
+
clearSelection?: string;
|
|
2912
|
+
/** Suggestion shown in empty search state. Default: "Try a different keyword" */
|
|
2913
|
+
tryDifferentSearch?: string;
|
|
2914
|
+
/** "Today" button label in DatePicker / CalendarTimeline. Default: "Today" */
|
|
2915
|
+
today?: string;
|
|
2916
|
+
/** "Clear" button label in DatePicker / TimePicker. Default: "Clear" */
|
|
2917
|
+
clear?: string;
|
|
2918
|
+
/** aria-label announced when a valid time is selected in TimePicker. Default: "Valid time selected" */
|
|
2919
|
+
validTimeSelected?: string;
|
|
2920
|
+
/**
|
|
2921
|
+
* Summary shown in the MultiCombobox trigger when items are selected and
|
|
2922
|
+
* there is no `maxSelected` limit. Default: `(n) => \`${n} items selected\``
|
|
2923
|
+
*/
|
|
2924
|
+
selectedCount?: (count: number) => string;
|
|
2925
|
+
/**
|
|
2926
|
+
* Summary shown in the MultiCombobox trigger when `maxSelected` is set.
|
|
2927
|
+
* Default: `(count, max) => \`${count}/${max} selected\``
|
|
2928
|
+
*/
|
|
2929
|
+
selectedCountWithMax?: (count: number, max: number) => string;
|
|
2930
|
+
/**
|
|
2931
|
+
* Compact summary used in the MultiCombobox dropdown header.
|
|
2932
|
+
* Default: `(n) => \`${n} selected\``
|
|
2933
|
+
*/
|
|
2934
|
+
itemSelectedCount?: (count: number) => string;
|
|
2935
|
+
/**
|
|
2936
|
+
* Overflow pill shown when visible tags exceed `maxTagsVisible`.
|
|
2937
|
+
* Default: `(n) => \`+${n} more\``
|
|
2938
|
+
*/
|
|
2939
|
+
moreCount?: (count: number) => string;
|
|
2940
|
+
/** aria-label for the × button that closes a modal. Default: "Close modal" */
|
|
2941
|
+
closeModal?: string;
|
|
2942
|
+
/** aria-label for the × button that dismisses a toast. Default: "Close toast" */
|
|
2943
|
+
closeToast?: string;
|
|
2944
|
+
/** aria-label for the × button inside a text input. Default: "Clear input" */
|
|
2945
|
+
clearInput?: string;
|
|
2946
|
+
/** aria-label for the eye button when password is hidden. Default: "Show password" */
|
|
2947
|
+
showPassword?: string;
|
|
2948
|
+
/** aria-label for the eye button when password is visible. Default: "Hide password" */
|
|
2949
|
+
hidePassword?: string;
|
|
2950
|
+
/** aria-label for the + stepper button on a number input. Default: "Increase value" */
|
|
2951
|
+
increaseValue?: string;
|
|
2952
|
+
/** aria-label for the − stepper button on a number input. Default: "Decrease value" */
|
|
2953
|
+
decreaseValue?: string;
|
|
2954
|
+
/** aria-label for the TimePicker trigger button. Default: "Select time" */
|
|
2955
|
+
selectTime?: string;
|
|
2956
|
+
/** aria-label for the inline time text input. Default: "Edit time value" */
|
|
2957
|
+
editTimeValue?: string;
|
|
2958
|
+
/** aria-label for the editable selected-time display. Default: "Edit selected time" */
|
|
2959
|
+
editSelectedTime?: string;
|
|
2960
|
+
/** aria-label for the AM/PM toggle. Default: "Select AM or PM" */
|
|
2961
|
+
selectAmPm?: string;
|
|
2962
|
+
/** aria-label for the "now" button in TimePicker. Default: "Set current time" */
|
|
2963
|
+
setCurrentTime?: string;
|
|
2964
|
+
/** aria-label for the clear button in TimePicker. Default: "Clear selected time" */
|
|
2965
|
+
clearTime?: string;
|
|
2966
|
+
/** title/aria-label for the download button on an uploaded file. Default: "Download" */
|
|
2967
|
+
download?: string;
|
|
2968
|
+
/** title/aria-label for the remove button on an uploaded file. Default: "Remove" */
|
|
2969
|
+
removeFile?: string;
|
|
2970
|
+
/**
|
|
2971
|
+
* aria-label for the × button that removes a tag from TagInput.
|
|
2972
|
+
* Default: `(tag) => \`Remove ${tag}\``
|
|
2973
|
+
*/
|
|
2974
|
+
removeTag?: (tag: string) => string;
|
|
2975
|
+
/** aria-label for the × button that removes a dismissible Badge. Default: "Remove badge" */
|
|
2976
|
+
removeBadge?: string;
|
|
2977
|
+
/** aria-label for the ‹ button that goes to the previous slide. Default: "Previous slide" */
|
|
2978
|
+
prevSlide?: string;
|
|
2979
|
+
/** aria-label for the › button that goes to the next slide. Default: "Next slide" */
|
|
2980
|
+
nextSlide?: string;
|
|
2981
|
+
/**
|
|
2982
|
+
* aria-label for a dot/tab button in the Carousel pagination strip.
|
|
2983
|
+
* Default: `(n) => \`Go to slide ${n}\``
|
|
2984
|
+
*/
|
|
2985
|
+
goToSlide?: (n: number) => string;
|
|
2986
|
+
/**
|
|
2987
|
+
* aria-label for a thumbnail button in the Carousel thumbnail strip.
|
|
2988
|
+
* Default: `(n) => \`Thumbnail ${n}\``
|
|
2989
|
+
*/
|
|
2990
|
+
carouselThumbnail?: (n: number) => string;
|
|
2991
|
+
/**
|
|
2992
|
+
* aria-label for the filter icon in a DataTable column header.
|
|
2993
|
+
* Default: `(column) => \`Filter by ${column}\``
|
|
2994
|
+
*/
|
|
2995
|
+
filterByColumn?: (column: string) => string;
|
|
2996
|
+
/**
|
|
2997
|
+
* aria-label for the auto-fit icon in a DataTable column header.
|
|
2998
|
+
* Default: `(column) => \`Auto fit ${column}\``
|
|
2999
|
+
*/
|
|
3000
|
+
autoFitColumn?: (column: string) => string;
|
|
3001
|
+
/** Fallback label for the "Sort by" button when no `sortByLabel` prop is provided. Default: "Sort by" */
|
|
3002
|
+
sortBy?: string;
|
|
3003
|
+
/** aria-label for the ColorPicker trigger button. Default: "Open color picker" */
|
|
3004
|
+
openColorPicker?: string;
|
|
3005
|
+
/** aria-label for the MonthYearPicker trigger button. Default: "Select month and year" */
|
|
3006
|
+
selectMonthYear?: string;
|
|
3007
|
+
/** aria-label for the minimum-value thumb on a Slider. Default: "Minimum value" */
|
|
3008
|
+
minimumValue?: string;
|
|
3009
|
+
/** aria-label for the maximum-value thumb on a Slider. Default: "Maximum value" */
|
|
3010
|
+
maximumValue?: string;
|
|
3011
|
+
/** aria-label for the "show all" button inside a collapsed Breadcrumb. Default: "Show all breadcrumb items" */
|
|
3012
|
+
showAllBreadcrumbs?: string;
|
|
3013
|
+
/** aria-label for the Carousel dots / pagination nav. Default: "Carousel pagination" */
|
|
3014
|
+
carouselPagination?: string;
|
|
3015
|
+
/** aria-label for the resize handle on a Sheet panel. Default: "Resize sheet" */
|
|
3016
|
+
resizeSheet?: string;
|
|
3017
|
+
/** aria-label for the row-height resize handle in CalendarTimeline. Default: "Resize row height" */
|
|
3018
|
+
resizeRowHeight?: string;
|
|
3019
|
+
/** aria-label for the resource-column resize handle in CalendarTimeline. Default: "Resize resource column" */
|
|
3020
|
+
resizeResourceColumn?: string;
|
|
3021
|
+
/** aria-label for the battery-level Progress bar. Default: "Battery level" */
|
|
3022
|
+
batteryLevel?: string;
|
|
3023
|
+
/** aria-label for the Breadcrumb `<nav>` landmark. Default: "Breadcrumb navigation" */
|
|
3024
|
+
breadcrumbNavigation?: string;
|
|
3025
|
+
/** aria-label for the step-list container in a Progress component. Default: "Progress steps" */
|
|
3026
|
+
progressSteps?: string;
|
|
3027
|
+
/** title for the preview button on an uploaded file. Default: "Preview" */
|
|
3028
|
+
previewFile?: string;
|
|
3029
|
+
/** title for the retry button on a failed upload. Default: "Retry" */
|
|
3030
|
+
retryUpload?: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* aria-label for the expand/collapse button on a CategoryTreeSelect item.
|
|
3033
|
+
* Receives the category name and the current expanded state.
|
|
3034
|
+
* Default: `(name, expanded) => expanded ? \`Collapse ${name}\` : \`Expand ${name}\``
|
|
3035
|
+
*/
|
|
3036
|
+
toggleCategory?: (name: string, expanded: boolean) => string;
|
|
3037
|
+
/** Column header label for the "Hour" spinner in TimePicker. Default: "Hour" */
|
|
3038
|
+
hourLabel?: string;
|
|
3039
|
+
/** Column header label for the "Min" spinner in TimePicker. Default: "Min" */
|
|
3040
|
+
minuteLabel?: string;
|
|
3041
|
+
/** Column header label for the "Sec" spinner in TimePicker. Default: "Sec" */
|
|
3042
|
+
secondLabel?: string;
|
|
3043
|
+
/** Label for the alpha (opacity) slider in ColorPicker. Default: "Alpha" */
|
|
3044
|
+
alphaLabel?: string;
|
|
3045
|
+
/** 12 full month names starting from January. */
|
|
3046
|
+
monthNames?: [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
3047
|
+
/** 7 weekday names starting from Sunday. */
|
|
3048
|
+
weekdayNames?: [string, string, string, string, string, string, string];
|
|
3049
|
+
}
|
|
3050
|
+
/** Read the nearest `GlobalI18nConfig`. Returns `{}` when no provider is present. */
|
|
3051
|
+
declare function useGlobalI18n(): GlobalI18nConfig;
|
|
3052
|
+
|
|
2870
3053
|
type Locale = "en" | "vi" | "ko" | "ja";
|
|
2871
3054
|
type Translations = Record<string, Record<string, string | Record<string, string>>>;
|
|
2872
3055
|
/** Public props for the `TranslationProvider` component. */
|
|
@@ -2876,7 +3059,10 @@ interface TranslationProviderProps {
|
|
|
2876
3059
|
locale?: Locale;
|
|
2877
3060
|
/** Custom translations to merge with defaults */
|
|
2878
3061
|
translations?: Partial<Record<Locale, Translations>>;
|
|
3062
|
+
/** Global flat label overrides — lets callers skip per-component prop drilling for common strings. */
|
|
3063
|
+
i18n?: GlobalI18nConfig;
|
|
2879
3064
|
}
|
|
3065
|
+
|
|
2880
3066
|
/**
|
|
2881
3067
|
* TranslationProvider for Underverse UI components.
|
|
2882
3068
|
*
|
|
@@ -2929,8 +3115,10 @@ interface NextIntlAdapterProps {
|
|
|
2929
3115
|
children: React$1.ReactNode;
|
|
2930
3116
|
locale?: string | null;
|
|
2931
3117
|
messages?: Record<string, unknown> | null;
|
|
3118
|
+
/** Global flat label overrides — lets callers skip per-component prop drilling for common strings. */
|
|
3119
|
+
i18n?: GlobalI18nConfig;
|
|
2932
3120
|
}
|
|
2933
|
-
declare function NextIntlAdapter({ children, locale, messages }: NextIntlAdapterProps): react_jsx_runtime.JSX.Element;
|
|
3121
|
+
declare function NextIntlAdapter({ children, locale, messages, i18n }: NextIntlAdapterProps): react_jsx_runtime.JSX.Element;
|
|
2934
3122
|
declare const UnderverseNextIntlProvider: typeof NextIntlAdapter;
|
|
2935
3123
|
|
|
2936
3124
|
type LegacyTranslations = Record<string, Record<string, string | Record<string, string>>>;
|
|
@@ -5170,4 +5358,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
5170
5358
|
};
|
|
5171
5359
|
};
|
|
5172
5360
|
|
|
5173
|
-
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 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, 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, 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, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, 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, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
5361
|
+
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 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, 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, Progress, PulseBadge, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, SegmentedProgress, SelectDropdown, Sheet, type SheetProps, SidebarSheet, type SidebarSheetProps, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, type SlideOverProps, Slider, type SliderProps, SmartImage, type Song, type Sorter, StatusBadge, StepProgress, 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, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, type UnderverseLocale, UnderverseNextIntlProvider, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, type UploadedImage, type UseOverlayScrollbarTargetOptions, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VIETNAM_HOLIDAYS, VerticalTabs, Watermark, type WatermarkProps, cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|