@odigos/ui-kit 0.0.187 → 0.0.188
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 +409 -0
- package/README.md +16 -12
- package/lib/chunks/ui-components-DKFg9nOZ.js +2296 -0
- package/lib/components/_v2/drop-data/index.d.ts +9 -7
- package/lib/components/_v2/input/index.d.ts +3 -1
- package/lib/components/_v2/loader/index.d.ts +3 -1
- package/lib/components/_v2/segment/index.d.ts +1 -2
- package/lib/components/_v2/table/styled.d.ts +29 -18
- package/lib/components/_v2/table/types.d.ts +2 -0
- package/lib/components/selection-button/index.d.ts +1 -1
- package/lib/components/styled.d.ts +46 -50
- package/lib/components/tab-list/index.d.ts +4 -3
- 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 +5 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/central-connections/config-drawer/index.d.ts +6 -8
- package/lib/containers/_v2/central-connections/index.d.ts +5 -6
- 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 +1 -0
- package/lib/containers/_v2/pipeline-collectors/pods-info/index.d.ts +1 -1
- package/lib/containers/_v2/system-drawer/describe/index.d.ts +10 -0
- package/lib/containers/_v2/system-drawer/diagnose/index.d.ts +6 -0
- package/lib/containers/_v2/system-drawer/index.d.ts +11 -0
- package/lib/containers/_v2/system-drawer/tokens/index.d.ts +7 -0
- package/lib/containers/_v2/system-drawer/tokens/token-actions.d.ts +12 -0
- package/lib/containers/_v2/system-drawer/tokens/token-expires-at.d.ts +6 -0
- package/lib/containers/_v2/system-drawer/tokens/token-input.d.ts +8 -0
- package/lib/containers/data-flow/column/frame.d.ts +0 -1
- package/lib/containers/data-flow/column/index.d.ts +0 -1
- 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 +9 -5
- package/lib/containers/instrumentation-rule-modal/index.d.ts +0 -1
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/odigos-health/index.d.ts +1 -2
- package/lib/containers/v2.js +27 -20
- package/lib/containers.js +128 -130
- package/lib/contexts/odigos-context.d.ts +11 -9
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks/index.d.ts +0 -1
- package/lib/hooks/useActionFormData.d.ts +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/auth/index.d.ts +1 -0
- package/lib/icons/auth/okta-icon/index.d.ts +2 -0
- package/lib/icons/common/diagnose-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +1 -0
- package/lib/icons.js +1 -1
- package/lib/mock-data/sources/index.d.ts +2 -19
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +2 -0
- 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 +2 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme/animations/index.d.ts +28 -22
- package/lib/theme/index.d.ts +3 -12
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +1 -1
- package/lib/types/diagnose/index.d.ts +6 -0
- package/lib/types/enum/index.d.ts +23 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/instrumentation-instances/index.d.ts +1 -0
- package/lib/types/pipeline-collectors/index.d.ts +9 -0
- package/lib/types/sources/index.d.ts +4 -2
- package/lib/types.js +1 -1
- package/lib/visuals/index.d.ts +1 -2
- package/lib/visuals/visual-green-rings/index.d.ts +7 -0
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/ui-components-C1s3IKyq.js +0 -2286
- package/lib/hooks/useConnection.d.ts +0 -3
- package/lib/visuals/visual-star/index.d.ts +0 -2
- package/lib/visuals/visual-success/index.d.ts +0 -2
- /package/lib/theme/{palletes → palettes}/index.d.ts +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import { PlatformType, Tier } from '@/types';
|
|
3
3
|
interface ContextProps extends PropsWithChildren {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
platformType: PlatformType;
|
|
5
|
+
tier: Tier;
|
|
6
|
+
version: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const OdigosProvider: ({ children, tier, version
|
|
8
|
+
export declare const OdigosProvider: ({ children, platformType, tier, version }: ContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const checkVersionSupport: (currentVersion: string, minSupportedVersion?: number) => boolean;
|
|
9
10
|
export declare const useOdigos: (minSupportedVersion?: number) => {
|
|
10
|
-
isVersionSupported: boolean
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
platformType
|
|
11
|
+
isVersionSupported: boolean;
|
|
12
|
+
isVm: boolean;
|
|
13
|
+
version: string;
|
|
14
|
+
platformType: PlatformType;
|
|
15
|
+
tier: Tier;
|
|
14
16
|
};
|
|
15
17
|
export {};
|
package/lib/contexts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{dj as OdigosProvider,p as checkVersionSupport,$ as useOdigos}from"./chunks/ui-components-DKFg9nOZ.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";
|
package/lib/functions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{bM as capitalizeFirstLetter,cS as cleanObjectEmptyStringsValues,bH as compareCondition,h as deepClone,aW as filterActions,bm as filterDestinations,bk as filterDestinationsByStream,bl as filterSources,bj as filterSourcesByStream,cT as flattenObjectKeys,bb as formatBytes,cu as formatDuration,t as generateId,aG as getActionIcon,aQ as getConditionsBooleans,bf as getContainersIcons,cq as getContainersInstrumentedCount,be as getDestinationIcon,b1 as getEntityIcon,aC as getEntityId,aY as getEntityLabel,cU as getIdFromSseTarget,bd as getInstrumentationRuleIcon,cV as getMainContainerLanguage,bS as getMetricForEntity,cW as getMonitorIcon,cX as getPlatformIcon,cY as getPlatformLabel,b$ as getProgrammingLanguageIcon,cw as getRecursiveValues,cZ as getSseTargetFromId,c_ as getStatusColor,J as getStatusFromPodStatus,aU as getStatusIcon,cc as getStatusTypeFromOdigosHealth,c$ as getValueForRange,c5 as getWorkloadId,bL as getYamlFieldsForDestination,cd as hasUnhealthyInstances,ai as isEmpty,d0 as isLegalK8sLabel,a4 as isOverTime,ci as isStringABoolean,d1 as isTimeElapsed,d2 as isValidVersion,aT as mapConditions,bG as mapDestinationFieldsForDisplay,ba as mapExportedSignals,bN as mapSupportedSignals,d3 as numbersOnly,cj as parseBooleanFromString,d4 as parseJsonStringToPrettyString,d5 as removeEmptyValuesFromObject,bI as safeJsonParse,d6 as safeJsonStringify,b6 as sleep,bt as splitCamelString,d7 as stringifyNonStringValues,d8 as trimVersion}from"./chunks/ui-components-DKFg9nOZ.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";
|
package/lib/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './useActionFormData';
|
|
|
2
2
|
export * from './useBodyScroll';
|
|
3
3
|
export * from './useClickNode';
|
|
4
4
|
export * from './useClickNotification';
|
|
5
|
-
export * from './useConnection';
|
|
6
5
|
export * from './useContainerSize';
|
|
7
6
|
export * from './useCopy';
|
|
8
7
|
export * from './useDataStreamFormData';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Action, type ActionFormData } from '@/types';
|
|
2
2
|
export declare const useActionFormData: () => {
|
|
3
3
|
formData: ActionFormData;
|
|
4
|
-
formErrors: Partial<Record<"
|
|
4
|
+
formErrors: Partial<Record<"type" | "disabled" | "name" | "notes" | "signals" | "fields", string>>;
|
|
5
5
|
handleFormChange: (key?: string | undefined, val?: any, obj?: ActionFormData | undefined) => void;
|
|
6
6
|
resetFormData: (overrideForm?: ActionFormData | undefined) => void;
|
|
7
7
|
validateForm: (params?: {
|
package/lib/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{aB as useActionFormData,dh as useBodyScroll,bn as useClickNode,c6 as useClickNotification,bi as useContainerSize,a3 as useCopy,bz as useDataStreamFormData,bK as useDestinationFormData,q as useGenericForm,di as useInfiniteScroll,c1 as useInstrumentationRuleFormData,aw as useKeyDown,bs as useOnClickOutside,bo as usePopup,by as useSessionStorage,ck as useSourceFormData,co as useSourceSelectionFormData,s as useTimeAgo}from"./chunks/ui-components-DKFg9nOZ.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";
|
|
@@ -6,6 +6,7 @@ export * from './code-icon';
|
|
|
6
6
|
export * from './command-icon';
|
|
7
7
|
export * from './copy-icon';
|
|
8
8
|
export * from './delete-icon';
|
|
9
|
+
export * from './diagnose-icon';
|
|
9
10
|
export * from './dot-icon';
|
|
10
11
|
export * from './dots-horizontal-icon';
|
|
11
12
|
export * from './dots-vertical-icon';
|