@underverse-ui/underverse 1.0.75 → 1.0.76

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
@@ -2734,6 +2734,22 @@ type UEditorPrepareContentForSaveOptions = {
2734
2734
  interface UEditorRef {
2735
2735
  prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
2736
2736
  }
2737
+ type UEditorFontFamilyOption = {
2738
+ label: string;
2739
+ value: string;
2740
+ };
2741
+ type UEditorFontSizeOption = {
2742
+ label: string;
2743
+ value: string;
2744
+ };
2745
+ type UEditorLineHeightOption = {
2746
+ label: string;
2747
+ value: string;
2748
+ };
2749
+ type UEditorLetterSpacingOption = {
2750
+ label: string;
2751
+ value: string;
2752
+ };
2737
2753
  interface UEditorProps {
2738
2754
  content?: string;
2739
2755
  onChange?: (content: string) => void;
@@ -2754,6 +2770,10 @@ interface UEditorProps {
2754
2770
  minHeight?: number | string;
2755
2771
  maxHeight?: number | string;
2756
2772
  variant?: "default" | "minimal" | "notion";
2773
+ fontFamilies?: UEditorFontFamilyOption[];
2774
+ fontSizes?: UEditorFontSizeOption[];
2775
+ lineHeights?: UEditorLineHeightOption[];
2776
+ letterSpacings?: UEditorLetterSpacingOption[];
2757
2777
  }
2758
2778
  type UEditorVariant = NonNullable<UEditorProps["variant"]>;
2759
2779
 
@@ -2923,6 +2943,17 @@ declare const underverseMessages: {
2923
2943
  undo: string;
2924
2944
  redo: string;
2925
2945
  textStyle: string;
2946
+ fontFamily: string;
2947
+ fontSize: string;
2948
+ lineHeight: string;
2949
+ fontDefault: string;
2950
+ sizeDefault: string;
2951
+ lineHeightDefault: string;
2952
+ letterSpacing: string;
2953
+ letterSpacingDefault: string;
2954
+ fontSans: string;
2955
+ fontSerif: string;
2956
+ fontMono: string;
2926
2957
  normal: string;
2927
2958
  heading1: string;
2928
2959
  heading2: string;
@@ -2996,6 +3027,8 @@ declare const underverseMessages: {
2996
3027
  };
2997
3028
  tableMenu: {
2998
3029
  insert3x3: string;
3030
+ insertTable: string;
3031
+ gridPreview: string;
2999
3032
  addColumnBefore: string;
3000
3033
  addColumnAfter: string;
3001
3034
  addRowBefore: string;
@@ -3015,6 +3048,9 @@ declare const underverseMessages: {
3015
3048
  expandTable: string;
3016
3049
  dragRow: string;
3017
3050
  dragColumn: string;
3051
+ alignLeft: string;
3052
+ alignCenter: string;
3053
+ alignRight: string;
3018
3054
  };
3019
3055
  };
3020
3056
  };
@@ -3170,6 +3206,17 @@ declare const underverseMessages: {
3170
3206
  undo: string;
3171
3207
  redo: string;
3172
3208
  textStyle: string;
3209
+ fontFamily: string;
3210
+ fontSize: string;
3211
+ lineHeight: string;
3212
+ fontDefault: string;
3213
+ sizeDefault: string;
3214
+ lineHeightDefault: string;
3215
+ letterSpacing: string;
3216
+ letterSpacingDefault: string;
3217
+ fontSans: string;
3218
+ fontSerif: string;
3219
+ fontMono: string;
3173
3220
  normal: string;
3174
3221
  heading1: string;
3175
3222
  heading2: string;
@@ -3243,6 +3290,8 @@ declare const underverseMessages: {
3243
3290
  };
3244
3291
  tableMenu: {
3245
3292
  insert3x3: string;
3293
+ insertTable: string;
3294
+ gridPreview: string;
3246
3295
  addColumnBefore: string;
3247
3296
  addColumnAfter: string;
3248
3297
  addRowBefore: string;
@@ -3262,6 +3311,9 @@ declare const underverseMessages: {
3262
3311
  expandTable: string;
3263
3312
  dragRow: string;
3264
3313
  dragColumn: string;
3314
+ alignLeft: string;
3315
+ alignCenter: string;
3316
+ alignRight: string;
3265
3317
  };
3266
3318
  };
3267
3319
  };
@@ -3417,6 +3469,17 @@ declare const underverseMessages: {
3417
3469
  undo: string;
3418
3470
  redo: string;
3419
3471
  textStyle: string;
3472
+ fontFamily: string;
3473
+ fontSize: string;
3474
+ lineHeight: string;
3475
+ fontDefault: string;
3476
+ sizeDefault: string;
3477
+ lineHeightDefault: string;
3478
+ letterSpacing: string;
3479
+ letterSpacingDefault: string;
3480
+ fontSans: string;
3481
+ fontSerif: string;
3482
+ fontMono: string;
3420
3483
  normal: string;
3421
3484
  heading1: string;
3422
3485
  heading2: string;
@@ -3489,6 +3552,8 @@ declare const underverseMessages: {
3489
3552
  };
3490
3553
  tableMenu: {
3491
3554
  insert3x3: string;
3555
+ insertTable: string;
3556
+ gridPreview: string;
3492
3557
  addColumnBefore: string;
3493
3558
  addColumnAfter: string;
3494
3559
  addRowBefore: string;
@@ -3508,6 +3573,9 @@ declare const underverseMessages: {
3508
3573
  expandTable: string;
3509
3574
  dragRow: string;
3510
3575
  dragColumn: string;
3576
+ alignLeft: string;
3577
+ alignCenter: string;
3578
+ alignRight: string;
3511
3579
  };
3512
3580
  };
3513
3581
  };
@@ -3663,6 +3731,17 @@ declare const underverseMessages: {
3663
3731
  undo: string;
3664
3732
  redo: string;
3665
3733
  textStyle: string;
3734
+ fontFamily: string;
3735
+ fontSize: string;
3736
+ lineHeight: string;
3737
+ fontDefault: string;
3738
+ sizeDefault: string;
3739
+ lineHeightDefault: string;
3740
+ letterSpacing: string;
3741
+ letterSpacingDefault: string;
3742
+ fontSans: string;
3743
+ fontSerif: string;
3744
+ fontMono: string;
3666
3745
  normal: string;
3667
3746
  heading1: string;
3668
3747
  heading2: string;
@@ -3735,6 +3814,8 @@ declare const underverseMessages: {
3735
3814
  };
3736
3815
  tableMenu: {
3737
3816
  insert3x3: string;
3817
+ insertTable: string;
3818
+ gridPreview: string;
3738
3819
  addColumnBefore: string;
3739
3820
  addColumnAfter: string;
3740
3821
  addRowBefore: string;
@@ -3754,6 +3835,9 @@ declare const underverseMessages: {
3754
3835
  expandTable: string;
3755
3836
  dragRow: string;
3756
3837
  dragColumn: string;
3838
+ alignLeft: string;
3839
+ alignCenter: string;
3840
+ alignRight: string;
3757
3841
  };
3758
3842
  };
3759
3843
  };
@@ -3911,6 +3995,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3911
3995
  undo: string;
3912
3996
  redo: string;
3913
3997
  textStyle: string;
3998
+ fontFamily: string;
3999
+ fontSize: string;
4000
+ lineHeight: string;
4001
+ fontDefault: string;
4002
+ sizeDefault: string;
4003
+ lineHeightDefault: string;
4004
+ letterSpacing: string;
4005
+ letterSpacingDefault: string;
4006
+ fontSans: string;
4007
+ fontSerif: string;
4008
+ fontMono: string;
3914
4009
  normal: string;
3915
4010
  heading1: string;
3916
4011
  heading2: string;
@@ -3984,6 +4079,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3984
4079
  };
3985
4080
  tableMenu: {
3986
4081
  insert3x3: string;
4082
+ insertTable: string;
4083
+ gridPreview: string;
3987
4084
  addColumnBefore: string;
3988
4085
  addColumnAfter: string;
3989
4086
  addRowBefore: string;
@@ -4003,6 +4100,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4003
4100
  expandTable: string;
4004
4101
  dragRow: string;
4005
4102
  dragColumn: string;
4103
+ alignLeft: string;
4104
+ alignCenter: string;
4105
+ alignRight: string;
4006
4106
  };
4007
4107
  };
4008
4108
  } | {
@@ -4157,6 +4257,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4157
4257
  undo: string;
4158
4258
  redo: string;
4159
4259
  textStyle: string;
4260
+ fontFamily: string;
4261
+ fontSize: string;
4262
+ lineHeight: string;
4263
+ fontDefault: string;
4264
+ sizeDefault: string;
4265
+ lineHeightDefault: string;
4266
+ letterSpacing: string;
4267
+ letterSpacingDefault: string;
4268
+ fontSans: string;
4269
+ fontSerif: string;
4270
+ fontMono: string;
4160
4271
  normal: string;
4161
4272
  heading1: string;
4162
4273
  heading2: string;
@@ -4230,6 +4341,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4230
4341
  };
4231
4342
  tableMenu: {
4232
4343
  insert3x3: string;
4344
+ insertTable: string;
4345
+ gridPreview: string;
4233
4346
  addColumnBefore: string;
4234
4347
  addColumnAfter: string;
4235
4348
  addRowBefore: string;
@@ -4249,6 +4362,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4249
4362
  expandTable: string;
4250
4363
  dragRow: string;
4251
4364
  dragColumn: string;
4365
+ alignLeft: string;
4366
+ alignCenter: string;
4367
+ alignRight: string;
4252
4368
  };
4253
4369
  };
4254
4370
  } | {
@@ -4403,6 +4519,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4403
4519
  undo: string;
4404
4520
  redo: string;
4405
4521
  textStyle: string;
4522
+ fontFamily: string;
4523
+ fontSize: string;
4524
+ lineHeight: string;
4525
+ fontDefault: string;
4526
+ sizeDefault: string;
4527
+ lineHeightDefault: string;
4528
+ letterSpacing: string;
4529
+ letterSpacingDefault: string;
4530
+ fontSans: string;
4531
+ fontSerif: string;
4532
+ fontMono: string;
4406
4533
  normal: string;
4407
4534
  heading1: string;
4408
4535
  heading2: string;
@@ -4475,6 +4602,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4475
4602
  };
4476
4603
  tableMenu: {
4477
4604
  insert3x3: string;
4605
+ insertTable: string;
4606
+ gridPreview: string;
4478
4607
  addColumnBefore: string;
4479
4608
  addColumnAfter: string;
4480
4609
  addRowBefore: string;
@@ -4494,6 +4623,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4494
4623
  expandTable: string;
4495
4624
  dragRow: string;
4496
4625
  dragColumn: string;
4626
+ alignLeft: string;
4627
+ alignCenter: string;
4628
+ alignRight: string;
4497
4629
  };
4498
4630
  };
4499
4631
  } | {
@@ -4648,6 +4780,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4648
4780
  undo: string;
4649
4781
  redo: string;
4650
4782
  textStyle: string;
4783
+ fontFamily: string;
4784
+ fontSize: string;
4785
+ lineHeight: string;
4786
+ fontDefault: string;
4787
+ sizeDefault: string;
4788
+ lineHeightDefault: string;
4789
+ letterSpacing: string;
4790
+ letterSpacingDefault: string;
4791
+ fontSans: string;
4792
+ fontSerif: string;
4793
+ fontMono: string;
4651
4794
  normal: string;
4652
4795
  heading1: string;
4653
4796
  heading2: string;
@@ -4720,6 +4863,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4720
4863
  };
4721
4864
  tableMenu: {
4722
4865
  insert3x3: string;
4866
+ insertTable: string;
4867
+ gridPreview: string;
4723
4868
  addColumnBefore: string;
4724
4869
  addColumnAfter: string;
4725
4870
  addRowBefore: string;
@@ -4739,8 +4884,11 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4739
4884
  expandTable: string;
4740
4885
  dragRow: string;
4741
4886
  dragColumn: string;
4887
+ alignLeft: string;
4888
+ alignCenter: string;
4889
+ alignRight: string;
4742
4890
  };
4743
4891
  };
4744
4892
  };
4745
4893
 
4746
- export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, 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, 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, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, 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 UEditorInlineUploadedItem, 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$1 as 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 };
4894
+ export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, 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, 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, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, 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$1 as 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 };
package/dist/index.d.ts CHANGED
@@ -2734,6 +2734,22 @@ type UEditorPrepareContentForSaveOptions = {
2734
2734
  interface UEditorRef {
2735
2735
  prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
2736
2736
  }
2737
+ type UEditorFontFamilyOption = {
2738
+ label: string;
2739
+ value: string;
2740
+ };
2741
+ type UEditorFontSizeOption = {
2742
+ label: string;
2743
+ value: string;
2744
+ };
2745
+ type UEditorLineHeightOption = {
2746
+ label: string;
2747
+ value: string;
2748
+ };
2749
+ type UEditorLetterSpacingOption = {
2750
+ label: string;
2751
+ value: string;
2752
+ };
2737
2753
  interface UEditorProps {
2738
2754
  content?: string;
2739
2755
  onChange?: (content: string) => void;
@@ -2754,6 +2770,10 @@ interface UEditorProps {
2754
2770
  minHeight?: number | string;
2755
2771
  maxHeight?: number | string;
2756
2772
  variant?: "default" | "minimal" | "notion";
2773
+ fontFamilies?: UEditorFontFamilyOption[];
2774
+ fontSizes?: UEditorFontSizeOption[];
2775
+ lineHeights?: UEditorLineHeightOption[];
2776
+ letterSpacings?: UEditorLetterSpacingOption[];
2757
2777
  }
2758
2778
  type UEditorVariant = NonNullable<UEditorProps["variant"]>;
2759
2779
 
@@ -2923,6 +2943,17 @@ declare const underverseMessages: {
2923
2943
  undo: string;
2924
2944
  redo: string;
2925
2945
  textStyle: string;
2946
+ fontFamily: string;
2947
+ fontSize: string;
2948
+ lineHeight: string;
2949
+ fontDefault: string;
2950
+ sizeDefault: string;
2951
+ lineHeightDefault: string;
2952
+ letterSpacing: string;
2953
+ letterSpacingDefault: string;
2954
+ fontSans: string;
2955
+ fontSerif: string;
2956
+ fontMono: string;
2926
2957
  normal: string;
2927
2958
  heading1: string;
2928
2959
  heading2: string;
@@ -2996,6 +3027,8 @@ declare const underverseMessages: {
2996
3027
  };
2997
3028
  tableMenu: {
2998
3029
  insert3x3: string;
3030
+ insertTable: string;
3031
+ gridPreview: string;
2999
3032
  addColumnBefore: string;
3000
3033
  addColumnAfter: string;
3001
3034
  addRowBefore: string;
@@ -3015,6 +3048,9 @@ declare const underverseMessages: {
3015
3048
  expandTable: string;
3016
3049
  dragRow: string;
3017
3050
  dragColumn: string;
3051
+ alignLeft: string;
3052
+ alignCenter: string;
3053
+ alignRight: string;
3018
3054
  };
3019
3055
  };
3020
3056
  };
@@ -3170,6 +3206,17 @@ declare const underverseMessages: {
3170
3206
  undo: string;
3171
3207
  redo: string;
3172
3208
  textStyle: string;
3209
+ fontFamily: string;
3210
+ fontSize: string;
3211
+ lineHeight: string;
3212
+ fontDefault: string;
3213
+ sizeDefault: string;
3214
+ lineHeightDefault: string;
3215
+ letterSpacing: string;
3216
+ letterSpacingDefault: string;
3217
+ fontSans: string;
3218
+ fontSerif: string;
3219
+ fontMono: string;
3173
3220
  normal: string;
3174
3221
  heading1: string;
3175
3222
  heading2: string;
@@ -3243,6 +3290,8 @@ declare const underverseMessages: {
3243
3290
  };
3244
3291
  tableMenu: {
3245
3292
  insert3x3: string;
3293
+ insertTable: string;
3294
+ gridPreview: string;
3246
3295
  addColumnBefore: string;
3247
3296
  addColumnAfter: string;
3248
3297
  addRowBefore: string;
@@ -3262,6 +3311,9 @@ declare const underverseMessages: {
3262
3311
  expandTable: string;
3263
3312
  dragRow: string;
3264
3313
  dragColumn: string;
3314
+ alignLeft: string;
3315
+ alignCenter: string;
3316
+ alignRight: string;
3265
3317
  };
3266
3318
  };
3267
3319
  };
@@ -3417,6 +3469,17 @@ declare const underverseMessages: {
3417
3469
  undo: string;
3418
3470
  redo: string;
3419
3471
  textStyle: string;
3472
+ fontFamily: string;
3473
+ fontSize: string;
3474
+ lineHeight: string;
3475
+ fontDefault: string;
3476
+ sizeDefault: string;
3477
+ lineHeightDefault: string;
3478
+ letterSpacing: string;
3479
+ letterSpacingDefault: string;
3480
+ fontSans: string;
3481
+ fontSerif: string;
3482
+ fontMono: string;
3420
3483
  normal: string;
3421
3484
  heading1: string;
3422
3485
  heading2: string;
@@ -3489,6 +3552,8 @@ declare const underverseMessages: {
3489
3552
  };
3490
3553
  tableMenu: {
3491
3554
  insert3x3: string;
3555
+ insertTable: string;
3556
+ gridPreview: string;
3492
3557
  addColumnBefore: string;
3493
3558
  addColumnAfter: string;
3494
3559
  addRowBefore: string;
@@ -3508,6 +3573,9 @@ declare const underverseMessages: {
3508
3573
  expandTable: string;
3509
3574
  dragRow: string;
3510
3575
  dragColumn: string;
3576
+ alignLeft: string;
3577
+ alignCenter: string;
3578
+ alignRight: string;
3511
3579
  };
3512
3580
  };
3513
3581
  };
@@ -3663,6 +3731,17 @@ declare const underverseMessages: {
3663
3731
  undo: string;
3664
3732
  redo: string;
3665
3733
  textStyle: string;
3734
+ fontFamily: string;
3735
+ fontSize: string;
3736
+ lineHeight: string;
3737
+ fontDefault: string;
3738
+ sizeDefault: string;
3739
+ lineHeightDefault: string;
3740
+ letterSpacing: string;
3741
+ letterSpacingDefault: string;
3742
+ fontSans: string;
3743
+ fontSerif: string;
3744
+ fontMono: string;
3666
3745
  normal: string;
3667
3746
  heading1: string;
3668
3747
  heading2: string;
@@ -3735,6 +3814,8 @@ declare const underverseMessages: {
3735
3814
  };
3736
3815
  tableMenu: {
3737
3816
  insert3x3: string;
3817
+ insertTable: string;
3818
+ gridPreview: string;
3738
3819
  addColumnBefore: string;
3739
3820
  addColumnAfter: string;
3740
3821
  addRowBefore: string;
@@ -3754,6 +3835,9 @@ declare const underverseMessages: {
3754
3835
  expandTable: string;
3755
3836
  dragRow: string;
3756
3837
  dragColumn: string;
3838
+ alignLeft: string;
3839
+ alignCenter: string;
3840
+ alignRight: string;
3757
3841
  };
3758
3842
  };
3759
3843
  };
@@ -3911,6 +3995,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3911
3995
  undo: string;
3912
3996
  redo: string;
3913
3997
  textStyle: string;
3998
+ fontFamily: string;
3999
+ fontSize: string;
4000
+ lineHeight: string;
4001
+ fontDefault: string;
4002
+ sizeDefault: string;
4003
+ lineHeightDefault: string;
4004
+ letterSpacing: string;
4005
+ letterSpacingDefault: string;
4006
+ fontSans: string;
4007
+ fontSerif: string;
4008
+ fontMono: string;
3914
4009
  normal: string;
3915
4010
  heading1: string;
3916
4011
  heading2: string;
@@ -3984,6 +4079,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3984
4079
  };
3985
4080
  tableMenu: {
3986
4081
  insert3x3: string;
4082
+ insertTable: string;
4083
+ gridPreview: string;
3987
4084
  addColumnBefore: string;
3988
4085
  addColumnAfter: string;
3989
4086
  addRowBefore: string;
@@ -4003,6 +4100,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4003
4100
  expandTable: string;
4004
4101
  dragRow: string;
4005
4102
  dragColumn: string;
4103
+ alignLeft: string;
4104
+ alignCenter: string;
4105
+ alignRight: string;
4006
4106
  };
4007
4107
  };
4008
4108
  } | {
@@ -4157,6 +4257,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4157
4257
  undo: string;
4158
4258
  redo: string;
4159
4259
  textStyle: string;
4260
+ fontFamily: string;
4261
+ fontSize: string;
4262
+ lineHeight: string;
4263
+ fontDefault: string;
4264
+ sizeDefault: string;
4265
+ lineHeightDefault: string;
4266
+ letterSpacing: string;
4267
+ letterSpacingDefault: string;
4268
+ fontSans: string;
4269
+ fontSerif: string;
4270
+ fontMono: string;
4160
4271
  normal: string;
4161
4272
  heading1: string;
4162
4273
  heading2: string;
@@ -4230,6 +4341,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4230
4341
  };
4231
4342
  tableMenu: {
4232
4343
  insert3x3: string;
4344
+ insertTable: string;
4345
+ gridPreview: string;
4233
4346
  addColumnBefore: string;
4234
4347
  addColumnAfter: string;
4235
4348
  addRowBefore: string;
@@ -4249,6 +4362,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4249
4362
  expandTable: string;
4250
4363
  dragRow: string;
4251
4364
  dragColumn: string;
4365
+ alignLeft: string;
4366
+ alignCenter: string;
4367
+ alignRight: string;
4252
4368
  };
4253
4369
  };
4254
4370
  } | {
@@ -4403,6 +4519,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4403
4519
  undo: string;
4404
4520
  redo: string;
4405
4521
  textStyle: string;
4522
+ fontFamily: string;
4523
+ fontSize: string;
4524
+ lineHeight: string;
4525
+ fontDefault: string;
4526
+ sizeDefault: string;
4527
+ lineHeightDefault: string;
4528
+ letterSpacing: string;
4529
+ letterSpacingDefault: string;
4530
+ fontSans: string;
4531
+ fontSerif: string;
4532
+ fontMono: string;
4406
4533
  normal: string;
4407
4534
  heading1: string;
4408
4535
  heading2: string;
@@ -4475,6 +4602,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4475
4602
  };
4476
4603
  tableMenu: {
4477
4604
  insert3x3: string;
4605
+ insertTable: string;
4606
+ gridPreview: string;
4478
4607
  addColumnBefore: string;
4479
4608
  addColumnAfter: string;
4480
4609
  addRowBefore: string;
@@ -4494,6 +4623,9 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4494
4623
  expandTable: string;
4495
4624
  dragRow: string;
4496
4625
  dragColumn: string;
4626
+ alignLeft: string;
4627
+ alignCenter: string;
4628
+ alignRight: string;
4497
4629
  };
4498
4630
  };
4499
4631
  } | {
@@ -4648,6 +4780,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4648
4780
  undo: string;
4649
4781
  redo: string;
4650
4782
  textStyle: string;
4783
+ fontFamily: string;
4784
+ fontSize: string;
4785
+ lineHeight: string;
4786
+ fontDefault: string;
4787
+ sizeDefault: string;
4788
+ lineHeightDefault: string;
4789
+ letterSpacing: string;
4790
+ letterSpacingDefault: string;
4791
+ fontSans: string;
4792
+ fontSerif: string;
4793
+ fontMono: string;
4651
4794
  normal: string;
4652
4795
  heading1: string;
4653
4796
  heading2: string;
@@ -4720,6 +4863,8 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4720
4863
  };
4721
4864
  tableMenu: {
4722
4865
  insert3x3: string;
4866
+ insertTable: string;
4867
+ gridPreview: string;
4723
4868
  addColumnBefore: string;
4724
4869
  addColumnAfter: string;
4725
4870
  addRowBefore: string;
@@ -4739,8 +4884,11 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
4739
4884
  expandTable: string;
4740
4885
  dragRow: string;
4741
4886
  dragColumn: string;
4887
+ alignLeft: string;
4888
+ alignCenter: string;
4889
+ alignRight: string;
4742
4890
  };
4743
4891
  };
4744
4892
  };
4745
4893
 
4746
- export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, 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, 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, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, 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 UEditorInlineUploadedItem, 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$1 as 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 };
4894
+ export { AccessDenied, type AccessDeniedProps, Alert, Avatar, Badge, Badge as BadgeBase, BatteryProgress, BottomSheet, 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, 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, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, 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$1 as 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 };