@underverse-ui/underverse 0.2.85 → 0.2.86

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
@@ -903,6 +903,7 @@ declare function Calendar({ month, defaultMonth, onMonthChange, value, defaultVa
903
903
 
904
904
  type CalendarTimelineView = "month" | "week" | "day";
905
905
  type CalendarTimelineDateInput = Date | string | number;
906
+ type CalendarTimelineSize = "sm" | "md" | "xl";
906
907
  interface CalendarTimelineGroup {
907
908
  id: string;
908
909
  label: React$1.ReactNode;
@@ -978,6 +979,7 @@ interface CalendarTimelineVirtualization {
978
979
  interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
979
980
  resources: CalendarTimelineResource<TResourceMeta>[];
980
981
  events: CalendarTimelineEvent<TEventMeta>[];
982
+ size?: CalendarTimelineSize;
981
983
  view?: CalendarTimelineView;
982
984
  defaultView?: CalendarTimelineView;
983
985
  onViewChange?: (view: CalendarTimelineView) => void;
@@ -1039,7 +1041,7 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
1039
1041
  virtualization?: CalendarTimelineVirtualization;
1040
1042
  }
1041
1043
 
1042
- declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1044
+ declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1043
1045
 
1044
1046
  type ComboboxOption = string | {
1045
1047
  label: string;
@@ -3009,4 +3011,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3009
3011
  };
3010
3012
  };
3011
3013
 
3012
- export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, 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 DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, 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, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, 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 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 UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
3014
+ export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, 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 DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, 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, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, 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 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 UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
package/dist/index.d.ts CHANGED
@@ -903,6 +903,7 @@ declare function Calendar({ month, defaultMonth, onMonthChange, value, defaultVa
903
903
 
904
904
  type CalendarTimelineView = "month" | "week" | "day";
905
905
  type CalendarTimelineDateInput = Date | string | number;
906
+ type CalendarTimelineSize = "sm" | "md" | "xl";
906
907
  interface CalendarTimelineGroup {
907
908
  id: string;
908
909
  label: React$1.ReactNode;
@@ -978,6 +979,7 @@ interface CalendarTimelineVirtualization {
978
979
  interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
979
980
  resources: CalendarTimelineResource<TResourceMeta>[];
980
981
  events: CalendarTimelineEvent<TEventMeta>[];
982
+ size?: CalendarTimelineSize;
981
983
  view?: CalendarTimelineView;
982
984
  defaultView?: CalendarTimelineView;
983
985
  onViewChange?: (view: CalendarTimelineView) => void;
@@ -1039,7 +1041,7 @@ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> e
1039
1041
  virtualization?: CalendarTimelineVirtualization;
1040
1042
  }
1041
1043
 
1042
- declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1044
+ declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, size, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1043
1045
 
1044
1046
  type ComboboxOption = string | {
1045
1047
  label: string;
@@ -3009,4 +3011,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
3009
3011
  };
3010
3012
  };
3011
3013
 
3012
- export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, 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 DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, 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, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, 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 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 UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
3014
+ export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, 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 DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, 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, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, 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 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 UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
package/dist/index.js CHANGED
@@ -7812,6 +7812,7 @@ function defaultEventTime(args) {
7812
7812
  function CalendarTimeline({
7813
7813
  resources,
7814
7814
  events,
7815
+ size = "md",
7815
7816
  view,
7816
7817
  defaultView = "month",
7817
7818
  onViewChange,
@@ -7827,9 +7828,9 @@ function CalendarTimeline({
7827
7828
  groupCollapsed,
7828
7829
  defaultGroupCollapsed,
7829
7830
  onGroupCollapsedChange,
7830
- resourceColumnWidth = 240,
7831
- rowHeight = 52,
7832
- slotMinWidth = 64,
7831
+ resourceColumnWidth,
7832
+ rowHeight,
7833
+ slotMinWidth,
7833
7834
  dayTimeStepMinutes = 60,
7834
7835
  maxLanesPerRow = 3,
7835
7836
  now,
@@ -7852,6 +7853,62 @@ function CalendarTimeline({
7852
7853
  const detectedLocale = useLocale();
7853
7854
  const resolvedLocale = React28.useMemo(() => localeToBCP47(locale ?? detectedLocale), [locale, detectedLocale]);
7854
7855
  const resolvedTimeZone = React28.useMemo(() => timeZone ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC", [timeZone]);
7856
+ const sizeConfig = React28.useMemo(() => {
7857
+ const cfgBySize = {
7858
+ sm: {
7859
+ resourceColumnWidth: 200,
7860
+ rowHeight: 44,
7861
+ slotMinWidth: 52,
7862
+ eventHeight: 16,
7863
+ laneGap: 3,
7864
+ lanePaddingY: 5,
7865
+ densityClass: "text-xs",
7866
+ headerPaddingClass: "px-3 py-2",
7867
+ titleClass: "text-base",
7868
+ resourceRowClass: "gap-2 px-3",
7869
+ groupRowClass: "gap-2 px-3",
7870
+ slotHeaderClass: "px-1 py-2",
7871
+ controlButtonIconClass: "h-7 w-7",
7872
+ controlButtonTextClass: "h-7 px-2 text-xs"
7873
+ },
7874
+ md: {
7875
+ resourceColumnWidth: 240,
7876
+ rowHeight: 52,
7877
+ slotMinWidth: 64,
7878
+ eventHeight: 18,
7879
+ laneGap: 4,
7880
+ lanePaddingY: 6,
7881
+ densityClass: "text-sm",
7882
+ headerPaddingClass: "px-4 py-3",
7883
+ titleClass: "text-lg",
7884
+ resourceRowClass: "gap-3 px-4",
7885
+ groupRowClass: "gap-3 px-4",
7886
+ slotHeaderClass: "px-1 py-3",
7887
+ controlButtonIconClass: "h-8 w-8",
7888
+ controlButtonTextClass: "h-8 px-3"
7889
+ },
7890
+ xl: {
7891
+ resourceColumnWidth: 280,
7892
+ rowHeight: 60,
7893
+ slotMinWidth: 76,
7894
+ eventHeight: 20,
7895
+ laneGap: 5,
7896
+ lanePaddingY: 8,
7897
+ densityClass: "text-base",
7898
+ headerPaddingClass: "px-5 py-4",
7899
+ titleClass: "text-xl",
7900
+ resourceRowClass: "gap-4 px-5",
7901
+ groupRowClass: "gap-4 px-5",
7902
+ slotHeaderClass: "px-2 py-4",
7903
+ controlButtonIconClass: "h-9 w-9",
7904
+ controlButtonTextClass: "h-9 px-4 text-sm"
7905
+ }
7906
+ };
7907
+ return cfgBySize[size];
7908
+ }, [size]);
7909
+ const effectiveResourceColumnWidth = resourceColumnWidth ?? sizeConfig.resourceColumnWidth;
7910
+ const effectiveRowHeight = rowHeight ?? sizeConfig.rowHeight;
7911
+ const effectiveSlotMinWidth = slotMinWidth ?? sizeConfig.slotMinWidth;
7855
7912
  const isControlledView = view !== void 0;
7856
7913
  const [internalView, setInternalView] = React28.useState(defaultView);
7857
7914
  const activeView = isControlledView ? view : internalView;
@@ -7981,7 +8038,7 @@ function CalendarTimeline({
7981
8038
  onRangeChange?.(range);
7982
8039
  }, [range.start, range.end, onRangeChange]);
7983
8040
  const slotStarts = React28.useMemo(() => slots.map((s) => s.start), [slots]);
7984
- const slotWidth = slotMinWidth;
8041
+ const slotWidth = effectiveSlotMinWidth;
7985
8042
  const gridWidth = slots.length * slotWidth;
7986
8043
  const normalizedEvents = React28.useMemo(() => {
7987
8044
  const rangeStart = range.start.getTime();
@@ -8013,10 +8070,10 @@ function CalendarTimeline({
8013
8070
  const title = React28.useMemo(() => {
8014
8071
  return formatters?.monthTitle?.(activeDate, { locale: resolvedLocale, timeZone: resolvedTimeZone }) ?? defaultMonthTitle(activeDate, resolvedLocale, resolvedTimeZone);
8015
8072
  }, [activeDate, formatters, resolvedLocale, resolvedTimeZone]);
8016
- const densityClass = "text-sm";
8017
- const eventHeight = 18;
8018
- const laneGap = 4;
8019
- const lanePaddingY = 6;
8073
+ const densityClass = sizeConfig.densityClass;
8074
+ const eventHeight = sizeConfig.eventHeight;
8075
+ const laneGap = sizeConfig.laneGap;
8076
+ const lanePaddingY = sizeConfig.lanePaddingY;
8020
8077
  const virt = virtualization?.enabled;
8021
8078
  const overscan = virtualization?.overscan ?? 8;
8022
8079
  const {
@@ -8027,7 +8084,7 @@ function CalendarTimeline({
8027
8084
  } = useVirtualRows({
8028
8085
  enabled: virt,
8029
8086
  overscan,
8030
- rowHeight,
8087
+ rowHeight: effectiveRowHeight,
8031
8088
  itemCount: rows.length,
8032
8089
  scrollRef: bodyRef
8033
8090
  });
@@ -8174,8 +8231,9 @@ function CalendarTimeline({
8174
8231
  type: "button",
8175
8232
  onClick: canToggle ? toggle : void 0,
8176
8233
  className: cn(
8177
- "w-full h-full flex items-center gap-3 px-4 text-left",
8178
- "bg-gradient-to-r from-muted/40 to-muted/20 border-b border-border/40",
8234
+ "w-full h-full flex items-center text-left",
8235
+ sizeConfig.groupRowClass,
8236
+ "bg-linear-to-r from-muted/40 to-muted/20 border-b border-border/40",
8179
8237
  "backdrop-blur-sm",
8180
8238
  canToggle ? "cursor-pointer hover:from-muted/60 hover:to-muted/30 transition-all duration-200" : "cursor-default"
8181
8239
  ),
@@ -8212,7 +8270,8 @@ function CalendarTimeline({
8212
8270
  "div",
8213
8271
  {
8214
8272
  className: cn(
8215
- "flex-shrink-0 border-l border-border/30 px-1 py-3 flex items-center justify-center transition-colors duration-150",
8273
+ "shrink-0 border-l border-border/30 flex items-center justify-center transition-colors duration-150",
8274
+ sizeConfig.slotHeaderClass,
8216
8275
  s.isToday && "bg-primary/8 border-l-primary/40"
8217
8276
  ),
8218
8277
  style: { width: slotWidth, minWidth: slotWidth },
@@ -8231,8 +8290,8 @@ function CalendarTimeline({
8231
8290
  week: /* @__PURE__ */ jsx33(CalendarDays, { className: "h-4 w-4" }),
8232
8291
  day: /* @__PURE__ */ jsx33(Calendar3, { className: "h-4 w-4" })
8233
8292
  };
8234
- const Header = /* @__PURE__ */ jsxs28("div", { className: "sticky top-0 z-30 bg-gradient-to-b from-background via-background to-background/95 border-b border-border/40 backdrop-blur-xl", children: [
8235
- /* @__PURE__ */ jsxs28("div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
8293
+ const Header = /* @__PURE__ */ jsxs28("div", { className: "sticky top-0 z-30 bg-linear-to-b from-background via-background to-background/95 border-b border-border/40 backdrop-blur-xl", children: [
8294
+ /* @__PURE__ */ jsxs28("div", { className: cn("flex items-center justify-between gap-4", sizeConfig.headerPaddingClass), children: [
8236
8295
  /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-1.5 min-w-0", children: [
8237
8296
  /* @__PURE__ */ jsxs28("div", { className: "flex items-center bg-muted/40 rounded-xl p-1 gap-0.5", children: [
8238
8297
  /* @__PURE__ */ jsx33(
@@ -8242,7 +8301,7 @@ function CalendarTimeline({
8242
8301
  size: "icon",
8243
8302
  onClick: () => navigate(-1),
8244
8303
  "aria-label": l.prev,
8245
- className: "h-8 w-8 rounded-lg hover:bg-background/80 transition-all duration-200",
8304
+ className: cn(sizeConfig.controlButtonIconClass, "rounded-lg hover:bg-background/80 transition-all duration-200"),
8246
8305
  children: /* @__PURE__ */ jsx33(ChevronLeft4, { className: "h-4 w-4" })
8247
8306
  }
8248
8307
  ),
@@ -8252,7 +8311,7 @@ function CalendarTimeline({
8252
8311
  variant: "ghost",
8253
8312
  size: "sm",
8254
8313
  onClick: goToday,
8255
- className: "h-8 px-3 rounded-lg hover:bg-background/80 font-medium transition-all duration-200",
8314
+ className: cn(sizeConfig.controlButtonTextClass, "rounded-lg hover:bg-background/80 font-medium transition-all duration-200"),
8256
8315
  children: l.today
8257
8316
  }
8258
8317
  ),
@@ -8263,12 +8322,12 @@ function CalendarTimeline({
8263
8322
  size: "icon",
8264
8323
  onClick: () => navigate(1),
8265
8324
  "aria-label": l.next,
8266
- className: "h-8 w-8 rounded-lg hover:bg-background/80 transition-all duration-200",
8325
+ className: cn(sizeConfig.controlButtonIconClass, "rounded-lg hover:bg-background/80 transition-all duration-200"),
8267
8326
  children: /* @__PURE__ */ jsx33(ChevronRight5, { className: "h-4 w-4" })
8268
8327
  }
8269
8328
  )
8270
8329
  ] }),
8271
- /* @__PURE__ */ jsx33("h2", { className: "ml-3 text-lg font-semibold tracking-tight truncate text-foreground", children: title })
8330
+ /* @__PURE__ */ jsx33("h2", { className: cn("ml-3 font-semibold tracking-tight truncate text-foreground", sizeConfig.titleClass), children: title })
8272
8331
  ] }),
8273
8332
  /* @__PURE__ */ jsx33("div", { className: "flex items-center bg-muted/40 rounded-xl p-1 gap-0.5", children: ["month", "week", "day"].map((v) => /* @__PURE__ */ jsxs28(
8274
8333
  Button_default,
@@ -8277,7 +8336,8 @@ function CalendarTimeline({
8277
8336
  size: "sm",
8278
8337
  onClick: () => setView(v),
8279
8338
  className: cn(
8280
- "h-8 px-3 rounded-lg font-medium transition-all duration-200 gap-1.5",
8339
+ sizeConfig.controlButtonTextClass,
8340
+ "rounded-lg font-medium transition-all duration-200 gap-1.5",
8281
8341
  activeView === v ? "bg-primary text-primary-foreground shadow-sm shadow-primary/25" : "hover:bg-background/80 text-muted-foreground hover:text-foreground"
8282
8342
  ),
8283
8343
  children: [
@@ -8292,9 +8352,9 @@ function CalendarTimeline({
8292
8352
  /* @__PURE__ */ jsx33(
8293
8353
  "div",
8294
8354
  {
8295
- className: "flex-shrink-0 border-r border-border/30 bg-muted/20 flex items-center justify-center",
8296
- style: { width: resourceColumnWidth, minWidth: resourceColumnWidth },
8297
- children: /* @__PURE__ */ jsx33("span", { className: "text-xs font-medium text-muted-foreground/70 uppercase tracking-wider", children: "Resources" })
8355
+ className: "shrink-0 border-r border-border/30 bg-muted/20 flex items-center justify-center",
8356
+ style: { width: effectiveResourceColumnWidth, minWidth: effectiveResourceColumnWidth },
8357
+ children: /* @__PURE__ */ jsx33("span", { className: "text-xs font-medium text-muted-foreground/70 uppercase tracking-wider", children: t("resourcesHeader") })
8298
8358
  }
8299
8359
  ),
8300
8360
  /* @__PURE__ */ jsx33("div", { ref: headerRef, className: "overflow-x-auto overflow-y-hidden scrollbar-none", children: slotHeaderNodes })
@@ -8304,11 +8364,12 @@ function CalendarTimeline({
8304
8364
  "div",
8305
8365
  {
8306
8366
  className: cn(
8307
- "h-full w-full flex items-center gap-3 px-4 border-b border-border/30 bg-gradient-to-r from-background to-background/95",
8367
+ "h-full w-full flex items-center border-b border-border/30 bg-linear-to-r from-background to-background/95",
8368
+ sizeConfig.resourceRowClass,
8308
8369
  "hover:from-muted/30 hover:to-muted/10 transition-all duration-200 group"
8309
8370
  ),
8310
8371
  children: [
8311
- /* @__PURE__ */ jsx33("div", { className: "flex-shrink-0 opacity-0 group-hover:opacity-60 transition-opacity cursor-grab", children: /* @__PURE__ */ jsx33(GripVertical, { className: "h-4 w-4 text-muted-foreground" }) }),
8372
+ /* @__PURE__ */ jsx33("div", { className: "shrink-0 opacity-0 group-hover:opacity-60 transition-opacity cursor-grab", children: /* @__PURE__ */ jsx33(GripVertical, { className: "h-4 w-4 text-muted-foreground" }) }),
8312
8373
  /* @__PURE__ */ jsx33("div", { className: cn("flex-1 min-w-0", r.disabled && "opacity-50"), children: renderResource ? renderResource(r) : /* @__PURE__ */ jsx33("span", { className: "font-medium text-sm truncate block", children: r.label }) })
8313
8374
  ]
8314
8375
  }
@@ -8363,9 +8424,16 @@ function CalendarTimeline({
8363
8424
  rows.slice(startRow, endRow).map((row, idx) => {
8364
8425
  const rowIndex = startRow + idx;
8365
8426
  if (row.kind === "group") {
8366
- return /* @__PURE__ */ jsxs28("div", { className: "flex", style: { height: rowHeight }, children: [
8367
- /* @__PURE__ */ jsx33("div", { className: "flex-shrink-0 sticky left-0 z-20", style: { width: resourceColumnWidth, minWidth: resourceColumnWidth }, children: renderGroupRow(row.group) }),
8368
- /* @__PURE__ */ jsx33("div", { className: "flex-1 border-b border-border/30 bg-gradient-to-r from-muted/15 to-muted/5", style: { minWidth: gridWidth } })
8427
+ return /* @__PURE__ */ jsxs28("div", { className: "flex", style: { height: effectiveRowHeight }, children: [
8428
+ /* @__PURE__ */ jsx33(
8429
+ "div",
8430
+ {
8431
+ className: "shrink-0 sticky left-0 z-20",
8432
+ style: { width: effectiveResourceColumnWidth, minWidth: effectiveResourceColumnWidth },
8433
+ children: renderGroupRow(row.group)
8434
+ }
8435
+ ),
8436
+ /* @__PURE__ */ jsx33("div", { className: "flex-1 border-b border-border/30 bg-linear-to-r from-muted/15 to-muted/5", style: { minWidth: gridWidth } })
8369
8437
  ] }, `g_${row.group.id}_${rowIndex}`);
8370
8438
  }
8371
8439
  const r = row.resource;
@@ -8375,18 +8443,18 @@ function CalendarTimeline({
8375
8443
  "div",
8376
8444
  {
8377
8445
  className: "flex group/row hover:bg-muted/5 transition-colors duration-150",
8378
- style: { height: rowHeight },
8446
+ style: { height: effectiveRowHeight },
8379
8447
  "data-uv-ct-row": r.id,
8380
8448
  children: [
8381
8449
  /* @__PURE__ */ jsx33(
8382
8450
  "div",
8383
8451
  {
8384
- className: "flex-shrink-0 sticky left-0 z-20 border-r border-border/30",
8385
- style: { width: resourceColumnWidth, minWidth: resourceColumnWidth },
8452
+ className: "shrink-0 sticky left-0 z-20 border-r border-border/30",
8453
+ style: { width: effectiveResourceColumnWidth, minWidth: effectiveResourceColumnWidth },
8386
8454
  children: ResourceCell(r)
8387
8455
  }
8388
8456
  ),
8389
- /* @__PURE__ */ jsxs28("div", { className: "relative flex-shrink-0", style: { width: gridWidth, minWidth: gridWidth }, children: [
8457
+ /* @__PURE__ */ jsxs28("div", { className: "relative shrink-0", style: { width: gridWidth, minWidth: gridWidth }, children: [
8390
8458
  /* @__PURE__ */ jsx33("div", { className: "absolute inset-0", onPointerDown: onPointerDownCell, "data-uv-ct-timeline": true, children: /* @__PURE__ */ jsx33("div", { className: "absolute inset-0 flex", children: slots.map((s, i2) => /* @__PURE__ */ jsx33(
8391
8459
  "div",
8392
8460
  {
@@ -18068,9 +18136,9 @@ var UEditor = ({
18068
18136
  "[&_ul[data-type='taskList']_li>label>input]:border-2",
18069
18137
  "[&_ul[data-type='taskList']_li>label>input]:border-primary/50",
18070
18138
  "[&_ul[data-type='taskList']_li>label>input]:accent-primary",
18071
- "[&_pre]:!bg-[#1e1e1e]",
18072
- "[&_pre]:!text-[#d4d4d4]",
18073
- "[&_pre_code]:!bg-transparent",
18139
+ "[&_pre]:bg-[#1e1e1e]!",
18140
+ "[&_pre]:text-[#d4d4d4]!",
18141
+ "[&_pre_code]:bg-transparent!",
18074
18142
  "[&_img.ProseMirror-selectednode]:ring-2",
18075
18143
  "[&_img.ProseMirror-selectednode]:ring-primary/60",
18076
18144
  "[&_img.ProseMirror-selectednode]:ring-offset-2",