@odigos/ui-kit 0.0.95 → 0.0.98
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 +28 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +2 -1
- package/lib/components/data-card/index.d.ts +2 -1
- package/lib/components/drawer/drawer-header/index.d.ts +2 -1
- package/lib/components/drawer/index.d.ts +2 -2
- package/lib/components/text/index.d.ts +2 -1
- package/lib/components.js +8 -8
- package/lib/constants/strings/index.d.ts +1 -0
- package/lib/constants.js +1 -1
- package/lib/containers/trace-view/index.d.ts +1 -0
- package/lib/containers/trace-view/span/index.d.ts +5 -0
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/index.d.ts +9 -0
- package/lib/containers.js +175 -53
- package/lib/functions.js +7 -7
- package/lib/hooks/useSourceSelectionFormData.d.ts +2 -0
- package/lib/hooks.js +43 -18
- package/lib/icons.js +8 -15
- package/lib/{index-333086d8.js → index-0a77c1be.js} +1 -1
- package/lib/{index-b0883db6.js → index-195415d4.js} +1 -1
- package/lib/{index-a53852b3.js → index-77cf7846.js} +9 -2
- package/lib/{index-40dfa720.js → index-89edd01d.js} +1 -0
- package/lib/{index-d92ef50b.js → index-9475009f.js} +2 -2
- package/lib/{index-9a7beddb.js → index-a3c0cecd.js} +2 -2
- package/lib/{index-bf427e64.js → index-c823fbfb.js} +3 -3
- package/lib/{index-c529b896.js → index-c8b542d8.js} +30 -21
- package/lib/{index-1bc2b507.js → index-d8fb5fed.js} +1 -1
- package/lib/{index-eff01b3d.js → index-f18c8530.js} +1 -1
- package/lib/snippets.js +7 -7
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/traces/index.d.ts +1 -1
- package/lib/{useTransition-2df374a9.js → useTransition-159c9af8.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.98](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.97...ui-kit-v0.0.98) (2025-08-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **source-selection:** add 'Select All' toggle functionality to source selection form ([#365](https://github.com/odigos-io/ui-kit/issues/365)) ([14d82d4](https://github.com/odigos-io/ui-kit/commit/14d82d4ab6e35a17bffc98131782587799dce88a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* optimize single namespace query ([#364](https://github.com/odigos-io/ui-kit/issues/364)) ([13df621](https://github.com/odigos-io/ui-kit/commit/13df621f2681e3dfe0d4322559e01dea5646ce98))
|
|
14
|
+
* **source-table:** improve loading state handling and no data display logic ([#362](https://github.com/odigos-io/ui-kit/issues/362)) ([572826d](https://github.com/odigos-io/ui-kit/commit/572826da04932e1485c34adb48cbc50c2e91cb0c))
|
|
15
|
+
|
|
16
|
+
## [0.0.97](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.96...ui-kit-v0.0.97) (2025-08-26)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* release of 0.0.97 ([#359](https://github.com/odigos-io/ui-kit/issues/359)) ([67659cc](https://github.com/odigos-io/ui-kit/commit/67659cc785acbf6934293098be331274b9d0fa13))
|
|
22
|
+
|
|
23
|
+
## [0.0.96](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.95...ui-kit-v0.0.96) (2025-08-26)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **trace-view:** add loading state to TraceView component ([#356](https://github.com/odigos-io/ui-kit/issues/356)) ([12d811c](https://github.com/odigos-io/ui-kit/commit/12d811c6b3bd4ae0b5773d4f8aa488f88a08322e))
|
|
29
|
+
* **trace-view:** add SpanDrawer with detailed span and process information ([#358](https://github.com/odigos-io/ui-kit/issues/358)) ([861635e](https://github.com/odigos-io/ui-kit/commit/861635ea0de73535a778b4a54d0cac2ed5cf8594))
|
|
30
|
+
|
|
3
31
|
## [0.0.95](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.94...ui-kit-v0.0.95) (2025-08-26)
|
|
4
32
|
|
|
5
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
|
-
import { AnyObj } from '@/types';
|
|
2
|
+
import { AnyObj, SVG } from '@/types';
|
|
3
3
|
declare enum DataCardFieldTypes {
|
|
4
4
|
Code = "code",
|
|
5
5
|
Table = "table",
|
|
@@ -13,6 +13,7 @@ declare enum DataCardFieldTypes {
|
|
|
13
13
|
interface DataCardField {
|
|
14
14
|
type?: DataCardFieldTypes;
|
|
15
15
|
title?: string;
|
|
16
|
+
titleIcon?: SVG;
|
|
16
17
|
tooltip?: string;
|
|
17
18
|
value?: string | AnyObj;
|
|
18
19
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type ReactNode, type FC, type PropsWithChildren } from 'react';
|
|
2
|
-
import { OtherStatus } from '@/types';
|
|
2
|
+
import { OtherStatus, SVG } from '@/types';
|
|
3
3
|
import { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes } from './data-card-fields';
|
|
4
4
|
interface DataCardProps extends PropsWithChildren {
|
|
5
5
|
title?: string;
|
|
6
6
|
titleBadge?: string | number | OtherStatus.Loading;
|
|
7
|
+
titleIcon?: SVG;
|
|
7
8
|
description?: string;
|
|
8
9
|
action?: ReactNode | (() => ReactNode);
|
|
9
10
|
withExtend?: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { type FC, type ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, type FC, type ReactNode } from 'react';
|
|
2
2
|
import type { SVG } from '@/types';
|
|
3
3
|
import { type ButtonProps } from '@/components/button';
|
|
4
4
|
interface DrawerHeaderProps {
|
|
5
5
|
onClose: () => void;
|
|
6
|
+
width?: CSSProperties['width'];
|
|
6
7
|
icons?: SVG[];
|
|
7
8
|
iconSrcs?: string[];
|
|
8
9
|
title?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode, type FC } from 'react';
|
|
1
|
+
import { type ReactNode, type FC, CSSProperties } from 'react';
|
|
2
2
|
import { DrawerHeader, DrawerHeaderProps } from './drawer-header';
|
|
3
3
|
import { DrawerFooter, DrawerFooterProps } from './drawer-footer';
|
|
4
4
|
interface DrawerProps {
|
|
@@ -6,7 +6,7 @@ interface DrawerProps {
|
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
closeOnEscape?: boolean;
|
|
8
8
|
position?: 'right' | 'left';
|
|
9
|
-
width?:
|
|
9
|
+
width?: CSSProperties['width'];
|
|
10
10
|
children: ReactNode;
|
|
11
11
|
header: Omit<DrawerHeaderProps, 'onClose'>;
|
|
12
12
|
footer: DrawerFooterProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode } from 'react';
|
|
1
|
+
import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode, CSSProperties } from 'react';
|
|
2
2
|
import { DefaultTheme } from 'styled-components';
|
|
3
3
|
interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4
4
|
children?: ReactNode;
|
|
@@ -9,6 +9,7 @@ interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HT
|
|
|
9
9
|
family?: 'primary' | 'secondary';
|
|
10
10
|
opacity?: number;
|
|
11
11
|
decoration?: string;
|
|
12
|
+
transform?: CSSProperties['textTransform'];
|
|
12
13
|
}
|
|
13
14
|
declare const getLinksFromText: (text: string) => {
|
|
14
15
|
original: string;
|
package/lib/components.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { B as Button } from './index-
|
|
2
|
-
export { A as AutocompleteInput, a as Badge, a9 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, a8 as FlexColumn, a7 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, ac as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, ab 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, ad as TableContainer, ae as TableTitleWrap, af as TableWrap, Z as Tag, _ as Text, a2 as TextArea, a3 as Toggle, T as ToggleCodeComponent, a4 as Tooltip, a5 as TraceLoader, aa as VerticalScroll, a6 as WarningModal, $ as getLinksFromText, a0 as getStrongsFromText, a1 as renderText } from './index-
|
|
3
|
-
export { C as CancelWarning, D as DeleteWarning } from './index-
|
|
1
|
+
import { B as Button } from './index-c8b542d8.js';
|
|
2
|
+
export { A as AutocompleteInput, a as Badge, a9 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, a8 as FlexColumn, a7 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, ac as ModalBody, z as MonitorsCheckboxes, G as MonitorsIcons, N as NavigationButtons, J as NoDataFound, L as NotificationNote, ab 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, ad as TableContainer, ae as TableTitleWrap, af as TableWrap, Z as Tag, _ as Text, a2 as TextArea, a3 as Toggle, T as ToggleCodeComponent, a4 as Tooltip, a5 as TraceLoader, aa as VerticalScroll, a6 as WarningModal, $ as getLinksFromText, a0 as getStrongsFromText, a1 as renderText } from './index-c8b542d8.js';
|
|
3
|
+
export { C as CancelWarning, D as DeleteWarning } from './index-a3c0cecd.js';
|
|
4
4
|
import React, { createContext, Component, createElement } from 'react';
|
|
5
|
-
import { T as Theme } from './index-
|
|
5
|
+
import { T as Theme } from './index-89edd01d.js';
|
|
6
6
|
import 'styled-components';
|
|
7
|
-
import './index-
|
|
7
|
+
import './index-d8fb5fed.js';
|
|
8
8
|
import './types.js';
|
|
9
9
|
import './index-5e5f7bda.js';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
10
|
+
import './index-9475009f.js';
|
|
11
|
+
import './index-f18c8530.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './useTransition-
|
|
13
|
+
import './useTransition-159c9af8.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-89edd01d.js';
|
|
2
2
|
export { D as DESTINATION_CATEGORIES } from './index-1cb4f9e2.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './types.js';
|
|
@@ -13,6 +13,7 @@ interface SpanProps {
|
|
|
13
13
|
isOpen?: boolean;
|
|
14
14
|
withToggle?: boolean;
|
|
15
15
|
onToggleOpen?: () => void;
|
|
16
|
+
onSelect: () => void;
|
|
16
17
|
}
|
|
17
18
|
interface RecursiveSpansProps {
|
|
18
19
|
spans: TraceSpan[];
|
|
@@ -26,6 +27,10 @@ interface RecursiveSpansProps {
|
|
|
26
27
|
value: string[];
|
|
27
28
|
set: React.Dispatch<React.SetStateAction<string[]>>;
|
|
28
29
|
};
|
|
30
|
+
selectedSpanState: {
|
|
31
|
+
value: TraceSpan | null;
|
|
32
|
+
set: React.Dispatch<React.SetStateAction<TraceSpan | null>>;
|
|
33
|
+
};
|
|
29
34
|
}
|
|
30
35
|
export declare const LEFT_MAX_WIDTH = 370;
|
|
31
36
|
declare const Span: FC<SpanProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { TraceProcess, type TraceSpan } from '@/types';
|
|
3
|
+
interface SpanDrawerProps {
|
|
4
|
+
span: TraceSpan;
|
|
5
|
+
process?: TraceProcess;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const SpanDrawer: FC<SpanDrawerProps>;
|
|
9
|
+
export { SpanDrawer, type SpanDrawerProps };
|