@odigos/ui-kit 0.0.183 → 0.0.185

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 (77) hide show
  1. package/CHANGELOG.md +0 -101
  2. package/README.md +12 -16
  3. package/lib/chunks/ui-components-DO2fZKs1.js +2286 -0
  4. package/lib/components/_v2/drop-data/index.d.ts +7 -9
  5. package/lib/components/_v2/input/index.d.ts +1 -3
  6. package/lib/components/_v2/loader/index.d.ts +1 -3
  7. package/lib/components/_v2/segment/index.d.ts +2 -1
  8. package/lib/components/_v2/table/styled.d.ts +18 -29
  9. package/lib/components/_v2/table/types.d.ts +0 -2
  10. package/lib/components/selection-button/index.d.ts +1 -1
  11. package/lib/components/styled.d.ts +50 -46
  12. package/lib/components/tab-list/index.d.ts +3 -4
  13. package/lib/components/text/index.d.ts +1 -1
  14. package/lib/components/v2.js +1 -1
  15. package/lib/components.js +1 -1
  16. package/lib/constants/sources/index.d.ts +1 -5
  17. package/lib/constants.js +1 -1
  18. package/lib/containers/_v2/central-connections/config-drawer/index.d.ts +8 -6
  19. package/lib/containers/_v2/central-connections/index.d.ts +6 -5
  20. package/lib/containers/_v2/central-connections/source-drawer/index.d.ts +1 -1
  21. package/lib/containers/_v2/central-connections/source-drawer/styled.d.ts +15 -15
  22. package/lib/containers/_v2/index.d.ts +0 -1
  23. package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +1 -1
  24. package/lib/containers/data-flow/column/frame.d.ts +1 -0
  25. package/lib/containers/data-flow/column/index.d.ts +1 -0
  26. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +1 -1
  27. package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -9
  28. package/lib/containers/instrumentation-rule-modal/index.d.ts +1 -0
  29. package/lib/containers/source-drawer/describe/index.d.ts +1 -1
  30. package/lib/containers/source-drawer/odigos-health/index.d.ts +2 -1
  31. package/lib/containers/v2.js +20 -27
  32. package/lib/containers.js +130 -128
  33. package/lib/contexts/odigos-context.d.ts +9 -11
  34. package/lib/contexts.js +1 -1
  35. package/lib/functions.js +1 -1
  36. package/lib/hooks/index.d.ts +1 -0
  37. package/lib/hooks/useActionFormData.d.ts +1 -1
  38. package/lib/hooks/useConnection.d.ts +3 -0
  39. package/lib/hooks.js +1 -1
  40. package/lib/icons/auth/index.d.ts +0 -1
  41. package/lib/icons/common/index.d.ts +0 -1
  42. package/lib/icons.js +1 -1
  43. package/lib/mock-data/sources/index.d.ts +19 -2
  44. package/lib/snippets/_v2/yaml-section-card/index.d.ts +0 -2
  45. package/lib/snippets/add-button/index.d.ts +1 -1
  46. package/lib/snippets/source-container/index.d.ts +1 -1
  47. package/lib/snippets/source-container/override-runtime.d.ts +1 -2
  48. package/lib/snippets.js +1 -1
  49. package/lib/store.js +1 -1
  50. package/lib/theme/animations/index.d.ts +22 -28
  51. package/lib/theme/index.d.ts +12 -3
  52. package/lib/theme.js +1 -1
  53. package/lib/types/common/index.d.ts +1 -1
  54. package/lib/types/enum/index.d.ts +1 -23
  55. package/lib/types/index.d.ts +0 -1
  56. package/lib/types/instrumentation-instances/index.d.ts +0 -1
  57. package/lib/types/pipeline-collectors/index.d.ts +0 -9
  58. package/lib/types/sources/index.d.ts +2 -4
  59. package/lib/types.js +1 -1
  60. package/lib/visuals/index.d.ts +2 -1
  61. package/lib/visuals/visual-star/index.d.ts +2 -0
  62. package/lib/visuals/visual-success/index.d.ts +2 -0
  63. package/lib/visuals.js +1 -1
  64. package/package.json +1 -1
  65. package/lib/chunks/ui-components-CYC_0_iY.js +0 -2296
  66. package/lib/containers/_v2/system-drawer/describe/index.d.ts +0 -10
  67. package/lib/containers/_v2/system-drawer/diagnose/index.d.ts +0 -6
  68. package/lib/containers/_v2/system-drawer/index.d.ts +0 -11
  69. package/lib/containers/_v2/system-drawer/tokens/index.d.ts +0 -7
  70. package/lib/containers/_v2/system-drawer/tokens/token-actions.d.ts +0 -12
  71. package/lib/containers/_v2/system-drawer/tokens/token-expires-at.d.ts +0 -6
  72. package/lib/containers/_v2/system-drawer/tokens/token-input.d.ts +0 -8
  73. package/lib/icons/auth/okta-icon/index.d.ts +0 -2
  74. package/lib/icons/common/diagnose-icon/index.d.ts +0 -2
  75. package/lib/types/diagnose/index.d.ts +0 -6
  76. package/lib/visuals/visual-green-rings/index.d.ts +0 -7
  77. /package/lib/theme/{palettes → palletes}/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { type FC, type CSSProperties } from 'react';
1
+ import { type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
3
  import { type ButtonProps } from '../button';
4
4
  import { type IconButtonProps } from '../icon-button';
@@ -10,24 +10,22 @@ export declare enum DropDataAlignY {
10
10
  Top = "top",
11
11
  Bottom = "bottom"
12
12
  }
13
- export interface DropDataOption {
13
+ interface DropDataOption {
14
14
  id: string;
15
15
  label: string;
16
16
  icon?: SVG;
17
17
  withCheckbox?: boolean;
18
18
  }
19
19
  export interface DropDataProps {
20
- defaultOpen?: boolean;
21
- alignX?: DropDataAlignX;
22
- alignY?: DropDataAlignY;
23
20
  items: (DropDataOption | null)[];
24
21
  selectedIds: DropDataOption['id'][];
25
22
  setSelectedIds: (ids: DropDataOption['id'][]) => void;
26
23
  withMultiSelect?: boolean;
27
- withSearch?: boolean;
28
- fullWidth?: boolean;
29
- maxHeight?: CSSProperties['maxHeight'];
30
- buttonProps?: Omit<ButtonProps, 'fullWidth'>;
24
+ alignX?: DropDataAlignX;
25
+ alignY?: DropDataAlignY;
26
+ defaultOpen?: boolean;
27
+ buttonProps?: ButtonProps;
31
28
  iconButtonProps?: IconButtonProps;
32
29
  }
33
30
  export declare const DropData: FC<DropDataProps>;
31
+ export {};
@@ -1,4 +1,4 @@
1
- import { type InputHTMLAttributes, type FC, type CSSProperties } from 'react';
1
+ import { type InputHTMLAttributes, type FC } from 'react';
2
2
  import { type SVG } from '@/types';
3
3
  export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
4
4
  label?: string;
@@ -8,7 +8,5 @@ export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
8
8
  rightIcon?: SVG;
9
9
  errorMessage?: string;
10
10
  helpMessage?: string;
11
- maxWidth?: CSSProperties['maxWidth'];
12
- small?: boolean;
13
11
  }
14
12
  export declare const Input: FC<InputProps>;
@@ -9,12 +9,10 @@ export interface LoaderProps {
9
9
  subTitle?: string;
10
10
  subTitleColor?: CSSProperties['color'];
11
11
  subTitleSize?: TypographySize;
12
- startedAt?: number;
13
12
  withGradient?: boolean;
14
13
  gradientColor?: string;
15
14
  withSpinner?: boolean;
15
+ prettySpinner?: boolean;
16
16
  percentage?: number;
17
- withVisual?: boolean;
18
- visualIcon?: SVG;
19
17
  }
20
18
  export declare const Loader: FC<LoaderProps>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { SVG } from '@/types';
2
3
  export declare enum SegmentSize {
3
4
  S = "s",
@@ -15,5 +16,5 @@ export interface SegmentProps<T = any> {
15
16
  setSelected: (value: T) => void;
16
17
  disabled?: boolean;
17
18
  }
18
- export declare const Segment: <T>({ size, options, selected, setSelected, disabled }: SegmentProps<T>) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const Segment: <T>({ size, options, selected, setSelected, disabled }: SegmentProps<T>) => React.JSX.Element;
19
20
  export {};
@@ -1,30 +1,22 @@
1
- import { type CSSProperties, type HTMLAttributes, type RefAttributes } from 'react';
1
+ import { type CSSProperties } from 'react';
2
2
  import { type TableColumn, TableVariant } from './types';
3
- import { type IStyledComponent } from 'styled-components';
4
- type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
5
- type TableProps<P = object> = P & HTMLAttributes<HTMLTableElement> & RefAttributes<HTMLTableElement>;
6
- type TableSectionProps<P = object> = P & HTMLAttributes<HTMLTableSectionElement> & RefAttributes<HTMLTableSectionElement>;
7
- type TableCellProps<P = object> = P & HTMLAttributes<HTMLTableCellElement> & RefAttributes<HTMLTableCellElement>;
8
- interface ContainerProps {
9
- $maxHeight: CSSProperties['maxHeight'];
10
- }
11
- export declare const Container: IStyledComponent<'web', DivProps<ContainerProps>>;
12
- interface TableRootProps {
3
+ export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $maxHeight: CSSProperties["maxHeight"];
5
+ }>> & string;
6
+ export declare const TableRoot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
13
7
  $variant: TableVariant;
14
- }
15
- export declare const TableRoot: IStyledComponent<'web', TableProps<TableRootProps>>;
16
- export declare const THead: IStyledComponent<'web', TableSectionProps>;
17
- interface ThProps {
8
+ }>> & string;
9
+ export declare const THead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
10
+ export declare const Th: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {
18
11
  $variant: TableVariant;
19
- $backgroundColor?: CSSProperties['backgroundColor'];
20
- $minWidth?: TableColumn['minWidth'];
12
+ $backgroundColor?: CSSProperties["backgroundColor"];
13
+ $minWidth?: TableColumn["minWidth"];
21
14
  $isFirst: boolean;
22
15
  $isLast: boolean;
23
- }
24
- export declare const Th: IStyledComponent<'web', TableCellProps<ThProps>>;
25
- export declare const ThBorder: IStyledComponent<'web', DivProps>;
26
- export declare const TBody: IStyledComponent<'web', TableSectionProps>;
27
- interface TdProps {
16
+ }>> & string;
17
+ export declare const ThBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
+ export declare const TBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
19
+ export declare const Td: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
28
20
  $variant: TableVariant;
29
21
  $withClick: boolean;
30
22
  $hovered: boolean;
@@ -32,10 +24,7 @@ interface TdProps {
32
24
  $isLastRow: boolean;
33
25
  $isFirstCell: boolean;
34
26
  $isLastCell: boolean;
35
- }
36
- export declare const Td: IStyledComponent<'web', TableCellProps<TdProps>>;
37
- interface HeadWrapperProps {
38
- $textAlign?: TableColumn['textAlign'];
39
- }
40
- export declare const HeadWrapper: IStyledComponent<'web', DivProps<HeadWrapperProps>>;
41
- export {};
27
+ }>> & string;
28
+ export declare const HeadWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
29
+ $textAlign?: TableColumn["textAlign"];
30
+ }>> & string;
@@ -6,8 +6,6 @@ export declare enum TableVariant {
6
6
  export interface TableColumn {
7
7
  key: string;
8
8
  label: string;
9
- noSort?: boolean;
10
- noFilter?: boolean;
11
9
  minWidth?: CSSProperties['minWidth'];
12
10
  textAlign?: CSSProperties['textAlign'];
13
11
  }
@@ -13,5 +13,5 @@ interface SelectionButtonProps {
13
13
  hoverColor?: React.CSSProperties['backgroundColor'];
14
14
  style?: React.CSSProperties;
15
15
  }
16
- declare const SelectionButton: ({ label, onClick, icon: Icon, iconSrc, badgeLabel, badgeFilled, isSelected, withBorder, color, hoverColor, style }: SelectionButtonProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const SelectionButton: ({ label, onClick, icon: Icon, iconSrc, badgeLabel, badgeFilled, isSelected, withBorder, color, hoverColor, style }: SelectionButtonProps) => React.JSX.Element;
17
17
  export { SelectionButton, type SelectionButtonProps };
@@ -1,50 +1,54 @@
1
- import { type HTMLAttributes, type RefAttributes } from 'react';
2
- import { type CSSProperties, type IStyledComponent } from 'styled-components';
3
- type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
4
- export declare const PageContent: IStyledComponent<'web', DivProps>;
5
- export declare const UpgradeRequiredWrapper: IStyledComponent<'web', DivProps>;
6
- interface FlexRowProps {
1
+ import { type CSSProperties } from 'styled-components';
2
+ export declare const PageContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const UpgradeRequiredWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ 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>, {
7
5
  $gap?: number;
8
- $alignItems?: CSSProperties['alignItems'];
9
- $justifyContent?: CSSProperties['justifyContent'];
10
- $wrap?: CSSProperties['flexWrap'];
11
- $width?: CSSProperties['width'];
12
- $height?: CSSProperties['height'];
13
- $padding?: CSSProperties['padding'];
14
- }
15
- export declare const FlexRow: IStyledComponent<'web', DivProps<FlexRowProps>>;
16
- interface FlexColumnProps {
6
+ $alignItems?: CSSProperties["alignItems"];
7
+ $justifyContent?: CSSProperties["justifyContent"];
8
+ $wrap?: CSSProperties["flexWrap"];
9
+ $padding?: CSSProperties["padding"];
10
+ }>> & string;
11
+ 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>, {
17
12
  $gap?: number;
18
- $alignItems?: CSSProperties['alignItems'];
19
- $justifyContent?: CSSProperties['justifyContent'];
20
- $wrap?: CSSProperties['flexWrap'];
21
- $width?: CSSProperties['width'];
22
- $height?: CSSProperties['height'];
23
- $padding?: CSSProperties['padding'];
24
- }
25
- export declare const FlexColumn: IStyledComponent<'web', DivProps<FlexColumnProps>>;
26
- interface CenterThisProps extends FlexColumnProps {
27
- $width?: CSSProperties['width'];
28
- $height?: CSSProperties['height'];
29
- }
30
- export declare const CenterThis: IStyledComponent<'web', DivProps<CenterThisProps>>;
31
- export declare const VerticalScroll: IStyledComponent<'web', DivProps>;
32
- interface OverlayProps {
13
+ $alignItems?: CSSProperties["alignItems"];
14
+ $justifyContent?: CSSProperties["justifyContent"];
15
+ $wrap?: CSSProperties["flexWrap"];
16
+ $padding?: CSSProperties["padding"];
17
+ }>> & string;
18
+ export declare const CenterThis: 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" | "$alignItems" | "$justifyContent" | "$wrap" | "$padding"> & {
19
+ $gap?: number;
20
+ $alignItems?: CSSProperties["alignItems"];
21
+ $justifyContent?: CSSProperties["justifyContent"];
22
+ $wrap?: CSSProperties["flexWrap"];
23
+ $padding?: CSSProperties["padding"];
24
+ }, {
25
+ $width?: CSSProperties["width"];
26
+ $height?: CSSProperties["height"];
27
+ }>> & string;
28
+ export declare const VerticalScroll: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
29
+ export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
33
30
  $relativeToParent?: boolean;
34
- }
35
- export declare const Overlay: IStyledComponent<'web', DivProps<OverlayProps>>;
36
- interface ModalBodyProps {
31
+ }>> & string;
32
+ 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>, {
37
33
  $isNotModal?: boolean;
38
- $minHeight?: CSSProperties['minHeight'];
39
- }
40
- export declare const ModalBody: IStyledComponent<'web', DivProps<ModalBodyProps>>;
41
- interface TableContainerProps extends FlexColumnProps {
42
- $maxWidth: CSSProperties['maxWidth'];
43
- }
44
- export declare const TableContainer: IStyledComponent<'web', DivProps<TableContainerProps>>;
45
- export declare const TableTitleWrap: IStyledComponent<'web', DivProps<FlexRowProps>>;
46
- interface TableWrapProps {
47
- $maxHeight: CSSProperties['maxHeight'];
48
- }
49
- export declare const TableWrap: IStyledComponent<'web', DivProps<TableWrapProps>>;
50
- export {};
34
+ $minHeight?: CSSProperties["minHeight"];
35
+ }>> & string;
36
+ 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" | "$alignItems" | "$justifyContent" | "$wrap" | "$padding"> & {
37
+ $gap?: number;
38
+ $alignItems?: CSSProperties["alignItems"];
39
+ $justifyContent?: CSSProperties["justifyContent"];
40
+ $wrap?: CSSProperties["flexWrap"];
41
+ $padding?: CSSProperties["padding"];
42
+ }, {
43
+ $maxWidth: CSSProperties["maxWidth"];
44
+ }>> & string;
45
+ 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" | "$wrap" | "$padding"> & {
46
+ $gap?: number;
47
+ $alignItems?: CSSProperties["alignItems"];
48
+ $justifyContent?: CSSProperties["justifyContent"];
49
+ $wrap?: CSSProperties["flexWrap"];
50
+ $padding?: CSSProperties["padding"];
51
+ }, never>> & string;
52
+ 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>, {
53
+ $maxHeight: CSSProperties["maxHeight"];
54
+ }>> & string;
@@ -1,6 +1,5 @@
1
- import { HTMLAttributes, type FC, RefAttributes } from 'react';
1
+ import React, { type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { type IStyledComponent } from 'styled-components';
4
3
  interface Tab {
5
4
  label: string;
6
5
  icon?: SVG;
@@ -11,8 +10,8 @@ interface TabListProps {
11
10
  tabs?: Tab[];
12
11
  hideBorder?: boolean;
13
12
  }
14
- declare const Tab: IStyledComponent<'web', {
13
+ declare const Tab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
15
14
  $selected?: boolean;
16
- } & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>>;
15
+ }>> & string;
17
16
  declare const TabList: FC<TabListProps>;
18
17
  export { TabList, type TabListProps, type Tab };
@@ -1,5 +1,5 @@
1
1
  import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode, CSSProperties } from 'react';
2
- import { type DefaultTheme } from 'styled-components';
2
+ import { DefaultTheme } from 'styled-components';
3
3
  interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
4
4
  children?: ReactNode;
5
5
  color?: string;
@@ -1 +1 @@
1
- export{B as Badge,m as Button,v as ButtonSize,dA as ButtonTab,dB as ButtonTabList,n as ButtonVariants,C as Checkbox,dC as CheckboxList,dD as CheckboxSize,Q as CliCommand,K as DataCard,i as Drawer,a6 as DropData,w as DropDataAlignX,a7 as DropDataAlignY,dE as Header,cf as HoverActions,M as IconButton,cp as IconButtonSize,a2 as Input,I as Island,L as Loader,dF as Modal,dG as Navbar,l as Note,dH as Radio,dI as RadioGroup,dJ as RadioSize,k as Search,y as SectionCard,dK as SectionCardSize,V as Segment,dL as SegmentSize,X as StatusCard,z as Table,G as TableVariant,dM as Tag,Z as TextCard,d as Toggle,dN as ToggleLabelAlign,dO as ToggleList,e as ToggleSize,dP as ToggleVariant,T as Typography,b as TypographySize,f as TypographyVariants,dQ as WarningModal}from"../chunks/ui-components-CYC_0_iY.js";import"../icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{B as Badge,m as Button,v as ButtonSize,dq as ButtonTab,dr as ButtonTabList,n as ButtonVariants,C as Checkbox,ds as CheckboxList,dt as CheckboxSize,M as CliCommand,J as DataCard,i as Drawer,du as DropData,G as DropDataAlignX,dv as DropDataAlignY,dw as Header,c7 as HoverActions,K as IconButton,cj as IconButtonSize,dx as Input,I as Island,L as Loader,dy as Modal,dz as Navbar,l as Note,dA as Radio,dB as RadioGroup,dC as RadioSize,k as Search,t as SectionCard,dD as SectionCardSize,U as Segment,dE as SegmentSize,W as StatusCard,x as Table,y as TableVariant,dF as Tag,X as TextCard,d as Toggle,dG as ToggleLabelAlign,dH as ToggleList,e as ToggleSize,dI as ToggleVariant,T as Typography,b as TypographySize,f as TypographyVariants,dJ as WarningModal}from"../chunks/ui-components-DO2fZKs1.js";import"../icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"../chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/lib/components.js CHANGED
@@ -1 +1 @@
1
- export{aN as AutocompleteInput,b5 as Badge,b7 as Button,aA as CancelWarning,j as CenterThis,ae as Checkbox,di as Code,aE as ConditionDetails,aF as DataCard,a9 as DataCardFieldTypes,bP as DataCardFields,dj as DataFinger,b9 as DataTab,az as DeleteWarning,cd as DescribeRow,aO as Divider,ar as DocsButton,ay as Drawer,dk as DrawerFooter,dl as DrawerHeader,bu as Dropdown,dm as ErrorBoundary,bC as ExtendArrow,r as FadeLoader,af as FieldError,ad as FieldLabel,F as FlexColumn,a as FlexRow,dn as Header,bB as IconButton,cn as IconGroup,b0 as IconTitleBadge,aX as IconWrapped,c9 as IconsNav,dp as ImageControlled,ag as Input,am as InputList,aj as InputTable,b3 as InteractiveTable,al as KeyValueInputsList,c7 as LoadingText,aJ as Modal,aK as ModalBody,as as MonitorsCheckboxes,aZ as MonitorsIcons,aP as NavigationButtons,N as NoDataFound,aL as NotificationNote,dq as Overlay,x as PageContent,bp as Popup,cq as PopupForm,cv as ScrollX,bc as ScrollY,aq as SectionTitle,ao as Segment,br as SelectionButton,bh as SkeletonLoader,aR as Status,bO as Stepper,dr as TabList,a_ as TableContainer,a$ as TableTitleWrap,b2 as TableWrap,bY as Tag,au as Text,at as TextArea,ak as Toggle,ct as ToggleCodeComponent,c as Tooltip,b4 as TraceLoader,a0 as UpgradeRequiredWrapper,bq as VerticalScroll,ds as WarningModal,dt as getLinksFromText,du as getStrongsFromText,dv as renderText}from"./chunks/ui-components-CYC_0_iY.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{aH as AutocompleteInput,a_ as Badge,b0 as Button,as as CancelWarning,j as CenterThis,a7 as Checkbox,d7 as Code,ay as ConditionDetails,az as DataCard,a2 as DataCardFieldTypes,bJ as DataCardFields,d8 as DataFinger,b2 as DataTab,ar as DeleteWarning,c5 as DescribeRow,aI as Divider,aj as DocsButton,aq as Drawer,d9 as DrawerFooter,da as DrawerHeader,bo as Dropdown,db as ErrorBoundary,bw as ExtendArrow,q as FadeLoader,a8 as FieldError,a6 as FieldLabel,F as FlexColumn,a as FlexRow,dc as Header,bv as IconButton,cf as IconGroup,aV as IconTitleBadge,aQ as IconWrapped,c1 as IconsNav,dd as ImageControlled,a9 as Input,af as InputList,ac as InputTable,aY as InteractiveTable,ae as KeyValueInputsList,b$ as LoadingText,aC as Modal,aE as ModalBody,ak as MonitorsCheckboxes,aS as MonitorsIcons,aD as NavigationButtons,N as NoDataFound,aF as NotificationNote,de as Overlay,s as PageContent,bj as Popup,ck as PopupForm,cp as ScrollX,b5 as ScrollY,ai as SectionTitle,ah as Segment,bk as SelectionButton,ba as SkeletonLoader,aK as Status,bI as Stepper,df as TabList,aT as TableContainer,aU as TableTitleWrap,aX as TableWrap,bS as Tag,am as Text,al as TextArea,ad as Toggle,cn as ToggleCodeComponent,c as Tooltip,aZ as TraceLoader,$ as UpgradeRequiredWrapper,bl as VerticalScroll,dg as WarningModal,dh as getLinksFromText,di as getStrongsFromText,dj as renderText}from"./chunks/ui-components-DO2fZKs1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
@@ -1,8 +1,4 @@
1
- import { OtelDistroName, ProgrammingLanguages } from '@/types';
1
+ import { ProgrammingLanguages } from '@/types';
2
2
  import type { DropdownOption } from '@/components';
3
3
  export declare const DISPLAY_LANGUAGES: Record<ProgrammingLanguages, string>;
4
4
  export declare const LANGUAGE_OPTIONS: DropdownOption<ProgrammingLanguages>[];
5
- export declare const OTEL_DISTRO_NAME_OPTIONS: Record<ProgrammingLanguages, {
6
- community: DropdownOption<OtelDistroName>[];
7
- enterprise: DropdownOption<OtelDistroName>[];
8
- }>;
package/lib/constants.js CHANGED
@@ -1 +1 @@
1
- export{aD as ACTION_OPTIONS,ax as BUTTON_TEXTS,D as DEFAULT_DATA_STREAM_NAME,bN as DESTINATION_CATEGORIES,bv as DISPLAY_LANGUAGES,a8 as DISPLAY_TITLES,aM as FORM_ALERTS,c0 as INSTRUMENTATION_RULE_OPTIONS,d5 as LANGUAGE_OPTIONS,bw as MONITORS_OPTIONS,d6 as OTEL_DISTRO_NAME_OPTIONS,bx as STORAGE_KEYS,d7 as TOKEN_ABOUT_TO_EXPIRE}from"./chunks/ui-components-CYC_0_iY.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{aw as ACTION_OPTIONS,ap as BUTTON_TEXTS,D as DEFAULT_DATA_STREAM_NAME,bH as DESTINATION_CATEGORIES,bp as DISPLAY_LANGUAGES,a1 as DISPLAY_TITLES,aG as FORM_ALERTS,bW as INSTRUMENTATION_RULE_OPTIONS,c$ as LANGUAGE_OPTIONS,bq as MONITORS_OPTIONS,br as STORAGE_KEYS,d0 as TOKEN_ABOUT_TO_EXPIRE}from"./chunks/ui-components-DO2fZKs1.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1oZp1FpB.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
@@ -1,8 +1,11 @@
1
1
  import { type FC, type Dispatch, type SetStateAction } from 'react';
2
- import { type Connection, type EffectiveConfig } from '@/types';
2
+ import { type Connection, type ConnectionRemoteConfig } from '@/types';
3
3
  import { DrawerProps } from '@/components/_v2';
4
- export type GetEffectiveConfig = (id: string) => Promise<EffectiveConfig | undefined>;
5
- export type ApplyConfigurationsFunc = (connectionIds: string[], formData: EffectiveConfig) => Promise<{
4
+ export interface ConnectionConfigurationsFormData {
5
+ automaticRollout: boolean;
6
+ }
7
+ export type GetConnectionRemoteConfig = (id: string) => Promise<ConnectionRemoteConfig | undefined>;
8
+ export type ApplyConnectionsConfigurationsFunc = (connectionIds: string[], formData: ConnectionConfigurationsFormData) => Promise<{
6
9
  error?: string;
7
10
  } | undefined>;
8
11
  export interface ConfigDrawerProps {
@@ -10,9 +13,8 @@ export interface ConfigDrawerProps {
10
13
  connections: Connection[];
11
14
  selectedConnectionIds: string[];
12
15
  setSelectedConnectionIds: Dispatch<SetStateAction<string[]>>;
13
- getEffectiveConfig: GetEffectiveConfig;
14
- onApply: ApplyConfigurationsFunc;
16
+ getConnectionRemoteConfig: GetConnectionRemoteConfig;
17
+ onApply: ApplyConnectionsConfigurationsFunc;
15
18
  }
16
19
  export declare const CONFIG_DRAWER_WIDTH = "75vw";
17
- export declare const CONFIG_MIN_SUPPORTED_VERSION = 1.16;
18
20
  export declare const ConfigDrawer: FC<ConfigDrawerProps>;
@@ -1,15 +1,16 @@
1
- import { type FC, type CSSProperties } from 'react';
1
+ import { type FC } from 'react';
2
+ import { CSSProperties } from 'styled-components';
2
3
  import { type Connection, type GetAllClusterSnapshots, type PersistSourcesFunc } from '@/types';
3
- import { type GetEffectiveConfig, type ApplyConfigurationsFunc } from './config-drawer';
4
- export { type GetEffectiveConfig, type ApplyConfigurationsFunc };
4
+ import { type ApplyConnectionsConfigurationsFunc, type ConnectionConfigurationsFormData, GetConnectionRemoteConfig } from './config-drawer';
5
+ export { type ApplyConnectionsConfigurationsFunc, type ConnectionConfigurationsFormData, type GetConnectionRemoteConfig };
5
6
  export interface CentralConnectionsProps {
6
7
  tableRowsMaxHeight: CSSProperties['maxHeight'];
7
8
  connections?: Connection[];
8
9
  getConnections: () => Promise<Connection[]>;
9
10
  onClickConnection: (connection: Connection) => void;
10
11
  deleteConnection: (id: string) => Promise<void>;
11
- getEffectiveConfig?: GetEffectiveConfig;
12
- applyConfigurations?: ApplyConfigurationsFunc;
12
+ getConnectionRemoteConfig?: GetConnectionRemoteConfig;
13
+ applyConfigurations?: ApplyConnectionsConfigurationsFunc;
13
14
  getAllClusterSnapshots?: GetAllClusterSnapshots;
14
15
  persistSources?: PersistSourcesFunc;
15
16
  }
@@ -1,6 +1,6 @@
1
1
  import { type FC, type Dispatch, type SetStateAction } from 'react';
2
- import { DrawerProps } from '@/components/_v2';
3
2
  import { type AllClusterSnapshots, type PersistSourcesFunc } from '@/types';
3
+ import { DrawerProps } from '@/components/_v2';
4
4
  export interface SourceDrawerProps {
5
5
  onClose: DrawerProps['header']['onClose'];
6
6
  snapshots: AllClusterSnapshots;
@@ -1,17 +1,17 @@
1
- import { type CSSProperties, type HTMLAttributes, type RefAttributes } from 'react';
2
- import { type IStyledComponent } from 'styled-components';
3
- type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
4
- interface ColumnProps {
5
- $width: CSSProperties['width'];
6
- }
7
- export declare const Column: IStyledComponent<'web', DivProps<ColumnProps>>;
8
- interface ListProps {
9
- $borderRadius: CSSProperties['borderRadius'];
1
+ import { type CSSProperties } from 'react';
2
+ export declare const Column: 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" | "$alignItems" | "$justifyContent" | "$wrap" | "$padding"> & {
10
3
  $gap?: number;
11
- }
12
- export declare const List: IStyledComponent<'web', DivProps<ListProps>>;
13
- interface SelectionWrapperProps {
4
+ $alignItems?: import("styled-components").CSSProperties["alignItems"];
5
+ $justifyContent?: import("styled-components").CSSProperties["justifyContent"];
6
+ $wrap?: import("styled-components").CSSProperties["flexWrap"];
7
+ $padding?: import("styled-components").CSSProperties["padding"];
8
+ }, {
9
+ $width: CSSProperties["width"];
10
+ }>> & string;
11
+ export declare const List: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
+ $borderRadius: CSSProperties["borderRadius"];
13
+ $gap?: number;
14
+ }>> & string;
15
+ export declare const SelectionWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
14
16
  $isSelected?: boolean;
15
- }
16
- export declare const SelectionWrapper: IStyledComponent<'web', DivProps<SelectionWrapperProps>>;
17
- export {};
17
+ }>> & string;
@@ -1,3 +1,2 @@
1
1
  export * from './central-connections';
2
2
  export * from './pipeline-collectors';
3
- export * from './system-drawer';
@@ -1,5 +1,5 @@
1
1
  import { type FC, type CSSProperties } from 'react';
2
- import { type GetExtendedPodInfo, type PodInfo } from '@/types';
2
+ import type { GetExtendedPodInfo, PodInfo } from '@/types';
3
3
  export interface PodsInfoProps {
4
4
  isLoading?: boolean;
5
5
  tableRowsMaxHeight: CSSProperties['maxHeight'];
@@ -5,6 +5,7 @@ interface FrameProps {
5
5
  entityType: EntityTypes;
6
6
  entities: Source[] | Destination[] | Action[] | InstrumentationRule[];
7
7
  metrics?: Metrics;
8
+ isVm: boolean;
8
9
  }
9
10
  declare const Frame: FC<FrameProps>;
10
11
  export { Frame, type FrameProps };
@@ -7,6 +7,7 @@ interface ColumnProps {
7
7
  metrics?: Metrics;
8
8
  loading: boolean;
9
9
  maxHeight: number;
10
+ isVm: boolean;
10
11
  refetch: () => void;
11
12
  }
12
13
  declare const Column: FC<ColumnProps>;
@@ -16,7 +16,7 @@ export declare const buildSearchResults: ({ instrumentationRules, sources, actio
16
16
  entities: InstrumentationRule[] | Source[] | Action[] | Destination[];
17
17
  }[];
18
18
  searchResults: {
19
- entities: Action[] | Destination[] | Source[] | InstrumentationRule[];
19
+ entities: Source[] | Action[] | Destination[] | InstrumentationRule[];
20
20
  category: Category;
21
21
  label: string;
22
22
  count: number;
@@ -1,10 +1,6 @@
1
- import { type CSSProperties, type HTMLAttributes, type RefAttributes } from 'react';
2
- import { type IStyledComponent } from 'styled-components';
3
- type DivProps<P = object> = P & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
4
- export declare const RelativeContainer: IStyledComponent<'web', DivProps>;
5
- interface AbsoluteContainerProps {
1
+ import { CSSProperties } from 'react';
2
+ export declare const RelativeContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const AbsoluteContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
6
4
  $hidden?: boolean;
7
- $padding?: CSSProperties['padding'];
8
- }
9
- export declare const AbsoluteContainer: IStyledComponent<'web', DivProps<AbsoluteContainerProps>>;
10
- export {};
5
+ $padding?: CSSProperties["padding"];
6
+ }>> & string;
@@ -1,6 +1,7 @@
1
1
  import { type FC } from 'react';
2
2
  import { type InstrumentationRuleFormData } from '@/types';
3
3
  interface InstrumentationRuleModalProps {
4
+ isEnterprise: boolean;
4
5
  createInstrumentationRule: (instrumentationRule: InstrumentationRuleFormData) => void;
5
6
  }
6
7
  declare const InstrumentationRuleModal: FC<InstrumentationRuleModalProps>;
@@ -7,7 +7,7 @@ interface DescribeProps {
7
7
  describeSource: DescribeSource;
8
8
  };
9
9
  }>;
10
- restartPod?: (namespace: string, name: string) => Promise<void>;
10
+ restartPod: (namespace: string, name: string) => Promise<void>;
11
11
  }
12
12
  declare const Describe: FC<DescribeProps>;
13
13
  export { Describe, type DescribeProps };
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { type Source } from '@/types';
2
3
  declare const OdigosHealth: ({ workloadOdigosHealthStatus }: {
3
4
  workloadOdigosHealthStatus: Source["workloadOdigosHealthStatus"];
4
- }) => import("react/jsx-runtime").JSX.Element | null;
5
+ }) => React.JSX.Element | null;
5
6
  export { OdigosHealth };