opus-react 0.2.30 → 0.2.32

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
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, CSSProperties, RefObject } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, CSSProperties, RefObject, HTMLAttributes } from 'react';
3
3
 
4
4
  type Theme = "light" | "dark";
5
5
  type FieldMode = "stacked" | "flagged";
@@ -995,6 +995,7 @@ declare function TrendBadge({ direction, value }: TrendBadgeProps): react.JSX.El
995
995
 
996
996
  type PanelProps = {
997
997
  actions?: ReactNode;
998
+ bordered?: boolean;
998
999
  children: ReactNode;
999
1000
  density?: SurfaceDensity;
1000
1001
  description?: string;
@@ -1003,7 +1004,7 @@ type PanelProps = {
1003
1004
  title: string;
1004
1005
  tone?: SurfaceTone;
1005
1006
  };
1006
- declare function Panel({ actions, children, density, description, divided, footer, title, tone, }: PanelProps): react.JSX.Element;
1007
+ declare function Panel({ actions, bordered, children, density, description, divided, footer, title, tone, }: PanelProps): react.JSX.Element;
1007
1008
 
1008
1009
  type SectionBreakpoint = "mobile" | "tablet" | "desktop";
1009
1010
  /** @deprecated Use sidebar + columns instead. Kept for Section.Row shorthand. */
@@ -1352,9 +1353,10 @@ type PropertyGridItem = {
1352
1353
  value: string;
1353
1354
  };
1354
1355
  type PropertyGridProps = {
1356
+ bordered?: boolean;
1355
1357
  items: PropertyGridItem[];
1356
1358
  };
1357
- declare function PropertyGrid({ items }: PropertyGridProps): react.JSX.Element;
1359
+ declare function PropertyGrid({ bordered, items }: PropertyGridProps): react.JSX.Element;
1358
1360
 
1359
1361
  type StackAlign = "start" | "center" | "end" | "stretch";
1360
1362
  type StackJustify = "start" | "center" | "end" | "between" | "around";
@@ -1397,13 +1399,14 @@ type SplitterProps = {
1397
1399
  children: [ReactNode, ReactNode];
1398
1400
  className?: string;
1399
1401
  defaultSize?: number;
1402
+ flush?: boolean;
1400
1403
  minSize?: number;
1401
1404
  onSizeChange?: (size: number) => void;
1402
1405
  orientation?: SplitterOrientation;
1403
1406
  size?: number;
1404
1407
  style?: CSSProperties;
1405
1408
  };
1406
- declare function Splitter({ children, className, defaultSize, minSize, onSizeChange, orientation, size: controlledSize, style, }: SplitterProps): react.JSX.Element;
1409
+ declare function Splitter({ children, className, defaultSize, flush, minSize, onSizeChange, orientation, size: controlledSize, style, }: SplitterProps): react.JSX.Element;
1407
1410
 
1408
1411
  type ResizablePanelProps = {
1409
1412
  children: ReactNode;
@@ -1732,6 +1735,7 @@ type NotesActivityItem = {
1732
1735
  dateGroup: string;
1733
1736
  id: string;
1734
1737
  kind: "activity" | "note";
1738
+ status?: ContentTimelineStatus;
1735
1739
  tags?: NotesActivityTag[];
1736
1740
  time: string;
1737
1741
  };
@@ -1967,18 +1971,24 @@ declare function KanbanBoard({ cards, columns, onChange }: KanbanBoardProps): re
1967
1971
 
1968
1972
  type CalendarEvent = {
1969
1973
  date: string;
1974
+ endTime?: string;
1970
1975
  id: string;
1976
+ startTime?: string;
1971
1977
  title: string;
1972
1978
  tone?: "accent" | "success" | "warning" | "danger";
1973
1979
  };
1974
1980
  type CalendarProps = {
1975
1981
  events?: CalendarEvent[];
1982
+ maxDayEvents?: number;
1976
1983
  month?: number;
1984
+ onBookEvent?: (event: CalendarEvent) => void;
1977
1985
  onSelectDate?: (date: string) => void;
1986
+ openDayOnSelect?: boolean;
1978
1987
  selectedDate?: string;
1988
+ showMonthYearPicker?: boolean;
1979
1989
  year?: number;
1980
1990
  };
1981
- declare function Calendar({ events, month: controlledMonth, onSelectDate, selectedDate, year: controlledYear, }: CalendarProps): react.JSX.Element;
1991
+ declare function Calendar({ events, maxDayEvents, month: controlledMonth, onBookEvent, onSelectDate, openDayOnSelect, selectedDate, showMonthYearPicker, year: controlledYear, }: CalendarProps): react.JSX.Element;
1982
1992
 
1983
1993
  type ResourcePlannerItem = {
1984
1994
  end: number;
@@ -2015,12 +2025,18 @@ type ContentTimelineItem = {
2015
2025
  time?: string;
2016
2026
  title: string;
2017
2027
  };
2018
- type ContentTimelineProps = {
2028
+ type ContentTimelineGroup = {
2019
2029
  items: ContentTimelineItem[];
2030
+ label?: string;
2031
+ };
2032
+ type ContentTimelineProps = {
2033
+ groups?: ContentTimelineGroup[];
2034
+ items?: ContentTimelineItem[];
2020
2035
  onItemClick?: (item: ContentTimelineItem, index: number) => void;
2036
+ /** @deprecated Prefer per-item `avatarName` to choose avatar vs status markers. */
2021
2037
  variant?: "avatar" | "default";
2022
2038
  };
2023
- declare function ContentTimeline({ items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
2039
+ declare function ContentTimeline({ groups, items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
2024
2040
 
2025
2041
  type TreeViewNode = {
2026
2042
  children?: TreeViewNode[];
@@ -2070,6 +2086,15 @@ type SpinnerProps = {
2070
2086
  };
2071
2087
  declare function Spinner({ label, size, tone }: SpinnerProps): react.JSX.Element;
2072
2088
 
2089
+ type ClockSize = "sm" | "md" | "lg";
2090
+ type ClockProps = {
2091
+ showAnalog?: boolean;
2092
+ showDate?: boolean;
2093
+ showDigital?: boolean;
2094
+ size?: ClockSize;
2095
+ };
2096
+ declare function Clock({ showAnalog, showDate, showDigital, size, }: ClockProps): react.JSX.Element;
2097
+
2073
2098
  type PortalHostContextValue = {
2074
2099
  container: HTMLElement | null;
2075
2100
  };
@@ -2167,12 +2192,11 @@ type ElementSize = {
2167
2192
  height: number;
2168
2193
  width: number;
2169
2194
  };
2170
- type ResizeObserverProps = {
2195
+ type ResizeObserverProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
2171
2196
  children: (size: ElementSize) => ReactNode;
2172
- className?: string;
2173
2197
  onResize?: (size: ElementSize) => void;
2174
2198
  };
2175
- declare function ResizeObserver({ children, className, onResize }: ResizeObserverProps): react.JSX.Element;
2199
+ declare function ResizeObserver({ children, className, onResize, style, ...rest }: ResizeObserverProps): react.JSX.Element;
2176
2200
  declare function useResizeObserver(targetRef: RefObject<HTMLElement | null>): ElementSize;
2177
2201
 
2178
2202
  type IntersectionObserverProps = {
@@ -2424,4 +2448,4 @@ type SankeyLinkDef = {
2424
2448
  };
2425
2449
  declare const demoSankeyLinks: SankeyLinkDef[];
2426
2450
 
2427
- export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, ColorField, Columns, type ColumnsDirection, type ColumnsProps, CommandPalette, type CommandPaletteItem, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NotesActivity, type NotesActivityItem, type NotesActivityProps, NumberField, OpusThemeProvider, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VisuallyHidden, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useToast, useTopNavigation, worldMapRegionIds };
2451
+ export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, Clock, type ClockSize, ColorField, Columns, type ColumnsDirection, type ColumnsProps, CommandPalette, type CommandPaletteItem, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineGroup, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NotesActivity, type NotesActivityItem, type NotesActivityProps, NumberField, OpusThemeProvider, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VisuallyHidden, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useToast, useTopNavigation, worldMapRegionIds };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, CSSProperties, RefObject } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, ChangeEventHandler, CSSProperties, RefObject, HTMLAttributes } from 'react';
3
3
 
4
4
  type Theme = "light" | "dark";
5
5
  type FieldMode = "stacked" | "flagged";
@@ -995,6 +995,7 @@ declare function TrendBadge({ direction, value }: TrendBadgeProps): react.JSX.El
995
995
 
996
996
  type PanelProps = {
997
997
  actions?: ReactNode;
998
+ bordered?: boolean;
998
999
  children: ReactNode;
999
1000
  density?: SurfaceDensity;
1000
1001
  description?: string;
@@ -1003,7 +1004,7 @@ type PanelProps = {
1003
1004
  title: string;
1004
1005
  tone?: SurfaceTone;
1005
1006
  };
1006
- declare function Panel({ actions, children, density, description, divided, footer, title, tone, }: PanelProps): react.JSX.Element;
1007
+ declare function Panel({ actions, bordered, children, density, description, divided, footer, title, tone, }: PanelProps): react.JSX.Element;
1007
1008
 
1008
1009
  type SectionBreakpoint = "mobile" | "tablet" | "desktop";
1009
1010
  /** @deprecated Use sidebar + columns instead. Kept for Section.Row shorthand. */
@@ -1352,9 +1353,10 @@ type PropertyGridItem = {
1352
1353
  value: string;
1353
1354
  };
1354
1355
  type PropertyGridProps = {
1356
+ bordered?: boolean;
1355
1357
  items: PropertyGridItem[];
1356
1358
  };
1357
- declare function PropertyGrid({ items }: PropertyGridProps): react.JSX.Element;
1359
+ declare function PropertyGrid({ bordered, items }: PropertyGridProps): react.JSX.Element;
1358
1360
 
1359
1361
  type StackAlign = "start" | "center" | "end" | "stretch";
1360
1362
  type StackJustify = "start" | "center" | "end" | "between" | "around";
@@ -1397,13 +1399,14 @@ type SplitterProps = {
1397
1399
  children: [ReactNode, ReactNode];
1398
1400
  className?: string;
1399
1401
  defaultSize?: number;
1402
+ flush?: boolean;
1400
1403
  minSize?: number;
1401
1404
  onSizeChange?: (size: number) => void;
1402
1405
  orientation?: SplitterOrientation;
1403
1406
  size?: number;
1404
1407
  style?: CSSProperties;
1405
1408
  };
1406
- declare function Splitter({ children, className, defaultSize, minSize, onSizeChange, orientation, size: controlledSize, style, }: SplitterProps): react.JSX.Element;
1409
+ declare function Splitter({ children, className, defaultSize, flush, minSize, onSizeChange, orientation, size: controlledSize, style, }: SplitterProps): react.JSX.Element;
1407
1410
 
1408
1411
  type ResizablePanelProps = {
1409
1412
  children: ReactNode;
@@ -1732,6 +1735,7 @@ type NotesActivityItem = {
1732
1735
  dateGroup: string;
1733
1736
  id: string;
1734
1737
  kind: "activity" | "note";
1738
+ status?: ContentTimelineStatus;
1735
1739
  tags?: NotesActivityTag[];
1736
1740
  time: string;
1737
1741
  };
@@ -1967,18 +1971,24 @@ declare function KanbanBoard({ cards, columns, onChange }: KanbanBoardProps): re
1967
1971
 
1968
1972
  type CalendarEvent = {
1969
1973
  date: string;
1974
+ endTime?: string;
1970
1975
  id: string;
1976
+ startTime?: string;
1971
1977
  title: string;
1972
1978
  tone?: "accent" | "success" | "warning" | "danger";
1973
1979
  };
1974
1980
  type CalendarProps = {
1975
1981
  events?: CalendarEvent[];
1982
+ maxDayEvents?: number;
1976
1983
  month?: number;
1984
+ onBookEvent?: (event: CalendarEvent) => void;
1977
1985
  onSelectDate?: (date: string) => void;
1986
+ openDayOnSelect?: boolean;
1978
1987
  selectedDate?: string;
1988
+ showMonthYearPicker?: boolean;
1979
1989
  year?: number;
1980
1990
  };
1981
- declare function Calendar({ events, month: controlledMonth, onSelectDate, selectedDate, year: controlledYear, }: CalendarProps): react.JSX.Element;
1991
+ declare function Calendar({ events, maxDayEvents, month: controlledMonth, onBookEvent, onSelectDate, openDayOnSelect, selectedDate, showMonthYearPicker, year: controlledYear, }: CalendarProps): react.JSX.Element;
1982
1992
 
1983
1993
  type ResourcePlannerItem = {
1984
1994
  end: number;
@@ -2015,12 +2025,18 @@ type ContentTimelineItem = {
2015
2025
  time?: string;
2016
2026
  title: string;
2017
2027
  };
2018
- type ContentTimelineProps = {
2028
+ type ContentTimelineGroup = {
2019
2029
  items: ContentTimelineItem[];
2030
+ label?: string;
2031
+ };
2032
+ type ContentTimelineProps = {
2033
+ groups?: ContentTimelineGroup[];
2034
+ items?: ContentTimelineItem[];
2020
2035
  onItemClick?: (item: ContentTimelineItem, index: number) => void;
2036
+ /** @deprecated Prefer per-item `avatarName` to choose avatar vs status markers. */
2021
2037
  variant?: "avatar" | "default";
2022
2038
  };
2023
- declare function ContentTimeline({ items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
2039
+ declare function ContentTimeline({ groups, items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
2024
2040
 
2025
2041
  type TreeViewNode = {
2026
2042
  children?: TreeViewNode[];
@@ -2070,6 +2086,15 @@ type SpinnerProps = {
2070
2086
  };
2071
2087
  declare function Spinner({ label, size, tone }: SpinnerProps): react.JSX.Element;
2072
2088
 
2089
+ type ClockSize = "sm" | "md" | "lg";
2090
+ type ClockProps = {
2091
+ showAnalog?: boolean;
2092
+ showDate?: boolean;
2093
+ showDigital?: boolean;
2094
+ size?: ClockSize;
2095
+ };
2096
+ declare function Clock({ showAnalog, showDate, showDigital, size, }: ClockProps): react.JSX.Element;
2097
+
2073
2098
  type PortalHostContextValue = {
2074
2099
  container: HTMLElement | null;
2075
2100
  };
@@ -2167,12 +2192,11 @@ type ElementSize = {
2167
2192
  height: number;
2168
2193
  width: number;
2169
2194
  };
2170
- type ResizeObserverProps = {
2195
+ type ResizeObserverProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
2171
2196
  children: (size: ElementSize) => ReactNode;
2172
- className?: string;
2173
2197
  onResize?: (size: ElementSize) => void;
2174
2198
  };
2175
- declare function ResizeObserver({ children, className, onResize }: ResizeObserverProps): react.JSX.Element;
2199
+ declare function ResizeObserver({ children, className, onResize, style, ...rest }: ResizeObserverProps): react.JSX.Element;
2176
2200
  declare function useResizeObserver(targetRef: RefObject<HTMLElement | null>): ElementSize;
2177
2201
 
2178
2202
  type IntersectionObserverProps = {
@@ -2424,4 +2448,4 @@ type SankeyLinkDef = {
2424
2448
  };
2425
2449
  declare const demoSankeyLinks: SankeyLinkDef[];
2426
2450
 
2427
- export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, ColorField, Columns, type ColumnsDirection, type ColumnsProps, CommandPalette, type CommandPaletteItem, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NotesActivity, type NotesActivityItem, type NotesActivityProps, NumberField, OpusThemeProvider, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VisuallyHidden, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useToast, useTopNavigation, worldMapRegionIds };
2451
+ export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, AspectRatio, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupItem, type AvatarShape, type AvatarSize, Badge, type BadgeSize, type BadgeTone, type BadgeVariant, BottomNavigation, type BottomNavigationItem, type BottomNavigationProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonVariant, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceControlSize, type ChoiceOption, type ChoiceShape, Clipboard, ClipboardProvider, Clock, type ClockSize, ColorField, Columns, type ColumnsDirection, type ColumnsProps, CommandPalette, type CommandPaletteItem, Container, type ContainerProps, type ContainerSize, ContentTimeline, type ContentTimelineGroup, type ContentTimelineItem, type ContentTimelineStatus, type ContentTimelineTag, ContextMenuProvider, ContextMenuTarget, CopyButton, CountryPickerField, DEFAULT_TOAST_DURATION_MS, DashboardContentContainer, type DashboardContentContainerProps, type DashboardContentContainerWidth, DataGrid, type DataGridColumn, type DataGridLayout, type DataGridPivotConfig, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, DealsOverTime, type DealsOverTimePoint, type DealsOverTimeProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, Dialog, type DialogActionSet, type DialogResult, Divider, type DividerOrientation, type DividerTone, DockLayout, type DockLayoutProps, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, DualListBuilder, type DualListBuilderProps, type DualListItem, type ElementSize, EmojiPicker, type EmojiPickerPlacement, type EmojiPickerProps, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterBuilder, type FilterBuilderProps, type FilterCondition, type FilterOperator, FilterSelectField, type FilterSelectGroup, FloatingActionButton, type FloatingActionButtonPosition, type FloatingActionButtonProps, type FloatingActionButtonSize, FocusTrap, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, Grid, type GridProps, HiddenField, type HotkeyCombo, HotkeyManager, Icon, IconBadge, type IconBadgeProps, type IconBadgeUrgency, IconPicker, type IconSize, type IconTone, ImageCropUploadField, type ImageCropUploadFieldProps, type ImageCropUploadResult, ImageCropUploadWidget, type ImageCropUploadWidgetProps, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type InputControlSize, IntersectionObserver, JsonViewer, KanbanBoard, type KanbanBoardProps, type KanbanCard, type KanbanColumn, KeyboardShortcut, type KeyboardShortcutSize, type LabelPosition, Lightbox, List, type ListItem, MasonryGrid, type MasonryGridItem, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NavigationRail, type NavigationRailItem, type NavigationRailProps, NoteComposer, type NoteComposerProps, NotesActivity, type NotesActivityItem, type NotesActivityProps, NumberField, OpusThemeProvider, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Panel, type PasswordRequirement, PasswordStrengthField, type PermissionLevel, PermissionsMatrix, type PermissionsMatrixProps, type PhoneCountry, PhoneNumberField, PipelineOverview, type PipelineOverviewProps, type PipelineStage, Popover, type PopoverPlacement, Portal, PortalHost, ProfilePhotoUploadModal, ProgressBar, ProgressRing, PropertyGrid, type PropertyGridItem, PropertyInspector, type PropertyInspectorItem, type PropertyInspectorValue, QueryBuilder, type QueryBuilderProps, type QueryCombinator, type QueryGroup, type QueryOperator, type QueryRule, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, RecentActivity, type RecentActivityItem, type RecentActivityProps, ResizablePanel, type ResizablePanelProps, ResizeObserver, ResourcePlanner, type ResourcePlannerItem, type ResourcePlannerProps, type ResourcePlannerResource, RichTextField, RuleBuilder, type RuleBuilderProps, type RuleDefinition, type RuleEffect, Scheduler, type SchedulerEvent, type SchedulerProps, ScrollArea, type ScrollAreaProps, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Spacer, type SpacerProps, Sparkline, Speedometer, Spinner, type SpinnerSize, type SpinnerTone, SplitButton, type SplitButtonAction, type SplitButtonProps, Splitter, type SplitterOrientation, type SplitterProps, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, StatCard, type StatCardTrend, StatTile, type StatTileItem, type StatTileProps, type StatTileTone, type StatTileTrend, StatTiles, type StatTilesProps, Statistic, type StatisticTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, OpusThemeProvider as ThemeProvider, ThemeSwitcher, ThemeToggleField, Tile, type TileItem, type TileProps, type TileTone, Tiles, type TilesLayout, type TilesProps, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Toolbar, type ToolbarProps, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, type TopPerformingUserItem, TopPerformingUsers, type TopPerformingUsersProps, TransferListField, TreeSelectField, type TreeSelectNode, TreeView, type TreeViewNode, TrendBadge, type TrendBadgeDirection, type UpcomingTaskItem, UpcomingTasks, type UpcomingTasksProps, type UserProfileMenuItem, type UserProfilePhotoUploadOptions, UserProfileWidget, type UserProfileWidgetProps, VisuallyHidden, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useClipboard, useContextMenu, useFieldShellAria, useHotkey, useHotkeyManager, useIntersectionObserver, useOpusTheme, usePortalHost, useResizeObserver, useToast, useTopNavigation, worldMapRegionIds };