@odigos/ui-kit 0.0.291 → 0.0.293

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 (50) hide show
  1. package/CHANGELOG.md +69 -72
  2. package/Makefile +1 -1
  3. package/lib/chunks/{helpers-eTR126Dv.js → helpers-DbT32OSr.js} +1 -1
  4. package/lib/chunks/index-MwonXqI1.js +338 -0
  5. package/lib/chunks/{source-instrument-form-context-opFCr-VF.js → source-instrument-form-context-CmMX5vdq.js} +1 -1
  6. package/lib/chunks/ui-components-Bhz7WgBl.js +2118 -0
  7. package/lib/components/charts/bar-chart/index.d.ts +14 -0
  8. package/lib/components/charts/index.d.ts +1 -0
  9. package/lib/components/index.d.ts +1 -0
  10. package/lib/components/ping/index.d.ts +5 -0
  11. package/lib/components/typography/index.d.ts +1 -0
  12. package/lib/components.js +1 -1
  13. package/lib/constants/strings/index.d.ts +0 -1
  14. package/lib/constants.js +1 -1
  15. package/lib/containers/insights/findings/drawer/helpers.d.ts +3 -9
  16. package/lib/containers/insights/findings/helpers.d.ts +17 -0
  17. package/lib/containers/insights/insights-context.d.ts +0 -20
  18. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/db-access/helpers.d.ts +18 -0
  19. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/db-access/index.d.ts +7 -0
  20. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/db-access/map.d.ts +7 -0
  21. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/db-access/node.d.ts +6 -0
  22. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/db-access/types.d.ts +34 -0
  23. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/histogram.d.ts +7 -0
  24. package/lib/containers/insights/transactions/drawer/baselines/data-drawer/index.d.ts +8 -0
  25. package/lib/containers/insights/transactions/drawer/observations/data-drawer/index.d.ts +8 -0
  26. package/lib/containers/overview/search/builder.d.ts +1 -1
  27. package/lib/containers/pipeline-collectors/general-info/helpers/get-general-text-cards.d.ts +1 -1
  28. package/lib/containers/pipeline-collectors/general-info/index.d.ts +1 -0
  29. package/lib/containers.js +563 -533
  30. package/lib/contexts.js +1 -1
  31. package/lib/functions/safe-json-parse/index.d.ts +1 -1
  32. package/lib/functions.js +1 -1
  33. package/lib/hooks.js +1 -1
  34. package/lib/icons/common/db-icon/index.d.ts +2 -0
  35. package/lib/icons/common/index.d.ts +1 -0
  36. package/lib/icons.js +1 -1
  37. package/lib/snippets/index.d.ts +0 -1
  38. package/lib/snippets.js +1 -1
  39. package/lib/store/index.d.ts +0 -1
  40. package/lib/store.js +1 -1
  41. package/lib/theme.js +1 -1
  42. package/lib/types/insights/index.d.ts +2 -0
  43. package/lib/types.js +1 -1
  44. package/lib/visuals.js +1 -1
  45. package/package.json +1 -1
  46. package/lib/chunks/index-CWNa5Q-H.js +0 -351
  47. package/lib/chunks/ui-components-Bvz84w4Q.js +0 -1981
  48. package/lib/snippets/code-modal/index.d.ts +0 -9
  49. package/lib/snippets/trace-modal/index.d.ts +0 -8
  50. package/lib/store/useDarkMode.d.ts +0 -19
@@ -1,9 +0,0 @@
1
- import { type FC } from 'react';
2
- import { type CodeProps } from '../../components';
3
- export interface CodeModalProps extends Omit<CodeProps, 'language' | 'code'> {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- language?: string | null;
7
- code?: string | null;
8
- }
9
- export declare const CodeModal: FC<CodeModalProps>;
@@ -1,8 +0,0 @@
1
- import { type FC } from 'react';
2
- export interface TraceModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- transactionId?: string | null;
6
- traceId?: string | null;
7
- }
8
- export declare const TraceModal: FC<TraceModalProps>;
@@ -1,19 +0,0 @@
1
- export interface DarkModeState {
2
- darkMode: boolean;
3
- }
4
- export interface DarkModeStateSetters {
5
- setDarkMode: (bool: boolean) => void;
6
- }
7
- export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "setState" | "persist"> & {
8
- setState(partial: (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters> | ((state: DarkModeState & DarkModeStateSetters) => (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters>), replace?: false | undefined): unknown;
9
- setState(state: (DarkModeState & DarkModeStateSetters) | ((state: DarkModeState & DarkModeStateSetters) => DarkModeState & DarkModeStateSetters), replace: true): unknown;
10
- persist: {
11
- setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>) => void;
12
- clearStorage: () => void;
13
- rehydrate: () => Promise<void> | void;
14
- hasHydrated: () => boolean;
15
- onHydrate: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
16
- onFinishHydration: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
17
- getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>;
18
- };
19
- }>;