@odigos/ui-kit 0.0.297 → 0.0.299
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 +20 -0
- package/lib/chunks/{helpers-BAKrBm6o.js → helpers-lW-r7stw.js} +1 -1
- package/lib/chunks/{index-CmgxyAds.js → index-DH7pdkVR.js} +2 -2
- package/lib/chunks/{source-instrument-form-context-D_S8tMme.js → source-instrument-form-context-D3jXhnvh.js} +1 -1
- package/lib/chunks/ui-components-BnY4B3Vq.js +2163 -0
- package/lib/components.js +1 -1
- package/lib/constants/sources/index.d.ts +1 -0
- package/lib/constants/url-templatization/index.d.ts +39 -2
- package/lib/constants.js +1 -1
- package/lib/containers/_drawers/recommendations-drawer/helpers.d.ts +1 -3
- package/lib/containers/_drawers/recommendations-drawer/recommendation-card.d.ts +2 -3
- package/lib/containers/_drawers/recommendations-drawer/remediation-actions.d.ts +2 -3
- package/lib/containers/_drawers/recommendations-drawer/remediation-methods.d.ts +2 -3
- package/lib/containers/url-templatization/automatic-templatization-examples.d.ts +2 -0
- package/lib/containers.js +529 -538
- package/lib/contexts/odigos-api/hooks/use-recommendations-api.d.ts +2 -2
- package/lib/contexts/odigos-api/types.d.ts +3 -3
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/programming-languages/browser-logo/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +1 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/sampling-rule-form-sections/source-scope.d.ts +2 -0
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +1 -0
- package/lib/types/enum/index.d.ts +1 -0
- package/lib/types/recommendations.d.ts +9 -3
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +2 -2
- package/lib/chunks/ui-components-ChTo9ZLp.js +0 -2163
|
@@ -27,6 +27,8 @@ interface EditableSourceScopeProps {
|
|
|
27
27
|
disabled?: boolean;
|
|
28
28
|
hideLogicNote?: boolean;
|
|
29
29
|
hideEntireClusterNote?: boolean;
|
|
30
|
+
/** Hide the Entire Cluster segment option (e.g. when the parent flow already chose a specific scope). */
|
|
31
|
+
hideEntireClusterOption?: boolean;
|
|
30
32
|
entireClusterWarningMessage?: string;
|
|
31
33
|
/** Initial segment tab when no scope filters are selected yet. Defaults to entire cluster. */
|
|
32
34
|
defaultScopeTab?: ScopeTab;
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{A as ActionType,a as Actions,R as RichTitle}from"./chunks/ui-components-
|
|
1
|
+
export{A as ActionType,a as Actions,R as RichTitle}from"./chunks/ui-components-BnY4B3Vq.js";export{A as AnimatedCollapse,a as AnimatedGraphEdge,b as AutoFitView,B as BlastRadius,C as CancelModal,c as ConnectorCreatedModal,D as DEFAULT_GRAPH_FIT_VIEW_OPTIONS,d as DURATION_OPTIONS,e as DeleteModal,f as DurationErrorsSection,g as DynamicActionFields,h as DynamicField,i as DynamicFields,E as EnableDisableSegment,G as GRAPH_FLOW_ANIMATED_EDGE,j as GraphFlow,k as GraphFlowComponent,I as InstrumentationPreviewSection,N as NOISY_PERCENTAGE_OPTIONS,O as OdigosLogoTextByTier,l as OperationSection,P as PERCENTAGE_OPTIONS,m as PercentageSection,n as PresetWithCustomInput,R as RuleInfoSection,o as RuleTypeSection,S as SamplingPreviewSection,p as SignalsCheckboxList,q as SourceScopeSection,U as UpgradeModal,W as WIDE_DRAWER_WIDTH,r as WideDrawer,Y as YamlSectionCard,s as getElkLayoutedElements,t as getGraphEdgePath}from"./chunks/index-DH7pdkVR.js";export{C as ColoredSpan,a as ColoredSpanVariant}from"./chunks/helpers-lW-r7stw.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";import"elkjs/lib/elk.bundled.js";import"@xyflow/react";import"@xyflow/react/dist/style.css";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{hu as DrawerType,bj as ProgressKeys,jy as getDrawerTypeForAdd,eS as getDrawerTypeForEdit,bg as useDataStreamStore,eN as useDrawerStore,jt as useFilterStore,bb as useNotificationStore,bh as useProgressStore,jz as useSelectedStore,bi as useSetupStore}from"./chunks/ui-components-BnY4B3Vq.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{nR as Provider,nS as animations,nT as opacity,nU as palettes}from"./chunks/ui-components-BnY4B3Vq.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
|
|
@@ -18,6 +18,7 @@ export declare enum OtelDistroName {
|
|
|
18
18
|
DotNetCommunity = "dotnet-community",
|
|
19
19
|
RubyCommunity = "ruby-community",
|
|
20
20
|
PhpCommunity = "php-community",
|
|
21
|
+
BrowserCommunity = "browser-community",
|
|
21
22
|
GolangEnterprise = "golang-enterprise",
|
|
22
23
|
NodejsEnterprise = "nodejs-enterprise",
|
|
23
24
|
PythonEnterprise = "python-enterprise",
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Recommendation types currently shipped in the catalog. The wire type is a free
|
|
3
|
+
* string so a new catalog manifest renders without a ui-kit release.
|
|
4
|
+
*/
|
|
2
5
|
export declare enum RecommendationType {
|
|
3
6
|
InferDBAttributes = "InferDBAttributes",
|
|
4
7
|
AutoGoOffsetUpdater = "AutoGoOffsetUpdater",
|
|
@@ -20,6 +23,7 @@ export declare enum RecommendationApplyExampleType {
|
|
|
20
23
|
HelmValues = "HelmValues",
|
|
21
24
|
OdigosAction = "OdigosAction"
|
|
22
25
|
}
|
|
26
|
+
/** Remediation types currently shipped in the catalog. The wire type is a free string. */
|
|
23
27
|
export declare enum RecommendationRemediationType {
|
|
24
28
|
DirectAutoOffsets = "DirectAutoOffsets",
|
|
25
29
|
DropAllHealthProbes = "DropAllHealthProbes",
|
|
@@ -46,15 +50,17 @@ export interface RecommendationCatalogApplyExample {
|
|
|
46
50
|
}
|
|
47
51
|
/** Matches GraphQL `RecommendationCatalogRemediation`. */
|
|
48
52
|
export interface RecommendationCatalogRemediation {
|
|
49
|
-
type:
|
|
53
|
+
type: string;
|
|
50
54
|
buttonText: string;
|
|
51
55
|
tooltip: string;
|
|
56
|
+
/** True when the catalog defines steps the backend can apply, so the UI can offer a direct apply. */
|
|
57
|
+
canApplyViaUi: boolean;
|
|
52
58
|
applyExamples: RecommendationCatalogApplyExample[];
|
|
53
59
|
}
|
|
54
60
|
/** Matches GraphQL `Recommendation` — CR enriched with catalog metadata. */
|
|
55
61
|
export interface Recommendation {
|
|
56
62
|
name: string;
|
|
57
|
-
type:
|
|
63
|
+
type: string;
|
|
58
64
|
applied: boolean;
|
|
59
65
|
conditionsMet: boolean;
|
|
60
66
|
dismissed: boolean;
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ek as ActionCategoryTypes,by as ActionKeyTypes,bz as ActionType,
|
|
1
|
+
export{ek as ActionCategoryTypes,by as ActionKeyTypes,bz as ActionType,kW as AgentInjectedReason,kX as BooleanOperation,es as CloudConnectorFeatureKey,am as CodeAttributesKeyTypes,kY as ConditionType,be as Crud,ag as CustomInstrumentationsKeyTypes,f1 as DesiredConditionActionItemType,eH as DesiredStateProgress,kZ as DestinationTypes,bf as EntityTypes,c8 as ExtractionDataFormat,q as FieldTypes,ai as GolangCustomProbe,ak as HeadersCollectionKeyTypes,J as InputTypes,k_ as InsightsAnomalyClassFindingKind,iQ as InsightsAnomalyResolution,iN as InsightsAnomalyStatus,k$ as InsightsBaselineHistogramUnit,iR as InsightsBaselineLearningPhase,iP as InsightsBulkResolution,bT as InsightsDeviationClass,bn as InsightsEntityTypes,iO as InsightsFindingKind,bV as InsightsLearningConditionType,bX as InsightsLearningMode,bS as InsightsPolicyScope,bM as InsightsRuleMode,j0 as InsightsSampleReason,e9 as InsightsSeverity,jq as InsightsStorageDiskStatus,l0 as InsightsStorageHealthStatus,l1 as InsightsTransactionKind,iM as InsightsViolationStatus,l2 as InstallationMethod,l3 as InstallationStatus,af as InstrumentationRuleType,l4 as IntrumentationStatus,ah as JavaCustomProbe,l5 as JsonOperation,c6 as K8sAttributesFrom,c0 as K8sResourceKind,l6 as K8sWorkloadContainerAgentConfigTracesHeadSamplingSpanMetricsMode,l7 as ListDirection,l8 as NumberOperation,l9 as OtelDistroName,la as OtherEntityTypes,al as PayloadCollectionKeyTypes,aj as PhpCustomProbe,P as PlatformType,lb as PodContainerLifecycleStatus,lc as PodContainerStatus,ld as PodPhase,le as Profile,_ as ProgrammingLanguages,fe as RecommendationApplyExampleType,lf as RecommendationRemediationType,fb as RecommendationState,lg as RecommendationType,lh as SIGNAL_KEY_TO_TYPE,li as SIGNAL_TYPE_TO_KEY,lj as SignalKey,bE as SignalType,lk as SortDirection,S as StatusType,ll as StringOperation,b as Tier,lm as WorkloadRolloutReason,jM as WorkloadRolloutStatus}from"./chunks/ui-components-BnY4B3Vq.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
|
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{ln as VISUAL_ODIGOS_LOGO_HEIGHT,lo as VISUAL_ODIGOS_LOGO_WIDTH,V as VisualGreenRings,lp as VisualOdigosLogo,hE as VisualPurpleRings}from"./chunks/ui-components-BnY4B3Vq.js";import"react/jsx-runtime";import"styled-components";import"./icons.js";import"zustand";import"react";import"javascript-time-ago";import"javascript-time-ago/locale/en";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"virtua";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.299",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"@apollo/client": "^4.2.12",
|
|
110
|
-
"@babel/core": "^
|
|
110
|
+
"@babel/core": "^8.0.0",
|
|
111
111
|
"@babel/preset-env": "^7.29.7",
|
|
112
112
|
"@babel/preset-react": "^7.29.7",
|
|
113
113
|
"@babel/preset-typescript": "^7.29.7",
|