@odigos/ui-kit 0.0.211 → 0.0.213

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 (79) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/chunks/index-Bh2gKc3b.js +3 -0
  3. package/lib/chunks/ui-components-BliHHDta.js +2388 -0
  4. package/lib/chunks/vendor-C150cdxb.js +1 -0
  5. package/lib/components/_v2/badge/index.d.ts +2 -0
  6. package/lib/components/_v2/cards/section-card/index.d.ts +1 -0
  7. package/lib/components/_v2/checkbox/index.d.ts +5 -1
  8. package/lib/components/_v2/field-message/index.d.ts +1 -0
  9. package/lib/components/_v2/field-title/index.d.ts +2 -0
  10. package/lib/components/_v2/index.d.ts +1 -0
  11. package/lib/components/_v2/input/index.d.ts +4 -3
  12. package/lib/components/_v2/input-list/index.d.ts +5 -3
  13. package/lib/components/_v2/input-table/index.d.ts +5 -3
  14. package/lib/components/_v2/stepper/index.d.ts +11 -0
  15. package/lib/components/_v2/textarea/index.d.ts +4 -3
  16. package/lib/components/_v2/toggle/index.d.ts +5 -1
  17. package/lib/components/styled.d.ts +3 -6
  18. package/lib/components/tooltip/index.d.ts +1 -0
  19. package/lib/components/v2.js +1 -1
  20. package/lib/components.js +1 -1
  21. package/lib/constants/destinations/index.d.ts +5 -0
  22. package/lib/constants/strings/index.d.ts +12 -0
  23. package/lib/constants.js +1 -1
  24. package/lib/containers/_v2/_drawers/add-action-drawer/index.d.ts +2 -2
  25. package/lib/containers/_v2/_drawers/add-destination-drawer/form-column/index.d.ts +4 -7
  26. package/lib/containers/_v2/_drawers/add-destination-drawer/helpers.d.ts +1 -9
  27. package/lib/containers/_v2/_drawers/add-destination-drawer/index.d.ts +10 -5
  28. package/lib/containers/_v2/_drawers/add-destination-drawer/lists-column/index.d.ts +3 -5
  29. package/lib/containers/_v2/_drawers/add-destination-drawer/types.d.ts +1 -6
  30. package/lib/containers/_v2/_drawers/add-rule-drawer/index.d.ts +3 -3
  31. package/lib/containers/_v2/_drawers/add-source-drawer/index.d.ts +7 -5
  32. package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/index.d.ts +2 -1
  33. package/lib/containers/_v2/_drawers/add-source-drawer/namespaces-column/list/index.d.ts +1 -0
  34. package/lib/containers/_v2/_drawers/add-source-drawer/types.d.ts +3 -0
  35. package/lib/containers/_v2/_drawers/add-source-drawer/workloads-column/index.d.ts +2 -1
  36. package/lib/containers/_v2/_forms/add-action-form/context.d.ts +18 -0
  37. package/lib/containers/_v2/_forms/add-action-form/index.d.ts +2 -6
  38. package/lib/containers/_v2/_forms/add-destination-form/context.d.ts +36 -0
  39. package/lib/containers/_v2/_forms/add-destination-form/dynamic-fields/index.d.ts +1 -0
  40. package/lib/containers/_v2/_forms/add-destination-form/index.d.ts +4 -5
  41. package/lib/containers/_v2/_forms/add-rule-form/context.d.ts +18 -0
  42. package/lib/containers/_v2/_forms/add-rule-form/index.d.ts +2 -6
  43. package/lib/containers/_v2/_forms/add-source-form/context.d.ts +21 -0
  44. package/lib/containers/_v2/_forms/add-source-form/index.d.ts +1 -0
  45. package/lib/containers/_v2/_forms/index.d.ts +1 -0
  46. package/lib/containers/_v2/central-connections/index.d.ts +2 -1
  47. package/lib/containers/_v2/index.d.ts +1 -0
  48. package/lib/containers/_v2/onboarding/background/index.d.ts +7 -0
  49. package/lib/containers/_v2/onboarding/get-started/index.d.ts +5 -0
  50. package/lib/containers/_v2/onboarding/index.d.ts +14 -0
  51. package/lib/containers/_v2/onboarding/summary/index.d.ts +12 -0
  52. package/lib/containers/_v2/pipeline-collectors/general-info/yaml-drawer/index.d.ts +1 -1
  53. package/lib/containers/v2.js +91 -30
  54. package/lib/containers.js +131 -131
  55. package/lib/contexts.js +1 -1
  56. package/lib/functions/deep-values/index.d.ts +2 -0
  57. package/lib/functions/index.d.ts +1 -0
  58. package/lib/functions.js +1 -1
  59. package/lib/hooks/useGenericForm.d.ts +2 -0
  60. package/lib/hooks.js +1 -1
  61. package/lib/icons.js +1 -1
  62. package/lib/snippets/_v2/index.d.ts +1 -0
  63. package/lib/snippets/_v2/odigos-logo-text-by-tier/index.d.ts +5 -0
  64. package/lib/snippets/_v2/wide-drawer/column-list-item/index.d.ts +1 -0
  65. package/lib/snippets/_v2/yaml-section-card/index.d.ts +1 -0
  66. package/lib/snippets.js +1 -1
  67. package/lib/store.js +1 -1
  68. package/lib/theme.js +1 -1
  69. package/lib/types/common/index.d.ts +307 -3
  70. package/lib/types/destinations/index.d.ts +9 -8
  71. package/lib/types/snapshot/index.d.ts +4 -4
  72. package/lib/types.js +1 -1
  73. package/lib/visuals.js +1 -1
  74. package/package.json +28 -28
  75. package/lib/chunks/index-BURQQLWb.js +0 -3
  76. package/lib/chunks/ui-components-B5U474B5.js +0 -2387
  77. package/lib/chunks/vendor-D99eCWta.js +0 -1
  78. package/lib/containers/_v2/_drawers/add-action-drawer/helpers.d.ts +0 -7
  79. package/lib/containers/_v2/_drawers/add-rule-drawer/helpers.d.ts +0 -7
@@ -1,3 +1,4 @@
1
1
  export * from './add-action-form';
2
2
  export * from './add-destination-form';
3
3
  export * from './add-rule-form';
4
+ export * from './add-source-form';
@@ -1,5 +1,5 @@
1
1
  import { type FC, type CSSProperties } from 'react';
2
- import { type Connection, type GetEffectiveConfigFunc, type ApplyConfigurationsFunc, type GetAllClusterSnapshots, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type CreateDestinationFunc, type CreateActionFunc, type CreateInstrumentationRuleFunc } from '@/types';
2
+ import { type Connection, type GetEffectiveConfigFunc, type ApplyConfigurationsFunc, type GetAllClusterSnapshots, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type CreateDestinationFunc, type CreateActionFunc, type CreateInstrumentationRuleFunc, TestConnectionFunc } from '@/types';
3
3
  export interface CentralConnectionsProps {
4
4
  tableRowsMaxHeight: CSSProperties['maxHeight'];
5
5
  connections?: Connection[];
@@ -14,6 +14,7 @@ export interface CentralConnectionsProps {
14
14
  persistSources?: PersistSourcesFunc;
15
15
  getDestinationCategories?: GetDestinationCategoriesFunc;
16
16
  getPotentialDestinations?: GetPotentialDestinationsFunc;
17
+ testConnection?: TestConnectionFunc;
17
18
  createDestination?: CreateDestinationFunc;
18
19
  createAction?: CreateActionFunc;
19
20
  createInstrumentationRule?: CreateInstrumentationRuleFunc;
@@ -1,4 +1,5 @@
1
1
  export * from './_drawers';
2
2
  export * from './_forms';
3
3
  export * from './central-connections';
4
+ export * from './onboarding';
4
5
  export * from './pipeline-collectors';
@@ -0,0 +1,7 @@
1
+ import { CSSProperties, type ReactNode, type FC } from 'react';
2
+ export interface BackgroundProps {
3
+ paddingXAxis?: CSSProperties['padding'];
4
+ paddingYAxis?: CSSProperties['padding'];
5
+ children?: ReactNode;
6
+ }
7
+ export declare const Background: FC<BackgroundProps>;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ export interface GetStartedProps {
3
+ onStart: () => void;
4
+ }
5
+ export declare const GetStarted: FC<GetStartedProps>;
@@ -0,0 +1,14 @@
1
+ import { type CSSProperties, type FC } from 'react';
2
+ import { type FetchNamespacesWithWorkloads, type PersistSourcesFunc, type GetDestinationCategoriesFunc, type GetPotentialDestinationsFunc, type TestConnectionFunc, type CreateDestinationFunc } from '@/types';
3
+ export interface OnboardingProps {
4
+ pagePaddingXAxis?: CSSProperties['padding'];
5
+ pagePaddingYAxis?: CSSProperties['padding'];
6
+ fetchNamespacesWithWorkloads: FetchNamespacesWithWorkloads;
7
+ persistSources: PersistSourcesFunc;
8
+ getDestinationCategories: GetDestinationCategoriesFunc;
9
+ getPotentialDestinations: GetPotentialDestinationsFunc;
10
+ testConnection: TestConnectionFunc;
11
+ createDestination: CreateDestinationFunc;
12
+ onDone: () => void;
13
+ }
14
+ export declare const Onboarding: FC<OnboardingProps>;
@@ -0,0 +1,12 @@
1
+ import { type FC } from 'react';
2
+ import { type UnsavedDestination } from '../../_forms';
3
+ import { type PersistSourceInput } from '@/types';
4
+ export interface SummaryProps {
5
+ setStep: (step: number) => void;
6
+ onSave: () => Promise<{
7
+ error?: string;
8
+ } | undefined>;
9
+ sourcesPayload: PersistSourceInput | null;
10
+ destinationsPayload: UnsavedDestination[] | null;
11
+ }
12
+ export declare const Summary: FC<SummaryProps>;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { DrawerProps } from '@/components/_v2';
2
+ import { type DrawerProps } from '@/components/_v2';
3
3
  import { type HeaderProps } from '@/components/_v2/drawer/header';
4
4
  export interface YamlDrawerProps {
5
5
  isOpen: DrawerProps['isOpen'];