@odigos/ui-kit 0.0.215 → 0.0.216
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 +12 -0
- package/lib/chunks/index-3rwrQKyF.js +3 -0
- package/lib/chunks/{ui-components-CICeYnUU.js → ui-components-DvThY8Em.js} +471 -479
- package/lib/components/_v2/drawer/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 +1 -0
- package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +4 -1
- package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +1 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +2 -0
- package/lib/containers/_v2/_forms/add-destination-form/context.d.ts +3 -3
- package/lib/containers/_v2/central-connections/index.d.ts +2 -1
- package/lib/containers/_v2/onboarding/index.d.ts +2 -1
- package/lib/containers/_v2/onboarding/summary/index.d.ts +1 -0
- package/lib/containers/v2.js +75 -75
- package/lib/containers.js +1 -1
- package/lib/contexts.js +1 -1
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/destinations/aws-api-gateway-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-bedrock-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-dynamodb-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-ec2-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-eventbridge-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-kinesis-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-lambda-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-secrets-manager-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-sns-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-sqs-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-step-functions-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-sts-logo/index.d.ts +2 -0
- package/lib/icons/destinations/index.d.ts +12 -0
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/wide-drawer/index.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/destinations/index.d.ts +3 -0
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +1 -1
- package/lib/chunks/index-DHTlCrf6.js +0 -3
package/lib/components/v2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{au as Autocomplete,a4 as Badge,B as Button,t as ButtonSize,e2 as ButtonTab,e3 as ButtonTabList,j as ButtonVariants,C as Checkbox,e4 as CheckboxList,av as CheckboxSize,aS as CliCommand,aG as DataCard,D as Drawer,ay as DropData,aF as DropDataAlignX,aE as DropDataAlignY,H as DropDown,c as FieldMessage,a as FieldTitle,e5 as Header,aZ as HoverActions,ag as IconButton,ah as IconButtonSize,I as Input,r as InputList,o as InputTable,aO as Island,L as Loader,e6 as Modal,e7 as Navbar,N as NoData,h as Note,ax as Radio,e8 as RadioGroup,e9 as RadioSize,g as Search,aD as SectionCard,ea as SectionCardSize,z as Segment,al as SegmentSize,eb as SegmentVariant,aV as StatusCard,aP as Stepper,aM as Table,aN as TableVariant,ec as Tag,E as TextArea,aW as TextCard,p as Toggle,q as ToggleLabelAlign,ed as ToggleList,ap as ToggleSize,ee as ToggleVariant,k as Typography,f as TypographySize,aq as TypographyVariants,W as WarningModal}from"../chunks/ui-components-DvThY8Em.js";import"../icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"../chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{bv as AutocompleteInput,bP as Badge,bR as Button,bi as CancelWarning,e as CenterThis,b0 as Checkbox,cX as Code,bm as ConditionDetails,bn as DataCard,a_ as DataCardFieldTypes,co as DataCardFields,dP as DataFinger,bT as DataTab,bh as DeleteWarning,cG as DescribeRow,s as Divider,bb as DocsButton,bg as Drawer,dQ as DrawerFooter,dR as DrawerHeader,c9 as Dropdown,dS as ErrorBoundary,cf as ExtendArrow,aR as FadeLoader,b1 as FieldError,a$ as FieldLabel,F as FlexColumn,b as FlexRow,dT as Header,b7 as IconButton,cP as IconGroup,bJ as IconTitleBadge,bE as IconWrapped,cC as IconsNav,dU as ImageControlled,b2 as Input,b6 as InputList,b3 as InputTable,bM as InteractiveTable,b5 as KeyValueInputsList,dV as LoadingText,bs as Modal,bt as ModalBody,bc as MonitorsCheckboxes,bG as MonitorsIcons,bw as NavigationButtons,bN as NoDataFound,bu as NotificationNote,dW as Overlay,aL as PageContent,c4 as Popup,cR as PopupForm,cW as ScrollX,S as ScrollY,ba as SectionTitle,b9 as Segment,c6 as SelectionButton,bY as SkeletonLoader,by as Status,cn as Stepper,dX as TabList,bH as TableContainer,bI as TableTitleWrap,bL as TableWrap,cq as Tag,be as Text,bd as TextArea,b4 as Toggle,cU as ToggleCodeComponent,Z as Tooltip,bO as TraceLoader,aY as UpgradeRequiredWrapper,c5 as VerticalScroll,ct as WarningModal,dY as getLinksFromText,dZ as getStrongsFromText,d_ as renderText}from"./chunks/ui-components-
|
|
1
|
+
export{bv as AutocompleteInput,bP as Badge,bR as Button,bi as CancelWarning,e as CenterThis,b0 as Checkbox,cX as Code,bm as ConditionDetails,bn as DataCard,a_ as DataCardFieldTypes,co as DataCardFields,dP as DataFinger,bT as DataTab,bh as DeleteWarning,cG as DescribeRow,s as Divider,bb as DocsButton,bg as Drawer,dQ as DrawerFooter,dR as DrawerHeader,c9 as Dropdown,dS as ErrorBoundary,cf as ExtendArrow,aR as FadeLoader,b1 as FieldError,a$ as FieldLabel,F as FlexColumn,b as FlexRow,dT as Header,b7 as IconButton,cP as IconGroup,bJ as IconTitleBadge,bE as IconWrapped,cC as IconsNav,dU as ImageControlled,b2 as Input,b6 as InputList,b3 as InputTable,bM as InteractiveTable,b5 as KeyValueInputsList,dV as LoadingText,bs as Modal,bt as ModalBody,bc as MonitorsCheckboxes,bG as MonitorsIcons,bw as NavigationButtons,bN as NoDataFound,bu as NotificationNote,dW as Overlay,aL as PageContent,c4 as Popup,cR as PopupForm,cW as ScrollX,S as ScrollY,ba as SectionTitle,b9 as Segment,c6 as SelectionButton,bY as SkeletonLoader,by as Status,cn as Stepper,dX as TabList,bH as TableContainer,bI as TableTitleWrap,bL as TableWrap,cq as Tag,be as Text,bd as TextArea,b4 as Toggle,cU as ToggleCodeComponent,Z as Tooltip,bO as TraceLoader,aY as UpgradeRequiredWrapper,c5 as VerticalScroll,ct as WarningModal,dY as getLinksFromText,dZ as getStrongsFromText,d_ as renderText}from"./chunks/ui-components-DvThY8Em.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
package/lib/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ad as ACTION_ATTRIBUTE_OPTIONS,bl as ACTION_OPTIONS,ae as ACTION_SAMPLER_OPTIONS,aK as BUTTON_TEXTS,a8 as DEFAULT_CLUSTER_ID,a7 as DEFAULT_CLUSTER_NAME,ce as DEFAULT_DATA_STREAM_NAME,aj as DESTINATION_CATEGORIES,a5 as DISPLAY_LANGUAGES,af as DISPLAY_TITLES,y as DOCS_BASE_URL,ai as DestinationCategoryTypes,X as FORM_ALERTS,
|
|
1
|
+
export{ad as ACTION_ATTRIBUTE_OPTIONS,bl as ACTION_OPTIONS,ae as ACTION_SAMPLER_OPTIONS,aK as BUTTON_TEXTS,a8 as DEFAULT_CLUSTER_ID,a7 as DEFAULT_CLUSTER_NAME,ce as DEFAULT_DATA_STREAM_NAME,aj as DESTINATION_CATEGORIES,a5 as DISPLAY_LANGUAGES,af as DISPLAY_TITLES,y as DOCS_BASE_URL,ai as DestinationCategoryTypes,X as FORM_ALERTS,an as INSTRUMENTATION_RULE_OPTIONS,dC as LANGUAGE_OPTIONS,M as MONITORS_OPTIONS,dD as OTEL_DISTRO_NAME_OPTIONS,ca as STORAGE_KEYS,dE as TOKEN_ABOUT_TO_EXPIRE}from"./chunks/ui-components-DvThY8Em.js";import"./icons.js";import"react/jsx-runtime";import"styled-components";import"zustand";import"react";import"javascript-time-ago";import"./chunks/vendor-C150cdxb.js";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";import"virtua";
|
|
@@ -6,5 +6,6 @@ export interface AddActionDrawerProps {
|
|
|
6
6
|
selectedConnectionIds?: string[];
|
|
7
7
|
setSelectedConnectionIds?: Dispatch<SetStateAction<string[]>>;
|
|
8
8
|
createAction: CreateActionFunc;
|
|
9
|
+
withOverlay?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const AddActionDrawer: FC<AddActionDrawerProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC, type Dispatch, type SetStateAction } from 'react';
|
|
2
2
|
import type { HeaderProps } from '@/components/_v2/drawer/header';
|
|
3
3
|
import { type UnsavedDestination } from '../../_forms';
|
|
4
|
-
import type { CreateDestinationFunc, GetDestinationCategoriesFunc, GetPotentialDestinationsFunc, TestConnectionFunc } from '@/types';
|
|
4
|
+
import type { CreateDestinationFunc, GetDestinationCategoriesFunc, GetPotentialDestinationsFunc, TestConnectionFunc, UpdateDestinationFunc } from '@/types';
|
|
5
5
|
export interface AddDestinationDrawerProps {
|
|
6
6
|
onClose?: HeaderProps['onClose'];
|
|
7
7
|
onBack?: (input: UnsavedDestination[]) => void;
|
|
@@ -13,5 +13,8 @@ export interface AddDestinationDrawerProps {
|
|
|
13
13
|
initialInputs?: UnsavedDestination[] | null;
|
|
14
14
|
testConnection: TestConnectionFunc;
|
|
15
15
|
createDestination: CreateDestinationFunc;
|
|
16
|
+
updateDestination: UpdateDestinationFunc;
|
|
17
|
+
withOverlay?: boolean;
|
|
18
|
+
disableAnimation?: boolean;
|
|
16
19
|
}
|
|
17
20
|
export declare const AddDestinationDrawer: FC<AddDestinationDrawerProps>;
|
|
@@ -6,5 +6,6 @@ export interface AddRuleDrawerProps {
|
|
|
6
6
|
selectedConnectionIds?: string[];
|
|
7
7
|
setSelectedConnectionIds?: Dispatch<SetStateAction<string[]>>;
|
|
8
8
|
createInstrumentationRule: CreateInstrumentationRuleFunc;
|
|
9
|
+
withOverlay?: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const AddRuleDrawer: FC<AddRuleDrawerProps>;
|
|
@@ -8,5 +8,7 @@ export interface AddSourceDrawerProps {
|
|
|
8
8
|
selectedConnectionIds?: string[];
|
|
9
9
|
setSelectedConnectionIds?: Dispatch<SetStateAction<string[]>>;
|
|
10
10
|
persistSources: PersistSourcesFunc;
|
|
11
|
+
withOverlay?: boolean;
|
|
12
|
+
disableAnimation?: boolean;
|
|
11
13
|
}
|
|
12
14
|
export declare const AddSourceDrawer: FC<AddSourceDrawerProps>;
|
|
@@ -6,7 +6,6 @@ interface ActiveForm {
|
|
|
6
6
|
listType: DestinationCategoryTypes;
|
|
7
7
|
option: DestinationOption;
|
|
8
8
|
dynamicFields: DestinationDynamicField[];
|
|
9
|
-
errorMessage?: string;
|
|
10
9
|
unsavedIdx?: number;
|
|
11
10
|
}
|
|
12
11
|
export interface UnsavedDestination {
|
|
@@ -18,6 +17,7 @@ interface AddDestinationFormContextType {
|
|
|
18
17
|
activeForm: ActiveForm | null;
|
|
19
18
|
onChangeActiveForm: (payload: Omit<ActiveForm, 'dynamicFields'> | null) => void;
|
|
20
19
|
genericForm?: GenericFormResult<DestinationFormData>;
|
|
20
|
+
formErrorMessage?: string;
|
|
21
21
|
validateFormData: () => {
|
|
22
22
|
errorMessage?: string;
|
|
23
23
|
preparedFormData: DestinationFormData;
|
|
@@ -25,8 +25,8 @@ interface AddDestinationFormContextType {
|
|
|
25
25
|
unsavedDestinations: UnsavedDestination[];
|
|
26
26
|
thisUnsavedDestination?: UnsavedDestination;
|
|
27
27
|
setUnsavedDestinations: Dispatch<SetStateAction<UnsavedDestination[]>>;
|
|
28
|
-
addUnsavedDestination: (payload: Omit<UnsavedDestination, 'option'
|
|
29
|
-
updateUnsavedDestination: (idx: number, payload: Omit<UnsavedDestination, 'option'
|
|
28
|
+
addUnsavedDestination: (payload: Omit<UnsavedDestination, 'option'>, keepActiveForm?: boolean) => void;
|
|
29
|
+
updateUnsavedDestination: (idx: number, payload: Omit<UnsavedDestination, 'option'>, keepActiveForm?: boolean) => void;
|
|
30
30
|
deleteUnsavedDestination: (idx: number) => void;
|
|
31
31
|
}
|
|
32
32
|
export declare const AddDestinationFormContextProvider: FC<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type CSSProperties } from 'react';
|
|
2
|
-
import { type Connection, type GetEffectiveConfigFunc, type ApplyConfigurationsFunc, type GetAllClusterSnapshots, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type CreateDestinationFunc, type CreateActionFunc, type CreateInstrumentationRuleFunc, TestConnectionFunc } from '@/types';
|
|
2
|
+
import { type Connection, type GetEffectiveConfigFunc, type ApplyConfigurationsFunc, type GetAllClusterSnapshots, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type CreateDestinationFunc, type UpdateDestinationFunc, type CreateActionFunc, type CreateInstrumentationRuleFunc, TestConnectionFunc } from '@/types';
|
|
3
3
|
export interface CentralConnectionsProps {
|
|
4
4
|
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
5
5
|
connections?: Connection[];
|
|
@@ -16,6 +16,7 @@ export interface CentralConnectionsProps {
|
|
|
16
16
|
getPotentialDestinations?: GetPotentialDestinationsFunc;
|
|
17
17
|
testConnection?: TestConnectionFunc;
|
|
18
18
|
createDestination?: CreateDestinationFunc;
|
|
19
|
+
updateDestination?: UpdateDestinationFunc;
|
|
19
20
|
createAction?: CreateActionFunc;
|
|
20
21
|
createInstrumentationRule?: CreateInstrumentationRuleFunc;
|
|
21
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
import { type FetchNamespacesWithWorkloads, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type TestConnectionFunc, type CreateDestinationFunc } from '@/types';
|
|
2
|
+
import { type FetchNamespacesWithWorkloads, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type TestConnectionFunc, type CreateDestinationFunc, type UpdateDestinationFunc } from '@/types';
|
|
3
3
|
export interface OnboardingProps {
|
|
4
4
|
pagePaddingXAxis?: CSSProperties['padding'];
|
|
5
5
|
pagePaddingYAxis?: CSSProperties['padding'];
|
|
@@ -9,6 +9,7 @@ export interface OnboardingProps {
|
|
|
9
9
|
getPotentialDestinations: GetPotentialDestinationsFunc;
|
|
10
10
|
testConnection: TestConnectionFunc;
|
|
11
11
|
createDestination: CreateDestinationFunc;
|
|
12
|
+
updateDestination: UpdateDestinationFunc;
|
|
12
13
|
onDone: () => void;
|
|
13
14
|
}
|
|
14
15
|
export declare const Onboarding: FC<OnboardingProps>;
|