@odigos/ui-kit 0.0.101 → 0.0.103
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 +16 -0
- package/lib/chunks/{ui-components-365e1848.js → ui-components-71ed0e2b.js} +4 -4
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/index.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +1 -1
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +1 -1
- package/lib/containers.js +9 -8
- package/lib/functions.js +1 -1
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +34 -55
- package/lib/types.js +1 -1
- package/package.json +9 -9
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aS as AddButton,cf as AddNode,cg as BaseNode,bo as CopyText,ch as EdgedNode,bl as EditButton,az as Flow,ci as FrameNode,cj as HeaderNode,co as LabeledEdge,ck as MapItemNode,cl as NoDataNode,aT as NoteBackToSummary,bq as PodContainer,cm as ScrollNode,cn as SkeletonNode,bu as SourceContainer,al as nodeConfig}from"./chunks/ui-components-
|
|
1
|
+
export{aS as AddButton,cf as AddNode,cg as BaseNode,bo as CopyText,ch as EdgedNode,bl as EditButton,az as Flow,ci as FrameNode,cj as HeaderNode,co as LabeledEdge,ck as MapItemNode,cl as NoDataNode,aT as NoteBackToSummary,bq as PodContainer,cm as ScrollNode,cn as SkeletonNode,bu as SourceContainer,al as nodeConfig}from"./chunks/ui-components-71ed0e2b.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ce as useActiveNodeStore,bI as useDarkMode,as as useDataStreamStore,p as useDrawerStore,w as useEntityStore,a2 as useFilterStore,at as useInstrumentStore,N as useModalStore,o as useNotificationStore,u as usePendingStore,bh as useSelectedStore,a$ as useSetupStore}from"./chunks/ui-components-
|
|
1
|
+
export{ce as useActiveNodeStore,bI as useDarkMode,as as useDataStreamStore,p as useDrawerStore,w as useEntityStore,a2 as useFilterStore,at as useInstrumentStore,N as useModalStore,o as useNotificationStore,u as usePendingStore,bh as useSelectedStore,a$ as useSetupStore}from"./chunks/ui-components-71ed0e2b.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{T as default}from"./chunks/ui-components-
|
|
1
|
+
export{T as default}from"./chunks/ui-components-71ed0e2b.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { SignalType } from '../signals';
|
|
2
2
|
import type { Condition, SVG } from '../common';
|
|
3
|
-
export declare enum K8sAttributesFrom {
|
|
4
|
-
Pod = "pod",
|
|
5
|
-
Namespace = "namespace"
|
|
6
|
-
}
|
|
7
3
|
export declare enum ActionCategory {
|
|
8
4
|
Attributes = "attributes",
|
|
9
5
|
Samplers = "samplers"
|
|
@@ -38,35 +34,6 @@ export declare enum ActionKeyTypes {
|
|
|
38
34
|
ServicesNameFilters = "servicesNameFilters",
|
|
39
35
|
AttributeFilters = "attributeFilters"
|
|
40
36
|
}
|
|
41
|
-
export interface Action {
|
|
42
|
-
id: string;
|
|
43
|
-
type: ActionType;
|
|
44
|
-
conditions: Condition[] | null;
|
|
45
|
-
spec: {
|
|
46
|
-
actionName?: string;
|
|
47
|
-
notes?: string;
|
|
48
|
-
signals: SignalType[];
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
[ActionKeyTypes.CollectContainerAttributes]?: boolean | null;
|
|
51
|
-
[ActionKeyTypes.CollectReplicaSetAttributes]?: boolean | null;
|
|
52
|
-
[ActionKeyTypes.CollectWorkloadId]?: boolean | null;
|
|
53
|
-
[ActionKeyTypes.CollectClusterId]?: boolean | null;
|
|
54
|
-
[ActionKeyTypes.LabelsAttributes]?: LabelsAttributes[] | null;
|
|
55
|
-
[ActionKeyTypes.AnnotationsAttributes]?: AnnotationsAttributes[] | null;
|
|
56
|
-
[ActionKeyTypes.ClusterAttributes]?: ClusterAttributes[] | null;
|
|
57
|
-
[ActionKeyTypes.OverwriteExistingValues]?: boolean | null;
|
|
58
|
-
[ActionKeyTypes.AttributeNamesToDelete]?: string[] | null;
|
|
59
|
-
[ActionKeyTypes.Renames]?: {
|
|
60
|
-
[oldKey: string]: string;
|
|
61
|
-
} | null;
|
|
62
|
-
[ActionKeyTypes.PiiCategories]?: string[] | null;
|
|
63
|
-
[ActionKeyTypes.FallbackSamplingRatio]?: number | null;
|
|
64
|
-
[ActionKeyTypes.SamplingPercentage]?: number | null;
|
|
65
|
-
[ActionKeyTypes.EndpointsFilters]?: EndpointsFilters[] | null;
|
|
66
|
-
[ActionKeyTypes.ServicesNameFilters]?: ServicesNameFilters[] | null;
|
|
67
|
-
[ActionKeyTypes.AttributeFilters]?: AttributeFilters[] | null;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
37
|
export interface ActionOption {
|
|
71
38
|
type?: ActionType;
|
|
72
39
|
icon?: SVG;
|
|
@@ -77,28 +44,40 @@ export interface ActionOption {
|
|
|
77
44
|
docsDescription?: string;
|
|
78
45
|
items?: ActionOption[];
|
|
79
46
|
}
|
|
80
|
-
export interface
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
disabled
|
|
86
|
-
[
|
|
87
|
-
|
|
88
|
-
[
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
[ActionKeyTypes.
|
|
92
|
-
[ActionKeyTypes.
|
|
93
|
-
[ActionKeyTypes.
|
|
94
|
-
[ActionKeyTypes.
|
|
95
|
-
[ActionKeyTypes.
|
|
96
|
-
[ActionKeyTypes.
|
|
97
|
-
[ActionKeyTypes.
|
|
98
|
-
[ActionKeyTypes.
|
|
99
|
-
[ActionKeyTypes.
|
|
100
|
-
[ActionKeyTypes.
|
|
101
|
-
|
|
47
|
+
export interface Action {
|
|
48
|
+
id: string;
|
|
49
|
+
type: ActionType;
|
|
50
|
+
name?: string | null;
|
|
51
|
+
notes?: string | null;
|
|
52
|
+
disabled?: boolean | null;
|
|
53
|
+
signals?: SignalType[] | null;
|
|
54
|
+
fields: ActionFields;
|
|
55
|
+
conditions?: Condition[] | null;
|
|
56
|
+
}
|
|
57
|
+
export interface ActionFields {
|
|
58
|
+
[ActionKeyTypes.CollectContainerAttributes]?: boolean | null;
|
|
59
|
+
[ActionKeyTypes.CollectReplicaSetAttributes]?: boolean | null;
|
|
60
|
+
[ActionKeyTypes.CollectWorkloadId]?: boolean | null;
|
|
61
|
+
[ActionKeyTypes.CollectClusterId]?: boolean | null;
|
|
62
|
+
[ActionKeyTypes.LabelsAttributes]?: LabelsAttributes[] | null;
|
|
63
|
+
[ActionKeyTypes.AnnotationsAttributes]?: AnnotationsAttributes[] | null;
|
|
64
|
+
[ActionKeyTypes.ClusterAttributes]?: ClusterAttributes[] | null;
|
|
65
|
+
[ActionKeyTypes.OverwriteExistingValues]?: boolean | null;
|
|
66
|
+
[ActionKeyTypes.AttributeNamesToDelete]?: string[] | null;
|
|
67
|
+
[ActionKeyTypes.Renames]?: {
|
|
68
|
+
[oldKey: string]: string;
|
|
69
|
+
} | null;
|
|
70
|
+
[ActionKeyTypes.PiiCategories]?: string[] | null;
|
|
71
|
+
[ActionKeyTypes.FallbackSamplingRatio]?: number | null;
|
|
72
|
+
[ActionKeyTypes.SamplingPercentage]?: number | null;
|
|
73
|
+
[ActionKeyTypes.EndpointsFilters]?: EndpointsFilters[] | null;
|
|
74
|
+
[ActionKeyTypes.ServicesNameFilters]?: ServicesNameFilters[] | null;
|
|
75
|
+
[ActionKeyTypes.AttributeFilters]?: AttributeFilters[] | null;
|
|
76
|
+
}
|
|
77
|
+
export type ActionFormData = Omit<Action, 'id' | 'conditions'>;
|
|
78
|
+
export declare enum K8sAttributesFrom {
|
|
79
|
+
Pod = "pod",
|
|
80
|
+
Namespace = "namespace"
|
|
102
81
|
}
|
|
103
82
|
export interface LabelsAttributes {
|
|
104
83
|
labelKey: string;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{bN as ActionCategory,c as ActionKeyTypes,A as ActionType,am as AddNodeTypes,bF as AgentEnvVarsInjectionMethod,bQ as BooleanOperation,b9 as CodeAttributesKeyTypes,J as Crud,b8 as CustomInstrumentationsKeyTypes,bX as DestinationTypes,ak as EdgeTypes,E as EntityTypes,j as FieldTypes,b7 as HeadersCollectionKeyTypes,d as InputTypes,bH as InstallationMethod,bb as InstrumentationRuleType,bV as IntrumentationStatus,bR as JsonOperation,K as K8sAttributesFrom,bv as K8sResourceKind,bE as MountMethod,ai as NodeTypes,bP as NumberOperation,bU as OtherEntityTypes,a0 as OtherStatus,ba as PayloadCollectionKeyTypes,bT as PlatformType,bG as Profile,bw as ProgrammingLanguages,aY as SignalType,bW as SortDirection,v as StatusType,bO as StringOperation,bS as Tier}from"./chunks/ui-components-
|
|
1
|
+
export{bN as ActionCategory,c as ActionKeyTypes,A as ActionType,am as AddNodeTypes,bF as AgentEnvVarsInjectionMethod,bQ as BooleanOperation,b9 as CodeAttributesKeyTypes,J as Crud,b8 as CustomInstrumentationsKeyTypes,bX as DestinationTypes,ak as EdgeTypes,E as EntityTypes,j as FieldTypes,b7 as HeadersCollectionKeyTypes,d as InputTypes,bH as InstallationMethod,bb as InstrumentationRuleType,bV as IntrumentationStatus,bR as JsonOperation,K as K8sAttributesFrom,bv as K8sResourceKind,bE as MountMethod,ai as NodeTypes,bP as NumberOperation,bU as OtherEntityTypes,a0 as OtherStatus,ba as PayloadCollectionKeyTypes,bT as PlatformType,bG as Profile,bw as ProgrammingLanguages,aY as SignalType,bW as SortDirection,v as StatusType,bO as StringOperation,bS as Tier}from"./chunks/ui-components-71ed0e2b.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.103",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"zustand": "^5.0.8"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@babel/core": "^7.28.
|
|
102
|
+
"@babel/core": "^7.28.4",
|
|
103
103
|
"@babel/preset-env": "^7.28.3",
|
|
104
104
|
"@babel/preset-react": "^7.27.1",
|
|
105
105
|
"@babel/preset-typescript": "^7.27.1",
|
|
@@ -109,24 +109,24 @@
|
|
|
109
109
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
110
110
|
"@rollup/plugin-terser": "^0.4.4",
|
|
111
111
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
112
|
-
"@storybook/addon-docs": "^9.1.
|
|
112
|
+
"@storybook/addon-docs": "^9.1.5",
|
|
113
113
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
114
|
-
"@storybook/react-webpack5": "9.1.
|
|
115
|
-
"@types/node": "^24.3.
|
|
114
|
+
"@storybook/react-webpack5": "9.1.5",
|
|
115
|
+
"@types/node": "^24.3.1",
|
|
116
116
|
"@types/react": "^19.1.12",
|
|
117
|
-
"@types/react-dom": "^19.1.
|
|
117
|
+
"@types/react-dom": "^19.1.9",
|
|
118
118
|
"babel-loader": "^10.0.0",
|
|
119
119
|
"babel-plugin-styled-components": "^2.1.4",
|
|
120
|
-
"eslint": "^9.
|
|
120
|
+
"eslint": "^9.35.0",
|
|
121
121
|
"eslint-config-next": "^15.5.2",
|
|
122
|
-
"eslint-plugin-storybook": "9.1.
|
|
122
|
+
"eslint-plugin-storybook": "9.1.5",
|
|
123
123
|
"next": "^15.5.2",
|
|
124
124
|
"postcss": "^8.5.6",
|
|
125
125
|
"rollup": "^3.29.4",
|
|
126
126
|
"rollup-plugin-filesize": "^10.0.0",
|
|
127
127
|
"rollup-plugin-postcss": "^4.0.2",
|
|
128
128
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
129
|
-
"storybook": "9.1.
|
|
129
|
+
"storybook": "9.1.5",
|
|
130
130
|
"typescript": "^5.9.2"
|
|
131
131
|
}
|
|
132
132
|
}
|