@odigos/ui-kit 0.0.47 → 0.0.49

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 (101) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/eslint.config.mjs +16 -2
  3. package/lib/components/data-card/data-card-fields/index.d.ts +2 -1
  4. package/lib/components/error-boundary/error-boundary.stories.d.ts +3 -1
  5. package/lib/components/error-boundary/index.d.ts +1 -2
  6. package/lib/components/field-error/field-error.stories.d.ts +3 -1
  7. package/lib/components/field-error/index.d.ts +1 -2
  8. package/lib/components/key-value-input-list/index.d.ts +2 -0
  9. package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +2 -0
  10. package/lib/components/segment/index.d.ts +8 -7
  11. package/lib/components/styled.d.ts +5 -1
  12. package/lib/components.js +9 -9
  13. package/lib/constants.js +1 -1
  14. package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +1 -1
  15. package/lib/containers/await-pipeline/index.d.ts +1 -2
  16. package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +2 -3
  17. package/lib/containers/data-flow-actions-menu/filters/index.d.ts +2 -3
  18. package/lib/containers/data-flow-actions-menu/search/index.d.ts +2 -3
  19. package/lib/containers/data-stream-modal/data-stream-modal.stories.d.ts +2 -2
  20. package/lib/containers/data-stream-modal/index.d.ts +1 -2
  21. package/lib/containers/index.d.ts +1 -0
  22. package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +5 -0
  23. package/lib/containers/notification-manager/index.d.ts +1 -2
  24. package/lib/containers/notification-manager/notification-manager.stories.d.ts +1 -1
  25. package/lib/containers/service-map/helpers/build-edges.d.ts +10 -0
  26. package/lib/containers/service-map/helpers/build-map-nodes.d.ts +11 -0
  27. package/lib/containers/service-map/index.d.ts +8 -0
  28. package/lib/containers/service-map/service-map.stories.d.ts +9 -0
  29. package/lib/containers/slack-invite/index.d.ts +1 -2
  30. package/lib/containers/slack-invite/slack-invite.stories.d.ts +1 -1
  31. package/lib/containers/toast-list/index.d.ts +1 -2
  32. package/lib/containers/toast-list/toast-list.stories.d.ts +1 -1
  33. package/lib/containers/toggle-dark-mode/index.d.ts +1 -2
  34. package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +1 -1
  35. package/lib/containers.js +439 -12485
  36. package/lib/functions/clean-object-empty-strings-values/index.d.ts +2 -1
  37. package/lib/functions/compare-condition/index.d.ts +1 -1
  38. package/lib/functions/flatten-object-keys/index.d.ts +2 -1
  39. package/lib/functions/get-entity-id/index.d.ts +2 -2
  40. package/lib/functions/get-entity-label/index.d.ts +2 -2
  41. package/lib/functions/index.d.ts +1 -0
  42. package/lib/functions/map-destination-fields-for-display/index.d.ts +1 -1
  43. package/lib/functions/remove-empty-values-from-object/index.d.ts +2 -1
  44. package/lib/functions/safe-json-parse/index.d.ts +2 -1
  45. package/lib/functions/safe-json-stringify/index.d.ts +2 -1
  46. package/lib/functions/stringify-non-string-values/index.d.ts +2 -1
  47. package/lib/functions.js +35 -9
  48. package/lib/hooks/useGenericForm.d.ts +2 -1
  49. package/lib/hooks/useInstrumentationRuleFormData.d.ts +3 -6
  50. package/lib/hooks/useSessionStorage.d.ts +2 -2
  51. package/lib/hooks/useSourceFormData.d.ts +1 -4
  52. package/lib/hooks.js +4 -4
  53. package/lib/icons/common/index.d.ts +1 -0
  54. package/lib/icons/common/user-icon/index.d.ts +2 -0
  55. package/lib/icons/common/user-icon/user-icon.stories.d.ts +8 -0
  56. package/lib/icons/instrumentation-rules/custom-instrumentation-icon/custom-instrumentation-icon.stories.d.ts +7 -0
  57. package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +2 -0
  58. package/lib/icons/instrumentation-rules/index.d.ts +1 -0
  59. package/lib/icons.js +6 -6
  60. package/lib/{index-BV85P9UP.js → index-BnvrwbRB.js} +4 -0
  61. package/lib/{index-BRGQ84pJ.js → index-Bw7RE2T2.js} +21 -4
  62. package/lib/{index-B1IScVBT.js → index-C1V7D2ey.js} +12728 -363
  63. package/lib/{index-fEP_guwb.js → index-CeBxw8J4.js} +4 -4
  64. package/lib/{index-C4aVlsHh.js → index-CeDmxXUE.js} +10 -2
  65. package/lib/{index-BUCure0Q.js → index-CkTdd3MS.js} +1 -1
  66. package/lib/{index-C8vqcUbP.js → index-DOU0EdZP.js} +2 -2
  67. package/lib/{index-BJpPcCBm.js → index-DsEoqSQn.js} +3 -3
  68. package/lib/{index-CeHgnkLY.js → index-DxR7e2Cq.js} +1 -1
  69. package/lib/{index-DypjdLnz.js → index-ZTzxu5fz.js} +1 -1
  70. package/lib/{index-CpT8LSxY.js → index-w9lkC6fb.js} +10 -8
  71. package/lib/mock-data/index.d.ts +1 -0
  72. package/lib/mock-data/service-map/index.d.ts +2 -0
  73. package/lib/snippets/index.d.ts +1 -0
  74. package/lib/{containers/data-flow → snippets/react-flow}/edges/labeled-edge.d.ts +4 -4
  75. package/lib/{containers/data-flow → snippets/react-flow}/flow.d.ts +2 -0
  76. package/lib/snippets/react-flow/index.d.ts +13 -0
  77. package/lib/{containers/data-flow → snippets/react-flow}/nodes/add-node.d.ts +4 -4
  78. package/lib/{containers/data-flow → snippets/react-flow}/nodes/base-node.d.ts +4 -4
  79. package/lib/{containers/data-flow → snippets/react-flow}/nodes/edged-node.d.ts +4 -4
  80. package/lib/{containers/data-flow → snippets/react-flow}/nodes/frame-node.d.ts +4 -4
  81. package/lib/{containers/data-flow → snippets/react-flow}/nodes/header-node.d.ts +4 -4
  82. package/lib/snippets/react-flow/nodes/map-item-node.d.ts +12 -0
  83. package/lib/snippets/react-flow/nodes/no-data-node.d.ts +9 -0
  84. package/lib/{containers/data-flow → snippets/react-flow}/nodes/scroll-node.d.ts +4 -4
  85. package/lib/snippets/react-flow/nodes/skeleton-node.d.ts +8 -0
  86. package/lib/snippets.js +8 -8
  87. package/lib/store.js +1 -1
  88. package/lib/theme.js +1 -1
  89. package/lib/types/common/index.d.ts +1 -0
  90. package/lib/types/data-flow/index.d.ts +3 -1
  91. package/lib/types/describe/index.d.ts +1 -1
  92. package/lib/types/index.d.ts +1 -0
  93. package/lib/types/instrumentation-rules/index.d.ts +12 -0
  94. package/lib/types/service-map/index.d.ts +10 -0
  95. package/lib/types.js +10 -2
  96. package/lib/{useSourceSelectionFormData-CMXqoHZs.js → useSourceSelectionFormData-C5VMfWEf.js} +13 -48
  97. package/lib/{useTransition-DsrDiKOV.js → useTransition-mupXsbop.js} +56 -10
  98. package/package.json +3 -2
  99. package/lib/containers/data-flow/nodes/skeleton-node.d.ts +0 -8
  100. /package/lib/{containers/data-flow/helpers/get-main-container-language.d.ts → functions/get-main-container-language/index.d.ts} +0 -0
  101. /package/lib/{containers/data-flow/helpers → snippets/react-flow}/node-config.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.49](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.48...ui-kit-v0.0.49) (2025-07-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * add ESLint workflow for pull requests ([#206](https://github.com/odigos-io/ui-kit/issues/206)) ([17e5036](https://github.com/odigos-io/ui-kit/commit/17e50361890a251748115326b0f3e63bda924b6d))
9
+ * service map ([#207](https://github.com/odigos-io/ui-kit/issues/207)) ([24637e0](https://github.com/odigos-io/ui-kit/commit/24637e01d75af8221b6fe20fde192ce55c072687))
10
+
11
+ ## [0.0.48](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.47...ui-kit-v0.0.48) (2025-06-26)
12
+
13
+
14
+ ### Features
15
+
16
+ * add new instrumentation rule - `CustomInstrumentation` ([#197](https://github.com/odigos-io/ui-kit/issues/197)) ([88e1615](https://github.com/odigos-io/ui-kit/commit/88e161528dff2bfc452398e8cbca373d153e0c08))
17
+
3
18
  ## [0.0.47](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.46...ui-kit-v0.0.47) (2025-06-26)
4
19
 
5
20
 
package/eslint.config.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
2
- import storybook from "eslint-plugin-storybook";
2
+ import storybook from 'eslint-plugin-storybook';
3
3
 
4
4
  import { dirname } from 'path';
5
5
  import { fileURLToPath } from 'url';
@@ -15,6 +15,20 @@ const compat = new FlatCompat({
15
15
  const extensions = compat.extends('next/core-web-vitals', 'next/typescript');
16
16
  const config = compat.config({});
17
17
 
18
- const eslintConfig = [...extensions, ...config, ...storybook.configs["flat/recommended"]];
18
+ // Custom rule to allow unused variables that start with underscore
19
+ const customRules = {
20
+ rules: {
21
+ '@typescript-eslint/no-unused-vars': [
22
+ 'error',
23
+ {
24
+ argsIgnorePattern: '^_',
25
+ varsIgnorePattern: '^_',
26
+ caughtErrorsIgnorePattern: '^_',
27
+ },
28
+ ],
29
+ },
30
+ };
31
+
32
+ const eslintConfig = [...extensions, ...config, ...storybook.configs['flat/recommended'], customRules];
19
33
 
20
34
  export default eslintConfig;
@@ -1,4 +1,5 @@
1
1
  import { type FC } from 'react';
2
+ import { AnyObj } from '@/types';
2
3
  declare enum DataCardFieldTypes {
3
4
  Code = "code",
4
5
  Table = "table",
@@ -16,7 +17,7 @@ interface DataCardField {
16
17
  type?: DataCardFieldTypes;
17
18
  title?: string;
18
19
  tooltip?: string;
19
- value?: string | Record<string, any>;
20
+ value?: string | AnyObj;
20
21
  callback?: (payload: any) => void | Promise<void>;
21
22
  }
22
23
  interface DataCardFieldsProps {
@@ -3,7 +3,9 @@ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type ErrorBoundaryProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<ErrorBoundaryProps>;
6
+ component: React.FC<{
7
+ children?: React.ReactNode | undefined;
8
+ }>;
7
9
  };
8
10
  export default _default;
9
11
  export declare const Default: StoryFn<ErrorBoundaryProps>;
@@ -1,5 +1,4 @@
1
1
  import { type FC, type PropsWithChildren } from 'react';
2
- interface ErrorBoundaryProps extends PropsWithChildren {
3
- }
2
+ type ErrorBoundaryProps = PropsWithChildren;
4
3
  declare const ErrorBoundary: FC<ErrorBoundaryProps>;
5
4
  export { ErrorBoundary, type ErrorBoundaryProps };
@@ -3,7 +3,9 @@ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type FieldErrorProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<FieldErrorProps>;
6
+ component: React.FC<{
7
+ children?: React.ReactNode | undefined;
8
+ }>;
7
9
  };
8
10
  export default _default;
9
11
  export declare const Default: StoryFn<FieldErrorProps>;
@@ -1,5 +1,4 @@
1
1
  import { type FC, type PropsWithChildren } from 'react';
2
- interface FieldErrorProps extends PropsWithChildren {
3
- }
2
+ type FieldErrorProps = PropsWithChildren;
4
3
  declare const FieldError: FC<FieldErrorProps>;
5
4
  export { FieldError, type FieldErrorProps };
@@ -11,6 +11,8 @@ interface KeyValueInputsListProps {
11
11
  tooltip?: string;
12
12
  required?: boolean;
13
13
  errorMessage?: string;
14
+ keyPlaceholder?: string;
15
+ valuePlaceholder?: string;
14
16
  }
15
17
  declare const KeyValueInputsList: FC<KeyValueInputsListProps>;
16
18
  export { KeyValueInputsList, type KeyValueInputsListProps };
@@ -7,3 +7,5 @@ declare const _default: {
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryFn<KeyValueInputsListProps>;
10
+ export declare const CustomPlaceholders: StoryFn<KeyValueInputsListProps>;
11
+ export declare const CustomInstrumentationExample: StoryFn<KeyValueInputsListProps>;
@@ -1,14 +1,15 @@
1
1
  import { type CSSProperties, type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
3
  type SelectedValue = any;
4
+ type Option = {
5
+ icon?: SVG;
6
+ label?: string;
7
+ value: SelectedValue;
8
+ selectedBgColor?: CSSProperties['backgroundColor'];
9
+ selectedTextColor?: CSSProperties['color'];
10
+ };
4
11
  interface SegmentProps {
5
- options: {
6
- icon?: SVG;
7
- label?: string;
8
- value: SelectedValue;
9
- selectedBgColor?: CSSProperties['backgroundColor'];
10
- selectedTextColor?: CSSProperties['color'];
11
- }[];
12
+ options: Option[];
12
13
  selected: SelectedValue;
13
14
  setSelected: (value: SelectedValue) => void;
14
15
  }
@@ -1,6 +1,8 @@
1
1
  import { type CSSProperties } from 'styled-components';
2
2
  export declare const FlexRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
3
  $gap?: number;
4
+ $alignItems?: CSSProperties["alignItems"];
5
+ $justifyContent?: CSSProperties["justifyContent"];
4
6
  }>> & string;
5
7
  export declare const FlexColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
8
  $gap?: number;
@@ -19,8 +21,10 @@ export declare const TableContainer: import("styled-components/dist/types").ISty
19
21
  }, {
20
22
  $maxWidth: CSSProperties["maxWidth"];
21
23
  }>> & string;
22
- export declare const TableTitleWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap"> & {
24
+ export declare const TableTitleWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap" | "$alignItems" | "$justifyContent"> & {
23
25
  $gap?: number;
26
+ $alignItems?: CSSProperties["alignItems"];
27
+ $justifyContent?: CSSProperties["justifyContent"];
24
28
  }, never>> & string;
25
29
  export declare const TableWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
26
30
  $maxHeight: CSSProperties["maxHeight"];
package/lib/components.js CHANGED
@@ -1,15 +1,15 @@
1
- import { B as Button } from './index-B1IScVBT.js';
2
- export { a as AutocompleteInput, b as Badge, a1 as CenterThis, C as Checkbox, c as Code, d as ConditionDetails, D as DataCard, f as DataCardFieldTypes, e as DataCardFields, g as DataTab, h as Divider, i as DocsButton, j as Drawer, l as DrawerFooter, k as DrawerHeader, m as Dropdown, E as ExtendArrow, F as FadeLoader, n as FieldError, o as FieldLabel, a0 as FlexColumn, $ as FlexRow, H as Header, I as IconButton, p as IconGroup, q as IconTitleBadge, r as IconWrapped, s as IconsNav, t as ImageControlled, u as Input, v as InputList, w as InputTable, x as InteractiveTable, K as KeyValueInputsList, M as Modal, a4 as ModalBody, y as MonitorsCheckboxes, z as MonitorsIcons, N as NavigationButtons, G as NoDataFound, J as NotificationNote, a3 as Overlay, S as ScrollX, L as SectionTitle, O as Segment, P as SelectionButton, Q as SkeletonLoader, R as Status, U as Stepper, a5 as TableContainer, a6 as TableTitleWrap, a7 as TableWrap, V as Text, W as TextArea, X as Toggle, T as ToggleCodeComponent, Y as Tooltip, Z as TraceLoader, a2 as VerticalScroll, _ as WarningModal } from './index-B1IScVBT.js';
3
- export { C as CancelWarning, D as DeleteWarning } from './index-C8vqcUbP.js';
1
+ import { d as Button } from './index-C1V7D2ey.js';
2
+ export { e as AutocompleteInput, f as Badge, ad as CenterThis, C as Checkbox, g as Code, h as ConditionDetails, D as DataCard, j as DataCardFieldTypes, i as DataCardFields, k as DataTab, l as Divider, m as DocsButton, o as Drawer, q as DrawerFooter, p as DrawerHeader, r as Dropdown, s as ExtendArrow, t as FadeLoader, u as FieldError, v as FieldLabel, ac as FlexColumn, ab as FlexRow, w as Header, I as IconButton, x as IconGroup, y as IconTitleBadge, z as IconWrapped, G as IconsNav, J as ImageControlled, K as Input, O as InputList, P as InputTable, Q as InteractiveTable, R as KeyValueInputsList, U as Modal, ag as ModalBody, V as MonitorsCheckboxes, W as MonitorsIcons, X as NavigationButtons, Y as NoDataFound, Z as NotificationNote, af as Overlay, _ as ScrollX, $ as SectionTitle, a0 as Segment, a1 as SelectionButton, a2 as SkeletonLoader, a3 as Status, a4 as Stepper, ah as TableContainer, ai as TableTitleWrap, aj as TableWrap, a5 as Text, a6 as TextArea, a7 as Toggle, T as ToggleCodeComponent, a8 as Tooltip, a9 as TraceLoader, ae as VerticalScroll, aa as WarningModal } from './index-C1V7D2ey.js';
3
+ export { C as CancelWarning, D as DeleteWarning } from './index-DOU0EdZP.js';
4
4
  import React, { Component, createElement, createContext } from 'react';
5
- import { T as Theme } from './index-BRGQ84pJ.js';
5
+ import { T as Theme } from './index-Bw7RE2T2.js';
6
6
  import './types.js';
7
- import './index-BUCure0Q.js';
8
- import './index-BJpPcCBm.js';
7
+ import './index-CkTdd3MS.js';
8
+ import './index-DsEoqSQn.js';
9
9
  import 'styled-components';
10
- import './index-CeHgnkLY.js';
11
- import './index-BV85P9UP.js';
12
- import './useTransition-DsrDiKOV.js';
10
+ import './index-DxR7e2Cq.js';
11
+ import './index-BnvrwbRB.js';
12
+ import './useTransition-mupXsbop.js';
13
13
  import 'react-dom';
14
14
 
15
15
  const ErrorBoundaryContext = createContext(null);
package/lib/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, k as DEFAULT_DATA_STREAM_NAME, D as DISPLAY_LANGUAGES, l as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, L as LANGUAGE_OPTIONS, M as MONITORS_OPTIONS, S as STORAGE_KEYS } from './index-BRGQ84pJ.js';
1
+ export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, k as DEFAULT_DATA_STREAM_NAME, D as DISPLAY_LANGUAGES, l as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, L as LANGUAGE_OPTIONS, M as MONITORS_OPTIONS, S as STORAGE_KEYS } from './index-Bw7RE2T2.js';
2
2
  export { D as DESTINATION_CATEGORIES } from './index-Dqief9td.js';
3
3
  import 'react';
4
4
  import './types.js';
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type AwaitPipelineProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<AwaitPipelineProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryFn<AwaitPipelineProps>;
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- interface AwaitPipelineProps {
3
- }
2
+ type AwaitPipelineProps = object;
4
3
  declare const AwaitPipeline: FC<AwaitPipelineProps>;
5
4
  export { AwaitPipeline, type AwaitPipelineProps };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- interface Props {
3
- }
4
- export declare const AddEntity: React.FC<Props>;
2
+ type AddEntityProps = object;
3
+ export declare const AddEntity: React.FC<AddEntityProps>;
5
4
  export {};
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- interface Props {
3
- }
4
- export declare const Filters: React.FC<Props>;
2
+ type FiltersProps = object;
3
+ export declare const Filters: React.FC<FiltersProps>;
5
4
  export {};
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- interface Props {
3
- }
4
- export declare const Search: React.FC<Props>;
2
+ type SearchProps = object;
3
+ export declare const Search: React.FC<SearchProps>;
5
4
  export {};
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import type { StoryFn } from '@storybook/react';
2
+ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type DataStreamModalProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<DataStreamModalProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryFn<DataStreamModalProps>;
@@ -1,5 +1,4 @@
1
1
  import { type FC } from 'react';
2
- interface DataStreamModalProps {
3
- }
2
+ type DataStreamModalProps = object;
4
3
  declare const DataStreamModal: FC<DataStreamModalProps>;
5
4
  export { DataStreamModal, type DataStreamModalProps };
@@ -24,6 +24,7 @@ export * from './instrumentation-rule-table/index';
24
24
  export * from './multi-source-control/index';
25
25
  export * from './notification-manager/index';
26
26
  export * from './overview-drawer/index';
27
+ export * from './service-map/index';
27
28
  export * from './setup-summary/index';
28
29
  export * from './side-nav/index';
29
30
  export * from './slack-invite/index';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
3
+ type CustomInstrumentationProps = CustomFieldProps<InstrumentationRuleFormData>;
4
+ declare const CustomInstrumentation: FC<CustomInstrumentationProps>;
5
+ export { CustomInstrumentation, type CustomInstrumentationProps };
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- interface NotificationManagerProps {
3
- }
2
+ type NotificationManagerProps = object;
4
3
  declare const NotificationManager: React.FC<NotificationManagerProps>;
5
4
  export { NotificationManager, type NotificationManagerProps };
@@ -3,7 +3,7 @@ import { type StoryObj } from '@storybook/react-webpack5';
3
3
  import { type NotificationManagerProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<NotificationManagerProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryObj<NotificationManagerProps>;
@@ -0,0 +1,10 @@
1
+ import { DefaultTheme } from 'styled-components';
2
+ import { type Edge, type Node } from '@xyflow/react';
3
+ import { type ServiceMapSources } from '@/types';
4
+ interface Params {
5
+ theme: DefaultTheme;
6
+ nodes: Node[];
7
+ serviceMap: ServiceMapSources;
8
+ }
9
+ export declare const buildEdges: ({ theme, nodes, serviceMap }: Params) => Edge[];
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { Node } from '@xyflow/react';
2
+ import { type Source, type ServiceMapSources } from '@/types';
3
+ interface Params {
4
+ sources: Source[];
5
+ sourcesLoading: boolean;
6
+ serviceMap: ServiceMapSources;
7
+ containerHeight: number;
8
+ containerWidth: number;
9
+ }
10
+ export declare const buildMapNodes: ({ sources, serviceMap, containerHeight, containerWidth }: Params) => Node[];
11
+ export {};
@@ -0,0 +1,8 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import { type ServiceMapSources } from '@/types';
3
+ interface ServiceMapProps {
4
+ heightToRemove: CSSProperties['height'];
5
+ serviceMap: ServiceMapSources;
6
+ }
7
+ declare const ServiceMap: React.FC<ServiceMapProps>;
8
+ export { ServiceMap, type ServiceMapProps };
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { StoryObj } from '@storybook/react-webpack5';
3
+ import { type ServiceMapProps } from '.';
4
+ declare const _default: {
5
+ title: string;
6
+ component: React.FC<ServiceMapProps>;
7
+ };
8
+ export default _default;
9
+ export declare const Default: StoryObj<ServiceMapProps>;
@@ -1,5 +1,4 @@
1
1
  import { type FC } from 'react';
2
- interface SlackInviteProps {
3
- }
2
+ type SlackInviteProps = object;
4
3
  declare const SlackInvite: FC<SlackInviteProps>;
5
4
  export { SlackInvite, type SlackInviteProps };
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type SlackInviteProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<SlackInviteProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryFn<SlackInviteProps>;
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- interface ToastListProps {
3
- }
2
+ type ToastListProps = object;
4
3
  declare const ToastList: React.FC<ToastListProps>;
5
4
  export { ToastList, type ToastListProps };
@@ -3,7 +3,7 @@ import type { StoryObj } from '@storybook/react-webpack5';
3
3
  import { type ToastListProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<ToastListProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryObj<ToastListProps>;
@@ -1,5 +1,4 @@
1
1
  import { type FC } from 'react';
2
- interface ToggleDarkModeProps {
3
- }
2
+ type ToggleDarkModeProps = object;
4
3
  declare const ToggleDarkMode: FC<ToggleDarkModeProps>;
5
4
  export { ToggleDarkMode, type ToggleDarkModeProps };
@@ -3,7 +3,7 @@ import type { StoryFn } from '@storybook/react-webpack5';
3
3
  import { type ToggleDarkModeProps } from '.';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: React.FC<ToggleDarkModeProps>;
6
+ component: React.FC<object>;
7
7
  };
8
8
  export default _default;
9
9
  export declare const Default: StoryFn<ToggleDarkModeProps>;