@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.
- package/CHANGELOG.md +0 -101
- package/README.md +12 -16
- package/lib/chunks/ui-components-DO2fZKs1.js +2286 -0
- package/lib/components/_v2/drop-data/index.d.ts +7 -9
- package/lib/components/_v2/input/index.d.ts +1 -3
- package/lib/components/_v2/loader/index.d.ts +1 -3
- package/lib/components/_v2/segment/index.d.ts +2 -1
- package/lib/components/_v2/table/styled.d.ts +18 -29
- package/lib/components/_v2/table/types.d.ts +0 -2
- package/lib/components/selection-button/index.d.ts +1 -1
- package/lib/components/styled.d.ts +50 -46
- package/lib/components/tab-list/index.d.ts +3 -4
- package/lib/components/text/index.d.ts +1 -1
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/sources/index.d.ts +1 -5
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/central-connections/config-drawer/index.d.ts +8 -6
- package/lib/containers/_v2/central-connections/index.d.ts +6 -5
- package/lib/containers/_v2/central-connections/source-drawer/index.d.ts +1 -1
- package/lib/containers/_v2/central-connections/source-drawer/styled.d.ts +15 -15
- package/lib/containers/_v2/index.d.ts +0 -1
- package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +1 -1
- package/lib/containers/data-flow/column/frame.d.ts +1 -0
- package/lib/containers/data-flow/column/index.d.ts +1 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +1 -1
- package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -9
- package/lib/containers/instrumentation-rule-modal/index.d.ts +1 -0
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/odigos-health/index.d.ts +2 -1
- package/lib/containers/v2.js +20 -27
- package/lib/containers.js +130 -128
- package/lib/contexts/odigos-context.d.ts +9 -11
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks/useConnection.d.ts +3 -0
- package/lib/hooks.js +1 -1
- package/lib/icons/auth/index.d.ts +0 -1
- package/lib/icons/common/index.d.ts +0 -1
- package/lib/icons.js +1 -1
- package/lib/mock-data/sources/index.d.ts +19 -2
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +0 -2
- package/lib/snippets/add-button/index.d.ts +1 -1
- package/lib/snippets/source-container/index.d.ts +1 -1
- package/lib/snippets/source-container/override-runtime.d.ts +1 -2
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme/animations/index.d.ts +22 -28
- package/lib/theme/index.d.ts +12 -3
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +1 -1
- package/lib/types/enum/index.d.ts +1 -23
- package/lib/types/index.d.ts +0 -1
- package/lib/types/instrumentation-instances/index.d.ts +0 -1
- package/lib/types/pipeline-collectors/index.d.ts +0 -9
- package/lib/types/sources/index.d.ts +2 -4
- package/lib/types.js +1 -1
- package/lib/visuals/index.d.ts +2 -1
- package/lib/visuals/visual-star/index.d.ts +2 -0
- package/lib/visuals/visual-success/index.d.ts +2 -0
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-CYC_0_iY.js +0 -2296
- package/lib/containers/_v2/system-drawer/describe/index.d.ts +0 -10
- package/lib/containers/_v2/system-drawer/diagnose/index.d.ts +0 -6
- package/lib/containers/_v2/system-drawer/index.d.ts +0 -11
- package/lib/containers/_v2/system-drawer/tokens/index.d.ts +0 -7
- package/lib/containers/_v2/system-drawer/tokens/token-actions.d.ts +0 -12
- package/lib/containers/_v2/system-drawer/tokens/token-expires-at.d.ts +0 -6
- package/lib/containers/_v2/system-drawer/tokens/token-input.d.ts +0 -8
- package/lib/icons/auth/okta-icon/index.d.ts +0 -2
- package/lib/icons/common/diagnose-icon/index.d.ts +0 -2
- package/lib/types/diagnose/index.d.ts +0 -6
- package/lib/visuals/visual-green-rings/index.d.ts +0 -7
- /package/lib/theme/{palettes → palletes}/index.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FC
|
|
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
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
buttonProps?:
|
|
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
|
|
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>) =>
|
|
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
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
2
|
import { type TableColumn, TableVariant } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
|
16
|
-
export declare const
|
|
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[
|
|
20
|
-
$minWidth?: TableColumn[
|
|
12
|
+
$backgroundColor?: CSSProperties["backgroundColor"];
|
|
13
|
+
$minWidth?: TableColumn["minWidth"];
|
|
21
14
|
$isFirst: boolean;
|
|
22
15
|
$isLast: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
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
|
|
37
|
-
|
|
38
|
-
|
|
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;
|
|
@@ -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) =>
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
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[
|
|
9
|
-
$justifyContent?: CSSProperties[
|
|
10
|
-
$wrap?: CSSProperties[
|
|
11
|
-
$
|
|
12
|
-
|
|
13
|
-
|
|
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[
|
|
19
|
-
$justifyContent?: CSSProperties[
|
|
20
|
-
$wrap?: CSSProperties[
|
|
21
|
-
$
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$
|
|
28
|
-
$
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
|
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[
|
|
39
|
-
}
|
|
40
|
-
export declare const
|
|
41
|
-
|
|
42
|
-
$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$
|
|
48
|
-
}
|
|
49
|
-
export declare const
|
|
50
|
-
|
|
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 {
|
|
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:
|
|
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
|
-
} &
|
|
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 {
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
3
3
|
interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
color?: string;
|
package/lib/components/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{B as Badge,m as Button,v as ButtonSize,
|
|
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{
|
|
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 {
|
|
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{
|
|
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
|
|
2
|
+
import { type Connection, type ConnectionRemoteConfig } from '@/types';
|
|
3
3
|
import { DrawerProps } from '@/components/_v2';
|
|
4
|
-
export
|
|
5
|
-
|
|
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
|
-
|
|
14
|
-
onApply:
|
|
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
|
|
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
|
|
4
|
-
export { type
|
|
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
|
-
|
|
12
|
-
applyConfigurations?:
|
|
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
|
|
2
|
-
|
|
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
|
-
|
|
13
|
-
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type CSSProperties } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { GetExtendedPodInfo, PodInfo } from '@/types';
|
|
3
3
|
export interface PodsInfoProps {
|
|
4
4
|
isLoading?: boolean;
|
|
5
5
|
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
@@ -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:
|
|
19
|
+
entities: Source[] | Action[] | Destination[] | InstrumentationRule[];
|
|
20
20
|
category: Category;
|
|
21
21
|
label: string;
|
|
22
22
|
count: number;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
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[
|
|
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
|
|
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
|
-
}) =>
|
|
5
|
+
}) => React.JSX.Element | null;
|
|
5
6
|
export { OdigosHealth };
|