@odigos/ui-kit 0.0.285 → 0.0.286-dev.520

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 (136) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/docs/api-context.md +1 -1
  3. package/lib/chunks/{helpers-C5bkjRbO.js → helpers-B0SJ6hqm.js} +2 -2
  4. package/lib/chunks/index-9H2LDuOq.js +311 -0
  5. package/lib/chunks/source-instrument-form-context-BF70uJ_R.js +5 -0
  6. package/lib/chunks/ui-components-DqG0z5U0.js +1878 -0
  7. package/lib/components/_cards/data-card/index.d.ts +6 -1
  8. package/lib/components/_cards/text-card/index.d.ts +3 -0
  9. package/lib/components/drawer/header/index.d.ts +2 -0
  10. package/lib/components/hover-actions/index.d.ts +1 -1
  11. package/lib/components/index.d.ts +2 -0
  12. package/lib/components/info-row/index.d.ts +11 -0
  13. package/lib/components/input/index.d.ts +2 -0
  14. package/lib/components/table/index.d.ts +10 -0
  15. package/lib/components/table/styled.d.ts +11 -0
  16. package/lib/components/table/table-rows/index.d.ts +6 -1
  17. package/lib/components/table/types.d.ts +11 -2
  18. package/lib/components/trace-view/index.d.ts +4 -0
  19. package/lib/components/trace-view/styled.d.ts +43 -0
  20. package/lib/components/trace-view/types.d.ts +46 -0
  21. package/lib/components.js +1 -1
  22. package/lib/constants.js +1 -1
  23. package/lib/containers/_drawers/edit-source-drawer/overview/runtime-card.d.ts +5 -2
  24. package/lib/containers/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +1 -7
  25. package/lib/containers/index.d.ts +1 -0
  26. package/lib/containers/insights/consts.d.ts +6 -0
  27. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/animated-edge.d.ts +10 -0
  28. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/blast-radius-node.d.ts +6 -0
  29. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/helpers.d.ts +28 -0
  30. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/index.d.ts +7 -0
  31. package/lib/containers/insights/findings/drawer/anomaly/anomaly-blast-radius/types.d.ts +19 -0
  32. package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/helpers.d.ts +15 -0
  33. package/lib/containers/insights/findings/drawer/anomaly/anomaly-trace-compare/index.d.ts +7 -0
  34. package/lib/containers/insights/findings/drawer/anomaly/index.d.ts +15 -0
  35. package/lib/containers/insights/findings/drawer/anomaly/why-this-fired/index.d.ts +6 -0
  36. package/lib/containers/insights/findings/drawer/helpers.d.ts +11 -0
  37. package/lib/containers/insights/findings/drawer/index.d.ts +6 -0
  38. package/lib/containers/insights/findings/drawer/violation/index.d.ts +6 -0
  39. package/lib/containers/insights/findings/drawer/violation/violation-trace-view/index.d.ts +8 -0
  40. package/lib/containers/insights/findings/helpers.d.ts +47 -0
  41. package/lib/containers/insights/findings/index.d.ts +2 -0
  42. package/lib/containers/insights/index.d.ts +6 -0
  43. package/lib/containers/insights/insights-context.d.ts +44 -0
  44. package/lib/containers/insights/overview/contained-table-and-heading/index.d.ts +18 -0
  45. package/lib/containers/insights/overview/index.d.ts +6 -0
  46. package/lib/containers/insights/settings-and-configurations/constants.d.ts +16 -0
  47. package/lib/containers/insights/settings-and-configurations/content-panel/index.d.ts +11 -0
  48. package/lib/containers/insights/settings-and-configurations/index.d.ts +2 -0
  49. package/lib/containers/insights/settings-and-configurations/menu-config.d.ts +24 -0
  50. package/lib/containers/insights/settings-and-configurations/panels/detection/constants.d.ts +40 -0
  51. package/lib/containers/insights/settings-and-configurations/panels/detection/create-override-panel.d.ts +14 -0
  52. package/lib/containers/insights/settings-and-configurations/panels/detection/index.d.ts +2 -0
  53. package/lib/containers/insights/settings-and-configurations/panels/detection/mappers.d.ts +12 -0
  54. package/lib/containers/insights/settings-and-configurations/panels/detection/mock.d.ts +4 -0
  55. package/lib/containers/insights/settings-and-configurations/panels/detection/policies-menu.d.ts +10 -0
  56. package/lib/containers/insights/settings-and-configurations/panels/detection/policy-editor.d.ts +8 -0
  57. package/lib/containers/insights/settings-and-configurations/panels/detection/policy-list-item.d.ts +8 -0
  58. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-levels.d.ts +15 -0
  59. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/constants.d.ts +16 -0
  60. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/default-catalog.d.ts +3 -0
  61. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/helpers.d.ts +30 -0
  62. package/lib/containers/insights/settings-and-configurations/panels/detection/risk-model-drawer/index.d.ts +10 -0
  63. package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights-panel.d.ts +13 -0
  64. package/lib/containers/insights/settings-and-configurations/panels/detection/signal-weights.d.ts +17 -0
  65. package/lib/containers/insights/settings-and-configurations/panels/detection/types.d.ts +29 -0
  66. package/lib/containers/insights/settings-and-configurations/panels/guardrails/constants.d.ts +35 -0
  67. package/lib/containers/insights/settings-and-configurations/panels/guardrails/create-panel.d.ts +17 -0
  68. package/lib/containers/insights/settings-and-configurations/panels/guardrails/edit-panel.d.ts +10 -0
  69. package/lib/containers/insights/settings-and-configurations/panels/guardrails/facet-section.d.ts +13 -0
  70. package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrail-list-item.d.ts +8 -0
  71. package/lib/containers/insights/settings-and-configurations/panels/guardrails/guardrails-menu.d.ts +9 -0
  72. package/lib/containers/insights/settings-and-configurations/panels/guardrails/index.d.ts +2 -0
  73. package/lib/containers/insights/settings-and-configurations/panels/guardrails/mappers.d.ts +18 -0
  74. package/lib/containers/insights/settings-and-configurations/panels/guardrails/types.d.ts +10 -0
  75. package/lib/containers/insights/settings-and-configurations/panels/learning/constants.d.ts +82 -0
  76. package/lib/containers/insights/settings-and-configurations/panels/learning/create-override-panel.d.ts +21 -0
  77. package/lib/containers/insights/settings-and-configurations/panels/learning/index.d.ts +2 -0
  78. package/lib/containers/insights/settings-and-configurations/panels/learning/mappers.d.ts +38 -0
  79. package/lib/containers/insights/settings-and-configurations/panels/learning/policies-menu.d.ts +10 -0
  80. package/lib/containers/insights/settings-and-configurations/panels/learning/policy-editor.d.ts +9 -0
  81. package/lib/containers/insights/settings-and-configurations/panels/learning/policy-list-item.d.ts +8 -0
  82. package/lib/containers/insights/settings-and-configurations/panels/learning/types.d.ts +31 -0
  83. package/lib/containers/insights/settings-and-configurations/panels/storage/constants.d.ts +52 -0
  84. package/lib/containers/insights/settings-and-configurations/panels/storage/formatters.d.ts +5 -0
  85. package/lib/containers/insights/settings-and-configurations/panels/storage/index.d.ts +2 -0
  86. package/lib/containers/insights/settings-and-configurations/panels/storage/layout.d.ts +18 -0
  87. package/lib/containers/insights/settings-and-configurations/panels/storage/mappers.d.ts +27 -0
  88. package/lib/containers/insights/settings-and-configurations/panels/system/constants.d.ts +31 -0
  89. package/lib/containers/insights/settings-and-configurations/panels/system/index.d.ts +2 -0
  90. package/lib/containers/insights/settings-and-configurations/settings-menu/category-header.d.ts +8 -0
  91. package/lib/containers/insights/settings-and-configurations/settings-menu/index.d.ts +7 -0
  92. package/lib/containers/insights/transactions/drawer/baselines/helpers.d.ts +16 -0
  93. package/lib/containers/insights/transactions/drawer/baselines/index.d.ts +5 -0
  94. package/lib/containers/insights/transactions/drawer/index.d.ts +2 -0
  95. package/lib/containers/insights/transactions/drawer/observations/helpers.d.ts +11 -0
  96. package/lib/containers/insights/transactions/drawer/observations/index.d.ts +5 -0
  97. package/lib/containers/insights/transactions/helpers.d.ts +35 -0
  98. package/lib/containers/insights/transactions/index.d.ts +2 -0
  99. package/lib/containers.js +1381 -261
  100. package/lib/contexts/odigos-api/capabilities.d.ts +2 -0
  101. package/lib/contexts/odigos-api/hooks/use-insights-api.d.ts +153 -0
  102. package/lib/contexts/odigos-api/index.d.ts +2 -1
  103. package/lib/contexts/odigos-api/internal/notify.d.ts +4 -3
  104. package/lib/contexts/odigos-api/types.d.ts +201 -1
  105. package/lib/contexts/odigos-api/use-odigos-api.d.ts +2 -0
  106. package/lib/contexts.js +1 -1
  107. package/lib/functions/index.d.ts +1 -0
  108. package/lib/functions/parse-raw-otlp/index.d.ts +43 -0
  109. package/lib/functions.js +1 -1
  110. package/lib/hooks/useCopy.d.ts +2 -3
  111. package/lib/hooks/useTimeAgo.d.ts +4 -0
  112. package/lib/hooks.js +1 -1
  113. package/lib/icons/common/index.d.ts +3 -0
  114. package/lib/icons/common/insights-findings-icon/index.d.ts +2 -0
  115. package/lib/icons/common/insights-transactions-icon/index.d.ts +2 -0
  116. package/lib/icons/common/threat-detection-icon/index.d.ts +2 -0
  117. package/lib/icons/overview/index.d.ts +1 -0
  118. package/lib/icons/overview/insights-icon/index.d.ts +2 -0
  119. package/lib/icons.js +1 -1
  120. package/lib/snippets/code-modal/index.d.ts +9 -0
  121. package/lib/snippets/index.d.ts +1 -0
  122. package/lib/snippets/trace-modal/index.d.ts +8 -0
  123. package/lib/snippets.js +1 -1
  124. package/lib/store.js +1 -1
  125. package/lib/theme/palettes/index.d.ts +7 -1
  126. package/lib/theme.js +1 -1
  127. package/lib/types/common/index.d.ts +2 -0
  128. package/lib/types/index.d.ts +1 -0
  129. package/lib/types/insights/index.d.ts +598 -0
  130. package/lib/types/workload/index.d.ts +14 -0
  131. package/lib/types.js +1 -1
  132. package/lib/visuals.js +1 -1
  133. package/package.json +1 -1
  134. package/lib/chunks/index-DBZ1mLhG.js +0 -298
  135. package/lib/chunks/source-instrument-form-context-CnRKQq6W.js +0 -5
  136. package/lib/chunks/ui-components-Ci-Vq1Dl.js +0 -1620
@@ -1,6 +1,7 @@
1
1
  import { type ReactNode, type FC, type CSSProperties } from 'react';
2
- import { DefaultTheme } from 'styled-components';
2
+ import { type TagProps } from '../../tag';
3
3
  import { type BadgeProps } from '../../badge';
4
+ import { DefaultTheme } from 'styled-components';
4
5
  import { type ActionsProps } from '../../../snippets/actions';
5
6
  import { type DropDataProps } from '../../drop-data';
6
7
  import { type RichTitleProps } from '../../../snippets/rich-title';
@@ -10,6 +11,7 @@ export interface DataCardProps {
10
11
  width?: CSSProperties['width'];
11
12
  fullHeight?: boolean;
12
13
  moreSpacing?: boolean;
14
+ overflow?: CSSProperties['overflow'];
13
15
  richTitle?: RichTitleProps;
14
16
  withCollapse?: boolean;
15
17
  collapseIsDefaultOpen?: boolean;
@@ -32,8 +34,11 @@ export interface DataCardProps {
32
34
  labelTooltip?: string;
33
35
  withCopy?: boolean;
34
36
  badge?: BadgeProps;
37
+ tag?: TagProps;
35
38
  }[];
36
39
  children?: ReactNode;
40
+ onClick?: () => void;
41
+ clickStylesRemainActive?: boolean;
37
42
  }
38
43
  export declare const DataCard: FC<DataCardProps>;
39
44
  export {};
@@ -1,12 +1,15 @@
1
1
  import { type FC } from 'react';
2
+ import { type DefaultTheme } from 'styled-components';
2
3
  interface Cell {
3
4
  value: string;
4
5
  label?: string;
5
6
  isLoading?: boolean;
6
7
  }
8
+ type BgTint = keyof DefaultTheme['v2']['colors']['silver'];
7
9
  export interface TextCardProps {
8
10
  title: string;
9
11
  cells: Cell[];
12
+ bgTint?: BgTint;
10
13
  }
11
14
  export declare const TextCard: FC<TextCardProps>;
12
15
  export {};
@@ -1,5 +1,6 @@
1
1
  import { type FC } from 'react';
2
2
  import type { SVG } from '../../../types';
3
+ import { type TagProps } from '../../tag';
3
4
  import { type BadgeProps } from '../../badge';
4
5
  import { type ToggleProps } from '../../toggle';
5
6
  import { type DropDataProps } from '../../drop-data';
@@ -9,6 +10,7 @@ export interface HeaderProps {
9
10
  title?: string;
10
11
  titleBadges?: BadgeProps[];
11
12
  subTitle?: string;
13
+ subTitleTags?: TagProps[];
12
14
  toggleProps?: ToggleProps;
13
15
  actions?: (DropDataProps['items'][number] & {
14
16
  active?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { type CSSProperties, type FC } from 'react';
2
2
  import { type ButtonProps } from '../button';
3
- export interface HoverAction extends Pick<ButtonProps, 'label' | 'leftIcon' | 'rightIcon' | 'loading' | 'disabled'> {
3
+ export interface HoverAction extends Pick<ButtonProps, 'label' | 'leftIcon' | 'rightIcon' | 'loading' | 'disabled' | 'variant'> {
4
4
  id: string;
5
5
  'data-id'?: string;
6
6
  onClick: () => void;
@@ -20,6 +20,7 @@ export * from './header';
20
20
  export * from './hover-actions';
21
21
  export * from './icon-button';
22
22
  export * from './icon-group';
23
+ export * from './info-row';
23
24
  export * from './input';
24
25
  export * from './input-list';
25
26
  export * from './input-table';
@@ -42,6 +43,7 @@ export * from './textarea';
42
43
  export * from './time-input';
43
44
  export * from './toggle';
44
45
  export * from './tooltip';
46
+ export * from './trace-view';
45
47
  export * from './typography';
46
48
  export * from './typography-truncatable';
47
49
  export * from './warning-modal';
@@ -0,0 +1,11 @@
1
+ import { type FC } from 'react';
2
+ export interface InfoRowProps {
3
+ label: string;
4
+ value?: string | null;
5
+ isStandardLibrary?: boolean | null;
6
+ healthy?: boolean | null;
7
+ message?: string | null;
8
+ }
9
+ /** Single-line row height: 8px padding × 2 + XXS line-height (12+2). */
10
+ export declare const INFO_ROW_HEIGHT_PX = 30;
11
+ export declare const InfoRow: FC<InfoRowProps>;
@@ -9,6 +9,8 @@ export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
9
9
  badge?: BadgeProps;
10
10
  leftIcon?: SVG;
11
11
  rightIcon?: SVG;
12
+ /** Static text rendered inside the control, after the value (e.g. a unit). */
13
+ suffix?: string;
12
14
  hasError?: boolean;
13
15
  maxWidth?: CSSProperties['maxWidth'];
14
16
  width?: CSSProperties['width'];
@@ -6,6 +6,13 @@ export * from './types';
6
6
  export interface TableProps {
7
7
  variant: TableVariant;
8
8
  maxHeight?: CSSProperties['maxHeight'];
9
+ /**
10
+ * Prefer content height over filling the parent. With `maxHeight`, small lists
11
+ * (under 100 rows) size to content under the cap; larger lists use a fixed
12
+ * virtua viewport at `maxHeight`. Without `maxHeight`, rows always render at
13
+ * natural height (no virtualization).
14
+ */
15
+ fitContent?: boolean;
9
16
  headerBackgroundColor?: CSSProperties['backgroundColor'];
10
17
  hideHeader?: boolean;
11
18
  isLoading?: boolean;
@@ -27,5 +34,8 @@ export interface TableProps {
27
34
  activeRowId?: string | null;
28
35
  /** Bump to (re)trigger a scroll to `activeRowId` even when it's unchanged (e.g. the same row was re-selected externally). */
29
36
  scrollSignal?: number;
37
+ /** Controlled accordion: id of the expanded row (`TableRow.id`). Pass with `onExpandedRowIdChange`. */
38
+ expandedRowId?: string | null;
39
+ onExpandedRowIdChange?: (id: string | null) => void;
30
40
  }
31
41
  export declare const Table: FC<TableProps>;
@@ -4,6 +4,9 @@ import { type IStyledComponent } from 'styled-components';
4
4
  type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
5
5
  interface ContainerProps {
6
6
  $maxHeight?: CSSProperties['maxHeight'];
7
+ $fitContent?: boolean;
8
+ /** With `$fitContent` + `$maxHeight`: fixed viewport for virtua. Without it: content height capped by maxHeight. */
9
+ $virtualize?: boolean;
7
10
  }
8
11
  export declare const Container: IStyledComponent<'web', DivProps<ContainerProps>>;
9
12
  interface TableRootProps {
@@ -11,7 +14,14 @@ interface TableRootProps {
11
14
  }
12
15
  export declare const TableRoot: IStyledComponent<'web', DivProps<TableRootProps>>;
13
16
  export declare const THead: IStyledComponent<'web', DivProps>;
17
+ export declare const TBody: IStyledComponent<'web', DivProps>;
14
18
  export declare const Row: IStyledComponent<'web', DivProps>;
19
+ export declare const ExpandableRowItem: IStyledComponent<'web', DivProps>;
20
+ interface ExpandedContentProps {
21
+ $maxHeight?: CSSProperties['maxHeight'];
22
+ }
23
+ /** Caps accordion panel height when the outer body viewport has been measured. */
24
+ export declare const ExpandedContent: IStyledComponent<'web', DivProps<ExpandedContentProps>>;
15
25
  interface ThProps {
16
26
  $variant: TableVariant;
17
27
  $backgroundColor?: CSSProperties['backgroundColor'];
@@ -26,6 +36,7 @@ export declare const Th: IStyledComponent<'web', DivProps<ThProps>>;
26
36
  export declare const ThBorder: IStyledComponent<'web', DivProps>;
27
37
  interface TdProps {
28
38
  $variant: TableVariant;
39
+ $index?: number;
29
40
  $withClick: boolean;
30
41
  $hovered: boolean;
31
42
  $selected: boolean;
@@ -1,6 +1,6 @@
1
1
  import { type FC, type CSSProperties } from 'react';
2
- import { TableColumn, TableRow, TableVariant } from '../types';
3
2
  import { HoverAction } from '../../hover-actions';
3
+ import { TableColumn, TableRow, TableVariant } from '../types';
4
4
  interface TableRowsProps {
5
5
  variant: TableVariant;
6
6
  columns: TableColumn[];
@@ -17,6 +17,11 @@ interface TableRowsProps {
17
17
  scrollToIndex?: number | null;
18
18
  /** Bump to (re)trigger the scroll even when the index is unchanged. */
19
19
  scrollSignal?: number;
20
+ /** When false, render rows at natural height (no ScrollY/virtua). */
21
+ useVirtua?: boolean;
22
+ expandedRowId?: string | null;
23
+ onToggleExpand?: (rowId: string) => void;
24
+ expandedMaxHeight?: CSSProperties['maxHeight'];
20
25
  }
21
26
  export declare const TableRows: FC<TableRowsProps>;
22
27
  export {};
@@ -1,7 +1,11 @@
1
- import { type CSSProperties, type FC } from 'react';
1
+ import { type CSSProperties, type FC, type ReactNode } from 'react';
2
2
  export declare enum TableVariant {
3
+ Pretty = "pretty",
3
4
  Data = "data",
4
- Pretty = "pretty"
5
+ DataSecondary = "dataSecondary"
6
+ }
7
+ export interface TableRowExpandedContentContext {
8
+ maxHeight?: CSSProperties['maxHeight'];
5
9
  }
6
10
  export interface TableColumnFilterOption {
7
11
  id: string;
@@ -40,6 +44,11 @@ export interface TableRow {
40
44
  id?: string;
41
45
  cells: TableRowCell[];
42
46
  onClick?: () => void;
47
+ /**
48
+ * When set, the row becomes an accordion trigger. Content renders below the row when expanded.
49
+ * Prefer a function form to receive the table body `maxHeight` for nested scrollable content.
50
+ */
51
+ expandedContent?: ReactNode | ((ctx: TableRowExpandedContentContext) => ReactNode);
43
52
  isSelected?: boolean;
44
53
  onSelect?: () => void;
45
54
  onDeselect?: () => void;
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import type { TraceViewProps } from './types';
3
+ export type { TraceViewAttribute, TraceViewCorner, TraceViewHeaderBadge, TraceViewMetaChip as TraceViewMetaChipType, TraceViewProps, TraceViewRow, TraceViewRowBadge, TraceViewRowVariant, } from './types';
4
+ export declare const TraceView: FC<TraceViewProps>;
@@ -0,0 +1,43 @@
1
+ import type { TraceViewCorner, TraceViewRowVariant } from './types';
2
+ export declare const TraceViewRoot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
3
+ export declare const TraceViewHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner"> & {
4
+ $corner: TraceViewCorner;
5
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner"> & {
6
+ $corner: TraceViewCorner;
7
+ }, never>>> & string;
8
+ export declare const TraceViewHeaderTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
9
+ export declare const TraceViewMetaChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
10
+ export declare const TraceViewBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner" | "$hasHeader"> & {
11
+ $corner: TraceViewCorner;
12
+ $hasHeader: boolean;
13
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$corner" | "$hasHeader"> & {
14
+ $corner: TraceViewCorner;
15
+ $hasHeader: boolean;
16
+ }, never>>> & string;
17
+ export declare const TraceViewRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$variant" | "$selected" | "$interactive"> & {
18
+ $variant: TraceViewRowVariant;
19
+ $selected: boolean;
20
+ $interactive: boolean;
21
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$variant" | "$selected" | "$interactive"> & {
22
+ $variant: TraceViewRowVariant;
23
+ $selected: boolean;
24
+ $interactive: boolean;
25
+ }, never>>> & string;
26
+ export declare const TraceViewRowMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$depth"> & {
27
+ $depth: number;
28
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$depth"> & {
29
+ $depth: number;
30
+ }, never>>> & string;
31
+ export declare const TraceViewIndex: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
32
+ export declare const TraceViewRowContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
33
+ export declare const TraceViewServiceTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
34
+ export declare const TraceViewServiceTagText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
35
+ export declare const TraceViewNameGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
36
+ export declare const TraceViewDuration: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never> & Partial<Pick<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>, never>>> & string & Omit<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
37
+ export declare const TraceViewInlineBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$tone"> & {
38
+ $tone: "warning" | "danger" | "success";
39
+ }, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$tone"> & {
40
+ $tone: "warning" | "danger" | "success";
41
+ }, never>>> & string;
42
+ export declare const TraceViewPlaceholderBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
43
+ export declare const TraceViewDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -0,0 +1,46 @@
1
+ import type { SVG } from '../../types';
2
+ export type TraceViewRowVariant = 'default' | 'timing' | 'new' | 'placeholder';
3
+ export type TraceViewCorner = 'left' | 'right' | 'both' | 'none';
4
+ export interface TraceViewAttribute {
5
+ key?: string | null;
6
+ value?: string | null;
7
+ }
8
+ export interface TraceViewRowBadge {
9
+ label?: string | null;
10
+ tone?: 'warning' | 'danger' | 'success' | null;
11
+ icon?: SVG | null;
12
+ }
13
+ export interface TraceViewRow {
14
+ /** Stable id used for selection / expand sync across paired views. */
15
+ id: string;
16
+ /** 1-based display index; omit/null for placeholder rows. */
17
+ index?: number | null;
18
+ service?: string | null;
19
+ name?: string | null;
20
+ durationLabel?: string | null;
21
+ depth?: number | null;
22
+ variant?: TraceViewRowVariant | null;
23
+ badge?: TraceViewRowBadge | null;
24
+ scope?: string | null;
25
+ attributes?: TraceViewAttribute[] | null;
26
+ }
27
+ export interface TraceViewMetaChip {
28
+ label: string;
29
+ }
30
+ export interface TraceViewHeaderBadge {
31
+ label: string;
32
+ tone?: 'success' | 'danger' | 'neutral' | null;
33
+ }
34
+ export interface TraceViewProps {
35
+ title?: string;
36
+ titleIcon?: SVG;
37
+ headerBadge?: TraceViewHeaderBadge | null;
38
+ meta?: TraceViewMetaChip[] | null;
39
+ rows?: TraceViewRow[] | null;
40
+ /** Ids of expanded span rows (multi-expand). */
41
+ expandedRowIds?: string[] | null;
42
+ /** Toggle a row id in the expanded set. */
43
+ onToggleRow?: (rowId: string) => void;
44
+ /** Rounding for split/compare layouts. */
45
+ corner?: TraceViewCorner | null;
46
+ }
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{Z as Autocomplete,bH as Badge,B as Button,i as ButtonSize,gZ as ButtonTab,g_ as ButtonTabList,j as ButtonVariants,b0 as CenterThis,C as Checkbox,g$ as CheckboxList,$ as CheckboxSize,cu as CliCommand,b7 as Code,cd as Condition,cf as Conditions,h0 as DEFAULT_TIME_UNITS,z as DataCard,a4 as Divider,D as Drawer,ay as DropData,dG as DropDataAlignX,dF as DropDataAlignY,s as DropDown,h1 as ErrorBoundary,k as FieldMessage,d as FieldTitle,F as FlexColumn,h as FlexRow,fg as GaugeChart,h2 as GaugeChartVariant,h3 as Header,h4 as HoverActions,c4 as IconButton,b6 as IconButtonSize,cz as IconGroup,x as Input,a5 as InputCardTable,w as InputList,I as InputTable,cR as Island,b2 as Loader,dH as Modal,h5 as ModalBody,h6 as Navbar,b1 as NoData,N as Note,h7 as Overlay,bE as Padding,eV as PageContent,as as Radio,cb as RadioCard,h8 as RadioGroup,bM as RadioSize,a$ as ScrollY,b3 as Search,Q as SectionCard,h9 as SectionCardSize,Y as Segment,a6 as SegmentSize,cO as SegmentVariant,bF as SkeletonLoader,ff as StatusCard,eW as Stepper,cP as Table,ha as TableContainer,hb as TableTitleWrap,cQ as TableVariant,hc as TableWrap,H as Tag,ct as TagVariants,u as TextArea,fh as TextCard,r as TimeInput,o as Toggle,hd as ToggleCodeComponent,p as ToggleLabelAlign,he as ToggleList,q as ToggleSize,hf as ToggleVariant,T as Tooltip,bN as TruncatableTypography,e as Typography,f as TypographyColor,g as TypographySize,c7 as TypographyVariants,fi as UpgradeRequiredWrapper,hg as VerticalScroll,W as WarningModal,hh as resolveTypographyColor}from"./chunks/ui-components-Ci-Vq1Dl.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
1
+ export{a3 as Autocomplete,bK as Badge,B as Button,i as ButtonSize,hl as ButtonTab,hm as ButtonTabList,j as ButtonVariants,b6 as CenterThis,w as Checkbox,hn as CheckboxList,a5 as CheckboxSize,cx as CliCommand,C as Code,cf as Condition,ch as Conditions,ho as DEFAULT_TIME_UNITS,m as DataCard,aa as Divider,D as Drawer,aE as DropData,dJ as DropDataAlignX,dI as DropDataAlignY,x as DropDown,hp as ErrorBoundary,k as FieldMessage,d as FieldTitle,F as FlexColumn,h as FlexRow,fc as GaugeChart,fd as GaugeChartVariant,hq as Header,hr as HoverActions,hs as INFO_ROW_HEIGHT_PX,I as IconButton,l as IconButtonSize,cC as IconGroup,cu as InfoRow,H as Input,ab as InputCardTable,G as InputList,z as InputTable,cU as Island,b7 as Loader,M as Modal,ht as ModalBody,hu as Navbar,N as NoData,K as Note,hv as Overlay,bH as Padding,eX as PageContent,ay as Radio,cd as RadioCard,hw as RadioGroup,bP as RadioSize,b5 as ScrollY,b8 as Search,a0 as SectionCard,hx as SectionCardSize,a2 as Segment,ac as SegmentSize,cR as SegmentVariant,bI as SkeletonLoader,fB as StatusCard,fg as Stepper,cS as Table,hy as TableContainer,hz as TableTitleWrap,cT as TableVariant,hA as TableWrap,Q as Tag,cw as TagVariants,y as TextArea,eY as TextCard,v as TimeInput,q as Toggle,hB as ToggleCodeComponent,r as ToggleLabelAlign,hC as ToggleList,s as ToggleSize,hD as ToggleVariant,T as Tooltip,f2 as TraceView,bQ as TruncatableTypography,e as Typography,f as TypographyColor,g as TypographySize,c9 as TypographyVariants,ff as UpgradeRequiredWrapper,hE as VerticalScroll,W as WarningModal,hF as resolveTypographyColor}from"./chunks/ui-components-DqG0z5U0.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{d3 as ACCEPT_RECOMMENDATION_DESCRIPTION,bG as ACTION_CATEGORIES,bs as ACTION_OPTIONS,gs as ACTION_TYPE_TO_CATEGORY,gt as ALL_LANGUAGES_WILDCARD,gu as ALL_SOURCES,c_ as APPLY_VIA_GITOPS_DESCRIPTION,d0 as APPLY_VIA_UI_DESCRIPTION,d4 as BTN_ACCEPT,dj as BTN_CANCEL,dr as BTN_CONTINUE_EDITING,fl as BTN_CREATE_FIRST_RULE,cT as BTN_CREATE_RULE,dm as BTN_DELETE_RULE,d5 as BTN_DISMISS,dd as BTN_DOCS,a7 as BTN_EDIT_AUTO_RULE,dl as BTN_EDIT_RULE,de as BTN_RESTORE,dB as BTN_SAVE,dk as BTN_SAVE_RULE,l as BUTTON_TEXTS,dn as CATEGORY_DESCRIPTIONS,aW as CATEGORY_LABELS,dq as CATEGORY_TITLES,gv as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,gw as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,gx as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,c9 as DEFAULT_CLUSTER_ID,c8 as DEFAULT_CLUSTER_NAME,fc as DEFAULT_DATA_STREAM_NAME,am as DESC_DURATION,gy as DESC_ERRORS,ap as DESC_OPERATION,gz as DESC_PERCENTAGE_HIGHLY_RELEVANT,bZ as DESC_PERCENTAGE_NOISY,aX as DESC_RULE_TYPE,X as DESC_SOURCE_SCOPE,c5 as DESTINATION_CATEGORIES,e_ as DISPLAY_LANGUAGES,m as DISPLAY_TITLES,bO as DOCS_BASE_URL,bx as DestinationCategoryTypes,dx as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,dy as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,dv as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,dw as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,dz as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,dA as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,dp as EDIT_TITLES,dh as EMPTY_SUBTITLE,di as EMPTY_TITLE,aD as EMPTY_VALUE,bk as ERROR_APPLY_RECOMMENDATION,bL as EXTRACTION_FORMAT_COPY,bJ as EXTRACT_ATTRIBUTE_FORM,fj as FILTER_TYPE_ALL,b9 as FORM_ALERTS,d1 as GITOPS_OVERRIDE_WARNING,d6 as INSTALLATION_METHOD_DESCRIPTION,bB as INSTRUMENTATION_RULE_OPTIONS,cZ as LABEL_APPLY_VIA_GITOPS,c$ as LABEL_APPLY_VIA_UI,db as LABEL_BENEFITS,dc as LABEL_CONSIDERATIONS,an as LABEL_CUSTOM_DURATION,c1 as LABEL_CUSTOM_PERCENTAGE,c0 as LABEL_DISABLED,cS as LABEL_DISABLED_RULE,aN as LABEL_DROP_ALL,bW as LABEL_DROP_AT_MOST,b$ as LABEL_ENABLED,d2 as LABEL_ENABLE_RECOMMENDATION,av as LABEL_HTTP_ROUTE,ax as LABEL_HTTP_ROUTE_PREFIX,aA as LABEL_KAFKA_TOPIC,aO as LABEL_KEEP_ALL,aK as LABEL_KEEP_AT_LEAST,aL as LABEL_KEEP_AT_MOST,aJ as LABEL_KEEP_PERCENTAGE,al as LABEL_KEEP_TRACES_DURATION,aj as LABEL_KEEP_TRACES_ERRORS,az as LABEL_METHOD,aS as LABEL_NOTE,a8 as LABEL_NO_PREVIEW,aC as LABEL_OPERATION_TYPE,gA as LABEL_RULE_DISABLED,gB as LABEL_RULE_ENABLED,aQ as LABEL_RULE_NAME,aR as LABEL_RULE_TYPE,aM as LABEL_SAMPLE,ar as LABEL_SERVER_ADDRESS,au as LABEL_TEMPLATED_PATH,aw as LABEL_TEMPLATED_PATH_PREFIX,d8 as LABEL_VIA_GITOPS,d7 as LABEL_VIA_UI,cG as LANGUAGE_OPTIONS,a_ as MONITORS_OPTIONS,E as NOTE_ENTIRE_CLUSTER,L as NOTE_SOURCE_SCOPE_LOGIC,d9 as NOT_APPLICABLE_SUMMARY,gC as OPENTELEMETRY_EBPF_DISTRO_OPTION,aF as OPERATION_ALL,aE as OPERATION_HTTP_CLIENT,aB as OPERATION_HTTP_SERVER,aG as OPERATION_KAFKA_CONSUMER,aH as OPERATION_KAFKA_PRODUCER,cF as OTEL_DISTRO_NAME_OPTIONS,aI as PERCENTAGE_SECTION_DESCRIPTIONS,aU as PLACEHOLDER_NOTE,at as PLACEHOLDER_ROUTE,aT as PLACEHOLDER_RULE_NAME,_ as PLACEHOLDER_SEARCH_SOURCE,aq as PLACEHOLDER_SERVER_ADDRESS,cr as PROCESS_ATTRIBUTE_NAMES,df as RECOMMENDATIONS_DRAWER_SUBTITLE,dg as RECOMMENDATIONS_DRAWER_TITLE,c as REGEX_TESTER_DRAWER,b_ as SAMPLING_AUTO_RULE_TITLE,fr as SAMPLING_BTN_CREATE_RULE,fp as SAMPLING_BTN_DOCS,fq as SAMPLING_BTN_REFRESH,bY as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,ds as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,du as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,dt as SAMPLING_DEFAULT_CONFIRM_TITLE,fu as SAMPLING_DELETE_MODAL_APPROVE,fv as SAMPLING_DELETE_MODAL_CANCEL,fw as SAMPLING_DELETE_MODAL_DESCRIPTION,fx as SAMPLING_DELETE_MODAL_TITLE,dC as SAMPLING_DRAWER_WIDTH,fo as SAMPLING_DUPLICATE_RULE_WARNING,bV as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,er as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,es as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,et as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,eu as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,ev as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,ew as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,ex as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,ey as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,ez as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,eA as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,eC as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,eB as SAMPLING_ONBOARDING_ADVANCED_TITLE,eT as SAMPLING_ONBOARDING_AMBIENT_LABEL,dZ as SAMPLING_ONBOARDING_BTN_GO_TO,dK as SAMPLING_ONBOARDING_BTN_NEXT,eq as SAMPLING_ONBOARDING_BTN_READ_MORE,e8 as SAMPLING_ONBOARDING_BTN_SKIP,e9 as SAMPLING_ONBOARDING_BTN_START,eD as SAMPLING_ONBOARDING_COMMON_BANNER,eS as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,eG as SAMPLING_ONBOARDING_DROP_DESCRIPTION,eF as SAMPLING_ONBOARDING_DROP_SUBTITLE,eE as SAMPLING_ONBOARDING_DROP_TITLE,eJ as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,eI as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,eM as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,eL as SAMPLING_ONBOARDING_KEEP_SUBTITLE,eK as SAMPLING_ONBOARDING_KEEP_TITLE,eN as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,eO as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,eP as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,eQ as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,eR as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,dR as SAMPLING_ONBOARDING_NOISY_BANNER,dN as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,dQ as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,dO as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,dP as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,dM as SAMPLING_ONBOARDING_NOISY_SUBTITLE,dL as SAMPLING_ONBOARDING_NOISY_TITLE,eH as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,dJ as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,en as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,eo as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,ep as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,ek as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,ei as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,ej as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,el as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,em as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,ef as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,ed as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,ee as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,eg as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,eh as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,ec as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,eb as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,ea as SAMPLING_ONBOARDING_STRATEGY_TITLE,dW as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,dX as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,dY as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,dV as SAMPLING_ONBOARDING_SUCCESS_INTRO,dU as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,dT as SAMPLING_ONBOARDING_SUCCESS_TITLE,e7 as SAMPLING_ONBOARDING_WELCOME_BANNER,e0 as SAMPLING_ONBOARDING_WELCOME_INTRO,e1 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,e2 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,e3 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,e4 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,e5 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,e6 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,d$ as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,d_ as SAMPLING_ONBOARDING_WELCOME_TITLE,fs as SAMPLING_PAGE_DESCRIPTION,ft as SAMPLING_PAGE_TITLE,a1 as SCOPE_AND_LABEL,a0 as SCOPE_GROUP_ANY_OF_HINT,K as SCOPE_GROUP_LANGUAGES_TITLE,J as SCOPE_GROUP_NAMESPACES_TITLE,G as SCOPE_GROUP_SOURCES_TITLE,gD as SECTION_APPLIED,gE as SECTION_DISMISSED,ak as SECTION_DURATION,ai as SECTION_ERRORS,bX as SECTION_KEEP_PERCENTAGE,gF as SECTION_NOT_APPLICABLE,ao as SECTION_OPERATION,gG as SECTION_RECOMMENDED,aY as SECTION_SAMPLING_PREVIEW,a2 as SECTION_SOURCE_SCOPE,da as SECTION_TITLES,eZ as STORAGE_KEYS,bl as SUCCESS_APPLIED,bm as SUCCESS_DISMISSED,bn as SUCCESS_RESTORED,fk as TITLE_NO_RESULTS,fm as TITLE_NO_RULES,gH as TOKEN_ABOUT_TO_EXPIRE,aV as TOOLTIP_NOTE,U as UNKNOWN_SOURCE_LABEL,aP as UNNAMED_RULE,cm as canAgentReportPodStartTime,fn as getNoResultsSubTitle,cN as getSourceConditionsForPanel,c2 as getSupportedActionOptions,bT as getSupportedLanguageIcon,bU as getSupportedLanguageLabel,gI as isActionSupportedOnPlatform,gJ as isActionSupportedOnVersion,bQ as isRuleSourceScopeSupported,bi as mapActionTypesToOptions,bp as mapRuleTypesToOptions,bR as normalizeSupportedLanguagesForDisplay,cM as shouldShowSourceConditionsPanel,gK as supportsAllLanguages,bS as toScopeSupportedLanguages}from"./chunks/ui-components-Ci-Vq1Dl.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
1
+ export{d6 as ACCEPT_RECOMMENDATION_DESCRIPTION,bJ as ACTION_CATEGORIES,bv as ACTION_OPTIONS,gP as ACTION_TYPE_TO_CATEGORY,gQ as ALL_LANGUAGES_WILDCARD,gR as ALL_SOURCES,d1 as APPLY_VIA_GITOPS_DESCRIPTION,d3 as APPLY_VIA_UI_DESCRIPTION,d7 as BTN_ACCEPT,dm as BTN_CANCEL,du as BTN_CONTINUE_EDITING,fE as BTN_CREATE_FIRST_RULE,cW as BTN_CREATE_RULE,dq as BTN_DELETE_RULE,d8 as BTN_DISMISS,dg as BTN_DOCS,ad as BTN_EDIT_AUTO_RULE,dp as BTN_EDIT_RULE,dh as BTN_RESTORE,dE as BTN_SAVE,dn as BTN_SAVE_RULE,n as BUTTON_TEXTS,dr as CATEGORY_DESCRIPTIONS,b0 as CATEGORY_LABELS,dt as CATEGORY_TITLES,gS as CREATE_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,gT as CREATE_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,gU as CREATE_NOISY_AUTO_RULE_DRAWER_TITLE,cb as DEFAULT_CLUSTER_ID,ca as DEFAULT_CLUSTER_NAME,fy as DEFAULT_DATA_STREAM_NAME,as as DESC_DURATION,gV as DESC_ERRORS,av as DESC_OPERATION,gW as DESC_PERCENTAGE_HIGHLY_RELEVANT,c0 as DESC_PERCENTAGE_NOISY,b1 as DESC_RULE_TYPE,a1 as DESC_SOURCE_SCOPE,c7 as DESTINATION_CATEGORIES,fk as DISPLAY_LANGUAGES,o as DISPLAY_TITLES,bR as DOCS_BASE_URL,bA as DestinationCategoryTypes,dA as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_SUBTITLE,dB as EDIT_COST_REDUCTION_AUTO_RULE_DRAWER_TITLE,dy as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_SUBTITLE,dz as EDIT_HIGHLY_RELEVANT_AUTO_RULE_DRAWER_TITLE,dC as EDIT_NOISY_AUTO_RULE_DRAWER_SUBTITLE,dD as EDIT_NOISY_AUTO_RULE_DRAWER_TITLE,ds as EDIT_TITLES,dk as EMPTY_SUBTITLE,dl as EMPTY_TITLE,aJ as EMPTY_VALUE,bn as ERROR_APPLY_RECOMMENDATION,bO as EXTRACTION_FORMAT_COPY,bM as EXTRACT_ATTRIBUTE_FORM,fC as FILTER_TYPE_ALL,bb as FORM_ALERTS,d4 as GITOPS_OVERRIDE_WARNING,d9 as INSTALLATION_METHOD_DESCRIPTION,bE as INSTRUMENTATION_RULE_OPTIONS,d0 as LABEL_APPLY_VIA_GITOPS,d2 as LABEL_APPLY_VIA_UI,de as LABEL_BENEFITS,df as LABEL_CONSIDERATIONS,at as LABEL_CUSTOM_DURATION,c4 as LABEL_CUSTOM_PERCENTAGE,c3 as LABEL_DISABLED,cV as LABEL_DISABLED_RULE,aT as LABEL_DROP_ALL,bZ as LABEL_DROP_AT_MOST,c2 as LABEL_ENABLED,d5 as LABEL_ENABLE_RECOMMENDATION,aB as LABEL_HTTP_ROUTE,aD as LABEL_HTTP_ROUTE_PREFIX,aG as LABEL_KAFKA_TOPIC,aU as LABEL_KEEP_ALL,aQ as LABEL_KEEP_AT_LEAST,aR as LABEL_KEEP_AT_MOST,aP as LABEL_KEEP_PERCENTAGE,ar as LABEL_KEEP_TRACES_DURATION,ap as LABEL_KEEP_TRACES_ERRORS,aF as LABEL_METHOD,aY as LABEL_NOTE,ae as LABEL_NO_PREVIEW,aI as LABEL_OPERATION_TYPE,gX as LABEL_RULE_DISABLED,gY as LABEL_RULE_ENABLED,aW as LABEL_RULE_NAME,aX as LABEL_RULE_TYPE,aS as LABEL_SAMPLE,ax as LABEL_SERVER_ADDRESS,aA as LABEL_TEMPLATED_PATH,aC as LABEL_TEMPLATED_PATH_PREFIX,db as LABEL_VIA_GITOPS,da as LABEL_VIA_UI,cJ as LANGUAGE_OPTIONS,b4 as MONITORS_OPTIONS,L as NOTE_ENTIRE_CLUSTER,Z as NOTE_SOURCE_SCOPE_LOGIC,dc as NOT_APPLICABLE_SUMMARY,gZ as OPENTELEMETRY_EBPF_DISTRO_OPTION,aL as OPERATION_ALL,aK as OPERATION_HTTP_CLIENT,aH as OPERATION_HTTP_SERVER,aM as OPERATION_KAFKA_CONSUMER,aN as OPERATION_KAFKA_PRODUCER,cI as OTEL_DISTRO_NAME_OPTIONS,aO as PERCENTAGE_SECTION_DESCRIPTIONS,a_ as PLACEHOLDER_NOTE,az as PLACEHOLDER_ROUTE,aZ as PLACEHOLDER_RULE_NAME,a4 as PLACEHOLDER_SEARCH_SOURCE,aw as PLACEHOLDER_SERVER_ADDRESS,ct as PROCESS_ATTRIBUTE_NAMES,di as RECOMMENDATIONS_DRAWER_SUBTITLE,dj as RECOMMENDATIONS_DRAWER_TITLE,c as REGEX_TESTER_DRAWER,c1 as SAMPLING_AUTO_RULE_TITLE,fK as SAMPLING_BTN_CREATE_RULE,fI as SAMPLING_BTN_DOCS,fJ as SAMPLING_BTN_REFRESH,b$ as SAMPLING_COST_REDUCTION_AUTO_RULE_TITLE,dv as SAMPLING_DEFAULT_CONFIRM_DESCRIPTION,dx as SAMPLING_DEFAULT_CONFIRM_PREVIEW_LABEL,dw as SAMPLING_DEFAULT_CONFIRM_TITLE,fN as SAMPLING_DELETE_MODAL_APPROVE,fO as SAMPLING_DELETE_MODAL_CANCEL,fP as SAMPLING_DELETE_MODAL_DESCRIPTION,fQ as SAMPLING_DELETE_MODAL_TITLE,dF as SAMPLING_DRAWER_WIDTH,fH as SAMPLING_DUPLICATE_RULE_WARNING,bY as SAMPLING_HIGHLY_RELEVANT_AUTO_RULE_TITLE,et as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_1,eu as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_2,ev as SAMPLING_ONBOARDING_ADVANCED_LEFT_BULLET_3,ew as SAMPLING_ONBOARDING_ADVANCED_LEFT_TITLE,ex as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_1,ey as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_2,ez as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_3,eA as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_4,eB as SAMPLING_ONBOARDING_ADVANCED_RIGHT_BULLET_5,eC as SAMPLING_ONBOARDING_ADVANCED_RIGHT_TITLE,eE as SAMPLING_ONBOARDING_ADVANCED_SUBTITLE,eD as SAMPLING_ONBOARDING_ADVANCED_TITLE,eV as SAMPLING_ONBOARDING_AMBIENT_LABEL,d$ as SAMPLING_ONBOARDING_BTN_GO_TO,dM as SAMPLING_ONBOARDING_BTN_NEXT,es as SAMPLING_ONBOARDING_BTN_READ_MORE,ea as SAMPLING_ONBOARDING_BTN_SKIP,eb as SAMPLING_ONBOARDING_BTN_START,eF as SAMPLING_ONBOARDING_COMMON_BANNER,eU as SAMPLING_ONBOARDING_COMMON_RULES_SECTION,eI as SAMPLING_ONBOARDING_DROP_DESCRIPTION,eH as SAMPLING_ONBOARDING_DROP_SUBTITLE,eG as SAMPLING_ONBOARDING_DROP_TITLE,eL as SAMPLING_ONBOARDING_ERROR_PRESET_NAME,eK as SAMPLING_ONBOARDING_ERROR_PRESET_TOGGLE_LABEL,eO as SAMPLING_ONBOARDING_KEEP_DESCRIPTION,eN as SAMPLING_ONBOARDING_KEEP_SUBTITLE,eM as SAMPLING_ONBOARDING_KEEP_TITLE,eP as SAMPLING_ONBOARDING_KEEP_USE_CASE_1,eQ as SAMPLING_ONBOARDING_KEEP_USE_CASE_2,eR as SAMPLING_ONBOARDING_KEEP_USE_CASE_3,eS as SAMPLING_ONBOARDING_KEEP_USE_CASE_4,eT as SAMPLING_ONBOARDING_KEEP_USE_CASE_5,dT as SAMPLING_ONBOARDING_NOISY_BANNER,dP as SAMPLING_ONBOARDING_NOISY_DESCRIPTION,dS as SAMPLING_ONBOARDING_NOISY_PRESET_NAME,dQ as SAMPLING_ONBOARDING_NOISY_PRESET_SECTION,dR as SAMPLING_ONBOARDING_NOISY_PRESET_TOGGLE_LABEL,dO as SAMPLING_ONBOARDING_NOISY_SUBTITLE,dN as SAMPLING_ONBOARDING_NOISY_TITLE,eJ as SAMPLING_ONBOARDING_PRESET_RULES_SECTION,dL as SAMPLING_ONBOARDING_RECOMMENDED_BADGE,ep as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_BADGE,eq as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_DESC,er as SAMPLING_ONBOARDING_STRATEGY_ADVANCED_NAME,em as SAMPLING_ONBOARDING_STRATEGY_DROP_BADGE,ek as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_1,el as SAMPLING_ONBOARDING_STRATEGY_DROP_BULLET_2,en as SAMPLING_ONBOARDING_STRATEGY_DROP_DESC,eo as SAMPLING_ONBOARDING_STRATEGY_DROP_NAME,eh as SAMPLING_ONBOARDING_STRATEGY_KEEP_BADGE,ef as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_1,eg as SAMPLING_ONBOARDING_STRATEGY_KEEP_BULLET_2,ei as SAMPLING_ONBOARDING_STRATEGY_KEEP_DESC,ej as SAMPLING_ONBOARDING_STRATEGY_KEEP_NAME,ee as SAMPLING_ONBOARDING_STRATEGY_KEEP_WARNING,ed as SAMPLING_ONBOARDING_STRATEGY_SUBTITLE,ec as SAMPLING_ONBOARDING_STRATEGY_TITLE,dY as SAMPLING_ONBOARDING_SUCCESS_BULLET_1,dZ as SAMPLING_ONBOARDING_SUCCESS_BULLET_2,d_ as SAMPLING_ONBOARDING_SUCCESS_BULLET_3,dX as SAMPLING_ONBOARDING_SUCCESS_INTRO,dW as SAMPLING_ONBOARDING_SUCCESS_SUBTITLE,dV as SAMPLING_ONBOARDING_SUCCESS_TITLE,e9 as SAMPLING_ONBOARDING_WELCOME_BANNER,e2 as SAMPLING_ONBOARDING_WELCOME_INTRO,e3 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_DESC,e4 as SAMPLING_ONBOARDING_WELCOME_STAGE_1_TITLE,e5 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_DESC,e6 as SAMPLING_ONBOARDING_WELCOME_STAGE_2_TITLE,e7 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_DESC,e8 as SAMPLING_ONBOARDING_WELCOME_STAGE_3_TITLE,e1 as SAMPLING_ONBOARDING_WELCOME_SUBTITLE,e0 as SAMPLING_ONBOARDING_WELCOME_TITLE,fL as SAMPLING_PAGE_DESCRIPTION,fM as SAMPLING_PAGE_TITLE,a7 as SCOPE_AND_LABEL,a6 as SCOPE_GROUP_ANY_OF_HINT,Y as SCOPE_GROUP_LANGUAGES_TITLE,X as SCOPE_GROUP_NAMESPACES_TITLE,O as SCOPE_GROUP_SOURCES_TITLE,g_ as SECTION_APPLIED,g$ as SECTION_DISMISSED,aq as SECTION_DURATION,ao as SECTION_ERRORS,b_ as SECTION_KEEP_PERCENTAGE,h0 as SECTION_NOT_APPLICABLE,au as SECTION_OPERATION,h1 as SECTION_RECOMMENDED,b2 as SECTION_SAMPLING_PREVIEW,a8 as SECTION_SOURCE_SCOPE,dd as SECTION_TITLES,fj as STORAGE_KEYS,bo as SUCCESS_APPLIED,bp as SUCCESS_DISMISSED,bq as SUCCESS_RESTORED,fD as TITLE_NO_RESULTS,fF as TITLE_NO_RULES,h2 as TOKEN_ABOUT_TO_EXPIRE,a$ as TOOLTIP_NOTE,U as UNKNOWN_SOURCE_LABEL,aV as UNNAMED_RULE,co as canAgentReportPodStartTime,fG as getNoResultsSubTitle,cQ as getSourceConditionsForPanel,c5 as getSupportedActionOptions,bW as getSupportedLanguageIcon,bX as getSupportedLanguageLabel,h3 as isActionSupportedOnPlatform,h4 as isActionSupportedOnVersion,bT as isRuleSourceScopeSupported,bk as mapActionTypesToOptions,bs as mapRuleTypesToOptions,bU as normalizeSupportedLanguagesForDisplay,cP as shouldShowSourceConditionsPanel,h5 as supportsAllLanguages,bV as toScopeSupportedLanguages}from"./chunks/ui-components-DqG0z5U0.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"zustand/middleware";import"react-error-boundary";import"virtua";
@@ -6,8 +6,11 @@ export interface RuntimeCardProps {
6
6
  /**
7
7
  * Connector/VM counterpart to the K8s Containers card row: one instrumentation
8
8
  * unit (the source itself) with runtime + instrumented badge and source-level
9
- * runtime/distro overrides. Does not reuse ContainersCard — that component is
10
- * scoped to per-container K8s overrides.
9
+ * runtime/distro overrides.
10
+ *
11
+ * Used for kinds without a container layer (Lambda, process, systemd). When
12
+ * `source.containers` is populated (ECS/Fargate/docker), Overview renders
13
+ * ContainersCard instead — that card owns per-container overrides.
11
14
  *
12
15
  * VM only: nests a per-PID process list from WorkloadReport.instances/processMetadata.
13
16
  */
@@ -1,12 +1,6 @@
1
1
  import { type FC } from 'react';
2
- import { type K8sWorkloadPodContainerProcess, type K8sWorkloadPodContainerProcessInstrumentation } from '../../../../../types';
2
+ import { type K8sWorkloadPodContainerProcess } from '../../../../../types';
3
3
  export declare const ProcessCard: FC<K8sWorkloadPodContainerProcess & {
4
4
  overrideProcessNum?: number;
5
5
  isJumpToTarget?: boolean;
6
6
  }>;
7
- interface InfoRowProps extends Pick<K8sWorkloadPodContainerProcessInstrumentation, 'isStandardLibrary' | 'healthy' | 'message'> {
8
- label: string;
9
- value?: string | null;
10
- }
11
- export declare const InfoRow: FC<InfoRowProps>;
12
- export {};
@@ -2,6 +2,7 @@ export * from './_drawers';
2
2
  export * from './_forms';
3
3
  export * from './_modals';
4
4
  export * from './central-connections';
5
+ export * from './insights';
5
6
  export * from './onboarding';
6
7
  export * from './overview';
7
8
  export * from './pipeline-collectors';
@@ -0,0 +1,6 @@
1
+ export declare enum InsightsTabs {
2
+ Overview = "overview",
3
+ Findings = "findings",
4
+ Transactions = "transactions",
5
+ SettingsAndConfigurations = "settings-and-configurations"
6
+ }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { BlastRadiusEdgeTypes, type BlastRadiusEdgeData } from './types';
3
+ import { type Edge, type EdgeProps } from '@xyflow/react';
4
+ export type BlastRadiusAnimatedEdgeType = Edge<BlastRadiusEdgeData, BlastRadiusEdgeTypes.Animated>;
5
+ /**
6
+ * Packet-stream animation (service-map style). Duration scales with path length.
7
+ * Attacker edges use red track/packets; others keep silver.
8
+ */
9
+ declare const BlastRadiusAnimatedEdgeComponent: React.FC<EdgeProps<BlastRadiusAnimatedEdgeType>>;
10
+ export { BlastRadiusAnimatedEdgeComponent as BlastRadiusAnimatedEdge };
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import { type BlastRadiusServiceNode } from './types';
3
+ import { type NodeProps } from '@xyflow/react';
4
+ type BlastRadiusNodeProps = NodeProps<BlastRadiusServiceNode>;
5
+ export declare const BlastRadiusNode: FC<BlastRadiusNodeProps>;
6
+ export {};
@@ -0,0 +1,28 @@
1
+ import { type Edge } from '@xyflow/react';
2
+ import type { DefaultTheme } from 'styled-components';
3
+ import { type BlastRadiusEdgeData, type BlastRadiusServiceNode } from './types';
4
+ import type { InsightsBlastRadiusNode, InsightsBlastRadiusSubgraph } from '../../../../../../types';
5
+ export declare const NODE_WIDTH = 120;
6
+ export declare const NODE_HEIGHT = 58;
7
+ /** Stable React Flow id — namespace may be empty for virtual hubs like `user`. */
8
+ export declare const getBlastRadiusNodeId: (namespace: string | undefined | null, service: string) => string;
9
+ export declare const getBlastRadiusNodeIdFromNode: (node: Pick<InsightsBlastRadiusNode, "namespace" | "service">) => string;
10
+ /**
11
+ * Attacker: non-root node with both inbound and outbound edges (two-way traffic).
12
+ * Prefer a node that is reciprocal with the root when several qualify.
13
+ */
14
+ export declare const findAttackerNodeId: (rootId: string, edges: Array<{
15
+ source: string;
16
+ target: string;
17
+ }>) => string | null;
18
+ export declare const buildBlastRadiusNodes: (subgraph: InsightsBlastRadiusSubgraph, attackerId: string | null) => BlastRadiusServiceNode[];
19
+ export declare const buildBlastRadiusEdges: (subgraph: InsightsBlastRadiusSubgraph, theme: DefaultTheme, nodeIds: Set<string>, attackerId: string | null) => Edge<BlastRadiusEdgeData>[];
20
+ /**
21
+ * Center-out layout: root in the middle, callers fan left, callees fan right.
22
+ * Keeps the graph wide/short to match the blast-radius frame (unlike service-map's vertical fan).
23
+ * The attacker is pulled out of the L/R fans and parked next to its connected targets.
24
+ */
25
+ export declare const getBlastRadiusLayout: (nodes: BlastRadiusServiceNode[], edges: Edge[]) => {
26
+ nodes: BlastRadiusServiceNode[];
27
+ edges: Edge[];
28
+ };
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ import '@xyflow/react/dist/style.css';
3
+ import type { InsightsBlastRadiusSubgraph } from '../../../../../../types';
4
+ export interface AnomalyBlastRadiusProps {
5
+ blastRadius?: InsightsBlastRadiusSubgraph;
6
+ }
7
+ export declare const AnomalyBlastRadius: FC<AnomalyBlastRadiusProps>;
@@ -0,0 +1,19 @@
1
+ import { type Node } from '@xyflow/react';
2
+ export declare enum BlastRadiusNodeTypes {
3
+ Service = "blast-radius-service"
4
+ }
5
+ export declare enum BlastRadiusEdgeTypes {
6
+ Animated = "blast-radius-animated"
7
+ }
8
+ export type BlastRadiusNodeData = {
9
+ service: string;
10
+ namespace: string;
11
+ isVirtual: boolean;
12
+ isRoot: boolean;
13
+ isAttacker: boolean;
14
+ isUser: boolean;
15
+ };
16
+ export type BlastRadiusEdgeData = {
17
+ isAttacker: boolean;
18
+ };
19
+ export type BlastRadiusServiceNode = Node<BlastRadiusNodeData, BlastRadiusNodeTypes.Service>;
@@ -0,0 +1,15 @@
1
+ import type { TraceViewRow } from '../../../../../../components/trace-view';
2
+ import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
3
+ export interface AnomalyTraceCompareResult {
4
+ baselineRows: TraceViewRow[];
5
+ observedRows: TraceViewRow[];
6
+ newSpanCount: number;
7
+ timingChangeCount: number;
8
+ observedDurationLabel?: string | null;
9
+ error?: string | null;
10
+ }
11
+ /**
12
+ * Map parsed baseline + anomaly OTLP spans into paired TraceView rows for the
13
+ * investigate-anomaly compare waterfall (new / timing / placeholder variants).
14
+ */
15
+ export declare const buildAnomalyTraceCompareRows: (baselineTrace?: InsightsParsedOtlpTrace | null, anomalyTrace?: InsightsParsedOtlpTrace | null) => AnomalyTraceCompareResult;
@@ -0,0 +1,7 @@
1
+ import { type FC } from 'react';
2
+ import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
3
+ export interface AnomalyTraceCompareProps {
4
+ baselineTrace?: InsightsParsedOtlpTrace | null;
5
+ anomalyTrace?: InsightsParsedOtlpTrace | null;
6
+ }
7
+ export declare const AnomalyTraceCompare: FC<AnomalyTraceCompareProps>;
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ import { type InsightsFinding } from '../../../../../types';
3
+ export interface AnomalyProps {
4
+ finding: InsightsFinding;
5
+ }
6
+ export declare const Anomaly: FC<AnomalyProps>;
7
+ export interface RadioCardListProps {
8
+ options: {
9
+ id: string;
10
+ title: string;
11
+ description: string;
12
+ }[];
13
+ selectedId: string;
14
+ setSelectedId: (id: string) => void;
15
+ }
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import { type InsightsAnomalyClassFinding } from '../../../../../../types';
3
+ export interface WhyThisFiredProps {
4
+ classFindings?: InsightsAnomalyClassFinding[];
5
+ }
6
+ export declare const WhyThisFired: FC<WhyThisFiredProps>;
@@ -0,0 +1,11 @@
1
+ import { type ActionsProps } from '../../../../snippets/actions';
2
+ import { TypographySize } from '../../../../components';
3
+ export declare const getSmallRichTitle: (title: string, subTitle: string) => {
4
+ title: string;
5
+ titleSize: TypographySize;
6
+ subTitle: string;
7
+ subTitleWrap: boolean;
8
+ subTitleSize: TypographySize;
9
+ textGap: number;
10
+ };
11
+ export declare const getFindingActions: () => ActionsProps["actions"];
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import { InsightsDrawerType } from '../../insights-context';
3
+ export interface FindingDrawerProps {
4
+ type: Omit<InsightsDrawerType, InsightsDrawerType.Transaction>;
5
+ }
6
+ export declare const FindingDrawer: FC<FindingDrawerProps>;
@@ -0,0 +1,6 @@
1
+ import { type FC } from 'react';
2
+ import { InsightsFinding } from '../../../../../types';
3
+ export interface ViolationProps {
4
+ finding: InsightsFinding;
5
+ }
6
+ export declare const Violation: FC<ViolationProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import type { InsightsAnomalySpanHighlight } from '../../../../../../types';
3
+ import type { InsightsParsedOtlpTrace } from '../../../../../../functions';
4
+ export interface ViolationTraceViewProps {
5
+ evidenceTrace?: InsightsParsedOtlpTrace | null;
6
+ spanHighlights?: InsightsAnomalySpanHighlight[] | null;
7
+ }
8
+ export declare const ViolationTraceView: FC<ViolationTraceViewProps>;