opus-react 0.2.25 → 0.2.27
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.cjs +23049 -754
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +716 -98
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +95 -2
- package/dist/index.d.ts +95 -2
- package/dist/index.js +23040 -740
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1641,6 +1641,55 @@ type RecentActivityProps = {
|
|
|
1641
1641
|
};
|
|
1642
1642
|
declare function RecentActivity({ className, footerHref, footerLabel, items, onFooterClick, onItemClick, title, }: RecentActivityProps): react.JSX.Element;
|
|
1643
1643
|
|
|
1644
|
+
type NoteComposerProps = {
|
|
1645
|
+
className?: string;
|
|
1646
|
+
defaultValue?: string;
|
|
1647
|
+
id?: string;
|
|
1648
|
+
onAttachClick?: () => void;
|
|
1649
|
+
onChange?: (value: string) => void;
|
|
1650
|
+
onEmojiSelect?: (emoji: string) => void;
|
|
1651
|
+
onMentionClick?: () => void;
|
|
1652
|
+
onSave?: (value: string) => void;
|
|
1653
|
+
placeholder?: string;
|
|
1654
|
+
saveButtonLabel?: string;
|
|
1655
|
+
showAttach?: boolean;
|
|
1656
|
+
showEmoji?: boolean;
|
|
1657
|
+
showMention?: boolean;
|
|
1658
|
+
value?: string;
|
|
1659
|
+
};
|
|
1660
|
+
declare function NoteComposer({ className, defaultValue, id, onAttachClick, onChange, onEmojiSelect, onMentionClick, onSave, placeholder, saveButtonLabel, showAttach, showEmoji, showMention, value, }: NoteComposerProps): react.JSX.Element;
|
|
1661
|
+
|
|
1662
|
+
type NotesActivityTagTone = "blue" | "green" | "orange" | "purple";
|
|
1663
|
+
type NotesActivityTag = {
|
|
1664
|
+
label: string;
|
|
1665
|
+
tone: NotesActivityTagTone;
|
|
1666
|
+
};
|
|
1667
|
+
type NotesActivityItem = {
|
|
1668
|
+
author: string;
|
|
1669
|
+
avatarSrc?: string;
|
|
1670
|
+
body: string;
|
|
1671
|
+
dateGroup: string;
|
|
1672
|
+
id: string;
|
|
1673
|
+
kind: "activity" | "note";
|
|
1674
|
+
tags?: NotesActivityTag[];
|
|
1675
|
+
time: string;
|
|
1676
|
+
};
|
|
1677
|
+
type NotesActivityTab = "activity" | "notes";
|
|
1678
|
+
type NotesActivityProps = {
|
|
1679
|
+
className?: string;
|
|
1680
|
+
composerPlaceholder?: string;
|
|
1681
|
+
defaultTab?: NotesActivityTab;
|
|
1682
|
+
footerHref?: string;
|
|
1683
|
+
footerLabel?: string;
|
|
1684
|
+
items: NotesActivityItem[];
|
|
1685
|
+
onFooterClick?: () => void;
|
|
1686
|
+
onItemClick?: (item: NotesActivityItem) => void;
|
|
1687
|
+
onNoteSave?: (note: string) => void;
|
|
1688
|
+
onTabChange?: (tab: NotesActivityTab) => void;
|
|
1689
|
+
saveButtonLabel?: string;
|
|
1690
|
+
};
|
|
1691
|
+
declare function NotesActivity({ className, composerPlaceholder, defaultTab, footerHref, footerLabel, items, onFooterClick, onItemClick, onNoteSave, onTabChange, saveButtonLabel, }: NotesActivityProps): react.JSX.Element;
|
|
1692
|
+
|
|
1644
1693
|
type TopPerformingUserItem = {
|
|
1645
1694
|
displayValue: string;
|
|
1646
1695
|
id: string;
|
|
@@ -1827,16 +1876,27 @@ type ResourcePlannerProps = {
|
|
|
1827
1876
|
};
|
|
1828
1877
|
declare function ResourcePlanner({ endHour, items, resources, startHour, }: ResourcePlannerProps): react.JSX.Element;
|
|
1829
1878
|
|
|
1879
|
+
type ContentTimelineTagTone = "blue" | "green" | "orange" | "purple";
|
|
1880
|
+
type ContentTimelineTag = {
|
|
1881
|
+
label: string;
|
|
1882
|
+
tone?: ContentTimelineTagTone;
|
|
1883
|
+
};
|
|
1830
1884
|
type ContentTimelineItem = {
|
|
1885
|
+
avatarName?: string;
|
|
1886
|
+
avatarSrc?: string;
|
|
1831
1887
|
description?: string;
|
|
1888
|
+
id?: string;
|
|
1832
1889
|
status?: ContentTimelineStatus;
|
|
1890
|
+
tags?: ContentTimelineTag[];
|
|
1833
1891
|
time?: string;
|
|
1834
1892
|
title: string;
|
|
1835
1893
|
};
|
|
1836
1894
|
type ContentTimelineProps = {
|
|
1837
1895
|
items: ContentTimelineItem[];
|
|
1896
|
+
onItemClick?: (item: ContentTimelineItem, index: number) => void;
|
|
1897
|
+
variant?: "avatar" | "default";
|
|
1838
1898
|
};
|
|
1839
|
-
declare function ContentTimeline({ items }: ContentTimelineProps): react.JSX.Element;
|
|
1899
|
+
declare function ContentTimeline({ items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
|
|
1840
1900
|
|
|
1841
1901
|
type TreeViewNode = {
|
|
1842
1902
|
children?: TreeViewNode[];
|
|
@@ -2196,6 +2256,39 @@ type IconPickerProps = {
|
|
|
2196
2256
|
};
|
|
2197
2257
|
declare function IconPicker({ help, id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
|
|
2198
2258
|
|
|
2259
|
+
type IconBadgeUrgency = "standard" | "danger" | "warning" | "success" | "info";
|
|
2260
|
+
type IconBadgeProps = {
|
|
2261
|
+
className?: string;
|
|
2262
|
+
count?: number;
|
|
2263
|
+
iconName: string;
|
|
2264
|
+
label: string;
|
|
2265
|
+
max?: number;
|
|
2266
|
+
onClick?: () => void;
|
|
2267
|
+
showZero?: boolean;
|
|
2268
|
+
size?: IconSize;
|
|
2269
|
+
tone?: IconTone;
|
|
2270
|
+
urgency?: IconBadgeUrgency;
|
|
2271
|
+
};
|
|
2272
|
+
declare function IconBadge({ className, count, iconName, label, max, onClick, showZero, size, tone, urgency, }: IconBadgeProps): react.JSX.Element;
|
|
2273
|
+
|
|
2274
|
+
type EmojiPickerPlacement = "bottom" | "top";
|
|
2275
|
+
|
|
2276
|
+
type EmojiPickerProps = {
|
|
2277
|
+
className?: string;
|
|
2278
|
+
closeOnEscape?: boolean;
|
|
2279
|
+
closeOnOutside?: boolean;
|
|
2280
|
+
defaultOpen?: boolean;
|
|
2281
|
+
label?: string;
|
|
2282
|
+
onOpenChange?: (open: boolean) => void;
|
|
2283
|
+
onSelect: (emoji: string) => void;
|
|
2284
|
+
open?: boolean;
|
|
2285
|
+
placement?: EmojiPickerPlacement;
|
|
2286
|
+
searchPlaceholder?: string;
|
|
2287
|
+
trigger: ReactNode;
|
|
2288
|
+
triggerClassName?: string;
|
|
2289
|
+
};
|
|
2290
|
+
declare function EmojiPicker({ className, closeOnEscape, closeOnOutside, defaultOpen, label, onOpenChange, onSelect, open, placement, searchPlaceholder, trigger, triggerClassName, }: EmojiPickerProps): react.JSX.Element;
|
|
2291
|
+
|
|
2199
2292
|
declare const cartesianSpecializedVariants: ChartVariant[];
|
|
2200
2293
|
|
|
2201
2294
|
declare const worldMapRegionIds: string[];
|
|
@@ -2207,4 +2300,4 @@ type SankeyLinkDef = {
|
|
|
2207
2300
|
};
|
|
2208
2301
|
declare const demoSankeyLinks: SankeyLinkDef[];
|
|
2209
2302
|
|
|
2210
|
-
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, 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, 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, IconPicker, type IconSize, type IconTone, ImageGallery, ImageThumbnail, type ImageThumbnailSize, 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, 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, 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, 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 };
|
|
2303
|
+
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, ImageGallery, ImageThumbnail, type ImageThumbnailSize, 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, 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, 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
|
@@ -1641,6 +1641,55 @@ type RecentActivityProps = {
|
|
|
1641
1641
|
};
|
|
1642
1642
|
declare function RecentActivity({ className, footerHref, footerLabel, items, onFooterClick, onItemClick, title, }: RecentActivityProps): react.JSX.Element;
|
|
1643
1643
|
|
|
1644
|
+
type NoteComposerProps = {
|
|
1645
|
+
className?: string;
|
|
1646
|
+
defaultValue?: string;
|
|
1647
|
+
id?: string;
|
|
1648
|
+
onAttachClick?: () => void;
|
|
1649
|
+
onChange?: (value: string) => void;
|
|
1650
|
+
onEmojiSelect?: (emoji: string) => void;
|
|
1651
|
+
onMentionClick?: () => void;
|
|
1652
|
+
onSave?: (value: string) => void;
|
|
1653
|
+
placeholder?: string;
|
|
1654
|
+
saveButtonLabel?: string;
|
|
1655
|
+
showAttach?: boolean;
|
|
1656
|
+
showEmoji?: boolean;
|
|
1657
|
+
showMention?: boolean;
|
|
1658
|
+
value?: string;
|
|
1659
|
+
};
|
|
1660
|
+
declare function NoteComposer({ className, defaultValue, id, onAttachClick, onChange, onEmojiSelect, onMentionClick, onSave, placeholder, saveButtonLabel, showAttach, showEmoji, showMention, value, }: NoteComposerProps): react.JSX.Element;
|
|
1661
|
+
|
|
1662
|
+
type NotesActivityTagTone = "blue" | "green" | "orange" | "purple";
|
|
1663
|
+
type NotesActivityTag = {
|
|
1664
|
+
label: string;
|
|
1665
|
+
tone: NotesActivityTagTone;
|
|
1666
|
+
};
|
|
1667
|
+
type NotesActivityItem = {
|
|
1668
|
+
author: string;
|
|
1669
|
+
avatarSrc?: string;
|
|
1670
|
+
body: string;
|
|
1671
|
+
dateGroup: string;
|
|
1672
|
+
id: string;
|
|
1673
|
+
kind: "activity" | "note";
|
|
1674
|
+
tags?: NotesActivityTag[];
|
|
1675
|
+
time: string;
|
|
1676
|
+
};
|
|
1677
|
+
type NotesActivityTab = "activity" | "notes";
|
|
1678
|
+
type NotesActivityProps = {
|
|
1679
|
+
className?: string;
|
|
1680
|
+
composerPlaceholder?: string;
|
|
1681
|
+
defaultTab?: NotesActivityTab;
|
|
1682
|
+
footerHref?: string;
|
|
1683
|
+
footerLabel?: string;
|
|
1684
|
+
items: NotesActivityItem[];
|
|
1685
|
+
onFooterClick?: () => void;
|
|
1686
|
+
onItemClick?: (item: NotesActivityItem) => void;
|
|
1687
|
+
onNoteSave?: (note: string) => void;
|
|
1688
|
+
onTabChange?: (tab: NotesActivityTab) => void;
|
|
1689
|
+
saveButtonLabel?: string;
|
|
1690
|
+
};
|
|
1691
|
+
declare function NotesActivity({ className, composerPlaceholder, defaultTab, footerHref, footerLabel, items, onFooterClick, onItemClick, onNoteSave, onTabChange, saveButtonLabel, }: NotesActivityProps): react.JSX.Element;
|
|
1692
|
+
|
|
1644
1693
|
type TopPerformingUserItem = {
|
|
1645
1694
|
displayValue: string;
|
|
1646
1695
|
id: string;
|
|
@@ -1827,16 +1876,27 @@ type ResourcePlannerProps = {
|
|
|
1827
1876
|
};
|
|
1828
1877
|
declare function ResourcePlanner({ endHour, items, resources, startHour, }: ResourcePlannerProps): react.JSX.Element;
|
|
1829
1878
|
|
|
1879
|
+
type ContentTimelineTagTone = "blue" | "green" | "orange" | "purple";
|
|
1880
|
+
type ContentTimelineTag = {
|
|
1881
|
+
label: string;
|
|
1882
|
+
tone?: ContentTimelineTagTone;
|
|
1883
|
+
};
|
|
1830
1884
|
type ContentTimelineItem = {
|
|
1885
|
+
avatarName?: string;
|
|
1886
|
+
avatarSrc?: string;
|
|
1831
1887
|
description?: string;
|
|
1888
|
+
id?: string;
|
|
1832
1889
|
status?: ContentTimelineStatus;
|
|
1890
|
+
tags?: ContentTimelineTag[];
|
|
1833
1891
|
time?: string;
|
|
1834
1892
|
title: string;
|
|
1835
1893
|
};
|
|
1836
1894
|
type ContentTimelineProps = {
|
|
1837
1895
|
items: ContentTimelineItem[];
|
|
1896
|
+
onItemClick?: (item: ContentTimelineItem, index: number) => void;
|
|
1897
|
+
variant?: "avatar" | "default";
|
|
1838
1898
|
};
|
|
1839
|
-
declare function ContentTimeline({ items }: ContentTimelineProps): react.JSX.Element;
|
|
1899
|
+
declare function ContentTimeline({ items, onItemClick, variant }: ContentTimelineProps): react.JSX.Element;
|
|
1840
1900
|
|
|
1841
1901
|
type TreeViewNode = {
|
|
1842
1902
|
children?: TreeViewNode[];
|
|
@@ -2196,6 +2256,39 @@ type IconPickerProps = {
|
|
|
2196
2256
|
};
|
|
2197
2257
|
declare function IconPicker({ help, id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
|
|
2198
2258
|
|
|
2259
|
+
type IconBadgeUrgency = "standard" | "danger" | "warning" | "success" | "info";
|
|
2260
|
+
type IconBadgeProps = {
|
|
2261
|
+
className?: string;
|
|
2262
|
+
count?: number;
|
|
2263
|
+
iconName: string;
|
|
2264
|
+
label: string;
|
|
2265
|
+
max?: number;
|
|
2266
|
+
onClick?: () => void;
|
|
2267
|
+
showZero?: boolean;
|
|
2268
|
+
size?: IconSize;
|
|
2269
|
+
tone?: IconTone;
|
|
2270
|
+
urgency?: IconBadgeUrgency;
|
|
2271
|
+
};
|
|
2272
|
+
declare function IconBadge({ className, count, iconName, label, max, onClick, showZero, size, tone, urgency, }: IconBadgeProps): react.JSX.Element;
|
|
2273
|
+
|
|
2274
|
+
type EmojiPickerPlacement = "bottom" | "top";
|
|
2275
|
+
|
|
2276
|
+
type EmojiPickerProps = {
|
|
2277
|
+
className?: string;
|
|
2278
|
+
closeOnEscape?: boolean;
|
|
2279
|
+
closeOnOutside?: boolean;
|
|
2280
|
+
defaultOpen?: boolean;
|
|
2281
|
+
label?: string;
|
|
2282
|
+
onOpenChange?: (open: boolean) => void;
|
|
2283
|
+
onSelect: (emoji: string) => void;
|
|
2284
|
+
open?: boolean;
|
|
2285
|
+
placement?: EmojiPickerPlacement;
|
|
2286
|
+
searchPlaceholder?: string;
|
|
2287
|
+
trigger: ReactNode;
|
|
2288
|
+
triggerClassName?: string;
|
|
2289
|
+
};
|
|
2290
|
+
declare function EmojiPicker({ className, closeOnEscape, closeOnOutside, defaultOpen, label, onOpenChange, onSelect, open, placement, searchPlaceholder, trigger, triggerClassName, }: EmojiPickerProps): react.JSX.Element;
|
|
2291
|
+
|
|
2199
2292
|
declare const cartesianSpecializedVariants: ChartVariant[];
|
|
2200
2293
|
|
|
2201
2294
|
declare const worldMapRegionIds: string[];
|
|
@@ -2207,4 +2300,4 @@ type SankeyLinkDef = {
|
|
|
2207
2300
|
};
|
|
2208
2301
|
declare const demoSankeyLinks: SankeyLinkDef[];
|
|
2209
2302
|
|
|
2210
|
-
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, 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, 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, IconPicker, type IconSize, type IconTone, ImageGallery, ImageThumbnail, type ImageThumbnailSize, 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, 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, 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, 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 };
|
|
2303
|
+
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, ImageGallery, ImageThumbnail, type ImageThumbnailSize, 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, 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, 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 };
|