@odigos/ui-kit 0.0.211 → 0.0.213
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 +22 -0
- package/lib/chunks/index-Bh2gKc3b.js +3 -0
- package/lib/chunks/ui-components-BliHHDta.js +2388 -0
- package/lib/chunks/vendor-C150cdxb.js +1 -0
- package/lib/components/_v2/badge/index.d.ts +2 -0
- package/lib/components/_v2/cards/section-card/index.d.ts +1 -0
- package/lib/components/_v2/checkbox/index.d.ts +5 -1
- package/lib/components/_v2/field-message/index.d.ts +1 -0
- package/lib/components/_v2/field-title/index.d.ts +2 -0
- package/lib/components/_v2/index.d.ts +1 -0
- package/lib/components/_v2/input/index.d.ts +4 -3
- package/lib/components/_v2/input-list/index.d.ts +5 -3
- package/lib/components/_v2/input-table/index.d.ts +5 -3
- package/lib/components/_v2/stepper/index.d.ts +11 -0
- package/lib/components/_v2/textarea/index.d.ts +4 -3
- package/lib/components/_v2/toggle/index.d.ts +5 -1
- package/lib/components/styled.d.ts +3 -6
- package/lib/components/tooltip/index.d.ts +1 -0
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants/destinations/index.d.ts +5 -0
- package/lib/constants/strings/index.d.ts +12 -0
- 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/form-column/index.d.ts +4 -7
- package/lib/containers/_v2/_drawers/add-destination-drawer/helpers.d.ts +1 -9
- package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +10 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/lists-column/index.d.ts +3 -5
- package/lib/containers/_v2/_drawers/add-destination-drawer/types.d.ts +1 -6
- package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +3 -3
- package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +7 -5
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
- package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/list/index.d.ts +1 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/types.d.ts +3 -0
- package/lib/containers/_v2/_drawers/add-source-drawer/workloads-column/index.d.ts +2 -1
- package/lib/containers/_v2/_forms/add-action-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-action-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-destination-form/context.d.ts +36 -0
- package/lib/containers/_v2/_forms/add-destination-form/dynamic-fields/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/add-destination-form/index.d.ts +4 -5
- package/lib/containers/_v2/_forms/add-rule-form/context.d.ts +18 -0
- package/lib/containers/_v2/_forms/add-rule-form/index.d.ts +2 -6
- package/lib/containers/_v2/_forms/add-source-form/context.d.ts +21 -0
- package/lib/containers/_v2/_forms/add-source-form/index.d.ts +1 -0
- package/lib/containers/_v2/_forms/index.d.ts +1 -0
- package/lib/containers/_v2/central-connections/index.d.ts +2 -1
- package/lib/containers/_v2/index.d.ts +1 -0
- package/lib/containers/_v2/onboarding/background/index.d.ts +7 -0
- package/lib/containers/_v2/onboarding/get-started/index.d.ts +5 -0
- package/lib/containers/_v2/onboarding/index.d.ts +14 -0
- package/lib/containers/_v2/onboarding/summary/index.d.ts +12 -0
- package/lib/containers/_v2/pipeline-collectors/general-info/yaml-drawer/index.d.ts +1 -1
- package/lib/containers/v2.js +91 -30
- package/lib/containers.js +131 -131
- package/lib/contexts.js +1 -1
- package/lib/functions/deep-values/index.d.ts +2 -0
- package/lib/functions/index.d.ts +1 -0
- package/lib/functions.js +1 -1
- package/lib/hooks/useGenericForm.d.ts +2 -0
- package/lib/hooks.js +1 -1
- package/lib/icons.js +1 -1
- package/lib/snippets/_v2/index.d.ts +1 -0
- package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +5 -0
- package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +1 -0
- package/lib/snippets/_v2/yaml-section-card/index.d.ts +1 -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 +307 -3
- package/lib/types/destinations/index.d.ts +9 -8
- package/lib/types/snapshot/index.d.ts +4 -4
- package/lib/types.js +1 -1
- package/lib/visuals.js +1 -1
- package/package.json +28 -28
- package/lib/chunks/index-BURQQLWb.js +0 -3
- package/lib/chunks/ui-components-B5U474B5.js +0 -2387
- package/lib/chunks/vendor-D99eCWta.js +0 -1
- package/lib/containers/_v2/_drawers/add-action-drawer/helpers.d.ts +0 -7
- package/lib/containers/_v2/_drawers/add-rule-drawer/helpers.d.ts +0 -7
|
@@ -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 } from '@/types';
|
|
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';
|
|
3
3
|
export interface CentralConnectionsProps {
|
|
4
4
|
tableRowsMaxHeight: CSSProperties['maxHeight'];
|
|
5
5
|
connections?: Connection[];
|
|
@@ -14,6 +14,7 @@ export interface CentralConnectionsProps {
|
|
|
14
14
|
persistSources?: PersistSourcesFunc;
|
|
15
15
|
getDestinationCategories?: GetDestinationCategoriesFunc;
|
|
16
16
|
getPotentialDestinations?: GetPotentialDestinationsFunc;
|
|
17
|
+
testConnection?: TestConnectionFunc;
|
|
17
18
|
createDestination?: CreateDestinationFunc;
|
|
18
19
|
createAction?: CreateActionFunc;
|
|
19
20
|
createInstrumentationRule?: CreateInstrumentationRuleFunc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CSSProperties, type ReactNode, type FC } from 'react';
|
|
2
|
+
export interface BackgroundProps {
|
|
3
|
+
paddingXAxis?: CSSProperties['padding'];
|
|
4
|
+
paddingYAxis?: CSSProperties['padding'];
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const Background: FC<BackgroundProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type CSSProperties, type FC } from 'react';
|
|
2
|
+
import { type FetchNamespacesWithWorkloads, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type TestConnectionFunc, type CreateDestinationFunc } from '@/types';
|
|
3
|
+
export interface OnboardingProps {
|
|
4
|
+
pagePaddingXAxis?: CSSProperties['padding'];
|
|
5
|
+
pagePaddingYAxis?: CSSProperties['padding'];
|
|
6
|
+
fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
|
|
7
|
+
persistSources: PersistSourcesFunc;
|
|
8
|
+
getDestinationCategories: GetDestinationCategoriesFunc;
|
|
9
|
+
getPotentialDestinations: GetPotentialDestinationsFunc;
|
|
10
|
+
testConnection: TestConnectionFunc;
|
|
11
|
+
createDestination: CreateDestinationFunc;
|
|
12
|
+
onDone: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const Onboarding: FC<OnboardingProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type UnsavedDestination } from '../../_forms';
|
|
3
|
+
import { type PersistSourceInput } from '@/types';
|
|
4
|
+
export interface SummaryProps {
|
|
5
|
+
setStep: (step: number) => void;
|
|
6
|
+
onSave: () => Promise<{
|
|
7
|
+
error?: string;
|
|
8
|
+
} | undefined>;
|
|
9
|
+
sourcesPayload: PersistSourceInput | null;
|
|
10
|
+
destinationsPayload: UnsavedDestination[] | null;
|
|
11
|
+
}
|
|
12
|
+
export declare const Summary: FC<SummaryProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { DrawerProps } from '@/components/_v2';
|
|
2
|
+
import { type DrawerProps } from '@/components/_v2';
|
|
3
3
|
import { type HeaderProps } from '@/components/_v2/drawer/header';
|
|
4
4
|
export interface YamlDrawerProps {
|
|
5
5
|
isOpen: DrawerProps['isOpen'];
|