@odigos/ui-kit 0.0.79 → 0.0.81

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/components/styled.d.ts +4 -2
  3. package/lib/components/text/index.d.ts +12 -1
  4. package/lib/components.js +8 -8
  5. package/lib/constants.js +1 -1
  6. package/lib/containers/data-flow-actions-menu/index.d.ts +1 -0
  7. package/lib/containers/data-flow-actions-menu/search/index.d.ts +3 -1
  8. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +1 -1
  9. package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -1
  10. package/lib/containers/dropdowns/index.d.ts +0 -2
  11. package/lib/containers/index.d.ts +0 -3
  12. package/lib/containers.js +266 -393
  13. package/lib/functions.js +29 -7
  14. package/lib/hooks.js +3 -3
  15. package/lib/icons.js +7 -6
  16. package/lib/index-1b05e560.js +11 -0
  17. package/lib/{index-6034549d.js → index-4dfaeaab.js} +1 -1
  18. package/lib/{index-845f2100.js → index-50d05c9b.js} +2 -2
  19. package/lib/{index-b9d7a992.js → index-6bb0eb56.js} +2 -9
  20. package/lib/{index-19b8f8bc.js → index-72089d6e.js} +1 -1
  21. package/lib/{index-90ccd949.js → index-86030474.js} +1 -1
  22. package/lib/{index-ba4f9a19.js → index-8b736e84.js} +4 -25
  23. package/lib/{index-b674f184.js → index-ae53c3d8.js} +76 -39
  24. package/lib/{index-c8aab9c4.js → index-c1a8e92c.js} +1 -1
  25. package/lib/{index-a067d6e9.js → index-f22371cb.js} +2 -2
  26. package/lib/snippets.js +7 -7
  27. package/lib/store/useFilterStore.d.ts +1 -1
  28. package/lib/store.js +1 -1
  29. package/lib/theme.js +1 -1
  30. package/lib/types/index.d.ts +0 -1
  31. package/lib/{useTransition-807be8bc.js → useTransition-cac1649d.js} +2 -2
  32. package/package.json +2 -2
  33. package/lib/containers/compute-platform-select/index.d.ts +0 -10
  34. package/lib/containers/compute-platforms/index.d.ts +0 -8
  35. package/lib/containers/compute-platforms-actions-menu/index.d.ts +0 -7
  36. package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +0 -15
  37. package/lib/containers/dropdowns/connection-type-dropdown/index.d.ts +0 -15
  38. package/lib/types/connection/index.d.ts +0 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.81](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.80...ui-kit-v0.0.81) (2025-08-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * remove compute platform components ([#316](https://github.com/odigos-io/ui-kit/issues/316)) ([2dbe328](https://github.com/odigos-io/ui-kit/commit/2dbe3289f7cdbfca74fe7cfc970817baffa5d6e8))
9
+
10
+ ## [0.0.80](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.79...ui-kit-v0.0.80) (2025-08-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * align no-data to center ([#315](https://github.com/odigos-io/ui-kit/issues/315)) ([158e3f8](https://github.com/odigos-io/ui-kit/commit/158e3f831a1edc1d8ca6547c1901cf639db0314c))
16
+ * enhance tooltip rendering to support strong text formatting ([#305](https://github.com/odigos-io/ui-kit/issues/305)) ([f6e0e20](https://github.com/odigos-io/ui-kit/commit/f6e0e20120dbdaef3ce98d1471e0c18d2a8fe273))
17
+ * **search:** integrate search results into action, destination, instrumentation rule, and source tables ([#314](https://github.com/odigos-io/ui-kit/issues/314)) ([c3d6f8c](https://github.com/odigos-io/ui-kit/commit/c3d6f8c93afcc74dd87aef31ca533799325de9e7))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **search:** state management for search input and results display ([#308](https://github.com/odigos-io/ui-kit/issues/308)) ([68a9006](https://github.com/odigos-io/ui-kit/commit/68a9006a9c9346904f071bff9f54167f22176d0a))
23
+ * **source-drawer:** prevent fetching source if already fetched and reset state on delete/update ([#307](https://github.com/odigos-io/ui-kit/issues/307)) ([094d791](https://github.com/odigos-io/ui-kit/commit/094d79170a8a6b717e7837ab20fb306655c8e921))
24
+
3
25
  ## [0.0.79](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.78...ui-kit-v0.0.79) (2025-08-06)
4
26
 
5
27
 
@@ -11,12 +11,14 @@ export declare const FlexColumn: import("styled-components/dist/types").IStyledC
11
11
  $justifyContent?: CSSProperties["justifyContent"];
12
12
  $wrap?: CSSProperties["flexWrap"];
13
13
  }>> & string;
14
- export declare const CenterThis: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap" | "$alignItems" | "$justifyContent" | "$wrap"> & {
14
+ export declare const CenterThis: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$gap" | "$alignItems" | "$justifyContent" | "$wrap"> & {
15
15
  $gap?: number;
16
16
  $alignItems?: CSSProperties["alignItems"];
17
17
  $justifyContent?: CSSProperties["justifyContent"];
18
18
  $wrap?: CSSProperties["flexWrap"];
19
- }, never>> & string;
19
+ }, {
20
+ $height?: CSSProperties["height"];
21
+ }>> & string;
20
22
  export declare const VerticalScroll: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
23
  export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
22
24
  export declare const ModalBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
@@ -1,4 +1,5 @@
1
1
  import { type DetailedHTMLProps, type FC, type HTMLAttributes, type ReactNode } from 'react';
2
+ import { DefaultTheme } from 'styled-components';
2
3
  interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
3
4
  children?: ReactNode;
4
5
  color?: string;
@@ -9,5 +10,15 @@ interface TextProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HT
9
10
  opacity?: number;
10
11
  decoration?: string;
11
12
  }
13
+ declare const getLinksFromText: (text: string) => {
14
+ original: string;
15
+ href: string;
16
+ label: string;
17
+ }[] | undefined;
18
+ declare const getStrongsFromText: (text: string) => {
19
+ original: string;
20
+ label: string;
21
+ }[] | undefined;
22
+ declare const renderText: (text: string, theme: DefaultTheme) => ReactNode;
12
23
  declare const Text: FC<TextProps>;
13
- export { Text, type TextProps };
24
+ export { Text, type TextProps, getLinksFromText, getStrongsFromText, renderText };
package/lib/components.js CHANGED
@@ -1,16 +1,16 @@
1
- import { B as Button } from './index-b674f184.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-b674f184.js';
3
- export { C as CancelWarning, D as DeleteWarning } from './index-845f2100.js';
1
+ import { B as Button } from './index-ae53c3d8.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-ae53c3d8.js';
3
+ export { C as CancelWarning, D as DeleteWarning } from './index-50d05c9b.js';
4
4
  import React, { createContext, Component, createElement } from 'react';
5
- import { T as Theme } from './index-90ccd949.js';
5
+ import { T as Theme } from './index-86030474.js';
6
6
  import 'styled-components';
7
- import './index-19b8f8bc.js';
7
+ import './index-72089d6e.js';
8
8
  import './types.js';
9
9
  import './index-5e5f7bda.js';
10
- import './index-a067d6e9.js';
11
- import './index-6034549d.js';
10
+ import './index-f22371cb.js';
11
+ import './index-4dfaeaab.js';
12
12
  import 'react-dom';
13
- import './useTransition-807be8bc.js';
13
+ import './useTransition-cac1649d.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-90ccd949.js';
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-86030474.js';
2
2
  export { D as DESTINATION_CATEGORIES } from './index-1cb4f9e2.js';
3
3
  import 'react';
4
4
  import './types.js';
@@ -3,6 +3,7 @@ import { EntityTypes } from '@/types';
3
3
  import { DataStreamSelectProps } from './data-stream-select';
4
4
  interface DataFlowActionsMenuProps extends DataStreamSelectProps {
5
5
  addEntity?: EntityTypes;
6
+ preventSearchPopup?: boolean;
6
7
  }
7
8
  declare const DataFlowActionsMenu: React.FC<DataFlowActionsMenuProps>;
8
9
  export { DataFlowActionsMenu, type DataFlowActionsMenuProps };
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
- type SearchProps = object;
2
+ interface SearchProps {
3
+ preventPopup?: boolean;
4
+ }
3
5
  export declare const Search: React.FC<SearchProps>;
4
6
  export {};
@@ -16,7 +16,7 @@ export declare const buildSearchResults: ({ instrumentationRules, sources, actio
16
16
  entities: InstrumentationRule[] | Source[] | Action[] | Destination[];
17
17
  }[];
18
18
  searchResults: {
19
- entities: Source[] | Destination[] | Action[] | InstrumentationRule[];
19
+ entities: Action[] | Destination[] | Source[] | InstrumentationRule[];
20
20
  category: Category;
21
21
  label: string;
22
22
  count: number;
@@ -1,6 +1,5 @@
1
1
  import { type FC } from 'react';
2
2
  interface Props {
3
- searchText: string;
4
3
  onClose: () => void;
5
4
  }
6
5
  export declare const SearchResults: FC<Props>;
@@ -1,6 +1,4 @@
1
1
  export * from './condition-dropdown';
2
- export * from './connection-status-dropdown';
3
- export * from './connection-type-dropdown';
4
2
  export * from './error-dropdown';
5
3
  export * from './language-dropdown';
6
4
  export * from './monitor-dropdown';
@@ -3,9 +3,6 @@ export * from './action-form';
3
3
  export * from './action-modal';
4
4
  export * from './action-table';
5
5
  export * from './await-pipeline';
6
- export * from './compute-platform-select';
7
- export * from './compute-platforms';
8
- export * from './compute-platforms-actions-menu';
9
6
  export * from './data-flow';
10
7
  export * from './data-flow-actions-menu';
11
8
  export * from './data-stream-drawer';