@odigos/ui-kit 0.0.15 → 0.0.16

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 (140) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/lib/components/data-tab/index.d.ts +18 -6
  3. package/lib/components/icon-group/index.d.ts +1 -0
  4. package/lib/components.js +8 -8
  5. package/lib/constants.js +3 -3
  6. package/lib/containers/data-flow-actions-menu/filters/index.d.ts +0 -3
  7. package/lib/containers/data-flow-actions-menu/index.d.ts +0 -3
  8. package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +0 -3
  9. package/lib/containers/source-modal/index.d.ts +1 -3
  10. package/lib/containers/source-selection-form/fast/list/index.d.ts +0 -1
  11. package/lib/containers/source-selection-form/index.d.ts +1 -3
  12. package/lib/containers/source-selection-form/simple/controls/index.d.ts +0 -2
  13. package/lib/containers/source-selection-form/simple/list/index.d.ts +0 -1
  14. package/lib/containers/table-cell-conditions/index.d.ts +1 -0
  15. package/lib/containers.js +109 -48
  16. package/lib/data/destinations/index.d.ts +1 -1
  17. package/lib/functions/get-destination-icon/index.d.ts +5 -1
  18. package/lib/functions.js +7 -17
  19. package/lib/hooks/useSourceSelectionFormData.d.ts +1 -2
  20. package/lib/hooks.js +5 -5
  21. package/lib/icons/destinations/app-dynamics-logo/index.d.ts +2 -0
  22. package/lib/icons/destinations/aws-cloudwatch-logo/aws-cloudwatch-logo.stories.d.ts +8 -0
  23. package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +2 -0
  24. package/lib/icons/destinations/aws-s3-logo/aws-s3-logo.stories.d.ts +8 -0
  25. package/lib/icons/destinations/aws-s3-logo/index.d.ts +2 -0
  26. package/lib/icons/destinations/aws-xray-logo/aws-xray-logo.stories.d.ts +8 -0
  27. package/lib/icons/destinations/aws-xray-logo/index.d.ts +2 -0
  28. package/lib/icons/destinations/axiom-logo/axiom-logo.stories.d.ts +8 -0
  29. package/lib/icons/destinations/axiom-logo/index.d.ts +2 -0
  30. package/lib/icons/destinations/better-stack-logo/better-stack-logo.stories.d.ts +8 -0
  31. package/lib/icons/destinations/better-stack-logo/index.d.ts +2 -0
  32. package/lib/icons/destinations/blob-storage-logo/blob-storage-logo.stories.d.ts +8 -0
  33. package/lib/icons/destinations/blob-storage-logo/index.d.ts +2 -0
  34. package/lib/icons/destinations/causely-logo/causely-logo.stories.d.ts +8 -0
  35. package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
  36. package/lib/icons/destinations/chronosphere-logo/chronosphere-logo.stories.d.ts +8 -0
  37. package/lib/icons/destinations/chronosphere-logo/index.d.ts +2 -0
  38. package/lib/icons/destinations/clickhouse-logo/clickhouse-logo.stories.d.ts +8 -0
  39. package/lib/icons/destinations/clickhouse-logo/index.d.ts +2 -0
  40. package/lib/icons/destinations/coralogix-logo/coralogix-logo.stories.d.ts +8 -0
  41. package/lib/icons/destinations/coralogix-logo/index.d.ts +2 -0
  42. package/lib/icons/destinations/dash0-logo/dash0-logo.stories.d.ts +8 -0
  43. package/lib/icons/destinations/dash0-logo/index.d.ts +2 -0
  44. package/lib/icons/destinations/datadog-logo/datadog-logo.stories.d.ts +8 -0
  45. package/lib/icons/destinations/datadog-logo/index.d.ts +2 -0
  46. package/lib/icons/destinations/dynatrace-logo/dynatrace-logo.stories.d.ts +8 -0
  47. package/lib/icons/destinations/dynatrace-logo/index.d.ts +2 -0
  48. package/lib/icons/destinations/elastic-apm-logo/elastic-apm-logo.stories.d.ts +8 -0
  49. package/lib/icons/destinations/elastic-apm-logo/index.d.ts +2 -0
  50. package/lib/icons/destinations/elastic-search-logo/elastic-search-logo.stories.d.ts +8 -0
  51. package/lib/icons/destinations/elastic-search-logo/index.d.ts +2 -0
  52. package/lib/icons/destinations/gigapipe-logo/gigapipe-logo.stories.d.ts +8 -0
  53. package/lib/icons/destinations/gigapipe-logo/index.d.ts +2 -0
  54. package/lib/icons/destinations/google-cloud-platform-logo/google-cloud-platform-logo.stories.d.ts +8 -0
  55. package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +2 -0
  56. package/lib/icons/destinations/google-cloud-storage-logo/google-cloud-storage-logo.stories.d.ts +8 -0
  57. package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +2 -0
  58. package/lib/icons/destinations/grafana-logo/grafana-logo.stories.d.ts +8 -0
  59. package/lib/icons/destinations/grafana-logo/index.d.ts +2 -0
  60. package/lib/icons/destinations/groundcover-logo/groundcover-logo.stories.d.ts +8 -0
  61. package/lib/icons/destinations/groundcover-logo/index.d.ts +2 -0
  62. package/lib/icons/destinations/honeycomb-logo/honeycomb-logo.stories.d.ts +8 -0
  63. package/lib/icons/destinations/honeycomb-logo/index.d.ts +2 -0
  64. package/lib/icons/destinations/hyperdx-logo/hyperdx-logo.stories.d.ts +8 -0
  65. package/lib/icons/destinations/hyperdx-logo/index.d.ts +2 -0
  66. package/lib/icons/destinations/index.d.ts +46 -0
  67. package/lib/icons/destinations/instana-logo/index.d.ts +2 -0
  68. package/lib/icons/destinations/instana-logo/instana-logo.stories.d.ts +8 -0
  69. package/lib/icons/destinations/jaeger-logo/index.d.ts +2 -0
  70. package/lib/icons/destinations/jaeger-logo/jaeger-logo.stories.d.ts +8 -0
  71. package/lib/icons/destinations/kafka-logo/kafka-logo.stories.d.ts +8 -0
  72. package/lib/icons/destinations/kloudmate-logo/index.d.ts +2 -0
  73. package/lib/icons/destinations/kloudmate-logo/kloudmate-logo.stories.d.ts +8 -0
  74. package/lib/icons/destinations/last9-logo/index.d.ts +2 -0
  75. package/lib/icons/destinations/last9-logo/last9-logo.stories.d.ts +8 -0
  76. package/lib/icons/destinations/lightstep-logo/index.d.ts +2 -0
  77. package/lib/icons/destinations/lightstep-logo/lightstep-logo.stories.d.ts +8 -0
  78. package/lib/icons/destinations/logzio-logo/index.d.ts +2 -0
  79. package/lib/icons/destinations/logzio-logo/logzio-logo.stories.d.ts +8 -0
  80. package/lib/icons/destinations/loki-logo/index.d.ts +2 -0
  81. package/lib/icons/destinations/loki-logo/loki-logo.stories.d.ts +8 -0
  82. package/lib/icons/destinations/lumigo-logo/index.d.ts +2 -0
  83. package/lib/icons/destinations/lumigo-logo/lumigo-logo.stories.d.ts +8 -0
  84. package/lib/icons/destinations/middleware-logo/index.d.ts +2 -0
  85. package/lib/icons/destinations/middleware-logo/middleware-logo.stories.d.ts +8 -0
  86. package/lib/icons/destinations/new-relic-logo/index.d.ts +2 -0
  87. package/lib/icons/destinations/new-relic-logo/new-relic-logo.stories.d.ts +8 -0
  88. package/lib/icons/destinations/open-telemetry-logo/index.d.ts +2 -0
  89. package/lib/icons/destinations/open-telemetry-logo/open-telemetry-logo.stories.d.ts +8 -0
  90. package/lib/icons/destinations/ops-verse-logo/index.d.ts +2 -0
  91. package/lib/icons/destinations/ops-verse-logo/ops-verse-logo.stories.d.ts +8 -0
  92. package/lib/icons/destinations/prometheus-logo/index.d.ts +2 -0
  93. package/lib/icons/destinations/prometheus-logo/prometheus-logo.stories.d.ts +8 -0
  94. package/lib/icons/destinations/qryn-logo/index.d.ts +2 -0
  95. package/lib/icons/destinations/qryn-logo/qryn-logo.stories.d.ts +8 -0
  96. package/lib/icons/destinations/quickwit-logo/index.d.ts +2 -0
  97. package/lib/icons/destinations/quickwit-logo/quickwit-logo.stories.d.ts +8 -0
  98. package/lib/icons/destinations/sentry-logo/index.d.ts +2 -0
  99. package/lib/icons/destinations/sentry-logo/sentry-logo.stories.d.ts +8 -0
  100. package/lib/icons/destinations/signoz-logo/index.d.ts +2 -0
  101. package/lib/icons/destinations/signoz-logo/signoz-logo.stories.d.ts +8 -0
  102. package/lib/icons/destinations/splunk-logo/index.d.ts +2 -0
  103. package/lib/icons/destinations/splunk-logo/splunk-logo.stories.d.ts +8 -0
  104. package/lib/icons/destinations/sumo-logic-logo/index.d.ts +2 -0
  105. package/lib/icons/destinations/sumo-logic-logo/sumo-logic-logo.stories.d.ts +8 -0
  106. package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
  107. package/lib/icons/destinations/tempo-logo/tempo-logo.stories.d.ts +8 -0
  108. package/lib/icons/destinations/traceloop-logo/index.d.ts +2 -0
  109. package/lib/icons/destinations/traceloop-logo/traceloop-logo.stories.d.ts +8 -0
  110. package/lib/icons/destinations/uptrace-logo/index.d.ts +2 -0
  111. package/lib/icons/destinations/uptrace-logo/uptrace-logo.stories.d.ts +8 -0
  112. package/lib/icons/index.d.ts +1 -0
  113. package/lib/icons/overview/index.d.ts +1 -0
  114. package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
  115. package/lib/icons/overview/namespaces-icon/namespaces-icon.stories.d.ts +8 -0
  116. package/lib/icons/programming-languages/index.d.ts +0 -1
  117. package/lib/icons.js +29 -5
  118. package/lib/{index-CYn62h8x.js → index-CKtl8KxE.js} +2 -2
  119. package/lib/{index-Db_ZDrEr.js → index-CLOUNx6Z.js} +1 -1
  120. package/lib/{index-zMKRaKMY.js → index-D6cZdmUs.js} +40 -32
  121. package/lib/index-DB8Djrsy.js +487 -0
  122. package/lib/{index-3KUV6Vlt.js → index-DH2zLaey.js} +5 -2
  123. package/lib/{index-BtuW12KL.js → index-DiEc-llU.js} +68 -5
  124. package/lib/{index-DYEcdkUF.js → index-IvGLauAo.js} +49 -37
  125. package/lib/{index-CJKFedQi.js → index-lL1o2K_5.js} +2 -2
  126. package/lib/store/useEntityStore.d.ts +4 -2
  127. package/lib/store/useSetupStore.d.ts +2 -3
  128. package/lib/store.js +1 -1
  129. package/lib/theme.js +1 -1
  130. package/lib/types/common/index.d.ts +1 -0
  131. package/lib/types/destinations/index.d.ts +50 -3
  132. package/lib/types.js +53 -1
  133. package/lib/{useSourceSelectionFormData-BnlRp8m3.js → useSourceSelectionFormData-R_uK7F7W.js} +6 -4
  134. package/lib/{useTransition-CFmm4scp.js → useTransition-hWYVBuSi.js} +2 -2
  135. package/package.json +12 -12
  136. package/lib/index-BjJpYtF1.js +0 -42
  137. package/lib/containers/data-flow-actions-menu/{data-flow.stories.d.ts → data-flow-actions-menu.stories.d.ts} +0 -0
  138. package/lib/icons/{programming-languages/kafka-logo/kafka-logo.stories.d.ts → destinations/app-dynamics-logo/app-dynamics-logo.stories.d.ts} +0 -0
  139. package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
  140. package/lib/{index-9ObpINp4.js → index-DM8CZWtL.js} +5 -5
@@ -66,8 +66,11 @@ const TerminalIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
66
66
  const OverviewIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
67
67
  const theme = Theme.useTheme();
68
68
  const fill = f || theme.text.secondary;
69
- return (React.createElement("svg", { width: size * (14 / 15), height: size, viewBox: '0 0 14 15', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
70
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M1.75 8.79362H12.25M1.75 11.7103H12.25M3.5 5.87695H10.5C11.4665 5.87695 12.25 5.09345 12.25 4.12695C12.25 3.16045 11.4665 2.37695 10.5 2.37695H3.5C2.5335 2.37695 1.75 3.16045 1.75 4.12695C1.75 5.09345 2.5335 5.87695 3.5 5.87695Z' })));
69
+ return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
70
+ React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.00015 4.13333C2.00015 3.3866 2.00015 3.01323 2.14548 2.72801C2.27331 2.47713 2.47728 2.27316 2.72816 2.14532C3.01338 2 3.38675 2 4.13348 2H4.53348C5.28022 2 5.65359 2 5.93881 2.14532C6.18969 2.27316 6.39366 2.47713 6.52149 2.72801C6.66682 3.01323 6.66682 3.3866 6.66682 4.13333V4.53333C6.66682 5.28007 6.66682 5.65344 6.52149 5.93865C6.39366 6.18954 6.18969 6.39351 5.93881 6.52134C5.65359 6.66667 5.28022 6.66667 4.53348 6.66667H4.13348C3.38675 6.66667 3.01338 6.66667 2.72816 6.52134C2.47728 6.39351 2.27331 6.18954 2.14548 5.93865C2.00015 5.65344 2.00015 5.28007 2.00015 4.53333V4.13333Z' }),
71
+ React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.54215 13.1752C2.01412 12.6471 1.75011 12.3831 1.6512 12.0787C1.56418 11.8109 1.56418 11.5224 1.6512 11.2546C1.75011 10.9502 2.01412 10.6862 2.54215 10.1582L2.82499 9.87533C3.35301 9.34731 3.61702 9.0833 3.92146 8.98438C4.18925 8.89737 4.47772 8.89737 4.74551 8.98438C5.04995 9.0833 5.31396 9.34731 5.84198 9.87533L6.12482 10.1582C6.65284 10.6862 6.91686 10.9502 7.01577 11.2546C7.10278 11.5224 7.10278 11.8109 7.01577 12.0787C6.91686 12.3831 6.65284 12.6471 6.12482 13.1752L5.84198 13.458C5.31396 13.986 5.04995 14.25 4.74551 14.349C4.47772 14.436 4.18925 14.436 3.92146 14.349C3.61702 14.25 3.35301 13.986 2.82499 13.458L2.54215 13.1752Z' }),
72
+ React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M9.33348 4.33333C9.33348 3.04467 10.3782 2 11.6668 2C12.9555 2 14.0002 3.04467 14.0002 4.33333C14.0002 5.622 12.9555 6.66667 11.6668 6.66667C10.3782 6.66667 9.33348 5.622 9.33348 4.33333Z' }),
73
+ React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M9.33348 11.4667C9.33348 10.7199 9.33348 10.3466 9.47881 10.0613C9.60664 9.81046 9.81061 9.60649 10.0615 9.47866C10.3467 9.33333 10.7201 9.33333 11.4668 9.33333H11.8668C12.6136 9.33333 12.9869 9.33333 13.2721 9.47866C13.523 9.60649 13.727 9.81046 13.8548 10.0613C14.0002 10.3466 14.0002 10.7199 14.0002 11.4667V11.8667C14.0002 12.6134 14.0002 12.9868 13.8548 13.272C13.727 13.5229 13.523 13.7268 13.2721 13.8547C12.9869 14 12.6136 14 11.8668 14H11.4668C10.7201 14 10.3467 14 10.0615 13.8547C9.81061 13.7268 9.60664 13.5229 9.47881 13.272C9.33348 12.9868 9.33348 12.6134 9.33348 11.8667V11.4667Z' })));
71
74
  };
72
75
 
73
76
  const SlackLogo = ({ size = 16, fill, rotate = 0, onClick }) => {
@@ -1,9 +1,10 @@
1
- import { StatusType, OtherStatus, EntityTypes, PlatformType } from './types.js';
2
- import { a as getProgrammingLanguageIcon } from './index-CYn62h8x.js';
1
+ import { StatusType, OtherStatus, DestinationTypes, EntityTypes, PlatformType } from './types.js';
2
+ import { a as getProgrammingLanguageIcon } from './index-CKtl8KxE.js';
3
3
  import 'react';
4
- import './index-DYEcdkUF.js';
4
+ import './index-IvGLauAo.js';
5
5
  import 'styled-components';
6
- import { R as RulesIcon, A as ActionsIcon, D as DestinationsIcon, S as SourcesIcon, V as VmLogo } from './index-BjJpYtF1.js';
6
+ import { c as AwsXrayLogo, U as UptraceLogo, x as TraceloopLogo, T as TempoLogo, w as SumoLogicLogo, v as SplunkLogo, S as SignozLogo, b as AwsS3Logo, u as QuickwitLogo, G as GigapipeLogo, Q as QrynLogo, P as PrometheusLogo, O as OpenTelemetryLogo, t as OpsVerseLogo, N as NewRelicLogo, M as MiddlewareLogo, s as LumigoLogo, r as LokiLogo, q as LogzioLogo, p as LightstepLogo, L as Last9Logo, K as KloudmateLogo, J as JaegerLogo, I as InstanaLogo, o as HyperDxLogo, H as HoneycombLogo, n as GroundcoverLogo, m as GrafanaLogo, l as GoogleCloudPlatformLogo, k as ElasticSearchLogo, E as ElasticApmLogo, j as DynatraceLogo, i as DatadogLogo, D as Dash0Logo, h as CoralogixLogo, a as AwsCloudwatchLogo, g as ClickhouseLogo, f as ChronosphereLogo, C as CauselyLogo, B as BetterStackLogo, e as BlobStorageLogo, d as AxiomLogo, A as AppDynamicsLogo, R as RulesIcon, y as ActionsIcon, z as DestinationsIcon, W as SourcesIcon, F as NamespacesIcon, V as VmLogo } from './index-DB8Djrsy.js';
7
+ import { K as KafkaLogo } from './index-DM8CZWtL.js';
7
8
  import { O as OdigosLogo, K as K8sLogo } from './index-BGlk5VhF.js';
8
9
 
9
10
  const compareCondition = (renderCondition, fields) => {
@@ -102,8 +103,66 @@ const getContainersIcons = (containers) => {
102
103
  return icons;
103
104
  };
104
105
 
106
+ const getDestinationIcon = (type, forceFromUrl) => {
107
+ const LOGOS = {
108
+ [DestinationTypes.AppDynamics]: AppDynamicsLogo,
109
+ [DestinationTypes.Axiom]: AxiomLogo,
110
+ [DestinationTypes.AzureBlob]: BlobStorageLogo,
111
+ [DestinationTypes.BetterStack]: BetterStackLogo,
112
+ [DestinationTypes.Causely]: CauselyLogo,
113
+ [DestinationTypes.Chronosphere]: ChronosphereLogo,
114
+ [DestinationTypes.ClickHouse]: ClickhouseLogo,
115
+ [DestinationTypes.CloudWatch]: AwsCloudwatchLogo,
116
+ [DestinationTypes.Coralogix]: CoralogixLogo,
117
+ [DestinationTypes.Dash0]: Dash0Logo,
118
+ [DestinationTypes.Datadog]: DatadogLogo,
119
+ [DestinationTypes.Dynatrace]: DynatraceLogo,
120
+ [DestinationTypes.ElasticApm]: ElasticApmLogo,
121
+ [DestinationTypes.ElasticSearch]: ElasticSearchLogo,
122
+ [DestinationTypes.GoogleCloud]: GoogleCloudPlatformLogo,
123
+ [DestinationTypes.GrafanaCloudLoki]: GrafanaLogo,
124
+ [DestinationTypes.GrafanaCloudPrometheus]: GrafanaLogo,
125
+ [DestinationTypes.GrafanaCloudTempo]: GrafanaLogo,
126
+ [DestinationTypes.Groundcover]: GroundcoverLogo,
127
+ [DestinationTypes.Honeycomb]: HoneycombLogo,
128
+ [DestinationTypes.HyperDX]: HyperDxLogo,
129
+ [DestinationTypes.Instana]: InstanaLogo,
130
+ [DestinationTypes.Jaeger]: JaegerLogo,
131
+ [DestinationTypes.Kafka]: KafkaLogo,
132
+ [DestinationTypes.Kloudmate]: KloudmateLogo,
133
+ [DestinationTypes.Last9]: Last9Logo,
134
+ [DestinationTypes.Lightstep]: LightstepLogo,
135
+ [DestinationTypes.LogzIo]: LogzioLogo,
136
+ [DestinationTypes.Loki]: LokiLogo,
137
+ [DestinationTypes.Lumigo]: LumigoLogo,
138
+ [DestinationTypes.Middleware]: MiddlewareLogo,
139
+ [DestinationTypes.NewRelic]: NewRelicLogo,
140
+ [DestinationTypes.Opsverse]: OpsVerseLogo,
141
+ [DestinationTypes.OTLP]: OpenTelemetryLogo,
142
+ [DestinationTypes.OTLPHttp]: OpenTelemetryLogo,
143
+ [DestinationTypes.Prometheus]: PrometheusLogo,
144
+ [DestinationTypes.Qryn]: QrynLogo,
145
+ [DestinationTypes.QrynOss]: GigapipeLogo,
146
+ [DestinationTypes.Quickwit]: QuickwitLogo,
147
+ [DestinationTypes.S3]: AwsS3Logo,
148
+ [DestinationTypes.Signoz]: SignozLogo,
149
+ [DestinationTypes.Splunk]: SplunkLogo,
150
+ [DestinationTypes.SumoLogic]: SumoLogicLogo,
151
+ [DestinationTypes.Tempo]: TempoLogo,
152
+ [DestinationTypes.Traceloop]: TraceloopLogo,
153
+ [DestinationTypes.Uptrace]: UptraceLogo,
154
+ [DestinationTypes.XRay]: AwsXrayLogo,
155
+ };
156
+ const logo = LOGOS[type];
157
+ if (logo && !forceFromUrl)
158
+ return { icon: logo };
159
+ // Fallback to fetched-icon (in-case new destinations were added, and we haven't added the icon to the kit yet)
160
+ return { iconSrc: `https://d15jtxgb40qetw.cloudfront.net/${type}.svg` };
161
+ };
162
+
105
163
  const getEntityIcon = (type) => {
106
164
  const LOGOS = {
165
+ [EntityTypes.Namespace]: NamespacesIcon,
107
166
  [EntityTypes.Source]: SourcesIcon,
108
167
  [EntityTypes.Destination]: DestinationsIcon,
109
168
  [EntityTypes.Action]: ActionsIcon,
@@ -185,6 +244,10 @@ const getValueForRange = (current, matrix) => {
185
244
  return found?.[2] || null;
186
245
  };
187
246
 
247
+ const getWorkloadId = ({ namespace, name, kind }) => {
248
+ return { namespace, name, kind };
249
+ };
250
+
188
251
  const isOverTime = (originDate, difference = 0) => {
189
252
  const now = new Date().getTime();
190
253
  const compareWith = new Date(originDate).getTime();
@@ -193,4 +256,4 @@ const isOverTime = (originDate, difference = 0) => {
193
256
 
194
257
  const sleep = async (ms = 1000) => new Promise((resolve) => setTimeout(resolve, ms));
195
258
 
196
- export { filterDestinations as a, filterSources as b, compareCondition as c, formatBytes as d, getContainersInstrumentedCount as e, filterActions as f, getConditionsBooleans as g, getContainersIcons as h, getEntityIcon as i, getEntityLabel as j, getMetricForEntity as k, getPlatformIcon as l, getPlatformLabel as m, getValueForRange as n, isOverTime as o, sleep as s };
259
+ export { filterDestinations as a, filterSources as b, compareCondition as c, formatBytes as d, getContainersInstrumentedCount as e, filterActions as f, getConditionsBooleans as g, getContainersIcons as h, getDestinationIcon as i, getEntityIcon as j, getEntityLabel as k, getMetricForEntity as l, getPlatformIcon as m, getPlatformLabel as n, getValueForRange as o, getWorkloadId as p, isOverTime as q, sleep as s };
@@ -276,6 +276,8 @@ const isTimeElapsed = (originDate, difference = 0) => {
276
276
  };
277
277
 
278
278
  const useEntityStore = create((set) => ({
279
+ namespacesLoading: false,
280
+ namespaces: [],
279
281
  sourcesLoading: false,
280
282
  sources: [],
281
283
  destinationsLoading: false,
@@ -285,43 +287,49 @@ const useEntityStore = create((set) => ({
285
287
  instrumentationRulesLoading: false,
286
288
  instrumentationRules: [],
287
289
  setEntitiesLoading: (entityType, bool) => {
288
- const KEY = entityType === EntityTypes.Source
289
- ? 'sourcesLoading'
290
- : entityType === EntityTypes.Destination
291
- ? 'destinationsLoading'
292
- : entityType === EntityTypes.Action
293
- ? 'actionsLoading'
294
- : entityType === EntityTypes.InstrumentationRule
295
- ? 'instrumentationRulesLoading'
296
- : 'NONE';
290
+ const KEY = entityType === EntityTypes.Namespace
291
+ ? 'namespacesLoading'
292
+ : entityType === EntityTypes.Source
293
+ ? 'sourcesLoading'
294
+ : entityType === EntityTypes.Destination
295
+ ? 'destinationsLoading'
296
+ : entityType === EntityTypes.Action
297
+ ? 'actionsLoading'
298
+ : entityType === EntityTypes.InstrumentationRule
299
+ ? 'instrumentationRulesLoading'
300
+ : 'NONE';
297
301
  if (KEY === 'NONE')
298
302
  return;
299
303
  set({ [KEY]: bool });
300
304
  },
301
305
  setEntities: (entityType, payload) => {
302
- const KEY = entityType === EntityTypes.Source
303
- ? 'sources'
304
- : entityType === EntityTypes.Destination
305
- ? 'destinations'
306
- : entityType === EntityTypes.Action
307
- ? 'actions'
308
- : entityType === EntityTypes.InstrumentationRule
309
- ? 'instrumentationRules'
310
- : 'NONE';
306
+ const KEY = entityType === EntityTypes.Namespace
307
+ ? 'namespaces'
308
+ : entityType === EntityTypes.Source
309
+ ? 'sources'
310
+ : entityType === EntityTypes.Destination
311
+ ? 'destinations'
312
+ : entityType === EntityTypes.Action
313
+ ? 'actions'
314
+ : entityType === EntityTypes.InstrumentationRule
315
+ ? 'instrumentationRules'
316
+ : 'NONE';
311
317
  if (KEY === 'NONE')
312
318
  return;
313
319
  set({ [KEY]: payload });
314
320
  },
315
321
  addEntities: (entityType, entities) => {
316
- const KEY = entityType === EntityTypes.Source
317
- ? 'sources'
318
- : entityType === EntityTypes.Destination
319
- ? 'destinations'
320
- : entityType === EntityTypes.Action
321
- ? 'actions'
322
- : entityType === EntityTypes.InstrumentationRule
323
- ? 'instrumentationRules'
324
- : 'NONE';
322
+ const KEY = entityType === EntityTypes.Namespace
323
+ ? 'namespaces'
324
+ : entityType === EntityTypes.Source
325
+ ? 'sources'
326
+ : entityType === EntityTypes.Destination
327
+ ? 'destinations'
328
+ : entityType === EntityTypes.Action
329
+ ? 'actions'
330
+ : entityType === EntityTypes.InstrumentationRule
331
+ ? 'instrumentationRules'
332
+ : 'NONE';
325
333
  if (KEY === 'NONE')
326
334
  return;
327
335
  set((state) => {
@@ -339,15 +347,17 @@ const useEntityStore = create((set) => ({
339
347
  });
340
348
  },
341
349
  removeEntities: (entityType, entityIds) => {
342
- const KEY = entityType === EntityTypes.Source
343
- ? 'sources'
344
- : entityType === EntityTypes.Destination
345
- ? 'destinations'
346
- : entityType === EntityTypes.Action
347
- ? 'actions'
348
- : entityType === EntityTypes.InstrumentationRule
349
- ? 'instrumentationRules'
350
- : 'NONE';
350
+ const KEY = entityType === EntityTypes.Namespace
351
+ ? 'namespaces'
352
+ : entityType === EntityTypes.Source
353
+ ? 'sources'
354
+ : entityType === EntityTypes.Destination
355
+ ? 'destinations'
356
+ : entityType === EntityTypes.Action
357
+ ? 'actions'
358
+ : entityType === EntityTypes.InstrumentationRule
359
+ ? 'instrumentationRules'
360
+ : 'NONE';
351
361
  if (KEY === 'NONE')
352
362
  return;
353
363
  set((state) => {
@@ -363,6 +373,8 @@ const useEntityStore = create((set) => ({
363
373
  },
364
374
  resetEntityStore: () => {
365
375
  set({
376
+ namespacesLoading: false,
377
+ namespaces: [],
366
378
  sourcesLoading: false,
367
379
  sources: [],
368
380
  destinationsLoading: false,
@@ -668,4 +680,4 @@ var animations = /*#__PURE__*/Object.freeze({
668
680
  slide: slide
669
681
  });
670
682
 
671
- export { useDrawerStore as a, useEntityStore as b, useFilterStore as c, useInstrumentStore as d, useModalStore as e, useNotificationStore as f, usePendingStore as g, useSelectedStore as h, useSetupStore as i, animations as j, getEntityId as k, isTimeElapsed as l, styleInject as s, useDarkMode as u };
683
+ export { useDrawerStore as a, useEntityStore as b, useFilterStore as c, useInstrumentStore as d, useModalStore as e, useNotificationStore as f, usePendingStore as g, useSelectedStore as h, useSetupStore as i, getEntityId as j, isTimeElapsed as k, animations as l, styleInject as s, useDarkMode as u };
@@ -1,7 +1,7 @@
1
1
  import { SignalType, ActionType, InstrumentationRuleType } from './types.js';
2
- import { g as getActionIcon, a as getInstrumentationRuleIcon } from './index-Db_ZDrEr.js';
2
+ import { g as getActionIcon, a as getInstrumentationRuleIcon } from './index-CLOUNx6Z.js';
3
3
  import 'react';
4
- import './index-DYEcdkUF.js';
4
+ import './index-IvGLauAo.js';
5
5
  import 'styled-components';
6
6
 
7
7
  const ACTION_OPTIONS = [
@@ -1,5 +1,7 @@
1
- import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Source, type WorkloadId } from '@/types';
1
+ import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Namespace, type Source, type WorkloadId } from '@/types';
2
2
  interface IEntityState {
3
+ namespacesLoading: boolean;
4
+ namespaces: Namespace[];
3
5
  sourcesLoading: boolean;
4
6
  sources: Source[];
5
7
  destinationsLoading: boolean;
@@ -10,7 +12,7 @@ interface IEntityState {
10
12
  instrumentationRules: InstrumentationRule[];
11
13
  }
12
14
  type EntityId = string | WorkloadId;
13
- type EntityItems = IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
15
+ type EntityItems = IEntityState['namespaces'] | IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
14
16
  interface IEntityStateSetters {
15
17
  setEntitiesLoading: (entityType: EntityTypes, bool: boolean) => void;
16
18
  setEntities: (entityType: EntityTypes, entities: EntityItems) => void;
@@ -1,4 +1,4 @@
1
- import type { Destination, DestinationFormData, Source } from '@/types';
1
+ import { type Destination, type DestinationFormData, DestinationTypes, type Source } from '@/types';
2
2
  export interface AvailableSourcesByNamespace {
3
3
  [namespace: string]: Pick<Source, 'name' | 'kind' | 'selected' | 'numberOfInstances'>[];
4
4
  }
@@ -9,9 +9,8 @@ export interface NamespaceSelectionFormData {
9
9
  [namespace: string]: boolean;
10
10
  }
11
11
  export interface StoredSetupDestination {
12
- type: string;
12
+ type: DestinationTypes;
13
13
  displayName: string;
14
- imageUrl: string;
15
14
  category: string;
16
15
  exportedSignals: Destination['exportedSignals'];
17
16
  destinationTypeDetails: {
package/lib/store.js CHANGED
@@ -1,4 +1,4 @@
1
- export { u as useDarkMode, a as useDrawerStore, b as useEntityStore, c as useFilterStore, d as useInstrumentStore, e as useModalStore, f as useNotificationStore, g as usePendingStore, h as useSelectedStore, i as useSetupStore } from './index-DYEcdkUF.js';
1
+ export { u as useDarkMode, a as useDrawerStore, b as useEntityStore, c as useFilterStore, d as useInstrumentStore, e as useModalStore, f as useNotificationStore, g as usePendingStore, h as useSelectedStore, i as useSetupStore } from './index-IvGLauAo.js';
2
2
  import './types.js';
3
3
  import 'react';
4
4
  import 'styled-components';
package/lib/theme.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { u as useDarkMode, j as animations } from './index-DYEcdkUF.js';
2
+ import { u as useDarkMode, l as animations } from './index-IvGLauAo.js';
3
3
  import { ThemeProvider, useTheme } from 'styled-components';
4
4
  import './types.js';
5
5
 
@@ -57,6 +57,7 @@ export declare enum Crud {
57
57
  Delete = "Delete"
58
58
  }
59
59
  export declare enum EntityTypes {
60
+ Namespace = "Namespace",
60
61
  Source = "Source",
61
62
  Destination = "Destination",
62
63
  Action = "Action",
@@ -1,6 +1,55 @@
1
1
  import type { Comparison } from '@/functions';
2
2
  import type { DropdownProps } from '@/components';
3
3
  import { type Condition, FieldTypes } from '../common';
4
+ export declare enum DestinationTypes {
5
+ AppDynamics = "appdynamics",
6
+ Axiom = "axiom",
7
+ AzureBlob = "azureblob",
8
+ BetterStack = "betterstack",
9
+ Causely = "causely",
10
+ Chronosphere = "chronosphere",
11
+ ClickHouse = "clickhouse",
12
+ CloudWatch = "cloudwatch",
13
+ Coralogix = "coralogix",
14
+ Dash0 = "dash0",
15
+ Datadog = "datadog",
16
+ Dynatrace = "dynatrace",
17
+ ElasticApm = "elasticapm",
18
+ ElasticSearch = "elasticsearch",
19
+ GoogleCloud = "googlecloud",
20
+ GrafanaCloudLoki = "grafanacloudloki",
21
+ GrafanaCloudPrometheus = "grafanacloudprometheus",
22
+ GrafanaCloudTempo = "grafanacloudtempo",
23
+ Groundcover = "groundcover",
24
+ Honeycomb = "honeycomb",
25
+ HyperDX = "hyperdx",
26
+ Instana = "instana",
27
+ Jaeger = "jaeger",
28
+ Kafka = "kafka",
29
+ Kloudmate = "kloudmate",
30
+ Last9 = "last9",
31
+ Lightstep = "lightstep",
32
+ LogzIo = "logzio",
33
+ Loki = "loki",
34
+ Lumigo = "lumigo",
35
+ Middleware = "middleware",
36
+ NewRelic = "newrelic",
37
+ Opsverse = "opsverse",
38
+ OTLP = "otlp",
39
+ OTLPHttp = "otlphttp",
40
+ Prometheus = "prometheus",
41
+ Qryn = "qryn",
42
+ QrynOss = "qryn-oss",
43
+ Quickwit = "quickwit",
44
+ S3 = "s3",
45
+ Signoz = "signoz",
46
+ Splunk = "splunk",
47
+ SumoLogic = "sumologic",
48
+ Tempo = "tempo",
49
+ Traceloop = "traceloop",
50
+ Uptrace = "uptrace",
51
+ XRay = "xray"
52
+ }
4
53
  export interface Destination {
5
54
  id: string;
6
55
  name: string;
@@ -12,9 +61,8 @@ export interface Destination {
12
61
  fields: string;
13
62
  conditions: Condition[] | null;
14
63
  destinationType: {
15
- type: string;
64
+ type: DestinationTypes;
16
65
  displayName: string;
17
- imageUrl: string;
18
66
  supportedSignals: {
19
67
  logs: {
20
68
  supported: boolean;
@@ -47,7 +95,6 @@ export interface DestinationYamlProperties {
47
95
  export interface DestinationOption {
48
96
  type: Destination['destinationType']['type'];
49
97
  displayName: Destination['destinationType']['displayName'];
50
- imageUrl: Destination['destinationType']['imageUrl'];
51
98
  supportedSignals: Destination['destinationType']['supportedSignals'];
52
99
  testConnectionSupported: boolean;
53
100
  fields: DestinationYamlProperties[];
package/lib/types.js CHANGED
@@ -55,6 +55,7 @@ var Crud;
55
55
  })(Crud || (Crud = {}));
56
56
  var EntityTypes;
57
57
  (function (EntityTypes) {
58
+ EntityTypes["Namespace"] = "Namespace";
58
59
  EntityTypes["Source"] = "Source";
59
60
  EntityTypes["Destination"] = "Destination";
60
61
  EntityTypes["Action"] = "Action";
@@ -130,6 +131,57 @@ var AddNodeTypes;
130
131
  AddNodeTypes["AddDestination"] = "addDestination";
131
132
  })(AddNodeTypes || (AddNodeTypes = {}));
132
133
 
134
+ var DestinationTypes;
135
+ (function (DestinationTypes) {
136
+ DestinationTypes["AppDynamics"] = "appdynamics";
137
+ DestinationTypes["Axiom"] = "axiom";
138
+ DestinationTypes["AzureBlob"] = "azureblob";
139
+ DestinationTypes["BetterStack"] = "betterstack";
140
+ DestinationTypes["Causely"] = "causely";
141
+ DestinationTypes["Chronosphere"] = "chronosphere";
142
+ DestinationTypes["ClickHouse"] = "clickhouse";
143
+ DestinationTypes["CloudWatch"] = "cloudwatch";
144
+ DestinationTypes["Coralogix"] = "coralogix";
145
+ DestinationTypes["Dash0"] = "dash0";
146
+ DestinationTypes["Datadog"] = "datadog";
147
+ DestinationTypes["Dynatrace"] = "dynatrace";
148
+ DestinationTypes["ElasticApm"] = "elasticapm";
149
+ DestinationTypes["ElasticSearch"] = "elasticsearch";
150
+ DestinationTypes["GoogleCloud"] = "googlecloud";
151
+ DestinationTypes["GrafanaCloudLoki"] = "grafanacloudloki";
152
+ DestinationTypes["GrafanaCloudPrometheus"] = "grafanacloudprometheus";
153
+ DestinationTypes["GrafanaCloudTempo"] = "grafanacloudtempo";
154
+ DestinationTypes["Groundcover"] = "groundcover";
155
+ DestinationTypes["Honeycomb"] = "honeycomb";
156
+ DestinationTypes["HyperDX"] = "hyperdx";
157
+ DestinationTypes["Instana"] = "instana";
158
+ DestinationTypes["Jaeger"] = "jaeger";
159
+ DestinationTypes["Kafka"] = "kafka";
160
+ DestinationTypes["Kloudmate"] = "kloudmate";
161
+ DestinationTypes["Last9"] = "last9";
162
+ DestinationTypes["Lightstep"] = "lightstep";
163
+ DestinationTypes["LogzIo"] = "logzio";
164
+ DestinationTypes["Loki"] = "loki";
165
+ DestinationTypes["Lumigo"] = "lumigo";
166
+ DestinationTypes["Middleware"] = "middleware";
167
+ DestinationTypes["NewRelic"] = "newrelic";
168
+ DestinationTypes["Opsverse"] = "opsverse";
169
+ DestinationTypes["OTLP"] = "otlp";
170
+ DestinationTypes["OTLPHttp"] = "otlphttp";
171
+ DestinationTypes["Prometheus"] = "prometheus";
172
+ DestinationTypes["Qryn"] = "qryn";
173
+ DestinationTypes["QrynOss"] = "qryn-oss";
174
+ DestinationTypes["Quickwit"] = "quickwit";
175
+ DestinationTypes["S3"] = "s3";
176
+ DestinationTypes["Signoz"] = "signoz";
177
+ DestinationTypes["Splunk"] = "splunk";
178
+ DestinationTypes["SumoLogic"] = "sumologic";
179
+ DestinationTypes["Tempo"] = "tempo";
180
+ DestinationTypes["Traceloop"] = "traceloop";
181
+ DestinationTypes["Uptrace"] = "uptrace";
182
+ DestinationTypes["XRay"] = "xray";
183
+ })(DestinationTypes || (DestinationTypes = {}));
184
+
133
185
  var InstrumentationRuleType;
134
186
  (function (InstrumentationRuleType) {
135
187
  InstrumentationRuleType["PayloadCollection"] = "PayloadCollection";
@@ -168,4 +220,4 @@ var K8sResourceKind;
168
220
  K8sResourceKind["StatefulSet"] = "StatefulSet";
169
221
  })(K8sResourceKind || (K8sResourceKind = {}));
170
222
 
171
- export { ActionType, AddNodeTypes, CodeAttributesKeyTypes, CrdTypes, Crud, EdgeTypes, EntityTypes, FieldTypes, InstrumentationRuleType, K8sResourceKind, NodeTypes, OtherStatus, PayloadCollectionKeyTypes, PlatformType, ProgrammingLanguages, SignalType, SortDirection, StatusType, Tier };
223
+ export { ActionType, AddNodeTypes, CodeAttributesKeyTypes, CrdTypes, Crud, DestinationTypes, EdgeTypes, EntityTypes, FieldTypes, InstrumentationRuleType, K8sResourceKind, NodeTypes, OtherStatus, PayloadCollectionKeyTypes, PlatformType, ProgrammingLanguages, SignalType, SortDirection, StatusType, Tier };
@@ -1,11 +1,11 @@
1
1
  import { ActionType, StatusType, AddNodeTypes, EntityTypes, FieldTypes } from './types.js';
2
2
  import { useState, useEffect, useCallback } from 'react';
3
- import { f as useNotificationStore, e as useModalStore, a as useDrawerStore, i as useSetupStore } from './index-DYEcdkUF.js';
3
+ import { f as useNotificationStore, e as useModalStore, a as useDrawerStore, b as useEntityStore, i as useSetupStore } from './index-IvGLauAo.js';
4
4
  import 'styled-components';
5
5
  import { i as isEmpty, s as safeJsonParse } from './index-BZS1ijMm.js';
6
- import './index-CJKFedQi.js';
6
+ import './index-lL1o2K_5.js';
7
7
  import { F as FORM_ALERTS } from './index-C_0J5P9M.js';
8
- import { b as useGenericForm } from './useTransition-CFmm4scp.js';
8
+ import { b as useGenericForm } from './useTransition-hWYVBuSi.js';
9
9
  import { g as getIdFromSseTarget } from './index-7-KCQK-x.js';
10
10
 
11
11
  const INITIAL$2 = {
@@ -204,6 +204,7 @@ const useClickNotification = () => {
204
204
  };
205
205
 
206
206
  const INITIAL$1 = {
207
+ // @ts-ignore form should be initialized with empty values
207
208
  type: '',
208
209
  name: '',
209
210
  exportedSignals: {
@@ -371,7 +372,8 @@ const useSourceFormData = () => {
371
372
  };
372
373
 
373
374
  const useSourceSelectionFormData = (params) => {
374
- const { namespaces, namespace, selectedNamespace, onSelectNamespace } = params || {};
375
+ const { namespaces } = useEntityStore();
376
+ const { selectedNamespace, onSelectNamespace, namespace } = params || {};
375
377
  // only for "onboarding" - get unsaved values and set to state
376
378
  // (this is to persist the values when user navigates back to this page)
377
379
  const { configuredSources, configuredFutureApps, availableSources } = useSetupStore();
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useRef, useEffect, useCallback } from 'react';
2
- import './index-CJKFedQi.js';
3
- import { f as useNotificationStore } from './index-DYEcdkUF.js';
2
+ import './index-lL1o2K_5.js';
3
+ import { f as useNotificationStore } from './index-IvGLauAo.js';
4
4
  import { CodeAttributesKeyTypes, PayloadCollectionKeyTypes } from './types.js';
5
5
  import styled from 'styled-components';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odigos/ui-kit",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "author": "Odigos",
5
5
  "repository": {
6
6
  "type": "git",
@@ -92,31 +92,31 @@
92
92
  "@babel/core": "^7.26.10",
93
93
  "@babel/preset-env": "^7.26.9",
94
94
  "@babel/preset-react": "^7.26.3",
95
- "@babel/preset-typescript": "^7.26.0",
95
+ "@babel/preset-typescript": "^7.27.0",
96
96
  "@rollup/plugin-commonjs": "^28.0.3",
97
97
  "@rollup/plugin-json": "^6.1.0",
98
98
  "@rollup/plugin-node-resolve": "^16.0.1",
99
- "@storybook/addon-essentials": "^8.6.7",
99
+ "@storybook/addon-essentials": "^8.6.9",
100
100
  "@storybook/addon-webpack5-compiler-babel": "^3.0.5",
101
- "@storybook/react": "^8.6.7",
102
- "@storybook/react-webpack5": "^8.6.7",
103
- "@types/node": "^22.13.10",
104
- "@types/react": "^19.0.11",
101
+ "@storybook/react": "^8.6.9",
102
+ "@storybook/react-webpack5": "^8.6.9",
103
+ "@types/node": "^22.13.13",
104
+ "@types/react": "^19.0.12",
105
105
  "@types/react-dom": "^19.0.4",
106
106
  "@types/react-lottie": "^1.2.10",
107
- "@typescript-eslint/eslint-plugin": "^8.26.1",
108
- "@typescript-eslint/parser": "^8.26.1",
107
+ "@typescript-eslint/eslint-plugin": "^8.28.0",
108
+ "@typescript-eslint/parser": "^8.28.0",
109
109
  "babel-loader": "^10.0.0",
110
110
  "babel-plugin-styled-components": "^2.1.4",
111
- "eslint": "^9.22.0",
111
+ "eslint": "^9.23.0",
112
112
  "eslint-plugin-react": "^7.37.4",
113
113
  "eslint-plugin-storybook": "^0.11.6",
114
114
  "html-webpack-plugin": "^5.6.3",
115
115
  "postcss": "^8.5.3",
116
- "rollup": "^4.36.0",
116
+ "rollup": "^4.37.0",
117
117
  "rollup-plugin-postcss": "^4.0.2",
118
118
  "rollup-plugin-typescript2": "^0.36.0",
119
- "storybook": "^8.6.7",
119
+ "storybook": "^8.6.9",
120
120
  "typescript": "^5.8.2"
121
121
  }
122
122
  }
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import Theme from './theme.js';
3
-
4
- const VmLogo = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
- const theme = Theme.useTheme();
6
- const fill = f || theme.text.secondary;
7
- return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 14 14', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
8
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7 7.00016V12.5418M7 7.00016L1.94814 4.30969M7 7.00016L12.0519 4.30969M7 12.5418C7.12674 12.5418 7.25347 12.5291 7.37812 12.5037C7.65987 12.4463 7.92489 12.2996 8.45492 12.0063L10.7951 10.7111C11.3251 10.4177 11.5901 10.2711 11.7829 10.0659C11.9534 9.8843 12.0822 9.6704 12.161 9.43804C12.25 9.17542 12.25 8.88207 12.25 8.29536V5.70497C12.25 5.11826 12.25 4.82491 12.161 4.56229C12.1315 4.47526 12.095 4.39081 12.0519 4.30969M7 12.5418C6.87326 12.5418 6.74653 12.5291 6.62188 12.5037C6.34013 12.4463 6.07511 12.2996 5.54508 12.0063L3.20492 10.7111C2.67489 10.4177 2.40987 10.2711 2.21713 10.0659C2.04659 9.8843 1.91777 9.6704 1.83901 9.43804C1.75 9.17542 1.75 8.88207 1.75 8.29536V5.70497C1.75 5.11826 1.75 4.82491 1.83901 4.56229C1.86851 4.47526 1.90503 4.39081 1.94814 4.30969M12.0519 4.30969C11.9799 4.17423 11.8895 4.04802 11.7829 3.93447C11.5901 3.72926 11.3251 3.58258 10.7951 3.28923L8.45492 1.99404C7.92489 1.70068 7.65987 1.554 7.37812 1.49659C7.12882 1.4458 6.87117 1.4458 6.62188 1.49659C6.34013 1.554 6.07511 1.70068 5.54508 1.99404L3.20492 3.28923C2.67489 3.58258 2.40987 3.72926 2.21713 3.93447C2.11047 4.04802 2.02013 4.17423 1.94814 4.30969' })));
9
- };
10
-
11
- const ActionsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
12
- const theme = Theme.useTheme();
13
- const fill = f || theme.text.secondary;
14
- return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
15
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M4.03577 5.58623L7.87311 2.57807C8.96507 1.72206 9.51105 1.29405 9.88484 1.33635C10.2084 1.37297 10.4931 1.58015 10.6428 1.88795C10.8158 2.24356 10.6404 2.94122 10.2895 4.33655L9.99556 5.50565C9.85509 6.06426 9.78486 6.34357 9.83323 6.58606C9.87578 6.79937 9.9806 6.99284 10.1327 7.13876C10.3056 7.30464 10.5677 7.37948 11.0919 7.52916L11.432 7.62628C12.4401 7.91412 12.9442 8.05804 13.1457 8.35103C13.3209 8.60578 13.3771 8.93198 13.2982 9.23643C13.2074 9.58657 12.7841 9.91181 11.9376 10.5623L8.16976 13.4575C7.08454 14.2914 6.54192 14.7083 6.16999 14.6636C5.84799 14.6248 5.56547 14.4171 5.41715 14.1101C5.24584 13.7555 5.41898 13.0669 5.76527 11.6898L6.02808 10.6446C6.16855 10.0859 6.23878 9.80664 6.19041 9.56415C6.14786 9.35085 6.04304 9.15737 5.89096 9.01146C5.71807 8.84557 5.45596 8.77073 4.93173 8.62105L4.55326 8.51299C3.55574 8.22817 3.05698 8.08576 2.8556 7.79472C2.68046 7.5416 2.62311 7.21724 2.6998 6.91357C2.78798 6.5644 3.20391 6.23834 4.03577 5.58623Z' })));
16
- };
17
-
18
- const DestinationsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
19
- const theme = Theme.useTheme();
20
- const fill = f || theme.text.secondary;
21
- return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
22
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7.9999 14.0999C11.3688 14.0999 14.0999 11.3688 14.0999 7.9999C14.0999 4.63096 11.3688 1.8999 7.9999 1.8999C4.63096 1.8999 1.8999 4.63096 1.8999 7.9999C1.8999 11.3688 4.63096 14.0999 7.9999 14.0999Z' }),
23
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7.99984 11.3332C9.84077 11.3332 11.3332 9.84077 11.3332 7.99984C11.3332 6.15889 9.84077 4.6665 7.99984 4.6665C6.15889 4.6665 4.6665 6.15889 4.6665 7.99984C4.6665 9.84077 6.15889 11.3332 7.99984 11.3332Z' }),
24
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8.6665 7.99984C8.6665 8.36804 8.36804 8.6665 7.99984 8.6665C7.63164 8.6665 7.33317 8.36804 7.33317 7.99984C7.33317 7.63164 7.63164 7.33317 7.99984 7.33317C8.36804 7.33317 8.6665 7.63164 8.6665 7.99984Z' })));
25
- };
26
-
27
- const RulesIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
28
- const theme = Theme.useTheme();
29
- const fill = f || theme.text.secondary;
30
- return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
31
- React.createElement("path", { stroke: fill, strokeWidth: '1.2', strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M4.5 1.94059V1.94836M1.94111 4.49806V4.50583M1 7.99611V8.00389M1.94111 11.4942V11.5019M4.5 14.0516V14.0594M8 14.9922V15M11.5 14.0516V14.0594M14.0589 11.4942V11.5019M15 7.99611V8.00389M14.0589 4.49806V4.50583M11.5 1.94059V1.94836M8 1V1.00777' }),
32
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 8H8.01125M8 3.5L9.326 4.79876L11.182 4.81802L11.2012 6.674L12.5 8L11.2012 9.326L11.182 11.182L9.326 11.2012L8 12.5L6.674 11.2012L4.81802 11.182L4.79876 9.326L3.5 8L4.79876 6.674L4.81802 4.81802L6.674 4.79876L8 3.5Z' })));
33
- };
34
-
35
- const SourcesIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
36
- const theme = Theme.useTheme();
37
- const fill = f || theme.text.secondary;
38
- return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
39
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M13.3332 3.8V8M13.3332 3.8C13.3332 4.79411 10.9454 5.6 7.99984 5.6C5.05432 5.6 2.6665 4.79411 2.6665 3.8M13.3332 3.8C13.3332 2.80589 10.9454 2 7.99984 2C5.05432 2 2.6665 2.80589 2.6665 3.8M13.3332 8V12.0875C13.3332 13.1437 10.9454 14 7.99984 14C5.05432 14 2.6665 13.1437 2.6665 12.0875V8M13.3332 8C13.3332 8.99413 10.9454 9.8 7.99984 9.8C5.05432 9.8 2.6665 8.99413 2.6665 8M2.6665 8V3.8M10.6665 7.33333H10.6732M10.6665 11.3333H10.6732' })));
40
- };
41
-
42
- export { ActionsIcon as A, DestinationsIcon as D, RulesIcon as R, SourcesIcon as S, VmLogo as V };