@omniviewdev/ui 0.1.0

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.
Files changed (257) hide show
  1. package/LICENSE +661 -0
  2. package/dist/Button-Dmu1cikC.cjs +1 -0
  3. package/dist/Button-lr02bh_m.js +51 -0
  4. package/dist/CodeBlock-B1iQO7zU.js +73 -0
  5. package/dist/CodeBlock-CIyG0DbW.cjs +2 -0
  6. package/dist/CopyButton-CACe3RCF.cjs +1 -0
  7. package/dist/CopyButton-DPBgL0K8.js +77 -0
  8. package/dist/ErrorState-CexYrMpy.js +188 -0
  9. package/dist/ErrorState-CnIR-1xa.cjs +1 -0
  10. package/dist/HotkeyHint-6SOi-MaU.js +37 -0
  11. package/dist/HotkeyHint-DrTOTrIM.cjs +1 -0
  12. package/dist/Icon-CKdIOrjZ.cjs +1 -0
  13. package/dist/Icon-CuO9W7cA.js +27 -0
  14. package/dist/SearchInput-CFBBNdI2.cjs +1 -0
  15. package/dist/SearchInput-D3AsCI5H.js +41 -0
  16. package/dist/Select-CnRBSc5w.cjs +1 -0
  17. package/dist/Select-DTUF31OP.js +206 -0
  18. package/dist/Skeleton-BUYyXUiC.js +32 -0
  19. package/dist/Skeleton-CfdQWLQM.cjs +1 -0
  20. package/dist/StatusDot-CYyJxjJK.cjs +1 -0
  21. package/dist/StatusDot-CncykBAY.js +68 -0
  22. package/dist/StatusPill-C1NaiCzd.js +29 -0
  23. package/dist/StatusPill-C7yn7dSA.cjs +1 -0
  24. package/dist/TabPanel-CkUSl6Bt.cjs +1 -0
  25. package/dist/TabPanel-DLHbgKpl.js +124 -0
  26. package/dist/Text-By4P3in5.js +71 -0
  27. package/dist/Text-Mk6Uyg1w.cjs +1 -0
  28. package/dist/Tooltip-44-P5KfQ.cjs +1 -0
  29. package/dist/Tooltip-BEVuYuZ3.js +41 -0
  30. package/dist/_commonjsHelpers-CvWRHxnb.js +26 -0
  31. package/dist/_commonjsHelpers-D3HyQheV.cjs +1 -0
  32. package/dist/buttons/ActionMenu.d.ts +21 -0
  33. package/dist/buttons/Button.d.ts +31 -0
  34. package/dist/buttons/ButtonGroup.d.ts +18 -0
  35. package/dist/buttons/ConfirmButton.d.ts +10 -0
  36. package/dist/buttons/CopyButton.d.ts +11 -0
  37. package/dist/buttons/IconButton.d.ts +21 -0
  38. package/dist/buttons/SearchBar.d.ts +22 -0
  39. package/dist/buttons/ToggleButton.d.ts +18 -0
  40. package/dist/buttons/ToggleGroup.d.ts +23 -0
  41. package/dist/buttons/Toolbar.d.ts +15 -0
  42. package/dist/buttons/ToolbarGroup.d.ts +11 -0
  43. package/dist/buttons/index.d.ts +22 -0
  44. package/dist/buttons.cjs +1 -0
  45. package/dist/buttons.js +430 -0
  46. package/dist/cells/BadgesCell.d.ts +19 -0
  47. package/dist/cells/ChipCell.d.ts +16 -0
  48. package/dist/cells/SelectBoxHeader.d.ts +11 -0
  49. package/dist/cells/SelectBoxRow.d.ts +11 -0
  50. package/dist/cells/TextCell.d.ts +25 -0
  51. package/dist/cells/index.d.ts +5 -0
  52. package/dist/cells.cjs +1 -0
  53. package/dist/cells.js +284 -0
  54. package/dist/charts/BarChart.d.ts +15 -0
  55. package/dist/charts/ChartContainer.d.ts +12 -0
  56. package/dist/charts/ChartLegend.d.ts +11 -0
  57. package/dist/charts/GaugeCard.d.ts +18 -0
  58. package/dist/charts/MetricsPanel.d.ts +61 -0
  59. package/dist/charts/PieChart.d.ts +13 -0
  60. package/dist/charts/ScatterChart.d.ts +25 -0
  61. package/dist/charts/Sparkline.d.ts +16 -0
  62. package/dist/charts/StackedAreaChart.d.ts +18 -0
  63. package/dist/charts/TimeSeriesChart.d.ts +43 -0
  64. package/dist/charts/formatters.d.ts +17 -0
  65. package/dist/charts/index.d.ts +21 -0
  66. package/dist/charts/palette.d.ts +7 -0
  67. package/dist/charts/types.d.ts +67 -0
  68. package/dist/charts/useChartTheme.d.ts +13 -0
  69. package/dist/charts.cjs +1 -0
  70. package/dist/charts.js +967 -0
  71. package/dist/components/ActionCard.d.ts +22 -0
  72. package/dist/components/AspectRatio.d.ts +13 -0
  73. package/dist/components/Avatar.d.ts +19 -0
  74. package/dist/components/Badge.d.ts +22 -0
  75. package/dist/components/Card.d.ts +24 -0
  76. package/dist/components/Chip.d.ts +32 -0
  77. package/dist/components/ClipboardText.d.ts +14 -0
  78. package/dist/components/DetailsCard.d.ts +25 -0
  79. package/dist/components/EmptySearch.d.ts +12 -0
  80. package/dist/components/ExpandableSections.d.ts +51 -0
  81. package/dist/components/FileIcon.d.ts +12 -0
  82. package/dist/components/HotkeyHint.d.ts +8 -0
  83. package/dist/components/Icon.d.ts +7 -0
  84. package/dist/components/InlineEdit.d.ts +14 -0
  85. package/dist/components/KVCard.d.ts +12 -0
  86. package/dist/components/Kbd.d.ts +8 -0
  87. package/dist/components/List.d.ts +29 -0
  88. package/dist/components/ListCard.d.ts +30 -0
  89. package/dist/components/ListItem.d.ts +27 -0
  90. package/dist/components/LoadingOverlay.d.ts +14 -0
  91. package/dist/components/MediaCard.d.ts +24 -0
  92. package/dist/components/MetricsSection.d.ts +37 -0
  93. package/dist/components/OverflowText.d.ts +12 -0
  94. package/dist/components/StatCard.d.ts +26 -0
  95. package/dist/components/StatusCard.d.ts +29 -0
  96. package/dist/components/TruncatedList.d.ts +13 -0
  97. package/dist/domain/DescriptionList.d.ts +12 -0
  98. package/dist/domain/EventsList.d.ts +11 -0
  99. package/dist/domain/FilterBar.d.ts +23 -0
  100. package/dist/domain/LogsViewer.d.ts +15 -0
  101. package/dist/domain/MetricCard.d.ts +14 -0
  102. package/dist/domain/ObjectInspector.d.ts +19 -0
  103. package/dist/domain/ResourceBreadcrumb.d.ts +19 -0
  104. package/dist/domain/ResourceRef.d.ts +15 -0
  105. package/dist/domain/ResourceStatus.d.ts +17 -0
  106. package/dist/domain/SecretValueMask.d.ts +11 -0
  107. package/dist/domain/Timeline.d.ts +21 -0
  108. package/dist/domain/index.d.ts +23 -0
  109. package/dist/domain/types.d.ts +25 -0
  110. package/dist/domain.cjs +1 -0
  111. package/dist/domain.js +871 -0
  112. package/dist/editors/CodeEditor.d.ts +19 -0
  113. package/dist/editors/CommandPalette.d.ts +22 -0
  114. package/dist/editors/DiffViewer.d.ts +14 -0
  115. package/dist/editors/MarkdownPreview.d.ts +9 -0
  116. package/dist/editors/Terminal.d.ts +18 -0
  117. package/dist/editors/index.d.ts +11 -0
  118. package/dist/editors/themes.d.ts +4 -0
  119. package/dist/editors.cjs +42 -0
  120. package/dist/editors.js +38396 -0
  121. package/dist/feedback/Alert.d.ts +21 -0
  122. package/dist/feedback/ConnectionIndicator.d.ts +15 -0
  123. package/dist/feedback/EmptyState.d.ts +17 -0
  124. package/dist/feedback/ErrorState.d.ts +12 -0
  125. package/dist/feedback/IDEStatusFooter.d.ts +104 -0
  126. package/dist/feedback/NotificationStack.d.ts +32 -0
  127. package/dist/feedback/ProgressBar.d.ts +16 -0
  128. package/dist/feedback/ProgressRing.d.ts +26 -0
  129. package/dist/feedback/RunButton.d.ts +17 -0
  130. package/dist/feedback/Skeleton.d.ts +13 -0
  131. package/dist/feedback/StatusBar.d.ts +12 -0
  132. package/dist/feedback/StatusBarItem.d.ts +18 -0
  133. package/dist/feedback/StatusDot.d.ts +14 -0
  134. package/dist/feedback/StatusPill.d.ts +13 -0
  135. package/dist/feedback/index.d.ts +29 -0
  136. package/dist/feedback.cjs +1 -0
  137. package/dist/feedback.js +1011 -0
  138. package/dist/index.cjs +1 -0
  139. package/dist/index.d.ts +54 -0
  140. package/dist/index.js +1632 -0
  141. package/dist/inputs/Autocomplete.d.ts +30 -0
  142. package/dist/inputs/Checkbox.d.ts +17 -0
  143. package/dist/inputs/ColorPicker.d.ts +13 -0
  144. package/dist/inputs/DebouncedInput.d.ts +10 -0
  145. package/dist/inputs/FormField.d.ts +15 -0
  146. package/dist/inputs/FormSection.d.ts +14 -0
  147. package/dist/inputs/KeyValueEditor.d.ts +17 -0
  148. package/dist/inputs/RadioGroup.d.ts +23 -0
  149. package/dist/inputs/SearchInput.d.ts +14 -0
  150. package/dist/inputs/Select.d.ts +32 -0
  151. package/dist/inputs/Slider.d.ts +24 -0
  152. package/dist/inputs/Switch.d.ts +17 -0
  153. package/dist/inputs/TagInput.d.ts +18 -0
  154. package/dist/inputs/TextArea.d.ts +26 -0
  155. package/dist/inputs/TextField.d.ts +39 -0
  156. package/dist/inputs/TimeRangePicker.d.ts +21 -0
  157. package/dist/inputs/index.d.ts +31 -0
  158. package/dist/inputs.cjs +21 -0
  159. package/dist/inputs.js +15834 -0
  160. package/dist/layout/AppShell.d.ts +18 -0
  161. package/dist/layout/DockLayout.d.ts +23 -0
  162. package/dist/layout/Inline.d.ts +15 -0
  163. package/dist/layout/Panel.d.ts +17 -0
  164. package/dist/layout/ResizableSplitPane.d.ts +18 -0
  165. package/dist/layout/Spacer.d.ts +9 -0
  166. package/dist/layout/Stack.d.ts +19 -0
  167. package/dist/layout/index.d.ts +16 -0
  168. package/dist/layout/useResizablePanel.d.ts +18 -0
  169. package/dist/layout.cjs +5 -0
  170. package/dist/layout.js +378 -0
  171. package/dist/menus/ContextMenu.d.ts +12 -0
  172. package/dist/menus/DropdownMenu.d.ts +20 -0
  173. package/dist/menus/MenuBar.d.ts +11 -0
  174. package/dist/menus/NestedMenuItem.d.ts +13 -0
  175. package/dist/menus/SplitButton.d.ts +15 -0
  176. package/dist/menus/index.d.ts +11 -0
  177. package/dist/menus/types.d.ts +24 -0
  178. package/dist/menus.cjs +1 -0
  179. package/dist/menus.js +355 -0
  180. package/dist/navigation/Breadcrumbs.d.ts +18 -0
  181. package/dist/navigation/DraggableTabs.d.ts +24 -0
  182. package/dist/navigation/Pagination.d.ts +15 -0
  183. package/dist/navigation/PersistentTabPanel.d.ts +13 -0
  184. package/dist/navigation/Stepper.d.ts +19 -0
  185. package/dist/navigation/TabPanel.d.ts +11 -0
  186. package/dist/navigation/Tabs.d.ts +26 -0
  187. package/dist/navigation/TreeView.d.ts +27 -0
  188. package/dist/navigation/index.d.ts +16 -0
  189. package/dist/navigation.cjs +1 -0
  190. package/dist/navigation.js +429 -0
  191. package/dist/overlays/Dialog.d.ts +18 -0
  192. package/dist/overlays/Drawer.d.ts +17 -0
  193. package/dist/overlays/ErrorOverlay.d.ts +21 -0
  194. package/dist/overlays/Modal.d.ts +14 -0
  195. package/dist/overlays/NotificationCenter.d.ts +31 -0
  196. package/dist/overlays/Popover.d.ts +15 -0
  197. package/dist/overlays/Spotlight.d.ts +24 -0
  198. package/dist/overlays/ToastProvider.d.ts +32 -0
  199. package/dist/overlays/Tooltip.d.ts +15 -0
  200. package/dist/overlays/index.d.ts +20 -0
  201. package/dist/overlays/useToast.d.ts +21 -0
  202. package/dist/overlays.cjs +1 -0
  203. package/dist/overlays.js +865 -0
  204. package/dist/sidebars/ActivityBar.d.ts +16 -0
  205. package/dist/sidebars/NavMenu.d.ts +27 -0
  206. package/dist/sidebars/NavMenu.test.d.ts +1 -0
  207. package/dist/sidebars/PropertyGrid.d.ts +16 -0
  208. package/dist/sidebars/SidebarGroup.d.ts +15 -0
  209. package/dist/sidebars/SidebarPanel.d.ts +19 -0
  210. package/dist/sidebars/SidebarTreeItem.d.ts +21 -0
  211. package/dist/sidebars/index.d.ts +13 -0
  212. package/dist/sidebars/types.d.ts +29 -0
  213. package/dist/sidebars.cjs +1 -0
  214. package/dist/sidebars.js +762 -0
  215. package/dist/table/ColumnFilter.d.ts +10 -0
  216. package/dist/table/DataTable.d.ts +23 -0
  217. package/dist/table/IDETable.d.ts +48 -0
  218. package/dist/table/TableEmptyState.d.ts +12 -0
  219. package/dist/table/TableSkeleton.d.ts +11 -0
  220. package/dist/table/TableToolbar.d.ts +15 -0
  221. package/dist/table/index.d.ts +12 -0
  222. package/dist/table/types.d.ts +4 -0
  223. package/dist/table.cjs +1 -0
  224. package/dist/table.js +580 -0
  225. package/dist/theme/AppTheme.d.ts +14 -0
  226. package/dist/theme/customizations/dataDisplay.d.ts +2 -0
  227. package/dist/theme/customizations/feedback.d.ts +2 -0
  228. package/dist/theme/customizations/inputs.d.ts +2 -0
  229. package/dist/theme/customizations/navigation.d.ts +2 -0
  230. package/dist/theme/index.d.ts +36 -0
  231. package/dist/theme/primitives.d.ts +234 -0
  232. package/dist/theme.cjs +1 -0
  233. package/dist/theme.js +1362 -0
  234. package/dist/tokens.css +252 -0
  235. package/dist/types/index.d.ts +7 -0
  236. package/dist/types/maps.d.ts +25 -0
  237. package/dist/types/variants.d.ts +21 -0
  238. package/dist/types.cjs +1 -0
  239. package/dist/types.js +96 -0
  240. package/dist/typography/CodeBlock.d.ts +15 -0
  241. package/dist/typography/CodeInline.d.ts +10 -0
  242. package/dist/typography/Heading.d.ts +13 -0
  243. package/dist/typography/Link.d.ts +18 -0
  244. package/dist/typography/Text.d.ts +22 -0
  245. package/dist/typography/index.d.ts +10 -0
  246. package/dist/typography.cjs +1 -0
  247. package/dist/typography.js +120 -0
  248. package/dist/ui.css +1 -0
  249. package/dist/units-BuBKbqQ7.js +54 -0
  250. package/dist/units-CDpdlN1W.cjs +1 -0
  251. package/dist/utils/index.d.ts +4 -0
  252. package/dist/utils/language.d.ts +4 -0
  253. package/dist/utils/time.d.ts +5 -0
  254. package/dist/utils/units.d.ts +7 -0
  255. package/dist/utils.cjs +1 -0
  256. package/dist/utils.js +78 -0
  257. package/package.json +261 -0
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface ActionCardProps {
4
+ /** Icon displayed above the title */
5
+ icon?: React.ReactNode;
6
+ /** Card title */
7
+ title: string;
8
+ /** Description text */
9
+ description?: string;
10
+ /** Primary action (e.g. a Button) */
11
+ primaryAction?: React.ReactNode;
12
+ /** Secondary action (e.g. a text Button) */
13
+ secondaryAction?: React.ReactNode;
14
+ /** Horizontal or vertical layout */
15
+ direction?: "horizontal" | "vertical";
16
+ sx?: SxProps<Theme>;
17
+ }
18
+ declare function ActionCard({ icon, title, description, primaryAction, secondaryAction, direction, sx, }: ActionCardProps): import("react/jsx-runtime").JSX.Element;
19
+ declare namespace ActionCard {
20
+ var displayName: string;
21
+ }
22
+ export default ActionCard;
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface AspectRatioProps {
4
+ /** Ratio expressed as "width/height" string or a number (e.g. 16/9) */
5
+ ratio?: string | number;
6
+ children: ReactNode;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ declare function AspectRatio({ ratio, children, sx, }: AspectRatioProps): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace AspectRatio {
11
+ var displayName: string;
12
+ }
13
+ export default AspectRatio;
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ import { ComponentSize, SemanticColor } from '../types';
4
+ export interface AvatarProps {
5
+ src?: string;
6
+ name?: string;
7
+ size?: ComponentSize;
8
+ color?: SemanticColor;
9
+ /** Shape of the avatar. Defaults to 'rounded' (rounded square). */
10
+ variant?: 'circular' | 'rounded';
11
+ /** Custom content to render inside the avatar (overrides name-based initials). */
12
+ children?: ReactNode;
13
+ sx?: SxProps<Theme>;
14
+ }
15
+ declare function Avatar({ src, name, size, variant, children, sx, }: AvatarProps): import("react/jsx-runtime").JSX.Element;
16
+ declare namespace Avatar {
17
+ var displayName: string;
18
+ }
19
+ export default Avatar;
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ import { SemanticColor } from '../types';
4
+ export interface BadgeProps {
5
+ count?: number;
6
+ dot?: boolean;
7
+ color?: SemanticColor;
8
+ max?: number;
9
+ invisible?: boolean;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ anchorOrigin?: {
12
+ vertical: 'top' | 'bottom';
13
+ horizontal: 'left' | 'right';
14
+ };
15
+ children: ReactNode;
16
+ sx?: SxProps<Theme>;
17
+ }
18
+ declare function Badge({ count, dot, color, max, invisible, anchorOrigin, children, sx, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
19
+ declare namespace Badge {
20
+ var displayName: string;
21
+ }
22
+ export default Badge;
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface CardProps {
4
+ title?: string;
5
+ icon?: string | React.ReactNode;
6
+ titleDecorator?: string | number | React.ReactNode;
7
+ children?: React.ReactNode;
8
+ /** MUI Card variant */
9
+ variant?: 'outlined' | 'elevation';
10
+ /** Alias for variant using emphasis naming convention */
11
+ emphasis?: 'outline' | 'solid' | 'soft' | 'ghost';
12
+ /** Ignored - accepted for compat but Card doesn't size */
13
+ size?: string;
14
+ /** Remove body padding (useful when children provide their own) */
15
+ noPadding?: boolean;
16
+ onClick?: React.MouseEventHandler;
17
+ sx?: SxProps<Theme>;
18
+ }
19
+ /**
20
+ * A card with an optional title bar (icon + badge) and content area.
21
+ * When no title is provided, renders as a simple card container.
22
+ */
23
+ export declare const Card: React.FC<CardProps>;
24
+ export default Card;
@@ -0,0 +1,32 @@
1
+ import { ReactNode, ReactElement, CSSProperties } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ import { SemanticColor, Emphasis, ComponentSize, Shape } from '../types';
4
+ export interface ChipProps {
5
+ label?: ReactNode;
6
+ /** Alias for label when used as children */
7
+ children?: ReactNode;
8
+ color?: SemanticColor;
9
+ emphasis?: Emphasis;
10
+ /** Alias for emphasis (maps Joy UI variant names) */
11
+ variant?: 'soft' | 'outlined' | 'solid' | 'plain' | 'filled';
12
+ size?: ComponentSize;
13
+ /** Border-radius preset */
14
+ shape?: Shape;
15
+ /** CSS text-transform value applied to the label */
16
+ textTransform?: CSSProperties['textTransform'];
17
+ icon?: ReactElement;
18
+ /** Alias for icon */
19
+ startAdornment?: ReactNode;
20
+ /** Trailing content */
21
+ endAdornment?: ReactNode;
22
+ deletable?: boolean;
23
+ onDelete?: () => void;
24
+ onClick?: () => void;
25
+ disabled?: boolean;
26
+ sx?: SxProps<Theme>;
27
+ }
28
+ declare function Chip({ label, children, color, emphasis, variant, size, shape, textTransform, icon, startAdornment, endAdornment: _endAdornment, deletable, onDelete, onClick, disabled, sx, }: ChipProps): import("react/jsx-runtime").JSX.Element;
29
+ declare namespace Chip {
30
+ var displayName: string;
31
+ }
32
+ export default Chip;
@@ -0,0 +1,14 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface ClipboardTextProps {
3
+ value: string;
4
+ truncate?: boolean;
5
+ maxWidth?: number | string;
6
+ sx?: SxProps<Theme>;
7
+ /** "mono" renders with monospace font (default); "inherit" inherits parent styling */
8
+ variant?: 'mono' | 'inherit';
9
+ }
10
+ declare function ClipboardText({ value, truncate, maxWidth, sx, variant, }: ClipboardTextProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace ClipboardText {
12
+ var displayName: string;
13
+ }
14
+ export default ClipboardText;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ export interface DetailsCardEntry {
3
+ key: string;
4
+ value: string;
5
+ icon?: string | React.ReactNode;
6
+ ratio?: [number, number];
7
+ used?: string;
8
+ defaultValue?: string;
9
+ endAdornment?: React.ReactNode;
10
+ startAdornment?: React.ReactNode;
11
+ }
12
+ export interface DetailsCardProps {
13
+ title?: string;
14
+ titleSize?: "sm" | "md" | "lg";
15
+ icon?: string | React.ReactNode;
16
+ data: DetailsCardEntry[];
17
+ endAdornment?: React.ReactNode;
18
+ /** Show the kv pair even if the value is undefined */
19
+ showUndefined?: boolean;
20
+ }
21
+ /**
22
+ * A card for showing key-value pairs of details with icons and grid ratios.
23
+ */
24
+ export declare const DetailsCard: React.FC<DetailsCardProps>;
25
+ export default DetailsCard;
@@ -0,0 +1,12 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface EmptySearchProps {
3
+ query: string;
4
+ suggestions?: string[];
5
+ onSuggestionClick?: (suggestion: string) => void;
6
+ sx?: SxProps<Theme>;
7
+ }
8
+ declare function EmptySearch({ query, suggestions, onSuggestionClick, sx, }: EmptySearchProps): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace EmptySearch {
10
+ var displayName: string;
11
+ }
12
+ export default EmptySearch;
@@ -0,0 +1,51 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface ExpandableSection {
4
+ /** Unique key for the section (falls back to index) */
5
+ key?: string;
6
+ /** Icon: string name resolved via Icon component, or ReactNode */
7
+ icon?: string | React.ReactNode;
8
+ /** Title text or ReactNode */
9
+ title: string | React.ReactNode;
10
+ /** Optional count displayed as a small badge after the title */
11
+ count?: number;
12
+ /** Trailing content in the header row (status chips, action buttons, etc.) */
13
+ endDecorator?: React.ReactNode;
14
+ /** Expandable body content */
15
+ children: React.ReactNode;
16
+ /** Whether section starts expanded */
17
+ defaultExpanded?: boolean;
18
+ /** Controlled expanded state (overrides defaultExpanded) */
19
+ expanded?: boolean;
20
+ /** Callback when expanded state changes */
21
+ onExpandedChange?: (expanded: boolean) => void;
22
+ /** Disable this section */
23
+ disabled?: boolean;
24
+ }
25
+ export interface ExpandableSectionsProps {
26
+ sections: ExpandableSection[];
27
+ /** Visual variant */
28
+ variant?: "bordered" | "plain" | "flush";
29
+ /** Size/density */
30
+ size?: "sm" | "md" | "lg";
31
+ /** Use monospace font for titles */
32
+ monospace?: boolean;
33
+ /** Allow only one section open at a time */
34
+ exclusive?: boolean;
35
+ /** sx overrides on the root container */
36
+ sx?: SxProps<Theme>;
37
+ }
38
+ declare function ExpandableSections({ sections, variant, size, monospace, exclusive, sx, }: ExpandableSectionsProps): React.ReactElement;
39
+ declare namespace ExpandableSections {
40
+ var displayName: string;
41
+ }
42
+ export default ExpandableSections;
43
+ export type ExpandableSectionStandaloneProps = ExpandableSection & {
44
+ variant?: "bordered" | "plain" | "flush";
45
+ size?: "sm" | "md" | "lg";
46
+ monospace?: boolean;
47
+ };
48
+ export declare function ExpandableSectionComponent({ variant, size, monospace, ...section }: ExpandableSectionStandaloneProps): React.ReactElement;
49
+ export declare namespace ExpandableSectionComponent {
50
+ var displayName: string;
51
+ }
@@ -0,0 +1,12 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { ComponentSize } from '../types';
3
+ export interface FileIconProps {
4
+ filename: string;
5
+ size?: ComponentSize;
6
+ sx?: SxProps<Theme>;
7
+ }
8
+ declare function FileIcon({ filename, size, sx, }: FileIconProps): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace FileIcon {
10
+ var displayName: string;
11
+ }
12
+ export default FileIcon;
@@ -0,0 +1,8 @@
1
+ export interface HotkeyHintProps {
2
+ keys: string[];
3
+ }
4
+ declare function HotkeyHint({ keys }: HotkeyHintProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace HotkeyHint {
6
+ var displayName: string;
7
+ }
8
+ export default HotkeyHint;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { IconBaseProps } from 'react-icons/lib';
3
+ type NamedIconProps = {
4
+ name: string;
5
+ } & IconBaseProps;
6
+ export declare const Icon: React.FC<NamedIconProps>;
7
+ export default Icon;
@@ -0,0 +1,14 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ import { ComponentSize } from '../types';
3
+ export interface InlineEditProps {
4
+ value: string;
5
+ onSave: (value: string) => void;
6
+ placeholder?: string;
7
+ size?: ComponentSize;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ declare function InlineEdit({ value, onSave, placeholder, size, sx, }: InlineEditProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace InlineEdit {
12
+ var displayName: string;
13
+ }
14
+ export default InlineEdit;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ interface KVCardProps {
3
+ title: string;
4
+ kvs: Record<string, string>;
5
+ defaultExpanded?: boolean;
6
+ }
7
+ /**
8
+ * An accordion card for displaying key-value pairs.
9
+ */
10
+ declare const KVCard: React.FC<KVCardProps>;
11
+ export { type KVCardProps };
12
+ export default KVCard;
@@ -0,0 +1,8 @@
1
+ export interface KbdProps {
2
+ shortcut: string;
3
+ }
4
+ declare function Kbd({ shortcut }: KbdProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace Kbd {
6
+ var displayName: string;
7
+ }
8
+ export default Kbd;
@@ -0,0 +1,29 @@
1
+ import { ReactNode } from 'react';
2
+ import { default as MuiListSubheader } from '@mui/material/ListSubheader';
3
+ import { SxProps, Theme } from '@mui/material/styles';
4
+ import { ComponentSize } from '../types';
5
+ export interface ListProps {
6
+ children: ReactNode;
7
+ size?: ComponentSize;
8
+ /** Optional subheader text */
9
+ subheader?: string;
10
+ /** Dense rendering */
11
+ dense?: boolean;
12
+ /** Disable default padding */
13
+ disablePadding?: boolean;
14
+ sx?: SxProps<Theme>;
15
+ }
16
+ declare function List({ children, size, subheader, dense, disablePadding, sx, }: ListProps): import("react/jsx-runtime").JSX.Element;
17
+ declare namespace List {
18
+ var displayName: string;
19
+ }
20
+ export default List;
21
+ /** Re-export MUI ListSubheader for direct use */
22
+ export { MuiListSubheader as ListSubheader };
23
+ /** Simple list divider */
24
+ export declare function ListDivider({ sx }: {
25
+ sx?: SxProps<Theme>;
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ export declare namespace ListDivider {
28
+ var displayName: string;
29
+ }
@@ -0,0 +1,30 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface ListCardItem {
4
+ key: string;
5
+ label: string;
6
+ icon?: React.ReactNode;
7
+ secondary?: string;
8
+ trailing?: React.ReactNode;
9
+ onClick?: () => void;
10
+ }
11
+ export interface ListCardProps {
12
+ /** Card header title */
13
+ title: string;
14
+ /** Icon in the header */
15
+ icon?: React.ReactNode;
16
+ /** Header right-side element (e.g. a count badge or action button) */
17
+ headerAction?: React.ReactNode;
18
+ /** List items */
19
+ items: ListCardItem[];
20
+ /** Max visible items before scrolling */
21
+ maxVisible?: number;
22
+ /** Shown when items is empty */
23
+ emptyMessage?: string;
24
+ sx?: SxProps<Theme>;
25
+ }
26
+ declare function ListCard({ title, icon, headerAction, items, maxVisible, emptyMessage, sx, }: ListCardProps): import("react/jsx-runtime").JSX.Element;
27
+ declare namespace ListCard {
28
+ var displayName: string;
29
+ }
30
+ export default ListCard;
@@ -0,0 +1,27 @@
1
+ import { ReactNode, MouseEventHandler } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface ListItemProps {
4
+ children?: ReactNode;
5
+ /** Primary text label */
6
+ primary?: ReactNode;
7
+ /** Secondary text line */
8
+ secondary?: ReactNode;
9
+ /** Leading icon or decorator */
10
+ icon?: ReactNode;
11
+ /** Trailing action element */
12
+ action?: ReactNode;
13
+ /** Whether this item is selected */
14
+ selected?: boolean;
15
+ /** Whether this item is disabled */
16
+ disabled?: boolean;
17
+ /** Click handler — when provided, renders as a button */
18
+ onClick?: MouseEventHandler;
19
+ /** Nested content (renders children below the item text) */
20
+ nested?: boolean;
21
+ sx?: SxProps<Theme>;
22
+ }
23
+ declare function ListItem({ children, primary, secondary, icon, action, selected, disabled, onClick, sx, }: ListItemProps): import("react/jsx-runtime").JSX.Element;
24
+ declare namespace ListItem {
25
+ var displayName: string;
26
+ }
27
+ export default ListItem;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface LoadingOverlayProps {
4
+ active: boolean;
5
+ children: React.ReactNode;
6
+ label?: string;
7
+ blur?: boolean;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ declare function LoadingOverlay({ active, children, label, blur, sx, }: LoadingOverlayProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace LoadingOverlay {
12
+ var displayName: string;
13
+ }
14
+ export default LoadingOverlay;
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface MediaCardProps {
4
+ /** Image URL or ReactNode for the media area */
5
+ media: string | React.ReactNode;
6
+ /** Media area height in px */
7
+ mediaHeight?: number;
8
+ /** Card title */
9
+ title: string;
10
+ /** Short description */
11
+ description?: string;
12
+ /** Small metadata line (e.g. author, date) */
13
+ meta?: string | React.ReactNode;
14
+ /** Action buttons rendered at the bottom */
15
+ actions?: React.ReactNode;
16
+ /** Click handler for the entire card */
17
+ onClick?: () => void;
18
+ sx?: SxProps<Theme>;
19
+ }
20
+ declare function MediaCard({ media, mediaHeight, title, description, meta, actions, onClick, sx, }: MediaCardProps): import("react/jsx-runtime").JSX.Element;
21
+ declare namespace MediaCard {
22
+ var displayName: string;
23
+ }
24
+ export default MediaCard;
@@ -0,0 +1,37 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ /** Represents a single current metric value to display. */
4
+ export interface MetricValue {
5
+ metricID: string;
6
+ name: string;
7
+ value: number;
8
+ unit: string;
9
+ icon?: string;
10
+ /** Optional capacity to compute percentage for gauge display */
11
+ capacity?: number;
12
+ /** Optional color for the metric accent */
13
+ color?: string;
14
+ }
15
+ /** A provider group of metric values. */
16
+ export interface MetricProviderGroup {
17
+ providerID: string;
18
+ providerName: string;
19
+ providerIcon?: string;
20
+ metrics: MetricValue[];
21
+ }
22
+ export interface MetricsSectionProps {
23
+ /** Grouped metric data from providers. */
24
+ providers: MetricProviderGroup[];
25
+ /** Whether data is currently loading. */
26
+ isLoading?: boolean;
27
+ /** Error message, if any. */
28
+ error?: string | null;
29
+ /** Override container styles. */
30
+ sx?: SxProps<Theme>;
31
+ }
32
+ /**
33
+ * MetricsSection renders metric data from one or more providers.
34
+ * Designed to be dropped into any resource sidebar.
35
+ */
36
+ export declare const MetricsSection: React.FC<MetricsSectionProps>;
37
+ export default MetricsSection;
@@ -0,0 +1,12 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface OverflowTextProps {
3
+ children: string;
4
+ maxWidth?: number | string;
5
+ copyOnClick?: boolean;
6
+ sx?: SxProps<Theme>;
7
+ }
8
+ declare function OverflowText({ children, maxWidth, copyOnClick, sx, }: OverflowTextProps): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace OverflowText {
10
+ var displayName: string;
11
+ }
12
+ export default OverflowText;
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ import { SemanticColor } from '../types';
4
+ export interface StatCardProps {
5
+ /** The large metric value (e.g. "42", "99.9%", "3.2s") */
6
+ value: string | number;
7
+ /** Label beneath the value */
8
+ label: string;
9
+ /** Optional description text */
10
+ description?: string;
11
+ /** Icon displayed in the top-right corner */
12
+ icon?: React.ReactNode;
13
+ /** Trend indicator: positive = up/green, negative = down/red, zero = neutral */
14
+ trend?: {
15
+ value: number;
16
+ label?: string;
17
+ };
18
+ /** Accent color for the value and trend */
19
+ color?: SemanticColor;
20
+ sx?: SxProps<Theme>;
21
+ }
22
+ declare function StatCard({ value, label, description, icon, trend, color, sx, }: StatCardProps): import("react/jsx-runtime").JSX.Element;
23
+ declare namespace StatCard {
24
+ var displayName: string;
25
+ }
26
+ export default StatCard;
@@ -0,0 +1,29 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ import { Status } from '../types';
4
+ export interface StatusCardMeta {
5
+ label: string;
6
+ value: string | React.ReactNode;
7
+ }
8
+ export interface StatusCardProps {
9
+ /** Resource or service name */
10
+ title: string;
11
+ /** Icon in the header */
12
+ icon?: React.ReactNode;
13
+ /** Current status */
14
+ status: Status;
15
+ /** Human-readable status label (defaults to status value) */
16
+ statusLabel?: string;
17
+ /** Optional description or summary */
18
+ description?: string;
19
+ /** Key-value metadata rows displayed below */
20
+ metadata?: StatusCardMeta[];
21
+ /** Action elements in the header */
22
+ headerAction?: React.ReactNode;
23
+ sx?: SxProps<Theme>;
24
+ }
25
+ declare function StatusCard({ title, icon, status, statusLabel, description, metadata, headerAction, sx, }: StatusCardProps): import("react/jsx-runtime").JSX.Element;
26
+ declare namespace StatusCard {
27
+ var displayName: string;
28
+ }
29
+ export default StatusCard;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material/styles';
3
+ export interface TruncatedListProps {
4
+ items: React.ReactNode[];
5
+ maxVisible?: number;
6
+ renderItem?: (item: React.ReactNode, index: number) => React.ReactNode;
7
+ sx?: SxProps<Theme>;
8
+ }
9
+ declare function TruncatedList({ items, maxVisible, renderItem, sx, }: TruncatedListProps): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace TruncatedList {
11
+ var displayName: string;
12
+ }
13
+ export default TruncatedList;
@@ -0,0 +1,12 @@
1
+ import { ComponentSize } from '../types';
2
+ import { DescriptionItem } from './types';
3
+ export interface DescriptionListProps {
4
+ items: DescriptionItem[];
5
+ columns?: 1 | 2 | 3;
6
+ size?: ComponentSize;
7
+ }
8
+ declare function DescriptionList({ items, columns, size, }: DescriptionListProps): import("react/jsx-runtime").JSX.Element;
9
+ declare namespace DescriptionList {
10
+ var displayName: string;
11
+ }
12
+ export default DescriptionList;
@@ -0,0 +1,11 @@
1
+ import { KubeEvent } from './types';
2
+ export interface EventsListProps {
3
+ events: KubeEvent[];
4
+ loading?: boolean;
5
+ groupBy?: 'object' | 'time';
6
+ }
7
+ declare function EventsList({ events, loading, }: EventsListProps): import("react/jsx-runtime").JSX.Element;
8
+ declare namespace EventsList {
9
+ var displayName: string;
10
+ }
11
+ export default EventsList;
@@ -0,0 +1,23 @@
1
+ import { SxProps, Theme } from '@mui/material/styles';
2
+ export interface FilterDef {
3
+ key: string;
4
+ label: string;
5
+ type: 'text' | 'select';
6
+ options?: string[];
7
+ placeholder?: string;
8
+ }
9
+ export interface ActiveFilter {
10
+ key: string;
11
+ value: string;
12
+ }
13
+ export interface FilterBarProps {
14
+ filters: FilterDef[];
15
+ activeFilters: ActiveFilter[];
16
+ onChange: (filters: ActiveFilter[]) => void;
17
+ sx?: SxProps<Theme>;
18
+ }
19
+ declare function FilterBar({ filters, activeFilters, onChange, sx, }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
20
+ declare namespace FilterBar {
21
+ var displayName: string;
22
+ }
23
+ export default FilterBar;
@@ -0,0 +1,15 @@
1
+ import { LogLine } from './types';
2
+ export interface LogsViewerProps {
3
+ lines: LogLine[];
4
+ follow?: boolean;
5
+ onFollow?: (follow: boolean) => void;
6
+ wrap?: boolean;
7
+ timestamps?: boolean;
8
+ maxLines?: number;
9
+ severity?: 'info' | 'warn' | 'error' | 'debug';
10
+ }
11
+ declare function LogsViewer({ lines, follow, wrap, timestamps, maxLines, severity, }: LogsViewerProps): import("react/jsx-runtime").JSX.Element;
12
+ declare namespace LogsViewer {
13
+ var displayName: string;
14
+ }
15
+ export default LogsViewer;
@@ -0,0 +1,14 @@
1
+ export interface MetricCardProps {
2
+ label: string;
3
+ value: string | number;
4
+ unit?: string;
5
+ delta?: number;
6
+ deltaDirection?: 'up' | 'down' | 'neutral';
7
+ sparkline?: React.ReactNode;
8
+ loading?: boolean;
9
+ }
10
+ declare function MetricCard({ label, value, unit, delta, deltaDirection, sparkline, loading, }: MetricCardProps): import("react/jsx-runtime").JSX.Element;
11
+ declare namespace MetricCard {
12
+ var displayName: string;
13
+ }
14
+ export default MetricCard;