@odigos/ui-kit 0.0.203 → 0.0.205
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 +21 -0
- package/lib/chunks/{index-CmIINVHt.js → index-BWrHoFMs.js} +1 -1
- package/lib/chunks/{ui-components-Ci6lJdLr.js → ui-components-BlfhQM0V.js} +22 -15
- package/lib/components/_v2/badge/index.d.ts +1 -1
- package/lib/components/_v2/button/index.d.ts +3 -1
- package/lib/components/_v2/drawer/header/index.d.ts +3 -3
- package/lib/components/_v2/drawer/index.d.ts +1 -1
- package/lib/components/_v2/note/index.d.ts +1 -0
- package/lib/components/_v2/typography/index.d.ts +1 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/_v2/_drawers/add-action-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/edit-config-drawer/index.d.ts +2 -2
- package/lib/containers/_v2/_drawers/system-drawer/index.d.ts +2 -1
- package/lib/containers/_v2/pipeline-collectors/general-info/yaml-drawer/index.d.ts +2 -1
- package/lib/containers/_v2/pipeline-collectors/pods-info/pod-drawer/index.d.ts +2 -2
- package/lib/containers/source-drawer/index.d.ts +2 -0
- package/lib/containers/source-drawer/peers/index.d.ts +12 -0
- package/lib/containers/v2.js +33 -35
- package/lib/containers.js +126 -115
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/brand/index.d.ts +3 -1
- package/lib/icons/brand/odigos-logo-text-central/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text-community/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text-enterprise/index.d.ts +2 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/signals-checkbox-list/index.d.ts +1 -0
- package/lib/snippets/_v2/wide-drawer/column/index.d.ts +1 -1
- package/lib/snippets/_v2/wide-drawer/column-list-collapse/index.d.ts +1 -0
- package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +1 -0
- package/lib/snippets/_v2/wide-drawer/index.d.ts +8 -3
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/service-map/index.d.ts +4 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +2 -2
- package/lib/icons/brand/odigos-central-logo-text/index.d.ts +0 -2
|
@@ -2,7 +2,7 @@ import { type FC, type CSSProperties, type ReactNode } from 'react';
|
|
|
2
2
|
export interface ColumnProps {
|
|
3
3
|
isLeft?: boolean;
|
|
4
4
|
isRight?: boolean;
|
|
5
|
-
|
|
5
|
+
heightOffset?: number;
|
|
6
6
|
width: CSSProperties['width'];
|
|
7
7
|
header?: ReactNode;
|
|
8
8
|
list: ReactNode[];
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import React, { type Dispatch, type SetStateAction, type ReactNode } from 'react';
|
|
2
2
|
import { SVG } from '@/types';
|
|
3
3
|
import { type ColumnProps } from './column';
|
|
4
|
+
import { type HeaderProps } from '@/components/_v2/drawer/header';
|
|
4
5
|
import { type DrawerProps, type LoaderProps, type SearchProps, BadgeProps } from '@/components/_v2';
|
|
5
6
|
export interface WideDrawerProps {
|
|
6
7
|
isOpen: DrawerProps['isOpen'];
|
|
7
|
-
onClose
|
|
8
|
+
onClose?: HeaderProps['onClose'];
|
|
9
|
+
onBack?: () => void;
|
|
10
|
+
onNext?: () => void;
|
|
11
|
+
nextIsSkip?: boolean;
|
|
8
12
|
onSave: () => Promise<{
|
|
9
13
|
error?: string;
|
|
10
14
|
} | undefined>;
|
|
@@ -13,13 +17,14 @@ export interface WideDrawerProps {
|
|
|
13
17
|
value: string[];
|
|
14
18
|
setValue: Dispatch<SetStateAction<string[]>>;
|
|
15
19
|
};
|
|
16
|
-
search
|
|
20
|
+
search?: Pick<SearchProps, 'value' | 'onChange' | 'placeholder' | 'segment'>;
|
|
17
21
|
filters?: ReactNode;
|
|
22
|
+
errorMessage?: string;
|
|
18
23
|
isFormDirty?: boolean;
|
|
19
24
|
hideDirtyNote?: boolean;
|
|
20
25
|
isFetching?: boolean;
|
|
21
26
|
progress?: Pick<LoaderProps, 'title' | 'subTitle' | 'percentage'>;
|
|
22
|
-
header: Pick<
|
|
27
|
+
header: Pick<HeaderProps, 'icon' | 'title' | 'subTitle'>;
|
|
23
28
|
subHeader?: {
|
|
24
29
|
icon: SVG;
|
|
25
30
|
title: string;
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{aY as AddButton,cq as CopyText,cm as EditButton,cl as Flow,dA as MapItemNode,dB as NoDataNode,c2 as NoteBackToSummary,cs as PodContainer,cz as SourceContainer}from"./chunks/ui-components-
|
|
1
|
+
export{aY as AddButton,cq as CopyText,cm as EditButton,cl as Flow,dA as MapItemNode,dB as NoDataNode,c2 as NoteBackToSummary,cs as PodContainer,cz as SourceContainer}from"./chunks/ui-components-BlfhQM0V.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-D99eCWta.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{al as ProgressKeys,dr as useActiveNodeStore,
|
|
1
|
+
export{al as ProgressKeys,dr as useActiveNodeStore,cF as useDarkMode,ad as useDataStreamStore,b3 as useDrawerStore,ar as useEntityStore,bp as useFilterStore,be as useModalStore,cd as useNotificationStore,ai as useProgressStore,bF as useSelectedStore,c0 as useSetupStore}from"./chunks/ui-components-BlfhQM0V.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-D99eCWta.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ds as Provider,dt as animations,du as opacity,dv as palettes}from"./chunks/ui-components-
|
|
1
|
+
export{ds as Provider,dt as animations,du as opacity,dv as palettes}from"./chunks/ui-components-BlfhQM0V.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-D99eCWta.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cL as ActionCategory,A as ActionKeyTypes,l as ActionType,cM as AddNodeTypes,cN as BooleanOperation,J as CodeAttributesKeyTypes,bd as Crud,Y as CustomInstrumentationsKeyTypes,bH as DesiredStateProgress,cO as DestinationTypes,cP as EdgeTypes,ak as EntityTypes,k as FieldTypes,U as GolangCustomProbe,P as HeadersCollectionKeyTypes,c as InputTypes,cQ as InstallationMethod,Z as InstrumentationRuleType,cR as IntrumentationStatus,X as JavaCustomProbe,cS as JsonOperation,K as K8sAttributesFrom,cx as K8sResourceKind,cT as ListDirection,ck as NodeTypes,cU as NumberOperation,cV as OtelDistroName,c3 as OtherEntityTypes,bm as OtherStatus,af as OtherStatusType,Q as PayloadCollectionKeyTypes,cW as PlatformType,cX as PodContainerLifecycleStatus,cY as PodContainerStatus,cZ as PodPhase,c_ as Profile,cy as ProgrammingLanguages,c$ as SIGNAL_KEY_TO_TYPE,c8 as SIGNAL_TYPE_TO_KEY,d0 as SignalKey,G as SignalType,d1 as SortDirection,s as StatusType,d2 as StringOperation,cf as Tier,aM as WorkloadRolloutStatus}from"./chunks/ui-components-BlfhQM0V.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-D99eCWta.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/visuals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{dP as VISUAL_ODIGOS_LOGO_HEIGHT,dQ as VISUAL_ODIGOS_LOGO_WIDTH,V as VisualGreenRings,dR as VisualOdigosLogo}from"./chunks/ui-components-
|
|
1
|
+
export{dP as VISUAL_ODIGOS_LOGO_HEIGHT,dQ as VISUAL_ODIGOS_LOGO_WIDTH,V as VisualGreenRings,dR as VisualOdigosLogo}from"./chunks/ui-components-BlfhQM0V.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-D99eCWta.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";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.205",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
129
129
|
"@storybook/addon-webpack5-compiler-babel": "^4.0.0",
|
|
130
130
|
"@storybook/react-webpack5": "10.2.12",
|
|
131
|
-
"@types/node": "^25.3.
|
|
131
|
+
"@types/node": "^25.3.3",
|
|
132
132
|
"@types/react": "^19.2.14",
|
|
133
133
|
"@types/react-dom": "^19.2.3",
|
|
134
134
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|