@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,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type FieldErrorProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<FieldErrorProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<FieldErrorProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type FieldLabelProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<FieldLabelProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<FieldLabelProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC, type CSSProperties } from 'react';
|
|
2
|
+
interface FieldLabelProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
required?: boolean;
|
|
5
|
+
tooltip?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
declare const FieldLabel: FC<FieldLabelProps>;
|
|
9
|
+
export { FieldLabel, type FieldLabelProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type HeaderProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<HeaderProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<HeaderProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type IconButtonProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<IconButtonProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<IconButtonProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type MouseEvent, type CSSProperties, type FC, type PropsWithChildren } from 'react';
|
|
2
|
+
interface IconButtonProps extends PropsWithChildren {
|
|
3
|
+
onClick?: (e: MouseEvent) => void;
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
size?: number;
|
|
6
|
+
withPing?: boolean;
|
|
7
|
+
pingColor?: CSSProperties['backgroundColor'];
|
|
8
|
+
}
|
|
9
|
+
declare const IconButton: FC<IconButtonProps>;
|
|
10
|
+
export { IconButton, type IconButtonProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import { type IconGroupProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<IconGroupProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const SvgImportsMaxAmount: StoryObj<IconGroupProps>;
|
|
10
|
+
export declare const SvgImportsHalfAmount: StoryObj<IconGroupProps>;
|
|
11
|
+
export declare const SvgImportsMinAmount: StoryObj<IconGroupProps>;
|
|
12
|
+
export declare const ImageUrlsMaxAmount: StoryObj<IconGroupProps>;
|
|
13
|
+
export declare const ImageUrlsHalfAmount: StoryObj<IconGroupProps>;
|
|
14
|
+
export declare const ImageUrlsMinAmount: StoryObj<IconGroupProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
import { NOTIFICATION_TYPE } from '@/types';
|
|
4
|
+
interface IconGroupProps {
|
|
5
|
+
icons?: SVG[];
|
|
6
|
+
iconSrcs?: string[];
|
|
7
|
+
status?: NOTIFICATION_TYPE;
|
|
8
|
+
size?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const IconGroup: FC<IconGroupProps>;
|
|
11
|
+
export { IconGroup, type IconGroupProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type IconTitleBadgeProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<IconTitleBadgeProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<IconTitleBadgeProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface IconTitleBadgeProps {
|
|
4
|
+
icon?: SVG;
|
|
5
|
+
title: string;
|
|
6
|
+
badge?: string | number;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const IconTitleBadge: FC<IconTitleBadgeProps>;
|
|
10
|
+
export { IconTitleBadge, type IconTitleBadgeProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import { type IconWrappedProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<IconWrappedProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const SvgImport: StoryObj<IconWrappedProps>;
|
|
10
|
+
export declare const ImageUrl: StoryObj<IconWrappedProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { NOTIFICATION_TYPE, type SVG } from '@/types';
|
|
3
|
+
interface IconWrappedProps {
|
|
4
|
+
icon?: SVG;
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
status?: NOTIFICATION_TYPE;
|
|
8
|
+
size?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const IconWrapped: FC<IconWrappedProps>;
|
|
11
|
+
export { IconWrapped, type IconWrappedProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type IconsNavProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<IconsNavProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<IconsNavProps>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface NavIcon {
|
|
4
|
+
id: string;
|
|
5
|
+
icon: SVG | FC;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
}
|
|
10
|
+
interface IconsNavProps {
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
|
+
flip?: boolean;
|
|
13
|
+
mainIcons: NavIcon[];
|
|
14
|
+
subIcons: NavIcon[];
|
|
15
|
+
}
|
|
16
|
+
declare const IconsNav: FC<IconsNavProps>;
|
|
17
|
+
export { IconsNav, type IconsNavProps, type NavIcon };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type ImageControlledProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<ImageControlledProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<ImageControlledProps>;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 './extend-arrow/index';
|
|
16
|
+
export * from './fade-loader/index';
|
|
17
|
+
export * from './field-error/index';
|
|
18
|
+
export * from './field-label/index';
|
|
19
|
+
export * from './header/index';
|
|
20
|
+
export * from './icon-button/index';
|
|
21
|
+
export * from './icon-group/index';
|
|
22
|
+
export * from './icon-title-badge/index';
|
|
23
|
+
export * from './icon-wrapped/index';
|
|
24
|
+
export * from './icons-nav/index';
|
|
25
|
+
export * from './image-controlled/index';
|
|
26
|
+
export * from './input/index';
|
|
27
|
+
export * from './input-list/index';
|
|
28
|
+
export * from './input-table/index';
|
|
29
|
+
export * from './interactive-table/index';
|
|
30
|
+
export * from './key-value-input-list/index';
|
|
31
|
+
export * from './modal/index';
|
|
32
|
+
export * from './monitors-checkboxes/index';
|
|
33
|
+
export * from './monitors-icons/index';
|
|
34
|
+
export * from './navigation-buttons/index';
|
|
35
|
+
export * from './no-data-found/index';
|
|
36
|
+
export * from './notification-note/index';
|
|
37
|
+
export * from './section-title/index';
|
|
38
|
+
export * from './segment/index';
|
|
39
|
+
export * from './skeleton-loader/index';
|
|
40
|
+
export * from './status/index';
|
|
41
|
+
export * from './stepper/index';
|
|
42
|
+
export * from './text/index';
|
|
43
|
+
export * from './textarea/index';
|
|
44
|
+
export * from './toggle/index';
|
|
45
|
+
export * from './tooltip/index';
|
|
46
|
+
export * from './trace-loader/index';
|
|
47
|
+
export * from './warning-modal/index';
|
|
48
|
+
export * from './styled';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FC, type InputHTMLAttributes } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: SVG;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
buttonLabel?: string;
|
|
8
|
+
onButtonClick?: () => void;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
hasError?: boolean;
|
|
11
|
+
errorMessage?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Input: FC<InputProps>;
|
|
14
|
+
export { Input, type InputProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InputProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InputProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InputProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
type Row = string;
|
|
3
|
+
interface InputListProps {
|
|
4
|
+
initialValues?: Row[];
|
|
5
|
+
value?: Row[];
|
|
6
|
+
onChange: (values: Row[]) => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const InputList: FC<InputListProps>;
|
|
13
|
+
export { InputList, type InputListProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InputListProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InputListProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InputListProps>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
type Row = {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
interface InputTableProps {
|
|
6
|
+
columns: {
|
|
7
|
+
title: string;
|
|
8
|
+
keyName: string;
|
|
9
|
+
type?: 'number';
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
}[];
|
|
14
|
+
initialValues?: Row[];
|
|
15
|
+
value?: Row[];
|
|
16
|
+
onChange?: (values: Row[]) => void;
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const InputTable: FC<InputTableProps>;
|
|
20
|
+
export { InputTable, type InputTableProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type InputTableProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InputTableProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<InputTableProps>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ReactNode, type FC, CSSProperties } from 'react';
|
|
2
|
+
import { NOTIFICATION_TYPE, type SVG } from '@/types';
|
|
3
|
+
interface ColumnCell {
|
|
4
|
+
key: string;
|
|
5
|
+
title: string;
|
|
6
|
+
sortable?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface RowCell {
|
|
9
|
+
columnKey: string;
|
|
10
|
+
icon?: SVG;
|
|
11
|
+
component?: () => ReactNode;
|
|
12
|
+
value?: string | number | boolean;
|
|
13
|
+
textColor?: CSSProperties['color'];
|
|
14
|
+
withTooltip?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface InteractiveTableProps {
|
|
17
|
+
columns: ColumnCell[];
|
|
18
|
+
rows: {
|
|
19
|
+
status?: NOTIFICATION_TYPE;
|
|
20
|
+
faded?: boolean;
|
|
21
|
+
cells: RowCell[];
|
|
22
|
+
}[];
|
|
23
|
+
onRowClick?: (index: number) => void;
|
|
24
|
+
}
|
|
25
|
+
declare const InteractiveTable: FC<InteractiveTableProps>;
|
|
26
|
+
export { InteractiveTable, type InteractiveTableProps, type ColumnCell, type RowCell };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { type InteractiveTableProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<InteractiveTableProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Tokens: StoryObj<InteractiveTableProps>;
|
|
10
|
+
export declare const ComputePlatforms: StoryObj<InteractiveTableProps>;
|
|
11
|
+
export declare const Sources: StoryObj<InteractiveTableProps>;
|
|
12
|
+
export declare const Actions: StoryObj<InteractiveTableProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ColumnCell, RowCell } from '.';
|
|
3
|
+
import { NOTIFICATION_TYPE } from '@/types';
|
|
4
|
+
interface RowProps {
|
|
5
|
+
index: number;
|
|
6
|
+
columns: ColumnCell[];
|
|
7
|
+
cells: RowCell[];
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
status?: NOTIFICATION_TYPE;
|
|
10
|
+
faded?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Row: FC<RowProps>;
|
|
13
|
+
export { Row, type RowProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
type Row = {
|
|
3
|
+
key: string;
|
|
4
|
+
value: string;
|
|
5
|
+
};
|
|
6
|
+
interface KeyValueInputsListProps {
|
|
7
|
+
initialKeyValuePairs?: Row[];
|
|
8
|
+
value?: Row[];
|
|
9
|
+
onChange?: (validKeyValuePairs: Row[]) => void;
|
|
10
|
+
title?: string;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
errorMessage?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const KeyValueInputsList: FC<KeyValueInputsListProps>;
|
|
16
|
+
export { KeyValueInputsList, type KeyValueInputsListProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type KeyValueInputsListProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<KeyValueInputsListProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<KeyValueInputsListProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactNode, type FC } from 'react';
|
|
2
|
+
interface ModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
noOverlay?: boolean;
|
|
6
|
+
header?: {
|
|
7
|
+
title: string;
|
|
8
|
+
};
|
|
9
|
+
actionComponent?: ReactNode;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
closeOnEscape?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Modal: FC<ModalProps>;
|
|
14
|
+
export { Modal, type ModalProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type ModalProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<ModalProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<ModalProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { SIGNAL_TYPE } from '@/types';
|
|
3
|
+
interface MonitorsCheckboxesProps {
|
|
4
|
+
isVertical?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
allowedSignals?: SIGNAL_TYPE[];
|
|
9
|
+
selectedSignals: SIGNAL_TYPE[];
|
|
10
|
+
setSelectedSignals: (value: SIGNAL_TYPE[]) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const MonitorsCheckboxes: FC<MonitorsCheckboxesProps>;
|
|
13
|
+
export { MonitorsCheckboxes, type MonitorsCheckboxesProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type MonitorsCheckboxesProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<MonitorsCheckboxesProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<MonitorsCheckboxesProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { SIGNAL_TYPE } from '@/types';
|
|
3
|
+
interface MonitorsIconsProps {
|
|
4
|
+
monitors?: SIGNAL_TYPE[];
|
|
5
|
+
withTooltips?: boolean;
|
|
6
|
+
withLabels?: boolean;
|
|
7
|
+
size?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const MonitorsIcons: FC<MonitorsIconsProps>;
|
|
11
|
+
export { MonitorsIcons, type MonitorsIconsProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type MonitorsIconsProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<MonitorsIconsProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<MonitorsIconsProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface IButton {
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: SVG;
|
|
6
|
+
iconSrc?: string;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
variant?: 'primary' | 'secondary';
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface NavigationButtonsProps {
|
|
13
|
+
buttons: IButton[];
|
|
14
|
+
}
|
|
15
|
+
declare const NavigationButtons: FC<NavigationButtonsProps>;
|
|
16
|
+
export { NavigationButtons, type NavigationButtonsProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type NavigationButtonsProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<NavigationButtonsProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<NavigationButtonsProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type NoDataFoundProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<NoDataFoundProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<NoDataFoundProps>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type CSSProperties, type FC } from 'react';
|
|
2
|
+
import { NOTIFICATION_TYPE } from '@/types';
|
|
3
|
+
interface OnCloseParams {
|
|
4
|
+
asSeen: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface NotificationNoteProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
type: NOTIFICATION_TYPE;
|
|
9
|
+
title?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
action?: {
|
|
12
|
+
label: string;
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
};
|
|
15
|
+
onClose?: (params: OnCloseParams) => void;
|
|
16
|
+
duration?: number;
|
|
17
|
+
overrideMaxWidth?: CSSProperties['width'];
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
declare const NotificationNote: FC<NotificationNoteProps>;
|
|
21
|
+
export { NotificationNote, type NotificationNoteProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StoryObj } from '@storybook/react';
|
|
3
|
+
import { type NotificationNoteProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<NotificationNoteProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryObj<NotificationNoteProps>;
|
|
10
|
+
export declare const LongText: StoryObj<NotificationNoteProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode, type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
interface SectionTitleProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
badgeLabel?: string | number;
|
|
7
|
+
icon?: SVG;
|
|
8
|
+
actionButton?: ReactNode;
|
|
9
|
+
size?: 'small' | 'medium' | 'large';
|
|
10
|
+
}
|
|
11
|
+
declare const SectionTitle: FC<SectionTitleProps>;
|
|
12
|
+
export { SectionTitle, type SectionTitleProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SectionTitleProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SectionTitleProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SectionTitleProps>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type CSSProperties, type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
type SelectedValue = any;
|
|
4
|
+
interface SegmentProps {
|
|
5
|
+
options: {
|
|
6
|
+
icon?: SVG;
|
|
7
|
+
label?: string;
|
|
8
|
+
value: SelectedValue;
|
|
9
|
+
selectedBgColor?: CSSProperties['backgroundColor'];
|
|
10
|
+
}[];
|
|
11
|
+
selected: SelectedValue;
|
|
12
|
+
setSelected: (value: SelectedValue) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const Segment: FC<SegmentProps>;
|
|
15
|
+
export { Segment, type SegmentProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { StoryFn } from '@storybook/react';
|
|
3
|
+
import { type SegmentProps } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<SegmentProps>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Default: StoryFn<SegmentProps>;
|