@odigos/ui-kit 0.0.9 → 0.0.11

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 (90) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/lib/components/badge/index.d.ts +2 -2
  3. package/lib/components/data-card/data-card-fields/index.d.ts +14 -14
  4. package/lib/components/data-card/index.d.ts +2 -2
  5. package/lib/components/data-tab/index.d.ts +3 -3
  6. package/lib/components/delete-warning/index.d.ts +2 -2
  7. package/lib/components/describe-row/index.d.ts +2 -2
  8. package/lib/components/divider/index.d.ts +2 -2
  9. package/lib/components/drawer/drawer-header/index.d.ts +1 -1
  10. package/lib/components/icon-group/index.d.ts +2 -2
  11. package/lib/components/icon-wrapped/index.d.ts +2 -2
  12. package/lib/components/interactive-table/index.d.ts +2 -2
  13. package/lib/components/interactive-table/row.d.ts +2 -2
  14. package/lib/components/monitors-checkboxes/index.d.ts +4 -4
  15. package/lib/components/monitors-icons/index.d.ts +2 -2
  16. package/lib/components/notification-note/index.d.ts +2 -2
  17. package/lib/components/status/index.d.ts +2 -2
  18. package/lib/components/stepper/index.d.ts +1 -1
  19. package/lib/components/styled.d.ts +12 -0
  20. package/lib/components/warning-modal/index.d.ts +2 -2
  21. package/lib/components.js +8 -8
  22. package/lib/constants/strings/index.d.ts +11 -10
  23. package/lib/constants.js +4 -4
  24. package/lib/containers/action-drawer/build-card.d.ts +2 -2
  25. package/lib/containers/action-drawer/index.d.ts +2 -2
  26. package/lib/containers/action-form/custom-fields/index.d.ts +2 -2
  27. package/lib/containers/data-flow/edges/labeled-edge.d.ts +2 -2
  28. package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -2
  29. package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
  30. package/lib/containers/data-flow/nodes/add-node.d.ts +3 -3
  31. package/lib/containers/data-flow/nodes/base-node.d.ts +5 -5
  32. package/lib/containers/data-flow/nodes/edged-node.d.ts +2 -2
  33. package/lib/containers/data-flow/nodes/frame-node.d.ts +2 -2
  34. package/lib/containers/data-flow/nodes/header-node.d.ts +2 -2
  35. package/lib/containers/data-flow/nodes/scroll-node.d.ts +5 -5
  36. package/lib/containers/data-flow/nodes/skeleton-node.d.ts +2 -2
  37. package/lib/containers/data-flow-actions-menu/index.d.ts +2 -2
  38. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +2 -2
  39. package/lib/containers/destination-drawer/build-card.d.ts +2 -2
  40. package/lib/containers/destination-form/test-connection/index.d.ts +2 -2
  41. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -2
  42. package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
  43. package/lib/containers/side-nav/index.d.ts +8 -8
  44. package/lib/containers/source-drawer/build-card.d.ts +1 -1
  45. package/lib/containers.js +380 -385
  46. package/lib/data/sources/index.d.ts +3 -3
  47. package/lib/functions/get-action-icon/index.d.ts +2 -2
  48. package/lib/functions/get-conditions-booleans/index.d.ts +2 -2
  49. package/lib/functions/get-entity-icon/index.d.ts +2 -2
  50. package/lib/functions/get-entity-label/index.d.ts +2 -2
  51. package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
  52. package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
  53. package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
  54. package/lib/functions/get-monitor-icon/index.d.ts +2 -2
  55. package/lib/functions/get-platform-icon/index.d.ts +2 -2
  56. package/lib/functions/get-platform-label/index.d.ts +2 -2
  57. package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
  58. package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
  59. package/lib/functions/get-status-icon/index.d.ts +2 -2
  60. package/lib/functions/index.d.ts +0 -1
  61. package/lib/functions.js +9 -20
  62. package/lib/hooks.js +7 -7
  63. package/lib/icons.js +2 -2
  64. package/lib/{index-BFct3S32.js → index-7-KCQK-x.js} +2 -2
  65. package/lib/{index-ixs381n-.js → index-9ObpINp4.js} +4 -4
  66. package/lib/{index-m62aT4IR.js → index-B_fzHjxk.js} +111 -93
  67. package/lib/{index-g6Twdelv.js → index-BtuW12KL.js} +22 -22
  68. package/lib/{index-CZe2VX28.js → index-CJKFedQi.js} +31 -31
  69. package/lib/{index-Bc8gi9FH.js → index-CYn62h8x.js} +33 -33
  70. package/lib/{index-Cu2uHOuh.js → index-C_0J5P9M.js} +11 -10
  71. package/lib/{index-DIcomki-.js → index-DYEcdkUF.js} +19 -19
  72. package/lib/{index-BumPE6cF.js → index-Db_ZDrEr.js} +13 -13
  73. package/lib/store/useDrawerStore.d.ts +2 -2
  74. package/lib/store/useEntityStore.d.ts +5 -5
  75. package/lib/store/usePendingStore.d.ts +2 -2
  76. package/lib/store.js +1 -1
  77. package/lib/theme.js +1 -1
  78. package/lib/types/actions/index.d.ts +14 -14
  79. package/lib/types/common/index.d.ts +80 -76
  80. package/lib/types/connection/index.d.ts +3 -3
  81. package/lib/types/data-flow/index.d.ts +15 -15
  82. package/lib/types/destinations/index.d.ts +2 -2
  83. package/lib/types/instrumentation-rules/index.d.ts +28 -28
  84. package/lib/types/signals/index.d.ts +5 -5
  85. package/lib/types/sources/index.d.ts +7 -7
  86. package/lib/types.js +164 -159
  87. package/lib/{useSourceSelectionFormData-BY6B70Kf.js → useSourceSelectionFormData-BnlRp8m3.js} +40 -40
  88. package/lib/{useTransition-Dfxjcy-C.js → useTransition-CFmm4scp.js} +23 -23
  89. package/package.json +10 -10
  90. package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.11](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.10...ui-kit-v0.0.11) (2025-03-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * kill deriveTypeFromRule function ([#33](https://github.com/odigos-io/ui-kit/issues/33)) ([3933bdc](https://github.com/odigos-io/ui-kit/commit/3933bdcc2b0bbe25a93d1297186964f3b6df674b))
9
+ * refactor enums ([#31](https://github.com/odigos-io/ui-kit/issues/31)) ([62f58b8](https://github.com/odigos-io/ui-kit/commit/62f58b864c1ae79e675b13d20f806a11e37617ea))
10
+
11
+ ## [0.0.10](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.9...ui-kit-v0.0.10) (2025-03-18)
12
+
13
+
14
+ ### Features
15
+
16
+ * rename NOTIFICATION_TYPE ---> STATUS_TYPE ([#26](https://github.com/odigos-io/ui-kit/issues/26)) ([0f0c0e7](https://github.com/odigos-io/ui-kit/commit/0f0c0e7bd1cae951a6fd59729bfbacb51ac51f34))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * drawer update - typed name resets on form change ([#29](https://github.com/odigos-io/ui-kit/issues/29)) ([e94ec92](https://github.com/odigos-io/ui-kit/commit/e94ec92a8f388582b91d2e9cad0b6fda7ba4484f))
22
+ * tables - select all (with filters), and fetching loaders ([#30](https://github.com/odigos-io/ui-kit/issues/30)) ([40b1d82](https://github.com/odigos-io/ui-kit/commit/40b1d820018c98ee3c4c986e8db7132c0bfe8538))
23
+
3
24
  ## [0.0.9](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.8...ui-kit-v0.0.9) (2025-03-16)
4
25
 
5
26
 
@@ -1,9 +1,9 @@
1
1
  import { type ReactNode, type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface BadgeProps {
4
4
  label: string | number | ReactNode;
5
5
  filled?: boolean;
6
- status?: NOTIFICATION_TYPE;
6
+ status?: StatusType;
7
7
  withIcon?: boolean;
8
8
  onClick?: () => void;
9
9
  }
@@ -1,24 +1,24 @@
1
1
  import { type FC } from 'react';
2
- declare enum DATA_CARD_FIELD_TYPES {
3
- CODE = "code",
4
- TABLE = "table",
5
- BADGE = "badge",
6
- LOADER = "loader",
7
- DIVIDER = "divider",
8
- MONITORS = "monitors",
9
- COPY_TEXT = "copy-text",
10
- DESCRIBE_ROW = "describe-row",
11
- ACTIVE_STATUS = "active-status",
12
- POD_CONTAINER = "pod-container",
13
- SOURCE_CONTAINER = "source-container"
2
+ declare enum DataCardFieldTypes {
3
+ Code = "code",
4
+ Table = "table",
5
+ Badge = "badge",
6
+ Loader = "loader",
7
+ Divider = "divider",
8
+ Monitors = "monitors",
9
+ CopyText = "copy-text",
10
+ DescribeRow = "describe-row",
11
+ ActiveStatus = "active-status",
12
+ PodContainer = "pod-container",
13
+ SourceContainer = "source-container"
14
14
  }
15
15
  interface DataCardFieldsProps {
16
16
  data: {
17
- type?: DATA_CARD_FIELD_TYPES;
17
+ type?: DataCardFieldTypes;
18
18
  title?: string;
19
19
  tooltip?: string;
20
20
  value?: string | Record<string, any>;
21
21
  }[];
22
22
  }
23
23
  declare const DataCardFields: FC<DataCardFieldsProps>;
24
- export { DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES };
24
+ export { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes };
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode, type FC } from 'react';
2
- import { DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES } from './data-card-fields';
2
+ import { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes } from './data-card-fields';
3
3
  interface DataCardProps {
4
4
  title?: string;
5
5
  titleBadge?: string | number;
@@ -10,4 +10,4 @@ interface DataCardProps {
10
10
  data: DataCardFieldsProps['data'];
11
11
  }
12
12
  declare const DataCard: FC<DataCardProps>;
13
- export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES };
13
+ export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps, DataCardFieldTypes };
@@ -1,6 +1,6 @@
1
1
  import { type FC, type ReactNode } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { NOTIFICATION_TYPE, SIGNAL_TYPE } from '@/types';
3
+ import { StatusType, SignalType } from '@/types';
4
4
  interface DataTabProps {
5
5
  title: string;
6
6
  subTitle?: string;
@@ -9,9 +9,9 @@ interface DataTabProps {
9
9
  iconSrc?: string;
10
10
  iconSrcs?: string[];
11
11
  hoverText?: string;
12
- status?: NOTIFICATION_TYPE;
12
+ status?: StatusType;
13
13
  faded?: boolean;
14
- monitors?: SIGNAL_TYPE[];
14
+ monitors?: SignalType[];
15
15
  monitorsWithLabels?: boolean;
16
16
  isActive?: boolean;
17
17
  withCheckbox?: boolean;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { ENTITY_TYPES } from '@/types';
2
+ import { EntityTypes } from '@/types';
3
3
  interface DeleteWarningProps {
4
4
  isOpen: boolean;
5
5
  noOverlay?: boolean;
6
6
  name?: string;
7
- type?: ENTITY_TYPES;
7
+ type?: EntityTypes;
8
8
  isLastItem?: boolean;
9
9
  onApprove: () => void;
10
10
  onDeny: () => void;
@@ -1,12 +1,12 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface DescribeRowProps {
4
4
  title?: string;
5
5
  subTitle?: string;
6
6
  tooltip?: string;
7
7
  value?: {
8
8
  text?: string;
9
- status?: NOTIFICATION_TYPE | 'transitioning';
9
+ status?: StatusType | 'transitioning';
10
10
  };
11
11
  }
12
12
  declare const DescribeRow: FC<DescribeRowProps>;
@@ -1,8 +1,8 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface DividerProps {
4
4
  orientation?: 'horizontal' | 'vertical';
5
- type?: NOTIFICATION_TYPE;
5
+ type?: StatusType;
6
6
  thickness?: number;
7
7
  length?: string;
8
8
  margin?: string;
@@ -7,7 +7,7 @@ interface DrawerHeaderProps {
7
7
  iconSrc?: string;
8
8
  title?: string;
9
9
  titleTooltip?: string;
10
- replaceTitleWith?: () => ReactNode;
10
+ replaceTitleWith?: ReactNode | (() => ReactNode);
11
11
  actionButtons?: (ButtonProps & {
12
12
  'data-id': string;
13
13
  })[];
@@ -1,10 +1,10 @@
1
1
  import { type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { NOTIFICATION_TYPE } from '@/types';
3
+ import { StatusType } from '@/types';
4
4
  interface IconGroupProps {
5
5
  icons?: SVG[];
6
6
  iconSrcs?: string[];
7
- status?: NOTIFICATION_TYPE;
7
+ status?: StatusType;
8
8
  size?: number;
9
9
  }
10
10
  declare const IconGroup: FC<IconGroupProps>;
@@ -1,10 +1,10 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE, type SVG } from '@/types';
2
+ import { StatusType, type SVG } from '@/types';
3
3
  interface IconWrappedProps {
4
4
  icon?: SVG;
5
5
  src?: string;
6
6
  alt?: string;
7
- status?: NOTIFICATION_TYPE;
7
+ status?: StatusType;
8
8
  size?: number;
9
9
  }
10
10
  declare const IconWrapped: FC<IconWrappedProps>;
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode, type FC, CSSProperties } from 'react';
2
- import { NOTIFICATION_TYPE, type SVG } from '@/types';
2
+ import { StatusType, type SVG } from '@/types';
3
3
  interface ColumnCell {
4
4
  key: string;
5
5
  title: string;
@@ -16,7 +16,7 @@ interface RowCell {
16
16
  interface InteractiveTableProps {
17
17
  columns: ColumnCell[];
18
18
  rows: {
19
- status?: NOTIFICATION_TYPE;
19
+ status?: StatusType;
20
20
  faded?: boolean;
21
21
  cells: RowCell[];
22
22
  }[];
@@ -1,12 +1,12 @@
1
1
  import { FC } from 'react';
2
2
  import { ColumnCell, RowCell } from '.';
3
- import { NOTIFICATION_TYPE } from '@/types';
3
+ import { StatusType } from '@/types';
4
4
  interface RowProps {
5
5
  index: number;
6
6
  columns: ColumnCell[];
7
7
  cells: RowCell[];
8
8
  onClick?: () => void;
9
- status?: NOTIFICATION_TYPE;
9
+ status?: StatusType;
10
10
  faded?: boolean;
11
11
  }
12
12
  declare const Row: FC<RowProps>;
@@ -1,13 +1,13 @@
1
1
  import { type FC } from 'react';
2
- import { SIGNAL_TYPE } from '@/types';
2
+ import { SignalType } from '@/types';
3
3
  interface MonitorsCheckboxesProps {
4
4
  isVertical?: boolean;
5
5
  title?: string;
6
6
  required?: boolean;
7
7
  errorMessage?: string;
8
- allowedSignals?: SIGNAL_TYPE[];
9
- selectedSignals: SIGNAL_TYPE[];
10
- setSelectedSignals: (value: SIGNAL_TYPE[]) => void;
8
+ allowedSignals?: SignalType[];
9
+ selectedSignals: SignalType[];
10
+ setSelectedSignals: (value: SignalType[]) => void;
11
11
  }
12
12
  declare const MonitorsCheckboxes: FC<MonitorsCheckboxesProps>;
13
13
  export { MonitorsCheckboxes, type MonitorsCheckboxesProps };
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
- import { SIGNAL_TYPE } from '@/types';
2
+ import { SignalType } from '@/types';
3
3
  interface MonitorsIconsProps {
4
- monitors?: SIGNAL_TYPE[];
4
+ monitors?: SignalType[];
5
5
  withTooltips?: boolean;
6
6
  withLabels?: boolean;
7
7
  size?: number;
@@ -1,11 +1,11 @@
1
1
  import { type CSSProperties, type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface OnCloseParams {
4
4
  asSeen: boolean;
5
5
  }
6
6
  interface NotificationNoteProps {
7
7
  id?: string;
8
- type: NOTIFICATION_TYPE;
8
+ type: StatusType;
9
9
  title?: string;
10
10
  message?: string;
11
11
  action?: {
@@ -1,11 +1,11 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE, OTHER_STATUS } from '@/types';
2
+ import { StatusType, OtherStatus } from '@/types';
3
3
  interface StatusProps {
4
4
  title?: string;
5
5
  subtitle?: string;
6
6
  size?: number;
7
7
  family?: 'primary' | 'secondary';
8
- status?: NOTIFICATION_TYPE | OTHER_STATUS.LOADING;
8
+ status?: StatusType | OtherStatus.Loading;
9
9
  withIcon?: boolean;
10
10
  withBorder?: boolean;
11
11
  withBackground?: boolean;
@@ -1,10 +1,10 @@
1
1
  import { FC } from 'react';
2
2
  interface StepperProps {
3
+ currentStep: number;
3
4
  data: {
4
5
  stepNumber: number;
5
6
  title: string;
6
7
  }[];
7
- currentStep: number;
8
8
  }
9
9
  declare const Stepper: FC<StepperProps>;
10
10
  export { Stepper, type StepperProps };
@@ -1,3 +1,4 @@
1
+ import { type CSSProperties } from 'styled-components';
1
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>, {
2
3
  $gap?: number;
3
4
  }>> & string;
@@ -11,3 +12,14 @@ export declare const Overlay: import("styled-components/dist/types").IStyledComp
11
12
  export declare const ModalBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
13
  $isNotModal?: boolean;
13
14
  }>> & string;
15
+ export declare const TableContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap"> & {
16
+ $gap?: number;
17
+ }, {
18
+ $maxWidth: CSSProperties["maxWidth"];
19
+ }>> & string;
20
+ 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"> & {
21
+ $gap?: number;
22
+ }, never>> & string;
23
+ 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>, {
24
+ $maxHeight: CSSProperties["maxHeight"];
25
+ }>> & string;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  import { type ButtonProps } from '../button';
4
4
  interface ButtonParams {
5
5
  text: string;
@@ -12,7 +12,7 @@ interface WarningModalProps {
12
12
  title: string;
13
13
  description: string;
14
14
  note?: {
15
- type: NOTIFICATION_TYPE;
15
+ type: StatusType;
16
16
  title: string;
17
17
  message: string;
18
18
  };
package/lib/components.js CHANGED
@@ -1,18 +1,18 @@
1
- import { B as Button } from './index-m62aT4IR.js';
2
- export { A as AutocompleteInput, a as Badge, C as CancelWarning, a0 as CenterThis, b as Checkbox, c as Code, d as ConditionDetails, f as DATA_CARD_FIELD_TYPES, D as DataCard, e as DataCardFields, g as DataTab, h as DeleteWarning, i as Divider, j as DocsButton, k as Drawer, m as DrawerFooter, l as DrawerHeader, n as Dropdown, E as ExtendArrow, F as FadeLoader, o as FieldError, p as FieldLabel, $ as FlexColumn, _ as FlexRow, H as Header, I as IconButton, q as IconGroup, r as IconTitleBadge, s as IconWrapped, t as IconsNav, u as ImageControlled, v as Input, w as InputList, x as InputTable, y as InteractiveTable, K as KeyValueInputsList, M as Modal, a2 as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, a1 as Overlay, S as SectionTitle, O as Segment, P as SkeletonLoader, Q as Status, R as Stepper, U as Text, V as TextArea, W as Toggle, T as ToggleCodeComponent, X as Tooltip, Y as TraceLoader, Z as WarningModal } from './index-m62aT4IR.js';
1
+ import { B as Button } from './index-B_fzHjxk.js';
2
+ export { A as AutocompleteInput, a as Badge, C as CancelWarning, a0 as CenterThis, b as Checkbox, c as Code, d as ConditionDetails, D as DataCard, f as DataCardFieldTypes, e as DataCardFields, g as DataTab, h as DeleteWarning, i as Divider, j as DocsButton, k as Drawer, m as DrawerFooter, l as DrawerHeader, n as Dropdown, E as ExtendArrow, F as FadeLoader, o as FieldError, p as FieldLabel, $ as FlexColumn, _ as FlexRow, H as Header, I as IconButton, q as IconGroup, r as IconTitleBadge, s as IconWrapped, t as IconsNav, u as ImageControlled, v as Input, w as InputList, x as InputTable, y as InteractiveTable, K as KeyValueInputsList, M as Modal, a2 as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, a1 as Overlay, S as SectionTitle, O as Segment, P as SkeletonLoader, Q as Status, R as Stepper, a3 as TableContainer, a4 as TableTitleWrap, a5 as TableWrap, U as Text, V as TextArea, W as Toggle, T as ToggleCodeComponent, X as Tooltip, Y as TraceLoader, Z as WarningModal } from './index-B_fzHjxk.js';
3
3
  import React, { Component, createElement, createContext } from 'react';
4
4
  import Theme from './theme.js';
5
5
  import './types.js';
6
- import './index-DIcomki-.js';
6
+ import './index-DYEcdkUF.js';
7
7
  import 'styled-components';
8
- import './index-Bc8gi9FH.js';
8
+ import './index-CYn62h8x.js';
9
9
  import './index-BGlk5VhF.js';
10
- import './index-ixs381n-.js';
10
+ import './index-9ObpINp4.js';
11
11
  import './index-BZS1ijMm.js';
12
12
  import './index-D_Qn2U89.js';
13
- import './index-CZe2VX28.js';
14
- import './index-BumPE6cF.js';
15
- import './useTransition-Dfxjcy-C.js';
13
+ import './index-CJKFedQi.js';
14
+ import './index-Db_ZDrEr.js';
15
+ import './useTransition-CFmm4scp.js';
16
16
  import 'react-dom';
17
17
  import 'babel-runtime/helpers/extends';
18
18
  import 'babel-runtime/core-js/object/get-prototype-of';
@@ -9,27 +9,27 @@ export declare const FORM_ALERTS: {
9
9
  READONLY_WARNING: string;
10
10
  };
11
11
  export declare const DISPLAY_TITLES: {
12
- NAMESPACE: string;
12
+ Namespace: string;
13
13
  NAME: string;
14
14
  KIND: string;
15
- ACTION: string;
16
- ACTIONS: string;
15
+ Action: string;
16
+ Actions: string;
17
17
  ACTION_DETAILS: string;
18
- INSTRUMENTATION_RULE: string;
19
- INSTRUMENTATION_RULES: string;
18
+ InstrumentationRule: string;
19
+ InstrumentationRules: string;
20
20
  INSTRUMENTATION_RULE_DETAILS: string;
21
- DESTINATION: string;
22
- DESTINATIONS: string;
21
+ Destination: string;
22
+ Destinations: string;
23
23
  DESTINATION_DETAILS: string;
24
- SOURCE: string;
25
- SOURCES: string;
24
+ Source: string;
25
+ Sources: string;
26
26
  SOURCE_DETAILS: string;
27
27
  TYPE: string;
28
28
  NOTES: string;
29
29
  STATUS: string;
30
30
  READONLY: string;
31
31
  LANGUAGE: string;
32
- MONITORS: string;
32
+ Monitors: string;
33
33
  SIGNALS_FOR_PROCESSING: string;
34
34
  MANAGED_BY_PROFILE: string;
35
35
  API_TOKEN: string;
@@ -39,4 +39,5 @@ export declare const DISPLAY_TITLES: {
39
39
  DETECTED_CONTAINERS: string;
40
40
  DETECTED_CONTAINERS_DESCRIPTION: string;
41
41
  CONTAINER_NAME: string;
42
+ FILTERED_COUNT_TOOLTIP: string;
42
43
  };
package/lib/constants.js CHANGED
@@ -1,11 +1,11 @@
1
- export { A as ACTION_OPTIONS, I as INSTRUMENTATION_RULE_OPTIONS, M as MONITORS_OPTIONS } from './index-CZe2VX28.js';
2
- export { D as DISPLAY_TITLES, F as FORM_ALERTS } from './index-Cu2uHOuh.js';
1
+ export { A as ACTION_OPTIONS, I as INSTRUMENTATION_RULE_OPTIONS, M as MONITORS_OPTIONS } from './index-CJKFedQi.js';
2
+ export { D as DISPLAY_TITLES, F as FORM_ALERTS } from './index-C_0J5P9M.js';
3
3
  import './types.js';
4
- import './index-BumPE6cF.js';
4
+ import './index-Db_ZDrEr.js';
5
5
  import './index-BGlk5VhF.js';
6
6
  import 'react';
7
7
  import './theme.js';
8
- import './index-DIcomki-.js';
8
+ import './index-DYEcdkUF.js';
9
9
  import 'styled-components';
10
10
 
11
11
  const TOKEN_ABOUT_TO_EXPIRE = 604800000; // 7 days in milliseconds
@@ -1,7 +1,7 @@
1
1
  import { type Action } from '@/types';
2
- import { DATA_CARD_FIELD_TYPES } from '@/components';
2
+ import { DataCardFieldTypes } from '@/components';
3
3
  declare const buildCard: (action: Action) => {
4
- type?: DATA_CARD_FIELD_TYPES;
4
+ type?: DataCardFieldTypes;
5
5
  title?: string;
6
6
  tooltip?: string;
7
7
  value?: string | Record<string, any>;
@@ -1,8 +1,8 @@
1
1
  import { type FC } from 'react';
2
- import { ACTION_TYPE, type ActionFormData } from '@/types';
2
+ import { ActionType, type ActionFormData } from '@/types';
3
3
  interface ActionDrawerProps {
4
4
  updateAction: (id: string, action: ActionFormData) => void;
5
- deleteAction: (id: string, actionType: ACTION_TYPE) => void;
5
+ deleteAction: (id: string, actionType: ActionType) => void;
6
6
  }
7
7
  declare const ActionDrawer: FC<ActionDrawerProps>;
8
8
  export { ActionDrawer, type ActionDrawerProps };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { ACTION_TYPE, type ActionFormData, type CustomFieldProps } from '@/types';
2
+ import { ActionType, type ActionFormData, type CustomFieldProps } from '@/types';
3
3
  interface CustomFieldsProps extends CustomFieldProps<ActionFormData> {
4
- actionType?: ACTION_TYPE;
4
+ actionType?: ActionType;
5
5
  }
6
6
  declare const CustomFields: React.FC<CustomFieldsProps>;
7
7
  export { CustomFields, type CustomFieldsProps };
@@ -1,10 +1,10 @@
1
1
  import { type FC } from 'react';
2
- import { EDGE_TYPES } from '@/types';
2
+ import { EdgeTypes } from '@/types';
3
3
  import { type EdgeProps, type Edge } from '@xyflow/react';
4
4
  export interface LabeledEdgeProps extends EdgeProps<Edge<{
5
5
  label: string;
6
6
  isMultiTarget?: boolean;
7
7
  isError?: boolean;
8
- }, EDGE_TYPES.LABELED>> {
8
+ }, EdgeTypes.Labeled>> {
9
9
  }
10
10
  export declare const LabeledEdge: FC<LabeledEdgeProps>;
@@ -1,2 +1,2 @@
1
- import { PROGRAMMING_LANGUAGES, type Source } from '@/types';
2
- export declare const getMainContainerLanguage: (source: Source) => PROGRAMMING_LANGUAGES;
1
+ import { ProgrammingLanguages, type Source } from '@/types';
2
+ export declare const getMainContainerLanguage: (source: Source) => ProgrammingLanguages;
@@ -1,8 +1,8 @@
1
- import { ENTITY_TYPES } from '@/types';
1
+ import { EntityTypes } from '@/types';
2
2
  interface Params {
3
3
  containerWidth: number;
4
4
  }
5
- export type NodePositions = Record<ENTITY_TYPES, {
5
+ export type NodePositions = Record<EntityTypes, {
6
6
  x: number;
7
7
  y: (idx?: number) => number;
8
8
  }>;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { ADD_NODE_TYPES, NODE_TYPES } from '@/types';
2
+ import { AddNodeTypes, NodeTypes } from '@/types';
3
3
  import { type Node, type NodeProps } from '@xyflow/react';
4
4
  export interface AddNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
- type: ADD_NODE_TYPES;
6
+ type: AddNodeTypes;
7
7
  title: string;
8
8
  subTitle: string;
9
- }, NODE_TYPES.ADD>> {
9
+ }, NodeTypes.Add>> {
10
10
  }
11
11
  export declare const AddNode: React.FC<AddNodeProps>;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { type Node, type NodeProps } from '@xyflow/react';
3
- import { type Action, type Destination, ENTITY_TYPES, type InstrumentationRule, NODE_TYPES, NOTIFICATION_TYPE, SIGNAL_TYPE, type Source, type SVG, type WorkloadId } from '@/types';
3
+ import { type Action, type Destination, EntityTypes, type InstrumentationRule, NodeTypes, StatusType, SignalType, type Source, type SVG, type WorkloadId } from '@/types';
4
4
  export interface BaseNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
6
  id: string | WorkloadId;
7
- type: ENTITY_TYPES;
8
- status?: NOTIFICATION_TYPE;
7
+ type: EntityTypes;
8
+ status?: StatusType;
9
9
  faded?: boolean;
10
10
  title: string;
11
11
  subTitle: string;
@@ -13,9 +13,9 @@ export interface BaseNodeProps extends NodeProps<Node<{
13
13
  icons?: SVG[];
14
14
  iconSrc?: string;
15
15
  iconSrcs?: string[];
16
- monitors?: SIGNAL_TYPE[];
16
+ monitors?: SignalType[];
17
17
  isActive?: boolean;
18
18
  raw: Source | Destination | Action | InstrumentationRule;
19
- }, NODE_TYPES.BASE>> {
19
+ }, NodeTypes.Base>> {
20
20
  }
21
21
  export declare const BaseNode: React.FC<BaseNodeProps>;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { NODE_TYPES } from '@/types';
2
+ import { NodeTypes } from '@/types';
3
3
  import { type Node, type NodeProps } from '@xyflow/react';
4
4
  export interface EdgedNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
6
  nodeHeight: number;
7
- }, NODE_TYPES.EDGED>> {
7
+ }, NodeTypes.Edged>> {
8
8
  }
9
9
  export declare const EdgedNode: React.FC<EdgedNodeProps>;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { NODE_TYPES } from '@/types';
2
+ import { NodeTypes } from '@/types';
3
3
  import { type Node, type NodeProps } from '@xyflow/react';
4
4
  export interface FrameNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
6
  nodeHeight: number;
7
- }, NODE_TYPES.FRAME>> {
7
+ }, NodeTypes.Frame>> {
8
8
  }
9
9
  export declare const FrameNode: React.FC<FrameNodeProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Node, NodeProps } from '@xyflow/react';
3
- import { NODE_TYPES, type Source, type SVG } from '@/types';
3
+ import { NodeTypes, type Source, type SVG } from '@/types';
4
4
  export interface HeaderNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
6
  icon: SVG;
@@ -9,6 +9,6 @@ export interface HeaderNodeProps extends NodeProps<Node<{
9
9
  badgeTooltip?: string;
10
10
  isFetching?: boolean;
11
11
  sources?: Source[];
12
- }, NODE_TYPES.HEADER>> {
12
+ }, NodeTypes.Header>> {
13
13
  }
14
14
  export declare const HeaderNode: React.FC<HeaderNodeProps>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { Node, NodeProps } from '@xyflow/react';
3
- import { ENTITY_TYPES, NODE_TYPES, NOTIFICATION_TYPE, type Source, type SVG, type WorkloadId } from '@/types';
3
+ import { EntityTypes, NodeTypes, StatusType, type Source, type SVG, type WorkloadId } from '@/types';
4
4
  export interface ScrollNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
6
  nodeHeight: number;
@@ -8,19 +8,19 @@ export interface ScrollNodeProps extends NodeProps<Node<{
8
8
  nodeWidth: number;
9
9
  framePadding: number;
10
10
  id: WorkloadId;
11
- type: ENTITY_TYPES;
12
- status?: NOTIFICATION_TYPE;
11
+ type: EntityTypes;
12
+ status?: StatusType;
13
13
  title: string;
14
14
  subTitle: string;
15
15
  icon?: SVG;
16
16
  iconSrc?: string;
17
17
  raw: Source;
18
- }, NODE_TYPES.BASE>>[];
18
+ }, NodeTypes.Base>>[];
19
19
  onScroll: (params: {
20
20
  clientHeight: number;
21
21
  scrollHeight: number;
22
22
  scrollTop: number;
23
23
  }) => void;
24
- }, NODE_TYPES.SCROLL>> {
24
+ }, NodeTypes.Scroll>> {
25
25
  }
26
26
  export declare const ScrollNode: React.FC<ScrollNodeProps>;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import { NODE_TYPES } from '@/types';
2
+ import { NodeTypes } from '@/types';
3
3
  import { type Node, type NodeProps } from '@xyflow/react';
4
4
  export interface SkeletonNodeProps extends NodeProps<Node<{
5
5
  nodeWidth: number;
6
- }, NODE_TYPES.SKELETON>> {
6
+ }, NodeTypes.Skeleton>> {
7
7
  }
8
8
  export declare const SkeletonNode: React.FC<SkeletonNodeProps>;