@odigos/ui-kit 0.0.9 → 0.0.11
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/components/badge/index.d.ts +2 -2
- package/lib/components/data-card/data-card-fields/index.d.ts +14 -14
- package/lib/components/data-card/index.d.ts +2 -2
- package/lib/components/data-tab/index.d.ts +3 -3
- package/lib/components/delete-warning/index.d.ts +2 -2
- package/lib/components/describe-row/index.d.ts +2 -2
- package/lib/components/divider/index.d.ts +2 -2
- package/lib/components/drawer/drawer-header/index.d.ts +1 -1
- package/lib/components/icon-group/index.d.ts +2 -2
- package/lib/components/icon-wrapped/index.d.ts +2 -2
- package/lib/components/interactive-table/index.d.ts +2 -2
- package/lib/components/interactive-table/row.d.ts +2 -2
- package/lib/components/monitors-checkboxes/index.d.ts +4 -4
- package/lib/components/monitors-icons/index.d.ts +2 -2
- package/lib/components/notification-note/index.d.ts +2 -2
- package/lib/components/status/index.d.ts +2 -2
- package/lib/components/stepper/index.d.ts +1 -1
- package/lib/components/styled.d.ts +12 -0
- package/lib/components/warning-modal/index.d.ts +2 -2
- package/lib/components.js +8 -8
- package/lib/constants/strings/index.d.ts +11 -10
- package/lib/constants.js +4 -4
- package/lib/containers/action-drawer/build-card.d.ts +2 -2
- package/lib/containers/action-drawer/index.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/index.d.ts +2 -2
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +2 -2
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -2
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
- package/lib/containers/data-flow/nodes/add-node.d.ts +3 -3
- package/lib/containers/data-flow/nodes/base-node.d.ts +5 -5
- package/lib/containers/data-flow/nodes/edged-node.d.ts +2 -2
- package/lib/containers/data-flow/nodes/frame-node.d.ts +2 -2
- package/lib/containers/data-flow/nodes/header-node.d.ts +2 -2
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +5 -5
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +2 -2
- package/lib/containers/data-flow-actions-menu/index.d.ts +2 -2
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +2 -2
- package/lib/containers/destination-drawer/build-card.d.ts +2 -2
- package/lib/containers/destination-form/test-connection/index.d.ts +2 -2
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -2
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
- package/lib/containers/side-nav/index.d.ts +8 -8
- package/lib/containers/source-drawer/build-card.d.ts +1 -1
- package/lib/containers.js +380 -385
- package/lib/data/sources/index.d.ts +3 -3
- package/lib/functions/get-action-icon/index.d.ts +2 -2
- package/lib/functions/get-conditions-booleans/index.d.ts +2 -2
- package/lib/functions/get-entity-icon/index.d.ts +2 -2
- package/lib/functions/get-entity-label/index.d.ts +2 -2
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
- package/lib/functions/get-monitor-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-label/index.d.ts +2 -2
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
- package/lib/functions/get-status-icon/index.d.ts +2 -2
- package/lib/functions/index.d.ts +0 -1
- package/lib/functions.js +9 -20
- package/lib/hooks.js +7 -7
- package/lib/icons.js +2 -2
- package/lib/{index-BFct3S32.js → index-7-KCQK-x.js} +2 -2
- package/lib/{index-ixs381n-.js → index-9ObpINp4.js} +4 -4
- package/lib/{index-m62aT4IR.js → index-B_fzHjxk.js} +111 -93
- package/lib/{index-g6Twdelv.js → index-BtuW12KL.js} +22 -22
- package/lib/{index-CZe2VX28.js → index-CJKFedQi.js} +31 -31
- package/lib/{index-Bc8gi9FH.js → index-CYn62h8x.js} +33 -33
- package/lib/{index-Cu2uHOuh.js → index-C_0J5P9M.js} +11 -10
- package/lib/{index-DIcomki-.js → index-DYEcdkUF.js} +19 -19
- package/lib/{index-BumPE6cF.js → index-Db_ZDrEr.js} +13 -13
- package/lib/store/useDrawerStore.d.ts +2 -2
- package/lib/store/useEntityStore.d.ts +5 -5
- package/lib/store/usePendingStore.d.ts +2 -2
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/actions/index.d.ts +14 -14
- package/lib/types/common/index.d.ts +80 -76
- package/lib/types/connection/index.d.ts +3 -3
- package/lib/types/data-flow/index.d.ts +15 -15
- package/lib/types/destinations/index.d.ts +2 -2
- package/lib/types/instrumentation-rules/index.d.ts +28 -28
- package/lib/types/signals/index.d.ts +5 -5
- package/lib/types/sources/index.d.ts +7 -7
- package/lib/types.js +164 -159
- package/lib/{useSourceSelectionFormData-BY6B70Kf.js → useSourceSelectionFormData-BnlRp8m3.js} +40 -40
- package/lib/{useTransition-Dfxjcy-C.js → useTransition-CFmm4scp.js} +23 -23
- package/package.json +10 -10
- package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { EntityTypes } from '@/types';
|
|
3
3
|
interface DataFlowActionsMenuProps {
|
|
4
4
|
namespaces: {
|
|
5
5
|
name: string;
|
|
6
6
|
}[];
|
|
7
|
-
addEntity?:
|
|
7
|
+
addEntity?: EntityTypes;
|
|
8
8
|
}
|
|
9
9
|
declare const DataFlowActionsMenu: React.FC<DataFlowActionsMenuProps>;
|
|
10
10
|
export { DataFlowActionsMenu, type DataFlowActionsMenuProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Action, type Destination,
|
|
2
|
-
export type Category = 'all' |
|
|
1
|
+
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source } from '@/types';
|
|
2
|
+
export type Category = 'all' | EntityTypes;
|
|
3
3
|
interface Params {
|
|
4
4
|
searchText: string;
|
|
5
5
|
selectedCategory: Category;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DataCardFieldTypes } from '@/components';
|
|
2
2
|
import { type Destination, type DestinationYamlProperties } from '@/types';
|
|
3
3
|
declare const buildCard: (destination: Destination, yamlFields: DestinationYamlProperties[]) => {
|
|
4
|
-
type?:
|
|
4
|
+
type?: DataCardFieldTypes;
|
|
5
5
|
title?: string;
|
|
6
6
|
tooltip?: string;
|
|
7
7
|
value?: string | Record<string, any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type { DestinationFormData,
|
|
2
|
+
import type { DestinationFormData, StatusType } from '@/types';
|
|
3
3
|
interface TestConnectionProps {
|
|
4
4
|
destination: DestinationFormData;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
validateForm: () => boolean;
|
|
7
|
-
status?:
|
|
7
|
+
status?: StatusType;
|
|
8
8
|
testConnection: (destination: DestinationFormData) => void;
|
|
9
9
|
testLoading: boolean;
|
|
10
10
|
testResult?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InstrumentationRule } from '@/types';
|
|
2
|
-
import {
|
|
2
|
+
import { DataCardFieldTypes } from '@/components';
|
|
3
3
|
declare const buildCard: (rule: InstrumentationRule) => {
|
|
4
|
-
type?:
|
|
4
|
+
type?: DataCardFieldTypes;
|
|
5
5
|
title?: string;
|
|
6
6
|
tooltip?: string;
|
|
7
7
|
value?: string | Record<string, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { type CustomFieldProps,
|
|
2
|
+
import { type CustomFieldProps, InstrumentationRuleType, type InstrumentationRuleFormData } from '@/types';
|
|
3
3
|
interface CustomFieldsProps extends CustomFieldProps<InstrumentationRuleFormData> {
|
|
4
|
-
ruleType?:
|
|
4
|
+
ruleType?: InstrumentationRuleType;
|
|
5
5
|
}
|
|
6
6
|
declare const CustomFields: FC<CustomFieldsProps>;
|
|
7
7
|
export { CustomFields, type CustomFieldsProps };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type NavIcon } from '@/components';
|
|
3
|
-
declare enum
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
declare enum NavIconIds {
|
|
4
|
+
Overview = "overview",
|
|
5
|
+
InstrumentationRules = "instrumentation rule",
|
|
6
|
+
Sources = "source",
|
|
7
|
+
Actions = "action",
|
|
8
|
+
Destinations = "destination"
|
|
9
9
|
}
|
|
10
10
|
interface SideNavProps {
|
|
11
|
-
onClickId: (id:
|
|
11
|
+
onClickId: (id: NavIconIds) => void;
|
|
12
12
|
defaultSelectedId?: string;
|
|
13
13
|
extendedNavIcons?: NavIcon[];
|
|
14
14
|
}
|
|
15
15
|
declare const SideNav: FC<SideNavProps>;
|
|
16
|
-
export { SideNav, type SideNavProps,
|
|
16
|
+
export { SideNav, type SideNavProps, NavIconIds };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Source } from '@/types';
|
|
2
2
|
declare const buildCard: (source: Source) => {
|
|
3
|
-
type?: import("@/components").
|
|
3
|
+
type?: import("@/components").DataCardFieldTypes;
|
|
4
4
|
title?: string;
|
|
5
5
|
tooltip?: string;
|
|
6
6
|
value?: string | Record<string, any>;
|