@odigos/ui-kit 0.0.25 → 0.0.27

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 (30) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/components.js +8 -8
  3. package/lib/constants/strings/index.d.ts +9 -4
  4. package/lib/constants.js +3 -3
  5. package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +1 -1
  6. package/lib/containers/destination-modal/index.d.ts +0 -1
  7. package/lib/containers/destination-selection-form/index.d.ts +1 -2
  8. package/lib/containers/setup-summary/index.d.ts +1 -0
  9. package/lib/containers.js +162 -116
  10. package/lib/functions.js +4 -4
  11. package/lib/hooks.js +5 -5
  12. package/lib/icons.js +1 -1
  13. package/lib/{index-BOkleuyi.js → index-BfatCMWq.js} +4 -4
  14. package/lib/{index-C0N2DFBu.js → index-CFnxjzaW.js} +1 -1
  15. package/lib/{index-C2m4uddS.js → index-CJs4RDHU.js} +1 -1
  16. package/lib/{index-HOKGoci6.js → index-CTgLYGo-.js} +11 -6
  17. package/lib/{index-CK8tITRA.js → index-DMXaEyAB.js} +27 -13
  18. package/lib/{index-CTdoDQzG.js → index-DlCB8lqz.js} +2 -2
  19. package/lib/{index-DE7A6Q_i.js → index-KyiD2AtF.js} +3 -3
  20. package/lib/{index-CYUrArTm.js → index-QaNawEGJ.js} +4 -4
  21. package/lib/mock-data/sources/index.d.ts +1 -1
  22. package/lib/snippets.js +7 -7
  23. package/lib/store/useSetupStore.d.ts +4 -0
  24. package/lib/store.js +1 -1
  25. package/lib/theme.js +1 -1
  26. package/lib/types/destinations/index.d.ts +1 -1
  27. package/lib/types/sources/index.d.ts +1 -1
  28. package/lib/{useSourceSelectionFormData-Bxm0NBIy.js → useSourceSelectionFormData-DAxuVELF.js} +4 -4
  29. package/lib/{useTransition-DvT5YNul.js → useTransition-BSKilkmZ.js} +2 -2
  30. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.27](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.26...ui-kit-v0.0.27) (2025-05-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * checkbox for already configured destinations ([#117](https://github.com/odigos-io/ui-kit/issues/117)) ([1ec9ee7](https://github.com/odigos-io/ui-kit/commit/1ec9ee7b10c3fcc5ab258b5e6fdf5c0ff7b53af8))
9
+ * remove dest in setup ([#116](https://github.com/odigos-io/ui-kit/issues/116)) ([2c346c0](https://github.com/odigos-io/ui-kit/commit/2c346c02984a90bbf974cc8adb95b124e66861e8))
10
+
11
+ ## [0.0.26](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.25...ui-kit-v0.0.26) (2025-05-15)
12
+
13
+
14
+ ### Features
15
+
16
+ * add already-configured destinations to the destinations list during setup ([#109](https://github.com/odigos-io/ui-kit/issues/109)) ([a8baf38](https://github.com/odigos-io/ui-kit/commit/a8baf3883575303da2bc0c540494f367bcafab5c))
17
+ * rename streamNames to dataStreamNames across the codebase ([#110](https://github.com/odigos-io/ui-kit/issues/110)) ([b2a0133](https://github.com/odigos-io/ui-kit/commit/b2a01334fe60e0cf04fd68ba86d2cbc9959d840e))
18
+ * show data-stream name in setup-summary ([#108](https://github.com/odigos-io/ui-kit/issues/108)) ([5e34626](https://github.com/odigos-io/ui-kit/commit/5e34626c283fca52590d994e2c55f59854e8a56c))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * update multi-source selection logic to include `selected=false` ([#107](https://github.com/odigos-io/ui-kit/issues/107)) ([8075d29](https://github.com/odigos-io/ui-kit/commit/8075d2985cdc6c11a425d3a8f8a11127429634f0))
24
+
3
25
  ## [0.0.25](https://github.com/odigos-io/ui-kit/compare/ui-kit-v0.0.24...ui-kit-v0.0.25) (2025-05-14)
4
26
 
5
27
 
package/lib/components.js CHANGED
@@ -1,19 +1,19 @@
1
- import { B as Button } from './index-CYUrArTm.js';
2
- export { a as AutocompleteInput, b as Badge, a1 as CenterThis, C as Checkbox, c as Code, d as ConditionDetails, D as DataCard, f as DataCardFieldTypes, e as DataCardFields, g as DataTab, h as Divider, i as DocsButton, j as Drawer, l as DrawerFooter, k as DrawerHeader, m as Dropdown, E as ExtendArrow, F as FadeLoader, n as FieldError, o as FieldLabel, a0 as FlexColumn, $ as FlexRow, H as Header, I as IconButton, p as IconGroup, q as IconTitleBadge, r as IconWrapped, s as IconsNav, t as ImageControlled, u as Input, v as InputList, w as InputTable, x as InteractiveTable, K as KeyValueInputsList, M as Modal, a4 as ModalBody, y as MonitorsCheckboxes, z as MonitorsIcons, N as NavigationButtons, G as NoDataFound, J as NotificationNote, a3 as Overlay, S as ScrollX, L as SectionTitle, O as Segment, P as SelectionButton, Q as SkeletonLoader, R as Status, U as Stepper, a5 as TableContainer, a6 as TableTitleWrap, a7 as TableWrap, V as Text, W as TextArea, X as Toggle, T as ToggleCodeComponent, Y as Tooltip, Z as TraceLoader, a2 as VerticalScroll, _ as WarningModal } from './index-CYUrArTm.js';
3
- export { C as CancelWarning, D as DeleteWarning } from './index-CTdoDQzG.js';
1
+ import { B as Button } from './index-QaNawEGJ.js';
2
+ export { a as AutocompleteInput, b as Badge, a1 as CenterThis, C as Checkbox, c as Code, d as ConditionDetails, D as DataCard, f as DataCardFieldTypes, e as DataCardFields, g as DataTab, h as Divider, i as DocsButton, j as Drawer, l as DrawerFooter, k as DrawerHeader, m as Dropdown, E as ExtendArrow, F as FadeLoader, n as FieldError, o as FieldLabel, a0 as FlexColumn, $ as FlexRow, H as Header, I as IconButton, p as IconGroup, q as IconTitleBadge, r as IconWrapped, s as IconsNav, t as ImageControlled, u as Input, v as InputList, w as InputTable, x as InteractiveTable, K as KeyValueInputsList, M as Modal, a4 as ModalBody, y as MonitorsCheckboxes, z as MonitorsIcons, N as NavigationButtons, G as NoDataFound, J as NotificationNote, a3 as Overlay, S as ScrollX, L as SectionTitle, O as Segment, P as SelectionButton, Q as SkeletonLoader, R as Status, U as Stepper, a5 as TableContainer, a6 as TableTitleWrap, a7 as TableWrap, V as Text, W as TextArea, X as Toggle, T as ToggleCodeComponent, Y as Tooltip, Z as TraceLoader, a2 as VerticalScroll, _ as WarningModal } from './index-QaNawEGJ.js';
3
+ export { C as CancelWarning, D as DeleteWarning } from './index-DlCB8lqz.js';
4
4
  import React, { Component, createElement, createContext } from 'react';
5
5
  import Theme from './theme.js';
6
6
  import 'styled-components';
7
7
  import './index-BJxaoI0G.js';
8
8
  import './types.js';
9
9
  import './index-BZS1ijMm.js';
10
- import './index-HOKGoci6.js';
11
- import './index-C0N2DFBu.js';
10
+ import './index-CTgLYGo-.js';
11
+ import './index-CFnxjzaW.js';
12
12
  import './index-DGel4E-Z.js';
13
- import './index-CK8tITRA.js';
14
- import './index-C2m4uddS.js';
13
+ import './index-DMXaEyAB.js';
14
+ import './index-CJs4RDHU.js';
15
15
  import './index-IKusBlIE.js';
16
- import './useTransition-DvT5YNul.js';
16
+ import './useTransition-BSKilkmZ.js';
17
17
  import 'react-dom';
18
18
 
19
19
  const ErrorBoundaryContext = createContext(null);
@@ -14,6 +14,13 @@ export declare const DISPLAY_TITLES: {
14
14
  KIND: string;
15
15
  CONNECTION: string;
16
16
  CONNECTIONS: string;
17
+ DATA_STREAM: string;
18
+ DATA_STREAMS: string;
19
+ STREAM_NAME: string;
20
+ NAME_YOUR_STREAM: string;
21
+ NAME_YOUR_STREAM_PLACEHOLDER: string;
22
+ STREAM_DESCRIPTION: string;
23
+ STREAM_CONFIRM: string;
17
24
  ACTION: string;
18
25
  ACTIONS: string;
19
26
  ADD_ACTION: string;
@@ -42,6 +49,7 @@ export declare const DISPLAY_TITLES: {
42
49
  NO_SOURCES_NAMESPACE: string;
43
50
  TRY_SEARCH_OR_OTHER_NAMESPACE: string;
44
51
  PLEASE_MAKE_SURE_UNIGNORED_NAMESPACES: string;
52
+ INSTALLATION: string;
45
53
  SUMMARY: string;
46
54
  TYPE: string;
47
55
  NOTES: string;
@@ -59,10 +67,6 @@ export declare const DISPLAY_TITLES: {
59
67
  DETECTED_CONTAINERS_DESCRIPTION: string;
60
68
  CONTAINER_NAME: string;
61
69
  FILTERED_COUNT_TOOLTIP: string;
62
- STREAM_NAME: string;
63
- STREAM_NAME_PLACEHOLDER: string;
64
- STREAM_DESCRIPTION: string;
65
- STREAM_CONFIRM: string;
66
70
  SEARCH_NAMESPACES: string;
67
71
  SHOW_SELECTED_ONLY: string;
68
72
  TO_COLLECT_OTEL_DATA: string;
@@ -75,6 +79,7 @@ export declare const BUTTON_TEXTS: {
75
79
  ADD: string;
76
80
  ADD_NEW: string;
77
81
  NEW: string;
82
+ SELECT: string;
78
83
  CREATE: string;
79
84
  UPDATE: string;
80
85
  EDIT: string;
package/lib/constants.js CHANGED
@@ -1,11 +1,11 @@
1
- export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, D as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, M as MONITORS_OPTIONS } from './index-HOKGoci6.js';
1
+ export { A as ACTION_OPTIONS, B as BUTTON_TEXTS, D as DISPLAY_TITLES, F as FORM_ALERTS, I as INSTRUMENTATION_RULE_OPTIONS, M as MONITORS_OPTIONS } from './index-CTgLYGo-.js';
2
2
  export { D as DESTINATION_CATEGORIES } from './index-Dqief9td.js';
3
3
  import './types.js';
4
- import './index-C0N2DFBu.js';
4
+ import './index-CFnxjzaW.js';
5
5
  import './index-DGel4E-Z.js';
6
6
  import 'react';
7
7
  import './theme.js';
8
- import './index-CK8tITRA.js';
8
+ import './index-DMXaEyAB.js';
9
9
  import 'styled-components';
10
10
 
11
11
  const TOKEN_ABOUT_TO_EXPIRE = 604800000; // 7 days in milliseconds
@@ -1,6 +1,6 @@
1
1
  import { type FC } from 'react';
2
2
  interface DataStreamSelectProps {
3
- onClickNewStream: () => void;
3
+ onClickNewDataStream: () => void;
4
4
  }
5
5
  declare const DataStreamSelect: FC<DataStreamSelectProps>;
6
6
  export { DataStreamSelect, type DataStreamSelectProps };
@@ -5,7 +5,6 @@ interface DestinationModalProps {
5
5
  categories: DestinationCategories;
6
6
  potentialDestinations: DestinationOption[];
7
7
  createDestination: (destination: DestinationFormData) => void;
8
- updateDestination: (id: string, destination: DestinationFormData) => void;
9
8
  testConnection: TestConnectionFunc;
10
9
  }
11
10
  declare const DestinationModal: FC<DestinationModalProps>;
@@ -1,11 +1,10 @@
1
1
  import { type FC } from 'react';
2
- import { type TestConnectionFunc, type DestinationCategories, type DestinationOption, type DestinationFormData } from '@/types';
2
+ import { type TestConnectionFunc, type DestinationCategories, type DestinationOption } from '@/types';
3
3
  interface DestinationSelectionFormProps {
4
4
  isSourcesListEmpty: boolean;
5
5
  goToSources: () => void;
6
6
  categories: DestinationCategories;
7
7
  potentialDestinations: DestinationOption[];
8
- updateDestination: (id: string, destination: DestinationFormData) => void;
9
8
  testConnection: TestConnectionFunc;
10
9
  onClickSummary?: () => void;
11
10
  }
@@ -1,5 +1,6 @@
1
1
  import { type FC } from 'react';
2
2
  interface SetupSummaryProps {
3
+ onEditStream: () => void;
3
4
  onEditSources: () => void;
4
5
  onEditDestinations: () => void;
5
6
  }