@odigos/ui-kit 0.0.9 → 0.0.11-1.patch-dev.361
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devcontainer/README.md +26 -0
- package/.devcontainer/devcontainer.json +21 -0
- package/CHANGELOG.md +862 -0
- package/README.md +3 -2
- package/VERSIONING.md +228 -0
- package/lib/chunks/ui-components-f51830d4.js +1605 -0
- package/lib/chunks/vendor-1dea551d.js +1 -0
- package/lib/components/auto-complete-input/index.d.ts +3 -0
- package/lib/components/badge/index.d.ts +2 -2
- package/lib/components/code/index.d.ts +1 -1
- package/lib/components/data-card/data-card-fields/index.d.ts +19 -19
- package/lib/components/data-card/index.d.ts +8 -6
- package/lib/components/data-finger/index.d.ts +12 -0
- package/lib/components/data-tab/index.d.ts +25 -10
- package/lib/components/delete-warning/index.d.ts +2 -2
- package/lib/components/describe-row/index.d.ts +2 -2
- package/lib/components/divider/index.d.ts +3 -2
- package/lib/components/drawer/drawer-footer/index.d.ts +3 -0
- package/lib/components/drawer/drawer-header/index.d.ts +7 -5
- package/lib/components/drawer/index.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +6 -2
- package/lib/components/error-boundary/index.d.ts +1 -2
- package/lib/components/field-error/index.d.ts +1 -2
- package/lib/components/field-label/index.d.ts +2 -0
- package/lib/components/icon-button/index.d.ts +2 -0
- package/lib/components/icon-group/index.d.ts +3 -2
- package/lib/components/icon-wrapped/index.d.ts +2 -2
- package/lib/components/index.d.ts +56 -48
- package/lib/components/input/index.d.ts +2 -1
- package/lib/components/input-table/index.d.ts +4 -11
- package/lib/components/input-table/map-columns-to-fields/index.d.ts +15 -0
- package/lib/components/input-table/types.d.ts +15 -0
- package/lib/components/interactive-table/index.d.ts +9 -8
- package/lib/components/interactive-table/table-row.d.ts +13 -0
- package/lib/components/key-value-input-list/index.d.ts +4 -0
- package/lib/components/monitors-checkboxes/index.d.ts +4 -4
- package/lib/components/monitors-icons/index.d.ts +2 -2
- package/lib/components/notification-note/index.d.ts +3 -2
- package/lib/components/popup/index.d.ts +18 -0
- package/lib/components/popup-form/index.d.ts +18 -0
- package/lib/components/scroll-x/index.d.ts +10 -0
- package/lib/components/segment/index.d.ts +8 -6
- package/lib/{containers/data-flow-actions-menu → components}/selection-button/index.d.ts +3 -3
- package/lib/components/status/index.d.ts +8 -5
- package/lib/components/stepper/index.d.ts +2 -1
- package/lib/components/styled.d.ts +33 -2
- package/lib/components/tab-list/index.d.ts +17 -0
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/text/index.d.ts +16 -3
- package/lib/components/toggle/index.d.ts +2 -1
- package/lib/components/warning-modal/index.d.ts +2 -2
- package/lib/components.js +1 -173
- package/lib/constants/destinations/index.d.ts +18 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/constants/sources/index.d.ts +4 -0
- package/lib/constants/strings/index.d.ts +90 -0
- package/lib/constants.js +1 -13
- package/lib/containers/action-drawer/build-card.d.ts +1 -7
- package/lib/containers/action-drawer/index.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/error-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/index.d.ts +3 -3
- package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/pii-masking.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +2 -2
- package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +5 -0
- package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +5 -0
- package/lib/containers/await-pipeline/index.d.ts +1 -2
- package/lib/containers/data-flow/helpers/build-action-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-destination-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/build-edges.d.ts +2 -2
- package/lib/containers/data-flow/helpers/build-rule-nodes.d.ts +7 -1
- package/lib/containers/data-flow/helpers/get-node-positions.d.ts +2 -2
- package/lib/containers/data-flow/index.d.ts +2 -2
- package/lib/containers/data-flow-actions-menu/add-entity/index.d.ts +2 -3
- package/lib/containers/data-flow-actions-menu/data-stream-select/index.d.ts +9 -0
- package/lib/containers/data-flow-actions-menu/filters/index.d.ts +2 -8
- package/lib/containers/data-flow-actions-menu/index.d.ts +5 -6
- package/lib/containers/data-flow-actions-menu/search/index.d.ts +3 -2
- package/lib/containers/data-flow-actions-menu/search/search-results/builder.d.ts +3 -3
- package/lib/containers/data-flow-actions-menu/search/search-results/index.d.ts +0 -1
- package/lib/containers/data-flow-actions-menu/styled.d.ts +5 -1
- package/lib/containers/data-stream-drawer/index.d.ts +10 -0
- package/lib/containers/data-stream-form/index.d.ts +9 -0
- package/lib/containers/data-stream-modal/index.d.ts +4 -0
- package/lib/containers/data-stream-selection-form/index.d.ts +13 -0
- package/lib/containers/destination-drawer/build-card.d.ts +1 -7
- package/lib/containers/destination-drawer/index.d.ts +2 -5
- package/lib/containers/destination-form/dynamic-fields/index.d.ts +2 -1
- package/lib/containers/destination-form/index.d.ts +2 -5
- package/lib/containers/destination-form/test-connection/index.d.ts +5 -10
- package/lib/containers/destination-modal/choose-destination/destinations-list/index.d.ts +3 -1
- package/lib/containers/destination-modal/choose-destination/index.d.ts +5 -5
- package/lib/containers/destination-modal/index.d.ts +5 -6
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +8 -0
- package/lib/containers/destination-selection-form/index.d.ts +5 -9
- package/lib/containers/dropdowns/{connection-type-dropdown → condition-dropdown}/index.d.ts +5 -5
- package/lib/containers/dropdowns/error-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/index.d.ts +6 -7
- package/lib/containers/dropdowns/kind-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/language-dropdown/index.d.ts +2 -0
- package/lib/containers/dropdowns/namespace-dropdown/index.d.ts +2 -3
- package/lib/containers/index.d.ts +38 -33
- package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +2 -8
- package/lib/containers/instrumentation-rule-form/custom-fields/custom-instrumentation.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +5 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/index.d.ts +2 -2
- package/lib/containers/instrumentation-rule-form/index.d.ts +1 -1
- package/lib/containers/multi-source-control/index.d.ts +2 -0
- package/lib/containers/notification-manager/index.d.ts +1 -2
- package/lib/containers/overview-drawer/index.d.ts +10 -4
- package/lib/containers/service-map/helpers/build-edges.d.ts +10 -0
- package/lib/containers/service-map/helpers/build-map-nodes.d.ts +11 -0
- package/lib/containers/service-map/helpers/generate-dag-positions.d.ts +5 -0
- package/lib/containers/service-map/helpers/generate-spiral-grid-position.d.ts +2 -0
- package/lib/containers/service-map/index.d.ts +8 -0
- package/lib/containers/setup-summary/index.d.ts +10 -0
- package/lib/containers/side-nav/index.d.ts +8 -8
- package/lib/containers/slack-invite/index.d.ts +1 -2
- package/lib/containers/source-drawer/build-card.d.ts +1 -6
- package/lib/containers/source-drawer/describe/index.d.ts +1 -1
- package/lib/containers/source-drawer/index.d.ts +7 -8
- package/lib/containers/source-drawer/libraries/index.d.ts +14 -0
- package/lib/containers/source-drawer/odigos-health/index.d.ts +6 -0
- package/lib/containers/source-modal/index.d.ts +3 -9
- package/lib/containers/source-selection-form/index.d.ts +4 -8
- package/lib/containers/source-selection-form/source-list/index.d.ts +8 -0
- package/lib/containers/system-overview/describe/index.d.ts +1 -1
- package/lib/containers/system-settings/index.d.ts +9 -0
- package/lib/containers/system-settings/settings/collector-gateway-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/collector-node-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/general-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/options.d.ts +5 -0
- package/lib/containers/system-settings/settings/rollback-settings.d.ts +4 -0
- package/lib/containers/system-settings/settings/styled.d.ts +8 -0
- package/lib/containers/system-settings/settings/types.d.ts +13 -0
- package/lib/containers/system-settings/settings/ui-settings.d.ts +4 -0
- package/lib/containers/table-cell-conditions/index.d.ts +1 -0
- package/lib/containers/toast-list/index.d.ts +1 -2
- package/lib/containers/toggle-dark-mode/index.d.ts +1 -2
- package/lib/containers/trace-view/build-spans.d.ts +2 -0
- package/lib/containers/trace-view/index.d.ts +9 -0
- package/lib/containers/trace-view/span/index.d.ts +38 -0
- package/lib/containers/trace-view/span-drawer/build-details-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-logs-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-process-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/build-tags-card.d.ts +3 -0
- package/lib/containers/trace-view/span-drawer/index.d.ts +9 -0
- package/lib/containers.js +285 -15711
- package/lib/functions/clean-object-empty-strings-values/index.d.ts +2 -1
- package/lib/functions/compare-condition/index.d.ts +3 -3
- package/lib/functions/filter-destinations-by-stream/index.d.ts +2 -0
- package/lib/functions/filter-sources-by-stream/index.d.ts +2 -0
- package/lib/functions/flatten-object-keys/index.d.ts +2 -1
- package/lib/functions/format-duration/index.d.ts +1 -0
- package/lib/functions/get-action-icon/index.d.ts +2 -2
- package/lib/functions/get-conditions-booleans/index.d.ts +6 -2
- package/lib/functions/get-destination-icon/index.d.ts +5 -1
- package/lib/functions/get-entity-icon/index.d.ts +2 -2
- package/lib/functions/get-entity-id/index.d.ts +2 -2
- package/lib/functions/get-entity-label/index.d.ts +2 -2
- package/lib/functions/get-id-from-sse-target/index.d.ts +2 -2
- package/lib/functions/get-instrumentation-rule-icon/index.d.ts +2 -2
- package/lib/functions/get-main-container-language/index.d.ts +2 -0
- package/lib/functions/get-metric-for-entity/index.d.ts +2 -2
- package/lib/functions/get-monitor-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-icon/index.d.ts +2 -2
- package/lib/functions/get-platform-label/index.d.ts +2 -2
- package/lib/functions/get-programming-language-icon/index.d.ts +2 -2
- package/lib/functions/get-recursive-values/index.d.ts +4 -0
- package/lib/functions/get-sse-target-from-id/index.d.ts +2 -2
- package/lib/functions/get-status-icon/index.d.ts +3 -2
- package/lib/functions/get-status-type-from-odigos-health/index.d.ts +2 -0
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +2 -0
- package/lib/functions/has-unhealthy-instances/index.d.ts +2 -0
- package/lib/functions/index.d.ts +15 -1
- package/lib/functions/is-legal-k8s-label/index.d.ts +1 -0
- package/lib/functions/is-string-a-boolean/index.d.ts +1 -0
- package/lib/functions/is-valid-version/index.d.ts +1 -0
- package/lib/functions/map-destination-fields-for-display/index.d.ts +6 -0
- package/lib/functions/map-exported-signals/index.d.ts +2 -0
- package/lib/functions/numbers-only/index.d.ts +1 -0
- package/lib/functions/parse-boolean-from-string/index.d.ts +1 -0
- package/lib/functions/remove-empty-values-from-object/index.d.ts +2 -1
- package/lib/functions/safe-json-parse/index.d.ts +2 -1
- package/lib/functions/safe-json-stringify/index.d.ts +2 -1
- package/lib/functions/split-camel-string/index.d.ts +1 -1
- package/lib/functions/stringify-non-string-values/index.d.ts +2 -1
- package/lib/functions.js +1 -115
- package/lib/hooks/index.d.ts +3 -0
- package/lib/hooks/useActionFormData.d.ts +2 -2
- package/lib/hooks/useDataStreamFormData.d.ts +12 -0
- package/lib/hooks/useDestinationFormData.d.ts +1 -1
- package/lib/hooks/useGenericForm.d.ts +3 -1
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +3 -6
- package/lib/hooks/usePopup.d.ts +17 -0
- package/lib/hooks/useSessionStorage.d.ts +5 -0
- package/lib/hooks/useSourceFormData.d.ts +2 -5
- package/lib/hooks/useSourceSelectionFormData.d.ts +19 -20
- package/lib/hooks.js +1 -13
- package/lib/icons/actions/index.d.ts +5 -5
- package/lib/icons/brand/index.d.ts +2 -2
- package/lib/icons/common/avatar-icon/index.d.ts +2 -0
- package/lib/icons/common/edited-icon/index.d.ts +2 -0
- package/lib/icons/common/gear-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +30 -20
- package/lib/icons/common/refresh-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-left-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/refresh-right-arrow-icon/index.d.ts +2 -0
- package/lib/icons/common/rotate-arrows-icon/index.d.ts +2 -0
- package/lib/icons/common/user-group-icon/index.d.ts +2 -0
- package/lib/icons/common/user-icon/index.d.ts +2 -0
- package/lib/icons/common/user-settings-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/index.d.ts +2 -2
- package/lib/icons/destinations/alauda-logo/index.d.ts +2 -0
- package/lib/icons/destinations/alibaba-cloud-logo/index.d.ts +2 -0
- package/lib/icons/destinations/app-dynamics-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-cloudwatch-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-s3-logo/index.d.ts +2 -0
- package/lib/icons/destinations/aws-xray-logo/index.d.ts +2 -0
- package/lib/icons/destinations/axiom-logo/index.d.ts +2 -0
- package/lib/icons/destinations/better-stack-logo/index.d.ts +2 -0
- package/lib/icons/destinations/blob-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/bonree-logo/index.d.ts +2 -0
- package/lib/icons/destinations/causely-logo/index.d.ts +2 -0
- package/lib/icons/destinations/checkly-logo/index.d.ts +2 -0
- package/lib/icons/destinations/chronosphere-logo/index.d.ts +2 -0
- package/lib/icons/destinations/clickhouse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/coralogix-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dash0-logo/index.d.ts +2 -0
- package/lib/icons/destinations/datadog-logo/index.d.ts +2 -0
- package/lib/icons/destinations/dynatrace-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-apm-logo/index.d.ts +2 -0
- package/lib/icons/destinations/elastic-search-logo/index.d.ts +2 -0
- package/lib/icons/destinations/gigapipe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-platform-logo/index.d.ts +2 -0
- package/lib/icons/destinations/google-cloud-storage-logo/index.d.ts +2 -0
- package/lib/icons/destinations/grafana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/greptime-logo/index.d.ts +2 -0
- package/lib/icons/destinations/groundcover-logo/index.d.ts +2 -0
- package/lib/icons/destinations/honeycomb-logo/index.d.ts +2 -0
- package/lib/icons/destinations/hyperdx-logo/index.d.ts +2 -0
- package/lib/icons/destinations/index.d.ts +60 -0
- package/lib/icons/destinations/instana-logo/index.d.ts +2 -0
- package/lib/icons/destinations/jaeger-logo/index.d.ts +2 -0
- package/lib/icons/destinations/kloudmate-logo/index.d.ts +2 -0
- package/lib/icons/destinations/last9-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lightstep-logo/index.d.ts +2 -0
- package/lib/icons/destinations/logzio-logo/index.d.ts +2 -0
- package/lib/icons/destinations/loki-logo/index.d.ts +2 -0
- package/lib/icons/destinations/lumigo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/middleware-logo/index.d.ts +2 -0
- package/lib/icons/destinations/new-relic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/observe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/odigos-destination-logo/index.d.ts +2 -0
- package/lib/icons/destinations/one-uptime-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-observe-logo/index.d.ts +2 -0
- package/lib/icons/destinations/open-telemetry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/ops-verse-logo/index.d.ts +2 -0
- package/lib/icons/destinations/oracle-logo/index.d.ts +2 -0
- package/lib/icons/destinations/prometheus-logo/index.d.ts +2 -0
- package/lib/icons/destinations/qryn-logo/index.d.ts +2 -0
- package/lib/icons/destinations/quickwit-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sentry-logo/index.d.ts +2 -0
- package/lib/icons/destinations/seq-logo/index.d.ts +2 -0
- package/lib/icons/destinations/signoz-logo/index.d.ts +2 -0
- package/lib/icons/destinations/splunk-logo/index.d.ts +2 -0
- package/lib/icons/destinations/sumo-logic-logo/index.d.ts +2 -0
- package/lib/icons/destinations/telemetry-hub-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tempo-logo/index.d.ts +2 -0
- package/lib/icons/destinations/tingyun-logo/index.d.ts +2 -0
- package/lib/icons/destinations/traceloop-logo/index.d.ts +2 -0
- package/lib/icons/destinations/uptrace-logo/index.d.ts +2 -0
- package/lib/icons/destinations/victoria-metrics-logo/index.d.ts +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/icons/instrumentation-rules/custom-instrumentation-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +4 -2
- package/lib/icons/math/index.d.ts +4 -2
- package/lib/icons/math/minus-circled-icon/index.d.ts +2 -0
- package/lib/icons/math/plus-circled-icon/index.d.ts +2 -0
- package/lib/icons/monitors/index.d.ts +3 -3
- package/lib/icons/on-off/index.d.ts +6 -6
- package/lib/icons/overview/data-streams-icon/index.d.ts +2 -0
- package/lib/icons/overview/index.d.ts +10 -8
- package/lib/icons/overview/namespaces-icon/index.d.ts +2 -0
- package/lib/icons/programming-languages/index.d.ts +0 -1
- package/lib/icons/social/index.d.ts +1 -1
- package/lib/icons/status/index.d.ts +8 -8
- package/lib/icons.js +1 -82
- package/lib/mock-data/config/index.d.ts +2 -0
- package/lib/{data → mock-data}/destinations/index.d.ts +1 -1
- package/lib/{data → mock-data}/index.d.ts +4 -0
- package/lib/mock-data/instrumentation-instances/index.d.ts +2 -0
- package/lib/mock-data/service-map/index.d.ts +2 -0
- package/lib/{data → mock-data}/sources/index.d.ts +8 -4
- package/lib/mock-data/traces/index.d.ts +2 -0
- package/lib/snippets/add-button/index.d.ts +8 -0
- package/lib/snippets/copy-text/index.d.ts +7 -0
- package/lib/snippets/edit-button/index.d.ts +7 -0
- package/lib/snippets/index.d.ts +7 -0
- package/lib/snippets/note-back-to-summary/index.d.ts +6 -0
- package/lib/snippets/pod-container/index.d.ts +5 -0
- package/lib/snippets/react-flow/edges/labeled-edge.d.ts +10 -0
- package/lib/{containers/data-flow → snippets/react-flow}/flow.d.ts +2 -0
- package/lib/snippets/react-flow/index.d.ts +13 -0
- package/lib/snippets/react-flow/nodes/add-node.d.ts +11 -0
- package/lib/snippets/react-flow/nodes/base-node.d.ts +21 -0
- package/lib/snippets/react-flow/nodes/edged-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/frame-node.d.ts +9 -0
- package/lib/{containers/data-flow → snippets/react-flow}/nodes/header-node.d.ts +5 -5
- package/lib/snippets/react-flow/nodes/map-item-node.d.ts +12 -0
- package/lib/snippets/react-flow/nodes/no-data-node.d.ts +9 -0
- package/lib/snippets/react-flow/nodes/scroll-node.d.ts +15 -0
- package/lib/snippets/react-flow/nodes/skeleton-node.d.ts +8 -0
- package/lib/snippets/source-container/index.d.ts +7 -0
- package/lib/snippets/source-container/override-runtime.d.ts +9 -0
- package/lib/snippets.js +1 -0
- package/lib/store/index.d.ts +2 -0
- package/lib/store/useActiveNodeStore.d.ts +11 -0
- package/lib/store/useDarkMode.d.ts +5 -3
- package/lib/store/useDataStreamStore.d.ts +16 -0
- package/lib/store/useDrawerStore.d.ts +2 -2
- package/lib/store/useEntityStore.d.ts +8 -6
- package/lib/store/useFilterStore.d.ts +5 -2
- package/lib/store/usePendingStore.d.ts +2 -2
- package/lib/store/useSetupStore.d.ts +20 -26
- package/lib/store.js +1 -4
- package/lib/theme/index.d.ts +2 -3
- package/lib/theme/palletes/index.d.ts +2 -105
- package/lib/theme.js +1 -240
- package/lib/types/actions/index.d.ts +154 -68
- package/lib/types/common/index.d.ts +91 -76
- package/lib/types/config/index.d.ts +80 -0
- package/lib/types/data-flow/index.d.ts +17 -15
- package/lib/types/data-streams/index.d.ts +3 -0
- package/lib/types/describe/index.d.ts +7 -3
- package/lib/types/destinations/index.d.ts +89 -9
- package/lib/types/index.d.ts +5 -1
- package/lib/types/instrumentation-instances/index.d.ts +7 -0
- package/lib/types/instrumentation-rules/index.d.ts +65 -36
- package/lib/types/namespaces/index.d.ts +14 -0
- package/lib/types/service-map/index.d.ts +10 -0
- package/lib/types/signals/index.d.ts +5 -5
- package/lib/types/sources/index.d.ts +42 -20
- package/lib/types/traces/index.d.ts +38 -0
- package/lib/types.js +1 -166
- package/package.json +50 -40
- package/lib/components/auto-complete-input/auto-complete-input.stories.d.ts +0 -9
- package/lib/components/badge/badge.stories.d.ts +0 -13
- package/lib/components/button/button.stories.d.ts +0 -9
- package/lib/components/cancel-warning/cancel-warning.stories.d.ts +0 -9
- package/lib/components/checkbox/checkbox.stories.d.ts +0 -9
- package/lib/components/code/code.stories.d.ts +0 -9
- package/lib/components/condition-details/condition-details.stories.d.ts +0 -14
- package/lib/components/data-card/data-card.stories.d.ts +0 -10
- package/lib/components/data-tab/data-tab.stories.d.ts +0 -9
- package/lib/components/delete-warning/delete-warning.stories.d.ts +0 -9
- package/lib/components/describe-row/describe-row.stories.d.ts +0 -9
- package/lib/components/divider/divider.stories.d.ts +0 -9
- package/lib/components/docs-button/docs-button.stories.d.ts +0 -9
- package/lib/components/drawer/drawer.stories.d.ts +0 -10
- package/lib/components/dropdown/dropdown.stories.d.ts +0 -10
- package/lib/components/error-boundary/error-boundary.stories.d.ts +0 -9
- package/lib/components/extend-arrow/extend-arrow.stories.d.ts +0 -9
- package/lib/components/fade-loader/fade-loader.stories.d.ts +0 -9
- package/lib/components/field-error/field-error.stories.d.ts +0 -9
- package/lib/components/field-label/field-label.stories.d.ts +0 -9
- package/lib/components/header/header.stories.d.ts +0 -9
- package/lib/components/icon-button/icon-button.stories.d.ts +0 -9
- package/lib/components/icon-group/icon-group.stories.d.ts +0 -14
- package/lib/components/icon-title-badge/icon-title-badge.stories.d.ts +0 -9
- package/lib/components/icon-wrapped/icon-wrapped.stories.d.ts +0 -10
- package/lib/components/icons-nav/icons-nav.stories.d.ts +0 -9
- package/lib/components/image-controlled/image-controlled.stories.d.ts +0 -9
- package/lib/components/input/input.stories.d.ts +0 -9
- package/lib/components/input-list/input-list.stories.d.ts +0 -9
- package/lib/components/input-table/input-table.stories.d.ts +0 -9
- package/lib/components/interactive-table/interactive-table.stories.d.ts +0 -12
- package/lib/components/interactive-table/row.d.ts +0 -13
- package/lib/components/key-value-input-list/key-value-input-list.stories.d.ts +0 -9
- package/lib/components/modal/modal.stories.d.ts +0 -9
- package/lib/components/monitors-checkboxes/monitors-checkboxes.stories.d.ts +0 -9
- package/lib/components/monitors-icons/monitors-icons.stories.d.ts +0 -9
- package/lib/components/navigation-buttons/navigation-buttons.stories.d.ts +0 -9
- package/lib/components/no-data-found/no-data-found.stories.d.ts +0 -9
- package/lib/components/notification-note/notification-note.stories.d.ts +0 -10
- package/lib/components/section-title/section-title.stories.d.ts +0 -9
- package/lib/components/segment/segment.stories.d.ts +0 -9
- package/lib/components/skeleton-loader/skeleton-loader.stories.d.ts +0 -9
- package/lib/components/status/status.stories.d.ts +0 -9
- package/lib/components/stepper/stepper.stories.d.ts +0 -9
- package/lib/components/text/text.stories.d.ts +0 -9
- package/lib/components/textarea/textarea.stories.d.ts +0 -9
- package/lib/components/toggle/toggle.stories.d.ts +0 -9
- package/lib/components/tooltip/tooltip.stories.d.ts +0 -9
- package/lib/components/trace-loader/trace-loader.stories.d.ts +0 -9
- package/lib/components/warning-modal/warning-modal.stories.d.ts +0 -9
- package/lib/containers/action-drawer/action-drawer.stories.d.ts +0 -9
- package/lib/containers/action-form/action-form.stories.d.ts +0 -9
- package/lib/containers/action-modal/action-modal.stories.d.ts +0 -9
- package/lib/containers/action-table/action-table.stories.d.ts +0 -9
- package/lib/containers/await-pipeline/await-pipeline.stories.d.ts +0 -9
- package/lib/containers/compute-platform-select/compute-platform-select.stories.d.ts +0 -9
- package/lib/containers/compute-platform-select/index.d.ts +0 -10
- package/lib/containers/compute-platforms/compute-platforms.stories.d.ts +0 -9
- package/lib/containers/compute-platforms/index.d.ts +0 -8
- package/lib/containers/compute-platforms-actions-menu/compute-platforms-actions-menu.stories.d.ts +0 -9
- package/lib/containers/compute-platforms-actions-menu/index.d.ts +0 -7
- package/lib/containers/data-flow/data-flow.stories.d.ts +0 -9
- package/lib/containers/data-flow/edges/labeled-edge.d.ts +0 -10
- package/lib/containers/data-flow/helpers/get-main-container-language.d.ts +0 -2
- package/lib/containers/data-flow/nodes/add-node.d.ts +0 -11
- package/lib/containers/data-flow/nodes/base-node.d.ts +0 -21
- package/lib/containers/data-flow/nodes/edged-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/frame-node.d.ts +0 -9
- package/lib/containers/data-flow/nodes/scroll-node.d.ts +0 -26
- package/lib/containers/data-flow/nodes/skeleton-node.d.ts +0 -8
- package/lib/containers/data-flow-actions-menu/data-flow.stories.d.ts +0 -11
- package/lib/containers/data-flow-actions-menu/search/recent-searches/index.d.ts +0 -2
- package/lib/containers/destination-drawer/destination-drawer.stories.d.ts +0 -9
- package/lib/containers/destination-form/destination-form.stories.d.ts +0 -9
- package/lib/containers/destination-modal/choose-destination/potential-destinations-list/index.d.ts +0 -8
- package/lib/containers/destination-modal/destination-modal.stories.d.ts +0 -9
- package/lib/containers/destination-selection-form/configured-list/index.d.ts +0 -5
- package/lib/containers/destination-selection-form/destination-selection-form.stories.d.ts +0 -9
- package/lib/containers/destination-table/destination-table.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-status-dropdown/connection-status-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/connection-status-dropdown/index.d.ts +0 -15
- package/lib/containers/dropdowns/connection-type-dropdown/connection-type-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/error-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/kind-dropdown/error-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/language-dropdown/language-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/monitor-dropdown/monitor-dropdown.stories.d.ts +0 -9
- package/lib/containers/dropdowns/namespace-dropdown/namespace-dropdown.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-drawer/instrumentation-rule-drawer.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-form/instrumentation-rule-form.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-modal/instrumentation-rule-modal.stories.d.ts +0 -9
- package/lib/containers/instrumentation-rule-table/instrumentation-rule-table.stories.d.ts +0 -9
- package/lib/containers/multi-source-control/multi-source-control.stories.d.ts +0 -9
- package/lib/containers/notification-manager/notification-manager.stories.d.ts +0 -9
- package/lib/containers/overview-drawer/overview-drawer.stories.d.ts +0 -9
- package/lib/containers/side-nav/side-nav.stories.d.ts +0 -9
- package/lib/containers/slack-invite/slack-invite.stories.d.ts +0 -9
- package/lib/containers/source-drawer/source-drawer.stories.d.ts +0 -9
- package/lib/containers/source-form/source-form.stories.d.ts +0 -9
- package/lib/containers/source-modal/source-modal.stories.d.ts +0 -9
- package/lib/containers/source-selection-form/fast/controls/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/index.d.ts +0 -7
- package/lib/containers/source-selection-form/fast/list/index.d.ts +0 -10
- package/lib/containers/source-selection-form/simple/controls/index.d.ts +0 -11
- package/lib/containers/source-selection-form/simple/index.d.ts +0 -7
- package/lib/containers/source-selection-form/simple/list/index.d.ts +0 -9
- package/lib/containers/source-selection-form/source-selection-form.stories.d.ts +0 -9
- package/lib/containers/source-table/source-table.stories.d.ts +0 -9
- package/lib/containers/system-overview/system-overview.stories.d.ts +0 -9
- package/lib/containers/table-cell-conditions/table-cell-conditions.stories.d.ts +0 -9
- package/lib/containers/toast-list/toast-list.stories.d.ts +0 -9
- package/lib/containers/toggle-dark-mode/toggle-dark-mode.stories.d.ts +0 -9
- package/lib/functions/derive-type-from-rule/index.d.ts +0 -2
- package/lib/icons/actions/add-cluster-info-icon/add-cluster-info-icon.stories.d.ts +0 -8
- package/lib/icons/actions/delete-attribute-icon/delete-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/pii-masking-icon/pii-masking-icon.stories.d.ts +0 -8
- package/lib/icons/actions/rename-attribute-icon/rename-attribute-icon.stories.d.ts +0 -8
- package/lib/icons/actions/sampler-icon/sampler-icon.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo/odigos-logo.stories.d.ts +0 -8
- package/lib/icons/brand/odigos-logo-text/odigos-logo-text.stories.d.ts +0 -8
- package/lib/icons/common/arrow-icon/arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-brackets-icon/code-brackets-icon.stories.d.ts +0 -8
- package/lib/icons/common/code-icon/code-icon.stories.d.ts +0 -8
- package/lib/icons/common/command-icon/command-icon.stories.d.ts +0 -8
- package/lib/icons/common/copy-icon/copy-icon.stories.d.ts +0 -8
- package/lib/icons/common/edit-icon/edit-icon.stories.d.ts +0 -8
- package/lib/icons/common/extend-arrow-icon/extend-arrow-icon.stories.d.ts +0 -8
- package/lib/icons/common/filter-icon/filter-icon.stories.d.ts +0 -8
- package/lib/icons/common/folder-icon/folder-icon.stories.d.ts +0 -8
- package/lib/icons/common/image-error-icon/image-error-icon.stories.d.ts +0 -8
- package/lib/icons/common/key-icon/key-icon.stories.d.ts +0 -8
- package/lib/icons/common/list-icon/list-icon.stories.d.ts +0 -8
- package/lib/icons/common/no-data-icon/no-data-icon.stories.d.ts +0 -8
- package/lib/icons/common/notebook-icon/notebook-icon.stories.d.ts +0 -8
- package/lib/icons/common/notification-icon/notification-icon.stories.d.ts +0 -8
- package/lib/icons/common/search-icon/search-icon.stories.d.ts +0 -8
- package/lib/icons/common/sort-arrows-icon/sort-arrows-icon.stories.d.ts +0 -8
- package/lib/icons/common/terminal-icon/terminal-icon.stories.d.ts +0 -8
- package/lib/icons/common/trash-icon/trash-icon.stories.d.ts +0 -8
- package/lib/icons/common/x-icon/x-icon.stories.d.ts +0 -8
- package/lib/icons/compute-platform/k8s-logo/k8s-logo.stories.d.ts +0 -8
- package/lib/icons/compute-platform/vm-logo/vm-logo.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/code-attributes-icon/code-attributes-icon.stories.d.ts +0 -8
- package/lib/icons/instrumentation-rules/payload-collection-icon/payload-collection-icon.stories.d.ts +0 -8
- package/lib/icons/math/minus-icon/minus-icon.stories.d.ts +0 -8
- package/lib/icons/math/plus-icon/plus-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/logs-icon/logs-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/metrics-icon/metrics-icon.stories.d.ts +0 -8
- package/lib/icons/monitors/traces-icon/traces-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-closed-icon/eye-closed-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/eye-open-icon/eye-open-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-off-icon/light-off-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/light-on-icon/light-on-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/moon-icon/moon-icon.stories.d.ts +0 -8
- package/lib/icons/on-off/sun-icon/sun-icon.stories.d.ts +0 -8
- package/lib/icons/overview/actions-icon/actions-icon.stories.d.ts +0 -8
- package/lib/icons/overview/connections-icon/connections-icon.stories.d.ts +0 -8
- package/lib/icons/overview/destinations-icon/destinations-icon.stories.d.ts +0 -8
- package/lib/icons/overview/overview-icon/overview-icon.stories.d.ts +0 -8
- package/lib/icons/overview/rules-icon/rules-icon.stories.d.ts +0 -8
- package/lib/icons/overview/service-map-icon/service-map-icon.stories.d.ts +0 -8
- package/lib/icons/overview/sources-icon/sources-icon.stories.d.ts +0 -8
- package/lib/icons/overview/trace-view-icon/trace-view-icon.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-plus-plus-logo/c-plus-plus-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/c-sharp-logo/c-sharp-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/dotnet-logo/dotnet-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/elixir-logo/elixir-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/go-logo/go-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/java-logo/java-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/kafka-logo/kafka-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/mysql-logo/mysql-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nginx-logo/nginx-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/nodejs-logo/nodejs-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/php-logo/php-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/postgres-logo/postgres-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/python-logo/python-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/redis-logo/redis-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/ruby-logo/ruby-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/rust-logo/rust-logo.stories.d.ts +0 -8
- package/lib/icons/programming-languages/swift-logo/swift-logo.stories.d.ts +0 -8
- package/lib/icons/social/slack-logo/slack-logo.stories.d.ts +0 -8
- package/lib/icons/status/check-circled-icon/check-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/check-icon/check-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-circled-icon/cross-circled-icon.stories.d.ts +0 -8
- package/lib/icons/status/cross-icon/cross-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-round-icon/error-round-icon.stories.d.ts +0 -8
- package/lib/icons/status/error-triangle-icon/error-triangle-icon.stories.d.ts +0 -8
- package/lib/icons/status/info-icon/info-icon.stories.d.ts +0 -8
- package/lib/icons/status/warning-triangle-icon/warning-triangle-icon.stories.d.ts +0 -8
- package/lib/index-3KUV6Vlt.js +0 -89
- package/lib/index-BFct3S32.js +0 -22
- package/lib/index-BGlk5VhF.js +0 -69
- package/lib/index-BZS1ijMm.js +0 -30
- package/lib/index-Bc8gi9FH.js +0 -202
- package/lib/index-BjJpYtF1.js +0 -42
- package/lib/index-BumPE6cF.js +0 -37
- package/lib/index-CZe2VX28.js +0 -128
- package/lib/index-Cu2uHOuh.js +0 -44
- package/lib/index-DIcomki-.js +0 -671
- package/lib/index-D_Qn2U89.js +0 -138
- package/lib/index-g6Twdelv.js +0 -196
- package/lib/index-ixs381n-.js +0 -466
- package/lib/index-m62aT4IR.js +0 -29574
- package/lib/types/connection/index.d.ts +0 -7
- package/lib/useSourceSelectionFormData-BY6B70Kf.js +0 -561
- package/lib/useTransition-Dfxjcy-C.js +0 -3493
- /package/lib/icons/{programming-languages → destinations}/kafka-logo/index.d.ts +0 -0
- /package/lib/{data → mock-data}/actions/index.d.ts +0 -0
- /package/lib/{data → mock-data}/describe/index.d.ts +0 -0
- /package/lib/{data → mock-data}/instrumentation-rules/index.d.ts +0 -0
- /package/lib/{data → mock-data}/namespaces/index.d.ts +0 -0
- /package/lib/{data → mock-data}/tokens/index.d.ts +0 -0
- /package/lib/{containers/data-flow/helpers → snippets/react-flow}/node-config.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Destination, DestinationOption, DestinationCategories } from '@/types';
|
|
1
|
+
import { type Destination, type DestinationOption, type DestinationCategories } from '@/types';
|
|
2
2
|
export declare const MOCK_DESTINATIONS: Destination[];
|
|
3
3
|
export declare const MOCK_POTENTIAL_DESTINATIONS: DestinationOption[];
|
|
4
4
|
export declare const MOCK_DESTINATION_CATEGORIES: DestinationCategories;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from './actions';
|
|
2
|
+
export * from './config';
|
|
2
3
|
export * from './describe';
|
|
3
4
|
export * from './destinations';
|
|
5
|
+
export * from './instrumentation-instances';
|
|
4
6
|
export * from './instrumentation-rules';
|
|
5
7
|
export * from './namespaces';
|
|
8
|
+
export * from './service-map';
|
|
6
9
|
export * from './sources';
|
|
7
10
|
export * from './tokens';
|
|
11
|
+
export * from './traces';
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { K8sResourceKind, ProgrammingLanguages, type Source } from '@/types';
|
|
2
|
+
export declare const MOCK_SOURCES_OTHER: Source[];
|
|
3
|
+
export declare const MOCK_SOURCES_SIMPLE_DEMO: Source[];
|
|
4
|
+
export declare const MOCK_SOURCES_GOOGLE: Source[];
|
|
3
5
|
export declare const MOCK_SOURCE_JAEGER: {
|
|
4
6
|
namespace: string;
|
|
5
7
|
name: string;
|
|
6
|
-
kind:
|
|
8
|
+
kind: K8sResourceKind;
|
|
9
|
+
dataStreamNames: string[];
|
|
7
10
|
selected: boolean;
|
|
8
11
|
otelServiceName: string;
|
|
9
12
|
numberOfInstances: number;
|
|
10
13
|
containers: {
|
|
11
14
|
containerName: string;
|
|
12
|
-
language:
|
|
15
|
+
language: ProgrammingLanguages;
|
|
13
16
|
runtimeVersion: string;
|
|
14
17
|
instrumented: boolean;
|
|
15
18
|
instrumentationMessage: string;
|
|
@@ -17,3 +20,4 @@ export declare const MOCK_SOURCE_JAEGER: {
|
|
|
17
20
|
}[];
|
|
18
21
|
conditions: never[];
|
|
19
22
|
};
|
|
23
|
+
export declare const MOCK_SOURCES: Source[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { type ButtonProps, TextProps } from '@/components';
|
|
3
|
+
interface AddButtonProps extends ButtonProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
textProps?: TextProps;
|
|
6
|
+
}
|
|
7
|
+
declare const AddButton: FC<AddButtonProps>;
|
|
8
|
+
export { AddButton, type AddButtonProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { EdgeTypes } from '@/types';
|
|
3
|
+
import { type EdgeProps, type Edge } from '@xyflow/react';
|
|
4
|
+
type LabeledEdgeProps = EdgeProps<Edge<{
|
|
5
|
+
label: string;
|
|
6
|
+
isMultiTarget?: boolean;
|
|
7
|
+
isError?: boolean;
|
|
8
|
+
}, EdgeTypes.Labeled>>;
|
|
9
|
+
declare const LabeledEdge: FC<LabeledEdgeProps>;
|
|
10
|
+
export { LabeledEdge, type LabeledEdgeProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import nodeConfig from './node-config';
|
|
2
|
+
export { nodeConfig };
|
|
3
|
+
export * from './flow';
|
|
4
|
+
export * from './nodes/add-node';
|
|
5
|
+
export * from './nodes/base-node';
|
|
6
|
+
export * from './nodes/edged-node';
|
|
7
|
+
export * from './nodes/frame-node';
|
|
8
|
+
export * from './nodes/header-node';
|
|
9
|
+
export * from './nodes/map-item-node';
|
|
10
|
+
export * from './nodes/no-data-node';
|
|
11
|
+
export * from './nodes/scroll-node';
|
|
12
|
+
export * from './nodes/skeleton-node';
|
|
13
|
+
export * from './edges/labeled-edge';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AddNodeTypes, NodeTypes } from '@/types';
|
|
3
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
4
|
+
type AddNodeProps = NodeProps<Node<{
|
|
5
|
+
nodeWidth: number;
|
|
6
|
+
type: AddNodeTypes;
|
|
7
|
+
title: string;
|
|
8
|
+
subTitle: string;
|
|
9
|
+
}, NodeTypes.Add>>;
|
|
10
|
+
declare const AddNode: React.FC<AddNodeProps>;
|
|
11
|
+
export { AddNode, type AddNodeProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
3
|
+
import { type Action, type Destination, EntityTypes, type InstrumentationRule, NodeTypes, StatusType, SignalType, type Source, type SVG, type WorkloadId } from '@/types';
|
|
4
|
+
type BaseNodeProps = NodeProps<Node<{
|
|
5
|
+
nodeWidth: number;
|
|
6
|
+
id: string | WorkloadId;
|
|
7
|
+
type: EntityTypes;
|
|
8
|
+
status?: StatusType;
|
|
9
|
+
faded?: boolean;
|
|
10
|
+
title: string;
|
|
11
|
+
subTitle: string;
|
|
12
|
+
icon?: SVG;
|
|
13
|
+
icons?: SVG[];
|
|
14
|
+
iconSrc?: string;
|
|
15
|
+
iconSrcs?: string[];
|
|
16
|
+
monitors?: SignalType[];
|
|
17
|
+
isActive?: boolean;
|
|
18
|
+
raw: Source | Destination | Action | InstrumentationRule;
|
|
19
|
+
}, NodeTypes.Base>>;
|
|
20
|
+
declare const BaseNode: React.FC<BaseNodeProps>;
|
|
21
|
+
export { BaseNode, type BaseNodeProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeTypes } from '@/types';
|
|
3
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
4
|
+
type EdgedNodeProps = NodeProps<Node<{
|
|
5
|
+
nodeWidth: number;
|
|
6
|
+
nodeHeight: number;
|
|
7
|
+
}, NodeTypes.Edged>>;
|
|
8
|
+
declare const EdgedNode: React.FC<EdgedNodeProps>;
|
|
9
|
+
export { EdgedNode, type EdgedNodeProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeTypes } from '@/types';
|
|
3
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
4
|
+
type FrameNodeProps = NodeProps<Node<{
|
|
5
|
+
nodeWidth: number;
|
|
6
|
+
nodeHeight: number;
|
|
7
|
+
}, NodeTypes.Frame>>;
|
|
8
|
+
declare const FrameNode: React.FC<FrameNodeProps>;
|
|
9
|
+
export { FrameNode, type FrameNodeProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Node, NodeProps } from '@xyflow/react';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { NodeTypes, type Source, type SVG } from '@/types';
|
|
4
|
+
type HeaderNodeProps = NodeProps<Node<{
|
|
5
5
|
nodeWidth: number;
|
|
6
6
|
icon: SVG;
|
|
7
7
|
title: string;
|
|
@@ -9,6 +9,6 @@ export interface HeaderNodeProps extends NodeProps<Node<{
|
|
|
9
9
|
badgeTooltip?: string;
|
|
10
10
|
isFetching?: boolean;
|
|
11
11
|
sources?: Source[];
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
export
|
|
12
|
+
}, NodeTypes.Header>>;
|
|
13
|
+
declare const HeaderNode: React.FC<HeaderNodeProps>;
|
|
14
|
+
export { HeaderNode, type HeaderNodeProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
3
|
+
import { NodeTypes, type ServiceMapFromSource, StatusType, type SVG } from '@/types';
|
|
4
|
+
type MapItemNodeProps = NodeProps<Node<{
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
icons: SVG[];
|
|
8
|
+
status?: StatusType;
|
|
9
|
+
serviceMapEntry?: ServiceMapFromSource;
|
|
10
|
+
}, NodeTypes.Base>>;
|
|
11
|
+
declare const MapItemNode: React.FC<MapItemNodeProps>;
|
|
12
|
+
export { MapItemNode, type MapItemNodeProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeTypes } from '@/types';
|
|
3
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
4
|
+
type NoDataNodeProps = NodeProps<Node<{
|
|
5
|
+
title?: string;
|
|
6
|
+
subTitle?: string;
|
|
7
|
+
}, NodeTypes.Base>>;
|
|
8
|
+
declare const NoDataNode: React.FC<NoDataNodeProps>;
|
|
9
|
+
export { NoDataNode, type NoDataNodeProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeTypes } from '@/types';
|
|
3
|
+
import type { Node, NodeProps } from '@xyflow/react';
|
|
4
|
+
import { BaseNodeProps } from './base-node';
|
|
5
|
+
type ScrollNodeProps = NodeProps<Node<{
|
|
6
|
+
nodeHeight: number;
|
|
7
|
+
items: BaseNodeProps[];
|
|
8
|
+
onScroll: (params: {
|
|
9
|
+
clientHeight: number;
|
|
10
|
+
scrollHeight: number;
|
|
11
|
+
scrollTop: number;
|
|
12
|
+
}) => void;
|
|
13
|
+
}, NodeTypes.Scroll>>;
|
|
14
|
+
declare const ScrollNode: React.FC<ScrollNodeProps>;
|
|
15
|
+
export { ScrollNode, type ScrollNodeProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NodeTypes } from '@/types';
|
|
3
|
+
import { type Node, type NodeProps } from '@xyflow/react';
|
|
4
|
+
type SkeletonNodeProps = NodeProps<Node<{
|
|
5
|
+
nodeWidth: number;
|
|
6
|
+
}, NodeTypes.Skeleton>>;
|
|
7
|
+
declare const SkeletonNode: React.FC<SkeletonNodeProps>;
|
|
8
|
+
export { SkeletonNode, type SkeletonNodeProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { SourceContainer as SourceContainerType, SourceFormData } from '@/types';
|
|
3
|
+
interface SourceContainerProps extends SourceContainerType {
|
|
4
|
+
callbackRuntimeOverride?: (payload: Pick<SourceFormData, 'containerName' | 'language' | 'version'>) => Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
export declare const SourceContainer: FC<SourceContainerProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { SourceFormData } from '@/types';
|
|
3
|
+
interface OverrideRuntimeProps {
|
|
4
|
+
defaultLanguage?: SourceFormData['language'];
|
|
5
|
+
defaultVersion?: SourceFormData['version'];
|
|
6
|
+
handleSave: (payload: Pick<SourceFormData, 'language' | 'version'>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const OverrideRuntime: FC<OverrideRuntimeProps>;
|
|
9
|
+
export { OverrideRuntime, type OverrideRuntimeProps };
|
package/lib/snippets.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{aS as AddButton,ch as AddNode,ci as BaseNode,bp as CopyText,cj as EdgedNode,bl as EditButton,az as Flow,ck as FrameNode,cl as HeaderNode,cq as LabeledEdge,cm as MapItemNode,cn as NoDataNode,aT as NoteBackToSummary,br as PodContainer,co as ScrollNode,cp as SkeletonNode,bv as SourceContainer,al as nodeConfig}from"./chunks/ui-components-f51830d4.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/store/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NodeTypes } from '@/types';
|
|
2
|
+
export interface ActiveNodeStoreState {
|
|
3
|
+
activeNodeType: NodeTypes | null;
|
|
4
|
+
activeNodeId: string | null;
|
|
5
|
+
}
|
|
6
|
+
interface ActiveNodeStoreStateSetters {
|
|
7
|
+
setActiveNodeType: (value: ActiveNodeStoreState['activeNodeType']) => void;
|
|
8
|
+
setActiveNodeId: (value: ActiveNodeStoreState['activeNodeId']) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const useActiveNodeStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ActiveNodeStoreState & ActiveNodeStoreStateSetters>>;
|
|
11
|
+
export {};
|
|
@@ -4,14 +4,16 @@ export interface DarkModeState {
|
|
|
4
4
|
export interface DarkModeStateSetters {
|
|
5
5
|
setDarkMode: (bool: boolean) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "persist"> & {
|
|
7
|
+
export declare const useDarkMode: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<DarkModeState & DarkModeStateSetters>, "setState" | "persist"> & {
|
|
8
|
+
setState(partial: (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters> | ((state: DarkModeState & DarkModeStateSetters) => (DarkModeState & DarkModeStateSetters) | Partial<DarkModeState & DarkModeStateSetters>), replace?: false | undefined): unknown;
|
|
9
|
+
setState(state: (DarkModeState & DarkModeStateSetters) | ((state: DarkModeState & DarkModeStateSetters) => DarkModeState & DarkModeStateSetters), replace: true): unknown;
|
|
8
10
|
persist: {
|
|
9
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>) => void;
|
|
11
|
+
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>) => void;
|
|
10
12
|
clearStorage: () => void;
|
|
11
13
|
rehydrate: () => Promise<void> | void;
|
|
12
14
|
hasHydrated: () => boolean;
|
|
13
15
|
onHydrate: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
14
16
|
onFinishHydration: (fn: (state: DarkModeState & DarkModeStateSetters) => void) => () => void;
|
|
15
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown>>;
|
|
17
|
+
getOptions: () => Partial<import("zustand/middleware").PersistOptions<DarkModeState & DarkModeStateSetters, unknown, unknown>>;
|
|
16
18
|
};
|
|
17
19
|
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DataStream } from '@/types';
|
|
2
|
+
interface IDataStreamState {
|
|
3
|
+
dataStreamsLoading: boolean;
|
|
4
|
+
dataStreams: DataStream[];
|
|
5
|
+
selectedStreamName: string;
|
|
6
|
+
}
|
|
7
|
+
interface IDataStreamStateSetters {
|
|
8
|
+
setDataStreamsLoading: (bool: boolean) => void;
|
|
9
|
+
setDataStreams: (dataStreams: DataStream[]) => void;
|
|
10
|
+
addDataStreams: (dataStreams: DataStream[]) => void;
|
|
11
|
+
removeDataStreams: (dataStreams: DataStream[]) => void;
|
|
12
|
+
setSelectedStreamName: (streamName: string) => void;
|
|
13
|
+
resetDataStreamStore: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const useDataStreamStore: import("zustand").UseBoundStore<import("zustand").StoreApi<IDataStreamState & IDataStreamStateSetters>>;
|
|
16
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityTypes, type WorkloadId } from '@/types';
|
|
2
2
|
export interface DrawerStoreState {
|
|
3
|
-
drawerType:
|
|
3
|
+
drawerType: EntityTypes | null;
|
|
4
4
|
drawerEntityId: string | WorkloadId | null;
|
|
5
5
|
}
|
|
6
6
|
interface DrawerStoreStateSetters {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { type Action, type Destination,
|
|
1
|
+
import { type Action, type Destination, EntityTypes, type InstrumentationRule, type Namespace, type Source, type WorkloadId } from '@/types';
|
|
2
2
|
interface IEntityState {
|
|
3
|
+
namespacesLoading: boolean;
|
|
4
|
+
namespaces: Namespace[];
|
|
3
5
|
sourcesLoading: boolean;
|
|
4
6
|
sources: Source[];
|
|
5
7
|
destinationsLoading: boolean;
|
|
@@ -10,12 +12,12 @@ interface IEntityState {
|
|
|
10
12
|
instrumentationRules: InstrumentationRule[];
|
|
11
13
|
}
|
|
12
14
|
type EntityId = string | WorkloadId;
|
|
13
|
-
type EntityItems = IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
|
|
15
|
+
type EntityItems = IEntityState['namespaces'] | IEntityState['sources'] | IEntityState['destinations'] | IEntityState['actions'] | IEntityState['instrumentationRules'];
|
|
14
16
|
interface IEntityStateSetters {
|
|
15
|
-
setEntitiesLoading: (entityType:
|
|
16
|
-
setEntities: (entityType:
|
|
17
|
-
addEntities: (entityType:
|
|
18
|
-
removeEntities: (entityType:
|
|
17
|
+
setEntitiesLoading: (entityType: EntityTypes, bool: boolean) => void;
|
|
18
|
+
setEntities: (entityType: EntityTypes, entities: EntityItems) => void;
|
|
19
|
+
addEntities: (entityType: EntityTypes, entities: EntityItems) => void;
|
|
20
|
+
removeEntities: (entityType: EntityTypes, entityIds: EntityId[]) => void;
|
|
19
21
|
resetEntityStore: () => void;
|
|
20
22
|
}
|
|
21
23
|
export declare const useEntityStore: import("zustand").UseBoundStore<import("zustand").StoreApi<IEntityState & IEntityStateSetters>>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { DropdownProps } from '@/components';
|
|
2
2
|
export interface FiltersState {
|
|
3
|
-
searchText
|
|
3
|
+
searchText: string;
|
|
4
4
|
statuses?: DropdownProps['options'];
|
|
5
5
|
platformTypes?: DropdownProps['options'];
|
|
6
6
|
namespaces?: DropdownProps['options'];
|
|
7
7
|
kinds?: DropdownProps['options'];
|
|
8
8
|
monitors?: DropdownProps['options'];
|
|
9
9
|
languages?: DropdownProps['options'];
|
|
10
|
+
conditions?: DropdownProps['options'];
|
|
10
11
|
errors?: DropdownProps['options'];
|
|
11
12
|
onlyErrors?: boolean;
|
|
12
13
|
}
|
|
@@ -25,11 +26,13 @@ interface StoreState {
|
|
|
25
26
|
setMonitors: (metrics: FiltersState['monitors']) => void;
|
|
26
27
|
languages: FiltersState['languages'];
|
|
27
28
|
setLanguages: (metrics: FiltersState['languages']) => void;
|
|
29
|
+
conditions: FiltersState['conditions'];
|
|
30
|
+
setConditions: (conditions: FiltersState['conditions']) => void;
|
|
28
31
|
errors: FiltersState['errors'];
|
|
29
32
|
setErrors: (metrics: FiltersState['errors']) => void;
|
|
30
33
|
onlyErrors: FiltersState['onlyErrors'];
|
|
31
34
|
setOnlyErrors: (onlyErrors: FiltersState['onlyErrors']) => void;
|
|
32
|
-
setAll: (params: FiltersState) => void;
|
|
35
|
+
setAll: (params: Partial<FiltersState>) => void;
|
|
33
36
|
clearAll: () => void;
|
|
34
37
|
getEmptyState: () => FiltersState;
|
|
35
38
|
}
|
|
@@ -1,45 +1,39 @@
|
|
|
1
|
-
import type { Destination,
|
|
1
|
+
import type { Destination, Source } from '@/types';
|
|
2
|
+
export type AvailableSource = Pick<Source, 'namespace' | 'name' | 'kind' | 'selected' | 'numberOfInstances'>;
|
|
2
3
|
export interface AvailableSourcesByNamespace {
|
|
3
|
-
[namespace: string]:
|
|
4
|
+
[namespace: string]: AvailableSource[];
|
|
4
5
|
}
|
|
6
|
+
export type SelectedSource = AvailableSource & {
|
|
7
|
+
currentStreamName: string;
|
|
8
|
+
};
|
|
5
9
|
export interface SourceSelectionFormData {
|
|
6
|
-
[namespace: string]:
|
|
10
|
+
[namespace: string]: SelectedSource[];
|
|
7
11
|
}
|
|
12
|
+
export type SelectedNamespace = {
|
|
13
|
+
namespace: string;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
currentStreamName: string;
|
|
16
|
+
};
|
|
8
17
|
export interface NamespaceSelectionFormData {
|
|
9
|
-
[namespace: string]:
|
|
10
|
-
}
|
|
11
|
-
export interface StoredSetupDestination {
|
|
12
|
-
type: string;
|
|
13
|
-
displayName: string;
|
|
14
|
-
imageUrl: string;
|
|
15
|
-
category: string;
|
|
16
|
-
exportedSignals: Destination['exportedSignals'];
|
|
17
|
-
destinationTypeDetails: {
|
|
18
|
-
title: string;
|
|
19
|
-
value: string;
|
|
20
|
-
}[];
|
|
18
|
+
[namespace: string]: SelectedNamespace;
|
|
21
19
|
}
|
|
22
20
|
export interface ISetupState {
|
|
23
21
|
availableSources: AvailableSourcesByNamespace;
|
|
24
22
|
configuredSources: SourceSelectionFormData;
|
|
25
23
|
configuredFutureApps: NamespaceSelectionFormData;
|
|
26
|
-
configuredDestinations:
|
|
27
|
-
|
|
28
|
-
form: DestinationFormData;
|
|
29
|
-
}[];
|
|
24
|
+
configuredDestinations: Destination[];
|
|
25
|
+
configuredDestinationsUpdateOnly: Destination[];
|
|
30
26
|
}
|
|
31
27
|
interface ISetupStateSetters {
|
|
32
28
|
setAvailableSources: (payload: ISetupState['availableSources']) => void;
|
|
33
29
|
setConfiguredSources: (payload: ISetupState['configuredSources']) => void;
|
|
34
30
|
setConfiguredFutureApps: (payload: ISetupState['configuredFutureApps']) => void;
|
|
35
31
|
setConfiguredDestinations: (payload: ISetupState['configuredDestinations']) => void;
|
|
36
|
-
addConfiguredDestination: (payload:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
type: string;
|
|
42
|
-
}) => void;
|
|
32
|
+
addConfiguredDestination: (payload: Destination) => void;
|
|
33
|
+
removeConfiguredDestination: (payload: Destination) => void;
|
|
34
|
+
setConfiguredDestinationsUpdateOnly: (payload: ISetupState['configuredDestinationsUpdateOnly']) => void;
|
|
35
|
+
addConfiguredDestinationUpdateOnly: (payload: Destination) => void;
|
|
36
|
+
removeConfiguredDestinationUpdateOnly: (payload: Destination) => void;
|
|
43
37
|
resetState: () => void;
|
|
44
38
|
}
|
|
45
39
|
export declare const useSetupStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ISetupState & ISetupStateSetters>>;
|
package/lib/store.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
import './types.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'styled-components';
|
|
1
|
+
export{cg as useActiveNodeStore,bJ as useDarkMode,as as useDataStreamStore,p as useDrawerStore,w as useEntityStore,a2 as useFilterStore,at as useInstrumentStore,N as useModalStore,o as useNotificationStore,u as usePendingStore,bh as useSelectedStore,a$ as useSetupStore}from"./chunks/ui-components-f51830d4.js";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-1dea551d.js";import"styled-components";import"@xyflow/react";import"react-dom";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as opacity from './opacity';
|
|
2
|
-
import * as palletes from './palletes';
|
|
3
2
|
import * as animations from './animations';
|
|
3
|
+
import { useTheme } from 'styled-components';
|
|
4
4
|
declare const Theme: {
|
|
5
5
|
Provider: import("react").FC<{
|
|
6
6
|
children?: import("react").ReactNode | undefined;
|
|
7
7
|
}>;
|
|
8
|
-
useTheme:
|
|
8
|
+
useTheme: typeof useTheme;
|
|
9
9
|
opacity: typeof opacity;
|
|
10
|
-
palletes: typeof palletes;
|
|
11
10
|
animations: typeof animations;
|
|
12
11
|
};
|
|
13
12
|
export default Theme;
|
|
@@ -1,105 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
colors: {
|
|
4
|
-
primary: string;
|
|
5
|
-
secondary: string;
|
|
6
|
-
border: string;
|
|
7
|
-
dark_grey: string;
|
|
8
|
-
translucent_bg: string;
|
|
9
|
-
dropdown_bg: string;
|
|
10
|
-
dropdown_bg_2: string;
|
|
11
|
-
warning: string;
|
|
12
|
-
error: string;
|
|
13
|
-
success: string;
|
|
14
|
-
info: string;
|
|
15
|
-
default: string;
|
|
16
|
-
majestic_blue: string;
|
|
17
|
-
majestic_blue_soft: string;
|
|
18
|
-
orange_og: string;
|
|
19
|
-
orange_soft: string;
|
|
20
|
-
dark_red: string;
|
|
21
|
-
darker_red: string;
|
|
22
|
-
darkest_red: string;
|
|
23
|
-
darkest_red_hover: string;
|
|
24
|
-
dark_green: string;
|
|
25
|
-
};
|
|
26
|
-
text: {
|
|
27
|
-
white: string;
|
|
28
|
-
primary: string;
|
|
29
|
-
secondary: string;
|
|
30
|
-
grey: string;
|
|
31
|
-
dark_grey: string;
|
|
32
|
-
darker_grey: string;
|
|
33
|
-
light_grey: string;
|
|
34
|
-
dark_button: string;
|
|
35
|
-
warning: string;
|
|
36
|
-
warning_secondary: string;
|
|
37
|
-
error: string;
|
|
38
|
-
error_secondary: string;
|
|
39
|
-
success: string;
|
|
40
|
-
success_secondary: string;
|
|
41
|
-
info: string;
|
|
42
|
-
info_secondary: string;
|
|
43
|
-
default: string;
|
|
44
|
-
default_secondary: string;
|
|
45
|
-
};
|
|
46
|
-
font_family: {
|
|
47
|
-
primary: string;
|
|
48
|
-
secondary: string;
|
|
49
|
-
code: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
declare const lightModeTheme: {
|
|
53
|
-
darkMode: boolean;
|
|
54
|
-
colors: {
|
|
55
|
-
primary: string;
|
|
56
|
-
secondary: string;
|
|
57
|
-
border: string;
|
|
58
|
-
dark_grey: string;
|
|
59
|
-
translucent_bg: string;
|
|
60
|
-
dropdown_bg: string;
|
|
61
|
-
dropdown_bg_2: string;
|
|
62
|
-
warning: string;
|
|
63
|
-
error: string;
|
|
64
|
-
success: string;
|
|
65
|
-
info: string;
|
|
66
|
-
default: string;
|
|
67
|
-
majestic_blue: string;
|
|
68
|
-
majestic_blue_soft: string;
|
|
69
|
-
orange_og: string;
|
|
70
|
-
orange_soft: string;
|
|
71
|
-
dark_red: string;
|
|
72
|
-
darker_red: string;
|
|
73
|
-
darkest_red: string;
|
|
74
|
-
darkest_red_hover: string;
|
|
75
|
-
dark_green: string;
|
|
76
|
-
};
|
|
77
|
-
text: {
|
|
78
|
-
white: string;
|
|
79
|
-
primary: string;
|
|
80
|
-
secondary: string;
|
|
81
|
-
grey: string;
|
|
82
|
-
dark_grey: string;
|
|
83
|
-
darker_grey: string;
|
|
84
|
-
light_grey: string;
|
|
85
|
-
dark_button: string;
|
|
86
|
-
warning: string;
|
|
87
|
-
warning_secondary: string;
|
|
88
|
-
error: string;
|
|
89
|
-
error_secondary: string;
|
|
90
|
-
success: string;
|
|
91
|
-
success_secondary: string;
|
|
92
|
-
info: string;
|
|
93
|
-
info_secondary: string;
|
|
94
|
-
default: string;
|
|
95
|
-
default_secondary: string;
|
|
96
|
-
};
|
|
97
|
-
font_family: {
|
|
98
|
-
primary: string;
|
|
99
|
-
secondary: string;
|
|
100
|
-
code: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export type ITheme = typeof darkModeTheme & typeof lightModeTheme;
|
|
104
|
-
export declare const getTheme: (darkMode: boolean) => ITheme;
|
|
105
|
-
export {};
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
export declare const getTheme: (darkMode: boolean) => DefaultTheme;
|