@underverse-ui/underverse 1.0.205 → 1.0.207

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.
Files changed (30) hide show
  1. package/api-reference.json +30 -2
  2. package/dist/{EmojiPicker-BAWP2RAS.js → EmojiPicker-FEJJDAWZ.js} +4 -4
  3. package/dist/{chunk-2V6A6PGI.js → chunk-4E43DRP2.js} +102 -24
  4. package/dist/chunk-4E43DRP2.js.map +1 -0
  5. package/dist/{chunk-MJV7ETJM.js → chunk-AMAILXHP.js} +61 -36
  6. package/dist/chunk-AMAILXHP.js.map +1 -0
  7. package/dist/{chunk-XJR7E6QB.js → chunk-BRDGIALS.js} +13 -5
  8. package/dist/chunk-BRDGIALS.js.map +1 -0
  9. package/dist/{chunk-IXEFOLUD.js → chunk-CYCBSKWI.js} +2 -2
  10. package/dist/{chunk-Z63YNF3N.js → chunk-F6A7HJE4.js} +3 -3
  11. package/dist/{chunk-7U3Y7R7U.js → chunk-GKY5DHGR.js} +3 -3
  12. package/dist/index.cjs +326 -62
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +73 -1
  15. package/dist/index.d.ts +73 -1
  16. package/dist/index.js +157 -6
  17. package/dist/index.js.map +1 -1
  18. package/dist/{menu-bar-NDAP3SOR.js → menu-bar-6GS5LLTD.js} +4 -4
  19. package/dist/ueditor.cjs +171 -62
  20. package/dist/ueditor.cjs.map +1 -1
  21. package/dist/ueditor.js +4 -4
  22. package/package.json +1 -1
  23. package/dist/chunk-2V6A6PGI.js.map +0 -1
  24. package/dist/chunk-MJV7ETJM.js.map +0 -1
  25. package/dist/chunk-XJR7E6QB.js.map +0 -1
  26. /package/dist/{EmojiPicker-BAWP2RAS.js.map → EmojiPicker-FEJJDAWZ.js.map} +0 -0
  27. /package/dist/{chunk-IXEFOLUD.js.map → chunk-CYCBSKWI.js.map} +0 -0
  28. /package/dist/{chunk-Z63YNF3N.js.map → chunk-F6A7HJE4.js.map} +0 -0
  29. /package/dist/{chunk-7U3Y7R7U.js.map → chunk-GKY5DHGR.js.map} +0 -0
  30. /package/dist/{menu-bar-NDAP3SOR.js.map → menu-bar-6GS5LLTD.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1896,6 +1896,62 @@ interface RadioGroupItemProps {
1896
1896
  }>;
1897
1897
  }
1898
1898
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
1899
+ /** Public props for the `SimpleRadioGroup` component. */
1900
+ interface SimpleRadioGroupProps {
1901
+ items: Array<{
1902
+ value: string;
1903
+ label: string;
1904
+ description?: string;
1905
+ disabled?: boolean;
1906
+ icon?: React$1.ComponentType<{
1907
+ className?: string;
1908
+ }>;
1909
+ }>;
1910
+ value?: string;
1911
+ defaultValue?: string;
1912
+ onValueChange?: (value: string) => void;
1913
+ name?: string;
1914
+ disabled?: boolean;
1915
+ orientation?: "horizontal" | "vertical";
1916
+ size?: "sm" | "md" | "lg";
1917
+ variant?: "default" | "card" | "button";
1918
+ borderMode?: BorderMode;
1919
+ className?: string;
1920
+ required?: boolean;
1921
+ error?: boolean;
1922
+ errorMessage?: string;
1923
+ }
1924
+ declare const SimpleRadioGroup: React$1.FC<SimpleRadioGroupProps>;
1925
+ /** Public props for the `RadioButtonGroup` component. */
1926
+ interface RadioButtonGroupProps {
1927
+ items: Array<{
1928
+ value: string;
1929
+ label: string;
1930
+ icon?: React$1.ComponentType<{
1931
+ className?: string;
1932
+ }>;
1933
+ disabled?: boolean;
1934
+ }>;
1935
+ value?: string;
1936
+ defaultValue?: string;
1937
+ onValueChange?: (value: string) => void;
1938
+ name?: string;
1939
+ disabled?: boolean;
1940
+ size?: "sm" | "md" | "lg";
1941
+ variant?: "default" | "outline" | "solid";
1942
+ borderMode?: BorderMode;
1943
+ className?: string;
1944
+ fullWidth?: boolean;
1945
+ }
1946
+ declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
1947
+ /** Public props for the `SegmentedControl` component. */
1948
+ interface SegmentedControlProps extends Omit<RadioButtonGroupProps, "variant"> {
1949
+ }
1950
+ declare const SegmentedControl: React$1.FC<SegmentedControlProps>;
1951
+ /** Public props for the `ToggleGroup` component. */
1952
+ interface ToggleGroupProps extends Omit<RadioButtonGroupProps, "variant"> {
1953
+ }
1954
+ declare const ToggleGroup: React$1.FC<ToggleGroupProps>;
1899
1955
 
1900
1956
  /** Public props for the `Slider` component. */
1901
1957
  interface SliderProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> {
@@ -3819,6 +3875,8 @@ declare const underverseMessages: {
3819
3875
  textDirection: string;
3820
3876
  horizontalText: string;
3821
3877
  verticalText: string;
3878
+ wrapText: string;
3879
+ noWrapText: string;
3822
3880
  };
3823
3881
  callout: {
3824
3882
  selectEmoji: string;
@@ -4268,6 +4326,8 @@ declare const underverseMessages: {
4268
4326
  textDirection: string;
4269
4327
  horizontalText: string;
4270
4328
  verticalText: string;
4329
+ wrapText: string;
4330
+ noWrapText: string;
4271
4331
  };
4272
4332
  callout: {
4273
4333
  selectEmoji: string;
@@ -4717,6 +4777,8 @@ declare const underverseMessages: {
4717
4777
  textDirection: string;
4718
4778
  horizontalText: string;
4719
4779
  verticalText: string;
4780
+ wrapText: string;
4781
+ noWrapText: string;
4720
4782
  };
4721
4783
  callout: {
4722
4784
  selectEmoji: string;
@@ -5166,6 +5228,8 @@ declare const underverseMessages: {
5166
5228
  textDirection: string;
5167
5229
  horizontalText: string;
5168
5230
  verticalText: string;
5231
+ wrapText: string;
5232
+ noWrapText: string;
5169
5233
  };
5170
5234
  callout: {
5171
5235
  selectEmoji: string;
@@ -5618,6 +5682,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5618
5682
  textDirection: string;
5619
5683
  horizontalText: string;
5620
5684
  verticalText: string;
5685
+ wrapText: string;
5686
+ noWrapText: string;
5621
5687
  };
5622
5688
  callout: {
5623
5689
  selectEmoji: string;
@@ -6066,6 +6132,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6066
6132
  textDirection: string;
6067
6133
  horizontalText: string;
6068
6134
  verticalText: string;
6135
+ wrapText: string;
6136
+ noWrapText: string;
6069
6137
  };
6070
6138
  callout: {
6071
6139
  selectEmoji: string;
@@ -6514,6 +6582,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6514
6582
  textDirection: string;
6515
6583
  horizontalText: string;
6516
6584
  verticalText: string;
6585
+ wrapText: string;
6586
+ noWrapText: string;
6517
6587
  };
6518
6588
  callout: {
6519
6589
  selectEmoji: string;
@@ -6962,6 +7032,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6962
7032
  textDirection: string;
6963
7033
  horizontalText: string;
6964
7034
  verticalText: string;
7035
+ wrapText: string;
7036
+ noWrapText: string;
6965
7037
  };
6966
7038
  callout: {
6967
7039
  selectEmoji: string;
@@ -7068,4 +7140,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
7068
7140
  };
7069
7141
  };
7070
7142
 
7071
- 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, 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 };
7143
+ 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, 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, 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
@@ -1896,6 +1896,62 @@ interface RadioGroupItemProps {
1896
1896
  }>;
1897
1897
  }
1898
1898
  declare const RadioGroupItem: React$1.ForwardRefExoticComponent<RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>>;
1899
+ /** Public props for the `SimpleRadioGroup` component. */
1900
+ interface SimpleRadioGroupProps {
1901
+ items: Array<{
1902
+ value: string;
1903
+ label: string;
1904
+ description?: string;
1905
+ disabled?: boolean;
1906
+ icon?: React$1.ComponentType<{
1907
+ className?: string;
1908
+ }>;
1909
+ }>;
1910
+ value?: string;
1911
+ defaultValue?: string;
1912
+ onValueChange?: (value: string) => void;
1913
+ name?: string;
1914
+ disabled?: boolean;
1915
+ orientation?: "horizontal" | "vertical";
1916
+ size?: "sm" | "md" | "lg";
1917
+ variant?: "default" | "card" | "button";
1918
+ borderMode?: BorderMode;
1919
+ className?: string;
1920
+ required?: boolean;
1921
+ error?: boolean;
1922
+ errorMessage?: string;
1923
+ }
1924
+ declare const SimpleRadioGroup: React$1.FC<SimpleRadioGroupProps>;
1925
+ /** Public props for the `RadioButtonGroup` component. */
1926
+ interface RadioButtonGroupProps {
1927
+ items: Array<{
1928
+ value: string;
1929
+ label: string;
1930
+ icon?: React$1.ComponentType<{
1931
+ className?: string;
1932
+ }>;
1933
+ disabled?: boolean;
1934
+ }>;
1935
+ value?: string;
1936
+ defaultValue?: string;
1937
+ onValueChange?: (value: string) => void;
1938
+ name?: string;
1939
+ disabled?: boolean;
1940
+ size?: "sm" | "md" | "lg";
1941
+ variant?: "default" | "outline" | "solid";
1942
+ borderMode?: BorderMode;
1943
+ className?: string;
1944
+ fullWidth?: boolean;
1945
+ }
1946
+ declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
1947
+ /** Public props for the `SegmentedControl` component. */
1948
+ interface SegmentedControlProps extends Omit<RadioButtonGroupProps, "variant"> {
1949
+ }
1950
+ declare const SegmentedControl: React$1.FC<SegmentedControlProps>;
1951
+ /** Public props for the `ToggleGroup` component. */
1952
+ interface ToggleGroupProps extends Omit<RadioButtonGroupProps, "variant"> {
1953
+ }
1954
+ declare const ToggleGroup: React$1.FC<ToggleGroupProps>;
1899
1955
 
1900
1956
  /** Public props for the `Slider` component. */
1901
1957
  interface SliderProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> {
@@ -3819,6 +3875,8 @@ declare const underverseMessages: {
3819
3875
  textDirection: string;
3820
3876
  horizontalText: string;
3821
3877
  verticalText: string;
3878
+ wrapText: string;
3879
+ noWrapText: string;
3822
3880
  };
3823
3881
  callout: {
3824
3882
  selectEmoji: string;
@@ -4268,6 +4326,8 @@ declare const underverseMessages: {
4268
4326
  textDirection: string;
4269
4327
  horizontalText: string;
4270
4328
  verticalText: string;
4329
+ wrapText: string;
4330
+ noWrapText: string;
4271
4331
  };
4272
4332
  callout: {
4273
4333
  selectEmoji: string;
@@ -4717,6 +4777,8 @@ declare const underverseMessages: {
4717
4777
  textDirection: string;
4718
4778
  horizontalText: string;
4719
4779
  verticalText: string;
4780
+ wrapText: string;
4781
+ noWrapText: string;
4720
4782
  };
4721
4783
  callout: {
4722
4784
  selectEmoji: string;
@@ -5166,6 +5228,8 @@ declare const underverseMessages: {
5166
5228
  textDirection: string;
5167
5229
  horizontalText: string;
5168
5230
  verticalText: string;
5231
+ wrapText: string;
5232
+ noWrapText: string;
5169
5233
  };
5170
5234
  callout: {
5171
5235
  selectEmoji: string;
@@ -5618,6 +5682,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
5618
5682
  textDirection: string;
5619
5683
  horizontalText: string;
5620
5684
  verticalText: string;
5685
+ wrapText: string;
5686
+ noWrapText: string;
5621
5687
  };
5622
5688
  callout: {
5623
5689
  selectEmoji: string;
@@ -6066,6 +6132,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6066
6132
  textDirection: string;
6067
6133
  horizontalText: string;
6068
6134
  verticalText: string;
6135
+ wrapText: string;
6136
+ noWrapText: string;
6069
6137
  };
6070
6138
  callout: {
6071
6139
  selectEmoji: string;
@@ -6514,6 +6582,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6514
6582
  textDirection: string;
6515
6583
  horizontalText: string;
6516
6584
  verticalText: string;
6585
+ wrapText: string;
6586
+ noWrapText: string;
6517
6587
  };
6518
6588
  callout: {
6519
6589
  selectEmoji: string;
@@ -6962,6 +7032,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
6962
7032
  textDirection: string;
6963
7033
  horizontalText: string;
6964
7034
  verticalText: string;
7035
+ wrapText: string;
7036
+ noWrapText: string;
6965
7037
  };
6966
7038
  callout: {
6967
7039
  selectEmoji: string;
@@ -7068,4 +7140,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
7068
7140
  };
7069
7141
  };
7070
7142
 
7071
- 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, 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 };
7143
+ 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, 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, 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.js CHANGED
@@ -4,19 +4,19 @@ import {
4
4
  extractImageSrcsFromHtml,
5
5
  normalizeImageUrl,
6
6
  prepareUEditorContentForSave
7
- } from "./chunk-2V6A6PGI.js";
7
+ } from "./chunk-4E43DRP2.js";
8
8
  import {
9
9
  EmojiPicker_default
10
- } from "./chunk-Z63YNF3N.js";
10
+ } from "./chunk-F6A7HJE4.js";
11
11
  import {
12
12
  getEmojiImageUrl,
13
13
  getEmojiUnifiedCode,
14
14
  setEmojiBaseUrl
15
- } from "./chunk-IXEFOLUD.js";
15
+ } from "./chunk-CYCBSKWI.js";
16
16
  import "./chunk-4TYW5K4J.js";
17
17
  import {
18
18
  Modal_default
19
- } from "./chunk-7U3Y7R7U.js";
19
+ } from "./chunk-GKY5DHGR.js";
20
20
  import {
21
21
  DropdownMenuItem,
22
22
  DropdownMenuSeparator,
@@ -34,7 +34,7 @@ import {
34
34
  shadcnAnimationStyles,
35
35
  useShadCNAnimations,
36
36
  useUnderverseUIConfig
37
- } from "./chunk-MJV7ETJM.js";
37
+ } from "./chunk-AMAILXHP.js";
38
38
  import {
39
39
  ForceInternalTranslationsProvider,
40
40
  NextIntlAdapter,
@@ -54,7 +54,7 @@ import {
54
54
  useUnderverseLocale,
55
55
  useUnderverseTranslations,
56
56
  vi_default
57
- } from "./chunk-XJR7E6QB.js";
57
+ } from "./chunk-BRDGIALS.js";
58
58
  import {
59
59
  __export,
60
60
  __require
@@ -15612,6 +15612,153 @@ var RadioGroupItem = React36.forwardRef(
15612
15612
  }
15613
15613
  );
15614
15614
  RadioGroupItem.displayName = "RadioGroupItem";
15615
+ var SimpleRadioGroup = ({
15616
+ items,
15617
+ value,
15618
+ defaultValue,
15619
+ onValueChange,
15620
+ name,
15621
+ disabled = false,
15622
+ orientation = "vertical",
15623
+ size = "md",
15624
+ variant = "default",
15625
+ borderMode,
15626
+ className,
15627
+ required = false,
15628
+ error = false,
15629
+ errorMessage
15630
+ }) => {
15631
+ return /* @__PURE__ */ jsx40(
15632
+ RadioGroup,
15633
+ {
15634
+ value,
15635
+ defaultValue,
15636
+ onValueChange,
15637
+ name,
15638
+ disabled,
15639
+ orientation,
15640
+ size,
15641
+ variant,
15642
+ borderMode,
15643
+ className,
15644
+ required,
15645
+ error,
15646
+ errorMessage,
15647
+ children: items.map((item) => /* @__PURE__ */ jsx40(
15648
+ RadioGroupItem,
15649
+ {
15650
+ value: item.value,
15651
+ label: item.label,
15652
+ description: item.description,
15653
+ disabled: item.disabled,
15654
+ icon: item.icon
15655
+ },
15656
+ item.value
15657
+ ))
15658
+ }
15659
+ );
15660
+ };
15661
+ var RadioButtonGroup = ({
15662
+ items,
15663
+ value,
15664
+ defaultValue,
15665
+ onValueChange,
15666
+ name,
15667
+ disabled = false,
15668
+ size = "md",
15669
+ variant = "default",
15670
+ borderMode,
15671
+ className,
15672
+ fullWidth = false
15673
+ }) => {
15674
+ const globalConfig = useUnderverseUIConfig();
15675
+ const resolvedBorderMode = borderMode ?? globalConfig.input?.borderMode ?? globalConfig.borderMode ?? "full";
15676
+ const [internalValue, setInternalValue] = React36.useState(defaultValue || "");
15677
+ const isControlled = value !== void 0;
15678
+ const currentValue = isControlled ? value : internalValue;
15679
+ const handleValueChange = (newValue) => {
15680
+ if (!disabled) {
15681
+ if (!isControlled) {
15682
+ setInternalValue(newValue);
15683
+ }
15684
+ onValueChange?.(newValue);
15685
+ }
15686
+ };
15687
+ const sizeClasses2 = {
15688
+ sm: "px-3 py-1.5 text-xs",
15689
+ md: "px-4 py-2 text-sm",
15690
+ lg: "px-6 py-3 text-base"
15691
+ };
15692
+ const variantClasses3 = {
15693
+ default: {
15694
+ container: "bg-muted p-1",
15695
+ base: "bg-transparent hover:bg-background/50",
15696
+ selected: "bg-background text-foreground shadow-sm"
15697
+ },
15698
+ outline: {
15699
+ container: "border border-border/50 overflow-hidden",
15700
+ base: "bg-background border-r border-border/50 hover:bg-accent",
15701
+ selected: "bg-primary text-primary-foreground border-primary"
15702
+ },
15703
+ solid: {
15704
+ container: "border border-border/50 overflow-hidden",
15705
+ base: "bg-background hover:bg-accent",
15706
+ selected: "bg-primary text-primary-foreground"
15707
+ }
15708
+ };
15709
+ const uniqueId = React36.useId();
15710
+ const radioName = name || `radio-button-group-${uniqueId}`;
15711
+ return /* @__PURE__ */ jsx40("div", { className: cn("inline-flex", variantClasses3[variant].container, getBorderRadiusClass(resolvedBorderMode), fullWidth && "w-full", className), role: "radiogroup", children: items.map((item, index) => {
15712
+ const isSelected = currentValue === item.value;
15713
+ const isDisabled = item.disabled || disabled;
15714
+ const Icon = item.icon;
15715
+ const isLast = index === items.length - 1;
15716
+ return /* @__PURE__ */ jsxs33(
15717
+ "button",
15718
+ {
15719
+ type: "button",
15720
+ disabled: isDisabled,
15721
+ role: "radio",
15722
+ "aria-checked": isSelected,
15723
+ className: cn(
15724
+ "relative inline-flex items-center justify-center gap-2 font-medium transition-all duration-200",
15725
+ "focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
15726
+ "disabled:cursor-not-allowed disabled:opacity-50",
15727
+ sizeClasses2[size],
15728
+ isSelected ? variantClasses3[variant].selected : variantClasses3[variant].base,
15729
+ variant === "outline" && !isLast && "border-r border-border/50",
15730
+ variant === "default" && getBorderRadiusClass(resolvedBorderMode),
15731
+ fullWidth && "flex-1"
15732
+ ),
15733
+ onClick: () => handleValueChange(item.value),
15734
+ children: [
15735
+ Icon && /* @__PURE__ */ jsx40(Icon, { className: "w-4 h-4" }),
15736
+ item.label,
15737
+ /* @__PURE__ */ jsx40(
15738
+ "input",
15739
+ {
15740
+ type: "radio",
15741
+ name: radioName,
15742
+ value: item.value,
15743
+ checked: isSelected,
15744
+ onChange: () => {
15745
+ },
15746
+ className: "sr-only",
15747
+ tabIndex: -1
15748
+ }
15749
+ )
15750
+ ]
15751
+ },
15752
+ item.value
15753
+ );
15754
+ }) });
15755
+ };
15756
+ var SegmentedControl = (props) => {
15757
+ return /* @__PURE__ */ jsx40(RadioButtonGroup, { ...props, variant: "default" });
15758
+ };
15759
+ var ToggleGroup = (props) => {
15760
+ return /* @__PURE__ */ jsx40(RadioButtonGroup, { ...props, variant: "outline" });
15761
+ };
15615
15762
 
15616
15763
  // src/components/Slider.tsx
15617
15764
  import * as React37 from "react";
@@ -23448,17 +23595,20 @@ export {
23448
23595
  Popover,
23449
23596
  Progress,
23450
23597
  PulseBadge,
23598
+ RadioButtonGroup,
23451
23599
  RadioGroup,
23452
23600
  RadioGroupItem,
23453
23601
  SIZE_STYLES_BTN,
23454
23602
  ScrollArea,
23455
23603
  SearchInput,
23456
23604
  Section_default as Section,
23605
+ SegmentedControl,
23457
23606
  SegmentedProgress,
23458
23607
  SelectDropdown,
23459
23608
  Sheet,
23460
23609
  SidebarSheet,
23461
23610
  SimplePagination,
23611
+ SimpleRadioGroup,
23462
23612
  SimpleTabs,
23463
23613
  Skeleton_default as Skeleton,
23464
23614
  SkeletonAvatar,
@@ -23495,6 +23645,7 @@ export {
23495
23645
  Timeline_default as Timeline,
23496
23646
  TimelineItem,
23497
23647
  Toast_default as ToastProvider,
23648
+ ToggleGroup,
23498
23649
  Tooltip,
23499
23650
  TranslationProvider,
23500
23651
  UEditor_default as UEditor,