@underverse-ui/underverse 1.0.31 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +7 -1
- package/README.md +19 -1
- package/agent-recipes.json +1 -2
- package/api-reference.json +9 -2
- package/dist/index.cjs +79 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +79 -66
- package/dist/index.js.map +1 -1
- package/llms.txt +4 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -461,6 +461,8 @@ interface PopoverProps {
|
|
|
461
461
|
children: React$1.ReactNode;
|
|
462
462
|
className?: string;
|
|
463
463
|
contentClassName?: string;
|
|
464
|
+
contentProps?: React$1.HTMLAttributes<HTMLDivElement>;
|
|
465
|
+
contentScrollable?: boolean;
|
|
464
466
|
placement?: PopoverPlacement;
|
|
465
467
|
modal?: boolean;
|
|
466
468
|
disabled?: boolean;
|
|
@@ -2306,7 +2308,16 @@ interface LoadingBarProps {
|
|
|
2306
2308
|
}
|
|
2307
2309
|
declare const LoadingBar: React__default.FC<LoadingBarProps>;
|
|
2308
2310
|
|
|
2309
|
-
|
|
2311
|
+
interface OverlayScrollbarProviderProps {
|
|
2312
|
+
enabled?: boolean;
|
|
2313
|
+
theme?: string;
|
|
2314
|
+
visibility?: "visible" | "hidden" | "auto";
|
|
2315
|
+
autoHide?: "never" | "scroll" | "leave" | "move";
|
|
2316
|
+
autoHideDelay?: number;
|
|
2317
|
+
dragScroll?: boolean;
|
|
2318
|
+
clickScroll?: boolean;
|
|
2319
|
+
}
|
|
2320
|
+
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, }?: OverlayScrollbarProviderProps): null;
|
|
2310
2321
|
|
|
2311
2322
|
type FilterType = "text" | "select" | "date";
|
|
2312
2323
|
type DataTableSize = "sm" | "md" | "lg";
|
|
@@ -3675,4 +3686,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
3675
3686
|
};
|
|
3676
3687
|
};
|
|
3677
3688
|
|
|
3678
|
-
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, 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, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, 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, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
3689
|
+
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, 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, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, 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, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
package/dist/index.d.ts
CHANGED
|
@@ -461,6 +461,8 @@ interface PopoverProps {
|
|
|
461
461
|
children: React$1.ReactNode;
|
|
462
462
|
className?: string;
|
|
463
463
|
contentClassName?: string;
|
|
464
|
+
contentProps?: React$1.HTMLAttributes<HTMLDivElement>;
|
|
465
|
+
contentScrollable?: boolean;
|
|
464
466
|
placement?: PopoverPlacement;
|
|
465
467
|
modal?: boolean;
|
|
466
468
|
disabled?: boolean;
|
|
@@ -2306,7 +2308,16 @@ interface LoadingBarProps {
|
|
|
2306
2308
|
}
|
|
2307
2309
|
declare const LoadingBar: React__default.FC<LoadingBarProps>;
|
|
2308
2310
|
|
|
2309
|
-
|
|
2311
|
+
interface OverlayScrollbarProviderProps {
|
|
2312
|
+
enabled?: boolean;
|
|
2313
|
+
theme?: string;
|
|
2314
|
+
visibility?: "visible" | "hidden" | "auto";
|
|
2315
|
+
autoHide?: "never" | "scroll" | "leave" | "move";
|
|
2316
|
+
autoHideDelay?: number;
|
|
2317
|
+
dragScroll?: boolean;
|
|
2318
|
+
clickScroll?: boolean;
|
|
2319
|
+
}
|
|
2320
|
+
declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, }?: OverlayScrollbarProviderProps): null;
|
|
2310
2321
|
|
|
2311
2322
|
type FilterType = "text" | "select" | "date";
|
|
2312
2323
|
type DataTableSize = "sm" | "md" | "lg";
|
|
@@ -3675,4 +3686,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
|
3675
3686
|
};
|
|
3676
3687
|
};
|
|
3677
3688
|
|
|
3678
|
-
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, 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, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, 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, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
|
3689
|
+
export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, type BarChartSeries, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, 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, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableDensity, type DataTableQuery, type DataTableSize, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FileUpload, type FileUploadProps, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, type LineChartSeries, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MonthYearPicker, MonthYearPicker as MonthYearPickerBase, type MonthYearPickerProps, MultiCombobox, type MultiComboboxProps, MusicPlayer, MusicPlayer as MusicPlayerDefault, type MusicPlayerProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, OverlayScrollbarProvider, type OverlayScrollbarProviderProps, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Song, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, 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, UnderverseProvider, type UnderverseProviderProps, type UploadedFile, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, extractImageSrcsFromHtml, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, normalizeImageUrl, prepareUEditorContentForSave, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
|
package/dist/index.js
CHANGED
|
@@ -3635,6 +3635,8 @@ var Popover = ({
|
|
|
3635
3635
|
children,
|
|
3636
3636
|
className,
|
|
3637
3637
|
contentClassName,
|
|
3638
|
+
contentProps,
|
|
3639
|
+
contentScrollable = false,
|
|
3638
3640
|
placement = "bottom",
|
|
3639
3641
|
modal = false,
|
|
3640
3642
|
disabled = false,
|
|
@@ -3806,7 +3808,7 @@ var Popover = ({
|
|
|
3806
3808
|
{
|
|
3807
3809
|
ref: panelRef,
|
|
3808
3810
|
"data-state": "open",
|
|
3809
|
-
role: "dialog",
|
|
3811
|
+
role: modal ? "dialog" : void 0,
|
|
3810
3812
|
"aria-modal": modal || void 0,
|
|
3811
3813
|
style: {
|
|
3812
3814
|
transformOrigin: getTransformOrigin2(initialPlacement.side, initialPlacement.align)
|
|
@@ -3819,12 +3821,15 @@ var Popover = ({
|
|
|
3819
3821
|
children: /* @__PURE__ */ jsx18(
|
|
3820
3822
|
"div",
|
|
3821
3823
|
{
|
|
3824
|
+
...contentProps,
|
|
3825
|
+
"data-os-scrollbar": contentScrollable ? true : void 0,
|
|
3822
3826
|
className: cn(
|
|
3823
3827
|
"rounded-2xl md:rounded-3xl border bg-popover text-popover-foreground shadow-md",
|
|
3824
3828
|
"backdrop-blur-sm bg-popover/95 border-border/60 p-4",
|
|
3829
|
+
contentProps?.className,
|
|
3825
3830
|
contentClassName
|
|
3826
3831
|
),
|
|
3827
|
-
tabIndex: -1,
|
|
3832
|
+
tabIndex: contentProps?.tabIndex ?? -1,
|
|
3828
3833
|
children
|
|
3829
3834
|
}
|
|
3830
3835
|
)
|
|
@@ -4037,6 +4042,7 @@ var Sheet = ({
|
|
|
4037
4042
|
/* @__PURE__ */ jsx19(
|
|
4038
4043
|
"div",
|
|
4039
4044
|
{
|
|
4045
|
+
"data-os-scrollbar": true,
|
|
4040
4046
|
className: "flex-1 overflow-auto p-4",
|
|
4041
4047
|
style: {
|
|
4042
4048
|
opacity: open && !isAnimating ? 1 : 0,
|
|
@@ -4500,7 +4506,7 @@ var Tabs = ({
|
|
|
4500
4506
|
);
|
|
4501
4507
|
const activeTab = tabs.find((tab) => tab.value === active);
|
|
4502
4508
|
return /* @__PURE__ */ jsxs20("div", { className: cn("w-full", orientation === "vertical" && "flex gap-6"), children: [
|
|
4503
|
-
/* @__PURE__ */ jsxs20("div", { className: containerClasses, role: "tablist", "aria-orientation": orientation, children: [
|
|
4509
|
+
/* @__PURE__ */ jsxs20("div", { className: containerClasses, role: "tablist", "aria-orientation": orientation, "data-os-scrollbar": orientation === "horizontal" ? true : void 0, children: [
|
|
4504
4510
|
tabs.map((tab, index) => {
|
|
4505
4511
|
const isActive = active === tab.value;
|
|
4506
4512
|
const Icon = tab.icon;
|
|
@@ -5050,7 +5056,7 @@ var Combobox = ({
|
|
|
5050
5056
|
}
|
|
5051
5057
|
)
|
|
5052
5058
|
] }) }),
|
|
5053
|
-
/* @__PURE__ */ jsx25("div", { className: "overflow-y-auto overscroll-contain", style: { maxHeight }, children: /* @__PURE__ */ jsx25("div", { className: cn(size === "sm" ? "p-1" : size === "lg" ? "p-2" : "p-1.5"), children: loading2 ? /* @__PURE__ */ jsx25("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
|
|
5059
|
+
/* @__PURE__ */ jsx25("div", { "data-os-scrollbar": true, className: "overflow-y-auto overscroll-contain", style: { maxHeight }, children: /* @__PURE__ */ jsx25("div", { className: cn(size === "sm" ? "p-1" : size === "lg" ? "p-2" : "p-1.5"), children: loading2 ? /* @__PURE__ */ jsx25("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ jsxs22("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
|
|
5054
5060
|
/* @__PURE__ */ jsx25("div", { className: "relative", children: /* @__PURE__ */ jsx25("div", { className: "w-10 h-10 rounded-full border-2 border-primary/20 border-t-primary animate-spin" }) }),
|
|
5055
5061
|
/* @__PURE__ */ jsx25("span", { className: "text-sm text-muted-foreground", children: loadingText })
|
|
5056
5062
|
] }) }) : filteredOptions.length > 0 ? groupedOptions ? (
|
|
@@ -6106,6 +6112,7 @@ var DatePicker = ({
|
|
|
6106
6112
|
sizeStyles8[size].contentPadding,
|
|
6107
6113
|
"animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
|
|
6108
6114
|
),
|
|
6115
|
+
contentScrollable: true,
|
|
6109
6116
|
trigger: /* @__PURE__ */ jsxs24(
|
|
6110
6117
|
"button",
|
|
6111
6118
|
{
|
|
@@ -6461,6 +6468,7 @@ var DateRangePicker = ({ startDate, endDate, onChange, placeholder = "Select dat
|
|
|
6461
6468
|
size === "sm" ? "p-3" : "p-5",
|
|
6462
6469
|
"animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
|
|
6463
6470
|
),
|
|
6471
|
+
contentScrollable: true,
|
|
6464
6472
|
trigger: /* @__PURE__ */ jsxs24(
|
|
6465
6473
|
"button",
|
|
6466
6474
|
{
|
|
@@ -6911,6 +6919,7 @@ function WheelColumn({
|
|
|
6911
6919
|
"div",
|
|
6912
6920
|
{
|
|
6913
6921
|
ref: scrollRef,
|
|
6922
|
+
"data-os-scrollbar": true,
|
|
6914
6923
|
className: cn(
|
|
6915
6924
|
"h-full overflow-y-auto overscroll-contain snap-y snap-mandatory",
|
|
6916
6925
|
"select-none cursor-grab active:cursor-grabbing",
|
|
@@ -8334,6 +8343,7 @@ function WheelColumn2({
|
|
|
8334
8343
|
"div",
|
|
8335
8344
|
{
|
|
8336
8345
|
ref: scrollRef,
|
|
8346
|
+
"data-os-scrollbar": true,
|
|
8337
8347
|
className: cn(
|
|
8338
8348
|
"h-full overflow-y-auto overscroll-contain snap-y snap-mandatory",
|
|
8339
8349
|
"select-none cursor-grab active:cursor-grabbing",
|
|
@@ -9281,6 +9291,7 @@ var DateTimePicker = ({
|
|
|
9281
9291
|
// Keep the popover usable on small viewports
|
|
9282
9292
|
"max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto"
|
|
9283
9293
|
),
|
|
9294
|
+
contentScrollable: true,
|
|
9284
9295
|
placement: "bottom-end",
|
|
9285
9296
|
children: [
|
|
9286
9297
|
/* @__PURE__ */ jsxs28("div", { className: "flex flex-col lg:flex-row divide-y lg:divide-y-0 lg:divide-x divide-border", children: [
|
|
@@ -9952,7 +9963,7 @@ function CalendarTimelineHeader(props) {
|
|
|
9952
9963
|
contentClassName: cn(
|
|
9953
9964
|
"w-auto p-0 rounded-2xl md:rounded-3xl overflow-hidden"
|
|
9954
9965
|
),
|
|
9955
|
-
children: /* @__PURE__ */ jsxs30("div", { className: "max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto", children: [
|
|
9966
|
+
children: /* @__PURE__ */ jsxs30("div", { "data-os-scrollbar": true, className: "max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto", children: [
|
|
9956
9967
|
/* @__PURE__ */ jsxs30("div", { className: "flex flex-col lg:flex-row divide-y lg:divide-y-0 lg:divide-x divide-border", children: [
|
|
9957
9968
|
/* @__PURE__ */ jsx35("div", { className: "p-2", children: /* @__PURE__ */ jsx35(
|
|
9958
9969
|
Calendar3,
|
|
@@ -10096,7 +10107,7 @@ function CalendarTimelineHeader(props) {
|
|
|
10096
10107
|
]
|
|
10097
10108
|
}
|
|
10098
10109
|
) : null,
|
|
10099
|
-
/* @__PURE__ */ jsx35("div", { ref: headerRef, className: "flex-1 min-w-0 overflow-x-auto overflow-y-hidden", children: slotHeaderNodes })
|
|
10110
|
+
/* @__PURE__ */ jsx35("div", { ref: headerRef, "data-os-scrollbar": true, className: "flex-1 min-w-0 overflow-x-auto overflow-y-hidden", children: slotHeaderNodes })
|
|
10100
10111
|
] })
|
|
10101
10112
|
] });
|
|
10102
10113
|
}
|
|
@@ -11687,6 +11698,7 @@ function CalendarTimeline({
|
|
|
11687
11698
|
"div",
|
|
11688
11699
|
{
|
|
11689
11700
|
ref: leftRef,
|
|
11701
|
+
"data-os-scrollbar": true,
|
|
11690
11702
|
className: "shrink-0 overflow-y-auto overflow-x-hidden",
|
|
11691
11703
|
style: { width: effectiveResourceColumnWidth, minWidth: effectiveResourceColumnWidth },
|
|
11692
11704
|
children: [
|
|
@@ -12312,6 +12324,7 @@ var MultiCombobox = ({
|
|
|
12312
12324
|
id: listboxId,
|
|
12313
12325
|
role: "listbox",
|
|
12314
12326
|
"aria-multiselectable": "true",
|
|
12327
|
+
"data-os-scrollbar": true,
|
|
12315
12328
|
style: { maxHeight },
|
|
12316
12329
|
className: cn("overflow-y-auto p-1.5", size === "lg" ? "text-base" : size === "sm" ? "text-xs" : "text-sm"),
|
|
12317
12330
|
children: loading2 ? /* @__PURE__ */ jsx40("li", { className: "px-3 py-8 text-center", children: /* @__PURE__ */ jsxs35("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
|
|
@@ -14964,6 +14977,7 @@ function Carousel({
|
|
|
14964
14977
|
showThumbnails && totalSlides > slidesToShow && /* @__PURE__ */ jsx47(
|
|
14965
14978
|
"div",
|
|
14966
14979
|
{
|
|
14980
|
+
"data-os-scrollbar": true,
|
|
14967
14981
|
className: cn(
|
|
14968
14982
|
"absolute bottom-0 left-0 right-0 flex gap-2 p-4 bg-linear-to-t from-black/50 to-transparent overflow-x-auto",
|
|
14969
14983
|
isHorizontal ? "flex-row" : "flex-col"
|
|
@@ -15855,6 +15869,7 @@ var TimelineRoot = React43.forwardRef(
|
|
|
15855
15869
|
"div",
|
|
15856
15870
|
{
|
|
15857
15871
|
ref,
|
|
15872
|
+
"data-os-scrollbar": mode === "horizontal" ? true : void 0,
|
|
15858
15873
|
className: cn("relative", mode === "horizontal" && "flex gap-4 overflow-x-auto", mode === "vertical" && "space-y-0", className),
|
|
15859
15874
|
...rest,
|
|
15860
15875
|
children: mode === "vertical" ? /* @__PURE__ */ jsx51("div", { className: "space-y-0", children: content }) : content
|
|
@@ -16850,7 +16865,7 @@ var MusicPlayer = ({
|
|
|
16850
16865
|
}
|
|
16851
16866
|
) })
|
|
16852
16867
|
] }),
|
|
16853
|
-
showPlaylist && /* @__PURE__ */ jsx53("div", { className: "bg-muted/50 backdrop-blur-sm max-h-96 overflow-y-auto border-t border-border", children: /* @__PURE__ */ jsxs48("div", { className: "p-4", children: [
|
|
16868
|
+
showPlaylist && /* @__PURE__ */ jsx53("div", { "data-os-scrollbar": true, className: "bg-muted/50 backdrop-blur-sm max-h-96 overflow-y-auto border-t border-border", children: /* @__PURE__ */ jsxs48("div", { className: "p-4", children: [
|
|
16854
16869
|
/* @__PURE__ */ jsxs48("h3", { className: "text-lg font-semibold text-foreground mb-3", children: [
|
|
16855
16870
|
"Playlist (",
|
|
16856
16871
|
playlist.length,
|
|
@@ -18849,61 +18864,56 @@ var LoadingBar = ({
|
|
|
18849
18864
|
// ../../components/ui/OverlayScrollbarProvider.tsx
|
|
18850
18865
|
import { useEffect as useEffect28 } from "react";
|
|
18851
18866
|
import { OverlayScrollbars } from "overlayscrollbars";
|
|
18852
|
-
var
|
|
18853
|
-
var
|
|
18854
|
-
"
|
|
18855
|
-
"
|
|
18856
|
-
"
|
|
18857
|
-
"
|
|
18858
|
-
".overflow-x-scroll",
|
|
18859
|
-
".overflow-y-scroll"
|
|
18867
|
+
var SCROLLABLE_SELECTOR = "[data-os-scrollbar]";
|
|
18868
|
+
var PORTAL_EXCLUDE_SELECTOR = [
|
|
18869
|
+
"[data-radix-portal]",
|
|
18870
|
+
"[role='dialog']",
|
|
18871
|
+
"[aria-modal='true']",
|
|
18872
|
+
"[data-sonner-toaster]"
|
|
18860
18873
|
].join(", ");
|
|
18861
|
-
|
|
18862
|
-
|
|
18863
|
-
|
|
18864
|
-
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
18868
|
-
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
|
|
18874
|
+
function shouldSkip(element) {
|
|
18875
|
+
if (element === document.body || element === document.documentElement) return true;
|
|
18876
|
+
if (element.classList.contains("scrollbar-none")) return true;
|
|
18877
|
+
if (element.hasAttribute("data-os-ignore")) return true;
|
|
18878
|
+
if (element.hasAttribute("data-overlayscrollbars")) return true;
|
|
18879
|
+
if (element.closest(PORTAL_EXCLUDE_SELECTOR)) return true;
|
|
18880
|
+
return false;
|
|
18881
|
+
}
|
|
18882
|
+
function OverlayScrollbarProvider({
|
|
18883
|
+
enabled = true,
|
|
18884
|
+
theme = "os-theme-underverse",
|
|
18885
|
+
visibility = "auto",
|
|
18886
|
+
autoHide = "leave",
|
|
18887
|
+
autoHideDelay = 600,
|
|
18888
|
+
dragScroll = true,
|
|
18889
|
+
clickScroll = false
|
|
18890
|
+
} = {}) {
|
|
18872
18891
|
useEffect28(() => {
|
|
18873
|
-
|
|
18874
|
-
|
|
18875
|
-
const
|
|
18876
|
-
|
|
18877
|
-
|
|
18878
|
-
|
|
18879
|
-
|
|
18892
|
+
if (typeof window === "undefined") return;
|
|
18893
|
+
if (!enabled) return;
|
|
18894
|
+
const options = {
|
|
18895
|
+
scrollbars: {
|
|
18896
|
+
theme,
|
|
18897
|
+
visibility,
|
|
18898
|
+
autoHide,
|
|
18899
|
+
autoHideDelay,
|
|
18900
|
+
dragScroll,
|
|
18901
|
+
clickScroll
|
|
18902
|
+
}
|
|
18880
18903
|
};
|
|
18881
|
-
const
|
|
18904
|
+
const instances = /* @__PURE__ */ new Map();
|
|
18905
|
+
let rafId = 0;
|
|
18906
|
+
const init = (element) => {
|
|
18882
18907
|
if (shouldSkip(element)) return;
|
|
18883
18908
|
if (instances.has(element)) return;
|
|
18884
|
-
instances.set(element, OverlayScrollbars(element,
|
|
18885
|
-
};
|
|
18886
|
-
const collectCandidates = (root, selector) => {
|
|
18887
|
-
const candidates = [];
|
|
18888
|
-
if (root instanceof HTMLElement && root.matches(selector)) {
|
|
18889
|
-
candidates.push(root);
|
|
18890
|
-
}
|
|
18891
|
-
if ("querySelectorAll" in root) {
|
|
18892
|
-
root.querySelectorAll(selector).forEach((element) => {
|
|
18893
|
-
candidates.push(element);
|
|
18894
|
-
});
|
|
18895
|
-
}
|
|
18896
|
-
return candidates.filter((element, index) => candidates.indexOf(element) === index);
|
|
18909
|
+
instances.set(element, OverlayScrollbars(element, options));
|
|
18897
18910
|
};
|
|
18898
18911
|
const scan = (root) => {
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
|
|
18903
|
-
|
|
18904
|
-
);
|
|
18905
|
-
const leafGeneric = filteredGeneric.filter((element) => !filteredGeneric.some((other) => other !== element && element.contains(other)));
|
|
18906
|
-
leafGeneric.forEach(initElement);
|
|
18912
|
+
if (root instanceof HTMLElement && root.matches(SCROLLABLE_SELECTOR)) {
|
|
18913
|
+
init(root);
|
|
18914
|
+
}
|
|
18915
|
+
if (!("querySelectorAll" in root)) return;
|
|
18916
|
+
root.querySelectorAll(SCROLLABLE_SELECTOR).forEach(init);
|
|
18907
18917
|
};
|
|
18908
18918
|
const cleanup = () => {
|
|
18909
18919
|
instances.forEach((instance, element) => {
|
|
@@ -18914,14 +18924,13 @@ function OverlayScrollbarProvider() {
|
|
|
18914
18924
|
});
|
|
18915
18925
|
};
|
|
18916
18926
|
scan(document.body);
|
|
18917
|
-
let rafId = 0;
|
|
18918
18927
|
const observer = new MutationObserver((mutations) => {
|
|
18919
18928
|
if (rafId) return;
|
|
18920
|
-
rafId =
|
|
18929
|
+
rafId = requestAnimationFrame(() => {
|
|
18921
18930
|
rafId = 0;
|
|
18922
18931
|
const scanRoots = /* @__PURE__ */ new Set();
|
|
18923
18932
|
mutations.forEach((mutation) => {
|
|
18924
|
-
if (mutation.target instanceof
|
|
18933
|
+
if (mutation.target instanceof HTMLElement || mutation.target instanceof Document || mutation.target instanceof DocumentFragment) {
|
|
18925
18934
|
scanRoots.add(mutation.target);
|
|
18926
18935
|
}
|
|
18927
18936
|
mutation.addedNodes.forEach((node) => {
|
|
@@ -18934,16 +18943,17 @@ function OverlayScrollbarProvider() {
|
|
|
18934
18943
|
cleanup();
|
|
18935
18944
|
});
|
|
18936
18945
|
});
|
|
18937
|
-
observer.observe(document.body, { childList: true, subtree: true });
|
|
18946
|
+
observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ["class"] });
|
|
18938
18947
|
return () => {
|
|
18939
|
-
if (rafId)
|
|
18948
|
+
if (rafId) cancelAnimationFrame(rafId);
|
|
18940
18949
|
observer.disconnect();
|
|
18941
18950
|
instances.forEach((instance) => instance.destroy());
|
|
18942
|
-
|
|
18951
|
+
instances.clear();
|
|
18943
18952
|
};
|
|
18944
|
-
}, []);
|
|
18953
|
+
}, [enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll]);
|
|
18945
18954
|
return null;
|
|
18946
18955
|
}
|
|
18956
|
+
var OverlayScrollbarProvider_default = OverlayScrollbarProvider;
|
|
18947
18957
|
|
|
18948
18958
|
// ../../components/ui/Table.tsx
|
|
18949
18959
|
import React55 from "react";
|
|
@@ -21505,7 +21515,7 @@ var CommandList = forwardRef13((props, ref) => {
|
|
|
21505
21515
|
if (props.items.length === 0) {
|
|
21506
21516
|
return /* @__PURE__ */ jsx77("div", { className: "w-72 p-4 text-center text-sm text-muted-foreground", children: "No results" });
|
|
21507
21517
|
}
|
|
21508
|
-
return /* @__PURE__ */ jsxs69("div", { ref: listRef, className: "w-72 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
21518
|
+
return /* @__PURE__ */ jsxs69("div", { ref: listRef, "data-os-scrollbar": true, className: "w-72 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
21509
21519
|
/* @__PURE__ */ jsx77("div", { className: "px-3 py-2 border-b", children: /* @__PURE__ */ jsx77("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: "Basic Blocks" }) }),
|
|
21510
21520
|
/* @__PURE__ */ jsx77("div", { className: "p-1", children: props.items.map((item, index) => /* @__PURE__ */ jsxs69(
|
|
21511
21521
|
"button",
|
|
@@ -22598,7 +22608,7 @@ var EmojiList = forwardRef14((props, ref) => {
|
|
|
22598
22608
|
if (props.items.length === 0) {
|
|
22599
22609
|
return /* @__PURE__ */ jsx78("div", { className: "w-80 p-4 text-center text-sm text-muted-foreground bg-card border border-border rounded-2xl shadow-lg", children: "No emoji found" });
|
|
22600
22610
|
}
|
|
22601
|
-
return /* @__PURE__ */ jsxs70("div", { className: "w-80 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
22611
|
+
return /* @__PURE__ */ jsxs70("div", { "data-os-scrollbar": true, className: "w-80 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
22602
22612
|
/* @__PURE__ */ jsx78("div", { className: "px-3 py-2 border-b bg-muted/30", children: /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-2", children: [
|
|
22603
22613
|
/* @__PURE__ */ jsx78(Smile, { className: "w-4 h-4 text-primary" }),
|
|
22604
22614
|
/* @__PURE__ */ jsx78("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: "Emoji" })
|
|
@@ -22967,6 +22977,7 @@ function buildUEditorExtensions({
|
|
|
22967
22977
|
CodeBlockLowlight.configure({
|
|
22968
22978
|
lowlight,
|
|
22969
22979
|
HTMLAttributes: {
|
|
22980
|
+
"data-os-scrollbar": "true",
|
|
22970
22981
|
class: "rounded-lg bg-[#1e1e1e] p-4 font-mono text-sm overflow-x-auto"
|
|
22971
22982
|
}
|
|
22972
22983
|
}),
|
|
@@ -23331,6 +23342,7 @@ var EmojiPicker = ({ onSelect, onClose }) => {
|
|
|
23331
23342
|
"div",
|
|
23332
23343
|
{
|
|
23333
23344
|
ref: scrollContainerRef,
|
|
23345
|
+
"data-os-scrollbar": true,
|
|
23334
23346
|
className: "overflow-y-auto px-3 py-2 shrink",
|
|
23335
23347
|
style: { height: "20rem" },
|
|
23336
23348
|
children: search ? (
|
|
@@ -24052,7 +24064,7 @@ var SlashCommandMenu = ({ editor, onClose, filterText = "" }) => {
|
|
|
24052
24064
|
if (commands.length === 0) {
|
|
24053
24065
|
return /* @__PURE__ */ jsx84("div", { className: "w-72 p-4 text-center text-muted-foreground text-sm", children: t("slashCommand.noResults") });
|
|
24054
24066
|
}
|
|
24055
|
-
return /* @__PURE__ */ jsxs76("div", { ref: menuRef, className: "w-72 max-h-80 overflow-y-auto", children: [
|
|
24067
|
+
return /* @__PURE__ */ jsxs76("div", { ref: menuRef, "data-os-scrollbar": true, className: "w-72 max-h-80 overflow-y-auto", children: [
|
|
24056
24068
|
/* @__PURE__ */ jsx84("div", { className: "px-3 py-2 border-b", children: /* @__PURE__ */ jsx84("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: t("slashCommand.basicBlocks") }) }),
|
|
24057
24069
|
/* @__PURE__ */ jsx84("div", { className: "p-1", children: commands.map((cmd, index) => /* @__PURE__ */ jsxs76(
|
|
24058
24070
|
"button",
|
|
@@ -24814,6 +24826,7 @@ var UEditor = React72.forwardRef(({
|
|
|
24814
24826
|
EditorContent,
|
|
24815
24827
|
{
|
|
24816
24828
|
editor,
|
|
24829
|
+
"data-os-scrollbar": true,
|
|
24817
24830
|
className: "flex-1 overflow-y-auto",
|
|
24818
24831
|
style: {
|
|
24819
24832
|
minHeight,
|
|
@@ -24912,7 +24925,7 @@ export {
|
|
|
24912
24925
|
NotificationModal_default as NotificationModal,
|
|
24913
24926
|
NumberInput,
|
|
24914
24927
|
OverlayControls,
|
|
24915
|
-
OverlayScrollbarProvider,
|
|
24928
|
+
OverlayScrollbarProvider_default as OverlayScrollbarProvider,
|
|
24916
24929
|
PageLoading,
|
|
24917
24930
|
Pagination,
|
|
24918
24931
|
PasswordInput,
|