@odigos/ui-kit 0.0.67 → 0.0.69
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 +19 -0
- package/lib/components/dropdown/index.d.ts +2 -1
- package/lib/components/field-label/index.d.ts +2 -0
- package/lib/components/input/index.d.ts +2 -1
- package/lib/components/popup/index.d.ts +3 -2
- package/lib/components/text/index.d.ts +1 -1
- package/lib/components.js +8 -8
- package/lib/constants.js +1 -1
- package/lib/containers/system-settings/settings/options.d.ts +2 -1
- package/lib/containers/system-settings/settings/types.d.ts +2 -2
- package/lib/containers.js +185 -175
- package/lib/functions/get-status-icon/index.d.ts +2 -1
- package/lib/functions.js +5 -5
- package/lib/hooks.js +3 -3
- package/lib/icons.js +6 -6
- package/lib/{index-58440c5c.js → index-281d9862.js} +2 -2
- package/lib/{index-c1df4281.js → index-35e207a1.js} +1 -1
- package/lib/{index-acc7c7dd.js → index-5102bee6.js} +1 -1
- package/lib/{index-f2da9ad4.js → index-728cf83d.js} +80 -34
- package/lib/{index-50101bec.js → index-89b23a82.js} +1 -1
- package/lib/{index-bd48e6e2.js → index-8fc2f11e.js} +3 -3
- package/lib/{index-7074fb24.js → index-b3808507.js} +2 -2
- package/lib/{index-42f40e7c.js → index-ed649685.js} +3 -3
- package/lib/{index-391844c6.js → index-fed7fc91.js} +1 -1
- package/lib/snippets.js +7 -7
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/config/index.d.ts +13 -0
- package/lib/types.js +25 -1
- package/lib/{useTransition-c2aef0e4.js → useTransition-26bd4722.js} +1 -1
- package/package.json +15 -15
- package/lib/containers/system-settings/settings/advanced-settings.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.69](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.68...ui-kit-v0.0.69) (2025-08-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* better tooltips for all fields (system settings) ([#281](https://github.com/odigos-io/ui-kit/issues/281)) ([8b19a2f](https://github.com/odigos-io/ui-kit/commit/8b19a2f081f77a52ec08ce91134e1eb4ca6ae15b))
|
|
9
|
+
|
|
10
|
+
## [0.0.68](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.67...ui-kit-v0.0.68) (2025-07-23)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* toggle for advanced settings ([#271](https://github.com/odigos-io/ui-kit/issues/271)) ([53e9a0a](https://github.com/odigos-io/ui-kit/commit/53e9a0aedef964f4afea147eb98c3d1eb43ebe83))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* dirty form state, and scroll pixels ([#269](https://github.com/odigos-io/ui-kit/issues/269)) ([c3d7a0e](https://github.com/odigos-io/ui-kit/commit/c3d7a0e61704d3dcb0882627c91004d0174ce461))
|
|
21
|
+
|
|
3
22
|
## [0.0.67](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.66...ui-kit-v0.0.67) (2025-07-23)
|
|
4
23
|
|
|
5
24
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import type { SVG } from '@/types';
|
|
2
|
+
import type { SVG, StatusType } from '@/types';
|
|
3
3
|
interface DropdownOption<T = string> {
|
|
4
4
|
id?: T | null;
|
|
5
5
|
value?: string | null;
|
|
@@ -19,6 +19,7 @@ interface DropdownProps {
|
|
|
19
19
|
showSearch?: boolean;
|
|
20
20
|
errorMessage?: string;
|
|
21
21
|
hasError?: boolean;
|
|
22
|
+
status?: StatusType;
|
|
22
23
|
}
|
|
23
24
|
declare const Dropdown: FC<DropdownProps>;
|
|
24
25
|
export { Dropdown, type DropdownProps, type DropdownOption };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { type FC, type CSSProperties } from 'react';
|
|
2
|
+
import { StatusType } from '@/types';
|
|
2
3
|
interface FieldLabelProps {
|
|
3
4
|
title?: string;
|
|
4
5
|
required?: boolean;
|
|
5
6
|
tooltip?: string;
|
|
6
7
|
style?: CSSProperties;
|
|
8
|
+
status?: StatusType;
|
|
7
9
|
}
|
|
8
10
|
declare const FieldLabel: FC<FieldLabelProps>;
|
|
9
11
|
export { FieldLabel, type FieldLabelProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC, type InputHTMLAttributes } from 'react';
|
|
2
|
-
import { type SVG } from '@/types';
|
|
2
|
+
import { StatusType, type SVG } from '@/types';
|
|
3
3
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
4
|
title?: string;
|
|
5
5
|
icon?: SVG;
|
|
@@ -9,6 +9,7 @@ interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
9
9
|
required?: boolean;
|
|
10
10
|
hasError?: boolean;
|
|
11
11
|
errorMessage?: string;
|
|
12
|
+
status?: StatusType;
|
|
12
13
|
}
|
|
13
14
|
declare const Input: FC<InputProps>;
|
|
14
15
|
export { Input, type InputProps };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import React, { CSSProperties, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
-
interface PopupProps extends PropsWithChildren {
|
|
1
|
+
import React, { type CSSProperties, type HTMLAttributes, type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
+
interface PopupProps extends PropsWithChildren, HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
header?: ReactNode;
|
|
4
4
|
footer?: ReactNode;
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
asPortal?: boolean;
|
|
7
|
+
withPointerEvents?: boolean;
|
|
7
8
|
top?: number;
|
|
8
9
|
bottom?: number;
|
|
9
10
|
left?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
|
-
children
|
|
3
|
+
children?: ReactNode;
|
|
4
4
|
color?: string;
|
|
5
5
|
size?: number;
|
|
6
6
|
weight?: number;
|
package/lib/components.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { B as Button } from './index-
|
|
2
|
-
export { A as AutocompleteInput, a as Badge, a6 as CenterThis, C as Checkbox, b as Code, c as ConditionDetails, D as DataCard, e as DataCardFieldTypes, d as DataCardFields, f as DataFinger, g as DataTab, h as DescribeRow, i as Divider, j as DocsButton, k as Drawer, m as DrawerFooter, l as DrawerHeader, n as Dropdown, E as ExtendArrow, F as FadeLoader, o as FieldError, p as FieldLabel, a5 as FlexColumn, a4 as FlexRow, H as Header, I as IconButton, q as IconGroup, r as IconTitleBadge, s as IconWrapped, t as IconsNav, u as ImageControlled, v as Input, w as InputList, x as InputTable, y as InteractiveTable, K as KeyValueInputsList, M as Modal, a9 as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, a8 as Overlay, P as Popup, O as PopupForm, S as ScrollX, Q as SectionTitle, R as Segment, U as SelectionButton, V as SkeletonLoader, W as Status, X as Stepper, Y as TabList, aa as TableContainer, ab as TableTitleWrap, ac as TableWrap, Z as Tag, _ as Text, $ as TextArea, a0 as Toggle, T as ToggleCodeComponent, a1 as Tooltip, a2 as TraceLoader, a7 as VerticalScroll, a3 as WarningModal } from './index-
|
|
3
|
-
export { C as CancelWarning, D as DeleteWarning } from './index-
|
|
1
|
+
import { B as Button } from './index-728cf83d.js';
|
|
2
|
+
export { A as AutocompleteInput, a as Badge, a6 as CenterThis, C as Checkbox, b as Code, c as ConditionDetails, D as DataCard, e as DataCardFieldTypes, d as DataCardFields, f as DataFinger, g as DataTab, h as DescribeRow, i as Divider, j as DocsButton, k as Drawer, m as DrawerFooter, l as DrawerHeader, n as Dropdown, E as ExtendArrow, F as FadeLoader, o as FieldError, p as FieldLabel, a5 as FlexColumn, a4 as FlexRow, H as Header, I as IconButton, q as IconGroup, r as IconTitleBadge, s as IconWrapped, t as IconsNav, u as ImageControlled, v as Input, w as InputList, x as InputTable, y as InteractiveTable, K as KeyValueInputsList, M as Modal, a9 as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, a8 as Overlay, P as Popup, O as PopupForm, S as ScrollX, Q as SectionTitle, R as Segment, U as SelectionButton, V as SkeletonLoader, W as Status, X as Stepper, Y as TabList, aa as TableContainer, ab as TableTitleWrap, ac as TableWrap, Z as Tag, _ as Text, $ as TextArea, a0 as Toggle, T as ToggleCodeComponent, a1 as Tooltip, a2 as TraceLoader, a7 as VerticalScroll, a3 as WarningModal } from './index-728cf83d.js';
|
|
3
|
+
export { C as CancelWarning, D as DeleteWarning } from './index-b3808507.js';
|
|
4
4
|
import React, { createContext, Component, createElement } from 'react';
|
|
5
|
-
import { T as Theme } from './index-
|
|
5
|
+
import { T as Theme } from './index-8fc2f11e.js';
|
|
6
6
|
import 'styled-components';
|
|
7
|
-
import './index-
|
|
7
|
+
import './index-fed7fc91.js';
|
|
8
8
|
import './types.js';
|
|
9
9
|
import './index-5e5f7bda.js';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
10
|
+
import './index-281d9862.js';
|
|
11
|
+
import './index-89b23a82.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './useTransition-
|
|
13
|
+
import './useTransition-26bd4722.js';
|
|
14
14
|
|
|
15
15
|
const ErrorBoundaryContext = createContext(null);
|
|
16
16
|
|
package/lib/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, a as DEFAULT_DATA_STREAM_NAME, D as DISPLAY_LANGUAGES, b as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, L as LANGUAGE_OPTIONS, M as MONITORS_OPTIONS, S as STORAGE_KEYS } from './index-
|
|
1
|
+
export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, a as DEFAULT_DATA_STREAM_NAME, D as DISPLAY_LANGUAGES, b as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, L as LANGUAGE_OPTIONS, M as MONITORS_OPTIONS, S as STORAGE_KEYS } from './index-8fc2f11e.js';
|
|
2
2
|
export { D as DESTINATION_CATEGORIES } from './index-1cb4f9e2.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './types.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DropdownOption } from '@/components';
|
|
2
|
-
import { AgentEnvVarsInjectionMethod, MountMethod } from '@/types';
|
|
2
|
+
import { AgentEnvVarsInjectionMethod, MountMethod, Profile } from '@/types';
|
|
3
3
|
export declare const MOUNT_METHOD_OPTIONS: DropdownOption<MountMethod>[];
|
|
4
4
|
export declare const AGENT_ENV_VARS_INJECTION_METHOD_OPTIONS: DropdownOption<AgentEnvVarsInjectionMethod>[];
|
|
5
|
+
export declare const PROFILE_OPTIONS: DropdownOption<Profile>[];
|
|
@@ -4,10 +4,10 @@ export declare enum SettingsTabs {
|
|
|
4
4
|
Ui = "UI",
|
|
5
5
|
Rollback = "Rollback",
|
|
6
6
|
CollectorNode = "Collector Node",
|
|
7
|
-
CollectorGateway = "Collector Gateway"
|
|
8
|
-
Advanced = "Advanced"
|
|
7
|
+
CollectorGateway = "Collector Gateway"
|
|
9
8
|
}
|
|
10
9
|
export interface SettingsProps {
|
|
10
|
+
isAdvanced: boolean;
|
|
11
11
|
formData: OdigosConfig;
|
|
12
12
|
handleFormChange: (key: keyof OdigosConfig | string, value: any) => void;
|
|
13
13
|
}
|