@cere/cere-design-system 0.0.17 → 0.0.18
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 +151 -1
- package/dist/index.d.ts +151 -1
- package/dist/index.js +985 -338
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +914 -265
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -37,6 +37,20 @@ import { Monaco } from '@monaco-editor/react';
|
|
|
37
37
|
import { editor } from 'monaco-editor';
|
|
38
38
|
export { default as RadioGroup } from '@mui/material/RadioGroup';
|
|
39
39
|
|
|
40
|
+
declare module '@mui/material/styles' {
|
|
41
|
+
interface Palette {
|
|
42
|
+
deployment: {
|
|
43
|
+
entity: typeof deploymentEntityColors;
|
|
44
|
+
status: typeof deploymentStatusColors;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
interface PaletteOptions {
|
|
48
|
+
deployment?: {
|
|
49
|
+
entity?: Record<string, string>;
|
|
50
|
+
status?: Record<string, string>;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}
|
|
40
54
|
declare const colors: {
|
|
41
55
|
primary: {
|
|
42
56
|
main: string;
|
|
@@ -97,6 +111,20 @@ declare const colors: {
|
|
|
97
111
|
selected: string;
|
|
98
112
|
};
|
|
99
113
|
};
|
|
114
|
+
declare const deploymentEntityColors: {
|
|
115
|
+
workspace: string;
|
|
116
|
+
stream: string;
|
|
117
|
+
deployment: string;
|
|
118
|
+
engagement: string;
|
|
119
|
+
agent: string;
|
|
120
|
+
};
|
|
121
|
+
declare const deploymentStatusColors: {
|
|
122
|
+
normal: string;
|
|
123
|
+
warning: string;
|
|
124
|
+
error: string;
|
|
125
|
+
disabled: string;
|
|
126
|
+
disabledDim: string;
|
|
127
|
+
};
|
|
100
128
|
declare const theme: Theme;
|
|
101
129
|
|
|
102
130
|
declare const CheckMarkAnimation: () => react_jsx_runtime.JSX.Element;
|
|
@@ -1095,6 +1123,128 @@ interface ListItemProps extends ListItemProps$1 {
|
|
|
1095
1123
|
}
|
|
1096
1124
|
declare const ListItem: React__default.FC<ListItemProps>;
|
|
1097
1125
|
|
|
1126
|
+
type DeploymentEntityType = 'workspace' | 'stream' | 'deployment' | 'engagement' | 'agent';
|
|
1127
|
+
type DeploymentStatusIndicator = 'normal' | 'warning' | 'error' | 'disabled' | null;
|
|
1128
|
+
interface DeploymentCardAction {
|
|
1129
|
+
id: string;
|
|
1130
|
+
label: string;
|
|
1131
|
+
icon?: React__default.ReactNode;
|
|
1132
|
+
onClick?: () => void;
|
|
1133
|
+
highlight?: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
interface DeploymentDashboardCardProps {
|
|
1136
|
+
/** Entity type: drives chip color and icon (Figma 15-1725, 15-1276) */
|
|
1137
|
+
entityType: DeploymentEntityType;
|
|
1138
|
+
/** Primary title */
|
|
1139
|
+
title: string;
|
|
1140
|
+
/** Display id; when present shows "ID: {id}" with copy action */
|
|
1141
|
+
id?: string;
|
|
1142
|
+
/** Shown as "Created: …" */
|
|
1143
|
+
createdAt?: string;
|
|
1144
|
+
/** Shown as "Last Updated: …" */
|
|
1145
|
+
updatedAt?: string;
|
|
1146
|
+
/** Only for entityType === 'deployment'; shows Capacity label, progress bar, "X%" */
|
|
1147
|
+
capacity?: number;
|
|
1148
|
+
/** Action buttons/chips rendered inline on the right */
|
|
1149
|
+
actions?: DeploymentCardAction[];
|
|
1150
|
+
/** Status dot: green (normal), amber (warning), red (error), white/dim (disabled) */
|
|
1151
|
+
statusIndicator?: DeploymentStatusIndicator;
|
|
1152
|
+
/** Whether to show expand/collapse chevron on the left */
|
|
1153
|
+
expandable?: boolean;
|
|
1154
|
+
/** Controlled expanded state */
|
|
1155
|
+
expanded?: boolean;
|
|
1156
|
+
/** Called when chevron is clicked */
|
|
1157
|
+
onExpandToggle?: () => void;
|
|
1158
|
+
/** When copy ID is clicked */
|
|
1159
|
+
onCopyId?: () => void;
|
|
1160
|
+
/** Open context menu (three-dots) */
|
|
1161
|
+
onContextMenu?: (e: React__default.MouseEvent) => void;
|
|
1162
|
+
/** Optional className */
|
|
1163
|
+
className?: string;
|
|
1164
|
+
/** Child content rendered inside the card border (used by tree to nest children) */
|
|
1165
|
+
children?: React__default.ReactNode;
|
|
1166
|
+
}
|
|
1167
|
+
declare const DeploymentDashboardCard: React__default.FC<DeploymentDashboardCardProps>;
|
|
1168
|
+
|
|
1169
|
+
interface ContextMenuItem {
|
|
1170
|
+
id: string;
|
|
1171
|
+
label: string;
|
|
1172
|
+
icon?: React__default.ReactNode;
|
|
1173
|
+
onClick?: () => void;
|
|
1174
|
+
type?: 'action' | 'toggle';
|
|
1175
|
+
}
|
|
1176
|
+
/** Pre-built item factories for common deployment entity actions (Figma 11-1102) */
|
|
1177
|
+
declare const contextMenuItems: {
|
|
1178
|
+
readonly addEngagement: (onClick: () => void) => ContextMenuItem;
|
|
1179
|
+
readonly addAgent: (onClick: () => void) => ContextMenuItem;
|
|
1180
|
+
readonly addStream: (onClick: () => void) => ContextMenuItem;
|
|
1181
|
+
readonly edit: (onClick: () => void) => ContextMenuItem;
|
|
1182
|
+
readonly copyId: (onClick: () => void) => ContextMenuItem;
|
|
1183
|
+
readonly agentFlowVisualization: (onClick: () => void) => ContextMenuItem;
|
|
1184
|
+
readonly viewLogs: (onClick: () => void) => ContextMenuItem;
|
|
1185
|
+
readonly settings: (onClick: () => void) => ContextMenuItem;
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
interface DeploymentEntityContextMenuProps {
|
|
1189
|
+
/** Controlled open state */
|
|
1190
|
+
open: boolean;
|
|
1191
|
+
/** Anchor for menu position */
|
|
1192
|
+
anchorEl: HTMLElement | null;
|
|
1193
|
+
/** When menu closes */
|
|
1194
|
+
onClose: () => void;
|
|
1195
|
+
/** Menu items to render (use contextMenuItems helpers to build) */
|
|
1196
|
+
items: ContextMenuItem[];
|
|
1197
|
+
/** Whether to show "Enable" row with toggle */
|
|
1198
|
+
enableToggle?: boolean;
|
|
1199
|
+
/** Toggle checked state */
|
|
1200
|
+
enableChecked?: boolean;
|
|
1201
|
+
/** Toggle callback */
|
|
1202
|
+
onEnableChange?: (checked: boolean) => void;
|
|
1203
|
+
}
|
|
1204
|
+
declare const DeploymentEntityContextMenu: React__default.FC<DeploymentEntityContextMenuProps>;
|
|
1205
|
+
|
|
1206
|
+
interface DeploymentTreeNode {
|
|
1207
|
+
id: string;
|
|
1208
|
+
entityType: DeploymentEntityType;
|
|
1209
|
+
title: string;
|
|
1210
|
+
idDisplay?: string;
|
|
1211
|
+
createdAt?: string;
|
|
1212
|
+
updatedAt?: string;
|
|
1213
|
+
capacity?: number;
|
|
1214
|
+
actions?: DeploymentCardAction[];
|
|
1215
|
+
statusIndicator?: DeploymentStatusIndicator;
|
|
1216
|
+
children?: DeploymentTreeNode[];
|
|
1217
|
+
expanded?: boolean;
|
|
1218
|
+
}
|
|
1219
|
+
interface DeploymentDashboardTreeProps {
|
|
1220
|
+
/** Tree of entities */
|
|
1221
|
+
nodes: DeploymentTreeNode[];
|
|
1222
|
+
/** When a row's expand is toggled */
|
|
1223
|
+
onExpandToggle?: (nodeId: string) => void;
|
|
1224
|
+
/** When a card's copy-ID button is clicked */
|
|
1225
|
+
onCopyId?: (nodeId: string) => void;
|
|
1226
|
+
/** Open context menu for node */
|
|
1227
|
+
onContextMenu?: (nodeId: string, e: React__default.MouseEvent) => void;
|
|
1228
|
+
/** Override row content; default: render DeploymentDashboardCard from node data */
|
|
1229
|
+
renderCard?: (node: DeploymentTreeNode) => React__default.ReactNode;
|
|
1230
|
+
}
|
|
1231
|
+
declare const DeploymentDashboardTree: React__default.FC<DeploymentDashboardTreeProps>;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Backdrop/background panel for the deployment list (Figma 15-1325).
|
|
1235
|
+
* Wraps the deployment tree or list in a rounded, light surface with a subtle border
|
|
1236
|
+
* so the list has a clear visual container.
|
|
1237
|
+
*/
|
|
1238
|
+
interface DeploymentDashboardPanelProps {
|
|
1239
|
+
/** Content (e.g. DeploymentDashboardTree or a list of DeploymentDashboardCards) */
|
|
1240
|
+
children: React__default.ReactNode;
|
|
1241
|
+
/** Optional className */
|
|
1242
|
+
className?: string;
|
|
1243
|
+
/** Optional padding override; default uses theme spacing */
|
|
1244
|
+
padding?: number | string;
|
|
1245
|
+
}
|
|
1246
|
+
declare const DeploymentDashboardPanel: React__default.FC<DeploymentDashboardPanelProps>;
|
|
1247
|
+
|
|
1098
1248
|
interface AvatarProps extends AvatarProps$1 {
|
|
1099
1249
|
size?: 'small' | 'medium' | 'large' | number;
|
|
1100
1250
|
}
|
|
@@ -1558,4 +1708,4 @@ interface CodeEditorProps {
|
|
|
1558
1708
|
*/
|
|
1559
1709
|
declare const CodeEditor: React__default.FC<CodeEditorProps>;
|
|
1560
1710
|
|
|
1561
|
-
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, DecentralizedServerIcon, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, 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, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, 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, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
|
|
1711
|
+
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, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, 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, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, 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, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,20 @@ import { Monaco } from '@monaco-editor/react';
|
|
|
37
37
|
import { editor } from 'monaco-editor';
|
|
38
38
|
export { default as RadioGroup } from '@mui/material/RadioGroup';
|
|
39
39
|
|
|
40
|
+
declare module '@mui/material/styles' {
|
|
41
|
+
interface Palette {
|
|
42
|
+
deployment: {
|
|
43
|
+
entity: typeof deploymentEntityColors;
|
|
44
|
+
status: typeof deploymentStatusColors;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
interface PaletteOptions {
|
|
48
|
+
deployment?: {
|
|
49
|
+
entity?: Record<string, string>;
|
|
50
|
+
status?: Record<string, string>;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}
|
|
40
54
|
declare const colors: {
|
|
41
55
|
primary: {
|
|
42
56
|
main: string;
|
|
@@ -97,6 +111,20 @@ declare const colors: {
|
|
|
97
111
|
selected: string;
|
|
98
112
|
};
|
|
99
113
|
};
|
|
114
|
+
declare const deploymentEntityColors: {
|
|
115
|
+
workspace: string;
|
|
116
|
+
stream: string;
|
|
117
|
+
deployment: string;
|
|
118
|
+
engagement: string;
|
|
119
|
+
agent: string;
|
|
120
|
+
};
|
|
121
|
+
declare const deploymentStatusColors: {
|
|
122
|
+
normal: string;
|
|
123
|
+
warning: string;
|
|
124
|
+
error: string;
|
|
125
|
+
disabled: string;
|
|
126
|
+
disabledDim: string;
|
|
127
|
+
};
|
|
100
128
|
declare const theme: Theme;
|
|
101
129
|
|
|
102
130
|
declare const CheckMarkAnimation: () => react_jsx_runtime.JSX.Element;
|
|
@@ -1095,6 +1123,128 @@ interface ListItemProps extends ListItemProps$1 {
|
|
|
1095
1123
|
}
|
|
1096
1124
|
declare const ListItem: React__default.FC<ListItemProps>;
|
|
1097
1125
|
|
|
1126
|
+
type DeploymentEntityType = 'workspace' | 'stream' | 'deployment' | 'engagement' | 'agent';
|
|
1127
|
+
type DeploymentStatusIndicator = 'normal' | 'warning' | 'error' | 'disabled' | null;
|
|
1128
|
+
interface DeploymentCardAction {
|
|
1129
|
+
id: string;
|
|
1130
|
+
label: string;
|
|
1131
|
+
icon?: React__default.ReactNode;
|
|
1132
|
+
onClick?: () => void;
|
|
1133
|
+
highlight?: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
interface DeploymentDashboardCardProps {
|
|
1136
|
+
/** Entity type: drives chip color and icon (Figma 15-1725, 15-1276) */
|
|
1137
|
+
entityType: DeploymentEntityType;
|
|
1138
|
+
/** Primary title */
|
|
1139
|
+
title: string;
|
|
1140
|
+
/** Display id; when present shows "ID: {id}" with copy action */
|
|
1141
|
+
id?: string;
|
|
1142
|
+
/** Shown as "Created: …" */
|
|
1143
|
+
createdAt?: string;
|
|
1144
|
+
/** Shown as "Last Updated: …" */
|
|
1145
|
+
updatedAt?: string;
|
|
1146
|
+
/** Only for entityType === 'deployment'; shows Capacity label, progress bar, "X%" */
|
|
1147
|
+
capacity?: number;
|
|
1148
|
+
/** Action buttons/chips rendered inline on the right */
|
|
1149
|
+
actions?: DeploymentCardAction[];
|
|
1150
|
+
/** Status dot: green (normal), amber (warning), red (error), white/dim (disabled) */
|
|
1151
|
+
statusIndicator?: DeploymentStatusIndicator;
|
|
1152
|
+
/** Whether to show expand/collapse chevron on the left */
|
|
1153
|
+
expandable?: boolean;
|
|
1154
|
+
/** Controlled expanded state */
|
|
1155
|
+
expanded?: boolean;
|
|
1156
|
+
/** Called when chevron is clicked */
|
|
1157
|
+
onExpandToggle?: () => void;
|
|
1158
|
+
/** When copy ID is clicked */
|
|
1159
|
+
onCopyId?: () => void;
|
|
1160
|
+
/** Open context menu (three-dots) */
|
|
1161
|
+
onContextMenu?: (e: React__default.MouseEvent) => void;
|
|
1162
|
+
/** Optional className */
|
|
1163
|
+
className?: string;
|
|
1164
|
+
/** Child content rendered inside the card border (used by tree to nest children) */
|
|
1165
|
+
children?: React__default.ReactNode;
|
|
1166
|
+
}
|
|
1167
|
+
declare const DeploymentDashboardCard: React__default.FC<DeploymentDashboardCardProps>;
|
|
1168
|
+
|
|
1169
|
+
interface ContextMenuItem {
|
|
1170
|
+
id: string;
|
|
1171
|
+
label: string;
|
|
1172
|
+
icon?: React__default.ReactNode;
|
|
1173
|
+
onClick?: () => void;
|
|
1174
|
+
type?: 'action' | 'toggle';
|
|
1175
|
+
}
|
|
1176
|
+
/** Pre-built item factories for common deployment entity actions (Figma 11-1102) */
|
|
1177
|
+
declare const contextMenuItems: {
|
|
1178
|
+
readonly addEngagement: (onClick: () => void) => ContextMenuItem;
|
|
1179
|
+
readonly addAgent: (onClick: () => void) => ContextMenuItem;
|
|
1180
|
+
readonly addStream: (onClick: () => void) => ContextMenuItem;
|
|
1181
|
+
readonly edit: (onClick: () => void) => ContextMenuItem;
|
|
1182
|
+
readonly copyId: (onClick: () => void) => ContextMenuItem;
|
|
1183
|
+
readonly agentFlowVisualization: (onClick: () => void) => ContextMenuItem;
|
|
1184
|
+
readonly viewLogs: (onClick: () => void) => ContextMenuItem;
|
|
1185
|
+
readonly settings: (onClick: () => void) => ContextMenuItem;
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
interface DeploymentEntityContextMenuProps {
|
|
1189
|
+
/** Controlled open state */
|
|
1190
|
+
open: boolean;
|
|
1191
|
+
/** Anchor for menu position */
|
|
1192
|
+
anchorEl: HTMLElement | null;
|
|
1193
|
+
/** When menu closes */
|
|
1194
|
+
onClose: () => void;
|
|
1195
|
+
/** Menu items to render (use contextMenuItems helpers to build) */
|
|
1196
|
+
items: ContextMenuItem[];
|
|
1197
|
+
/** Whether to show "Enable" row with toggle */
|
|
1198
|
+
enableToggle?: boolean;
|
|
1199
|
+
/** Toggle checked state */
|
|
1200
|
+
enableChecked?: boolean;
|
|
1201
|
+
/** Toggle callback */
|
|
1202
|
+
onEnableChange?: (checked: boolean) => void;
|
|
1203
|
+
}
|
|
1204
|
+
declare const DeploymentEntityContextMenu: React__default.FC<DeploymentEntityContextMenuProps>;
|
|
1205
|
+
|
|
1206
|
+
interface DeploymentTreeNode {
|
|
1207
|
+
id: string;
|
|
1208
|
+
entityType: DeploymentEntityType;
|
|
1209
|
+
title: string;
|
|
1210
|
+
idDisplay?: string;
|
|
1211
|
+
createdAt?: string;
|
|
1212
|
+
updatedAt?: string;
|
|
1213
|
+
capacity?: number;
|
|
1214
|
+
actions?: DeploymentCardAction[];
|
|
1215
|
+
statusIndicator?: DeploymentStatusIndicator;
|
|
1216
|
+
children?: DeploymentTreeNode[];
|
|
1217
|
+
expanded?: boolean;
|
|
1218
|
+
}
|
|
1219
|
+
interface DeploymentDashboardTreeProps {
|
|
1220
|
+
/** Tree of entities */
|
|
1221
|
+
nodes: DeploymentTreeNode[];
|
|
1222
|
+
/** When a row's expand is toggled */
|
|
1223
|
+
onExpandToggle?: (nodeId: string) => void;
|
|
1224
|
+
/** When a card's copy-ID button is clicked */
|
|
1225
|
+
onCopyId?: (nodeId: string) => void;
|
|
1226
|
+
/** Open context menu for node */
|
|
1227
|
+
onContextMenu?: (nodeId: string, e: React__default.MouseEvent) => void;
|
|
1228
|
+
/** Override row content; default: render DeploymentDashboardCard from node data */
|
|
1229
|
+
renderCard?: (node: DeploymentTreeNode) => React__default.ReactNode;
|
|
1230
|
+
}
|
|
1231
|
+
declare const DeploymentDashboardTree: React__default.FC<DeploymentDashboardTreeProps>;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Backdrop/background panel for the deployment list (Figma 15-1325).
|
|
1235
|
+
* Wraps the deployment tree or list in a rounded, light surface with a subtle border
|
|
1236
|
+
* so the list has a clear visual container.
|
|
1237
|
+
*/
|
|
1238
|
+
interface DeploymentDashboardPanelProps {
|
|
1239
|
+
/** Content (e.g. DeploymentDashboardTree or a list of DeploymentDashboardCards) */
|
|
1240
|
+
children: React__default.ReactNode;
|
|
1241
|
+
/** Optional className */
|
|
1242
|
+
className?: string;
|
|
1243
|
+
/** Optional padding override; default uses theme spacing */
|
|
1244
|
+
padding?: number | string;
|
|
1245
|
+
}
|
|
1246
|
+
declare const DeploymentDashboardPanel: React__default.FC<DeploymentDashboardPanelProps>;
|
|
1247
|
+
|
|
1098
1248
|
interface AvatarProps extends AvatarProps$1 {
|
|
1099
1249
|
size?: 'small' | 'medium' | 'large' | number;
|
|
1100
1250
|
}
|
|
@@ -1558,4 +1708,4 @@ interface CodeEditorProps {
|
|
|
1558
1708
|
*/
|
|
1559
1709
|
declare const CodeEditor: React__default.FC<CodeEditorProps>;
|
|
1560
1710
|
|
|
1561
|
-
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, DecentralizedServerIcon, Dialog, type DialogProps, DiscordIcon, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, Dropdown, DropdownAnchor, type DropdownAnchorProps, type DropdownProps, EmptyState, type EmptyStateProps, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, 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, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, 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, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
|
|
1711
|
+
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, FilledFolderIcon, FlowEditor, type FlowEditorProps, FolderIcon, GithubLogoIcon, 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, Progress, type ProgressProps, QRCode, type QRCodeProps, Radio, type RadioProps, RightArrowIcon, 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, theme, useIsDesktop, useIsMobile, useIsTablet, useMessages, useOnboarding };
|