@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,6 +1,23 @@
|
|
|
1
|
-
import { type Source } from '@/types';
|
|
1
|
+
import { K8sResourceKind, ProgrammingLanguages, type Source } from '@/types';
|
|
2
2
|
export declare const MOCK_SOURCES_OTHER: Source[];
|
|
3
3
|
export declare const MOCK_SOURCES_SIMPLE_DEMO: Source[];
|
|
4
4
|
export declare const MOCK_SOURCES_GOOGLE: Source[];
|
|
5
|
-
export declare const MOCK_SOURCE_JAEGER:
|
|
5
|
+
export declare const MOCK_SOURCE_JAEGER: {
|
|
6
|
+
namespace: string;
|
|
7
|
+
name: string;
|
|
8
|
+
kind: K8sResourceKind;
|
|
9
|
+
dataStreamNames: string[];
|
|
10
|
+
selected: boolean;
|
|
11
|
+
otelServiceName: string;
|
|
12
|
+
numberOfInstances: number;
|
|
13
|
+
containers: {
|
|
14
|
+
containerName: string;
|
|
15
|
+
language: ProgrammingLanguages;
|
|
16
|
+
runtimeVersion: string;
|
|
17
|
+
instrumented: boolean;
|
|
18
|
+
instrumentationMessage: string;
|
|
19
|
+
otelDistroName: string;
|
|
20
|
+
}[];
|
|
21
|
+
conditions: never[];
|
|
22
|
+
};
|
|
6
23
|
export declare const MOCK_SOURCES: Source[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { type TextProps } from '@/components/text';
|
|
3
2
|
import { type ButtonProps } from '@/components/button';
|
|
3
|
+
import { type TextProps } from '@/components/text';
|
|
4
4
|
interface AddButtonProps extends ButtonProps {
|
|
5
5
|
label?: string;
|
|
6
6
|
textProps?: TextProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { SourceContainer as SourceContainerType, SourceFormData } from '@/types';
|
|
3
3
|
interface SourceContainerProps extends SourceContainerType {
|
|
4
|
-
callbackRuntimeOverride?: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version'
|
|
4
|
+
callbackRuntimeOverride?: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version'>) => Promise<void>;
|
|
5
5
|
}
|
|
6
6
|
export declare const SourceContainer: FC<SourceContainerProps>;
|
|
7
7
|
export {};
|
|
@@ -3,8 +3,7 @@ import { SourceFormData } from '@/types';
|
|
|
3
3
|
interface OverrideRuntimeProps {
|
|
4
4
|
defaultLanguage?: SourceFormData['language'];
|
|
5
5
|
defaultVersion?: SourceFormData['version'];
|
|
6
|
-
|
|
7
|
-
handleSave: (payload: Pick<SourceFormData, 'language' | 'version' | 'otelDistroName'>) => Promise<void>;
|
|
6
|
+
handleSave: (payload: Pick<SourceFormData, 'language' | 'version'>) => void;
|
|
8
7
|
}
|
|
9
8
|
declare const OverrideRuntime: FC<OverrideRuntimeProps>;
|
|
10
9
|
export { OverrideRuntime, type OverrideRuntimeProps };
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{bx as AddButton,c4 as CopyText,c0 as EditButton,b_ as Flow,d5 as MapItemNode,d6 as NoDataNode,by as NoteBackToSummary,c6 as PodContainer,cd as SourceContainer}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/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{P as ProgressKeys,
|
|
1
|
+
export{P as ProgressKeys,d1 as useActiveNodeStore,cl as useDarkMode,u as useDataStreamStore,an as useDrawerStore,at as useEntityStore,aO as useFilterStore,aB as useModalStore,bU as useNotificationStore,g as useProgressStore,b1 as useSelectedStore,bu as useSetupStore}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,32 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
type Keyframes = ReturnType<typeof keyframes>;
|
|
3
|
-
interface SlideAnimations {
|
|
1
|
+
export declare const slide: {
|
|
4
2
|
in: {
|
|
5
|
-
left: Keyframes;
|
|
6
|
-
right: Keyframes;
|
|
7
|
-
top: Keyframes;
|
|
8
|
-
bottom: Keyframes;
|
|
9
|
-
center: Keyframes;
|
|
3
|
+
left: import("styled-components/dist/models/Keyframes").default;
|
|
4
|
+
right: import("styled-components/dist/models/Keyframes").default;
|
|
5
|
+
top: import("styled-components/dist/models/Keyframes").default;
|
|
6
|
+
bottom: import("styled-components/dist/models/Keyframes").default;
|
|
7
|
+
center: import("styled-components/dist/models/Keyframes").default;
|
|
10
8
|
};
|
|
11
9
|
out: {
|
|
12
|
-
left: Keyframes;
|
|
13
|
-
right: Keyframes;
|
|
14
|
-
top: Keyframes;
|
|
15
|
-
bottom: Keyframes;
|
|
16
|
-
center: Keyframes;
|
|
10
|
+
left: import("styled-components/dist/models/Keyframes").default;
|
|
11
|
+
right: import("styled-components/dist/models/Keyframes").default;
|
|
12
|
+
top: import("styled-components/dist/models/Keyframes").default;
|
|
13
|
+
bottom: import("styled-components/dist/models/Keyframes").default;
|
|
14
|
+
center: import("styled-components/dist/models/Keyframes").default;
|
|
17
15
|
};
|
|
18
|
-
}
|
|
19
|
-
export declare const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
out: Keyframes;
|
|
30
|
-
}
|
|
31
|
-
export declare const fade: FadeAnimations;
|
|
32
|
-
export {};
|
|
16
|
+
};
|
|
17
|
+
export declare const progress: {
|
|
18
|
+
in: import("styled-components/dist/models/Keyframes").default;
|
|
19
|
+
out: import("styled-components/dist/models/Keyframes").default;
|
|
20
|
+
};
|
|
21
|
+
export declare const ping: import("styled-components/dist/models/Keyframes").default;
|
|
22
|
+
export declare const shimmer: import("styled-components/dist/models/Keyframes").default;
|
|
23
|
+
export declare const fade: {
|
|
24
|
+
in: import("styled-components/dist/models/Keyframes").default;
|
|
25
|
+
out: import("styled-components/dist/models/Keyframes").default;
|
|
26
|
+
};
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import { Provider } from './provider';
|
|
2
1
|
import * as opacity from './opacity';
|
|
3
|
-
import * as
|
|
2
|
+
import * as palletes from './palletes';
|
|
4
3
|
import * as animations from './animations';
|
|
5
|
-
|
|
4
|
+
import { useTheme } from 'styled-components';
|
|
5
|
+
declare const Theme: {
|
|
6
|
+
Provider: import("react").FC<{
|
|
7
|
+
children?: import("react").ReactNode | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
useTheme: typeof useTheme;
|
|
10
|
+
opacity: typeof opacity;
|
|
11
|
+
palletes: typeof palletes;
|
|
12
|
+
animations: typeof animations;
|
|
13
|
+
};
|
|
14
|
+
export default Theme;
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{Q as default}from"./chunks/ui-components-DO2fZKs1.js";import"styled-components";import"./icons.js";import"react";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";
|
|
@@ -3,32 +3,10 @@ export declare enum K8sResourceKind {
|
|
|
3
3
|
DaemonSet = "DaemonSet",
|
|
4
4
|
StatefulSet = "StatefulSet",
|
|
5
5
|
CronJob = "CronJob",
|
|
6
|
-
Pod = "Pod",
|
|
7
|
-
StaticPod = "StaticPod",
|
|
8
|
-
Rollout = "Rollout",
|
|
9
6
|
ConfigMap = "ConfigMap",
|
|
7
|
+
Pod = "Pod",
|
|
10
8
|
DeploymentConfig = "DeploymentConfig"
|
|
11
9
|
}
|
|
12
|
-
export declare enum OtelDistroName {
|
|
13
|
-
GolangCommunity = "golang-community",
|
|
14
|
-
NodejsCommunity = "nodejs-community",
|
|
15
|
-
PythonCommunity = "python-community",
|
|
16
|
-
JavaCommunity = "java-community",
|
|
17
|
-
DotNetCommunity = "dotnet-community",
|
|
18
|
-
RubyCommunity = "ruby-community",
|
|
19
|
-
PhpCommunity = "php-community",
|
|
20
|
-
GolangEnterprise = "golang-enterprise",
|
|
21
|
-
NodejsEnterprise = "nodejs-enterprise",
|
|
22
|
-
PythonEnterprise = "python-enterprise",
|
|
23
|
-
JavaEnterprise = "java-enterprise",
|
|
24
|
-
JavaEbpfInstrumentations = "java-ebpf-instrumentations",
|
|
25
|
-
DotNetLegacy = "dotnet-legacy",
|
|
26
|
-
DotNetEnterprise = "dotnet-enterprise",
|
|
27
|
-
RubyEnterprise = "ruby-enterprise",
|
|
28
|
-
PhpEnterprise = "php-enterprise",
|
|
29
|
-
CPlusPlusEnterprise = "cplusplus-enterprise",
|
|
30
|
-
MySqlEnterprise = "mysql-enterprise"
|
|
31
|
-
}
|
|
32
10
|
export declare enum DesiredStateProgress {
|
|
33
11
|
Error = "Error",
|
|
34
12
|
Failure = "Failure",
|
package/lib/types/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './data-flow';
|
|
|
4
4
|
export * from './data-streams';
|
|
5
5
|
export * from './describe';
|
|
6
6
|
export * from './destinations';
|
|
7
|
-
export * from './diagnose';
|
|
8
7
|
export * from './enum';
|
|
9
8
|
export * from './instrumentation-instances';
|
|
10
9
|
export * from './instrumentation-rules';
|
|
@@ -79,14 +79,6 @@ export interface NodeCollectoInfo {
|
|
|
79
79
|
manifestYAML: string;
|
|
80
80
|
configMapYAML: string;
|
|
81
81
|
}
|
|
82
|
-
interface CollectorPodMetrics {
|
|
83
|
-
metricsAcceptedRps: number;
|
|
84
|
-
metricsDroppedRps: number;
|
|
85
|
-
exporterSuccessRps: number;
|
|
86
|
-
exporterFailedRps: number;
|
|
87
|
-
window: string;
|
|
88
|
-
lastScrape?: string | null;
|
|
89
|
-
}
|
|
90
82
|
export interface PodInfo {
|
|
91
83
|
namespace: string;
|
|
92
84
|
name: string;
|
|
@@ -95,7 +87,6 @@ export interface PodInfo {
|
|
|
95
87
|
nodeName: string;
|
|
96
88
|
creationTimestamp: string;
|
|
97
89
|
image: string;
|
|
98
|
-
collectorMetrics?: CollectorPodMetrics | null;
|
|
99
90
|
}
|
|
100
91
|
export type GetGatewayInfo = () => Promise<GatewayInfo | undefined>;
|
|
101
92
|
export type GetGatewayPods = () => Promise<PodInfo[] | undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K8sResourceKind
|
|
1
|
+
import { K8sResourceKind } from '../enum';
|
|
2
2
|
import { type Condition, ProgrammingLanguages } from '../common';
|
|
3
3
|
import type { DesiredConditionStatus, WorkloadId } from '../workload';
|
|
4
4
|
import type { NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
|
|
@@ -21,7 +21,7 @@ export interface SourceContainer {
|
|
|
21
21
|
overriden?: boolean;
|
|
22
22
|
instrumented: boolean;
|
|
23
23
|
instrumentationMessage: string;
|
|
24
|
-
otelDistroName
|
|
24
|
+
otelDistroName: string | null;
|
|
25
25
|
}
|
|
26
26
|
export interface Source extends WorkloadId {
|
|
27
27
|
selected: boolean;
|
|
@@ -33,7 +33,6 @@ export interface Source extends WorkloadId {
|
|
|
33
33
|
workloadOdigosHealthStatus?: DesiredConditionStatus | null;
|
|
34
34
|
podsAgentInjectionStatus?: DesiredConditionStatus | null;
|
|
35
35
|
manifestYAML?: string | null;
|
|
36
|
-
instrumentationConfigYAML?: string | null;
|
|
37
36
|
}
|
|
38
37
|
export interface SourceFormData {
|
|
39
38
|
otelServiceName?: string;
|
|
@@ -41,6 +40,5 @@ export interface SourceFormData {
|
|
|
41
40
|
containerName?: string;
|
|
42
41
|
language?: ProgrammingLanguages | null;
|
|
43
42
|
version?: string;
|
|
44
|
-
otelDistroName?: OtelDistroName | null;
|
|
45
43
|
}
|
|
46
44
|
export type PersistSources = (selectAppsList: SourceSelectionFormData, futureSelectAppsList: NamespaceSelectionFormData) => void;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cq as ActionCategory,a5 as ActionKeyTypes,a3 as ActionType,cr as AddNodeTypes,cs as BooleanOperation,bP as CodeAttributesKeyTypes,aA as Crud,bN as CustomInstrumentationsKeyTypes,b9 as DesiredStateProgress,ct as DestinationTypes,cu as EdgeTypes,E as EntityTypes,ag as FieldTypes,bO as GolangCustomProbe,bL as HeadersCollectionKeyTypes,aa as InputTypes,cv as InstallationMethod,bR as InstrumentationRuleType,cw as IntrumentationStatus,bM as JavaCustomProbe,cx as JsonOperation,a4 as K8sAttributesFrom,cb as K8sResourceKind,cy as ListDirection,bZ as NodeTypes,cz as NumberOperation,bz as OtherEntityTypes,aL as OtherStatus,O as OtherStatusType,bQ as PayloadCollectionKeyTypes,cA as PlatformType,cB as PodContainerLifecycleStatus,cC as PodContainerStatus,cD as PodPhase,cE as Profile,cc as ProgrammingLanguages,bD as SignalType,cF as SortDirection,S as StatusType,cG as StringOperation,cH as Tier,Z as WorkloadRolloutStatus}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/visuals/index.d.ts
CHANGED
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{dk as VISUAL_ODIGOS_LOGO_HEIGHT,dl as VISUAL_ODIGOS_LOGO_WIDTH,dm as VisualOdigosLogo,dn as VisualStar,dp as VisualSuccess}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";
|