@odigos/ui-kit 0.0.9 → 0.0.11-1.patch-dev.361

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 (563) hide show
  1. package/.devcontainer/README.md +26 -0
  2. package/.devcontainer/devcontainer.json +21 -0
  3. package/CHANGELOG.md +862 -0
  4. package/README.md +3 -2
  5. package/VERSIONING.md +228 -0
  6. package/lib/chunks/ui-components-f51830d4.js +1605 -0
  7. package/lib/chunks/vendor-1dea551d.js +1 -0
  8. package/lib/components/auto-complete-input/index.d.ts +3 -0
  9. package/lib/components/badge/index.d.ts +2 -2
  10. package/lib/components/code/index.d.ts +1 -1
  11. package/lib/components/data-card/data-card-fields/index.d.ts +19 -19
  12. package/lib/components/data-card/index.d.ts +8 -6
  13. package/lib/components/data-finger/index.d.ts +12 -0
  14. package/lib/components/data-tab/index.d.ts +25 -10
  15. package/lib/components/delete-warning/index.d.ts +2 -2
  16. package/lib/components/describe-row/index.d.ts +2 -2
  17. package/lib/components/divider/index.d.ts +3 -2
  18. package/lib/components/drawer/drawer-footer/index.d.ts +3 -0
  19. package/lib/components/drawer/drawer-header/index.d.ts +7 -5
  20. package/lib/components/drawer/index.d.ts +2 -2
  21. package/lib/components/dropdown/index.d.ts +6 -2
  22. package/lib/components/error-boundary/index.d.ts +1 -2
  23. package/lib/components/field-error/index.d.ts +1 -2
  24. package/lib/components/field-label/index.d.ts +2 -0
  25. package/lib/components/icon-button/index.d.ts +2 -0
  26. package/lib/components/icon-group/index.d.ts +3 -2
  27. package/lib/components/icon-wrapped/index.d.ts +2 -2
  28. package/lib/components/index.d.ts +56 -48
  29. package/lib/components/input/index.d.ts +2 -1
  30. package/lib/components/input-table/index.d.ts +4 -11
  31. package/lib/components/input-table/map-columns-to-fields/index.d.ts +15 -0
  32. package/lib/components/input-table/types.d.ts +15 -0
  33. package/lib/components/interactive-table/index.d.ts +9 -8
  34. package/lib/components/interactive-table/table-row.d.ts +13 -0
  35. package/lib/components/key-value-input-list/index.d.ts +4 -0
  36. package/lib/components/monitors-checkboxes/index.d.ts +4 -4
  37. package/lib/components/monitors-icons/index.d.ts +2 -2
  38. package/lib/components/notification-note/index.d.ts +3 -2
  39. package/lib/components/popup/index.d.ts +18 -0
  40. package/lib/components/popup-form/index.d.ts +18 -0
  41. package/lib/components/scroll-x/index.d.ts +10 -0
  42. package/lib/components/segment/index.d.ts +8 -6
  43. package/lib/{containers/data-flow-actions-menu → components}/selection-button/index.d.ts +3 -3
  44. package/lib/components/status/index.d.ts +8 -5
  45. package/lib/components/stepper/index.d.ts +2 -1
  46. package/lib/components/styled.d.ts +33 -2
  47. package/lib/components/tab-list/index.d.ts +17 -0
  48. package/lib/components/tag/index.d.ts +9 -0
  49. package/lib/components/text/index.d.ts +16 -3
  50. package/lib/components/toggle/index.d.ts +2 -1
  51. package/lib/components/warning-modal/index.d.ts +2 -2
  52. package/lib/components.js +1 -173
  53. package/lib/constants/destinations/index.d.ts +18 -0
  54. package/lib/constants/index.d.ts +2 -0
  55. package/lib/constants/sources/index.d.ts +4 -0
  56. package/lib/constants/strings/index.d.ts +90 -0
  57. package/lib/constants.js +1 -13
  58. package/lib/containers/action-drawer/build-card.d.ts +1 -7
  59. package/lib/containers/action-drawer/index.d.ts +2 -2
  60. package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +2 -2
  61. package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +2 -2
  62. package/lib/containers/action-form/custom-fields/error-sampler.d.ts +2 -2
  63. package/lib/containers/action-form/custom-fields/index.d.ts +3 -3
  64. package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +2 -2
  65. package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +2 -2
  66. package/lib/containers/action-form/custom-fields/pii-masking.d.ts +2 -2
  67. package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +2 -2
  68. package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +2 -2
  69. package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +5 -0
  70. package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +5 -0
  71. package/lib/containers/await-pipeline/index.d.ts +1 -2
  72. package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +7 -1
  73. package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +7 -1
  74. package/lib/containers/data-flow/helpers/build-edges.d.ts +2 -2
  75. package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +7 -1
  76. package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
  77. package/lib/containers/data-flow/index.d.ts +2 -2
  78. package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +2 -3
  79. package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +9 -0
  80. package/lib/containers/data-flow-actions-menu/filters/index.d.ts +2 -8
  81. package/lib/containers/data-flow-actions-menu/index.d.ts +5 -6
  82. package/lib/containers/data-flow-actions-menu/search/index.d.ts +3 -2
  83. package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +3 -3
  84. package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -1
  85. package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -1
  86. package/lib/containers/data-stream-drawer/index.d.ts +10 -0
  87. package/lib/containers/data-stream-form/index.d.ts +9 -0
  88. package/lib/containers/data-stream-modal/index.d.ts +4 -0
  89. package/lib/containers/data-stream-selection-form/index.d.ts +13 -0
  90. package/lib/containers/destination-drawer/build-card.d.ts +1 -7
  91. package/lib/containers/destination-drawer/index.d.ts +2 -5
  92. package/lib/containers/destination-form/dynamic-fields/index.d.ts +2 -1
  93. package/lib/containers/destination-form/index.d.ts +2 -5
  94. package/lib/containers/destination-form/test-connection/index.d.ts +5 -10
  95. package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +3 -1
  96. package/lib/containers/destination-modal/choose-destination/index.d.ts +5 -5
  97. package/lib/containers/destination-modal/index.d.ts +5 -6
  98. package/lib/containers/destination-selection-form/destination-list/index.d.ts +8 -0
  99. package/lib/containers/destination-selection-form/index.d.ts +5 -9
  100. package/lib/containers/dropdowns/{connection-type-dropdown → condition-dropdown}/index.d.ts +5 -5
  101. package/lib/containers/dropdowns/error-dropdown/index.d.ts +2 -0
  102. package/lib/containers/dropdowns/index.d.ts +6 -7
  103. package/lib/containers/dropdowns/kind-dropdown/index.d.ts +2 -0
  104. package/lib/containers/dropdowns/language-dropdown/index.d.ts +2 -0
  105. package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +2 -3
  106. package/lib/containers/index.d.ts +38 -33
  107. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -8
  108. package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +5 -0
  109. package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +5 -0
  110. package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
  111. package/lib/containers/instrumentation-rule-form/index.d.ts +1 -1
  112. package/lib/containers/multi-source-control/index.d.ts +2 -0
  113. package/lib/containers/notification-manager/index.d.ts +1 -2
  114. package/lib/containers/overview-drawer/index.d.ts +10 -4
  115. package/lib/containers/service-map/helpers/build-edges.d.ts +10 -0
  116. package/lib/containers/service-map/helpers/build-map-nodes.d.ts +11 -0
  117. package/lib/containers/service-map/helpers/generate-dag-positions.d.ts +5 -0
  118. package/lib/containers/service-map/helpers/generate-spiral-grid-position.d.ts +2 -0
  119. package/lib/containers/service-map/index.d.ts +8 -0
  120. package/lib/containers/setup-summary/index.d.ts +10 -0
  121. package/lib/containers/side-nav/index.d.ts +8 -8
  122. package/lib/containers/slack-invite/index.d.ts +1 -2
  123. package/lib/containers/source-drawer/build-card.d.ts +1 -6
  124. package/lib/containers/source-drawer/describe/index.d.ts +1 -1
  125. package/lib/containers/source-drawer/index.d.ts +7 -8
  126. package/lib/containers/source-drawer/libraries/index.d.ts +14 -0
  127. package/lib/containers/source-drawer/odigos-health/index.d.ts +6 -0
  128. package/lib/containers/source-modal/index.d.ts +3 -9
  129. package/lib/containers/source-selection-form/index.d.ts +4 -8
  130. package/lib/containers/source-selection-form/source-list/index.d.ts +8 -0
  131. package/lib/containers/system-overview/describe/index.d.ts +1 -1
  132. package/lib/containers/system-settings/index.d.ts +9 -0
  133. package/lib/containers/system-settings/settings/collector-gateway-settings.d.ts +4 -0
  134. package/lib/containers/system-settings/settings/collector-node-settings.d.ts +4 -0
  135. package/lib/containers/system-settings/settings/general-settings.d.ts +4 -0
  136. package/lib/containers/system-settings/settings/options.d.ts +5 -0
  137. package/lib/containers/system-settings/settings/rollback-settings.d.ts +4 -0
  138. package/lib/containers/system-settings/settings/styled.d.ts +8 -0
  139. package/lib/containers/system-settings/settings/types.d.ts +13 -0
  140. package/lib/containers/system-settings/settings/ui-settings.d.ts +4 -0
  141. package/lib/containers/table-cell-conditions/index.d.ts +1 -0
  142. package/lib/containers/toast-list/index.d.ts +1 -2
  143. package/lib/containers/toggle-dark-mode/index.d.ts +1 -2
  144. package/lib/containers/trace-view/build-spans.d.ts +2 -0
  145. package/lib/containers/trace-view/index.d.ts +9 -0
  146. package/lib/containers/trace-view/span/index.d.ts +38 -0
  147. package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +3 -0
  148. package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +3 -0
  149. package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +3 -0
  150. package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +3 -0
  151. package/lib/containers/trace-view/span-drawer/index.d.ts +9 -0
  152. package/lib/containers.js +285 -15711
  153. package/lib/functions/clean-object-empty-strings-values/index.d.ts +2 -1
  154. package/lib/functions/compare-condition/index.d.ts +3 -3
  155. package/lib/functions/filter-destinations-by-stream/index.d.ts +2 -0
  156. package/lib/functions/filter-sources-by-stream/index.d.ts +2 -0
  157. package/lib/functions/flatten-object-keys/index.d.ts +2 -1
  158. package/lib/functions/format-duration/index.d.ts +1 -0
  159. package/lib/functions/get-action-icon/index.d.ts +2 -2
  160. package/lib/functions/get-conditions-booleans/index.d.ts +6 -2
  161. package/lib/functions/get-destination-icon/index.d.ts +5 -1
  162. package/lib/functions/get-entity-icon/index.d.ts +2 -2
  163. package/lib/functions/get-entity-id/index.d.ts +2 -2
  164. package/lib/functions/get-entity-label/index.d.ts +2 -2
  165. package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
  166. package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
  167. package/lib/functions/get-main-container-language/index.d.ts +2 -0
  168. package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
  169. package/lib/functions/get-monitor-icon/index.d.ts +2 -2
  170. package/lib/functions/get-platform-icon/index.d.ts +2 -2
  171. package/lib/functions/get-platform-label/index.d.ts +2 -2
  172. package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
  173. package/lib/functions/get-recursive-values/index.d.ts +4 -0
  174. package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
  175. package/lib/functions/get-status-icon/index.d.ts +3 -2
  176. package/lib/functions/get-status-type-from-odigos-health/index.d.ts +2 -0
  177. package/lib/functions/get-yaml-fields-for-destination/index.d.ts +2 -0
  178. package/lib/functions/has-unhealthy-instances/index.d.ts +2 -0
  179. package/lib/functions/index.d.ts +15 -1
  180. package/lib/functions/is-legal-k8s-label/index.d.ts +1 -0
  181. package/lib/functions/is-string-a-boolean/index.d.ts +1 -0
  182. package/lib/functions/is-valid-version/index.d.ts +1 -0
  183. package/lib/functions/map-destination-fields-for-display/index.d.ts +6 -0
  184. package/lib/functions/map-exported-signals/index.d.ts +2 -0
  185. package/lib/functions/numbers-only/index.d.ts +1 -0
  186. package/lib/functions/parse-boolean-from-string/index.d.ts +1 -0
  187. package/lib/functions/remove-empty-values-from-object/index.d.ts +2 -1
  188. package/lib/functions/safe-json-parse/index.d.ts +2 -1
  189. package/lib/functions/safe-json-stringify/index.d.ts +2 -1
  190. package/lib/functions/split-camel-string/index.d.ts +1 -1
  191. package/lib/functions/stringify-non-string-values/index.d.ts +2 -1
  192. package/lib/functions.js +1 -115
  193. package/lib/hooks/index.d.ts +3 -0
  194. package/lib/hooks/useActionFormData.d.ts +2 -2
  195. package/lib/hooks/useDataStreamFormData.d.ts +12 -0
  196. package/lib/hooks/useDestinationFormData.d.ts +1 -1
  197. package/lib/hooks/useGenericForm.d.ts +3 -1
  198. package/lib/hooks/useInstrumentationRuleFormData.d.ts +3 -6
  199. package/lib/hooks/usePopup.d.ts +17 -0
  200. package/lib/hooks/useSessionStorage.d.ts +5 -0
  201. package/lib/hooks/useSourceFormData.d.ts +2 -5
  202. package/lib/hooks/useSourceSelectionFormData.d.ts +19 -20
  203. package/lib/hooks.js +1 -13
  204. package/lib/icons/actions/index.d.ts +5 -5
  205. package/lib/icons/brand/index.d.ts +2 -2
  206. package/lib/icons/common/avatar-icon/index.d.ts +2 -0
  207. package/lib/icons/common/edited-icon/index.d.ts +2 -0
  208. package/lib/icons/common/gear-icon/index.d.ts +2 -0
  209. package/lib/icons/common/index.d.ts +30 -20
  210. package/lib/icons/common/refresh-arrows-icon/index.d.ts +2 -0
  211. package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +2 -0
  212. package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +2 -0
  213. package/lib/icons/common/rotate-arrows-icon/index.d.ts +2 -0
  214. package/lib/icons/common/user-group-icon/index.d.ts +2 -0
  215. package/lib/icons/common/user-icon/index.d.ts +2 -0
  216. package/lib/icons/common/user-settings-icon/index.d.ts +2 -0
  217. package/lib/icons/compute-platform/index.d.ts +2 -2
  218. package/lib/icons/destinations/alauda-logo/index.d.ts +2 -0
  219. package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +2 -0
  220. package/lib/icons/destinations/app-dynamics-logo/index.d.ts +2 -0
  221. package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +2 -0
  222. package/lib/icons/destinations/aws-s3-logo/index.d.ts +2 -0
  223. package/lib/icons/destinations/aws-xray-logo/index.d.ts +2 -0
  224. package/lib/icons/destinations/axiom-logo/index.d.ts +2 -0
  225. package/lib/icons/destinations/better-stack-logo/index.d.ts +2 -0
  226. package/lib/icons/destinations/blob-storage-logo/index.d.ts +2 -0
  227. package/lib/icons/destinations/bonree-logo/index.d.ts +2 -0
  228. package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
  229. package/lib/icons/destinations/checkly-logo/index.d.ts +2 -0
  230. package/lib/icons/destinations/chronosphere-logo/index.d.ts +2 -0
  231. package/lib/icons/destinations/clickhouse-logo/index.d.ts +2 -0
  232. package/lib/icons/destinations/coralogix-logo/index.d.ts +2 -0
  233. package/lib/icons/destinations/dash0-logo/index.d.ts +2 -0
  234. package/lib/icons/destinations/datadog-logo/index.d.ts +2 -0
  235. package/lib/icons/destinations/dynatrace-logo/index.d.ts +2 -0
  236. package/lib/icons/destinations/elastic-apm-logo/index.d.ts +2 -0
  237. package/lib/icons/destinations/elastic-search-logo/index.d.ts +2 -0
  238. package/lib/icons/destinations/gigapipe-logo/index.d.ts +2 -0
  239. package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +2 -0
  240. package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +2 -0
  241. package/lib/icons/destinations/grafana-logo/index.d.ts +2 -0
  242. package/lib/icons/destinations/greptime-logo/index.d.ts +2 -0
  243. package/lib/icons/destinations/groundcover-logo/index.d.ts +2 -0
  244. package/lib/icons/destinations/honeycomb-logo/index.d.ts +2 -0
  245. package/lib/icons/destinations/hyperdx-logo/index.d.ts +2 -0
  246. package/lib/icons/destinations/index.d.ts +60 -0
  247. package/lib/icons/destinations/instana-logo/index.d.ts +2 -0
  248. package/lib/icons/destinations/jaeger-logo/index.d.ts +2 -0
  249. package/lib/icons/destinations/kloudmate-logo/index.d.ts +2 -0
  250. package/lib/icons/destinations/last9-logo/index.d.ts +2 -0
  251. package/lib/icons/destinations/lightstep-logo/index.d.ts +2 -0
  252. package/lib/icons/destinations/logzio-logo/index.d.ts +2 -0
  253. package/lib/icons/destinations/loki-logo/index.d.ts +2 -0
  254. package/lib/icons/destinations/lumigo-logo/index.d.ts +2 -0
  255. package/lib/icons/destinations/middleware-logo/index.d.ts +2 -0
  256. package/lib/icons/destinations/new-relic-logo/index.d.ts +2 -0
  257. package/lib/icons/destinations/observe-logo/index.d.ts +2 -0
  258. package/lib/icons/destinations/odigos-destination-logo/index.d.ts +2 -0
  259. package/lib/icons/destinations/one-uptime-logo/index.d.ts +2 -0
  260. package/lib/icons/destinations/open-observe-logo/index.d.ts +2 -0
  261. package/lib/icons/destinations/open-telemetry-logo/index.d.ts +2 -0
  262. package/lib/icons/destinations/ops-verse-logo/index.d.ts +2 -0
  263. package/lib/icons/destinations/oracle-logo/index.d.ts +2 -0
  264. package/lib/icons/destinations/prometheus-logo/index.d.ts +2 -0
  265. package/lib/icons/destinations/qryn-logo/index.d.ts +2 -0
  266. package/lib/icons/destinations/quickwit-logo/index.d.ts +2 -0
  267. package/lib/icons/destinations/sentry-logo/index.d.ts +2 -0
  268. package/lib/icons/destinations/seq-logo/index.d.ts +2 -0
  269. package/lib/icons/destinations/signoz-logo/index.d.ts +2 -0
  270. package/lib/icons/destinations/splunk-logo/index.d.ts +2 -0
  271. package/lib/icons/destinations/sumo-logic-logo/index.d.ts +2 -0
  272. package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +2 -0
  273. package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
  274. package/lib/icons/destinations/tingyun-logo/index.d.ts +2 -0
  275. package/lib/icons/destinations/traceloop-logo/index.d.ts +2 -0
  276. package/lib/icons/destinations/uptrace-logo/index.d.ts +2 -0
  277. package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +2 -0
  278. package/lib/icons/index.d.ts +1 -0
  279. package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +2 -0
  280. package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +2 -0
  281. package/lib/icons/instrumentation-rules/index.d.ts +4 -2
  282. package/lib/icons/math/index.d.ts +4 -2
  283. package/lib/icons/math/minus-circled-icon/index.d.ts +2 -0
  284. package/lib/icons/math/plus-circled-icon/index.d.ts +2 -0
  285. package/lib/icons/monitors/index.d.ts +3 -3
  286. package/lib/icons/on-off/index.d.ts +6 -6
  287. package/lib/icons/overview/data-streams-icon/index.d.ts +2 -0
  288. package/lib/icons/overview/index.d.ts +10 -8
  289. package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
  290. package/lib/icons/programming-languages/index.d.ts +0 -1
  291. package/lib/icons/social/index.d.ts +1 -1
  292. package/lib/icons/status/index.d.ts +8 -8
  293. package/lib/icons.js +1 -82
  294. package/lib/mock-data/config/index.d.ts +2 -0
  295. package/lib/{data → mock-data}/destinations/index.d.ts +1 -1
  296. package/lib/{data → mock-data}/index.d.ts +4 -0
  297. package/lib/mock-data/instrumentation-instances/index.d.ts +2 -0
  298. package/lib/mock-data/service-map/index.d.ts +2 -0
  299. package/lib/{data → mock-data}/sources/index.d.ts +8 -4
  300. package/lib/mock-data/traces/index.d.ts +2 -0
  301. package/lib/snippets/add-button/index.d.ts +8 -0
  302. package/lib/snippets/copy-text/index.d.ts +7 -0
  303. package/lib/snippets/edit-button/index.d.ts +7 -0
  304. package/lib/snippets/index.d.ts +7 -0
  305. package/lib/snippets/note-back-to-summary/index.d.ts +6 -0
  306. package/lib/snippets/pod-container/index.d.ts +5 -0
  307. package/lib/snippets/react-flow/edges/labeled-edge.d.ts +10 -0
  308. package/lib/{containers/data-flow → snippets/react-flow}/flow.d.ts +2 -0
  309. package/lib/snippets/react-flow/index.d.ts +13 -0
  310. package/lib/snippets/react-flow/nodes/add-node.d.ts +11 -0
  311. package/lib/snippets/react-flow/nodes/base-node.d.ts +21 -0
  312. package/lib/snippets/react-flow/nodes/edged-node.d.ts +9 -0
  313. package/lib/snippets/react-flow/nodes/frame-node.d.ts +9 -0
  314. package/lib/{containers/data-flow → snippets/react-flow}/nodes/header-node.d.ts +5 -5
  315. package/lib/snippets/react-flow/nodes/map-item-node.d.ts +12 -0
  316. package/lib/snippets/react-flow/nodes/no-data-node.d.ts +9 -0
  317. package/lib/snippets/react-flow/nodes/scroll-node.d.ts +15 -0
  318. package/lib/snippets/react-flow/nodes/skeleton-node.d.ts +8 -0
  319. package/lib/snippets/source-container/index.d.ts +7 -0
  320. package/lib/snippets/source-container/override-runtime.d.ts +9 -0
  321. package/lib/snippets.js +1 -0
  322. package/lib/store/index.d.ts +2 -0
  323. package/lib/store/useActiveNodeStore.d.ts +11 -0
  324. package/lib/store/useDarkMode.d.ts +5 -3
  325. package/lib/store/useDataStreamStore.d.ts +16 -0
  326. package/lib/store/useDrawerStore.d.ts +2 -2
  327. package/lib/store/useEntityStore.d.ts +8 -6
  328. package/lib/store/useFilterStore.d.ts +5 -2
  329. package/lib/store/usePendingStore.d.ts +2 -2
  330. package/lib/store/useSetupStore.d.ts +20 -26
  331. package/lib/store.js +1 -4
  332. package/lib/theme/index.d.ts +2 -3
  333. package/lib/theme/palletes/index.d.ts +2 -105
  334. package/lib/theme.js +1 -240
  335. package/lib/types/actions/index.d.ts +154 -68
  336. package/lib/types/common/index.d.ts +91 -76
  337. package/lib/types/config/index.d.ts +80 -0
  338. package/lib/types/data-flow/index.d.ts +17 -15
  339. package/lib/types/data-streams/index.d.ts +3 -0
  340. package/lib/types/describe/index.d.ts +7 -3
  341. package/lib/types/destinations/index.d.ts +89 -9
  342. package/lib/types/index.d.ts +5 -1
  343. package/lib/types/instrumentation-instances/index.d.ts +7 -0
  344. package/lib/types/instrumentation-rules/index.d.ts +65 -36
  345. package/lib/types/namespaces/index.d.ts +14 -0
  346. package/lib/types/service-map/index.d.ts +10 -0
  347. package/lib/types/signals/index.d.ts +5 -5
  348. package/lib/types/sources/index.d.ts +42 -20
  349. package/lib/types/traces/index.d.ts +38 -0
  350. package/lib/types.js +1 -166
  351. package/package.json +50 -40
  352. package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +0 -9
  353. package/lib/components/badge/badge.stories.d.ts +0 -13
  354. package/lib/components/button/button.stories.d.ts +0 -9
  355. package/lib/components/cancel-warning/cancel-warning.stories.d.ts +0 -9
  356. package/lib/components/checkbox/checkbox.stories.d.ts +0 -9
  357. package/lib/components/code/code.stories.d.ts +0 -9
  358. package/lib/components/condition-details/condition-details.stories.d.ts +0 -14
  359. package/lib/components/data-card/data-card.stories.d.ts +0 -10
  360. package/lib/components/data-tab/data-tab.stories.d.ts +0 -9
  361. package/lib/components/delete-warning/delete-warning.stories.d.ts +0 -9
  362. package/lib/components/describe-row/describe-row.stories.d.ts +0 -9
  363. package/lib/components/divider/divider.stories.d.ts +0 -9
  364. package/lib/components/docs-button/docs-button.stories.d.ts +0 -9
  365. package/lib/components/drawer/drawer.stories.d.ts +0 -10
  366. package/lib/components/dropdown/dropdown.stories.d.ts +0 -10
  367. package/lib/components/error-boundary/error-boundary.stories.d.ts +0 -9
  368. package/lib/components/extend-arrow/extend-arrow.stories.d.ts +0 -9
  369. package/lib/components/fade-loader/fade-loader.stories.d.ts +0 -9
  370. package/lib/components/field-error/field-error.stories.d.ts +0 -9
  371. package/lib/components/field-label/field-label.stories.d.ts +0 -9
  372. package/lib/components/header/header.stories.d.ts +0 -9
  373. package/lib/components/icon-button/icon-button.stories.d.ts +0 -9
  374. package/lib/components/icon-group/icon-group.stories.d.ts +0 -14
  375. package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +0 -9
  376. package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +0 -10
  377. package/lib/components/icons-nav/icons-nav.stories.d.ts +0 -9
  378. package/lib/components/image-controlled/image-controlled.stories.d.ts +0 -9
  379. package/lib/components/input/input.stories.d.ts +0 -9
  380. package/lib/components/input-list/input-list.stories.d.ts +0 -9
  381. package/lib/components/input-table/input-table.stories.d.ts +0 -9
  382. package/lib/components/interactive-table/interactive-table.stories.d.ts +0 -12
  383. package/lib/components/interactive-table/row.d.ts +0 -13
  384. package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +0 -9
  385. package/lib/components/modal/modal.stories.d.ts +0 -9
  386. package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +0 -9
  387. package/lib/components/monitors-icons/monitors-icons.stories.d.ts +0 -9
  388. package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +0 -9
  389. package/lib/components/no-data-found/no-data-found.stories.d.ts +0 -9
  390. package/lib/components/notification-note/notification-note.stories.d.ts +0 -10
  391. package/lib/components/section-title/section-title.stories.d.ts +0 -9
  392. package/lib/components/segment/segment.stories.d.ts +0 -9
  393. package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +0 -9
  394. package/lib/components/status/status.stories.d.ts +0 -9
  395. package/lib/components/stepper/stepper.stories.d.ts +0 -9
  396. package/lib/components/text/text.stories.d.ts +0 -9
  397. package/lib/components/textarea/textarea.stories.d.ts +0 -9
  398. package/lib/components/toggle/toggle.stories.d.ts +0 -9
  399. package/lib/components/tooltip/tooltip.stories.d.ts +0 -9
  400. package/lib/components/trace-loader/trace-loader.stories.d.ts +0 -9
  401. package/lib/components/warning-modal/warning-modal.stories.d.ts +0 -9
  402. package/lib/containers/action-drawer/action-drawer.stories.d.ts +0 -9
  403. package/lib/containers/action-form/action-form.stories.d.ts +0 -9
  404. package/lib/containers/action-modal/action-modal.stories.d.ts +0 -9
  405. package/lib/containers/action-table/action-table.stories.d.ts +0 -9
  406. package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +0 -9
  407. package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +0 -9
  408. package/lib/containers/compute-platform-select/index.d.ts +0 -10
  409. package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +0 -9
  410. package/lib/containers/compute-platforms/index.d.ts +0 -8
  411. package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +0 -9
  412. package/lib/containers/compute-platforms-actions-menu/index.d.ts +0 -7
  413. package/lib/containers/data-flow/data-flow.stories.d.ts +0 -9
  414. package/lib/containers/data-flow/edges/labeled-edge.d.ts +0 -10
  415. package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +0 -2
  416. package/lib/containers/data-flow/nodes/add-node.d.ts +0 -11
  417. package/lib/containers/data-flow/nodes/base-node.d.ts +0 -21
  418. package/lib/containers/data-flow/nodes/edged-node.d.ts +0 -9
  419. package/lib/containers/data-flow/nodes/frame-node.d.ts +0 -9
  420. package/lib/containers/data-flow/nodes/scroll-node.d.ts +0 -26
  421. package/lib/containers/data-flow/nodes/skeleton-node.d.ts +0 -8
  422. package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +0 -11
  423. package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +0 -2
  424. package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +0 -9
  425. package/lib/containers/destination-form/destination-form.stories.d.ts +0 -9
  426. package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +0 -8
  427. package/lib/containers/destination-modal/destination-modal.stories.d.ts +0 -9
  428. package/lib/containers/destination-selection-form/configured-list/index.d.ts +0 -5
  429. package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +0 -9
  430. package/lib/containers/destination-table/destination-table.stories.d.ts +0 -9
  431. package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +0 -9
  432. package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +0 -15
  433. package/lib/containers/dropdowns/connection-type-dropdown/connection-type-dropdown.stories.d.ts +0 -9
  434. package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +0 -9
  435. package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +0 -9
  436. package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +0 -9
  437. package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +0 -9
  438. package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +0 -9
  439. package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +0 -9
  440. package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +0 -9
  441. package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +0 -9
  442. package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +0 -9
  443. package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +0 -9
  444. package/lib/containers/notification-manager/notification-manager.stories.d.ts +0 -9
  445. package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +0 -9
  446. package/lib/containers/side-nav/side-nav.stories.d.ts +0 -9
  447. package/lib/containers/slack-invite/slack-invite.stories.d.ts +0 -9
  448. package/lib/containers/source-drawer/source-drawer.stories.d.ts +0 -9
  449. package/lib/containers/source-form/source-form.stories.d.ts +0 -9
  450. package/lib/containers/source-modal/source-modal.stories.d.ts +0 -9
  451. package/lib/containers/source-selection-form/fast/controls/index.d.ts +0 -7
  452. package/lib/containers/source-selection-form/fast/index.d.ts +0 -7
  453. package/lib/containers/source-selection-form/fast/list/index.d.ts +0 -10
  454. package/lib/containers/source-selection-form/simple/controls/index.d.ts +0 -11
  455. package/lib/containers/source-selection-form/simple/index.d.ts +0 -7
  456. package/lib/containers/source-selection-form/simple/list/index.d.ts +0 -9
  457. package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +0 -9
  458. package/lib/containers/source-table/source-table.stories.d.ts +0 -9
  459. package/lib/containers/system-overview/system-overview.stories.d.ts +0 -9
  460. package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +0 -9
  461. package/lib/containers/toast-list/toast-list.stories.d.ts +0 -9
  462. package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +0 -9
  463. package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
  464. package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +0 -8
  465. package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +0 -8
  466. package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +0 -8
  467. package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +0 -8
  468. package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +0 -8
  469. package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +0 -8
  470. package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +0 -8
  471. package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +0 -8
  472. package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +0 -8
  473. package/lib/icons/common/code-icon/code-icon.stories.d.ts +0 -8
  474. package/lib/icons/common/command-icon/command-icon.stories.d.ts +0 -8
  475. package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +0 -8
  476. package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +0 -8
  477. package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +0 -8
  478. package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +0 -8
  479. package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +0 -8
  480. package/lib/icons/common/image-error-icon/image-error-icon.stories.d.ts +0 -8
  481. package/lib/icons/common/key-icon/key-icon.stories.d.ts +0 -8
  482. package/lib/icons/common/list-icon/list-icon.stories.d.ts +0 -8
  483. package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +0 -8
  484. package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +0 -8
  485. package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +0 -8
  486. package/lib/icons/common/search-icon/search-icon.stories.d.ts +0 -8
  487. package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +0 -8
  488. package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +0 -8
  489. package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +0 -8
  490. package/lib/icons/common/x-icon/x-icon.stories.d.ts +0 -8
  491. package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +0 -8
  492. package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +0 -8
  493. package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +0 -8
  494. package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +0 -8
  495. package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +0 -8
  496. package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +0 -8
  497. package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +0 -8
  498. package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +0 -8
  499. package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +0 -8
  500. package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +0 -8
  501. package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +0 -8
  502. package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +0 -8
  503. package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +0 -8
  504. package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +0 -8
  505. package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +0 -8
  506. package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +0 -8
  507. package/lib/icons/overview/connections-icon/connections-icon.stories.d.ts +0 -8
  508. package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +0 -8
  509. package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +0 -8
  510. package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +0 -8
  511. package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +0 -8
  512. package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +0 -8
  513. package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +0 -8
  514. package/lib/icons/programming-languages/c-plus-plus-logo/c-plus-plus-logo.stories.d.ts +0 -8
  515. package/lib/icons/programming-languages/c-sharp-logo/c-sharp-logo.stories.d.ts +0 -8
  516. package/lib/icons/programming-languages/dotnet-logo/dotnet-logo.stories.d.ts +0 -8
  517. package/lib/icons/programming-languages/elixir-logo/elixir-logo.stories.d.ts +0 -8
  518. package/lib/icons/programming-languages/go-logo/go-logo.stories.d.ts +0 -8
  519. package/lib/icons/programming-languages/java-logo/java-logo.stories.d.ts +0 -8
  520. package/lib/icons/programming-languages/kafka-logo/kafka-logo.stories.d.ts +0 -8
  521. package/lib/icons/programming-languages/mysql-logo/mysql-logo.stories.d.ts +0 -8
  522. package/lib/icons/programming-languages/nginx-logo/nginx-logo.stories.d.ts +0 -8
  523. package/lib/icons/programming-languages/nodejs-logo/nodejs-logo.stories.d.ts +0 -8
  524. package/lib/icons/programming-languages/php-logo/php-logo.stories.d.ts +0 -8
  525. package/lib/icons/programming-languages/postgres-logo/postgres-logo.stories.d.ts +0 -8
  526. package/lib/icons/programming-languages/python-logo/python-logo.stories.d.ts +0 -8
  527. package/lib/icons/programming-languages/redis-logo/redis-logo.stories.d.ts +0 -8
  528. package/lib/icons/programming-languages/ruby-logo/ruby-logo.stories.d.ts +0 -8
  529. package/lib/icons/programming-languages/rust-logo/rust-logo.stories.d.ts +0 -8
  530. package/lib/icons/programming-languages/swift-logo/swift-logo.stories.d.ts +0 -8
  531. package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +0 -8
  532. package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +0 -8
  533. package/lib/icons/status/check-icon/check-icon.stories.d.ts +0 -8
  534. package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +0 -8
  535. package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +0 -8
  536. package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +0 -8
  537. package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +0 -8
  538. package/lib/icons/status/info-icon/info-icon.stories.d.ts +0 -8
  539. package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +0 -8
  540. package/lib/index-3KUV6Vlt.js +0 -89
  541. package/lib/index-BFct3S32.js +0 -22
  542. package/lib/index-BGlk5VhF.js +0 -69
  543. package/lib/index-BZS1ijMm.js +0 -30
  544. package/lib/index-Bc8gi9FH.js +0 -202
  545. package/lib/index-BjJpYtF1.js +0 -42
  546. package/lib/index-BumPE6cF.js +0 -37
  547. package/lib/index-CZe2VX28.js +0 -128
  548. package/lib/index-Cu2uHOuh.js +0 -44
  549. package/lib/index-DIcomki-.js +0 -671
  550. package/lib/index-D_Qn2U89.js +0 -138
  551. package/lib/index-g6Twdelv.js +0 -196
  552. package/lib/index-ixs381n-.js +0 -466
  553. package/lib/index-m62aT4IR.js +0 -29574
  554. package/lib/types/connection/index.d.ts +0 -7
  555. package/lib/useSourceSelectionFormData-BY6B70Kf.js +0 -561
  556. package/lib/useTransition-Dfxjcy-C.js +0 -3493
  557. /package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
  558. /package/lib/{data → mock-data}/actions/index.d.ts +0 -0
  559. /package/lib/{data → mock-data}/describe/index.d.ts +0 -0
  560. /package/lib/{data → mock-data}/instrumentation-rules/index.d.ts +0 -0
  561. /package/lib/{data → mock-data}/namespaces/index.d.ts +0 -0
  562. /package/lib/{data → mock-data}/tokens/index.d.ts +0 -0
  563. /package/lib/{containers/data-flow/helpers → snippets/react-flow}/node-config.d.ts +0 -0
@@ -0,0 +1 @@
1
+ function e(e,o){let r;try{r=e()}catch(e){return}return{getItem:e=>{var t;const n=e=>null===e?null:JSON.parse(e,null==o?void 0:o.reviver),a=null!=(t=r.getItem(e))?t:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,t)=>r.setItem(e,JSON.stringify(t,null==o?void 0:o.replacer)),removeItem:e=>r.removeItem(e)}}const o=e=>r=>{try{const t=e(r);return t instanceof Promise?t:{then:e=>o(e)(t),catch(e){return this}}}catch(e){return{then(e){return this},catch:r=>o(r)(e)}}},r=(r,t)=>(n,a,l)=>{let c={storage:e(()=>localStorage),partialize:e=>e,version:0,merge:(e,o)=>({...o,...e}),...t},s=!1;const d=new Set,i=new Set;let u=c.storage;if(!u)return r((...e)=>{n(...e)},a,l);const f=()=>{const e=c.partialize({...a()});return u.setItem(c.name,{state:e,version:c.version})},b=l.setState;l.setState=(e,o)=>(b(e,o),f());const p=r((...e)=>(n(...e),f()),a,l);let _;l.getInitialState=()=>p;const x=()=>{var e,r;if(!u)return;s=!1,d.forEach(e=>{var o;return e(null!=(o=a())?o:p)});const t=(null==(r=c.onRehydrateStorage)?void 0:r.call(c,null!=(e=a())?e:p))||void 0;return o(u.getItem.bind(u))(c.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===c.version)return[!1,e.state];if(c.migrate){const o=c.migrate(e.state,e.version);return o instanceof Promise?o.then(e=>[!0,e]):[!0,o]}}return[!1,void 0]}).then(e=>{var o;const[r,t]=e;if(_=c.merge(t,null!=(o=a())?o:p),n(_,!0),r)return f()}).then(()=>{null==t||t(_,void 0),_=a(),s=!0,i.forEach(e=>e(_))}).catch(e=>{null==t||t(void 0,e)})};return l.persist={setOptions:e=>{c={...c,...e},e.storage&&(u=e.storage)},clearStorage:()=>{null==u||u.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>x(),hasHydrated:()=>s,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(i.add(e),()=>{i.delete(e)})},c.skipHydration||x(),_||p};function t(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===r&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}var n={locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}};t(".react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,100%,.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:hsla(0,0%,94%,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,.08);--xy-selection-border-default:1px dotted rgba(0,89,220,.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;background-color:var(--xy-background-color,var(--xy-background-color-default));direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,59%,.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px hsla(0,0%,100%,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,.08);--xy-selection-border-default:1px dotted rgba(200,200,220,.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;pointer-events:none;position:absolute}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{overflow:visible;position:absolute;z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:default;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:0;left:50%;top:auto;transform:translate(-50%,50%)}.react-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.react-flow__handle-left{left:0;top:50%;transform:translate(-50%,-50%)}.react-flow__handle-right{right:0;top:50%;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-flow__minimap{background:var(\n --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))\n )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(\n --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))\n );stroke:var(\n --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))\n )}.react-flow__minimap-node{fill:var(\n --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))\n );stroke:var(\n --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))\n )}.react-flow__background-pattern.dots{fill:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))\n )}.react-flow__background-pattern.lines{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))\n )}.react-flow__background-pattern.cross{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))\n )}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));display:flex;flex-direction:column}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{align-items:center;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n );color:var(\n --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))\n );cursor:pointer;display:flex;height:26px;justify-content:center;padding:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:26px}.react-flow__controls-button svg{fill:currentColor;max-height:12px;max-width:12px;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));border:var(--xy-node-border,var(--xy-node-border-default));border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));color:var(--xy-node-color,var(--xy-node-color-default));font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(\n --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))\n );color:var(\n --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))\n )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;height:5px;translate:-50% -50%;width:5px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}");export{e as c,n as e,r as p,t as s};
@@ -12,8 +12,11 @@ interface AutocompleteInputProps extends InputHTMLAttributes<HTMLInputElement> {
12
12
  placeholder?: string;
13
13
  selectedOption?: Option;
14
14
  onOptionSelect?: (option?: Option) => void;
15
+ defaultText?: string;
16
+ onTextChange?: (text: string) => void;
15
17
  style?: CSSProperties;
16
18
  disabled?: boolean;
19
+ errorMessage?: string;
17
20
  }
18
21
  declare const AutocompleteInput: FC<AutocompleteInputProps>;
19
22
  export { AutocompleteInput, type AutocompleteInputProps };
@@ -1,9 +1,9 @@
1
1
  import { type ReactNode, type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface BadgeProps {
4
4
  label: string | number | ReactNode;
5
5
  filled?: boolean;
6
- status?: NOTIFICATION_TYPE;
6
+ status?: StatusType;
7
7
  withIcon?: boolean;
8
8
  onClick?: () => void;
9
9
  }
@@ -7,4 +7,4 @@ interface CodeProps {
7
7
  }
8
8
  declare const Code: FC<CodeProps>;
9
9
  export { Code, type CodeProps };
10
- export * from './toggle-code-component/index';
10
+ export * from './toggle-code-component';
@@ -1,24 +1,24 @@
1
1
  import { type FC } from 'react';
2
- declare enum DATA_CARD_FIELD_TYPES {
3
- CODE = "code",
4
- TABLE = "table",
5
- BADGE = "badge",
6
- LOADER = "loader",
7
- DIVIDER = "divider",
8
- MONITORS = "monitors",
9
- COPY_TEXT = "copy-text",
10
- DESCRIBE_ROW = "describe-row",
11
- ACTIVE_STATUS = "active-status",
12
- POD_CONTAINER = "pod-container",
13
- SOURCE_CONTAINER = "source-container"
2
+ import { AnyObj, SVG } from '@/types';
3
+ declare enum DataCardFieldTypes {
4
+ Code = "code",
5
+ Table = "table",
6
+ Badge = "badge",
7
+ Loader = "loader",
8
+ Divider = "divider",
9
+ Monitors = "monitors",
10
+ CopyText = "copy-text",
11
+ ActiveStatus = "active-status"
12
+ }
13
+ interface DataCardField {
14
+ type?: DataCardFieldTypes;
15
+ title?: string;
16
+ titleIcon?: SVG;
17
+ tooltip?: string;
18
+ value?: string | AnyObj;
14
19
  }
15
20
  interface DataCardFieldsProps {
16
- data: {
17
- type?: DATA_CARD_FIELD_TYPES;
18
- title?: string;
19
- tooltip?: string;
20
- value?: string | Record<string, any>;
21
- }[];
21
+ data?: DataCardField[];
22
22
  }
23
23
  declare const DataCardFields: FC<DataCardFieldsProps>;
24
- export { DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES };
24
+ export { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes, type DataCardField };
@@ -1,13 +1,15 @@
1
- import { type ReactNode, type FC } from 'react';
2
- import { DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES } from './data-card-fields';
3
- interface DataCardProps {
1
+ import { type ReactNode, type FC, type PropsWithChildren } from 'react';
2
+ import { OtherStatus, SVG } from '@/types';
3
+ import { DataCardFields, type DataCardFieldsProps, DataCardFieldTypes } from './data-card-fields';
4
+ interface DataCardProps extends PropsWithChildren {
4
5
  title?: string;
5
- titleBadge?: string | number;
6
+ titleBadge?: string | number | OtherStatus.Loading;
7
+ titleIcon?: SVG;
6
8
  description?: string;
7
9
  action?: ReactNode | (() => ReactNode);
8
10
  withExtend?: boolean;
9
11
  initialExtended?: boolean;
10
- data: DataCardFieldsProps['data'];
12
+ data?: DataCardFieldsProps['data'];
11
13
  }
12
14
  declare const DataCard: FC<DataCardProps>;
13
- export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps, DATA_CARD_FIELD_TYPES };
15
+ export { DataCard, type DataCardProps, DataCardFields, type DataCardFieldsProps, DataCardFieldTypes };
@@ -0,0 +1,12 @@
1
+ import { type FC, type ReactNode } from 'react';
2
+ import type { SVG } from '@/types';
3
+ interface DataFingerProps {
4
+ title?: string;
5
+ subTitle?: string;
6
+ icons?: SVG[];
7
+ iconSrcs?: string[];
8
+ onClick?: () => void;
9
+ renderActions?: () => ReactNode;
10
+ }
11
+ declare const DataFinger: FC<DataFingerProps>;
12
+ export { DataFinger, type DataFingerProps };
@@ -1,28 +1,43 @@
1
- import { type FC, type ReactNode } from 'react';
1
+ import { type CSSProperties, type FC, type ReactNode } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { NOTIFICATION_TYPE, SIGNAL_TYPE } from '@/types';
4
- interface DataTabProps {
5
- title: string;
6
- subTitle?: string;
3
+ import { StatusType, SignalType } from '@/types';
4
+ interface IconProps {
7
5
  icon?: SVG;
8
6
  icons?: SVG[];
9
7
  iconSrc?: string;
10
8
  iconSrcs?: string[];
11
- hoverText?: string;
12
- status?: NOTIFICATION_TYPE;
9
+ }
10
+ interface VisualProps {
11
+ status?: StatusType;
13
12
  faded?: boolean;
14
- monitors?: SIGNAL_TYPE[];
13
+ bgColor?: CSSProperties['backgroundColor'];
14
+ bgColorHover?: CSSProperties['backgroundColor'];
15
+ monitors?: SignalType[];
15
16
  monitorsWithLabels?: boolean;
16
- isActive?: boolean;
17
+ componentsUnderTitles?: ReactNode[];
18
+ }
19
+ interface CheckboxProps {
17
20
  withCheckbox?: boolean;
18
21
  isCheckboxDisabled?: boolean;
19
22
  isChecked?: boolean;
23
+ isLoading?: boolean;
20
24
  onCheckboxChange?: (value: boolean) => void;
25
+ }
26
+ interface ExtendableProps {
21
27
  withExtend?: boolean;
22
28
  isExtended?: boolean;
23
29
  renderExtended?: () => ReactNode;
24
- renderActions?: () => ReactNode;
30
+ }
31
+ interface DataTabProps {
32
+ title: string;
33
+ subTitle?: string;
34
+ hoverText?: string;
25
35
  onClick?: () => void;
36
+ renderActions?: () => ReactNode;
37
+ iconProps?: IconProps;
38
+ visualProps?: VisualProps;
39
+ checkboxProps?: CheckboxProps;
40
+ extendableProps?: ExtendableProps;
26
41
  }
27
42
  declare const DataTab: FC<DataTabProps>;
28
43
  export { DataTab, type DataTabProps };
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { ENTITY_TYPES } from '@/types';
2
+ import { EntityTypes } from '@/types';
3
3
  interface DeleteWarningProps {
4
4
  isOpen: boolean;
5
5
  noOverlay?: boolean;
6
6
  name?: string;
7
- type?: ENTITY_TYPES;
7
+ type?: EntityTypes;
8
8
  isLastItem?: boolean;
9
9
  onApprove: () => void;
10
10
  onDeny: () => void;
@@ -1,12 +1,12 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface DescribeRowProps {
4
4
  title?: string;
5
5
  subTitle?: string;
6
6
  tooltip?: string;
7
7
  value?: {
8
8
  text?: string;
9
- status?: NOTIFICATION_TYPE | 'transitioning';
9
+ status?: StatusType | 'transitioning';
10
10
  };
11
11
  }
12
12
  declare const DescribeRow: FC<DescribeRowProps>;
@@ -1,11 +1,12 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE } from '@/types';
2
+ import { StatusType } from '@/types';
3
3
  interface DividerProps {
4
4
  orientation?: 'horizontal' | 'vertical';
5
- type?: NOTIFICATION_TYPE;
5
+ type?: StatusType;
6
6
  thickness?: number;
7
7
  length?: string;
8
8
  margin?: string;
9
+ opacity?: number;
9
10
  }
10
11
  declare const Divider: FC<DividerProps>;
11
12
  export { Divider, type DividerProps };
@@ -5,6 +5,9 @@ interface DrawerFooterProps {
5
5
  leftButtons?: (ButtonProps & {
6
6
  'data-id': string;
7
7
  })[];
8
+ centerButtons?: (ButtonProps & {
9
+ 'data-id': string;
10
+ })[];
8
11
  rightButtons?: (ButtonProps & {
9
12
  'data-id': string;
10
13
  })[];
@@ -1,13 +1,15 @@
1
- import { type FC, type ReactNode } from 'react';
1
+ import { CSSProperties, type FC, type ReactNode } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { type ButtonProps } from '../../button';
3
+ import { type ButtonProps } from '@/components/button';
4
4
  interface DrawerHeaderProps {
5
5
  onClose: () => void;
6
- icon?: SVG;
7
- iconSrc?: string;
6
+ width?: CSSProperties['width'];
7
+ icons?: SVG[];
8
+ iconSrcs?: string[];
8
9
  title?: string;
9
10
  titleTooltip?: string;
10
- replaceTitleWith?: () => ReactNode;
11
+ replaceTitleWith?: ReactNode | (() => ReactNode);
12
+ actions?: ReactNode;
11
13
  actionButtons?: (ButtonProps & {
12
14
  'data-id': string;
13
15
  })[];
@@ -1,4 +1,4 @@
1
- import { type ReactNode, type FC } from 'react';
1
+ import { type ReactNode, type FC, CSSProperties } from 'react';
2
2
  import { DrawerHeader, DrawerHeaderProps } from './drawer-header';
3
3
  import { DrawerFooter, DrawerFooterProps } from './drawer-footer';
4
4
  interface DrawerProps {
@@ -6,7 +6,7 @@ interface DrawerProps {
6
6
  onClose: () => void;
7
7
  closeOnEscape?: boolean;
8
8
  position?: 'right' | 'left';
9
- width?: string;
9
+ width?: CSSProperties['width'];
10
10
  children: ReactNode;
11
11
  header: Omit<DrawerHeaderProps, 'onClose'>;
12
12
  footer: DrawerFooterProps;
@@ -1,7 +1,9 @@
1
1
  import { type FC } from 'react';
2
- interface DropdownOption {
3
- id?: string | null;
2
+ import type { SVG, StatusType } from '@/types';
3
+ interface DropdownOption<T = string> {
4
+ id?: T | null;
4
5
  value?: string | null;
6
+ icon?: SVG | null;
5
7
  }
6
8
  interface DropdownProps {
7
9
  title?: string;
@@ -16,6 +18,8 @@ interface DropdownProps {
16
18
  required?: boolean;
17
19
  showSearch?: boolean;
18
20
  errorMessage?: string;
21
+ hasError?: boolean;
22
+ status?: StatusType;
19
23
  }
20
24
  declare const Dropdown: FC<DropdownProps>;
21
25
  export { Dropdown, type DropdownProps, type DropdownOption };
@@ -1,5 +1,4 @@
1
1
  import { type FC, type PropsWithChildren } from 'react';
2
- interface ErrorBoundaryProps extends PropsWithChildren {
3
- }
2
+ type ErrorBoundaryProps = PropsWithChildren;
4
3
  declare const ErrorBoundary: FC<ErrorBoundaryProps>;
5
4
  export { ErrorBoundary, type ErrorBoundaryProps };
@@ -1,5 +1,4 @@
1
1
  import { type FC, type PropsWithChildren } from 'react';
2
- interface FieldErrorProps extends PropsWithChildren {
3
- }
2
+ type FieldErrorProps = PropsWithChildren;
4
3
  declare const FieldError: FC<FieldErrorProps>;
5
4
  export { FieldError, type FieldErrorProps };
@@ -1,9 +1,11 @@
1
1
  import { type FC, type CSSProperties } from 'react';
2
+ import { StatusType } from '@/types';
2
3
  interface FieldLabelProps {
3
4
  title?: string;
4
5
  required?: boolean;
5
6
  tooltip?: string;
6
7
  style?: CSSProperties;
8
+ status?: StatusType;
7
9
  }
8
10
  declare const FieldLabel: FC<FieldLabelProps>;
9
11
  export { FieldLabel, type FieldLabelProps };
@@ -5,6 +5,8 @@ interface IconButtonProps extends PropsWithChildren {
5
5
  size?: number;
6
6
  withPing?: boolean;
7
7
  pingColor?: CSSProperties['backgroundColor'];
8
+ withBorder?: boolean;
9
+ backgroundColor?: CSSProperties['backgroundColor'];
8
10
  }
9
11
  declare const IconButton: FC<IconButtonProps>;
10
12
  export { IconButton, type IconButtonProps };
@@ -1,11 +1,12 @@
1
1
  import { type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { NOTIFICATION_TYPE } from '@/types';
3
+ import { StatusType } from '@/types';
4
4
  interface IconGroupProps {
5
5
  icons?: SVG[];
6
6
  iconSrcs?: string[];
7
- status?: NOTIFICATION_TYPE;
7
+ status?: StatusType;
8
8
  size?: number;
9
+ id: string;
9
10
  }
10
11
  declare const IconGroup: FC<IconGroupProps>;
11
12
  export { IconGroup, type IconGroupProps };
@@ -1,10 +1,10 @@
1
1
  import { type FC } from 'react';
2
- import { NOTIFICATION_TYPE, type SVG } from '@/types';
2
+ import { StatusType, type SVG } from '@/types';
3
3
  interface IconWrappedProps {
4
4
  icon?: SVG;
5
5
  src?: string;
6
6
  alt?: string;
7
- status?: NOTIFICATION_TYPE;
7
+ status?: StatusType;
8
8
  size?: number;
9
9
  }
10
10
  declare const IconWrapped: FC<IconWrappedProps>;
@@ -1,49 +1,57 @@
1
- export * from './auto-complete-input/index';
2
- export * from './badge/index';
3
- export * from './button/index';
4
- export * from './cancel-warning/index';
5
- export * from './checkbox/index';
6
- export * from './code/index';
7
- export * from './condition-details/index';
8
- export * from './data-card/index';
9
- export * from './data-tab/index';
10
- export * from './delete-warning/index';
11
- export * from './divider/index';
12
- export * from './docs-button/index';
13
- export * from './drawer/index';
14
- export * from './dropdown/index';
15
- export * from './error-boundary/index';
16
- export * from './extend-arrow/index';
17
- export * from './fade-loader/index';
18
- export * from './field-error/index';
19
- export * from './field-label/index';
20
- export * from './header/index';
21
- export * from './icon-button/index';
22
- export * from './icon-group/index';
23
- export * from './icon-title-badge/index';
24
- export * from './icon-wrapped/index';
25
- export * from './icons-nav/index';
26
- export * from './image-controlled/index';
27
- export * from './input/index';
28
- export * from './input-list/index';
29
- export * from './input-table/index';
30
- export * from './interactive-table/index';
31
- export * from './key-value-input-list/index';
32
- export * from './modal/index';
33
- export * from './monitors-checkboxes/index';
34
- export * from './monitors-icons/index';
35
- export * from './navigation-buttons/index';
36
- export * from './no-data-found/index';
37
- export * from './notification-note/index';
38
- export * from './section-title/index';
39
- export * from './segment/index';
40
- export * from './skeleton-loader/index';
41
- export * from './status/index';
42
- export * from './stepper/index';
43
- export * from './text/index';
44
- export * from './textarea/index';
45
- export * from './toggle/index';
46
- export * from './tooltip/index';
47
- export * from './trace-loader/index';
48
- export * from './warning-modal/index';
1
+ export * from './auto-complete-input';
2
+ export * from './badge';
3
+ export * from './button';
4
+ export * from './cancel-warning';
5
+ export * from './checkbox';
6
+ export * from './code';
7
+ export * from './condition-details';
8
+ export * from './data-card';
9
+ export * from './data-finger';
10
+ export * from './data-tab';
11
+ export * from './delete-warning';
12
+ export * from './describe-row';
13
+ export * from './divider';
14
+ export * from './docs-button';
15
+ export * from './drawer';
16
+ export * from './dropdown';
17
+ export * from './error-boundary';
18
+ export * from './extend-arrow';
19
+ export * from './fade-loader';
20
+ export * from './field-error';
21
+ export * from './field-label';
22
+ export * from './header';
23
+ export * from './icon-button';
24
+ export * from './icon-group';
25
+ export * from './icon-title-badge';
26
+ export * from './icon-wrapped';
27
+ export * from './icons-nav';
28
+ export * from './image-controlled';
29
+ export * from './input';
30
+ export * from './input-list';
31
+ export * from './input-table';
32
+ export * from './interactive-table';
33
+ export * from './key-value-input-list';
34
+ export * from './modal';
35
+ export * from './monitors-checkboxes';
36
+ export * from './monitors-icons';
37
+ export * from './navigation-buttons';
38
+ export * from './no-data-found';
39
+ export * from './notification-note';
40
+ export * from './popup';
41
+ export * from './popup-form';
42
+ export * from './scroll-x';
43
+ export * from './section-title';
44
+ export * from './segment';
45
+ export * from './selection-button';
46
+ export * from './skeleton-loader';
47
+ export * from './status';
48
+ export * from './stepper';
49
+ export * from './tab-list';
50
+ export * from './tag';
51
+ export * from './text';
52
+ export * from './textarea';
53
+ export * from './toggle';
54
+ export * from './tooltip';
55
+ export * from './trace-loader';
56
+ export * from './warning-modal';
49
57
  export * from './styled';
@@ -1,5 +1,5 @@
1
1
  import { type FC, type InputHTMLAttributes } from 'react';
2
- import type { SVG } from '@/types';
2
+ import { StatusType, type SVG } from '@/types';
3
3
  interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
4
4
  title?: string;
5
5
  icon?: SVG;
@@ -9,6 +9,7 @@ interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
9
9
  required?: boolean;
10
10
  hasError?: boolean;
11
11
  errorMessage?: string;
12
+ status?: StatusType;
12
13
  }
13
14
  declare const Input: FC<InputProps>;
14
15
  export { Input, type InputProps };
@@ -1,20 +1,13 @@
1
1
  import { type FC } from 'react';
2
- type Row = {
3
- [key: string]: any;
4
- };
2
+ import type { Column, Row } from './types';
5
3
  interface InputTableProps {
6
- columns: {
7
- title: string;
8
- keyName: string;
9
- type?: 'number';
10
- placeholder?: string;
11
- tooltip?: string;
12
- required?: boolean;
13
- }[];
4
+ columns: Column[];
14
5
  initialValues?: Row[];
15
6
  value?: Row[];
16
7
  onChange?: (values: Row[]) => void;
17
8
  errorMessage?: string;
9
+ limitFieldsPerRow?: number;
10
+ title?: string;
18
11
  }
19
12
  declare const InputTable: FC<InputTableProps>;
20
13
  export { InputTable, type InputTableProps };
@@ -0,0 +1,15 @@
1
+ import { CSSProperties, type FC } from 'react';
2
+ import type { Column, Row } from '../types';
3
+ interface ColumnsToFieldsProps {
4
+ col: Column;
5
+ colIdx: number;
6
+ row: Row;
7
+ rowIdx: number;
8
+ rowsLength: number;
9
+ maxWidth: CSSProperties['maxWidth'];
10
+ handleChange: (key: string, val: string | number, idx: number) => void;
11
+ errorMessage?: string;
12
+ limitFieldsPerRow?: number;
13
+ }
14
+ declare const ColumnsToFields: FC<ColumnsToFieldsProps>;
15
+ export { ColumnsToFields, type ColumnsToFieldsProps };
@@ -0,0 +1,15 @@
1
+ import type { DropdownOption } from '../dropdown';
2
+ export interface Row {
3
+ [key: string]: any;
4
+ }
5
+ export interface Column {
6
+ keyName: string;
7
+ title: string;
8
+ tooltip?: string;
9
+ placeholder?: string;
10
+ required?: boolean;
11
+ type?: 'number';
12
+ componentType?: 'dropdown';
13
+ options?: DropdownOption[];
14
+ renderCondition?: (row: Row) => boolean;
15
+ }
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode, type FC, CSSProperties } from 'react';
2
- import { NOTIFICATION_TYPE, type SVG } from '@/types';
2
+ import { StatusType, type SVG } from '@/types';
3
3
  interface ColumnCell {
4
4
  key: string;
5
5
  title: string;
@@ -13,14 +13,15 @@ interface RowCell {
13
13
  textColor?: CSSProperties['color'];
14
14
  withTooltip?: boolean;
15
15
  }
16
+ interface Row {
17
+ status?: StatusType;
18
+ faded?: boolean;
19
+ onClick?: () => void;
20
+ cells: RowCell[];
21
+ }
16
22
  interface InteractiveTableProps {
17
23
  columns: ColumnCell[];
18
- rows: {
19
- status?: NOTIFICATION_TYPE;
20
- faded?: boolean;
21
- cells: RowCell[];
22
- }[];
23
- onRowClick?: (index: number) => void;
24
+ rows: Row[];
24
25
  }
25
26
  declare const InteractiveTable: FC<InteractiveTableProps>;
26
- export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell };
27
+ export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell, type Row };
@@ -0,0 +1,13 @@
1
+ import { type FC } from 'react';
2
+ import { StatusType } from '@/types';
3
+ import { ColumnCell, RowCell } from '.';
4
+ interface TableRowProps {
5
+ index: number;
6
+ columns: ColumnCell[];
7
+ cells: RowCell[];
8
+ onClick?: () => void;
9
+ status?: StatusType;
10
+ faded?: boolean;
11
+ }
12
+ declare const TableRow: FC<TableRowProps>;
13
+ export { TableRow, type TableRowProps };