@underverse-ui/underverse 1.0.32 → 1.0.34

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
@@ -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,18 @@ interface LoadingBarProps {
2306
2308
  }
2307
2309
  declare const LoadingBar: React__default.FC<LoadingBarProps>;
2308
2310
 
2309
- declare function OverlayScrollbarProvider(): null;
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
+ selector?: string;
2320
+ exclude?: string;
2321
+ }
2322
+ declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, selector, exclude, }?: OverlayScrollbarProviderProps): null;
2310
2323
 
2311
2324
  type FilterType = "text" | "select" | "date";
2312
2325
  type DataTableSize = "sm" | "md" | "lg";
@@ -3675,4 +3688,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3675
3688
  };
3676
3689
  };
3677
3690
 
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 };
3691
+ 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,18 @@ interface LoadingBarProps {
2306
2308
  }
2307
2309
  declare const LoadingBar: React__default.FC<LoadingBarProps>;
2308
2310
 
2309
- declare function OverlayScrollbarProvider(): null;
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
+ selector?: string;
2320
+ exclude?: string;
2321
+ }
2322
+ declare function OverlayScrollbarProvider({ enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, selector, exclude, }?: OverlayScrollbarProviderProps): null;
2310
2323
 
2311
2324
  type FilterType = "text" | "select" | "date";
2312
2325
  type DataTableSize = "sm" | "md" | "lg";
@@ -3675,4 +3688,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3675
3688
  };
3676
3689
  };
3677
3690
 
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 };
3691
+ 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,14 @@ var Popover = ({
3819
3821
  children: /* @__PURE__ */ jsx18(
3820
3822
  "div",
3821
3823
  {
3824
+ ...contentProps,
3822
3825
  className: cn(
3823
3826
  "rounded-2xl md:rounded-3xl border bg-popover text-popover-foreground shadow-md",
3824
3827
  "backdrop-blur-sm bg-popover/95 border-border/60 p-4",
3828
+ contentProps?.className,
3825
3829
  contentClassName
3826
3830
  ),
3827
- tabIndex: -1,
3831
+ tabIndex: contentProps?.tabIndex ?? -1,
3828
3832
  children
3829
3833
  }
3830
3834
  )
@@ -5643,7 +5647,7 @@ var ScrollArea = forwardRef7(
5643
5647
  className
5644
5648
  ),
5645
5649
  ...props,
5646
- children: /* @__PURE__ */ jsx28("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport custom-scrollbar", contentClassName), "data-os-scrollbar": true, children })
5650
+ children: /* @__PURE__ */ jsx28("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport custom-scrollbar", contentClassName), children })
5647
5651
  }
5648
5652
  );
5649
5653
  }
@@ -11718,7 +11722,6 @@ function CalendarTimeline({
11718
11722
  {
11719
11723
  ref: bodyRef,
11720
11724
  className: "relative flex-1 overflow-auto custom-scrollbar",
11721
- "data-os-scrollbar": true,
11722
11725
  onPointerMove,
11723
11726
  onPointerUp,
11724
11727
  onPointerLeave: () => setHoverCell(null),
@@ -13937,7 +13940,6 @@ function CategoryTreeSelect(props) {
13937
13940
  "p-2",
13938
13941
  "animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
13939
13942
  ),
13940
- "data-os-scrollbar": true,
13941
13943
  children: [
13942
13944
  renderSearch(),
13943
13945
  renderTreeContent()
@@ -18849,81 +18851,161 @@ var LoadingBar = ({
18849
18851
  // ../../components/ui/OverlayScrollbarProvider.tsx
18850
18852
  import { useEffect as useEffect28 } from "react";
18851
18853
  import { OverlayScrollbars } from "overlayscrollbars";
18852
- var EXPLICIT_SELECTOR = [".thin-scrollbar", ".scrollbar-thin", ".custom-scrollbar", "[data-os-scrollbar]"].join(", ");
18853
- var PORTAL_EXCLUDE_SELECTOR = [
18854
+
18855
+ // ../../components/ui/overlay-scrollbar-controller.ts
18856
+ var DEFAULT_OVERLAY_SCROLLBAR_SELECTOR = [
18857
+ ".overflow-auto",
18858
+ ".overflow-y-auto",
18859
+ ".overflow-x-auto",
18860
+ ".overflow-scroll",
18861
+ ".overflow-y-scroll",
18862
+ ".overflow-x-scroll",
18863
+ "textarea",
18864
+ "[data-os-scrollbar]"
18865
+ ].join(", ");
18866
+ var DEFAULT_OVERLAY_SCROLLBAR_EXCLUDE = [
18867
+ "html",
18868
+ "body",
18869
+ "[data-os-ignore]",
18854
18870
  "[data-radix-portal]",
18855
18871
  "[role='dialog']",
18856
18872
  "[aria-modal='true']",
18857
18873
  "[data-sonner-toaster]"
18858
18874
  ].join(", ");
18859
- var OPTIONS = {
18860
- scrollbars: {
18861
- theme: "os-theme-underverse",
18862
- visibility: "auto",
18863
- autoHide: "leave",
18864
- autoHideDelay: 600,
18865
- dragScroll: true,
18866
- clickScroll: false
18875
+ function splitSelectorList(selectorList) {
18876
+ return selectorList.split(",").map((part) => part.trim()).filter(Boolean);
18877
+ }
18878
+ function safeMatches(element, selector) {
18879
+ try {
18880
+ return element.matches(selector);
18881
+ } catch {
18882
+ return false;
18867
18883
  }
18868
- };
18869
- function shouldSkip(element) {
18870
- if (element === document.body || element === document.documentElement) return true;
18871
- if (element.hasAttribute("data-os-ignore")) return true;
18884
+ }
18885
+ function safeClosest(element, selector) {
18886
+ try {
18887
+ return element.closest(selector);
18888
+ } catch {
18889
+ return null;
18890
+ }
18891
+ }
18892
+ function shouldSkipElement(element, excludeSelectors, ancestorExcludeSelectors) {
18893
+ const tagName = element.tagName?.toLowerCase?.() ?? "";
18894
+ if (tagName === "body" || tagName === "html") return true;
18895
+ if (element.classList.contains("scrollbar-none")) return true;
18872
18896
  if (element.hasAttribute("data-overlayscrollbars")) return true;
18873
- if (element.closest(PORTAL_EXCLUDE_SELECTOR)) return true;
18897
+ if (excludeSelectors.some((selector) => safeMatches(element, selector))) return true;
18898
+ if (ancestorExcludeSelectors.some((selector) => safeClosest(element, selector))) return true;
18874
18899
  return false;
18875
18900
  }
18876
- function OverlayScrollbarProvider() {
18877
- useEffect28(() => {
18878
- const instances = /* @__PURE__ */ new Map();
18879
- let rafId = 0;
18880
- const init = (element) => {
18881
- if (shouldSkip(element)) return;
18882
- if (instances.has(element)) return;
18883
- instances.set(element, OverlayScrollbars(element, OPTIONS));
18884
- };
18885
- const scan = (root) => {
18886
- if (root instanceof HTMLElement && root.matches(EXPLICIT_SELECTOR)) {
18887
- init(root);
18901
+ function createOverlayScrollbarController({
18902
+ selector,
18903
+ exclude,
18904
+ options,
18905
+ createInstance,
18906
+ root = document.body,
18907
+ createObserver,
18908
+ requestAnimationFrameImpl = requestAnimationFrame,
18909
+ cancelAnimationFrameImpl = cancelAnimationFrame
18910
+ }) {
18911
+ const instances = /* @__PURE__ */ new Map();
18912
+ const excludeSelectors = splitSelectorList(exclude);
18913
+ const ancestorExcludeSelectors = excludeSelectors.filter((item) => item !== "html" && item !== "body");
18914
+ let rafId = 0;
18915
+ const init = (element) => {
18916
+ if (shouldSkipElement(element, excludeSelectors, ancestorExcludeSelectors)) return;
18917
+ if (instances.has(element)) return;
18918
+ instances.set(element, createInstance(element, options));
18919
+ };
18920
+ const scan = (root2) => {
18921
+ if (root2 instanceof HTMLElement && safeMatches(root2, selector)) {
18922
+ init(root2);
18923
+ }
18924
+ if (!("querySelectorAll" in root2)) return;
18925
+ try {
18926
+ root2.querySelectorAll(selector).forEach(init);
18927
+ } catch {
18928
+ }
18929
+ };
18930
+ const cleanup = () => {
18931
+ instances.forEach((instance, element) => {
18932
+ if (!element.isConnected) {
18933
+ instance.destroy();
18934
+ instances.delete(element);
18888
18935
  }
18889
- root.querySelectorAll(EXPLICIT_SELECTOR).forEach(init);
18890
- };
18891
- const cleanup = () => {
18892
- instances.forEach((instance, element) => {
18893
- if (!element.isConnected) {
18894
- instance.destroy();
18895
- instances.delete(element);
18936
+ });
18937
+ };
18938
+ scan(root);
18939
+ const onMutations = (mutations) => {
18940
+ if (rafId) return;
18941
+ rafId = requestAnimationFrameImpl(() => {
18942
+ rafId = 0;
18943
+ const roots = /* @__PURE__ */ new Set();
18944
+ mutations.forEach((mutation) => {
18945
+ if (mutation.target && (typeof mutation.target.querySelectorAll === "function" || mutation.target instanceof HTMLElement)) {
18946
+ roots.add(mutation.target);
18896
18947
  }
18897
- });
18898
- };
18899
- scan(document.body);
18900
- const observer = new MutationObserver((mutations) => {
18901
- if (rafId) return;
18902
- rafId = requestAnimationFrame(() => {
18903
- rafId = 0;
18904
- const scanRoots = /* @__PURE__ */ new Set();
18905
- mutations.forEach((mutation) => {
18906
- if (mutation.target instanceof HTMLElement || mutation.target instanceof Document || mutation.target instanceof DocumentFragment) {
18907
- scanRoots.add(mutation.target);
18948
+ Array.from(mutation.addedNodes).forEach((node) => {
18949
+ if (node instanceof HTMLElement) {
18950
+ roots.add(node);
18908
18951
  }
18909
- mutation.addedNodes.forEach((node) => {
18910
- if (node instanceof HTMLElement) {
18911
- scanRoots.add(node);
18912
- }
18913
- });
18914
18952
  });
18915
- scanRoots.forEach(scan);
18916
- cleanup();
18917
18953
  });
18954
+ roots.forEach(scan);
18955
+ cleanup();
18956
+ });
18957
+ };
18958
+ const observer = createObserver ? createObserver(onMutations) : new MutationObserver(onMutations);
18959
+ observer.observe(root, { childList: true, subtree: true, attributes: true });
18960
+ const destroy = () => {
18961
+ if (rafId) cancelAnimationFrameImpl(rafId);
18962
+ observer.disconnect();
18963
+ instances.forEach((instance) => instance.destroy());
18964
+ instances.clear();
18965
+ };
18966
+ return {
18967
+ destroy,
18968
+ scan,
18969
+ cleanup,
18970
+ getInstanceCount: () => instances.size
18971
+ };
18972
+ }
18973
+
18974
+ // ../../components/ui/OverlayScrollbarProvider.tsx
18975
+ function OverlayScrollbarProvider({
18976
+ enabled = true,
18977
+ theme = "os-theme-underverse",
18978
+ visibility = "auto",
18979
+ autoHide = "leave",
18980
+ autoHideDelay = 600,
18981
+ dragScroll = true,
18982
+ clickScroll = false,
18983
+ selector = DEFAULT_OVERLAY_SCROLLBAR_SELECTOR,
18984
+ exclude = DEFAULT_OVERLAY_SCROLLBAR_EXCLUDE
18985
+ } = {}) {
18986
+ useEffect28(() => {
18987
+ if (typeof window === "undefined") return;
18988
+ if (!enabled) return;
18989
+ const options = {
18990
+ scrollbars: {
18991
+ theme,
18992
+ visibility,
18993
+ autoHide,
18994
+ autoHideDelay,
18995
+ dragScroll,
18996
+ clickScroll
18997
+ }
18998
+ };
18999
+ const controller = createOverlayScrollbarController({
19000
+ selector,
19001
+ exclude,
19002
+ options,
19003
+ createInstance: (element, instanceOptions) => OverlayScrollbars(element, instanceOptions)
18918
19004
  });
18919
- observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ["class"] });
18920
19005
  return () => {
18921
- if (rafId) cancelAnimationFrame(rafId);
18922
- observer.disconnect();
18923
- instances.forEach((instance) => instance.destroy());
18924
- instances.clear();
19006
+ controller.destroy();
18925
19007
  };
18926
- }, []);
19008
+ }, [enabled, theme, visibility, autoHide, autoHideDelay, dragScroll, clickScroll, selector, exclude]);
18927
19009
  return null;
18928
19010
  }
18929
19011
  var OverlayScrollbarProvider_default = OverlayScrollbarProvider;
@@ -18945,7 +19027,6 @@ var Table = React55.forwardRef(({ className, containerClassName, disableContaine
18945
19027
  "backdrop-blur-sm transition-all duration-300",
18946
19028
  containerClassName
18947
19029
  ),
18948
- "data-os-scrollbar": true,
18949
19030
  children: /* @__PURE__ */ jsx65("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props })
18950
19031
  }
18951
19032
  );
@@ -19877,13 +19958,8 @@ function DataTable({
19877
19958
  children: /* @__PURE__ */ jsx68(
19878
19959
  "div",
19879
19960
  {
19880
- className: "custom-scrollbar w-full",
19881
- "data-os-scrollbar": true,
19882
- style: stickyHeader ? {
19883
- maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight,
19884
- overflowY: "auto",
19885
- overflowX: "auto"
19886
- } : { overflowX: "auto" },
19961
+ className: cn("w-full overflow-x-auto", stickyHeader && "overflow-y-auto"),
19962
+ style: stickyHeader ? { maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight } : void 0,
19887
19963
  children: /* @__PURE__ */ jsxs62(
19888
19964
  Table,
19889
19965
  {
@@ -21401,7 +21477,7 @@ import { useTranslations as useTranslations7 } from "next-intl";
21401
21477
  import { useEditor, EditorContent } from "@tiptap/react";
21402
21478
 
21403
21479
  // ../../components/ui/UEditor/extensions.ts
21404
- import Document2 from "@tiptap/extension-document";
21480
+ import Document from "@tiptap/extension-document";
21405
21481
  import Paragraph from "@tiptap/extension-paragraph";
21406
21482
  import Text from "@tiptap/extension-text";
21407
21483
  import Bold from "@tiptap/extension-bold";
@@ -22906,7 +22982,7 @@ function buildUEditorExtensions({
22906
22982
  editable = true
22907
22983
  }) {
22908
22984
  return [
22909
- Document2,
22985
+ Document,
22910
22986
  Paragraph,
22911
22987
  Text,
22912
22988
  Bold,