@odigos/ui-kit 0.0.2
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.
- package/.prettierrc +13 -0
- package/CHANGELOG.md +26 -0
- package/README.md +62 -0
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +9 -0
- package/lib/components/auto-complete-input/index.d.ts +19 -0
- package/lib/components/badge/badge.stories.d.ts +13 -0
- package/lib/components/badge/index.d.ts +11 -0
- package/lib/components/button/button.stories.d.ts +9 -0
- package/lib/components/button/index.d.ts +6 -0
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +9 -0
- package/lib/components/cancel-warning/index.d.ts +10 -0
- package/lib/components/checkbox/checkbox.stories.d.ts +9 -0
- package/lib/components/checkbox/index.d.ts +15 -0
- package/lib/components/code/code.stories.d.ts +9 -0
- package/lib/components/code/index.d.ts +10 -0
- package/lib/components/code/toggle-code-component/index.d.ts +7 -0
- package/lib/components/condition-details/condition-details.stories.d.ts +14 -0
- package/lib/components/condition-details/index.d.ts +10 -0
- package/lib/components/data-card/data-card-fields/index.d.ts +24 -0
- package/lib/components/data-card/data-card.stories.d.ts +10 -0
- package/lib/components/data-card/index.d.ts +12 -0
- package/lib/components/data-tab/data-tab.stories.d.ts +9 -0
- package/lib/components/data-tab/index.d.ts +28 -0
- package/lib/components/delete-warning/delete-warning.stories.d.ts +9 -0
- package/lib/components/delete-warning/index.d.ts +13 -0
- package/lib/components/describe-row/describe-row.stories.d.ts +9 -0
- package/lib/components/describe-row/index.d.ts +13 -0
- package/lib/components/divider/divider.stories.d.ts +9 -0
- package/lib/components/divider/index.d.ts +11 -0
- package/lib/components/docs-button/docs-button.stories.d.ts +9 -0
- package/lib/components/docs-button/index.d.ts +8 -0
- package/lib/components/drawer/drawer-footer/index.d.ts +13 -0
- package/lib/components/drawer/drawer-header/index.d.ts +22 -0
- package/lib/components/drawer/drawer.stories.d.ts +10 -0
- package/lib/components/drawer/index.d.ts +15 -0
- package/lib/components/dropdown/dropdown.stories.d.ts +9 -0
- package/lib/components/dropdown/index.d.ts +21 -0
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +9 -0
- package/lib/components/extend-arrow/index.d.ts +8 -0
- package/lib/components/fade-loader/fade-loader.stories.d.ts +9 -0
- package/lib/components/fade-loader/helpers/animation.d.ts +1 -0
- package/lib/components/fade-loader/helpers/unitConverter.d.ts +22 -0
- package/lib/components/fade-loader/index.d.ts +10 -0
- package/lib/components/field-error/field-error.stories.d.ts +9 -0
- package/lib/components/field-error/index.d.ts +5 -0
- package/lib/components/field-label/field-label.stories.d.ts +9 -0
- package/lib/components/field-label/index.d.ts +9 -0
- package/lib/components/header/header.stories.d.ts +9 -0
- package/lib/components/header/index.d.ts +8 -0
- package/lib/components/icon-button/icon-button.stories.d.ts +9 -0
- package/lib/components/icon-button/index.d.ts +10 -0
- package/lib/components/icon-group/icon-group.stories.d.ts +14 -0
- package/lib/components/icon-group/index.d.ts +11 -0
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +9 -0
- package/lib/components/icon-title-badge/index.d.ts +10 -0
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +10 -0
- package/lib/components/icon-wrapped/index.d.ts +11 -0
- package/lib/components/icons-nav/icons-nav.stories.d.ts +9 -0
- package/lib/components/icons-nav/index.d.ts +17 -0
- package/lib/components/image-controlled/image-controlled.stories.d.ts +9 -0
- package/lib/components/image-controlled/index.d.ts +8 -0
- package/lib/components/index.d.ts +48 -0
- package/lib/components/input/index.d.ts +14 -0
- package/lib/components/input/input.stories.d.ts +9 -0
- package/lib/components/input-list/index.d.ts +13 -0
- package/lib/components/input-list/input-list.stories.d.ts +9 -0
- package/lib/components/input-table/index.d.ts +20 -0
- package/lib/components/input-table/input-table.stories.d.ts +9 -0
- package/lib/components/interactive-table/index.d.ts +26 -0
- package/lib/components/interactive-table/interactive-table.stories.d.ts +12 -0
- package/lib/components/interactive-table/row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +16 -0
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +9 -0
- package/lib/components/modal/index.d.ts +14 -0
- package/lib/components/modal/modal.stories.d.ts +9 -0
- package/lib/components/monitors-checkboxes/index.d.ts +13 -0
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +9 -0
- package/lib/components/monitors-icons/index.d.ts +11 -0
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +9 -0
- package/lib/components/navigation-buttons/index.d.ts +16 -0
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +9 -0
- package/lib/components/no-data-found/index.d.ts +7 -0
- package/lib/components/no-data-found/no-data-found.stories.d.ts +9 -0
- package/lib/components/notification-note/index.d.ts +21 -0
- package/lib/components/notification-note/notification-note.stories.d.ts +10 -0
- package/lib/components/section-title/index.d.ts +12 -0
- package/lib/components/section-title/section-title.stories.d.ts +9 -0
- package/lib/components/segment/index.d.ts +15 -0
- package/lib/components/segment/segment.stories.d.ts +9 -0
- package/lib/components/skeleton-loader/index.d.ts +7 -0
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +9 -0
- package/lib/components/status/index.d.ts +14 -0
- package/lib/components/status/status.stories.d.ts +9 -0
- package/lib/components/stepper/index.d.ts +10 -0
- package/lib/components/stepper/stepper.stories.d.ts +9 -0
- package/lib/components/styled.d.ts +13 -0
- package/lib/components/text/index.d.ts +13 -0
- package/lib/components/text/text.stories.d.ts +9 -0
- package/lib/components/textarea/index.d.ts +8 -0
- package/lib/components/textarea/textarea.stories.d.ts +9 -0
- package/lib/components/toggle/index.d.ts +11 -0
- package/lib/components/toggle/toggle.stories.d.ts +9 -0
- package/lib/components/tooltip/index.d.ts +11 -0
- package/lib/components/tooltip/tooltip.stories.d.ts +9 -0
- package/lib/components/trace-loader/index.d.ts +6 -0
- package/lib/components/trace-loader/trace-loader.stories.d.ts +9 -0
- package/lib/components/warning-modal/index.d.ts +24 -0
- package/lib/components/warning-modal/warning-modal.stories.d.ts +9 -0
- package/lib/constants/actions/index.d.ts +2 -0
- package/lib/constants/index.d.ts +5 -0
- package/lib/constants/instrumentation-rules/index.d.ts +2 -0
- package/lib/constants/signals/index.d.ts +2 -0
- package/lib/constants/strings/index.d.ts +42 -0
- package/lib/constants/tokens/index.d.ts +1 -0
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +9 -0
- package/lib/containers/action-drawer/build-card.d.ts +9 -0
- package/lib/containers/action-drawer/index.d.ts +8 -0
- package/lib/containers/action-form/action-form.stories.d.ts +9 -0
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +5 -0
- package/lib/containers/action-form/index.d.ts +11 -0
- package/lib/containers/action-modal/action-modal.stories.d.ts +9 -0
- package/lib/containers/action-modal/index.d.ts +7 -0
- package/lib/containers/action-table/action-table.stories.d.ts +9 -0
- package/lib/containers/action-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/action-table/index.d.ts +7 -0
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +9 -0
- package/lib/containers/await-pipeline/index.d.ts +5 -0
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +9 -0
- package/lib/containers/compute-platform-select/index.d.ts +10 -0
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +9 -0
- package/lib/containers/compute-platforms/index.d.ts +8 -0
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +9 -0
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +7 -0
- package/lib/containers/data-flow/data-flow.stories.d.ts +9 -0
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/containers/data-flow/flow.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-edges.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +11 -0
- package/lib/containers/data-flow/helpers/build-source-nodes.d.ts +17 -0
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +2 -0
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +10 -0
- package/lib/containers/data-flow/helpers/node-config.d.ts +6 -0
- package/lib/containers/data-flow/index.d.ts +8 -0
- package/lib/containers/data-flow/nodes/add-node.d.ts +11 -0
- package/lib/containers/data-flow/nodes/base-node.d.ts +21 -0
- package/lib/containers/data-flow/nodes/edged-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/frame-node.d.ts +9 -0
- package/lib/containers/data-flow/nodes/header-node.d.ts +13 -0
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +26 -0
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +11 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/index.d.ts +10 -0
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +5 -0
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +2 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +25 -0
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +7 -0
- package/lib/containers/data-flow-actions-menu/selection-button/index.d.ts +17 -0
- package/lib/containers/data-flow-actions-menu/styled.d.ts +2 -0
- package/lib/containers/destination-drawer/build-card.d.ts +9 -0
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +9 -0
- package/lib/containers/destination-drawer/index.d.ts +13 -0
- package/lib/containers/destination-form/destination-form.stories.d.ts +9 -0
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +9 -0
- package/lib/containers/destination-form/index.d.ts +18 -0
- package/lib/containers/destination-form/test-connection/index.d.ts +17 -0
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/choose-destination/index.d.ts +11 -0
- package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +8 -0
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +9 -0
- package/lib/containers/destination-modal/index.d.ts +14 -0
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +5 -0
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +9 -0
- package/lib/containers/destination-selection-form/index.d.ts +16 -0
- package/lib/containers/destination-table/destination-table.stories.d.ts +9 -0
- package/lib/containers/destination-table/index.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +14 -0
- package/lib/containers/dropdowns/index.d.ts +7 -0
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/monitor-dropdown/index.d.ts +13 -0
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +16 -0
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +9 -0
- package/lib/containers/dropdowns/platform-types-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/platform-types-dropdown/platform-types-dropdown.stories.d.ts +9 -0
- package/lib/containers/index.d.ts +33 -0
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +9 -0
- package/lib/containers/instrumentation-rule-drawer/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/code-attributes.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/payload-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/index.d.ts +11 -0
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-modal/index.d.ts +8 -0
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +9 -0
- package/lib/containers/instrumentation-rule-table/build-spec-cell.d.ts +3 -0
- package/lib/containers/instrumentation-rule-table/index.d.ts +7 -0
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +9 -0
- package/lib/containers/multi-source-control/index.d.ts +8 -0
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +9 -0
- package/lib/containers/notification-manager/index.d.ts +5 -0
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +9 -0
- package/lib/containers/overview-drawer/index.d.ts +20 -0
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +9 -0
- package/lib/containers/side-nav/index.d.ts +16 -0
- package/lib/containers/side-nav/side-nav.stories.d.ts +9 -0
- package/lib/containers/slack-invite/index.d.ts +5 -0
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +9 -0
- package/lib/containers/source-drawer/build-card.d.ts +8 -0
- package/lib/containers/source-drawer/describe/index.d.ts +14 -0
- package/lib/containers/source-drawer/index.d.ts +15 -0
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +9 -0
- package/lib/containers/source-form/index.d.ts +8 -0
- package/lib/containers/source-form/source-form.stories.d.ts +9 -0
- package/lib/containers/source-modal/index.d.ts +14 -0
- package/lib/containers/source-modal/source-modal.stories.d.ts +9 -0
- package/lib/containers/source-selection-form/fast/controls/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/index.d.ts +7 -0
- package/lib/containers/source-selection-form/fast/list/index.d.ts +10 -0
- package/lib/containers/source-selection-form/index.d.ts +21 -0
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +11 -0
- package/lib/containers/source-selection-form/simple/index.d.ts +7 -0
- package/lib/containers/source-selection-form/simple/list/index.d.ts +9 -0
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +9 -0
- package/lib/containers/source-table/index.d.ts +9 -0
- package/lib/containers/source-table/source-table.stories.d.ts +9 -0
- package/lib/containers/system-overview/describe/index.d.ts +11 -0
- package/lib/containers/system-overview/index.d.ts +7 -0
- package/lib/containers/system-overview/system-overview.stories.d.ts +9 -0
- package/lib/containers/system-overview/tokens/expires-at.d.ts +6 -0
- package/lib/containers/system-overview/tokens/index.d.ts +8 -0
- package/lib/containers/system-overview/tokens/token-actions.d.ts +7 -0
- package/lib/containers/table-cell-conditions/index.d.ts +7 -0
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +9 -0
- package/lib/containers/toast-list/index.d.ts +5 -0
- package/lib/containers/toast-list/toast-list.stories.d.ts +9 -0
- package/lib/containers/toggle-dark-mode/index.d.ts +5 -0
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +9 -0
- package/lib/data/actions/index.d.ts +2 -0
- package/lib/data/describe/index.d.ts +3 -0
- package/lib/data/destinations/index.d.ts +4 -0
- package/lib/data/index.d.ts +7 -0
- package/lib/data/instrumentation-rules/index.d.ts +2 -0
- package/lib/data/namespaces/index.d.ts +2 -0
- package/lib/data/sources/index.d.ts +18 -0
- package/lib/data/tokens/index.d.ts +2 -0
- package/lib/functions/capitalize-first-letter/index.d.ts +1 -0
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +1 -0
- package/lib/functions/compare-condition/index.d.ts +5 -0
- package/lib/functions/deep-clone/index.d.ts +1 -0
- package/lib/functions/derive-type-from-rule/index.d.ts +2 -0
- package/lib/functions/filter-actions/index.d.ts +3 -0
- package/lib/functions/filter-destinations/index.d.ts +3 -0
- package/lib/functions/filter-sources/index.d.ts +3 -0
- package/lib/functions/flatten-object-keys/index.d.ts +32 -0
- package/lib/functions/format-bytes/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -0
- package/lib/functions/get-conditions-booleans/index.d.ts +8 -0
- package/lib/functions/get-containers-counts/index.d.ts +2 -0
- package/lib/functions/get-containers-icons/index.d.ts +2 -0
- package/lib/functions/get-destination-icon/index.d.ts +1 -0
- package/lib/functions/get-entity-icon/index.d.ts +2 -0
- package/lib/functions/get-entity-id/index.d.ts +2 -0
- package/lib/functions/get-entity-label/index.d.ts +5 -0
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -0
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -0
- package/lib/functions/get-monitor-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-icon/index.d.ts +2 -0
- package/lib/functions/get-platform-label/index.d.ts +2 -0
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -0
- package/lib/functions/get-status-icon/index.d.ts +2 -0
- package/lib/functions/get-value-for-range/index.d.ts +1 -0
- package/lib/functions/get-workload-id/index.d.ts +2 -0
- package/lib/functions/index.d.ts +40 -0
- package/lib/functions/is-emtpy/index.d.ts +1 -0
- package/lib/functions/is-over-time/index.d.ts +1 -0
- package/lib/functions/is-time-elapsed/index.d.ts +1 -0
- package/lib/functions/map-conditions/index.d.ts +2 -0
- package/lib/functions/parse-json-string-to-pretty-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +1 -0
- package/lib/functions/safe-json-parse/index.d.ts +1 -0
- package/lib/functions/safe-json-stringify/index.d.ts +1 -0
- package/lib/functions/sleep/index.d.ts +1 -0
- package/lib/functions/split-camel-string/index.d.ts +1 -0
- package/lib/functions/stringify-non-string-values/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +14 -0
- package/lib/hooks/useActionFormData.d.ts +12 -0
- package/lib/hooks/useClickNode.d.ts +6 -0
- package/lib/hooks/useClickNotification.d.ts +7 -0
- package/lib/hooks/useContainerSize.d.ts +6 -0
- package/lib/hooks/useCopy.d.ts +6 -0
- package/lib/hooks/useDestinationFormData.d.ts +21 -0
- package/lib/hooks/useGenericForm.d.ts +7 -0
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +12 -0
- package/lib/hooks/useKeyDown.d.ts +11 -0
- package/lib/hooks/useOnClickOutside.d.ts +3 -0
- package/lib/hooks/useSourceFormData.d.ts +12 -0
- package/lib/hooks/useSourceSelectionFormData.d.ts +34 -0
- package/lib/hooks/useTimeAgo.d.ts +3 -0
- package/lib/hooks/useTransition.d.ts +14 -0
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +8 -0
- package/lib/icons/actions/add-cluster-info-icon/index.d.ts +2 -0
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/delete-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/index.d.ts +5 -0
- package/lib/icons/actions/pii-masking-icon/index.d.ts +2 -0
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +8 -0
- package/lib/icons/actions/rename-attribute-icon/index.d.ts +2 -0
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +8 -0
- package/lib/icons/actions/sampler-icon/index.d.ts +2 -0
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +8 -0
- package/lib/icons/brand/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +8 -0
- package/lib/icons/brand/odigos-logo-text/index.d.ts +2 -0
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-brackets-icon/index.d.ts +2 -0
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +8 -0
- package/lib/icons/common/code-icon/index.d.ts +2 -0
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +8 -0
- package/lib/icons/common/command-icon/index.d.ts +2 -0
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +8 -0
- package/lib/icons/common/copy-icon/index.d.ts +2 -0
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +8 -0
- package/lib/icons/common/edit-icon/index.d.ts +2 -0
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +8 -0
- package/lib/icons/common/extend-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +8 -0
- package/lib/icons/common/filter-icon/index.d.ts +2 -0
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +8 -0
- package/lib/icons/common/folder-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +19 -0
- package/lib/icons/common/key-icon/index.d.ts +2 -0
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +8 -0
- package/lib/icons/common/list-icon/index.d.ts +2 -0
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +8 -0
- package/lib/icons/common/no-data-icon/index.d.ts +2 -0
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +8 -0
- package/lib/icons/common/notebook-icon/index.d.ts +2 -0
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +8 -0
- package/lib/icons/common/notification-icon/index.d.ts +2 -0
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +8 -0
- package/lib/icons/common/search-icon/index.d.ts +2 -0
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +8 -0
- package/lib/icons/common/sort-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +8 -0
- package/lib/icons/common/terminal-icon/index.d.ts +2 -0
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +8 -0
- package/lib/icons/common/trash-icon/index.d.ts +2 -0
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +8 -0
- package/lib/icons/common/x-icon/index.d.ts +2 -0
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +8 -0
- package/lib/icons/compute-platform/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +8 -0
- package/lib/icons/compute-platform/vm-logo/index.d.ts +2 -0
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +8 -0
- package/lib/icons/index.d.ts +11 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +8 -0
- package/lib/icons/instrumentation-rules/code-attributes-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +8 -0
- package/lib/icons/math/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/index.d.ts +2 -0
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +8 -0
- package/lib/icons/math/plus-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/index.d.ts +3 -0
- package/lib/icons/monitors/logs-icon/index.d.ts +2 -0
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/metrics-icon/index.d.ts +2 -0
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +8 -0
- package/lib/icons/monitors/traces-icon/index.d.ts +2 -0
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-closed-icon/index.d.ts +2 -0
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/eye-open-icon/index.d.ts +2 -0
- package/lib/icons/on-off/index.d.ts +6 -0
- package/lib/icons/on-off/light-off-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/light-on-icon/index.d.ts +2 -0
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/moon-icon/index.d.ts +2 -0
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +8 -0
- package/lib/icons/on-off/sun-icon/index.d.ts +2 -0
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +8 -0
- package/lib/icons/overview/actions-icon/index.d.ts +2 -0
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +8 -0
- package/lib/icons/overview/destinations-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +7 -0
- package/lib/icons/overview/overview-icon/index.d.ts +2 -0
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +8 -0
- package/lib/icons/overview/rules-icon/index.d.ts +2 -0
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +8 -0
- package/lib/icons/overview/service-map-icon/index.d.ts +2 -0
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +8 -0
- package/lib/icons/overview/sources-icon/index.d.ts +2 -0
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +8 -0
- package/lib/icons/overview/trace-view-icon/index.d.ts +2 -0
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +8 -0
- package/lib/icons/social/index.d.ts +1 -0
- package/lib/icons/social/slack-logo/index.d.ts +2 -0
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +8 -0
- package/lib/icons/status/check-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-circled-icon/index.d.ts +2 -0
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +8 -0
- package/lib/icons/status/cross-icon/index.d.ts +2 -0
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-round-icon/index.d.ts +2 -0
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +8 -0
- package/lib/icons/status/error-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/index.d.ts +8 -0
- package/lib/icons/status/info-icon/index.d.ts +2 -0
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +8 -0
- package/lib/icons/status/warning-triangle-icon/index.d.ts +2 -0
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +8 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.esm.js +53989 -0
- package/lib/index.esm.js.map +1 -0
- package/lib/index.js +54212 -0
- package/lib/index.js.map +1 -0
- package/lib/store/index.d.ts +10 -0
- package/lib/store/useDarkMode.d.ts +17 -0
- package/lib/store/useDrawerStore.d.ts +11 -0
- package/lib/store/useEntityStore.d.ts +21 -0
- package/lib/store/useFilterStore.d.ts +37 -0
- package/lib/store/useInstrumentStore.d.ts +13 -0
- package/lib/store/useModalStore.d.ts +6 -0
- package/lib/store/useNotificationStore.d.ts +12 -0
- package/lib/store/usePendingStore.d.ts +14 -0
- package/lib/store/useSelectedStore.d.ts +12 -0
- package/lib/store/useSetupStore.d.ts +46 -0
- package/lib/theme/animations/index.d.ts +22 -0
- package/lib/theme/index.d.ts +13 -0
- package/lib/theme/opacity/index.d.ts +103 -0
- package/lib/theme/palletes/index.d.ts +105 -0
- package/lib/theme/provider/index.d.ts +3 -0
- package/lib/types/actions/index.d.ts +80 -0
- package/lib/types/common/index.d.ts +126 -0
- package/lib/types/compute-platform/index.d.ts +7 -0
- package/lib/types/data-flow/index.d.ts +18 -0
- package/lib/types/describe/index.d.ts +98 -0
- package/lib/types/destinations/index.d.ts +80 -0
- package/lib/types/index.d.ts +12 -0
- package/lib/types/instrumentation-rules/index.d.ts +74 -0
- package/lib/types/metrics/index.d.ts +10 -0
- package/lib/types/namespaces/index.d.ts +6 -0
- package/lib/types/signals/index.d.ts +9 -0
- package/lib/types/sources/index.d.ts +33 -0
- package/lib/types/tokens/index.d.ts +6 -0
- package/package.json +127 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DropdownProps } from '@/components';
|
|
3
|
+
interface NamespaceDropdownProps {
|
|
4
|
+
namespaces: {
|
|
5
|
+
name: string;
|
|
6
|
+
}[];
|
|
7
|
+
title?: string;
|
|
8
|
+
value?: DropdownProps['options'];
|
|
9
|
+
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
10
|
+
onDeselect: (val: DropdownProps['options'][0]) => void;
|
|
11
|
+
isMulti?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
showSearch?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const NamespaceDropdown: FC<NamespaceDropdownProps>;
|
|
16
|
+
export { NamespaceDropdown, type NamespaceDropdownProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type NamespaceDropdownProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<NamespaceDropdownProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<NamespaceDropdownProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { Platform } from '@/types';
|
|
3
|
+
import { type DropdownProps } from '@/components';
|
|
4
|
+
interface PlatformTypesDropdownProps {
|
|
5
|
+
computePlatforms: Platform[];
|
|
6
|
+
title?: string;
|
|
7
|
+
value?: DropdownProps['options'];
|
|
8
|
+
onSelect: (val: DropdownProps['options'][0]) => void;
|
|
9
|
+
onDeselect: (val: DropdownProps['options'][0]) => void;
|
|
10
|
+
isMulti?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
showSearch?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const PlatformTypesDropdown: FC<PlatformTypesDropdownProps>;
|
|
15
|
+
export { PlatformTypesDropdown, type PlatformTypesDropdownProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type PlatformTypesDropdownProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<PlatformTypesDropdownProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<PlatformTypesDropdownProps>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export * from './action-drawer/index';
|
|
2
|
+
export * from './action-form/index';
|
|
3
|
+
export * from './action-modal/index';
|
|
4
|
+
export * from './action-table/index';
|
|
5
|
+
export * from './await-pipeline/index';
|
|
6
|
+
export * from './compute-platform-select/index';
|
|
7
|
+
export * from './compute-platforms/index';
|
|
8
|
+
export * from './compute-platforms-actions-menu/index';
|
|
9
|
+
export * from './data-flow/index';
|
|
10
|
+
export * from './data-flow-actions-menu/index';
|
|
11
|
+
export * from './destination-drawer/index';
|
|
12
|
+
export * from './destination-form/index';
|
|
13
|
+
export * from './destination-modal/index';
|
|
14
|
+
export * from './destination-selection-form/index';
|
|
15
|
+
export * from './destination-table/index';
|
|
16
|
+
export * from './dropdowns/index';
|
|
17
|
+
export * from './instrumentation-rule-drawer/index';
|
|
18
|
+
export * from './instrumentation-rule-form/index';
|
|
19
|
+
export * from './instrumentation-rule-modal/index';
|
|
20
|
+
export * from './instrumentation-rule-table/index';
|
|
21
|
+
export * from './multi-source-control/index';
|
|
22
|
+
export * from './notification-manager/index';
|
|
23
|
+
export * from './overview-drawer/index';
|
|
24
|
+
export * from './side-nav/index';
|
|
25
|
+
export * from './slack-invite/index';
|
|
26
|
+
export * from './source-drawer/index';
|
|
27
|
+
export * from './source-form/index';
|
|
28
|
+
export * from './source-modal/index';
|
|
29
|
+
export * from './source-selection-form/index';
|
|
30
|
+
export * from './source-table/index';
|
|
31
|
+
export * from './system-overview/index';
|
|
32
|
+
export * from './toast-list/index';
|
|
33
|
+
export * from './toggle-dark-mode/index';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InstrumentationRule } from '@/types';
|
|
2
|
+
import { DATA_CARD_FIELD_TYPES } from '@/components';
|
|
3
|
+
declare const buildCard: (rule: InstrumentationRule) => {
|
|
4
|
+
type?: DATA_CARD_FIELD_TYPES;
|
|
5
|
+
title?: string;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
value?: string | Record<string, any>;
|
|
8
|
+
}[];
|
|
9
|
+
export { buildCard };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
interface InstrumentationRuleDrawerProps {
|
|
4
|
+
updateInstrumentationRule: (ruleId: string, instrumentationRule: InstrumentationRuleFormData) => void;
|
|
5
|
+
deleteInstrumentationRule: (ruleId: string) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const InstrumentationRuleDrawer: React.FC<InstrumentationRuleDrawerProps>;
|
|
8
|
+
export { InstrumentationRuleDrawer, type InstrumentationRuleDrawerProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InstrumentationRuleDrawerProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InstrumentationRuleDrawerProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InstrumentationRuleDrawerProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
type CodeAttributesProps = CustomFieldProps<InstrumentationRuleFormData>;
|
|
4
|
+
declare const CodeAttributes: React.FC<CodeAttributesProps>;
|
|
5
|
+
export { CodeAttributes, type CodeAttributesProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CustomFieldProps, INSTRUMENTATION_RULE_TYPE, type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
interface CustomFieldsProps extends CustomFieldProps<InstrumentationRuleFormData> {
|
|
4
|
+
ruleType?: INSTRUMENTATION_RULE_TYPE;
|
|
5
|
+
}
|
|
6
|
+
declare const CustomFields: FC<CustomFieldsProps>;
|
|
7
|
+
export { CustomFields, type CustomFieldsProps };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type CustomFieldProps, type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
type PayloadCollectionProps = CustomFieldProps<InstrumentationRuleFormData>;
|
|
4
|
+
declare const PayloadCollection: FC<PayloadCollectionProps>;
|
|
5
|
+
export { PayloadCollection, type PayloadCollectionProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { InstrumentationRuleFormData, InstrumentationRuleOption } from '@/types';
|
|
3
|
+
interface InstrumentationRuleFormProps {
|
|
4
|
+
isUpdate?: boolean;
|
|
5
|
+
rule: InstrumentationRuleOption;
|
|
6
|
+
formData: InstrumentationRuleFormData;
|
|
7
|
+
formErrors: Record<string, string>;
|
|
8
|
+
handleFormChange: (key: keyof InstrumentationRuleFormData, val: any) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const InstrumentationRuleForm: FC<InstrumentationRuleFormProps>;
|
|
11
|
+
export { InstrumentationRuleForm, type InstrumentationRuleFormProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InstrumentationRuleFormProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InstrumentationRuleFormProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InstrumentationRuleFormProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type InstrumentationRuleFormData } from '@/types';
|
|
3
|
+
interface InstrumentationRuleModalProps {
|
|
4
|
+
isEnterprise: boolean;
|
|
5
|
+
createInstrumentationRule: (instrumentationRule: InstrumentationRuleFormData) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const InstrumentationRuleModal: FC<InstrumentationRuleModalProps>;
|
|
8
|
+
export { InstrumentationRuleModal, type InstrumentationRuleModalProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InstrumentationRuleModalProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InstrumentationRuleModalProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InstrumentationRuleModalProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type CSSProperties, type FC } from 'react';
|
|
2
|
+
interface InstrumentationRuleTableProps {
|
|
3
|
+
maxHeight?: CSSProperties['maxHeight'];
|
|
4
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
5
|
+
}
|
|
6
|
+
declare const InstrumentationRuleTable: FC<InstrumentationRuleTableProps>;
|
|
7
|
+
export { InstrumentationRuleTable, type InstrumentationRuleTableProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InstrumentationRuleTableProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InstrumentationRuleTableProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InstrumentationRuleTableProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type SelectedState } from '@/store';
|
|
3
|
+
interface MultiSourceControlProps {
|
|
4
|
+
totalSourceCount: number;
|
|
5
|
+
uninstrumentSources: (payload: SelectedState['selectedSources']) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const MultiSourceControl: React.FC<MultiSourceControlProps>;
|
|
8
|
+
export { MultiSourceControl, type MultiSourceControlProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StoryObj } from '@storybook/react';
|
|
3
|
+
import { type MultiSourceControlProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<MultiSourceControlProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryObj<MultiSourceControlProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StoryObj } from '@storybook/react';
|
|
3
|
+
import { type NotificationManagerProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<NotificationManagerProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryObj<NotificationManagerProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type SVG } from '@/types';
|
|
3
|
+
import { type DrawerProps } from '@/components';
|
|
4
|
+
interface OverviewDrawerProps extends PropsWithChildren {
|
|
5
|
+
width?: number;
|
|
6
|
+
title: string;
|
|
7
|
+
titleTooltip?: string;
|
|
8
|
+
icon?: SVG;
|
|
9
|
+
iconSrc?: string;
|
|
10
|
+
isEdit?: boolean;
|
|
11
|
+
isFormDirty?: boolean;
|
|
12
|
+
isLastItem?: boolean;
|
|
13
|
+
onEdit?: (bool?: boolean) => void;
|
|
14
|
+
onSave?: (newTitle: string) => void;
|
|
15
|
+
onDelete?: () => void;
|
|
16
|
+
onCancel?: () => void;
|
|
17
|
+
tabs?: DrawerProps['header']['tabs'];
|
|
18
|
+
}
|
|
19
|
+
declare const OverviewDrawer: React.FC<OverviewDrawerProps>;
|
|
20
|
+
export { OverviewDrawer, type OverviewDrawerProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type OverviewDrawerProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<OverviewDrawerProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<OverviewDrawerProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type NavIcon } from '@/components';
|
|
3
|
+
declare enum NAV_ICON_IDS {
|
|
4
|
+
OVERVIEW = "overview",
|
|
5
|
+
INSTRUMENTATION_RULES = "instrumentation-rules",
|
|
6
|
+
SOURCES = "sources",
|
|
7
|
+
ACTIONS = "actions",
|
|
8
|
+
DESTINATIONS = "destinations"
|
|
9
|
+
}
|
|
10
|
+
interface SideNavProps {
|
|
11
|
+
onClickId: (id: NAV_ICON_IDS) => void;
|
|
12
|
+
defaultSelectedId?: string;
|
|
13
|
+
extendedNavIcons?: NavIcon[];
|
|
14
|
+
}
|
|
15
|
+
declare const SideNav: FC<SideNavProps>;
|
|
16
|
+
export { SideNav, type SideNavProps, NAV_ICON_IDS };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SideNavProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SideNavProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SideNavProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SlackInviteProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SlackInviteProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SlackInviteProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DescribeSource, type Source, type WorkloadId } from '@/types';
|
|
3
|
+
interface DescribeProps {
|
|
4
|
+
source: Source;
|
|
5
|
+
fetchDescribeSource: (req: {
|
|
6
|
+
variables: WorkloadId;
|
|
7
|
+
}) => Promise<{
|
|
8
|
+
data?: {
|
|
9
|
+
describeSource: DescribeSource;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
declare const Describe: FC<DescribeProps>;
|
|
14
|
+
export { Describe, type DescribeProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type DescribeSource, type PersistSources, type SourceFormData, type WorkloadId } from '@/types';
|
|
3
|
+
interface SourceDrawerProps {
|
|
4
|
+
persistSources: PersistSources;
|
|
5
|
+
updateSource: (sourceId: WorkloadId, payload: SourceFormData) => Promise<void>;
|
|
6
|
+
fetchDescribeSource: (req: {
|
|
7
|
+
variables: WorkloadId;
|
|
8
|
+
}) => Promise<{
|
|
9
|
+
data?: {
|
|
10
|
+
describeSource: DescribeSource;
|
|
11
|
+
};
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
declare const SourceDrawer: FC<SourceDrawerProps>;
|
|
15
|
+
export { SourceDrawer, type SourceDrawerProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SourceDrawerProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SourceDrawerProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SourceDrawerProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { SourceFormData } from '@/types';
|
|
3
|
+
interface SourceFormProps {
|
|
4
|
+
formData: SourceFormData;
|
|
5
|
+
handleFormChange: (key: keyof SourceFormData, val: any) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const SourceForm: FC<SourceFormProps>;
|
|
8
|
+
export { SourceForm, type SourceFormProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SourceFormProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SourceFormProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SourceFormProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Dispatch, type FC, type SetStateAction } from 'react';
|
|
2
|
+
import { type Namespace, type PersistSources } from '@/types';
|
|
3
|
+
import { type SourceSelectionFormProps } from '../source-selection-form';
|
|
4
|
+
interface SourceModalProps {
|
|
5
|
+
componentType?: SourceSelectionFormProps['componentType'];
|
|
6
|
+
namespaces: Namespace[];
|
|
7
|
+
namespace?: Namespace;
|
|
8
|
+
namespacesLoading: boolean;
|
|
9
|
+
selectedNamespace: string;
|
|
10
|
+
setSelectedNamespace: Dispatch<SetStateAction<string>>;
|
|
11
|
+
persistSources: PersistSources;
|
|
12
|
+
}
|
|
13
|
+
declare const SourceModal: FC<SourceModalProps>;
|
|
14
|
+
export { SourceModal, type SourceModalProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SourceModalProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SourceModalProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SourceModalProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { UseSourceSelectionFormData } from '@/hooks';
|
|
3
|
+
interface ListProps extends UseSourceSelectionFormData {
|
|
4
|
+
isModal?: boolean;
|
|
5
|
+
namespacesLoading: boolean;
|
|
6
|
+
selectedNamespace: string;
|
|
7
|
+
onSelectNamespace: (namespace: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const List: FC<ListProps>;
|
|
10
|
+
export { List, type ListProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Namespace } from '@/types';
|
|
3
|
+
import type { AvailableSourcesByNamespace, NamespaceSelectionFormData, SourceSelectionFormData } from '@/store';
|
|
4
|
+
interface SourceSelectionFormProps {
|
|
5
|
+
componentType: 'SIMPLE' | 'FAST';
|
|
6
|
+
isModal?: boolean;
|
|
7
|
+
namespaces: Namespace[];
|
|
8
|
+
namespace?: Namespace;
|
|
9
|
+
namespacesLoading: boolean;
|
|
10
|
+
selectedNamespace: string;
|
|
11
|
+
onSelectNamespace: (namespace: string) => void;
|
|
12
|
+
}
|
|
13
|
+
interface SourceSelectionFormRef {
|
|
14
|
+
getFormValues: () => {
|
|
15
|
+
initial: AvailableSourcesByNamespace;
|
|
16
|
+
apps: SourceSelectionFormData;
|
|
17
|
+
futureApps: NamespaceSelectionFormData;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const SourceSelectionForm: React.ForwardRefExoticComponent<SourceSelectionFormProps & React.RefAttributes<SourceSelectionFormRef>>;
|
|
21
|
+
export { SourceSelectionForm, type SourceSelectionFormProps, type SourceSelectionFormRef };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { Namespace } from '@/types';
|
|
3
|
+
import type { UseSourceSelectionFormData } from '@/hooks';
|
|
4
|
+
interface ControlsProps extends UseSourceSelectionFormData {
|
|
5
|
+
isModal?: boolean;
|
|
6
|
+
namespaces: Namespace[];
|
|
7
|
+
selectedNamespace: string;
|
|
8
|
+
onSelectNamespace: (namespace: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const Controls: FC<ControlsProps>;
|
|
11
|
+
export { Controls, type ControlsProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type ListProps } from './list';
|
|
3
|
+
import { type ControlsProps } from './controls';
|
|
4
|
+
interface SimpleProps extends ControlsProps, ListProps {
|
|
5
|
+
}
|
|
6
|
+
declare const Simple: FC<SimpleProps>;
|
|
7
|
+
export { Simple, type SimpleProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { UseSourceSelectionFormData } from '@/hooks';
|
|
3
|
+
interface ListProps extends UseSourceSelectionFormData {
|
|
4
|
+
isModal?: boolean;
|
|
5
|
+
namespacesLoading: boolean;
|
|
6
|
+
selectedNamespace: string;
|
|
7
|
+
}
|
|
8
|
+
declare const List: FC<ListProps>;
|
|
9
|
+
export { List, type ListProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SourceSelectionFormProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.ForwardRefExoticComponent<SourceSelectionFormProps & React.RefAttributes<import(".").SourceSelectionFormRef>>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SourceSelectionFormProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type CSSProperties, type FC } from 'react';
|
|
2
|
+
import { type Metrics } from '@/types';
|
|
3
|
+
interface SourceTableProps {
|
|
4
|
+
metrics: Metrics;
|
|
5
|
+
maxHeight?: CSSProperties['maxHeight'];
|
|
6
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
7
|
+
}
|
|
8
|
+
declare const SourceTable: FC<SourceTableProps>;
|
|
9
|
+
export { SourceTable, type SourceTableProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SourceTableProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SourceTableProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SourceTableProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { DescribeOdigos } from '@/types';
|
|
3
|
+
interface DescribeProps {
|
|
4
|
+
fetchDescribeOdigos: () => Promise<{
|
|
5
|
+
data?: {
|
|
6
|
+
describeOdigos: DescribeOdigos;
|
|
7
|
+
};
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
declare const Describe: FC<DescribeProps>;
|
|
11
|
+
export { Describe, type DescribeProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type TokensProps } from './tokens';
|
|
3
|
+
import { type DescribeProps } from './describe';
|
|
4
|
+
interface SystemOverviewProps extends TokensProps, DescribeProps {
|
|
5
|
+
}
|
|
6
|
+
declare const SystemOverview: FC<SystemOverviewProps>;
|
|
7
|
+
export { SystemOverview, type SystemOverviewProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SystemOverviewProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SystemOverviewProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SystemOverviewProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type Condition } from '@/types';
|
|
3
|
+
interface TableCellConditionsProps {
|
|
4
|
+
conditions: Condition[];
|
|
5
|
+
}
|
|
6
|
+
declare const TableCellConditions: FC<TableCellConditionsProps>;
|
|
7
|
+
export { TableCellConditions, type TableCellConditionsProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type TableCellConditionsProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<TableCellConditionsProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<TableCellConditionsProps>;
|