@odigos/ui-kit 0.0.238 → 0.0.239

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 (98) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/chunks/{index-D6SlbWIi.js → index-B5PgIL40.js} +1 -1
  3. package/lib/chunks/index-Dy4pkeq6.js +145 -0
  4. package/lib/chunks/index-uXyrp4Xe.js +41 -0
  5. package/lib/chunks/ui-components-BPdnIOmj.js +2248 -0
  6. package/lib/components/_v2/cards/data-card/index.d.ts +6 -1
  7. package/lib/components/_v2/drawer/header/index.d.ts +2 -0
  8. package/lib/components/_v2/drawer/index.d.ts +1 -1
  9. package/lib/components/_v2/drop-data/index.d.ts +1 -2
  10. package/lib/components/_v2/icon-group/index.d.ts +10 -0
  11. package/lib/components/_v2/index.d.ts +1 -0
  12. package/lib/components/_v2/tag/index.d.ts +10 -0
  13. package/lib/components/_v2/typography/index.d.ts +2 -0
  14. package/lib/components/v2.js +1 -1
  15. package/lib/components.js +1 -1
  16. package/lib/constants/sources/index.d.ts +5 -0
  17. package/lib/constants/strings/index.d.ts +89 -0
  18. package/lib/constants.js +1 -1
  19. package/lib/containers/_v2/_drawers/edit-source-drawer/common/index.d.ts +1 -0
  20. package/lib/containers/_v2/_drawers/edit-source-drawer/common/pods-header.d.ts +8 -0
  21. package/lib/containers/_v2/_drawers/edit-source-drawer/helpers.d.ts +12 -0
  22. package/lib/containers/_v2/_drawers/edit-source-drawer/index.d.ts +19 -0
  23. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/distro-override.d.ts +11 -0
  24. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/index.d.ts +7 -0
  25. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/popup-form.d.ts +15 -0
  26. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/containers-card/runtime-override.d.ts +10 -0
  27. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/health-card.d.ts +6 -0
  28. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/index.d.ts +10 -0
  29. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/main-card.d.ts +6 -0
  30. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/index.d.ts +6 -0
  31. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/container-row.d.ts +9 -0
  32. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/helpers.d.ts +16 -0
  33. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/index.d.ts +12 -0
  34. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/pod-row.d.ts +8 -0
  35. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/process-row.d.ts +10 -0
  36. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/row-header.d.ts +13 -0
  37. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/pods-card/pods-list/types.d.ts +18 -0
  38. package/lib/containers/_v2/_drawers/edit-source-drawer/overview/statuses-card.d.ts +8 -0
  39. package/lib/containers/_v2/_drawers/edit-source-drawer/peers/index.d.ts +11 -0
  40. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/index.d.ts +7 -0
  41. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/containers-card/process-card.d.ts +3 -0
  42. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/debug-commands.d.ts +6 -0
  43. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/index.d.ts +7 -0
  44. package/lib/containers/_v2/_drawers/edit-source-drawer/pods/pod-card.d.ts +8 -0
  45. package/lib/containers/_v2/_drawers/index.d.ts +1 -0
  46. package/lib/containers/_v2/_forms/edit-source-form/index.d.ts +2 -0
  47. package/lib/containers/_v2/_forms/index.d.ts +1 -0
  48. package/lib/containers/_v2/_modals/index.d.ts +1 -0
  49. package/lib/containers/_v2/_modals/onboarding-done/background.d.ts +5 -0
  50. package/lib/containers/_v2/_modals/onboarding-done/index.d.ts +3 -0
  51. package/lib/containers/_v2/overview/drawers/index.d.ts +1 -3
  52. package/lib/containers/source-drawer/index.d.ts +1 -1
  53. package/lib/containers/v2.js +226 -121
  54. package/lib/containers.js +49 -19
  55. package/lib/contexts/action-form-context.d.ts +0 -1
  56. package/lib/contexts/destination-form-context.d.ts +0 -1
  57. package/lib/contexts/index.d.ts +1 -0
  58. package/lib/contexts/rule-form-context.d.ts +0 -1
  59. package/lib/contexts/source-edit-form-context.d.ts +17 -0
  60. package/lib/contexts.js +1 -1
  61. package/lib/functions/get-containers-icons/index.d.ts +3 -1
  62. package/lib/functions/get-virtual-service-icon/index.d.ts +1 -1
  63. package/lib/functions/get-workload-id/index.d.ts +2 -2
  64. package/lib/functions/index.d.ts +2 -0
  65. package/lib/functions/is-pod-injected-with-agent/index.d.ts +3 -0
  66. package/lib/functions/map-desired-status-to-condition-status/index.d.ts +2 -0
  67. package/lib/functions.js +1 -1
  68. package/lib/hooks.js +1 -1
  69. package/lib/icons/brand/index.d.ts +3 -0
  70. package/lib/icons/brand/odigos-logo-text-colored-central/index.d.ts +2 -0
  71. package/lib/icons/brand/odigos-logo-text-colored-community/index.d.ts +2 -0
  72. package/lib/icons/brand/odigos-logo-text-colored-enterprise/index.d.ts +2 -0
  73. package/lib/icons.js +1 -1
  74. package/lib/mock-data/profiling/index.d.ts +1 -1
  75. package/lib/mock-data/service-map/index.d.ts +1 -1
  76. package/lib/mock-data/sources/index.d.ts +1 -1
  77. package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +2 -0
  78. package/lib/snippets/_v2/rich-title/index.d.ts +5 -0
  79. package/lib/snippets/_v2/wide-drawer/index.d.ts +7 -1
  80. package/lib/snippets/source-container/index.d.ts +1 -2
  81. package/lib/snippets/v2.js +1 -1
  82. package/lib/snippets.js +1 -1
  83. package/lib/store.js +1 -1
  84. package/lib/theme.js +1 -1
  85. package/lib/types/common/index.d.ts +28 -0
  86. package/lib/types/service-map/index.d.ts +2 -2
  87. package/lib/types/sources/index.d.ts +7 -3
  88. package/lib/types/workload/index.d.ts +178 -1
  89. package/lib/types.js +1 -1
  90. package/lib/visuals.js +1 -1
  91. package/package.json +1 -1
  92. package/lib/chunks/index-CCaTS6aq.js +0 -145
  93. package/lib/chunks/index-ChkHWnzu.js +0 -77
  94. package/lib/chunks/ui-components-rpRyPe3l.js +0 -2235
  95. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flame-graph-canvas.d.ts +0 -0
  96. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/flamebearer.d.ts +0 -0
  97. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/index.d.ts +0 -0
  98. /package/lib/containers/{source-drawer → _v2/_drawers/edit-source-drawer}/profiling/symbol-table.d.ts +0 -0
@@ -2,4 +2,5 @@ export * from './add-action-form';
2
2
  export * from './add-destination-form';
3
3
  export * from './add-rule-form';
4
4
  export * from './data-stream-form';
5
+ export * from './edit-source-form';
5
6
  export * from './sampling-rule-form';
@@ -1,3 +1,4 @@
1
1
  export * from './add-data-stream-modal';
2
2
  export * from './edit-data-stream-modal';
3
+ export * from './onboarding-done';
3
4
  export * from './sampling-onboarding-modal';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface BackgroundProps {
3
+ scale?: number;
4
+ }
5
+ export declare const Background: FC<BackgroundProps>;
@@ -0,0 +1,3 @@
1
+ import { type FC } from 'react';
2
+ export declare const ONBOARDING_DONE_MODAL_ID = "onboarding-done";
3
+ export declare const OnboardingDone: FC;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type CreateActionFunc, type CreateDestinationFunc, type CreateInstrumentationRuleFunc, type DeleteActionFunc, type DeleteDestinationFunc, type DeleteInstrumentationRuleFunc, type EffectiveConfig, type EnableProfilingFunc, type FetchNamespacesWithWorkloads, type FetchPeerSourcesFunc, type FetchProfilingSlotsFunc, type FetchSourceByIdFunc, type FetchSourceDescribeFunc, type FetchSourceLibrariesFunc, type FetchSourceProfilingFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type PersistSourcesFunc, type RecoverFromRollbackFunc, type RestartPodFunc, type RestartWorkloadsFunc, type TestConnectionFunc, type UpdateActionFunc, type UpdateDestinationFunc, type UpdateInstrumentationRuleFunc, type UpdateSourceFunc } from '@/types';
2
+ import { type CreateActionFunc, type CreateDestinationFunc, type CreateInstrumentationRuleFunc, type DeleteActionFunc, type DeleteDestinationFunc, type DeleteInstrumentationRuleFunc, type EffectiveConfig, type EnableProfilingFunc, type FetchNamespacesWithWorkloads, type FetchPeerSourcesFunc, type FetchProfilingSlotsFunc, type FetchSourceByIdFunc, type FetchSourceProfilingFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type PersistSourcesFunc, type RecoverFromRollbackFunc, type RestartPodFunc, type RestartWorkloadsFunc, type TestConnectionFunc, type UpdateActionFunc, type UpdateDestinationFunc, type UpdateInstrumentationRuleFunc, type UpdateSourceFunc } from '@/types';
3
3
  export interface DrawersProps {
4
4
  effectiveConfig: EffectiveConfig;
5
5
  fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
@@ -9,8 +9,6 @@ export interface DrawersProps {
9
9
  recoverFromRollback: RecoverFromRollbackFunc;
10
10
  updateSource: UpdateSourceFunc;
11
11
  fetchSourceById: FetchSourceByIdFunc;
12
- fetchSourceDescribe: FetchSourceDescribeFunc;
13
- fetchSourceLibraries: FetchSourceLibrariesFunc;
14
12
  fetchPeerSources: FetchPeerSourcesFunc;
15
13
  enableProfiling: EnableProfilingFunc;
16
14
  fetchProfilingSlots: FetchProfilingSlotsFunc;
@@ -1,7 +1,7 @@
1
1
  import { type FC } from 'react';
2
2
  import { type DescribeProps } from './describe';
3
3
  import { type LibrariesProps } from './libraries';
4
- import { type ProfilingProps } from './profiling';
4
+ import { type ProfilingProps } from '../_v2/_drawers/edit-source-drawer/profiling';
5
5
  import { type PeerSourcesProps } from './peers';
6
6
  import { type PersistSourcesFunc, type SourceFormData, type WorkloadId, type Source } from '@/types';
7
7
  interface SourceDrawerProps {