@odigos/ui-kit 0.0.23 → 0.0.25

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 (328) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +3 -2
  3. package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +9 -0
  4. package/lib/components/auto-complete-input/index.d.ts +2 -0
  5. package/lib/components/badge/badge.stories.d.ts +13 -0
  6. package/lib/components/button/button.stories.d.ts +9 -0
  7. package/lib/components/cancel-warning/cancel-warning.stories.d.ts +9 -0
  8. package/lib/components/checkbox/checkbox.stories.d.ts +9 -0
  9. package/lib/components/code/code.stories.d.ts +9 -0
  10. package/lib/components/condition-details/condition-details.stories.d.ts +14 -0
  11. package/lib/components/data-card/data-card-fields/index.d.ts +8 -7
  12. package/lib/components/data-card/data-card.stories.d.ts +11 -0
  13. package/lib/components/data-card/index.d.ts +3 -3
  14. package/lib/components/data-tab/data-tab.stories.d.ts +15 -0
  15. package/lib/components/delete-warning/delete-warning.stories.d.ts +9 -0
  16. package/lib/components/describe-row/describe-row.stories.d.ts +9 -0
  17. package/lib/components/divider/divider.stories.d.ts +9 -0
  18. package/lib/components/docs-button/docs-button.stories.d.ts +9 -0
  19. package/lib/components/drawer/drawer.stories.d.ts +10 -0
  20. package/lib/components/dropdown/dropdown.stories.d.ts +10 -0
  21. package/lib/components/error-boundary/error-boundary.stories.d.ts +9 -0
  22. package/lib/components/extend-arrow/extend-arrow.stories.d.ts +9 -0
  23. package/lib/components/fade-loader/fade-loader.stories.d.ts +9 -0
  24. package/lib/components/field-error/field-error.stories.d.ts +9 -0
  25. package/lib/components/field-label/field-label.stories.d.ts +9 -0
  26. package/lib/components/header/header.stories.d.ts +9 -0
  27. package/lib/components/icon-button/icon-button.stories.d.ts +9 -0
  28. package/lib/components/icon-group/icon-group.stories.d.ts +16 -0
  29. package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +9 -0
  30. package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +10 -0
  31. package/lib/components/icons-nav/icons-nav.stories.d.ts +9 -0
  32. package/lib/components/image-controlled/image-controlled.stories.d.ts +9 -0
  33. package/lib/components/index.d.ts +1 -0
  34. package/lib/components/input/input.stories.d.ts +9 -0
  35. package/lib/components/input-list/input-list.stories.d.ts +9 -0
  36. package/lib/components/input-table/input-table.stories.d.ts +9 -0
  37. package/lib/components/interactive-table/interactive-table.stories.d.ts +12 -0
  38. package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +9 -0
  39. package/lib/components/modal/modal.stories.d.ts +9 -0
  40. package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +9 -0
  41. package/lib/components/monitors-icons/monitors-icons.stories.d.ts +9 -0
  42. package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +9 -0
  43. package/lib/components/no-data-found/no-data-found.stories.d.ts +9 -0
  44. package/lib/components/notification-note/index.d.ts +2 -1
  45. package/lib/components/notification-note/notification-note.stories.d.ts +10 -0
  46. package/lib/components/scroll-x/scroll-x.stories.d.ts +10 -0
  47. package/lib/components/section-title/section-title.stories.d.ts +9 -0
  48. package/lib/components/segment/segment.stories.d.ts +9 -0
  49. package/lib/{containers/data-flow-actions-menu → components}/selection-button/index.d.ts +3 -3
  50. package/lib/components/selection-button/selection-button.stories.d.ts +9 -0
  51. package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +9 -0
  52. package/lib/components/status/status.stories.d.ts +9 -0
  53. package/lib/components/stepper/stepper.stories.d.ts +9 -0
  54. package/lib/components/styled.d.ts +2 -0
  55. package/lib/components/text/text.stories.d.ts +9 -0
  56. package/lib/components/textarea/textarea.stories.d.ts +9 -0
  57. package/lib/components/toggle/toggle.stories.d.ts +9 -0
  58. package/lib/components/tooltip/tooltip.stories.d.ts +11 -0
  59. package/lib/components/trace-loader/trace-loader.stories.d.ts +9 -0
  60. package/lib/components/warning-modal/warning-modal.stories.d.ts +9 -0
  61. package/lib/components.js +12 -11
  62. package/lib/constants/destinations/index.d.ts +18 -0
  63. package/lib/constants/index.d.ts +1 -0
  64. package/lib/constants/strings/index.d.ts +56 -10
  65. package/lib/constants.js +4 -4
  66. package/lib/containers/action-drawer/action-drawer.stories.d.ts +9 -0
  67. package/lib/containers/action-drawer/build-card.d.ts +1 -7
  68. package/lib/containers/action-form/action-form.stories.d.ts +9 -0
  69. package/lib/containers/action-modal/action-modal.stories.d.ts +9 -0
  70. package/lib/containers/action-table/action-table.stories.d.ts +9 -0
  71. package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +9 -0
  72. package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +9 -0
  73. package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +9 -0
  74. package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +9 -0
  75. package/lib/containers/data-flow/data-flow.stories.d.ts +9 -0
  76. package/lib/containers/data-flow-actions-menu/data-flow-actions-menu.stories.d.ts +11 -0
  77. package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +6 -0
  78. package/lib/containers/data-flow-actions-menu/index.d.ts +2 -1
  79. package/lib/containers/data-stream-selection-form/data-stream-selection-form.stories.d.ts +9 -0
  80. package/lib/containers/data-stream-selection-form/index.d.ts +12 -0
  81. package/lib/containers/destination-drawer/build-card.d.ts +1 -7
  82. package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +9 -0
  83. package/lib/containers/destination-drawer/index.d.ts +2 -5
  84. package/lib/containers/destination-form/destination-form.stories.d.ts +9 -0
  85. package/lib/containers/destination-form/index.d.ts +2 -5
  86. package/lib/containers/destination-form/test-connection/index.d.ts +4 -8
  87. package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +2 -1
  88. package/lib/containers/destination-modal/choose-destination/index.d.ts +3 -3
  89. package/lib/containers/destination-modal/destination-modal.stories.d.ts +9 -0
  90. package/lib/containers/destination-modal/index.d.ts +3 -5
  91. package/lib/containers/destination-selection-form/destination-list/index.d.ts +6 -0
  92. package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +9 -0
  93. package/lib/containers/destination-selection-form/index.d.ts +6 -9
  94. package/lib/containers/destination-table/destination-table.stories.d.ts +9 -0
  95. package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +9 -0
  96. package/lib/containers/dropdowns/connection-type-dropdown/connection-type-dropdown.stories.d.ts +9 -0
  97. package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +9 -0
  98. package/lib/containers/dropdowns/error-dropdown/index.d.ts +2 -0
  99. package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +9 -0
  100. package/lib/containers/dropdowns/kind-dropdown/index.d.ts +2 -0
  101. package/lib/containers/dropdowns/language-dropdown/index.d.ts +2 -0
  102. package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +9 -0
  103. package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +9 -0
  104. package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +2 -0
  105. package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +9 -0
  106. package/lib/containers/index.d.ts +3 -0
  107. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +1 -7
  108. package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +9 -0
  109. package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +9 -0
  110. package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +9 -0
  111. package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +9 -0
  112. package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +9 -0
  113. package/lib/containers/notification-manager/notification-manager.stories.d.ts +9 -0
  114. package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +9 -0
  115. package/lib/containers/setup-summary/index.d.ts +7 -0
  116. package/lib/containers/setup-summary/setup-summary.stories.d.ts +9 -0
  117. package/lib/containers/side-nav/side-nav.stories.d.ts +9 -0
  118. package/lib/containers/slack-invite/slack-invite.stories.d.ts +9 -0
  119. package/lib/containers/source-drawer/build-card.d.ts +1 -6
  120. package/lib/containers/source-drawer/source-drawer.stories.d.ts +9 -0
  121. package/lib/containers/source-form/source-form.stories.d.ts +9 -0
  122. package/lib/containers/source-modal/index.d.ts +3 -5
  123. package/lib/containers/source-modal/source-modal.stories.d.ts +9 -0
  124. package/lib/containers/source-selection-form/index.d.ts +4 -5
  125. package/lib/containers/source-selection-form/source-list/index.d.ts +8 -0
  126. package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +9 -0
  127. package/lib/containers/source-table/source-table.stories.d.ts +9 -0
  128. package/lib/containers/system-overview/system-overview.stories.d.ts +9 -0
  129. package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +9 -0
  130. package/lib/containers/toast-list/toast-list.stories.d.ts +9 -0
  131. package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +9 -0
  132. package/lib/containers.js +598 -476
  133. package/lib/functions/filter-destinations-by-stream/index.d.ts +2 -0
  134. package/lib/functions/filter-sources-by-stream/index.d.ts +2 -0
  135. package/lib/functions/index.d.ts +3 -0
  136. package/lib/functions/map-exported-signals/index.d.ts +2 -0
  137. package/lib/functions.js +7 -11
  138. package/lib/hooks/useSourceFormData.d.ts +1 -1
  139. package/lib/hooks/useSourceSelectionFormData.d.ts +9 -17
  140. package/lib/hooks.js +5 -6
  141. package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +8 -0
  142. package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +8 -0
  143. package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +8 -0
  144. package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +8 -0
  145. package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +8 -0
  146. package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +8 -0
  147. package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +8 -0
  148. package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +8 -0
  149. package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +8 -0
  150. package/lib/icons/common/code-icon/code-icon.stories.d.ts +8 -0
  151. package/lib/icons/common/command-icon/command-icon.stories.d.ts +8 -0
  152. package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +8 -0
  153. package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +8 -0
  154. package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +8 -0
  155. package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +8 -0
  156. package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +8 -0
  157. package/lib/icons/common/image-error-icon/image-error-icon.stories.d.ts +8 -0
  158. package/lib/icons/common/key-icon/key-icon.stories.d.ts +8 -0
  159. package/lib/icons/common/list-icon/list-icon.stories.d.ts +8 -0
  160. package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +8 -0
  161. package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +8 -0
  162. package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +8 -0
  163. package/lib/icons/common/search-icon/search-icon.stories.d.ts +8 -0
  164. package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +8 -0
  165. package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +8 -0
  166. package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +8 -0
  167. package/lib/icons/common/x-icon/x-icon.stories.d.ts +8 -0
  168. package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +8 -0
  169. package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +8 -0
  170. package/lib/icons/destinations/alauda-logo/alauda-logo.stories.d.ts +8 -0
  171. package/lib/icons/destinations/alibaba-cloud-logo/alibaba-cloud-logo.stories.d.ts +8 -0
  172. package/lib/icons/destinations/app-dynamics-logo/app-dynamics-logo.stories.d.ts +8 -0
  173. package/lib/icons/destinations/aws-cloudwatch-logo/aws-cloudwatch-logo.stories.d.ts +8 -0
  174. package/lib/icons/destinations/aws-s3-logo/aws-s3-logo.stories.d.ts +8 -0
  175. package/lib/icons/destinations/aws-xray-logo/aws-xray-logo.stories.d.ts +8 -0
  176. package/lib/icons/destinations/axiom-logo/axiom-logo.stories.d.ts +8 -0
  177. package/lib/icons/destinations/better-stack-logo/better-stack-logo.stories.d.ts +8 -0
  178. package/lib/icons/destinations/blob-storage-logo/blob-storage-logo.stories.d.ts +8 -0
  179. package/lib/icons/destinations/bonree-logo/bonree-logo.stories.d.ts +8 -0
  180. package/lib/icons/destinations/causely-logo/causely-logo.stories.d.ts +8 -0
  181. package/lib/icons/destinations/checkly-logo/checkly-logo.stories.d.ts +8 -0
  182. package/lib/icons/destinations/chronosphere-logo/chronosphere-logo.stories.d.ts +8 -0
  183. package/lib/icons/destinations/clickhouse-logo/clickhouse-logo.stories.d.ts +8 -0
  184. package/lib/icons/destinations/coralogix-logo/coralogix-logo.stories.d.ts +8 -0
  185. package/lib/icons/destinations/dash0-logo/dash0-logo.stories.d.ts +8 -0
  186. package/lib/icons/destinations/datadog-logo/datadog-logo.stories.d.ts +8 -0
  187. package/lib/icons/destinations/dynatrace-logo/dynatrace-logo.stories.d.ts +8 -0
  188. package/lib/icons/destinations/elastic-apm-logo/elastic-apm-logo.stories.d.ts +8 -0
  189. package/lib/icons/destinations/elastic-search-logo/elastic-search-logo.stories.d.ts +8 -0
  190. package/lib/icons/destinations/gigapipe-logo/gigapipe-logo.stories.d.ts +8 -0
  191. package/lib/icons/destinations/google-cloud-platform-logo/google-cloud-platform-logo.stories.d.ts +8 -0
  192. package/lib/icons/destinations/google-cloud-storage-logo/google-cloud-storage-logo.stories.d.ts +8 -0
  193. package/lib/icons/destinations/grafana-logo/grafana-logo.stories.d.ts +8 -0
  194. package/lib/icons/destinations/greptime-logo/greptime-logo.stories.d.ts +8 -0
  195. package/lib/icons/destinations/groundcover-logo/groundcover-logo.stories.d.ts +8 -0
  196. package/lib/icons/destinations/honeycomb-logo/honeycomb-logo.stories.d.ts +8 -0
  197. package/lib/icons/destinations/hyperdx-logo/hyperdx-logo.stories.d.ts +8 -0
  198. package/lib/icons/destinations/index.d.ts +1 -0
  199. package/lib/icons/destinations/instana-logo/instana-logo.stories.d.ts +8 -0
  200. package/lib/icons/destinations/jaeger-logo/jaeger-logo.stories.d.ts +8 -0
  201. package/lib/icons/destinations/kafka-logo/kafka-logo.stories.d.ts +8 -0
  202. package/lib/icons/destinations/kloudmate-logo/kloudmate-logo.stories.d.ts +8 -0
  203. package/lib/icons/destinations/last9-logo/last9-logo.stories.d.ts +8 -0
  204. package/lib/icons/destinations/lightstep-logo/lightstep-logo.stories.d.ts +8 -0
  205. package/lib/icons/destinations/logzio-logo/logzio-logo.stories.d.ts +8 -0
  206. package/lib/icons/destinations/loki-logo/loki-logo.stories.d.ts +8 -0
  207. package/lib/icons/destinations/lumigo-logo/lumigo-logo.stories.d.ts +8 -0
  208. package/lib/icons/destinations/middleware-logo/middleware-logo.stories.d.ts +8 -0
  209. package/lib/icons/destinations/new-relic-logo/new-relic-logo.stories.d.ts +8 -0
  210. package/lib/icons/destinations/observe-logo/observe-logo.stories.d.ts +8 -0
  211. package/lib/icons/destinations/one-uptime-logo/one-uptime-logo.stories.d.ts +8 -0
  212. package/lib/icons/destinations/open-observe-logo/open-observe-logo.stories.d.ts +8 -0
  213. package/lib/icons/destinations/open-telemetry-logo/open-telemetry-logo.stories.d.ts +8 -0
  214. package/lib/icons/destinations/ops-verse-logo/ops-verse-logo.stories.d.ts +8 -0
  215. package/lib/icons/destinations/oracle-logo/oracle-logo.stories.d.ts +8 -0
  216. package/lib/icons/destinations/prometheus-logo/prometheus-logo.stories.d.ts +8 -0
  217. package/lib/icons/destinations/qryn-logo/qryn-logo.stories.d.ts +8 -0
  218. package/lib/icons/destinations/quickwit-logo/quickwit-logo.stories.d.ts +8 -0
  219. package/lib/icons/destinations/sentry-logo/sentry-logo.stories.d.ts +8 -0
  220. package/lib/icons/destinations/seq-logo/seq-logo.stories.d.ts +8 -0
  221. package/lib/icons/destinations/signoz-logo/signoz-logo.stories.d.ts +8 -0
  222. package/lib/icons/destinations/splunk-logo/splunk-logo.stories.d.ts +8 -0
  223. package/lib/icons/destinations/sumo-logic-logo/sumo-logic-logo.stories.d.ts +8 -0
  224. package/lib/icons/destinations/telemetry-hub-logo/telemetry-hub-logo.stories.d.ts +8 -0
  225. package/lib/icons/destinations/tempo-logo/tempo-logo.stories.d.ts +8 -0
  226. package/lib/icons/destinations/tingyun-logo/tingyun-logo.stories.d.ts +8 -0
  227. package/lib/icons/destinations/traceloop-logo/traceloop-logo.stories.d.ts +8 -0
  228. package/lib/icons/destinations/uptrace-logo/uptrace-logo.stories.d.ts +8 -0
  229. package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +2 -0
  230. package/lib/icons/destinations/victoria-metrics-logo/victoria-metrics-logo.stories.d.ts +8 -0
  231. package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +8 -0
  232. package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +8 -0
  233. package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +8 -0
  234. package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +8 -0
  235. package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +8 -0
  236. package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +8 -0
  237. package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +8 -0
  238. package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +8 -0
  239. package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +8 -0
  240. package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +8 -0
  241. package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +8 -0
  242. package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +8 -0
  243. package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +8 -0
  244. package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +8 -0
  245. package/lib/icons/overview/connections-icon/connections-icon.stories.d.ts +8 -0
  246. package/lib/icons/overview/data-streams-icon/data-streams-icon.stories.d.ts +8 -0
  247. package/lib/icons/overview/data-streams-icon/index.d.ts +2 -0
  248. package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +8 -0
  249. package/lib/icons/overview/index.d.ts +1 -0
  250. package/lib/icons/overview/namespaces-icon/namespaces-icon.stories.d.ts +8 -0
  251. package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +8 -0
  252. package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +8 -0
  253. package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +8 -0
  254. package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +8 -0
  255. package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +8 -0
  256. package/lib/icons/programming-languages/c-plus-plus-logo/c-plus-plus-logo.stories.d.ts +8 -0
  257. package/lib/icons/programming-languages/c-sharp-logo/c-sharp-logo.stories.d.ts +8 -0
  258. package/lib/icons/programming-languages/dotnet-logo/dotnet-logo.stories.d.ts +8 -0
  259. package/lib/icons/programming-languages/elixir-logo/elixir-logo.stories.d.ts +8 -0
  260. package/lib/icons/programming-languages/go-logo/go-logo.stories.d.ts +8 -0
  261. package/lib/icons/programming-languages/java-logo/java-logo.stories.d.ts +8 -0
  262. package/lib/icons/programming-languages/mysql-logo/mysql-logo.stories.d.ts +8 -0
  263. package/lib/icons/programming-languages/nginx-logo/nginx-logo.stories.d.ts +8 -0
  264. package/lib/icons/programming-languages/nodejs-logo/nodejs-logo.stories.d.ts +8 -0
  265. package/lib/icons/programming-languages/php-logo/php-logo.stories.d.ts +8 -0
  266. package/lib/icons/programming-languages/postgres-logo/postgres-logo.stories.d.ts +8 -0
  267. package/lib/icons/programming-languages/python-logo/python-logo.stories.d.ts +8 -0
  268. package/lib/icons/programming-languages/redis-logo/redis-logo.stories.d.ts +8 -0
  269. package/lib/icons/programming-languages/ruby-logo/ruby-logo.stories.d.ts +8 -0
  270. package/lib/icons/programming-languages/rust-logo/rust-logo.stories.d.ts +8 -0
  271. package/lib/icons/programming-languages/swift-logo/swift-logo.stories.d.ts +8 -0
  272. package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +8 -0
  273. package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +8 -0
  274. package/lib/icons/status/check-icon/check-icon.stories.d.ts +8 -0
  275. package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +8 -0
  276. package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +8 -0
  277. package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +8 -0
  278. package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +8 -0
  279. package/lib/icons/status/info-icon/info-icon.stories.d.ts +8 -0
  280. package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +8 -0
  281. package/lib/icons.js +5 -4
  282. package/lib/{index-C48Fe7Pl.js → index-BOkleuyi.js} +32 -5
  283. package/lib/{index-CksKgOxY.js → index-BRW_Nl-n.js} +7 -1
  284. package/lib/{index-C7Y1tYdc.js → index-C0N2DFBu.js} +1 -1
  285. package/lib/{index-BfUUVS8N.js → index-C2m4uddS.js} +2 -2
  286. package/lib/{index-DiTtXTRm.js → index-CK8tITRA.js} +25 -2
  287. package/lib/index-CTdoDQzG.js +36 -0
  288. package/lib/index-CWbxXTof.js +11 -0
  289. package/lib/{index-BKyIuPoq.js → index-CYUrArTm.js} +125 -164
  290. package/lib/{index-KOMAv-TS.js → index-CamnKrev.js} +8 -8
  291. package/lib/index-DE7A6Q_i.js +25 -0
  292. package/lib/index-Dqief9td.js +20 -0
  293. package/lib/{index-D3sp5Hx7.js → index-HOKGoci6.js} +93 -3
  294. package/lib/{index-BsH_egEe.js → index-IKusBlIE.js} +55 -17
  295. package/lib/{data → mock-data}/sources/index.d.ts +1 -0
  296. package/lib/snippets/add-button/index.d.ts +7 -0
  297. package/lib/snippets/edit-button/index.d.ts +7 -0
  298. package/lib/snippets/index.d.ts +3 -0
  299. package/lib/snippets/note-back-to-summary/index.d.ts +6 -0
  300. package/lib/snippets/note-back-to-summary/note-back-to-summary.stories.d.ts +9 -0
  301. package/lib/snippets.js +17 -0
  302. package/lib/store/index.d.ts +1 -0
  303. package/lib/store/useDataStreamStore.d.ts +16 -0
  304. package/lib/store/useSetupStore.d.ts +10 -24
  305. package/lib/store.js +1 -1
  306. package/lib/theme.js +1 -1
  307. package/lib/types/actions/index.d.ts +2 -0
  308. package/lib/types/data-streams/index.d.ts +3 -0
  309. package/lib/types/destinations/index.d.ts +16 -2
  310. package/lib/types/index.d.ts +1 -0
  311. package/lib/types/namespaces/index.d.ts +13 -0
  312. package/lib/types/sources/index.d.ts +4 -1
  313. package/lib/types.js +2 -0
  314. package/lib/{useSourceSelectionFormData-CrKof314.js → useSourceSelectionFormData-Bxm0NBIy.js} +61 -102
  315. package/lib/{useTransition-D0ykOLrk.js → useTransition-DvT5YNul.js} +2 -2
  316. package/package.json +8 -2
  317. package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +0 -8
  318. package/lib/containers/destination-selection-form/configured-list/index.d.ts +0 -5
  319. package/lib/containers/source-selection-form/controls/index.d.ts +0 -7
  320. package/lib/containers/source-selection-form/list/index.d.ts +0 -9
  321. package/lib/index-C_0J5P9M.js +0 -45
  322. /package/lib/{data → mock-data}/actions/index.d.ts +0 -0
  323. /package/lib/{data → mock-data}/describe/index.d.ts +0 -0
  324. /package/lib/{data → mock-data}/destinations/index.d.ts +0 -0
  325. /package/lib/{data → mock-data}/index.d.ts +0 -0
  326. /package/lib/{data → mock-data}/instrumentation-rules/index.d.ts +0 -0
  327. /package/lib/{data → mock-data}/namespaces/index.d.ts +0 -0
  328. /package/lib/{data → mock-data}/tokens/index.d.ts +0 -0
@@ -1,16 +1,16 @@
1
- import React, { useState, useRef, forwardRef, useEffect, createElement, useCallback, useMemo, Fragment } from 'react';
2
- import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages, EntityTypes } from './types.js';
3
- import './index-DiTtXTRm.js';
4
- import styled, { css } from 'styled-components';
1
+ import React, { useState, useEffect, useRef, forwardRef, createElement, useCallback, useMemo, Fragment } from 'react';
5
2
  import Theme from './theme.js';
6
- import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString } from './index-BfUUVS8N.js';
3
+ import styled, { css } from 'styled-components';
4
+ import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, P as PlusIcon, T as TrashIcon, A as ArrowIcon } from './index-BJxaoI0G.js';
5
+ import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages } from './types.js';
7
6
  import { s as safeJsonParse, i as isEmpty } from './index-BZS1ijMm.js';
8
- import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, T as TrashIcon, P as PlusIcon, A as ArrowIcon } from './index-BJxaoI0G.js';
9
- import { M as MONITORS_OPTIONS } from './index-D3sp5Hx7.js';
10
- import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-D0ykOLrk.js';
11
- import ReactDOM from 'react-dom';
7
+ import { M as MONITORS_OPTIONS, B as BUTTON_TEXTS } from './index-HOKGoci6.js';
8
+ import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString } from './index-C2m4uddS.js';
9
+ import './index-CK8tITRA.js';
10
+ import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-DvT5YNul.js';
12
11
  import { I as ImageErrorIcon } from './index-DGel4E-Z.js';
13
- import { I as InfoIcon } from './index-BsH_egEe.js';
12
+ import ReactDOM from 'react-dom';
13
+ import { I as InfoIcon } from './index-IKusBlIE.js';
14
14
 
15
15
  const TextWrapper$2 = styled.div `
16
16
  color: ${({ $color, theme }) => $color || theme.text.secondary};
@@ -28,6 +28,7 @@ const Text = ({ children, color, size, weight, align, family, opacity, decoratio
28
28
 
29
29
  const AutocompleteContainer = styled.div `
30
30
  position: relative;
31
+ width: 100%;
31
32
  `;
32
33
  const InputWrapper$2 = styled.div `
33
34
  width: calc(100% - 16px);
@@ -129,6 +130,9 @@ const SubOptionsList = styled.ul `
129
130
  width: 100%;
130
131
  `;
131
132
  const filterOptions = (optionsList, input) => {
133
+ if (!input) {
134
+ return optionsList;
135
+ }
132
136
  return optionsList.reduce((acc, option) => {
133
137
  if (option.items) {
134
138
  const filteredSubItems = filterOptions(option.items, input);
@@ -142,11 +146,12 @@ const filterOptions = (optionsList, input) => {
142
146
  return acc;
143
147
  }, []);
144
148
  };
145
- const AutocompleteInput = ({ placeholder = 'Type to search...', options, selectedOption, onOptionSelect, style, disabled, ...props }) => {
146
- const [query, setQuery] = useState(selectedOption?.label || '');
147
- const [filteredOptions, setFilteredOptions] = useState(filterOptions(options, ''));
149
+ const AutocompleteInput = ({ placeholder = 'Type to search...', options, selectedOption, onOptionSelect, defaultText, onTextChange, style, disabled, ...props }) => {
150
+ const [query, setQuery] = useState(selectedOption?.label || defaultText || '');
151
+ const [filteredOptions, setFilteredOptions] = useState(filterOptions(options, query));
148
152
  const [showOptions, setShowOptions] = useState(false);
149
153
  const [activeIndex, setActiveIndex] = useState(-1);
154
+ useEffect(() => setFilteredOptions(filterOptions(options, query)), [options]);
150
155
  const Icon = selectedOption?.icon;
151
156
  const handleChange = (e) => {
152
157
  e.stopPropagation();
@@ -154,12 +159,15 @@ const AutocompleteInput = ({ placeholder = 'Type to search...', options, selecte
154
159
  const filtered = filterOptions(options, input);
155
160
  const matched = filtered.length === 1 && filtered[0].label === input ? filtered[0] : undefined;
156
161
  setQuery(input);
162
+ onTextChange?.(input);
157
163
  setFilteredOptions(filtered);
158
164
  handleOptionClick(matched);
159
165
  };
160
166
  const handleOptionClick = (option) => {
161
- if (!!option)
167
+ if (option) {
162
168
  setQuery(option.label);
169
+ onTextChange?.(option.label);
170
+ }
163
171
  setShowOptions(!option);
164
172
  onOptionSelect?.(option);
165
173
  };
@@ -173,7 +181,7 @@ const AutocompleteInput = ({ placeholder = 'Type to search...', options, selecte
173
181
  React.createElement(InputWrapper$2, null,
174
182
  Icon && React.createElement(Icon, null),
175
183
  React.createElement(StyledInput$1, { type: 'text', value: query, placeholder: placeholder, onChange: handleChange, onKeyDown: handleKeyDown, disabled: disabled, onBlur: () => !disabled && setShowOptions(false), onFocus: () => !disabled && setShowOptions(true), ...props })),
176
- showOptions && (React.createElement(OptionsList, null, filteredOptions.map((option, index) => (React.createElement(OptionItem, { key: option.type || option.label, option: option, onClick: handleOptionClick })))))));
184
+ showOptions && filteredOptions.length ? (React.createElement(OptionsList, null, filteredOptions.map((option) => (React.createElement(OptionItem, { key: option.type || option.label, option: option, onClick: handleOptionClick }))))) : null));
177
185
  };
178
186
  const OptionItem = ({ option, renderIcon = true, onClick }) => {
179
187
  const hasSubItems = !!option.items && option.items.length > 0;
@@ -251,11 +259,11 @@ const variantStyles = {
251
259
  color: ${({ theme }) => theme.colors.secondary};
252
260
  &:hover {
253
261
  border: 1px solid ${({ theme }) => theme.text.darker_grey};
254
- background: ${({ theme }) => theme.colors.primary + Theme.opacity.hex['080']};
262
+ background: ${({ theme }) => theme.colors.secondary + Theme.opacity.hex['010']};
255
263
  }
256
264
  &:active {
257
265
  border: 1px solid ${({ theme }) => theme.text.dark_grey};
258
- background: ${({ theme }) => theme.colors.primary + Theme.opacity.hex['060']};
266
+ background: ${({ theme }) => theme.colors.secondary + Theme.opacity.hex['015']};
259
267
  }
260
268
  `,
261
269
  tertiary: css `
@@ -289,7 +297,7 @@ const variantStyles = {
289
297
  }
290
298
  `,
291
299
  };
292
- const StyledButton$2 = styled.button `
300
+ const StyledButton$3 = styled.button `
293
301
  height: 36px;
294
302
  border-radius: 32px;
295
303
  cursor: pointer;
@@ -323,24 +331,13 @@ const StyledButton$2 = styled.button `
323
331
  const Button$4 = ({ children, variant = 'primary', onClick, ...props }) => {
324
332
  const ref = useRef(null);
325
333
  return (React.createElement(Container$u, { "$variant": variant },
326
- React.createElement(StyledButton$2, { ref: ref, "$variant": variant, onClick: (e) => {
334
+ React.createElement(StyledButton$3, { ref: ref, "$variant": variant, onClick: (e) => {
327
335
  if (onClick)
328
336
  onClick(e);
329
337
  ref.current?.blur();
330
338
  }, ...props }, children)));
331
339
  };
332
340
 
333
- const CancelWarning = ({ isOpen, noOverlay, name, onApprove, onDeny }) => {
334
- return (React.createElement(WarningModal, { isOpen: isOpen, noOverlay: noOverlay, title: `Cancel${name ? ` ${name}` : ''}`, description: 'Are you sure you want to cancel?', approveButton: {
335
- text: 'Confirm',
336
- variant: StatusType.Warning,
337
- onClick: onApprove,
338
- }, denyButton: {
339
- text: 'Go Back',
340
- onClick: onDeny,
341
- } }));
342
- };
343
-
344
341
  const FlexRow = styled.div `
345
342
  display: flex;
346
343
  flex-direction: row;
@@ -350,7 +347,6 @@ const FlexRow = styled.div `
350
347
  const FlexColumn = styled.div `
351
348
  display: flex;
352
349
  flex-direction: column;
353
- align-items: flex-start;
354
350
  gap: ${({ $gap = 2 }) => $gap}px;
355
351
  `;
356
352
  const CenterThis = styled(FlexColumn) `
@@ -358,6 +354,12 @@ const CenterThis = styled(FlexColumn) `
358
354
  align-items: center;
359
355
  justify-content: center;
360
356
  `;
357
+ const VerticalScroll = styled.div `
358
+ display: flex;
359
+ flex-direction: column;
360
+ padding: 12px;
361
+ overflow-y: scroll;
362
+ `;
361
363
  const Overlay = styled.div `
362
364
  position: fixed;
363
365
  top: 0;
@@ -371,8 +373,10 @@ const Overlay = styled.div `
371
373
  // note: add-destinations does not use this (yet), because it has a custom sidebar
372
374
  const ModalBody = styled.div `
373
375
  width: 640px;
376
+ min-height: ${({ $minHeight }) => $minHeight || 'unset'};
374
377
  height: ${({ $isNotModal }) => ($isNotModal ? 'fit-content' : 'calc(100vh - 350px)')};
375
378
  margin: ${({ $isNotModal }) => ($isNotModal ? '64px 0 0 0' : '64px 7vw 32px 7vw')};
379
+ padding: 0 2px;
376
380
  overflow-y: scroll;
377
381
  `;
378
382
  // common styles for focused-table containers
@@ -3870,83 +3874,74 @@ function cssValue(value) {
3870
3874
  const fade = createAnimation('FadeLoader', '50% {opacity: 0.3} 100% {opacity: 1}', 'fade');
3871
3875
  const FadeLoader = ({ loading = true, color: clr, scale = 1, speedMultiplier = 1, cssOverride = {}, style = {}, ...additionalprops }) => {
3872
3876
  const theme = Theme.useTheme();
3877
+ const color = clr || theme.text.secondary;
3873
3878
  if (!loading)
3874
3879
  return null;
3875
- const color = clr || theme.text.secondary;
3876
- const height = 4, width = 1.5, radius = 2, margin = 2;
3877
- const { value } = parseLengthAndUnit(margin);
3878
- const radiusValue = value + 4.2, quarter = radiusValue / 2 + radiusValue / 5.5;
3880
+ const { value } = parseLengthAndUnit(2);
3881
+ const radiusValue = value + 4.2;
3882
+ const quarter = radiusValue / 2 + radiusValue / 5.5;
3883
+ const widthAndHeight = radiusValue * 4 * scale;
3879
3884
  const wrapper = {
3880
- display: 'inherit',
3881
3885
  position: 'relative',
3882
- fontSize: '0',
3883
- top: radiusValue * scale,
3884
- left: radiusValue * scale,
3885
- width: `${radiusValue * 3}px`,
3886
- height: `${radiusValue * 3}px`,
3886
+ width: `${widthAndHeight}px`,
3887
+ height: `${widthAndHeight}px`,
3887
3888
  scale,
3888
3889
  ...style,
3889
3890
  ...cssOverride,
3890
3891
  };
3891
- const styles = (i) => {
3892
+ const styles = (i, r) => {
3892
3893
  return {
3893
3894
  position: 'absolute',
3894
- width: cssValue(width),
3895
- height: cssValue(height),
3896
- margin: cssValue(margin),
3895
+ width: cssValue(1.5),
3896
+ height: cssValue(4),
3897
+ borderRadius: cssValue(2),
3897
3898
  backgroundColor: color,
3898
- borderRadius: cssValue(radius),
3899
3899
  transition: '2s',
3900
3900
  animationFillMode: 'both',
3901
3901
  animation: `${fade} ${1.2 / speedMultiplier}s ${i * 0.12}s infinite ease-in-out`,
3902
+ transform: `translate(-50%, -50%) rotate(${r}deg)`,
3902
3903
  };
3903
3904
  };
3904
3905
  return (React.createElement("span", { style: wrapper, ...additionalprops },
3905
3906
  React.createElement("span", { style: {
3906
- ...styles(1),
3907
- top: `${radiusValue}px`,
3908
- left: '0',
3907
+ ...styles(1, 0),
3908
+ top: `calc(50% + ${radiusValue}px)`,
3909
+ left: '50%',
3909
3910
  } }),
3910
3911
  React.createElement("span", { style: {
3911
- ...styles(2),
3912
- top: `${quarter}px`,
3913
- left: `${quarter}px`,
3914
- transform: 'rotate(-45deg)',
3912
+ ...styles(2, -45),
3913
+ top: `calc(50% + ${quarter}px)`,
3914
+ left: `calc(50% + ${quarter}px)`,
3915
3915
  } }),
3916
3916
  React.createElement("span", { style: {
3917
- ...styles(3),
3918
- top: '0',
3919
- left: `${radiusValue}px`,
3920
- transform: 'rotate(90deg)',
3917
+ ...styles(3, 90),
3918
+ top: '50%',
3919
+ left: `calc(50% + ${radiusValue}px)`,
3921
3920
  } }),
3922
3921
  React.createElement("span", { style: {
3923
- ...styles(4),
3924
- top: `${ -1 * quarter}px`,
3925
- left: `${quarter}px`,
3926
- transform: 'rotate(45deg)',
3922
+ ...styles(4, 45),
3923
+ top: `calc(50% + ${ -1 * quarter}px)`,
3924
+ left: `calc(50% + ${quarter}px)`,
3927
3925
  } }),
3928
3926
  React.createElement("span", { style: {
3929
- ...styles(5),
3930
- top: `${ -1 * radiusValue}px`,
3931
- left: '0',
3927
+ ...styles(5, 0),
3928
+ top: `calc(50% + ${ -1 * radiusValue}px)`,
3929
+ left: '50%',
3932
3930
  } }),
3933
3931
  React.createElement("span", { style: {
3934
- ...styles(6),
3935
- top: `${ -1 * quarter}px`,
3936
- left: `${ -1 * quarter}px`,
3937
- transform: 'rotate(-45deg)',
3932
+ ...styles(6, -45),
3933
+ top: `calc(50% + ${ -1 * quarter}px)`,
3934
+ left: `calc(50% + ${ -1 * quarter}px)`,
3938
3935
  } }),
3939
3936
  React.createElement("span", { style: {
3940
- ...styles(7),
3941
- top: '0',
3942
- left: `${ -1 * radiusValue}px`,
3943
- transform: 'rotate(90deg)',
3937
+ ...styles(7, 90),
3938
+ top: '50%',
3939
+ left: `calc(50% + ${ -1 * radiusValue}px)`,
3944
3940
  } }),
3945
3941
  React.createElement("span", { style: {
3946
- ...styles(8),
3947
- top: `${quarter}px`,
3948
- left: `${ -1 * quarter}px`,
3949
- transform: 'rotate(45deg)',
3942
+ ...styles(8, 45),
3943
+ top: `calc(50% + ${quarter}px)`,
3944
+ left: `calc(50% + ${ -1 * quarter}px)`,
3950
3945
  } })));
3951
3946
  };
3952
3947
 
@@ -4578,7 +4573,7 @@ const CopyWrapper = styled(FlexRow) `
4578
4573
  }
4579
4574
  `;
4580
4575
  const DataCardFields = ({ data }) => {
4581
- return (React.createElement(ListContainer$3, null, data.map(({ type, title, tooltip, value }, idx) => (React.createElement(ListItem, { key: `data-field-${title || (!!value ? JSON.stringify(value) : idx)}`, "$width": !!type && [DataCardFieldTypes.Code, DataCardFieldTypes.Table].includes(type)
4576
+ return (React.createElement(ListContainer$3, null, data?.map(({ type, title, tooltip, value }, idx) => (React.createElement(ListItem, { key: `data-field-${title || (!!value ? JSON.stringify(value) : idx)}`, "$width": !!type && [DataCardFieldTypes.Code, DataCardFieldTypes.Table].includes(type)
4582
4577
  ? 'inherit'
4583
4578
  : !!type &&
4584
4579
  [
@@ -4725,7 +4720,7 @@ const ActionWrapper = styled(FlexRow) `
4725
4720
  margin-left: auto;
4726
4721
  gap: 8px;
4727
4722
  `;
4728
- const DataCard = ({ title = 'Details', titleBadge, description, action: Action, withExtend, data }) => {
4723
+ const DataCard = ({ title = 'Details', titleBadge, description, action: Action, withExtend, data, children }) => {
4729
4724
  const [extend, setExtend] = useState(false);
4730
4725
  const [hovered, setHovered] = useState(false);
4731
4726
  return (React.createElement(CardContainer, { "$hovered": hovered },
@@ -4737,28 +4732,10 @@ const DataCard = ({ title = 'Details', titleBadge, description, action: Action,
4737
4732
  typeof Action === 'function' ? React.createElement(Action, null) : Action,
4738
4733
  withExtend && React.createElement(ExtendArrow, { extend: false })))),
4739
4734
  !!description && React.createElement(Description$2, null, description))) : null,
4740
- (!withExtend || (withExtend && extend)) && React.createElement(DataCardFields, { data: data })));
4741
- };
4742
-
4743
- const DeleteWarning = ({ isOpen, noOverlay, name, type, isLastItem, onApprove, onDeny }) => {
4744
- const actionText = type === EntityTypes.Source ? 'uninstrument' : 'delete';
4745
- return (React.createElement(WarningModal, { isOpen: isOpen, noOverlay: noOverlay, title: `${actionText.charAt(0).toUpperCase() + actionText.substring(1)}${name ? ` ${name}` : ''}`, description: `Are you sure you want to ${actionText}?`, note: isLastItem
4746
- ? {
4747
- type: StatusType.Warning,
4748
- title: `You're about to ${actionText} the last ${type || name}`,
4749
- message: '',
4750
- }
4751
- : undefined, approveButton: {
4752
- text: 'Confirm',
4753
- variant: 'danger',
4754
- onClick: onApprove,
4755
- }, denyButton: {
4756
- text: 'Go Back',
4757
- onClick: onDeny,
4758
- } }));
4735
+ (!withExtend || (withExtend && extend)) && (children || React.createElement(DataCardFields, { data: data }))));
4759
4736
  };
4760
4737
 
4761
- const StyledButton$1 = styled(Button$4) `
4738
+ const StyledButton$2 = styled(Button$4) `
4762
4739
  display: flex;
4763
4740
  align-items: center;
4764
4741
  justify-content: center;
@@ -4768,7 +4745,7 @@ const StyledButton$1 = styled(Button$4) `
4768
4745
  `;
4769
4746
  const DOCS_LINK = 'https://docs.odigos.io';
4770
4747
  const DocsButton = ({ endpoint = '/', variant = 'secondary' }) => {
4771
- return (React.createElement(StyledButton$1, { variant: variant, onClick: () => window.open(`${DOCS_LINK}${endpoint}`, '_blank', 'noopener noreferrer') },
4748
+ return (React.createElement(StyledButton$2, { variant: variant, onClick: () => window.open(`${DOCS_LINK}${endpoint}`, '_blank', 'noopener noreferrer') },
4772
4749
  React.createElement(NotebookIcon, { size: 18 }),
4773
4750
  "Docs"));
4774
4751
  };
@@ -5327,6 +5304,13 @@ const IconsNav = ({ orientation = 'vertical', flip, mainIcons, subIcons }) => {
5327
5304
  React.createElement(Icon, { size: 20 })))))));
5328
5305
  };
5329
5306
 
5307
+ const AddButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
5308
+ const theme = Theme.useTheme();
5309
+ return (React.createElement(Button$4, { onClick: onClick, variant: variant, ...props },
5310
+ React.createElement(PlusIcon, { fill: variant === 'primary' ? theme.text.primary : theme.text.info }),
5311
+ React.createElement(Text, { size: 14, family: 'secondary', decoration: 'underline', color: variant === 'primary' ? theme.text.primary : undefined }, label || BUTTON_TEXTS.ADD)));
5312
+ };
5313
+
5330
5314
  const Container$c = styled.div `
5331
5315
  display: flex;
5332
5316
  flex-direction: column;
@@ -5348,23 +5332,6 @@ const DeleteButton$2 = styled.button `
5348
5332
  cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5349
5333
  opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5350
5334
  `;
5351
- const AddButton$2 = styled(Button$4) `
5352
- color: ${({ theme }) => theme.text.secondary};
5353
- background: transparent;
5354
- display: flex;
5355
- gap: 8px;
5356
- border: none;
5357
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5358
- align-self: flex-start;
5359
- opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5360
- transition: opacity 0.3s;
5361
- `;
5362
- const ButtonText$2 = styled(Text) `
5363
- font-size: 14px;
5364
- font-weight: 500;
5365
- font-family: ${({ theme }) => theme.font_family.secondary};
5366
- text-decoration-line: underline;
5367
- `;
5368
5335
  const INITIAL_ROW$1 = '';
5369
5336
  const InputList = ({ initialValues = [], value, onChange, title, tooltip, required, errorMessage }) => {
5370
5337
  const [rows, setRows] = useState(value || initialValues);
@@ -5422,9 +5389,7 @@ const InputList = ({ initialValues = [], value, onChange, title, tooltip, requir
5422
5389
  React.createElement(TrashIcon, null))));
5423
5390
  })),
5424
5391
  !!errorMessage && React.createElement(FieldError, null, errorMessage),
5425
- React.createElement(AddButton$2, { disabled: isAddButtonDisabled, variant: 'tertiary', onClick: handleAddInput },
5426
- React.createElement(PlusIcon, null),
5427
- React.createElement(ButtonText$2, null, "ADD ATTRIBUTE"))));
5392
+ React.createElement(AddButton, { onClick: handleAddInput, disabled: isAddButtonDisabled })));
5428
5393
  };
5429
5394
 
5430
5395
  const Container$b = styled.div `
@@ -5439,23 +5404,6 @@ const DeleteButton$1 = styled.button `
5439
5404
  cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5440
5405
  opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5441
5406
  `;
5442
- const AddButton$1 = styled(Button$4) `
5443
- color: ${({ theme }) => theme.text.secondary};
5444
- background: transparent;
5445
- display: flex;
5446
- gap: 8px;
5447
- border: none;
5448
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5449
- align-self: flex-start;
5450
- opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5451
- transition: opacity 0.3s;
5452
- `;
5453
- const ButtonText$1 = styled(Text) `
5454
- font-size: 14px;
5455
- font-weight: 500;
5456
- font-family: ${({ theme }) => theme.font_family.secondary};
5457
- text-decoration-line: underline;
5458
- `;
5459
5407
  const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage }) => {
5460
5408
  // INITIAL_ROW as state, because it's dynamic to the "columns" prop
5461
5409
  const [initialRow, setInitialRow] = useState({});
@@ -5528,9 +5476,7 @@ const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage
5528
5476
  } },
5529
5477
  React.createElement(TrashIcon, null)))))))),
5530
5478
  !!errorMessage && React.createElement(FieldError, null, errorMessage),
5531
- React.createElement(AddButton$1, { disabled: isAddButtonDisabled, variant: 'tertiary', onClick: handleAddRow },
5532
- React.createElement(PlusIcon, null),
5533
- React.createElement(ButtonText$1, null, "ADD ENDPOINT FILTER"))));
5479
+ React.createElement(AddButton, { onClick: handleAddRow, disabled: isAddButtonDisabled })));
5534
5480
  };
5535
5481
 
5536
5482
  const Container$a = styled.div `
@@ -5555,23 +5501,6 @@ const DeleteButton = styled.button `
5555
5501
  cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5556
5502
  opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5557
5503
  `;
5558
- const AddButton = styled(Button$4) `
5559
- color: ${({ theme }) => theme.text.secondary};
5560
- background: transparent;
5561
- display: flex;
5562
- gap: 8px;
5563
- border: none;
5564
- cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5565
- align-self: flex-start;
5566
- opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5567
- transition: opacity 0.3s;
5568
- `;
5569
- const ButtonText = styled(Text) `
5570
- font-size: 14px;
5571
- font-weight: 500;
5572
- font-family: ${({ theme }) => theme.font_family.secondary};
5573
- text-decoration-line: underline;
5574
- `;
5575
5504
  const INITIAL_ROW = {
5576
5505
  key: '',
5577
5506
  value: '',
@@ -5634,9 +5563,7 @@ const KeyValueInputsList = ({ initialKeyValuePairs = [], value, onChange, title,
5634
5563
  } },
5635
5564
  React.createElement(TrashIcon, null)))))),
5636
5565
  !!errorMessage && React.createElement(FieldError, null, errorMessage),
5637
- React.createElement(AddButton, { disabled: isAddButtonDisabled, variant: 'tertiary', onClick: handleAddRow },
5638
- React.createElement(PlusIcon, null),
5639
- React.createElement(ButtonText, null, "ADD ATTRIBUTE"))));
5566
+ React.createElement(AddButton, { onClick: handleAddRow, disabled: isAddButtonDisabled })));
5640
5567
  };
5641
5568
 
5642
5569
  const Container$9 = styled.div `
@@ -5787,7 +5714,7 @@ const ButtonsContainer = styled.div `
5787
5714
  gap: 8px;
5788
5715
  align-items: center;
5789
5716
  `;
5790
- const StyledButton = styled(Button$4) `
5717
+ const StyledButton$1 = styled(Button$4) `
5791
5718
  display: flex;
5792
5719
  align-items: center;
5793
5720
  justify-content: center;
@@ -5803,7 +5730,7 @@ const NavigationButtons = ({ buttons }) => {
5803
5730
  return button.icon ? (React.createElement(button.icon, { size: 14, rotate: rotate, fill: theme.text[button.variant || 'secondary'] })) : button.iconSrc ? (React.createElement("img", { src: button.iconSrc, alt: button.label, width: 8, height: 12 })) : null;
5804
5731
  };
5805
5732
  return (React.createElement(ButtonsContainer, null, buttons.map((btn, index) => (React.createElement(Tooltip, { key: index, text: btn.tooltip || '' },
5806
- React.createElement(StyledButton, { key: index, variant: btn.variant || 'secondary', onClick: btn.onClick, disabled: btn.disabled },
5733
+ React.createElement(StyledButton$1, { key: index, variant: btn.variant || 'secondary', onClick: btn.onClick, disabled: btn.disabled },
5807
5734
  shouldRenderBackButton({ button: btn, index }) && renderButton({ button: btn, rotate: 0 }),
5808
5735
  btn.label,
5809
5736
  !shouldRenderBackButton({ button: btn, index }) && renderButton({ button: btn, rotate: 180 })))))));
@@ -5867,7 +5794,7 @@ const ActionButton = styled(Text) `
5867
5794
  transition: transform 0.3s;
5868
5795
  }
5869
5796
  `;
5870
- const NotificationNote = ({ type, title, message, action, onClose, duration = 5000, overrideMaxWidth, style }) => {
5797
+ const NotificationNote = ({ type, icon, title, message, action, onClose, duration = 5000, overrideMaxWidth, style }) => {
5871
5798
  const theme = Theme.useTheme();
5872
5799
  // These are for handling transitions:
5873
5800
  // isLeaving - to trigger the slide-out animation
@@ -5901,7 +5828,7 @@ const NotificationNote = ({ type, title, message, action, onClose, duration = 50
5901
5828
  progress.current.style.animationPlayState = 'running';
5902
5829
  }
5903
5830
  };
5904
- const StatusIcon = getStatusIcon(type, theme);
5831
+ const StatusIcon = icon || getStatusIcon(type, theme);
5905
5832
  return (React.createElement(Container$8, { className: onClose ? 'animated' : '', "$duration": duration, "$isLeaving": isLeaving, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave },
5906
5833
  React.createElement(Content$2, { "data-id": 'toast', "$type": type, style: style },
5907
5834
  React.createElement(StatusIcon, { fill: theme.text[type] }),
@@ -6009,6 +5936,40 @@ const Segment = ({ options = [], selected, setSelected }) => {
6009
5936
  React.createElement(Background, { "$bgColor": bgColor, "$width": bgSize.width, "$height": bgSize.height, "$x": bgPosition.x, "$y": bgPosition.y, "$isFirstItem": selectedIdx === 0, "$isLastItem": selectedIdx === options.length - 1 })));
6010
5937
  };
6011
5938
 
5939
+ const StyledButton = styled(Button$4) `
5940
+ gap: 8px;
5941
+ text-transform: none;
5942
+ text-decoration: none;
5943
+ border: ${({ theme, $withBorder }) => `1px solid ${$withBorder ? theme.colors.border : 'transparent'}`};
5944
+ &.not-selected {
5945
+ background-color: ${({ theme, $color }) => $color || theme.colors.dropdown_bg_2 + Theme.opacity.hex['060']};
5946
+ &:hover {
5947
+ background-color: ${({ theme, $hoverColor }) => $hoverColor || theme.colors.dropdown_bg_2};
5948
+ }
5949
+ }
5950
+ &.selected {
5951
+ background-color: ${({ theme }) => theme.colors.majestic_blue + Theme.opacity.hex['030']};
5952
+ }
5953
+ `;
5954
+ const TextLimited = styled(Text) `
5955
+ white-space: nowrap;
5956
+ overflow: hidden;
5957
+ text-overflow: ellipsis;
5958
+ font-size: 14px;
5959
+ `;
5960
+ const SelectionButton = ({ label, onClick, icon: Icon, iconSrc, badgeLabel, badgeFilled, isSelected, withBorder, color, hoverColor, style }) => {
5961
+ const theme = Theme.useTheme();
5962
+ return (React.createElement(StyledButton, { onClick: onClick, className: isSelected ? 'selected' : 'not-selected', "$withBorder": withBorder, "$color": color, "$hoverColor": hoverColor, style: style },
5963
+ Icon && (React.createElement("div", null,
5964
+ React.createElement(Icon, { fill: theme.text.info }))),
5965
+ iconSrc && (React.createElement("div", null,
5966
+ React.createElement("img", { src: iconSrc, alt: '', width: 16, height: 16 }))),
5967
+ React.createElement(TextLimited, null, label),
5968
+ isSelected && (React.createElement("div", null,
5969
+ React.createElement(CheckIcon, { fill: theme.colors.majestic_blue_soft }))),
5970
+ badgeLabel !== undefined && React.createElement(Badge, { label: badgeLabel, filled: badgeFilled || isSelected })));
5971
+ };
5972
+
6012
5973
  const Container$5 = styled.div `
6013
5974
  display: flex;
6014
5975
  flex-direction: column;
@@ -28877,4 +28838,4 @@ const WarningModal = ({ isOpen, noOverlay, title = '', description = '', note, a
28877
28838
  React.createElement(FooterButton, { "data-id": 'deny', variant: denyButton.variant || 'secondary', onClick: onDeny }, denyButton.text)))));
28878
28839
  };
28879
28840
 
28880
- export { FlexRow as $, AutocompleteInput as A, Button$4 as B, CancelWarning as C, DataCard as D, ExtendArrow as E, FadeLoader as F, MonitorsIcons as G, Header as H, IconButton as I, NoDataFound as J, KeyValueInputsList as K, NotificationNote as L, Modal as M, NavigationButtons as N, SectionTitle as O, Segment as P, SkeletonLoader as Q, Status as R, ScrollX as S, ToggleCodeComponent as T, Stepper as U, Text as V, TextArea as W, Toggle as X, Tooltip as Y, TraceLoader as Z, WarningModal as _, Badge as a, FlexColumn as a0, CenterThis as a1, Overlay as a2, ModalBody as a3, TableContainer as a4, TableTitleWrap as a5, TableWrap as a6, getDefaultExportFromCjs as a7, Checkbox as b, Code as c, ConditionDetails as d, DataCardFields as e, DataCardFieldTypes as f, DataTab as g, DeleteWarning as h, Divider as i, DocsButton as j, Drawer as k, DrawerHeader as l, DrawerFooter as m, Dropdown as n, FieldError as o, FieldLabel as p, IconGroup as q, IconTitleBadge as r, IconWrapped as s, IconsNav as t, ImageControlled as u, Input as v, InputList as w, InputTable as x, InteractiveTable as y, MonitorsCheckboxes as z };
28841
+ export { FlexRow as $, AddButton as A, Button$4 as B, Checkbox as C, DataCard as D, ExtendArrow as E, FadeLoader as F, NoDataFound as G, Header as H, IconButton as I, NotificationNote as J, KeyValueInputsList as K, SectionTitle as L, Modal as M, NavigationButtons as N, Segment as O, SelectionButton as P, SkeletonLoader as Q, Status as R, ScrollX as S, ToggleCodeComponent as T, Stepper as U, Text as V, TextArea as W, Toggle as X, Tooltip as Y, TraceLoader as Z, WarningModal as _, AutocompleteInput as a, FlexColumn as a0, CenterThis as a1, VerticalScroll as a2, Overlay as a3, ModalBody as a4, TableContainer as a5, TableTitleWrap as a6, TableWrap as a7, getDefaultExportFromCjs as a8, Badge as b, Code as c, ConditionDetails as d, DataCardFields as e, DataCardFieldTypes as f, DataTab as g, Divider as h, DocsButton as i, Drawer as j, DrawerHeader as k, DrawerFooter as l, Dropdown as m, FieldError as n, FieldLabel as o, IconGroup as p, IconTitleBadge as q, IconWrapped as r, IconsNav as s, ImageControlled as t, Input as u, InputList as v, InputTable as w, InteractiveTable as x, MonitorsCheckboxes as y, MonitorsIcons as z };
@@ -21,13 +21,6 @@ const OdigosLogoText = ({ size = 16, fill: f, rotate = 0, onClick }) => {
21
21
  React.createElement("path", { d: 'M36.6756 64.0307C43.4071 64.0307 48.8641 58.5737 48.8641 51.8422C48.8641 45.1108 43.4071 39.6538 36.6756 39.6538C29.9441 39.6538 24.4872 45.1108 24.4872 51.8422C24.4872 58.5737 29.9441 64.0307 36.6756 64.0307Z' }))));
22
22
  };
23
23
 
24
- const EditIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
25
- const theme = Theme.useTheme();
26
- const fill = f || theme.text.secondary;
27
- 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 },
28
- React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 14C10.6787 11.8171 10.7261 16.2383 14 12.6667M2 13.997L3.81777 13.9999C4.07739 14.0003 4.2072 14.0005 4.32937 13.9712C4.43769 13.9452 4.54125 13.9022 4.63623 13.8438C4.74337 13.778 4.83516 13.6858 5.01874 13.5014L13.6676 4.81451C14.021 4.4596 14.1088 3.91087 13.8396 3.47722C13.5142 2.95298 13.0691 2.50221 12.5511 2.16754C12.136 1.8993 11.5908 1.95805 11.2417 2.30864L2.53993 11.0487C2.36296 11.2264 2.27447 11.3153 2.21029 11.4188C2.15338 11.5105 2.11072 11.6104 2.08378 11.7151C2.05341 11.8331 2.05031 11.9588 2.04411 12.2101L2 13.997Z' })));
29
- };
30
-
31
24
  const FilterIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
32
25
  const theme = Theme.useTheme();
33
26
  const fill = f || theme.text.secondary;
@@ -66,6 +59,13 @@ const OverviewIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
66
59
  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' })));
67
60
  };
68
61
 
62
+ const DataStreamsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
63
+ const theme = Theme.useTheme();
64
+ const fill = f || theme.text.secondary;
65
+ 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 },
66
+ React.createElement("path", { stroke: fill || '#7A7A7A', strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M4 6.66602H12C12.6213 6.66602 12.9319 6.66602 13.1769 6.56452C13.5036 6.4292 13.7632 6.16963 13.8985 5.84293C14 5.5979 14 5.28727 14 4.66602C14 4.04476 14 3.73413 13.8985 3.4891C13.7632 3.1624 13.5036 2.90283 13.1769 2.76751C12.9319 2.66602 12.6213 2.66602 12 2.66602H4C3.37874 2.66602 3.06812 2.66602 2.82309 2.76751C2.49638 2.90283 2.23682 3.1624 2.10149 3.4891C2 3.73413 2 4.04476 2 4.66602C2 5.28727 2 5.5979 2.10149 5.84293C2.23682 6.16963 2.49638 6.4292 2.82309 6.56452C3.06812 6.66602 3.37874 6.66602 4 6.66602ZM4 6.66602L4 7.99935C4 9.8403 5.49238 11.3327 7.33333 11.3327H8.66667M8.66667 11.3327C8.66667 11.9539 8.66667 12.2646 8.76816 12.5096C8.90349 12.8363 9.16305 13.0959 9.48976 13.2312C9.73478 13.3327 10.0454 13.3327 10.6667 13.3327H12C12.6213 13.3327 12.9319 13.3327 13.1769 13.2312C13.5036 13.0959 13.7632 12.8363 13.8985 12.5096C14 12.2646 14 11.9539 14 11.3327C14 10.7114 14 10.4008 13.8985 10.1558C13.7632 9.82907 13.5036 9.5695 13.1769 9.43418C12.9319 9.33268 12.6213 9.33268 12 9.33268H10.6667C10.0454 9.33268 9.73478 9.33268 9.48976 9.43418C9.16305 9.5695 8.90349 9.82907 8.76816 10.1558C8.66667 10.4008 8.66667 10.7114 8.66667 11.3327Z' })));
67
+ };
68
+
69
69
  const SlackLogo = ({ size = 16, fill, rotate = 0, onClick }) => {
70
70
  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 },
71
71
  React.createElement("g", { fillRule: 'evenodd', clipRule: 'evenodd' },
@@ -82,4 +82,4 @@ const CrossCircledIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
82
82
  React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M6.75049 10.0005L8.75049 8.00049M8.75049 8.00049L10.7505 6.00049M8.75049 8.00049L6.75049 6.00049M8.75049 8.00049L10.7505 10.0005M8.75039 14.1004C5.38145 14.1004 2.65039 11.3693 2.65039 8.00039C2.65039 4.63145 5.38145 1.90039 8.75039 1.90039C12.1193 1.90039 14.8504 4.63145 14.8504 8.00039C14.8504 11.3693 12.1193 14.1004 8.75039 14.1004Z' })));
83
83
  };
84
84
 
85
- export { CrossCircledIcon as C, EditIcon as E, FilterIcon as F, KeyIcon as K, NotificationIcon as N, OdigosLogoText as O, SlackLogo as S, TerminalIcon as T, OverviewIcon as a };
85
+ export { CrossCircledIcon as C, DataStreamsIcon as D, FilterIcon as F, KeyIcon as K, NotificationIcon as N, OdigosLogoText as O, SlackLogo as S, TerminalIcon as T, OverviewIcon as a };
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import Theme from './theme.js';
3
+ import { E as EditIcon } from './index-CWbxXTof.js';
4
+ import { B as BUTTON_TEXTS, D as DISPLAY_TITLES } from './index-HOKGoci6.js';
5
+ import { B as Button, V as Text, J as NotificationNote } from './index-CYUrArTm.js';
6
+ import { StatusType } from './types.js';
7
+ import './index-CK8tITRA.js';
8
+ import 'styled-components';
9
+ import { I as InfoIcon } from './index-IKusBlIE.js';
10
+
11
+ const EditButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
12
+ const theme = Theme.useTheme();
13
+ return (React.createElement(Button, { onClick: onClick, variant: variant, ...props },
14
+ React.createElement(EditIcon, { fill: variant === 'primary' ? theme.text.primary : theme.text.info }),
15
+ React.createElement(Text, { size: 14, family: 'secondary', decoration: 'underline', color: variant === 'primary' ? theme.text.primary : undefined }, label || BUTTON_TEXTS.EDIT)));
16
+ };
17
+
18
+ const NoteBackToSummary = ({ onClick }) => {
19
+ return (React.createElement(NotificationNote, { type: StatusType.Default, icon: InfoIcon, message: DISPLAY_TITLES.QUICK_BACK_TO_SUMMARY, action: {
20
+ label: DISPLAY_TITLES.GO_TO_SUMMARY,
21
+ onClick: onClick,
22
+ } }));
23
+ };
24
+
25
+ export { EditButton as E, NoteBackToSummary as N };
@@ -0,0 +1,20 @@
1
+ const DESTINATION_CATEGORIES = {
2
+ DETECTED: {
3
+ TITLE: 'Detected by Odigos',
4
+ DESCRIPTION: 'Odigos found these destinations in your cluster and pre-filled their details. Review and enable them to start sending data.',
5
+ },
6
+ EXISTS: {
7
+ TITLE: 'Already configured',
8
+ DESCRIPTION: 'These are destinations that you have already configured in other data-streams and can reuse them.',
9
+ },
10
+ MANAGED: {
11
+ TITLE: 'Managed',
12
+ DESCRIPTION: 'Effortless monitoring with scalable performance management.',
13
+ },
14
+ SELF_HOSTED: {
15
+ TITLE: 'Self-hosted',
16
+ DESCRIPTION: 'Full control and customization for advanced application monitoring.',
17
+ },
18
+ };
19
+
20
+ export { DESTINATION_CATEGORIES as D };