@odigos/ui-kit 0.0.286-dev.520 → 0.0.287

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 (72) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/chunks/helpers-CtkwQ3Wc.js +9 -0
  3. package/lib/chunks/{index-9H2LDuOq.js → index-BlYPxLja.js} +23 -23
  4. package/lib/chunks/source-instrument-form-context-Bg6JzU76.js +5 -0
  5. package/lib/chunks/ui-components-CjgsN17j.js +1943 -0
  6. package/lib/components/button/index.d.ts +3 -1
  7. package/lib/components/drop-data/index.d.ts +4 -10
  8. package/lib/components/index.d.ts +2 -0
  9. package/lib/components/popup/index.d.ts +17 -0
  10. package/lib/components/select-window-hours/index.d.ts +17 -0
  11. package/lib/components.js +1 -1
  12. package/lib/constants/index.d.ts +1 -0
  13. package/lib/constants/instrumentation-rules/index.d.ts +2 -1
  14. package/lib/constants/strings/index.d.ts +14 -0
  15. package/lib/constants/url-templatization/index.d.ts +90 -0
  16. package/lib/constants.js +1 -1
  17. package/lib/containers/_drawers/index.d.ts +3 -0
  18. package/lib/containers/_drawers/url-templatization-custom-template-drawer/destination-step.d.ts +16 -0
  19. package/lib/containers/_drawers/url-templatization-custom-template-drawer/index.d.ts +18 -0
  20. package/lib/containers/_drawers/url-templatization-default-rule-drawer/index.d.ts +14 -0
  21. package/lib/containers/_drawers/url-templatization-template-view-drawer/index.d.ts +9 -0
  22. package/lib/containers/central-connections/helpers.d.ts +8 -0
  23. package/lib/containers/central-connections/index.d.ts +1 -0
  24. package/lib/containers/index.d.ts +1 -0
  25. package/lib/containers/insights/findings/drawer/anomaly/index.d.ts +1 -0
  26. package/lib/containers/insights/findings/drawer/helpers.d.ts +0 -2
  27. package/lib/containers/insights/findings/drawer/violation/index.d.ts +1 -0
  28. package/lib/containers/insights/findings/helpers.d.ts +13 -3
  29. package/lib/containers/insights/findings/resolve-findings/index.d.ts +11 -0
  30. package/lib/containers/insights/overview/contained-table-and-heading/index.d.ts +1 -0
  31. package/lib/containers/insights/settings-and-configurations/panels/guardrails/create-panel.d.ts +2 -6
  32. package/lib/containers/insights/settings-and-configurations/panels/guardrails/facet-section.d.ts +1 -0
  33. package/lib/containers/insights/settings-and-configurations/panels/guardrails/mappers.d.ts +5 -0
  34. package/lib/containers/insights/transactions/helpers.d.ts +0 -1
  35. package/lib/containers/url-templatization/converters.d.ts +43 -0
  36. package/lib/containers/url-templatization/custom-templates-list.d.ts +16 -0
  37. package/lib/containers/url-templatization/default-rules-list.d.ts +10 -0
  38. package/lib/containers/url-templatization/helpers.d.ts +17 -0
  39. package/lib/containers/url-templatization/index.d.ts +5 -0
  40. package/lib/containers/url-templatization/scope-summary.d.ts +8 -0
  41. package/lib/containers/url-templatization/template-path.d.ts +8 -0
  42. package/lib/containers.js +888 -432
  43. package/lib/contexts/odigos-api/hooks/use-insights-api.d.ts +4 -1
  44. package/lib/contexts/odigos-api/index.d.ts +1 -1
  45. package/lib/contexts/odigos-api/types.d.ts +5 -0
  46. package/lib/contexts/odigos-context.d.ts +3 -3
  47. package/lib/contexts.js +1 -1
  48. package/lib/functions.js +1 -1
  49. package/lib/hooks/index.d.ts +1 -0
  50. package/lib/hooks/useAnchoredPopup.d.ts +44 -0
  51. package/lib/hooks/useOnClickOutside.d.ts +1 -0
  52. package/lib/hooks.js +1 -1
  53. package/lib/icons/common/clock-icon/index.d.ts +2 -0
  54. package/lib/icons/common/index.d.ts +1 -0
  55. package/lib/icons/overview/index.d.ts +1 -0
  56. package/lib/icons/overview/url-templatization-icon/index.d.ts +2 -0
  57. package/lib/icons.js +1 -1
  58. package/lib/snippets/actions/index.d.ts +8 -5
  59. package/lib/snippets/upgrade-modal/index.d.ts +1 -1
  60. package/lib/snippets/wide-drawer/index.d.ts +6 -0
  61. package/lib/snippets.js +1 -1
  62. package/lib/store.js +1 -1
  63. package/lib/theme.js +1 -1
  64. package/lib/types/actions/index.d.ts +12 -0
  65. package/lib/types/common/index.d.ts +7 -2
  66. package/lib/types/instrumentation-rules/index.d.ts +1 -0
  67. package/lib/types.js +1 -1
  68. package/lib/visuals.js +1 -1
  69. package/package.json +1 -1
  70. package/lib/chunks/helpers-B0SJ6hqm.js +0 -9
  71. package/lib/chunks/source-instrument-form-context-BF70uJ_R.js +0 -5
  72. package/lib/chunks/ui-components-DqG0z5U0.js +0 -1878
@@ -0,0 +1,10 @@
1
+ import { type FC } from 'react';
2
+ import { type UrlTemplatizationDefaultGroup } from '../../types';
3
+ interface DefaultRulesListProps {
4
+ actionName?: string | null;
5
+ groups: UrlTemplatizationDefaultGroup[];
6
+ onAddRule?: () => void;
7
+ onEditRule?: (index: number) => void;
8
+ }
9
+ export declare const DefaultRulesList: FC<DefaultRulesListProps>;
10
+ export {};
@@ -0,0 +1,17 @@
1
+ import { type Action } from '../../types';
2
+ export declare const findUrlTemplatizationActions: (actions: Action[]) => Action[];
3
+ export declare const findUrlTemplatizationAction: (actions: Action[]) => Action | null;
4
+ export declare const hasDefaultTemplatizationRules: (action: Action | null) => boolean;
5
+ export declare const isDefaultTemplatizationEnabled: (action: Action | null) => boolean;
6
+ export declare const hasCustomUrlTemplates: (action: Action | null) => boolean;
7
+ export declare const hasAnyCustomUrlTemplates: (actions: Action[]) => boolean;
8
+ export declare function normalizeUrlPath(input: string): string;
9
+ export interface TemplateMatchCapture {
10
+ name: string;
11
+ value: string;
12
+ }
13
+ export interface TemplateMatchResult {
14
+ matched: boolean;
15
+ captures: TemplateMatchCapture[];
16
+ }
17
+ export declare function matchTemplate(template: string, urlInput: string): TemplateMatchResult;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ export interface UrlTemplatizationProps {
3
+ docsUrl?: string;
4
+ }
5
+ export declare const UrlTemplatization: FC<UrlTemplatizationProps>;
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import type { SourcesScopes } from '../../types';
3
+ interface ScopeSummaryProps {
4
+ scopes: SourcesScopes;
5
+ compact?: boolean;
6
+ }
7
+ export declare const ScopeSummary: FC<ScopeSummaryProps>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { TypographySize } from '../../components';
3
+ interface TemplatePathProps {
4
+ template: string;
5
+ size?: TypographySize;
6
+ }
7
+ export declare const TemplatePath: FC<TemplatePathProps>;
8
+ export {};