@odigos/ui-kit 0.0.33 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/lib/components/dropdown/index.d.ts +1 -0
  3. package/lib/components/input/index.d.ts +1 -1
  4. package/lib/components/input-table/index.d.ts +3 -11
  5. package/lib/components/input-table/map-columns-to-fields/index.d.ts +15 -0
  6. package/lib/components/input-table/types.d.ts +15 -0
  7. package/lib/components.js +9 -9
  8. package/lib/constants.js +1 -1
  9. package/lib/containers/action-form/custom-fields/add-cluster-info.d.ts +1 -1
  10. package/lib/containers/action-form/custom-fields/delete-attributes.d.ts +1 -1
  11. package/lib/containers/action-form/custom-fields/error-sampler.d.ts +1 -1
  12. package/lib/containers/action-form/custom-fields/k8s-attributes.d.ts +1 -1
  13. package/lib/containers/action-form/custom-fields/latency-sampler.d.ts +1 -1
  14. package/lib/containers/action-form/custom-fields/pii-masking.d.ts +1 -1
  15. package/lib/containers/action-form/custom-fields/probabilistic-sampler.d.ts +1 -1
  16. package/lib/containers/action-form/custom-fields/rename-attributes.d.ts +1 -1
  17. package/lib/containers/action-form/custom-fields/service-name-sampler.d.ts +5 -0
  18. package/lib/containers/action-form/custom-fields/span-attribute-sampler.d.ts +5 -0
  19. package/lib/containers/instrumentation-rule-drawer/build-card.d.ts +1 -1
  20. package/lib/containers.js +339 -131
  21. package/lib/functions/get-action-icon/index.d.ts +2 -2
  22. package/lib/functions/index.d.ts +1 -0
  23. package/lib/functions/numbers-only/index.d.ts +1 -0
  24. package/lib/functions.js +5 -5
  25. package/lib/hooks.js +3 -3
  26. package/lib/icons.js +7 -7
  27. package/lib/{index-f8FRaVkE.js → index--RecCPGA.js} +1 -1
  28. package/lib/{index-Iq7U_fzb.js → index-BBjwRlta.js} +4 -4
  29. package/lib/{index-BQQZyvRz.js → index-BWZT-ipR.js} +1 -1
  30. package/lib/{index-BedCNcwV.js → index-BZq0yNL-.js} +88 -43
  31. package/lib/{index-Do3CYz7N.js → index-Bd8ZAEvq.js} +1 -1
  32. package/lib/{index-CNfdJ1X8.js → index-CIKkezVt.js} +1 -1
  33. package/lib/{index-B_Gl6Qa6.js → index-ChYtqgBW.js} +9 -3
  34. package/lib/{index-1N9wymEq.js → index-Cq8NT9Hr.js} +1 -1
  35. package/lib/{index-CVH8Q8Sl.js → index-DJGe2YeC.js} +29 -12
  36. package/lib/{index-CaAOgaiC.js → index-a_WA-82O.js} +2 -2
  37. package/lib/{index-BjVl4-os.js → index-ovjVbVQq.js} +4 -4
  38. package/lib/snippets.js +8 -8
  39. package/lib/store.js +1 -1
  40. package/lib/theme.js +1 -1
  41. package/lib/types/actions/index.d.ts +137 -41
  42. package/lib/types/common/index.d.ts +4 -16
  43. package/lib/types.js +78 -20
  44. package/lib/{useSourceSelectionFormData-DiwzViqL.js → useSourceSelectionFormData-DBNf1uEe.js} +41 -23
  45. package/lib/{useTransition-B0eagOib.js → useTransition-dZ92VxT2.js} +1 -1
  46. package/package.json +12 -12
package/lib/functions.js CHANGED
@@ -1,14 +1,14 @@
1
- export { c as capitalizeFirstLetter, f as flattenObjectKeys, g as getMonitorIcon, a as getProgrammingLanguageIcon, b as getStatusIcon, m as mapConditions, p as parseJsonStringToPrettyString, r as removeEmptyValuesFromObject, s as safeJsonStringify, d as splitCamelString } from './index-B_Gl6Qa6.js';
2
- export { c as compareCondition, d as deepClone, f as filterActions, a as filterDestinations, b as filterDestinationsByStream, e as filterSources, g as filterSourcesByStream, h as formatBytes, i as getConditionsBooleans, k as getContainersIcons, j as getContainersInstrumentedCount, l as getDestinationIcon, m as getEntityIcon, n as getEntityLabel, o as getMetricForEntity, p as getPlatformIcon, q as getPlatformLabel, r as getValueForRange, s as getWorkloadId, t as getYamlFieldsForDestination, u as isOverTime, v as mapDestinationFieldsForDisplay, w as mapExportedSignals, x as sleep } from './index-Iq7U_fzb.js';
3
- export { k as getActionIcon, l as getEntityId, m as getInstrumentationRuleIcon } from './index-CVH8Q8Sl.js';
1
+ export { c as capitalizeFirstLetter, f as flattenObjectKeys, g as getMonitorIcon, a as getProgrammingLanguageIcon, b as getStatusIcon, m as mapConditions, n as numbersOnly, p as parseJsonStringToPrettyString, r as removeEmptyValuesFromObject, s as safeJsonStringify, d as splitCamelString } from './index-ChYtqgBW.js';
2
+ export { c as compareCondition, d as deepClone, f as filterActions, a as filterDestinations, b as filterDestinationsByStream, e as filterSources, g as filterSourcesByStream, h as formatBytes, i as getConditionsBooleans, k as getContainersIcons, j as getContainersInstrumentedCount, l as getDestinationIcon, m as getEntityIcon, n as getEntityLabel, o as getMetricForEntity, p as getPlatformIcon, q as getPlatformLabel, r as getValueForRange, s as getWorkloadId, t as getYamlFieldsForDestination, u as isOverTime, v as mapDestinationFieldsForDisplay, w as mapExportedSignals, x as sleep } from './index-BBjwRlta.js';
3
+ export { k as getActionIcon, l as getEntityId, m as getInstrumentationRuleIcon } from './index-DJGe2YeC.js';
4
4
  export { g as getIdFromSseTarget, i as isLegalK8sLabel } from './index-CnZlllYu.js';
5
5
  import { EntityTypes } from './types.js';
6
6
  export { i as isEmpty, s as safeJsonParse } from './index-BV85P9UP.js';
7
7
  import 'react';
8
8
  import 'styled-components';
9
- import './index-Do3CYz7N.js';
9
+ import './index-Bd8ZAEvq.js';
10
10
  import './index-mOgS3e5E.js';
11
- import './index-1N9wymEq.js';
11
+ import './index-Cq8NT9Hr.js';
12
12
 
13
13
  const cleanObjectEmptyStringsValues = (obj) => {
14
14
  const cleanArray = (arr) => arr.filter((item) => {
package/lib/hooks.js CHANGED
@@ -1,7 +1,7 @@
1
- export { u as useActionFormData, a as useClickNode, b as useClickNotification, c as useDataStreamFormData, d as useDestinationFormData, e as useSourceFormData, f as useSourceSelectionFormData } from './useSourceSelectionFormData-DiwzViqL.js';
2
- export { u as useContainerSize, a as useCopy, b as useGenericForm, c as useInstrumentationRuleFormData, d as useKeyDown, e as useOnClickOutside, f as useTimeAgo, g as useTransition } from './useTransition-B0eagOib.js';
1
+ export { u as useActionFormData, a as useClickNode, b as useClickNotification, c as useDataStreamFormData, d as useDestinationFormData, e as useSourceFormData, f as useSourceSelectionFormData } from './useSourceSelectionFormData-DBNf1uEe.js';
2
+ export { u as useContainerSize, a as useCopy, b as useGenericForm, c as useInstrumentationRuleFormData, d as useKeyDown, e as useOnClickOutside, f as useTimeAgo, g as useTransition } from './useTransition-dZ92VxT2.js';
3
3
  import './types.js';
4
- import './index-CVH8Q8Sl.js';
4
+ import './index-DJGe2YeC.js';
5
5
  import 'react';
6
6
  import 'styled-components';
7
7
  import './index-mOgS3e5E.js';
package/lib/icons.js CHANGED
@@ -1,11 +1,11 @@
1
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
- export { o as AddClusterInfoIcon, C as CodeAttributesIcon, D as DeleteAttributeIcon, H as HeadersCollectionIcon, n as ImageErrorIcon, K as K8sLogo, p as PayloadCollectionIcon, P as PiiMaskingIcon, R as RenameAttributeIcon, S as SamplerIcon } from './index-CVH8Q8Sl.js';
3
- export { C as CPlusPlusLogo, d as CSharpLogo, i as CheckCircledIcon, D as DotnetLogo, E as ElixirLogo, h as ErrorTriangleIcon, G as GoLogo, I as InfoIcon, J as JavaLogo, K as KafkaLogo, L as LogsIcon, g as MetricsIcon, M as MysqlLogo, N as NginxLogo, f as NodejsLogo, O as OdigosLogo, c as PhpLogo, P as PostgresLogo, e as PythonLogo, R as RedisLogo, b as RubyLogo, a as RustLogo, S as SwiftLogo, T as TracesIcon, W as WarningTriangleIcon } from './index-Do3CYz7N.js';
4
- export { C as CrossCircledIcon, D as DataStreamsIcon, F as FilterIcon, K as KeyIcon, N as NotificationIcon, O as OdigosLogoText, a as OverviewIcon, S as SlackLogo, T as TerminalIcon } from './index-f8FRaVkE.js';
5
- export { A as ArrowIcon, f as CheckIcon, C as CodeIcon, a as CopyIcon, g as CrossIcon, E as ExtendArrowIcon, d as EyeClosedIcon, e as EyeOpenIcon, L as ListIcon, M as MinusIcon, N as NoDataIcon, b as NotebookIcon, P as PlusIcon, S as SearchIcon, c as SortArrowsIcon, T as TrashIcon, X as XIcon } from './index-CNfdJ1X8.js';
1
+ import { T as Theme } from './index-DJGe2YeC.js';
2
+ export { o as AddClusterInfoIcon, C as CodeAttributesIcon, D as DeleteAttributeIcon, H as HeadersCollectionIcon, n as ImageErrorIcon, K as K8sLogo, p as PayloadCollectionIcon, P as PiiMaskingIcon, R as RenameAttributeIcon, S as SamplerIcon } from './index-DJGe2YeC.js';
3
+ export { C as CPlusPlusLogo, d as CSharpLogo, i as CheckCircledIcon, D as DotnetLogo, E as ElixirLogo, h as ErrorTriangleIcon, G as GoLogo, I as InfoIcon, J as JavaLogo, K as KafkaLogo, L as LogsIcon, g as MetricsIcon, M as MysqlLogo, N as NginxLogo, f as NodejsLogo, O as OdigosLogo, c as PhpLogo, P as PostgresLogo, e as PythonLogo, R as RedisLogo, b as RubyLogo, a as RustLogo, S as SwiftLogo, T as TracesIcon, W as WarningTriangleIcon } from './index-Bd8ZAEvq.js';
4
+ export { C as CrossCircledIcon, D as DataStreamsIcon, F as FilterIcon, K as KeyIcon, N as NotificationIcon, O as OdigosLogoText, a as OverviewIcon, S as SlackLogo, T as TerminalIcon } from './index--RecCPGA.js';
5
+ export { A as ArrowIcon, f as CheckIcon, C as CodeIcon, a as CopyIcon, g as CrossIcon, E as ExtendArrowIcon, d as EyeClosedIcon, e as EyeOpenIcon, L as ListIcon, M as MinusIcon, N as NoDataIcon, b as NotebookIcon, P as PlusIcon, S as SearchIcon, c as SortArrowsIcon, T as TrashIcon, X as XIcon } from './index-CIKkezVt.js';
6
6
  import React from 'react';
7
- export { E as EditIcon } from './index-BQQZyvRz.js';
8
- export { a3 as ActionsIcon, A as AlaudaLogo, a as AlibabaCloudLogo, b as AppDynamicsLogo, c as AwsCloudwatchLogo, d as AwsS3Logo, e as AwsXrayLogo, f as AxiomLogo, B as BetterStackLogo, g as BlobStorageLogo, h as BonreeLogo, C as CauselyLogo, i as ChecklyLogo, j as ChronosphereLogo, k as ClickhouseLogo, l as CoralogixLogo, D as Dash0Logo, m as DatadogLogo, a4 as DestinationsIcon, n as DynatraceLogo, E as ElasticApmLogo, o as ElasticSearchLogo, G as GigapipeLogo, p as GoogleCloudPlatformLogo, q as GrafanaLogo, r as GreptimeLogo, s as GroundcoverLogo, H as HoneycombLogo, t as HyperDxLogo, I as InstanaLogo, J as JaegerLogo, K as KloudmateLogo, L as Last9Logo, u as LightstepLogo, v as LogzioLogo, w as LokiLogo, x as LumigoLogo, M as MiddlewareLogo, a5 as NamespacesIcon, N as NewRelicLogo, O as ObserveLogo, y as OneUptimeLogo, z as OpenObserveLogo, F as OpenTelemetryLogo, P as OpsVerseLogo, Q as OracleLogo, R as PrometheusLogo, S as QrynLogo, T as QuickwitLogo, a6 as RulesIcon, U as SeqLogo, W as SignozLogo, a7 as SourcesIcon, X as SplunkLogo, Y as SumoLogicLogo, Z as TelemetryHubLogo, _ as TempoLogo, $ as TingyunLogo, a0 as TraceloopLogo, a1 as UptraceLogo, a2 as VictoriaMetricsLogo, V as VmLogo } from './index-1N9wymEq.js';
7
+ export { E as EditIcon } from './index-BWZT-ipR.js';
8
+ export { a3 as ActionsIcon, A as AlaudaLogo, a as AlibabaCloudLogo, b as AppDynamicsLogo, c as AwsCloudwatchLogo, d as AwsS3Logo, e as AwsXrayLogo, f as AxiomLogo, B as BetterStackLogo, g as BlobStorageLogo, h as BonreeLogo, C as CauselyLogo, i as ChecklyLogo, j as ChronosphereLogo, k as ClickhouseLogo, l as CoralogixLogo, D as Dash0Logo, m as DatadogLogo, a4 as DestinationsIcon, n as DynatraceLogo, E as ElasticApmLogo, o as ElasticSearchLogo, G as GigapipeLogo, p as GoogleCloudPlatformLogo, q as GrafanaLogo, r as GreptimeLogo, s as GroundcoverLogo, H as HoneycombLogo, t as HyperDxLogo, I as InstanaLogo, J as JaegerLogo, K as KloudmateLogo, L as Last9Logo, u as LightstepLogo, v as LogzioLogo, w as LokiLogo, x as LumigoLogo, M as MiddlewareLogo, a5 as NamespacesIcon, N as NewRelicLogo, O as ObserveLogo, y as OneUptimeLogo, z as OpenObserveLogo, F as OpenTelemetryLogo, P as OpsVerseLogo, Q as OracleLogo, R as PrometheusLogo, S as QrynLogo, T as QuickwitLogo, a6 as RulesIcon, U as SeqLogo, W as SignozLogo, a7 as SourcesIcon, X as SplunkLogo, Y as SumoLogicLogo, Z as TelemetryHubLogo, _ as TempoLogo, $ as TingyunLogo, a0 as TraceloopLogo, a1 as UptraceLogo, a2 as VictoriaMetricsLogo, V as VmLogo } from './index-Cq8NT9Hr.js';
9
9
  import './types.js';
10
10
  import 'styled-components';
11
11
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
3
 
4
4
  const OdigosLogoText = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
5
  const theme = Theme.useTheme();
@@ -1,11 +1,11 @@
1
1
  import { StatusType, OtherStatus, DestinationTypes, EntityTypes, PlatformType } from './types.js';
2
- import { K as K8sLogo } from './index-CVH8Q8Sl.js';
2
+ import { K as K8sLogo } from './index-DJGe2YeC.js';
3
3
  import { D as DEFAULT_DATA_STREAM_NAME } from './index-mOgS3e5E.js';
4
- import { a as getProgrammingLanguageIcon } from './index-B_Gl6Qa6.js';
4
+ import { a as getProgrammingLanguageIcon } from './index-ChYtqgBW.js';
5
5
  import 'react';
6
6
  import 'styled-components';
7
- import { e as AwsXrayLogo, a2 as VictoriaMetricsLogo, a1 as UptraceLogo, a0 as TraceloopLogo, $ as TingyunLogo, _ as TempoLogo, Z as TelemetryHubLogo, Y as SumoLogicLogo, X as SplunkLogo, W as SignozLogo, U as SeqLogo, d as AwsS3Logo, T as QuickwitLogo, G as GigapipeLogo, S as QrynLogo, R as PrometheusLogo, F as OpenTelemetryLogo, Q as OracleLogo, P as OpsVerseLogo, z as OpenObserveLogo, y as OneUptimeLogo, O as ObserveLogo, N as NewRelicLogo, M as MiddlewareLogo, x as LumigoLogo, w as LokiLogo, v as LogzioLogo, u as LightstepLogo, L as Last9Logo, K as KloudmateLogo, J as JaegerLogo, I as InstanaLogo, t as HyperDxLogo, H as HoneycombLogo, s as GroundcoverLogo, r as GreptimeLogo, q as GrafanaLogo, p as GoogleCloudPlatformLogo, o as ElasticSearchLogo, E as ElasticApmLogo, n as DynatraceLogo, m as DatadogLogo, D as Dash0Logo, l as CoralogixLogo, c as AwsCloudwatchLogo, k as ClickhouseLogo, j as ChronosphereLogo, i as ChecklyLogo, C as CauselyLogo, h as BonreeLogo, B as BetterStackLogo, g as BlobStorageLogo, f as AxiomLogo, b as AppDynamicsLogo, a as AlibabaCloudLogo, A as AlaudaLogo, a6 as RulesIcon, a3 as ActionsIcon, a4 as DestinationsIcon, a7 as SourcesIcon, a5 as NamespacesIcon, V as VmLogo } from './index-1N9wymEq.js';
8
- import { K as KafkaLogo, O as OdigosLogo } from './index-Do3CYz7N.js';
7
+ import { e as AwsXrayLogo, a2 as VictoriaMetricsLogo, a1 as UptraceLogo, a0 as TraceloopLogo, $ as TingyunLogo, _ as TempoLogo, Z as TelemetryHubLogo, Y as SumoLogicLogo, X as SplunkLogo, W as SignozLogo, U as SeqLogo, d as AwsS3Logo, T as QuickwitLogo, G as GigapipeLogo, S as QrynLogo, R as PrometheusLogo, F as OpenTelemetryLogo, Q as OracleLogo, P as OpsVerseLogo, z as OpenObserveLogo, y as OneUptimeLogo, O as ObserveLogo, N as NewRelicLogo, M as MiddlewareLogo, x as LumigoLogo, w as LokiLogo, v as LogzioLogo, u as LightstepLogo, L as Last9Logo, K as KloudmateLogo, J as JaegerLogo, I as InstanaLogo, t as HyperDxLogo, H as HoneycombLogo, s as GroundcoverLogo, r as GreptimeLogo, q as GrafanaLogo, p as GoogleCloudPlatformLogo, o as ElasticSearchLogo, E as ElasticApmLogo, n as DynatraceLogo, m as DatadogLogo, D as Dash0Logo, l as CoralogixLogo, c as AwsCloudwatchLogo, k as ClickhouseLogo, j as ChronosphereLogo, i as ChecklyLogo, C as CauselyLogo, h as BonreeLogo, B as BetterStackLogo, g as BlobStorageLogo, f as AxiomLogo, b as AppDynamicsLogo, a as AlibabaCloudLogo, A as AlaudaLogo, a6 as RulesIcon, a3 as ActionsIcon, a4 as DestinationsIcon, a7 as SourcesIcon, a5 as NamespacesIcon, V as VmLogo } from './index-Cq8NT9Hr.js';
8
+ import { K as KafkaLogo, O as OdigosLogo } from './index-Bd8ZAEvq.js';
9
9
  import { s as safeJsonParse } from './index-BV85P9UP.js';
10
10
 
11
11
  const compareCondition = (renderCondition, fields) => {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
3
 
4
4
  const EditIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
5
  const theme = Theme.useTheme();
@@ -1,14 +1,14 @@
1
1
  import React, { useState, useEffect, useRef, forwardRef, createElement, useCallback, useMemo, Fragment } from 'react';
2
- import { T as Theme, n as ImageErrorIcon, M as MONITORS_OPTIONS } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme, n as ImageErrorIcon, M as MONITORS_OPTIONS } from './index-DJGe2YeC.js';
3
+ import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages, InputTypes, FieldTypes } from './types.js';
4
+ import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, P as PlusIcon, T as TrashIcon, A as ArrowIcon } from './index-CIKkezVt.js';
5
+ import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString, n as numbersOnly } from './index-ChYtqgBW.js';
3
6
  import styled, { css } from 'styled-components';
4
- import { M as MinusIcon, f as CheckIcon, L as ListIcon, C as CodeIcon, E as ExtendArrowIcon, c as SortArrowsIcon, a as CopyIcon, b as NotebookIcon, X as XIcon, d as EyeClosedIcon, e as EyeOpenIcon, N as NoDataIcon, g as CrossIcon, S as SearchIcon, P as PlusIcon, T as TrashIcon, A as ArrowIcon } from './index-CNfdJ1X8.js';
5
- import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages } from './types.js';
6
7
  import { s as safeJsonParse, i as isEmpty } from './index-BV85P9UP.js';
7
8
  import { B as BUTTON_TEXTS } from './index-mOgS3e5E.js';
8
- import { b as getStatusIcon, r as removeEmptyValuesFromObject, s as safeJsonStringify, f as flattenObjectKeys, m as mapConditions, c as capitalizeFirstLetter, g as getMonitorIcon, p as parseJsonStringToPrettyString, a as getProgrammingLanguageIcon, d as splitCamelString } from './index-B_Gl6Qa6.js';
9
- import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-B0eagOib.js';
9
+ import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-dZ92VxT2.js';
10
10
  import ReactDOM from 'react-dom';
11
- import { I as InfoIcon } from './index-Do3CYz7N.js';
11
+ import { I as InfoIcon } from './index-Bd8ZAEvq.js';
12
12
 
13
13
  const TextWrapper$2 = styled.div `
14
14
  color: ${({ $color, theme }) => $color || theme.text.secondary};
@@ -5001,15 +5001,15 @@ const Button$1 = styled.button `
5001
5001
  cursor: not-allowed;
5002
5002
  }
5003
5003
  `;
5004
- const Input = ({ icon: Icon, buttonLabel, onButtonClick, hasError, errorMessage, title, tooltip, required, onChange, type = 'text', name, ...props }) => {
5004
+ const Input = ({ icon: Icon, buttonLabel, onButtonClick, hasError, errorMessage, title, tooltip, required, value, onChange, type = InputTypes.Text, name, ...props }) => {
5005
5005
  const theme = Theme.useTheme();
5006
- const isSecret = type === 'password';
5006
+ const isSecret = type === InputTypes.Password;
5007
5007
  const [revealSecret, setRevealSecret] = useState(false);
5008
5008
  const handleInputChange = (e) => {
5009
5009
  e.stopPropagation();
5010
- const v = e.target.value;
5011
- const actualValue = type === 'number' ? v.replace(/[^\d]/g, '') : v;
5012
- e.target.value = actualValue;
5010
+ if (type === InputTypes.Number) {
5011
+ e.target.value = numbersOnly(e.target.value);
5012
+ }
5013
5013
  onChange?.(e);
5014
5014
  };
5015
5015
  const handleKeyDown = (e) => {
@@ -5021,7 +5021,7 @@ const Input = ({ icon: Icon, buttonLabel, onButtonClick, hasError, errorMessage,
5021
5021
  React.createElement(InputWrapper$1, { "$disabled": props.disabled, "$hasError": hasError || !!errorMessage, "$isActive": !!props.autoFocus },
5022
5022
  isSecret ? (React.createElement(IconWrapperClickable, { onClick: () => setRevealSecret((prev) => !prev) }, revealSecret ? React.createElement(EyeClosedIcon, { size: 14, fill: theme.text.grey }) : React.createElement(EyeOpenIcon, { size: 14, fill: theme.text.grey }))) : Icon ? (React.createElement(IconWrapper$2, null,
5023
5023
  React.createElement(Icon, { size: 14, fill: theme.text.grey }))) : null,
5024
- React.createElement(StyledInput, { "data-id": name, type: revealSecret ? 'text' : type, "$hasIcon": !!Icon || isSecret, name: name, onChange: handleInputChange, onKeyDown: handleKeyDown, ...props }),
5024
+ React.createElement(StyledInput, { "data-id": name, type: revealSecret ? InputTypes.Text : type === InputTypes.Number ? InputTypes.Text : type, "$hasIcon": !!Icon || isSecret, name: name, value: value, onChange: handleInputChange, onKeyDown: handleKeyDown, ...props }),
5025
5025
  buttonLabel && onButtonClick && (React.createElement(Button$1, { onClick: onButtonClick, disabled: props.disabled }, buttonLabel))),
5026
5026
  !!errorMessage && React.createElement(FieldError, null, errorMessage)));
5027
5027
  };
@@ -5098,7 +5098,7 @@ const IconWrapper$1 = styled.div `
5098
5098
  align-items: center;
5099
5099
  gap: 4px;
5100
5100
  `;
5101
- const Dropdown = ({ options, value, onSelect, onDeselect, title, tooltip, placeholder, disabled = false, isMulti = false, showSearch = false, required = false, errorMessage }) => {
5101
+ const Dropdown = ({ options, value, onSelect, onDeselect, title, tooltip, placeholder, disabled = false, isMulti = false, showSearch = false, required = false, errorMessage, hasError = false, }) => {
5102
5102
  const [isOpen, setIsOpen] = useState(false);
5103
5103
  const [openUpwards, setOpenUpwards] = useState(false);
5104
5104
  const containerRef = useRef(null);
@@ -5118,7 +5118,7 @@ const Dropdown = ({ options, value, onSelect, onDeselect, title, tooltip, placeh
5118
5118
  return (React.createElement(RootContainer, { "$disabled": disabled },
5119
5119
  React.createElement(FieldLabel, { title: title, required: required, tooltip: tooltip }),
5120
5120
  React.createElement(RelativeContainer, { ref: containerRef },
5121
- React.createElement(DropdownHeader, { "$isOpen": isOpen, "$isMulti": isMulti, "$hasSelections": Array.isArray(value) ? !!value.length : false, "$hasError": !!errorMessage, "$disabled": disabled, onClick: () => !disabled && toggleOpen() },
5121
+ React.createElement(DropdownHeader, { "$isOpen": isOpen, "$isMulti": isMulti, "$hasSelections": Array.isArray(value) ? !!value.length : false, "$hasError": !!errorMessage || hasError, "$disabled": disabled, onClick: () => !disabled && toggleOpen() },
5122
5122
  React.createElement(DropdownPlaceholder, { value: value, placeholder: placeholder, onDeselect: onDeselect }),
5123
5123
  React.createElement(IconWrapper$1, null,
5124
5124
  isMulti && React.createElement(Badge, { label: arrLen, filled: !!arrLen }),
@@ -5391,22 +5391,44 @@ const InputList = ({ initialValues = [], value, onChange, title, tooltip, requir
5391
5391
  React.createElement(AddButton, { onClick: handleAddInput, disabled: isAddButtonDisabled })));
5392
5392
  };
5393
5393
 
5394
+ const ColumnsToFields = ({ col, colIdx, row, rowIdx, rowsLength, maxWidth, handleChange, errorMessage, limitFieldsPerRow }) => {
5395
+ const { keyName, title, tooltip, placeholder, required, type, componentType, options, renderCondition } = col;
5396
+ const value = row[keyName];
5397
+ if (renderCondition && !renderCondition(row))
5398
+ return null;
5399
+ const render = () => {
5400
+ switch (componentType) {
5401
+ case FieldTypes.Dropdown:
5402
+ const selectedOption = options?.find((opt) => opt.id === value);
5403
+ return (React.createElement(Dropdown, { title: limitFieldsPerRow ? title : undefined, tooltip: limitFieldsPerRow ? tooltip : undefined, placeholder: placeholder, required: required, options: options || [], value: selectedOption, onSelect: (opt) => handleChange(keyName, opt.id, rowIdx), onDeselect: (opt) => handleChange(keyName, '', rowIdx), hasError: !!errorMessage && (!required || (required && isEmpty(value))) }));
5404
+ default:
5405
+ const hasMoreThanOneRow = rowsLength > 1;
5406
+ const isLastRow = rowIdx === rowsLength - 1;
5407
+ const isFirstColumn = colIdx === 0;
5408
+ const shouldAutoFocus = hasMoreThanOneRow && isLastRow && isFirstColumn && isEmpty(value);
5409
+ return (React.createElement(Input, { title: limitFieldsPerRow ? title : undefined, tooltip: limitFieldsPerRow ? tooltip : undefined, placeholder: placeholder, type: type, required: required, autoFocus: shouldAutoFocus, value: value, onChange: ({ target: { value: val } }) => handleChange(keyName, val, rowIdx), style: { maxWidth, paddingLeft: 10 }, hasError: !!errorMessage && (!required || (required && isEmpty(value))) }));
5410
+ }
5411
+ };
5412
+ return (React.createElement("td", { key: `input-table-${rowIdx}-${keyName}`, style: { maxWidth, padding: '4px 6px 4px 0' } }, render()));
5413
+ };
5414
+
5394
5415
  const Container$b = styled.div `
5395
5416
  display: flex;
5396
5417
  flex-direction: column;
5397
5418
  width: 100%;
5398
5419
  `;
5399
5420
  const DeleteButton$1 = styled.button `
5421
+ margin-top: ${({ $marginTop }) => $marginTop};
5400
5422
  background: none;
5401
5423
  border: none;
5402
- cursor: pointer;
5403
5424
  cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
5404
5425
  opacity: ${({ disabled }) => (disabled ? 0.5 : 1)};
5405
5426
  `;
5406
- const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage }) => {
5427
+ const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage, limitFieldsPerRow }) => {
5407
5428
  // INITIAL_ROW as state, because it's dynamic to the "columns" prop
5408
5429
  const [initialRow, setInitialRow] = useState({});
5409
5430
  const [rows, setRows] = useState(value || initialValues);
5431
+ const columnMap = useMemo(() => new Map(columns.map((col) => [col.keyName, col])), [columns]);
5410
5432
  useEffect(() => {
5411
5433
  if (!rows.length) {
5412
5434
  const init = {};
@@ -5415,9 +5437,28 @@ const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage
5415
5437
  setRows([{ ...init }]);
5416
5438
  }
5417
5439
  }, []);
5440
+ const isRowValid = (row) => {
5441
+ for (const [key, val] of Object.entries(row)) {
5442
+ const col = columnMap.get(key);
5443
+ if (col?.renderCondition && !col.renderCondition(row)) {
5444
+ // If the column has a render condition and it shouldn't render, skip/pass this column as valid
5445
+ continue;
5446
+ // Else, keep checking it below
5447
+ }
5448
+ if (col?.required && isEmpty(val)) {
5449
+ // If the column is required, and is empty, this row is invalid
5450
+ return false;
5451
+ }
5452
+ }
5453
+ return true;
5454
+ };
5418
5455
  // Filter out rows where either key or value is empty
5419
- const validRows = rows.filter((row) => !Object.values(row).filter((val) => isEmpty(val)).length);
5456
+ const validRows = rows.filter(isRowValid);
5420
5457
  const recordedRows = useRef(JSON.stringify(validRows));
5458
+ const isAddButtonDisabled = validRows.length !== rows.length;
5459
+ // adjust cell-width based on the amount of inputs on-screen,
5460
+ // the "0.4" is to consider the delete button
5461
+ const maxWidth = `${Math.floor(640 / ((limitFieldsPerRow || columns.length) + 0.4))}px`;
5421
5462
  useEffect(() => {
5422
5463
  const stringified = JSON.stringify(validRows);
5423
5464
  // Only trigger onChange if valid key-value pairs have changed
@@ -5435,7 +5476,12 @@ const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage
5435
5476
  });
5436
5477
  };
5437
5478
  const handleDeleteRow = (idx) => {
5438
- setRows((prev) => prev.filter((_, i) => i !== idx));
5479
+ if (rows.length > 1) {
5480
+ setRows((prev) => prev.filter((_, i) => i !== idx));
5481
+ }
5482
+ else {
5483
+ columns.forEach(({ keyName, type }) => handleChange(keyName, type === InputTypes.Number ? '0' : '', idx));
5484
+ }
5439
5485
  };
5440
5486
  const handleChange = (key, val, idx) => {
5441
5487
  setRows((prev) => {
@@ -5444,36 +5490,35 @@ const InputTable = ({ columns, initialValues = [], value, onChange, errorMessage
5444
5490
  return payload;
5445
5491
  });
5446
5492
  };
5447
- // Check if any key or value field is empty
5448
- const isMinRows = rows.length <= 1;
5449
- const isAddButtonDisabled = rows.some((row) => !!Object.values(row).filter((val) => isEmpty(val)).length);
5450
- const isDelButtonDisabled = isMinRows && isAddButtonDisabled;
5451
- // adjust cell-width based on the amount of inputs on-screen,
5452
- // the "0.4" is to consider the delete button
5453
- const maxWidth = `${Math.floor(640 / (columns.length + 0.4))}px`;
5493
+ const matrixColumns = useMemo(() => {
5494
+ if (limitFieldsPerRow) {
5495
+ const matrix = [];
5496
+ for (let i = 0; true; i += limitFieldsPerRow) {
5497
+ const arr = columns.slice(i, i + limitFieldsPerRow);
5498
+ if (!arr.length)
5499
+ break;
5500
+ matrix.push(arr);
5501
+ }
5502
+ return matrix;
5503
+ }
5504
+ return [columns];
5505
+ }, [limitFieldsPerRow, columns]);
5454
5506
  return (React.createElement(Container$b, null,
5455
5507
  React.createElement("table", { style: { borderCollapse: 'collapse' } },
5456
- React.createElement("thead", null,
5508
+ !limitFieldsPerRow && (React.createElement("thead", null,
5457
5509
  React.createElement("tr", null,
5458
5510
  columns.map(({ title, tooltip, required }) => (React.createElement("th", { key: `input-table-head-${title}`, style: { maxWidth } },
5459
5511
  React.createElement(FieldLabel, { title: title, required: required, tooltip: tooltip })))),
5460
- React.createElement("th", null))),
5461
- React.createElement("tbody", null, rows.map((row, idx) => (React.createElement("tr", { key: `input-table-row-${idx}` },
5462
- columns.map(({ type, keyName, placeholder, required }, innerIdx) => {
5463
- const value = row[keyName];
5464
- return (React.createElement("td", { key: `input-table-${idx}-${keyName}`, style: { maxWidth, padding: '4px 6px 4px 0' } },
5465
- React.createElement(Input, { autoFocus: isEmpty(value) && !isMinRows && idx === rows.length - 1 && innerIdx === 0, type: type, placeholder: placeholder, value: value, onChange: ({ target: { value: val } }) => handleChange(keyName, type === 'number' ? Number(val) : val, idx), style: { maxWidth, paddingLeft: 10 }, hasError: !!errorMessage && (!required || (required && isEmpty(value))) })));
5466
- }),
5467
- React.createElement("td", null,
5468
- React.createElement(DeleteButton$1, { disabled: isDelButtonDisabled, onClick: () => {
5469
- if (isMinRows) {
5470
- columns.forEach(({ keyName }) => handleChange(keyName, '', idx));
5471
- }
5472
- else {
5473
- handleDeleteRow(idx);
5474
- }
5475
- } },
5476
- React.createElement(TrashIcon, null)))))))),
5512
+ React.createElement("th", null)))),
5513
+ React.createElement("tbody", null, rows.map((row, rowIdx) => (React.createElement(Fragment, { key: `input-table-row-${rowIdx}` },
5514
+ limitFieldsPerRow && rowIdx > 0 ? (React.createElement("tr", null,
5515
+ React.createElement("td", { colSpan: matrixColumns.length },
5516
+ React.createElement(Divider, null)))) : null,
5517
+ matrixColumns.map((cols, colIdx) => (React.createElement("tr", { key: `input-table-matrix-${rowIdx}-${colIdx}` },
5518
+ cols.map((obj, colIdx) => (React.createElement(ColumnsToFields, { key: `input-table-row-${rowIdx}-col-${colIdx}`, col: obj, colIdx: colIdx, row: row, rowIdx: rowIdx, rowsLength: rows.length, maxWidth: maxWidth, limitFieldsPerRow: limitFieldsPerRow, errorMessage: errorMessage, handleChange: handleChange }))),
5519
+ colIdx === 0 && (React.createElement("td", null,
5520
+ React.createElement(DeleteButton$1, { "$marginTop": limitFieldsPerRow ? '24px' : '0', onClick: () => handleDeleteRow(rowIdx) },
5521
+ React.createElement(TrashIcon, null)))))))))))),
5477
5522
  !!errorMessage && React.createElement(FieldError, null, errorMessage),
5478
5523
  React.createElement(AddButton, { onClick: handleAddRow, disabled: isAddButtonDisabled })));
5479
5524
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
3
 
4
4
  const OdigosLogo = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
5
  const theme = Theme.useTheme();
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
3
 
4
4
  const ArrowIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
5
  const theme = Theme.useTheme();
@@ -1,8 +1,8 @@
1
1
  import { ProgrammingLanguages, SignalType, StatusType } from './types.js';
2
2
  import 'react';
3
- import { n as ImageErrorIcon } from './index-CVH8Q8Sl.js';
3
+ import { n as ImageErrorIcon } from './index-DJGe2YeC.js';
4
4
  import 'styled-components';
5
- import { K as KafkaLogo, R as RedisLogo, P as PostgresLogo, N as NginxLogo, M as MysqlLogo, E as ElixirLogo, S as SwiftLogo, a as RustLogo, b as RubyLogo, c as PhpLogo, C as CPlusPlusLogo, d as CSharpLogo, D as DotnetLogo, e as PythonLogo, f as NodejsLogo, G as GoLogo, J as JavaLogo, T as TracesIcon, g as MetricsIcon, L as LogsIcon, O as OdigosLogo, I as InfoIcon, W as WarningTriangleIcon, h as ErrorTriangleIcon, i as CheckCircledIcon } from './index-Do3CYz7N.js';
5
+ import { K as KafkaLogo, R as RedisLogo, P as PostgresLogo, N as NginxLogo, M as MysqlLogo, E as ElixirLogo, S as SwiftLogo, a as RustLogo, b as RubyLogo, c as PhpLogo, C as CPlusPlusLogo, d as CSharpLogo, D as DotnetLogo, e as PythonLogo, f as NodejsLogo, G as GoLogo, J as JavaLogo, T as TracesIcon, g as MetricsIcon, L as LogsIcon, O as OdigosLogo, I as InfoIcon, W as WarningTriangleIcon, h as ErrorTriangleIcon, i as CheckCircledIcon } from './index-Bd8ZAEvq.js';
6
6
 
7
7
  const capitalizeFirstLetter = (string) => {
8
8
  return string.charAt(0).toUpperCase() + string.slice(1);
@@ -136,6 +136,12 @@ const mapConditions = (conditions) => {
136
136
  })) || []);
137
137
  };
138
138
 
139
+ const numbersOnly = (value) => {
140
+ // Use a regular expression to replace all non-digit characters with an empty string
141
+ const cleaned = value.replace(/[^\d]/g, '');
142
+ return cleaned;
143
+ };
144
+
139
145
  const parseJsonStringToPrettyString = (value) => {
140
146
  let str = '';
141
147
  try {
@@ -198,4 +204,4 @@ const safeJsonStringify = (obj, indent = 2) => {
198
204
  return JSON.stringify(obj || {}, null, indent);
199
205
  };
200
206
 
201
- export { getProgrammingLanguageIcon as a, getStatusIcon as b, capitalizeFirstLetter as c, splitCamelString as d, flattenObjectKeys as f, getMonitorIcon as g, mapConditions as m, parseJsonStringToPrettyString as p, removeEmptyValuesFromObject as r, safeJsonStringify as s };
207
+ export { getProgrammingLanguageIcon as a, getStatusIcon as b, capitalizeFirstLetter as c, splitCamelString as d, flattenObjectKeys as f, getMonitorIcon as g, mapConditions as m, numbersOnly as n, parseJsonStringToPrettyString as p, removeEmptyValuesFromObject as r, safeJsonStringify as s };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
3
 
4
4
  const VmLogo = ({ size = 16, fill: f, rotate = 0, onClick }) => {
5
5
  const theme = Theme.useTheme();
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ActionType, SignalType, InstrumentationRuleType, EntityTypes } from './types.js';
2
+ import { ActionCategory, ActionType, SignalType, InstrumentationRuleType, EntityTypes } from './types.js';
3
3
  import { ThemeProvider, keyframes, useTheme } from 'styled-components';
4
4
 
5
5
  const createStoreImpl = (createState) => {
@@ -65,10 +65,7 @@ function createJSONStorage(getStorage, options) {
65
65
  }
66
66
  return parse(str);
67
67
  },
68
- setItem: (name, newValue) => storage.setItem(
69
- name,
70
- JSON.stringify(newValue, void 0 )
71
- ),
68
+ setItem: (name, newValue) => storage.setItem(name, JSON.stringify(newValue, void 0 )),
72
69
  removeItem: (name) => storage.removeItem(name)
73
70
  };
74
71
  return persistStorage;
@@ -343,8 +340,8 @@ const PayloadCollectionIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
343
340
 
344
341
  const getActionIcon = (type) => {
345
342
  const typeLowerCased = type?.toLowerCase();
346
- const isSamplerCategory = typeLowerCased?.includes('sampler');
347
- const isAttributesCategory = typeLowerCased === 'attributes';
343
+ const isSamplerCategory = typeLowerCased?.includes(ActionCategory.Samplers);
344
+ const isAttributesCategory = typeLowerCased === ActionCategory.Attributes;
348
345
  if (isSamplerCategory)
349
346
  return SamplerIcon;
350
347
  if (isAttributesCategory)
@@ -358,6 +355,8 @@ const getActionIcon = (type) => {
358
355
  [ActionType.ErrorSampler]: SamplerIcon,
359
356
  [ActionType.ProbabilisticSampler]: SamplerIcon,
360
357
  [ActionType.LatencySampler]: SamplerIcon,
358
+ [ActionType.ServiceNameSampler]: SamplerIcon,
359
+ [ActionType.SpanAttributeSampler]: SamplerIcon,
361
360
  };
362
361
  return LOGOS[type] || ImageErrorIcon;
363
362
  };
@@ -365,7 +364,7 @@ const getActionIcon = (type) => {
365
364
  const ACTION_OPTIONS = [
366
365
  {
367
366
  label: 'Attributes',
368
- icon: getActionIcon('attributes'),
367
+ icon: getActionIcon(ActionCategory.Attributes),
369
368
  items: [
370
369
  {
371
370
  type: ActionType.K8sAttributes,
@@ -416,11 +415,11 @@ const ACTION_OPTIONS = [
416
415
  },
417
416
  {
418
417
  label: 'Samplers',
419
- icon: getActionIcon('sampler'),
418
+ icon: getActionIcon(ActionCategory.Samplers),
420
419
  items: [
421
420
  {
422
421
  type: ActionType.ErrorSampler,
423
- icon: getActionIcon('sampler'),
422
+ icon: getActionIcon(ActionCategory.Samplers),
424
423
  label: 'Error Sampler',
425
424
  description: 'Sample errors based on percentage.',
426
425
  allowedSignals: [SignalType.Traces],
@@ -429,7 +428,7 @@ const ACTION_OPTIONS = [
429
428
  },
430
429
  {
431
430
  type: ActionType.LatencySampler,
432
- icon: getActionIcon('sampler'),
431
+ icon: getActionIcon(ActionCategory.Samplers),
433
432
  label: 'Latency Sampler',
434
433
  description: 'Add latency to your traces.',
435
434
  allowedSignals: [SignalType.Traces],
@@ -438,13 +437,31 @@ const ACTION_OPTIONS = [
438
437
  },
439
438
  {
440
439
  type: ActionType.ProbabilisticSampler,
441
- icon: getActionIcon('sampler'),
440
+ icon: getActionIcon(ActionCategory.Samplers),
442
441
  label: 'Probabilistic Sampler',
443
442
  description: 'Sample traces based on percentage.',
444
443
  allowedSignals: [SignalType.Traces],
445
444
  docsEndpoint: '/pipeline/actions/sampling/probabilisticsampler',
446
445
  docsDescription: 'This action supports probabilistic sampling based on a configured sampling percentage applied to the TraceID.',
447
446
  },
447
+ {
448
+ type: ActionType.ServiceNameSampler,
449
+ icon: getActionIcon(ActionCategory.Samplers),
450
+ label: 'Service Name Sampler',
451
+ description: 'Sample traces based on the presence of specified services within a trace.',
452
+ allowedSignals: [SignalType.Traces],
453
+ docsEndpoint: '/pipeline/actions/sampling/servicenamesampler',
454
+ docsDescription: 'This action supports service name sampling based on the presence of specified services within a trace.',
455
+ },
456
+ {
457
+ type: ActionType.SpanAttributeSampler,
458
+ icon: getActionIcon(ActionCategory.Samplers),
459
+ label: 'Span Attributes Sampler',
460
+ description: 'Sample traces based on the presence or value of specific attributes within a trace.',
461
+ allowedSignals: [SignalType.Traces],
462
+ docsEndpoint: '/pipeline/actions/sampling/spanattributesampler',
463
+ docsDescription: 'This action supports service name sampling based on the presence or value of specific attributes within a trace.',
464
+ },
448
465
  ],
449
466
  },
450
467
  ];
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { _ as WarningModal } from './index-BedCNcwV.js';
2
+ import { _ as WarningModal } from './index-BZq0yNL-.js';
3
3
  import { StatusType, EntityTypes } from './types.js';
4
- import './index-CVH8Q8Sl.js';
4
+ import './index-DJGe2YeC.js';
5
5
  import 'styled-components';
6
6
 
7
7
  const CancelWarning = ({ isOpen, noOverlay, name, onApprove, onDeny }) => {
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { T as Theme } from './index-CVH8Q8Sl.js';
3
- import { E as EditIcon } from './index-BQQZyvRz.js';
2
+ import { T as Theme } from './index-DJGe2YeC.js';
3
+ import { E as EditIcon } from './index-BWZT-ipR.js';
4
4
  import { B as BUTTON_TEXTS, a as DISPLAY_TITLES } from './index-mOgS3e5E.js';
5
- import { B as Button, V as Text, J as NotificationNote } from './index-BedCNcwV.js';
5
+ import { B as Button, V as Text, J as NotificationNote } from './index-BZq0yNL-.js';
6
6
  import { StatusType } from './types.js';
7
7
  import 'styled-components';
8
- import { I as InfoIcon } from './index-Do3CYz7N.js';
8
+ import { I as InfoIcon } from './index-Bd8ZAEvq.js';
9
9
 
10
10
  const EditButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
11
11
  const theme = Theme.useTheme();
package/lib/snippets.js CHANGED
@@ -1,14 +1,14 @@
1
- export { A as AddButton } from './index-BedCNcwV.js';
2
- export { E as EditButton, N as NoteBackToSummary } from './index-BjVl4-os.js';
1
+ export { A as AddButton } from './index-BZq0yNL-.js';
2
+ export { E as EditButton, N as NoteBackToSummary } from './index-ovjVbVQq.js';
3
3
  import 'react';
4
- import './index-CVH8Q8Sl.js';
4
+ import './index-DJGe2YeC.js';
5
5
  import './types.js';
6
6
  import 'styled-components';
7
- import './index-CNfdJ1X8.js';
7
+ import './index-CIKkezVt.js';
8
+ import './index-ChYtqgBW.js';
9
+ import './index-Bd8ZAEvq.js';
8
10
  import './index-BV85P9UP.js';
9
11
  import './index-mOgS3e5E.js';
10
- import './index-B_Gl6Qa6.js';
11
- import './index-Do3CYz7N.js';
12
- import './useTransition-B0eagOib.js';
12
+ import './useTransition-dZ92VxT2.js';
13
13
  import 'react-dom';
14
- import './index-BQQZyvRz.js';
14
+ import './index-BWZT-ipR.js';
package/lib/store.js CHANGED
@@ -1,4 +1,4 @@
1
- export { u as useDarkMode, a as useDataStreamStore, b as useDrawerStore, c as useEntityStore, d as useFilterStore, e as useInstrumentStore, f as useModalStore, g as useNotificationStore, h as usePendingStore, i as useSelectedStore, j as useSetupStore } from './index-CVH8Q8Sl.js';
1
+ export { u as useDarkMode, a as useDataStreamStore, b as useDrawerStore, c as useEntityStore, d as useFilterStore, e as useInstrumentStore, f as useModalStore, g as useNotificationStore, h as usePendingStore, i as useSelectedStore, j as useSetupStore } from './index-DJGe2YeC.js';
2
2
  import 'react';
3
3
  import './types.js';
4
4
  import 'styled-components';
package/lib/theme.js CHANGED
@@ -1,4 +1,4 @@
1
- export { T as default } from './index-CVH8Q8Sl.js';
1
+ export { T as default } from './index-DJGe2YeC.js';
2
2
  import 'styled-components';
3
3
  import 'react';
4
4
  import './types.js';