@cere/cere-design-system 0.0.20 → 0.0.22

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.mts CHANGED
@@ -3,11 +3,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { LottieComponentProps } from 'lottie-react';
4
4
  import * as React from 'react';
5
5
  import React__default, { ReactNode, Ref, PropsWithChildren, ReactElement, AriaAttributes } from 'react';
6
- import { AlertColor, SnackbarOrigin, ButtonGroupProps as ButtonGroupProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PopoverProps, StepProps as StepProps$1, StepButtonProps as StepButtonProps$1, StepContentProps as StepContentProps$1, StepLabelProps as StepLabelProps$1, StepperProps as StepperProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1, SvgIconProps } from '@mui/material';
7
- export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
8
6
  import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
9
7
  import { IconButtonProps as IconButtonProps$1 } from '@mui/material/IconButton';
10
8
  import { LoadingButtonProps as LoadingButtonProps$1 } from '@mui/lab';
9
+ import { ButtonGroupProps as ButtonGroupProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PopoverProps, StepProps as StepProps$1, StepButtonProps as StepButtonProps$1, StepContentProps as StepContentProps$1, StepLabelProps as StepLabelProps$1, StepperProps as StepperProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1, SvgIconProps } from '@mui/material';
10
+ export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
11
11
  import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
12
12
  import { SwitchProps as SwitchProps$1 } from '@mui/material/Switch';
13
13
  import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
@@ -171,20 +171,6 @@ declare const CheckMarkAnimation: () => react_jsx_runtime.JSX.Element;
171
171
  type LoadingAnimationProps = Omit<LottieComponentProps, 'animationData'>;
172
172
  declare const LoadingAnimation: (props: LoadingAnimationProps) => react_jsx_runtime.JSX.Element;
173
173
 
174
- interface MessageOptions {
175
- message: string;
176
- appearance?: AlertColor;
177
- autoDismiss?: boolean;
178
- placement?: SnackbarOrigin;
179
- }
180
- interface MessagesContextProps {
181
- showMessage: (options: MessageOptions) => void;
182
- }
183
- declare const useMessages: () => MessagesContextProps;
184
- declare const MessagesProvider: ({ children }: {
185
- children: ReactNode;
186
- }) => react_jsx_runtime.JSX.Element;
187
-
188
174
  declare const useIsDesktop: () => boolean;
189
175
  declare const useIsTablet: () => boolean;
190
176
  declare const useIsMobile: () => boolean;
@@ -1056,8 +1042,7 @@ interface IDBlockProps {
1056
1042
  * IDBlock - Read-only identifier display with integrated copy-to-clipboard button
1057
1043
  *
1058
1044
  * A component that displays an identifier (ID, account number, etc.) with a copy button.
1059
- * Provides user feedback via Snackbar messages when copy succeeds or fails.
1060
- * Requires MessagesProvider to be present in the component tree.
1045
+ * Provides user feedback via an inline Snackbar when copy succeeds or fails.
1061
1046
  *
1062
1047
  * @example
1063
1048
  * ```tsx
@@ -1077,7 +1062,6 @@ interface IDBlockProps {
1077
1062
  * ```
1078
1063
  *
1079
1064
  * @see Figma node 17-3596 for design specifications
1080
- * @requires MessagesProvider - Must be wrapped in MessagesProvider context
1081
1065
  */
1082
1066
  declare const IDBlock: React__default.FC<IDBlockProps>;
1083
1067
 
@@ -1241,7 +1225,6 @@ interface EntityHeaderProps {
1241
1225
  * ```
1242
1226
  *
1243
1227
  * @see Figma node 15-1258 for design specifications
1244
- * @requires MessagesProvider - Must be wrapped in MessagesProvider context for ID copy feedback
1245
1228
  */
1246
1229
  declare const EntityHeader: React__default.FC<EntityHeaderProps>;
1247
1230
 
@@ -1828,6 +1811,170 @@ type PeriodSelectProps = {
1828
1811
  };
1829
1812
  declare const PeriodSelect: ({ value, onChange }: PeriodSelectProps) => react_jsx_runtime.JSX.Element;
1830
1813
 
1814
+ /**
1815
+ * Represents a single time range option in the dropdown.
1816
+ */
1817
+ interface TimeRangeOption {
1818
+ /** Display label shown in the dropdown (e.g., "1 week") */
1819
+ label: string;
1820
+ /** Value identifier passed to the callback on selection */
1821
+ value: string;
1822
+ }
1823
+ interface TimeRangeSelectProps {
1824
+ /** Available time range options */
1825
+ options: TimeRangeOption[];
1826
+ /** Currently selected time range value */
1827
+ value?: string;
1828
+ /** Callback invoked when user selects a different time range */
1829
+ onChange?: (value: string) => void;
1830
+ }
1831
+ /**
1832
+ * Configurable time range dropdown selector.
1833
+ * Renders a compact select field with the provided time range options.
1834
+ *
1835
+ * @example
1836
+ * ```tsx
1837
+ * <TimeRangeSelect
1838
+ * options={[
1839
+ * { label: 'Last hour', value: 'hour' },
1840
+ * { label: '24 hours', value: 'day' },
1841
+ * { label: '1 week', value: 'week' },
1842
+ * ]}
1843
+ * value="week"
1844
+ * onChange={(value) => console.log(value)}
1845
+ * />
1846
+ * ```
1847
+ */
1848
+ declare const TimeRangeSelect: ({ options, value, onChange }: TimeRangeSelectProps) => react_jsx_runtime.JSX.Element;
1849
+
1850
+ /**
1851
+ * Represents a single summary statistic item displayed below the graph.
1852
+ */
1853
+ interface SummaryItem {
1854
+ /** Descriptive label (e.g., "Total Engagements") */
1855
+ label: string;
1856
+ /** Numeric or string value (e.g., "13.72" or 11372) */
1857
+ value: string | number;
1858
+ /** Optional unit suffix (e.g., "K", "GB", "%") */
1859
+ unit?: string;
1860
+ }
1861
+ interface SummaryStatsProps {
1862
+ /** Array of summary items to display */
1863
+ items: SummaryItem[];
1864
+ }
1865
+ /**
1866
+ * Renders a horizontal row of summary statistics below the graph.
1867
+ * Each item shows a label with its corresponding value and optional unit.
1868
+ *
1869
+ * Matches the Figma design layout with label in secondary text color
1870
+ * and value in bold heading typography.
1871
+ *
1872
+ * @example
1873
+ * ```tsx
1874
+ * <SummaryStats
1875
+ * items={[
1876
+ * { label: 'Total Engagements', value: 11372 },
1877
+ * { label: 'Total Consumed', value: '156.91', unit: 'GB' },
1878
+ * ]}
1879
+ * />
1880
+ * ```
1881
+ */
1882
+ declare const SummaryStats: ({ items }: SummaryStatsProps) => react_jsx_runtime.JSX.Element | null;
1883
+
1884
+ /**
1885
+ * A single data point in a time series.
1886
+ * Use `null` for the value to represent missing/gap data — the line will break.
1887
+ */
1888
+ interface DataPoint {
1889
+ /** Timestamp of the observation */
1890
+ timestamp: Date;
1891
+ /** Numeric value, or `null` to indicate a gap in the data */
1892
+ value: number | null;
1893
+ }
1894
+ /**
1895
+ * Represents one line on the graph (a named data series).
1896
+ */
1897
+ interface DataSeries {
1898
+ /** Unique display name for this series (shown in legend) */
1899
+ name: string;
1900
+ /** CSS color string for the line and legend indicator */
1901
+ color: string;
1902
+ /** Ordered array of data points */
1903
+ data: DataPoint[];
1904
+ }
1905
+ interface TimeSeriesGraphProps {
1906
+ /** Optional title displayed at the top-left of the graph card */
1907
+ title?: string;
1908
+ /**
1909
+ * Array of data series to render. Each series becomes one line on the graph.
1910
+ * There is no hardcoded limit on the number of series.
1911
+ */
1912
+ series: DataSeries[];
1913
+ /**
1914
+ * Configurable time range options for the dropdown selector.
1915
+ * When omitted, the time range dropdown is not rendered.
1916
+ */
1917
+ timeRangeOptions?: TimeRangeOption[];
1918
+ /** Currently selected time range value (controlled) */
1919
+ selectedTimeRange?: string;
1920
+ /** Callback invoked when the user picks a different time range */
1921
+ onTimeRangeChange?: (value: string) => void;
1922
+ /**
1923
+ * Optional array of summary statistics displayed below the graph.
1924
+ * When omitted or empty, the summary section is hidden.
1925
+ */
1926
+ summaryItems?: SummaryItem[];
1927
+ /**
1928
+ * Whether to show the summary statistics section.
1929
+ * Defaults to `true`. Set to `false` to explicitly hide, even when `summaryItems` are provided.
1930
+ */
1931
+ showSummary?: boolean;
1932
+ /**
1933
+ * Optional header action element rendered to the right of the title
1934
+ * (e.g., a secondary dropdown or filter control).
1935
+ */
1936
+ headerAction?: ReactNode;
1937
+ /**
1938
+ * When `true`, shows a loading overlay (spinner) over the graph area
1939
+ * while the header remains visible and interactive.
1940
+ */
1941
+ loading?: boolean;
1942
+ }
1943
+ /**
1944
+ * A reusable time series graph component that displays one or more data lines
1945
+ * over a shared time axis. Supports configurable time range selection,
1946
+ * optional summary statistics, interactive legend toggling, crosshair tooltips,
1947
+ * and a loading state.
1948
+ *
1949
+ * Built on `@mui/x-charts` LineChart and the Cere Design System theme.
1950
+ *
1951
+ * @example
1952
+ * ```tsx
1953
+ * <TimeSeriesGraph
1954
+ * title="Engagement over time"
1955
+ * series={[
1956
+ * { name: 'Engagements', color: '#6750A4', data: engagementData },
1957
+ * { name: 'Unique Streams', color: '#4caf50', data: streamData },
1958
+ * ]}
1959
+ * timeRangeOptions={[
1960
+ * { label: 'Last hour', value: 'hour' },
1961
+ * { label: '24 hours', value: 'day' },
1962
+ * { label: '1 week', value: 'week' },
1963
+ * { label: '1 month', value: 'month' },
1964
+ * ]}
1965
+ * selectedTimeRange="week"
1966
+ * onTimeRangeChange={(range) => fetchData(range)}
1967
+ * summaryItems={[
1968
+ * { label: 'Total Engagements', value: 11372 },
1969
+ * { label: 'Daily Engagements', value: 156 },
1970
+ * ]}
1971
+ * />
1972
+ * ```
1973
+ *
1974
+ * Figma reference: [ROB Design - Node 162:1172](https://www.figma.com/design/xky11VbkkFcgZLwZE8BdCN/ROB?node-id=162-1172&m=dev)
1975
+ */
1976
+ declare const TimeSeriesGraph: ({ title, series, timeRangeOptions, selectedTimeRange, onTimeRangeChange, summaryItems, showSummary, headerAction, loading, }: TimeSeriesGraphProps) => react_jsx_runtime.JSX.Element;
1977
+
1831
1978
  interface FlowEditorProps extends Omit<ReactFlowProps, 'nodes' | 'edges'> {
1832
1979
  /**
1833
1980
  * Nodes to display in the flow
@@ -2004,4 +2151,4 @@ interface CodeEditorProps {
2004
2151
  */
2005
2152
  declare const CodeEditor: React__default.FC<CodeEditorProps>;
2006
2153
 
2007
- export { Accordion, type AccordionProps, AccountSection, type AccountSectionProps, ActivityAppIcon, Alert, type AlertProps, type AlertSeverity, AppBar, type AppBarProps, AppLoading, type AppLoadingProps, Avatar, AvatarIcon, type AvatarProps, Badge, type BadgeProps, BarTrackingIcon, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, BytesSize, type BytesSizeProps, Card, CardActions, CardContent, CardHeader, type CardProps, CereIcon, ChartWidget, type ChartWidgetProps, CheckMarkAnimation, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, type CircularProgressProps, ClockIcon, CloudFlashIcon, CodeEditor, type CodeEditorLanguage, type CodeEditorProps, Collapse, type CollapseProps, ConnectionStatus, type ConnectionStatusProps, type ContextMenuItem, DecentralizedServerIcon, type DeploymentCardAction, DeploymentDashboardCard, type DeploymentDashboardCardProps, DeploymentDashboardPanel, type DeploymentDashboardPanelProps, DeploymentDashboardTree, type DeploymentDashboardTreeProps, DeploymentEntityContextMenu, type DeploymentEntityContextMenuProps, type DeploymentEntityType, type DeploymentStatusIndicator, type DeploymentTreeNode, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, EntityHeader, type EntityHeaderProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, IDBlock, type IDBlockProps, IconButton, type IconButtonProps, LeftArrowIcon, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Loading, LoadingAnimation, type LoadingAnimationProps, LoadingButton, type LoadingButtonProps, type LoadingProps, Logo, type LogoProps, Markdown, type MarkdownProps, Menu, MenuItem, type MenuItemProps, type MenuProps, type MessageOptions, MessagesProvider, MetricsChart, type MetricsChartProps, type MetricsPeriod, NavigationItem, type NavigationItemProps, NavigationList, type NavigationListProps, OnboardingProvider, Pagination, type PaginationProps, Paper, type PaperProps, PeriodSelect, type PrimaryAction, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, RoleBadge, type RoleBadgeColor, type RoleBadgeProps, type RoleBadgeSize, SearchField, type SearchFieldProps, Selector, type SelectorOption, type SelectorProps, type Service, ServiceSelectorButton, type ServiceSelectorButtonProps, ShareIcon, SideNav, SideNavHeader, type SideNavHeaderProps, type SideNavProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Snackbar, type SnackbarProps, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, StorageAppIcon, Switch, type SwitchProps, Tab, type TabProps, Table, TableHeader, type TableHeaderProps, type TableProps, TextField, type TextFieldProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, UploadFileIcon, UploadFolderIcon, type UserInfo, type Workspace, WorkspaceSelectorButton, type WorkspaceSelectorButtonProps, colors, contextMenuItems, robPaletteExtended, robPrimaryPalette, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
2154
+ export { Accordion, type AccordionProps, AccountSection, type AccountSectionProps, ActivityAppIcon, Alert, type AlertProps, type AlertSeverity, AppBar, type AppBarProps, AppLoading, type AppLoadingProps, Avatar, AvatarIcon, type AvatarProps, Badge, type BadgeProps, BarTrackingIcon, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, BytesSize, type BytesSizeProps, Card, CardActions, CardContent, CardHeader, type CardProps, CereIcon, ChartWidget, type ChartWidgetProps, CheckMarkAnimation, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, type CircularProgressProps, ClockIcon, CloudFlashIcon, CodeEditor, type CodeEditorLanguage, type CodeEditorProps, Collapse, type CollapseProps, ConnectionStatus, type ConnectionStatusProps, type ContextMenuItem, type DataPoint, type DataSeries, DecentralizedServerIcon, type DeploymentCardAction, DeploymentDashboardCard, type DeploymentDashboardCardProps, DeploymentDashboardPanel, type DeploymentDashboardPanelProps, DeploymentDashboardTree, type DeploymentDashboardTreeProps, DeploymentEntityContextMenu, type DeploymentEntityContextMenuProps, type DeploymentEntityType, type DeploymentStatusIndicator, type DeploymentTreeNode, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, EntityHeader, type EntityHeaderProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, IDBlock, type IDBlockProps, IconButton, type IconButtonProps, LeftArrowIcon, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Loading, LoadingAnimation, type LoadingAnimationProps, LoadingButton, type LoadingButtonProps, type LoadingProps, Logo, type LogoProps, Markdown, type MarkdownProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MetricsChart, type MetricsChartProps, type MetricsPeriod, NavigationItem, type NavigationItemProps, NavigationList, type NavigationListProps, OnboardingProvider, Pagination, type PaginationProps, Paper, type PaperProps, PeriodSelect, type PrimaryAction, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, RoleBadge, type RoleBadgeColor, type RoleBadgeProps, type RoleBadgeSize, SearchField, type SearchFieldProps, Selector, type SelectorOption, type SelectorProps, type Service, ServiceSelectorButton, type ServiceSelectorButtonProps, ShareIcon, SideNav, SideNavHeader, type SideNavHeaderProps, type SideNavProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Snackbar, type SnackbarProps, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, StorageAppIcon, type SummaryItem, SummaryStats, type SummaryStatsProps, Switch, type SwitchProps, Tab, type TabProps, Table, TableHeader, type TableHeaderProps, type TableProps, TextField, type TextFieldProps, type TimeRangeOption, TimeRangeSelect, type TimeRangeSelectProps, TimeSeriesGraph, type TimeSeriesGraphProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, UploadFileIcon, UploadFolderIcon, type UserInfo, type Workspace, WorkspaceSelectorButton, type WorkspaceSelectorButtonProps, colors, contextMenuItems, robPaletteExtended, robPrimaryPalette, theme, useIsDesktop, useIsMobile, useIsTablet, useOnboarding };
package/dist/index.d.ts CHANGED
@@ -3,11 +3,11 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { LottieComponentProps } from 'lottie-react';
4
4
  import * as React from 'react';
5
5
  import React__default, { ReactNode, Ref, PropsWithChildren, ReactElement, AriaAttributes } from 'react';
6
- import { AlertColor, SnackbarOrigin, ButtonGroupProps as ButtonGroupProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PopoverProps, StepProps as StepProps$1, StepButtonProps as StepButtonProps$1, StepContentProps as StepContentProps$1, StepLabelProps as StepLabelProps$1, StepperProps as StepperProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1, SvgIconProps } from '@mui/material';
7
- export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
8
6
  import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
9
7
  import { IconButtonProps as IconButtonProps$1 } from '@mui/material/IconButton';
10
8
  import { LoadingButtonProps as LoadingButtonProps$1 } from '@mui/lab';
9
+ import { ButtonGroupProps as ButtonGroupProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, PopoverProps, StepProps as StepProps$1, StepButtonProps as StepButtonProps$1, StepContentProps as StepContentProps$1, StepLabelProps as StepLabelProps$1, StepperProps as StepperProps$1, MenuProps as MenuProps$1, DialogProps as DialogProps$1, BoxProps, ListProps as ListProps$1, ListItemProps as ListItemProps$1, TableProps as TableProps$1, AccordionProps as AccordionProps$1, AppBarProps as AppBarProps$1, CollapseProps as CollapseProps$1, CircularProgressProps as CircularProgressProps$1, SvgIconProps } from '@mui/material';
10
+ export { Box, BoxProps, Container, ContainerProps, FormControl, FormControlLabel, FormControlLabelProps, FormControlProps, FormHelperText, FormHelperTextProps, FormLabel, FormLabelProps, Grid2 as Grid, Grid2Props as GridProps, InputAdornment, InputAdornmentProps, InputLabel, InputLabelProps, ListItemIcon, ListItemSecondaryAction, ListItemText, Stack, StackProps, Toolbar, ToolbarProps, Typography, TypographyProps } from '@mui/material';
11
11
  import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
12
12
  import { SwitchProps as SwitchProps$1 } from '@mui/material/Switch';
13
13
  import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
@@ -171,20 +171,6 @@ declare const CheckMarkAnimation: () => react_jsx_runtime.JSX.Element;
171
171
  type LoadingAnimationProps = Omit<LottieComponentProps, 'animationData'>;
172
172
  declare const LoadingAnimation: (props: LoadingAnimationProps) => react_jsx_runtime.JSX.Element;
173
173
 
174
- interface MessageOptions {
175
- message: string;
176
- appearance?: AlertColor;
177
- autoDismiss?: boolean;
178
- placement?: SnackbarOrigin;
179
- }
180
- interface MessagesContextProps {
181
- showMessage: (options: MessageOptions) => void;
182
- }
183
- declare const useMessages: () => MessagesContextProps;
184
- declare const MessagesProvider: ({ children }: {
185
- children: ReactNode;
186
- }) => react_jsx_runtime.JSX.Element;
187
-
188
174
  declare const useIsDesktop: () => boolean;
189
175
  declare const useIsTablet: () => boolean;
190
176
  declare const useIsMobile: () => boolean;
@@ -1056,8 +1042,7 @@ interface IDBlockProps {
1056
1042
  * IDBlock - Read-only identifier display with integrated copy-to-clipboard button
1057
1043
  *
1058
1044
  * A component that displays an identifier (ID, account number, etc.) with a copy button.
1059
- * Provides user feedback via Snackbar messages when copy succeeds or fails.
1060
- * Requires MessagesProvider to be present in the component tree.
1045
+ * Provides user feedback via an inline Snackbar when copy succeeds or fails.
1061
1046
  *
1062
1047
  * @example
1063
1048
  * ```tsx
@@ -1077,7 +1062,6 @@ interface IDBlockProps {
1077
1062
  * ```
1078
1063
  *
1079
1064
  * @see Figma node 17-3596 for design specifications
1080
- * @requires MessagesProvider - Must be wrapped in MessagesProvider context
1081
1065
  */
1082
1066
  declare const IDBlock: React__default.FC<IDBlockProps>;
1083
1067
 
@@ -1241,7 +1225,6 @@ interface EntityHeaderProps {
1241
1225
  * ```
1242
1226
  *
1243
1227
  * @see Figma node 15-1258 for design specifications
1244
- * @requires MessagesProvider - Must be wrapped in MessagesProvider context for ID copy feedback
1245
1228
  */
1246
1229
  declare const EntityHeader: React__default.FC<EntityHeaderProps>;
1247
1230
 
@@ -1828,6 +1811,170 @@ type PeriodSelectProps = {
1828
1811
  };
1829
1812
  declare const PeriodSelect: ({ value, onChange }: PeriodSelectProps) => react_jsx_runtime.JSX.Element;
1830
1813
 
1814
+ /**
1815
+ * Represents a single time range option in the dropdown.
1816
+ */
1817
+ interface TimeRangeOption {
1818
+ /** Display label shown in the dropdown (e.g., "1 week") */
1819
+ label: string;
1820
+ /** Value identifier passed to the callback on selection */
1821
+ value: string;
1822
+ }
1823
+ interface TimeRangeSelectProps {
1824
+ /** Available time range options */
1825
+ options: TimeRangeOption[];
1826
+ /** Currently selected time range value */
1827
+ value?: string;
1828
+ /** Callback invoked when user selects a different time range */
1829
+ onChange?: (value: string) => void;
1830
+ }
1831
+ /**
1832
+ * Configurable time range dropdown selector.
1833
+ * Renders a compact select field with the provided time range options.
1834
+ *
1835
+ * @example
1836
+ * ```tsx
1837
+ * <TimeRangeSelect
1838
+ * options={[
1839
+ * { label: 'Last hour', value: 'hour' },
1840
+ * { label: '24 hours', value: 'day' },
1841
+ * { label: '1 week', value: 'week' },
1842
+ * ]}
1843
+ * value="week"
1844
+ * onChange={(value) => console.log(value)}
1845
+ * />
1846
+ * ```
1847
+ */
1848
+ declare const TimeRangeSelect: ({ options, value, onChange }: TimeRangeSelectProps) => react_jsx_runtime.JSX.Element;
1849
+
1850
+ /**
1851
+ * Represents a single summary statistic item displayed below the graph.
1852
+ */
1853
+ interface SummaryItem {
1854
+ /** Descriptive label (e.g., "Total Engagements") */
1855
+ label: string;
1856
+ /** Numeric or string value (e.g., "13.72" or 11372) */
1857
+ value: string | number;
1858
+ /** Optional unit suffix (e.g., "K", "GB", "%") */
1859
+ unit?: string;
1860
+ }
1861
+ interface SummaryStatsProps {
1862
+ /** Array of summary items to display */
1863
+ items: SummaryItem[];
1864
+ }
1865
+ /**
1866
+ * Renders a horizontal row of summary statistics below the graph.
1867
+ * Each item shows a label with its corresponding value and optional unit.
1868
+ *
1869
+ * Matches the Figma design layout with label in secondary text color
1870
+ * and value in bold heading typography.
1871
+ *
1872
+ * @example
1873
+ * ```tsx
1874
+ * <SummaryStats
1875
+ * items={[
1876
+ * { label: 'Total Engagements', value: 11372 },
1877
+ * { label: 'Total Consumed', value: '156.91', unit: 'GB' },
1878
+ * ]}
1879
+ * />
1880
+ * ```
1881
+ */
1882
+ declare const SummaryStats: ({ items }: SummaryStatsProps) => react_jsx_runtime.JSX.Element | null;
1883
+
1884
+ /**
1885
+ * A single data point in a time series.
1886
+ * Use `null` for the value to represent missing/gap data — the line will break.
1887
+ */
1888
+ interface DataPoint {
1889
+ /** Timestamp of the observation */
1890
+ timestamp: Date;
1891
+ /** Numeric value, or `null` to indicate a gap in the data */
1892
+ value: number | null;
1893
+ }
1894
+ /**
1895
+ * Represents one line on the graph (a named data series).
1896
+ */
1897
+ interface DataSeries {
1898
+ /** Unique display name for this series (shown in legend) */
1899
+ name: string;
1900
+ /** CSS color string for the line and legend indicator */
1901
+ color: string;
1902
+ /** Ordered array of data points */
1903
+ data: DataPoint[];
1904
+ }
1905
+ interface TimeSeriesGraphProps {
1906
+ /** Optional title displayed at the top-left of the graph card */
1907
+ title?: string;
1908
+ /**
1909
+ * Array of data series to render. Each series becomes one line on the graph.
1910
+ * There is no hardcoded limit on the number of series.
1911
+ */
1912
+ series: DataSeries[];
1913
+ /**
1914
+ * Configurable time range options for the dropdown selector.
1915
+ * When omitted, the time range dropdown is not rendered.
1916
+ */
1917
+ timeRangeOptions?: TimeRangeOption[];
1918
+ /** Currently selected time range value (controlled) */
1919
+ selectedTimeRange?: string;
1920
+ /** Callback invoked when the user picks a different time range */
1921
+ onTimeRangeChange?: (value: string) => void;
1922
+ /**
1923
+ * Optional array of summary statistics displayed below the graph.
1924
+ * When omitted or empty, the summary section is hidden.
1925
+ */
1926
+ summaryItems?: SummaryItem[];
1927
+ /**
1928
+ * Whether to show the summary statistics section.
1929
+ * Defaults to `true`. Set to `false` to explicitly hide, even when `summaryItems` are provided.
1930
+ */
1931
+ showSummary?: boolean;
1932
+ /**
1933
+ * Optional header action element rendered to the right of the title
1934
+ * (e.g., a secondary dropdown or filter control).
1935
+ */
1936
+ headerAction?: ReactNode;
1937
+ /**
1938
+ * When `true`, shows a loading overlay (spinner) over the graph area
1939
+ * while the header remains visible and interactive.
1940
+ */
1941
+ loading?: boolean;
1942
+ }
1943
+ /**
1944
+ * A reusable time series graph component that displays one or more data lines
1945
+ * over a shared time axis. Supports configurable time range selection,
1946
+ * optional summary statistics, interactive legend toggling, crosshair tooltips,
1947
+ * and a loading state.
1948
+ *
1949
+ * Built on `@mui/x-charts` LineChart and the Cere Design System theme.
1950
+ *
1951
+ * @example
1952
+ * ```tsx
1953
+ * <TimeSeriesGraph
1954
+ * title="Engagement over time"
1955
+ * series={[
1956
+ * { name: 'Engagements', color: '#6750A4', data: engagementData },
1957
+ * { name: 'Unique Streams', color: '#4caf50', data: streamData },
1958
+ * ]}
1959
+ * timeRangeOptions={[
1960
+ * { label: 'Last hour', value: 'hour' },
1961
+ * { label: '24 hours', value: 'day' },
1962
+ * { label: '1 week', value: 'week' },
1963
+ * { label: '1 month', value: 'month' },
1964
+ * ]}
1965
+ * selectedTimeRange="week"
1966
+ * onTimeRangeChange={(range) => fetchData(range)}
1967
+ * summaryItems={[
1968
+ * { label: 'Total Engagements', value: 11372 },
1969
+ * { label: 'Daily Engagements', value: 156 },
1970
+ * ]}
1971
+ * />
1972
+ * ```
1973
+ *
1974
+ * Figma reference: [ROB Design - Node 162:1172](https://www.figma.com/design/xky11VbkkFcgZLwZE8BdCN/ROB?node-id=162-1172&m=dev)
1975
+ */
1976
+ declare const TimeSeriesGraph: ({ title, series, timeRangeOptions, selectedTimeRange, onTimeRangeChange, summaryItems, showSummary, headerAction, loading, }: TimeSeriesGraphProps) => react_jsx_runtime.JSX.Element;
1977
+
1831
1978
  interface FlowEditorProps extends Omit<ReactFlowProps, 'nodes' | 'edges'> {
1832
1979
  /**
1833
1980
  * Nodes to display in the flow
@@ -2004,4 +2151,4 @@ interface CodeEditorProps {
2004
2151
  */
2005
2152
  declare const CodeEditor: React__default.FC<CodeEditorProps>;
2006
2153
 
2007
- export { Accordion, type AccordionProps, AccountSection, type AccountSectionProps, ActivityAppIcon, Alert, type AlertProps, type AlertSeverity, AppBar, type AppBarProps, AppLoading, type AppLoadingProps, Avatar, AvatarIcon, type AvatarProps, Badge, type BadgeProps, BarTrackingIcon, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, BytesSize, type BytesSizeProps, Card, CardActions, CardContent, CardHeader, type CardProps, CereIcon, ChartWidget, type ChartWidgetProps, CheckMarkAnimation, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, type CircularProgressProps, ClockIcon, CloudFlashIcon, CodeEditor, type CodeEditorLanguage, type CodeEditorProps, Collapse, type CollapseProps, ConnectionStatus, type ConnectionStatusProps, type ContextMenuItem, DecentralizedServerIcon, type DeploymentCardAction, DeploymentDashboardCard, type DeploymentDashboardCardProps, DeploymentDashboardPanel, type DeploymentDashboardPanelProps, DeploymentDashboardTree, type DeploymentDashboardTreeProps, DeploymentEntityContextMenu, type DeploymentEntityContextMenuProps, type DeploymentEntityType, type DeploymentStatusIndicator, type DeploymentTreeNode, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, EntityHeader, type EntityHeaderProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, IDBlock, type IDBlockProps, IconButton, type IconButtonProps, LeftArrowIcon, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Loading, LoadingAnimation, type LoadingAnimationProps, LoadingButton, type LoadingButtonProps, type LoadingProps, Logo, type LogoProps, Markdown, type MarkdownProps, Menu, MenuItem, type MenuItemProps, type MenuProps, type MessageOptions, MessagesProvider, MetricsChart, type MetricsChartProps, type MetricsPeriod, NavigationItem, type NavigationItemProps, NavigationList, type NavigationListProps, OnboardingProvider, Pagination, type PaginationProps, Paper, type PaperProps, PeriodSelect, type PrimaryAction, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, RoleBadge, type RoleBadgeColor, type RoleBadgeProps, type RoleBadgeSize, SearchField, type SearchFieldProps, Selector, type SelectorOption, type SelectorProps, type Service, ServiceSelectorButton, type ServiceSelectorButtonProps, ShareIcon, SideNav, SideNavHeader, type SideNavHeaderProps, type SideNavProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Snackbar, type SnackbarProps, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, StorageAppIcon, Switch, type SwitchProps, Tab, type TabProps, Table, TableHeader, type TableHeaderProps, type TableProps, TextField, type TextFieldProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, UploadFileIcon, UploadFolderIcon, type UserInfo, type Workspace, WorkspaceSelectorButton, type WorkspaceSelectorButtonProps, colors, contextMenuItems, robPaletteExtended, robPrimaryPalette, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
2154
+ export { Accordion, type AccordionProps, AccountSection, type AccountSectionProps, ActivityAppIcon, Alert, type AlertProps, type AlertSeverity, AppBar, type AppBarProps, AppLoading, type AppLoadingProps, Avatar, AvatarIcon, type AvatarProps, Badge, type BadgeProps, BarTrackingIcon, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, BytesSize, type BytesSizeProps, Card, CardActions, CardContent, CardHeader, type CardProps, CereIcon, ChartWidget, type ChartWidgetProps, CheckMarkAnimation, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, type CircularProgressProps, ClockIcon, CloudFlashIcon, CodeEditor, type CodeEditorLanguage, type CodeEditorProps, Collapse, type CollapseProps, ConnectionStatus, type ConnectionStatusProps, type ContextMenuItem, type DataPoint, type DataSeries, DecentralizedServerIcon, type DeploymentCardAction, DeploymentDashboardCard, type DeploymentDashboardCardProps, DeploymentDashboardPanel, type DeploymentDashboardPanelProps, DeploymentDashboardTree, type DeploymentDashboardTreeProps, DeploymentEntityContextMenu, type DeploymentEntityContextMenuProps, type DeploymentEntityType, type DeploymentStatusIndicator, type DeploymentTreeNode, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, EntityHeader, type EntityHeaderProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, IDBlock, type IDBlockProps, IconButton, type IconButtonProps, LeftArrowIcon, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Loading, LoadingAnimation, type LoadingAnimationProps, LoadingButton, type LoadingButtonProps, type LoadingProps, Logo, type LogoProps, Markdown, type MarkdownProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MetricsChart, type MetricsChartProps, type MetricsPeriod, NavigationItem, type NavigationItemProps, NavigationList, type NavigationListProps, OnboardingProvider, Pagination, type PaginationProps, Paper, type PaperProps, PeriodSelect, type PrimaryAction, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, RoleBadge, type RoleBadgeColor, type RoleBadgeProps, type RoleBadgeSize, SearchField, type SearchFieldProps, Selector, type SelectorOption, type SelectorProps, type Service, ServiceSelectorButton, type ServiceSelectorButtonProps, ShareIcon, SideNav, SideNavHeader, type SideNavHeaderProps, type SideNavProps, Sidebar, SidebarItem, type SidebarItemProps, type SidebarProps, Snackbar, type SnackbarProps, Step, StepButton, type StepButtonProps, StepContent, type StepContentProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps, StorageAppIcon, type SummaryItem, SummaryStats, type SummaryStatsProps, Switch, type SwitchProps, Tab, type TabProps, Table, TableHeader, type TableHeaderProps, type TableProps, TextField, type TextFieldProps, type TimeRangeOption, TimeRangeSelect, type TimeRangeSelectProps, TimeSeriesGraph, type TimeSeriesGraphProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, Tooltip, type TooltipProps, Truncate, type TruncateProps, UploadFileIcon, UploadFolderIcon, type UserInfo, type Workspace, WorkspaceSelectorButton, type WorkspaceSelectorButtonProps, colors, contextMenuItems, robPaletteExtended, robPrimaryPalette, theme, useIsDesktop, useIsMobile, useIsTablet, useOnboarding };