@underverse-ui/underverse 1.0.177 → 1.0.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -982,6 +982,95 @@ declare const CompactDatePicker: React$1.FC<{
982
982
  className?: string;
983
983
  }>;
984
984
 
985
+ type LunarDateValue = {
986
+ day: number;
987
+ month: number;
988
+ year: number;
989
+ is_leap_month: boolean;
990
+ };
991
+ /**
992
+ * Converts a Gregorian (Solar) Date object to a LunarDateValue object.
993
+ * Applies the standard Vietnamese Lunar Calendar algorithm based on the timezone offset (UTC+7).
994
+ *
995
+ * @param {Date} date - The Gregorian Date object to convert.
996
+ * @returns {LunarDateValue} The corresponding lunar date containing day, month, year, and leap month indicator.
997
+ */
998
+ declare function solarToLunar(date: Date): LunarDateValue;
999
+ /**
1000
+ * Converts a LunarDateValue back to a Gregorian (Solar) date string.
1001
+ *
1002
+ * @param {LunarDateValue} lunar - The lunar date object to convert.
1003
+ * @returns {string} The corresponding Gregorian date in 'YYYY-MM-DD' format.
1004
+ */
1005
+ declare function lunarToSolar(lunar: LunarDateValue): string;
1006
+ /**
1007
+ * Formats a LunarDateValue into a basic localized short string representation.
1008
+ * For example: '15/8/2026'.
1009
+ *
1010
+ * @param {LunarDateValue | null} lunar - The lunar date object to format.
1011
+ * @returns {string} The formatted short string representation, or an empty string if null.
1012
+ */
1013
+ declare function formatLunarDate(lunar?: LunarDateValue | null): string;
1014
+ /**
1015
+ * Generates a compact lunar badge string (e.g., '(L8.15)') directly from a Gregorian date.
1016
+ * Relies on Intl.DateTimeFormat with the 'chinese' calendar type.
1017
+ *
1018
+ * @param {Date} date - The Gregorian date to convert and format.
1019
+ * @returns {string} A short badge string representing the lunar month and day.
1020
+ */
1021
+ declare function formatLunarBadge(date: Date): string;
1022
+
1023
+ type lunar_LunarDateValue = LunarDateValue;
1024
+ declare const lunar_formatLunarBadge: typeof formatLunarBadge;
1025
+ declare const lunar_formatLunarDate: typeof formatLunarDate;
1026
+ declare const lunar_lunarToSolar: typeof lunarToSolar;
1027
+ declare const lunar_solarToLunar: typeof solarToLunar;
1028
+ declare namespace lunar {
1029
+ export { type lunar_LunarDateValue as LunarDateValue, lunar_formatLunarBadge as formatLunarBadge, lunar_formatLunarDate as formatLunarDate, lunar_lunarToSolar as lunarToSolar, lunar_solarToLunar as solarToLunar };
1030
+ }
1031
+
1032
+ type LunarPickerValue = LunarDateValue;
1033
+ interface LunarDatePickerProps {
1034
+ id?: string;
1035
+ value?: LunarPickerValue;
1036
+ onChange: (date: LunarPickerValue | undefined) => void;
1037
+ placeholder?: string;
1038
+ className?: string;
1039
+ disabled?: boolean;
1040
+ size?: "sm" | "md" | "lg";
1041
+ label?: string;
1042
+ /** Custom class for label */
1043
+ labelClassName?: string;
1044
+ required?: boolean;
1045
+ todayLabel?: string;
1046
+ clearLabel?: string;
1047
+ weekdayLabels?: string[];
1048
+ /** Disable selecting past dates (before today) */
1049
+ disablePastDates?: boolean;
1050
+ /** Minimum selectable date (inclusive). Compared by day in local timezone. */
1051
+ minDate?: LunarPickerValue;
1052
+ /** Maximum selectable date (inclusive). Compared by day in local timezone. */
1053
+ maxDate?: LunarPickerValue;
1054
+ }
1055
+ declare const LunarDatePicker: React$1.FC<LunarDatePickerProps>;
1056
+ interface LunarDateRangePickerProps {
1057
+ id?: string;
1058
+ startDate?: LunarPickerValue;
1059
+ endDate?: LunarPickerValue | null;
1060
+ onChange: (start: LunarPickerValue | undefined, end: LunarPickerValue | null | undefined) => void;
1061
+ placeholder?: string;
1062
+ className?: string;
1063
+ label?: string;
1064
+ labelClassName?: string;
1065
+ required?: boolean;
1066
+ disablePastDates?: boolean;
1067
+ minDate?: LunarPickerValue;
1068
+ maxDate?: LunarPickerValue;
1069
+ size?: "sm" | "md" | "lg";
1070
+ disabled?: boolean;
1071
+ }
1072
+ declare const LunarDateRangePicker: React$1.FC<LunarDateRangePickerProps>;
1073
+
985
1074
  /** Public props for the `DateTimePicker` component. */
986
1075
  interface DateTimePickerProps {
987
1076
  value?: Date;
@@ -3487,6 +3576,10 @@ declare const underverseMessages: {
3487
3576
  placeholder: string;
3488
3577
  today: string;
3489
3578
  clear: string;
3579
+ lunarFormat: string;
3580
+ lunarLeapFormat: string;
3581
+ lunarMonth: string;
3582
+ lunarLeap: string;
3490
3583
  };
3491
3584
  DateTimePicker: {
3492
3585
  time: string;
@@ -3903,6 +3996,10 @@ declare const underverseMessages: {
3903
3996
  placeholder: string;
3904
3997
  today: string;
3905
3998
  clear: string;
3999
+ lunarFormat: string;
4000
+ lunarLeapFormat: string;
4001
+ lunarMonth: string;
4002
+ lunarLeap: string;
3906
4003
  };
3907
4004
  DateTimePicker: {
3908
4005
  time: string;
@@ -4319,6 +4416,10 @@ declare const underverseMessages: {
4319
4416
  placeholder: string;
4320
4417
  today: string;
4321
4418
  clear: string;
4419
+ lunarFormat: string;
4420
+ lunarLeapFormat: string;
4421
+ lunarMonth: string;
4422
+ lunarLeap: string;
4322
4423
  };
4323
4424
  DateTimePicker: {
4324
4425
  time: string;
@@ -4735,6 +4836,10 @@ declare const underverseMessages: {
4735
4836
  placeholder: string;
4736
4837
  today: string;
4737
4838
  clear: string;
4839
+ lunarFormat: string;
4840
+ lunarLeapFormat: string;
4841
+ lunarMonth: string;
4842
+ lunarLeap: string;
4738
4843
  };
4739
4844
  DateTimePicker: {
4740
4845
  time: string;
@@ -5154,6 +5259,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5154
5259
  placeholder: string;
5155
5260
  today: string;
5156
5261
  clear: string;
5262
+ lunarFormat: string;
5263
+ lunarLeapFormat: string;
5264
+ lunarMonth: string;
5265
+ lunarLeap: string;
5157
5266
  };
5158
5267
  DateTimePicker: {
5159
5268
  time: string;
@@ -5569,6 +5678,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5569
5678
  placeholder: string;
5570
5679
  today: string;
5571
5680
  clear: string;
5681
+ lunarFormat: string;
5682
+ lunarLeapFormat: string;
5683
+ lunarMonth: string;
5684
+ lunarLeap: string;
5572
5685
  };
5573
5686
  DateTimePicker: {
5574
5687
  time: string;
@@ -5984,6 +6097,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5984
6097
  placeholder: string;
5985
6098
  today: string;
5986
6099
  clear: string;
6100
+ lunarFormat: string;
6101
+ lunarLeapFormat: string;
6102
+ lunarMonth: string;
6103
+ lunarLeap: string;
5987
6104
  };
5988
6105
  DateTimePicker: {
5989
6106
  time: string;
@@ -6399,6 +6516,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6399
6516
  placeholder: string;
6400
6517
  today: string;
6401
6518
  clear: string;
6519
+ lunarFormat: string;
6520
+ lunarLeapFormat: string;
6521
+ lunarMonth: string;
6522
+ lunarLeap: string;
6402
6523
  };
6403
6524
  DateTimePicker: {
6404
6525
  time: string;
@@ -6768,4 +6889,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6768
6889
  };
6769
6890
  };
6770
6891
 
6771
- 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 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, 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, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
6892
+ 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, 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, 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 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, 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, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
package/dist/index.d.ts CHANGED
@@ -982,6 +982,95 @@ declare const CompactDatePicker: React$1.FC<{
982
982
  className?: string;
983
983
  }>;
984
984
 
985
+ type LunarDateValue = {
986
+ day: number;
987
+ month: number;
988
+ year: number;
989
+ is_leap_month: boolean;
990
+ };
991
+ /**
992
+ * Converts a Gregorian (Solar) Date object to a LunarDateValue object.
993
+ * Applies the standard Vietnamese Lunar Calendar algorithm based on the timezone offset (UTC+7).
994
+ *
995
+ * @param {Date} date - The Gregorian Date object to convert.
996
+ * @returns {LunarDateValue} The corresponding lunar date containing day, month, year, and leap month indicator.
997
+ */
998
+ declare function solarToLunar(date: Date): LunarDateValue;
999
+ /**
1000
+ * Converts a LunarDateValue back to a Gregorian (Solar) date string.
1001
+ *
1002
+ * @param {LunarDateValue} lunar - The lunar date object to convert.
1003
+ * @returns {string} The corresponding Gregorian date in 'YYYY-MM-DD' format.
1004
+ */
1005
+ declare function lunarToSolar(lunar: LunarDateValue): string;
1006
+ /**
1007
+ * Formats a LunarDateValue into a basic localized short string representation.
1008
+ * For example: '15/8/2026'.
1009
+ *
1010
+ * @param {LunarDateValue | null} lunar - The lunar date object to format.
1011
+ * @returns {string} The formatted short string representation, or an empty string if null.
1012
+ */
1013
+ declare function formatLunarDate(lunar?: LunarDateValue | null): string;
1014
+ /**
1015
+ * Generates a compact lunar badge string (e.g., '(L8.15)') directly from a Gregorian date.
1016
+ * Relies on Intl.DateTimeFormat with the 'chinese' calendar type.
1017
+ *
1018
+ * @param {Date} date - The Gregorian date to convert and format.
1019
+ * @returns {string} A short badge string representing the lunar month and day.
1020
+ */
1021
+ declare function formatLunarBadge(date: Date): string;
1022
+
1023
+ type lunar_LunarDateValue = LunarDateValue;
1024
+ declare const lunar_formatLunarBadge: typeof formatLunarBadge;
1025
+ declare const lunar_formatLunarDate: typeof formatLunarDate;
1026
+ declare const lunar_lunarToSolar: typeof lunarToSolar;
1027
+ declare const lunar_solarToLunar: typeof solarToLunar;
1028
+ declare namespace lunar {
1029
+ export { type lunar_LunarDateValue as LunarDateValue, lunar_formatLunarBadge as formatLunarBadge, lunar_formatLunarDate as formatLunarDate, lunar_lunarToSolar as lunarToSolar, lunar_solarToLunar as solarToLunar };
1030
+ }
1031
+
1032
+ type LunarPickerValue = LunarDateValue;
1033
+ interface LunarDatePickerProps {
1034
+ id?: string;
1035
+ value?: LunarPickerValue;
1036
+ onChange: (date: LunarPickerValue | undefined) => void;
1037
+ placeholder?: string;
1038
+ className?: string;
1039
+ disabled?: boolean;
1040
+ size?: "sm" | "md" | "lg";
1041
+ label?: string;
1042
+ /** Custom class for label */
1043
+ labelClassName?: string;
1044
+ required?: boolean;
1045
+ todayLabel?: string;
1046
+ clearLabel?: string;
1047
+ weekdayLabels?: string[];
1048
+ /** Disable selecting past dates (before today) */
1049
+ disablePastDates?: boolean;
1050
+ /** Minimum selectable date (inclusive). Compared by day in local timezone. */
1051
+ minDate?: LunarPickerValue;
1052
+ /** Maximum selectable date (inclusive). Compared by day in local timezone. */
1053
+ maxDate?: LunarPickerValue;
1054
+ }
1055
+ declare const LunarDatePicker: React$1.FC<LunarDatePickerProps>;
1056
+ interface LunarDateRangePickerProps {
1057
+ id?: string;
1058
+ startDate?: LunarPickerValue;
1059
+ endDate?: LunarPickerValue | null;
1060
+ onChange: (start: LunarPickerValue | undefined, end: LunarPickerValue | null | undefined) => void;
1061
+ placeholder?: string;
1062
+ className?: string;
1063
+ label?: string;
1064
+ labelClassName?: string;
1065
+ required?: boolean;
1066
+ disablePastDates?: boolean;
1067
+ minDate?: LunarPickerValue;
1068
+ maxDate?: LunarPickerValue;
1069
+ size?: "sm" | "md" | "lg";
1070
+ disabled?: boolean;
1071
+ }
1072
+ declare const LunarDateRangePicker: React$1.FC<LunarDateRangePickerProps>;
1073
+
985
1074
  /** Public props for the `DateTimePicker` component. */
986
1075
  interface DateTimePickerProps {
987
1076
  value?: Date;
@@ -3487,6 +3576,10 @@ declare const underverseMessages: {
3487
3576
  placeholder: string;
3488
3577
  today: string;
3489
3578
  clear: string;
3579
+ lunarFormat: string;
3580
+ lunarLeapFormat: string;
3581
+ lunarMonth: string;
3582
+ lunarLeap: string;
3490
3583
  };
3491
3584
  DateTimePicker: {
3492
3585
  time: string;
@@ -3903,6 +3996,10 @@ declare const underverseMessages: {
3903
3996
  placeholder: string;
3904
3997
  today: string;
3905
3998
  clear: string;
3999
+ lunarFormat: string;
4000
+ lunarLeapFormat: string;
4001
+ lunarMonth: string;
4002
+ lunarLeap: string;
3906
4003
  };
3907
4004
  DateTimePicker: {
3908
4005
  time: string;
@@ -4319,6 +4416,10 @@ declare const underverseMessages: {
4319
4416
  placeholder: string;
4320
4417
  today: string;
4321
4418
  clear: string;
4419
+ lunarFormat: string;
4420
+ lunarLeapFormat: string;
4421
+ lunarMonth: string;
4422
+ lunarLeap: string;
4322
4423
  };
4323
4424
  DateTimePicker: {
4324
4425
  time: string;
@@ -4735,6 +4836,10 @@ declare const underverseMessages: {
4735
4836
  placeholder: string;
4736
4837
  today: string;
4737
4838
  clear: string;
4839
+ lunarFormat: string;
4840
+ lunarLeapFormat: string;
4841
+ lunarMonth: string;
4842
+ lunarLeap: string;
4738
4843
  };
4739
4844
  DateTimePicker: {
4740
4845
  time: string;
@@ -5154,6 +5259,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5154
5259
  placeholder: string;
5155
5260
  today: string;
5156
5261
  clear: string;
5262
+ lunarFormat: string;
5263
+ lunarLeapFormat: string;
5264
+ lunarMonth: string;
5265
+ lunarLeap: string;
5157
5266
  };
5158
5267
  DateTimePicker: {
5159
5268
  time: string;
@@ -5569,6 +5678,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5569
5678
  placeholder: string;
5570
5679
  today: string;
5571
5680
  clear: string;
5681
+ lunarFormat: string;
5682
+ lunarLeapFormat: string;
5683
+ lunarMonth: string;
5684
+ lunarLeap: string;
5572
5685
  };
5573
5686
  DateTimePicker: {
5574
5687
  time: string;
@@ -5984,6 +6097,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5984
6097
  placeholder: string;
5985
6098
  today: string;
5986
6099
  clear: string;
6100
+ lunarFormat: string;
6101
+ lunarLeapFormat: string;
6102
+ lunarMonth: string;
6103
+ lunarLeap: string;
5987
6104
  };
5988
6105
  DateTimePicker: {
5989
6106
  time: string;
@@ -6399,6 +6516,10 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6399
6516
  placeholder: string;
6400
6517
  today: string;
6401
6518
  clear: string;
6519
+ lunarFormat: string;
6520
+ lunarLeapFormat: string;
6521
+ lunarMonth: string;
6522
+ lunarLeap: string;
6402
6523
  };
6403
6524
  DateTimePicker: {
6404
6525
  time: string;
@@ -6768,4 +6889,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6768
6889
  };
6769
6890
  };
6770
6891
 
6771
- 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 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, 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, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
6892
+ 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, 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, 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 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, 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, getEmojiImageUrl, getEmojiUnifiedCode, getStickerImageUrl, getUnderverseMessages, injectAnimationStyles, loading, normalizeImageUrl, prepareUEditorContentForSave, setEmojiBaseUrl, setStickerBaseUrl, shadcnAnimationStyles, underverseMessages, useFormField, useGlobalI18n, useOverlayScrollbarTarget, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };