@odigos/ui-kit 0.0.31 → 0.0.33
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/CHANGELOG.md +15 -0
- package/lib/components.js +10 -13
- package/lib/constants/strings/index.d.ts +1 -0
- package/lib/constants.js +3 -6
- package/lib/containers/data-stream-drawer/index.d.ts +1 -1
- package/lib/containers/data-stream-form/index.d.ts +1 -0
- package/lib/containers/destination-selection-form/destination-list/index.d.ts +2 -0
- package/lib/containers/instrumentation-rule-form/custom-fields/headers-collection.d.ts +5 -0
- package/lib/containers/setup-summary/index.d.ts +2 -0
- package/lib/containers.js +73 -76
- package/lib/functions/get-yaml-fields-for-destination/index.d.ts +2 -0
- package/lib/functions/index.d.ts +3 -0
- package/lib/functions/is-legal-k8s-label/index.d.ts +1 -0
- package/lib/functions/map-destination-fields-for-display/index.d.ts +6 -0
- package/lib/functions.js +8 -10
- package/lib/hooks/useInstrumentationRuleFormData.d.ts +1 -1
- package/lib/hooks.js +6 -9
- package/lib/icons/instrumentation-rules/headers-collection-icon/headers-collection-icon.stories.d.ts +8 -0
- package/lib/icons/instrumentation-rules/headers-collection-icon/index.d.ts +2 -0
- package/lib/icons/instrumentation-rules/index.d.ts +1 -0
- package/lib/icons.js +7 -8
- package/lib/{index-BbbCCewR.js → index-1N9wymEq.js} +1 -1
- package/lib/{index-CWbxXTof.js → index-BQQZyvRz.js} +1 -1
- package/lib/{index-CJs4RDHU.js → index-B_Gl6Qa6.js} +2 -3
- package/lib/{index-nltUpkWT.js → index-BedCNcwV.js} +7 -9
- package/lib/{index-B46Mcu9H.js → index-BjVl4-os.js} +5 -6
- package/lib/{index-BJxaoI0G.js → index-CNfdJ1X8.js} +1 -1
- package/lib/index-CVH8Q8Sl.js +1178 -0
- package/lib/{index-BGK1nMOD.js → index-CaAOgaiC.js} +2 -2
- package/lib/{index-7-KCQK-x.js → index-CnZlllYu.js} +10 -1
- package/lib/{index-IKusBlIE.js → index-Do3CYz7N.js} +1 -1
- package/lib/{index-DYNMhZMX.js → index-Iq7U_fzb.js} +42 -7
- package/lib/{index-CamnKrev.js → index-f8FRaVkE.js} +1 -1
- package/lib/index-mOgS3e5E.js +101 -0
- package/lib/snippets.js +10 -13
- package/lib/store.js +2 -2
- package/lib/theme.js +3 -233
- package/lib/types/instrumentation-rules/index.d.ts +26 -18
- package/lib/types.js +15 -9
- package/lib/{useSourceSelectionFormData-BWz8fTJr.js → useSourceSelectionFormData-DiwzViqL.js} +9 -5
- package/lib/{useTransition-B65KBqdK.js → useTransition-B0eagOib.js} +1 -2
- package/package.json +1 -1
- package/lib/index-CFnxjzaW.js +0 -37
- package/lib/index-DGel4E-Z.js +0 -67
- package/lib/index-DGuOxbBR.js +0 -227
- package/lib/index-DMXaEyAB.js +0 -720
- package/lib/{index-BZS1ijMm.js → index-BV85P9UP.js} +14 -14
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ProgrammingLanguages, SignalType, StatusType } from './types.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import { n as ImageErrorIcon } from './index-CVH8Q8Sl.js';
|
|
4
4
|
import 'styled-components';
|
|
5
|
-
import { I as
|
|
6
|
-
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-IKusBlIE.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-Do3CYz7N.js';
|
|
7
6
|
|
|
8
7
|
const capitalizeFirstLetter = (string) => {
|
|
9
8
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, forwardRef, createElement, useCallback, useMemo, Fragment } from 'react';
|
|
2
|
-
import Theme from './
|
|
2
|
+
import { T as Theme, n as ImageErrorIcon, M as MONITORS_OPTIONS } from './index-CVH8Q8Sl.js';
|
|
3
3
|
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-
|
|
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
5
|
import { StatusType, OtherStatus, SortDirection, ProgrammingLanguages } from './types.js';
|
|
6
|
-
import { s as safeJsonParse, i as isEmpty } from './index-
|
|
7
|
-
import {
|
|
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-
|
|
9
|
-
import './
|
|
10
|
-
import { u as useContainerSize, a as useCopy, g as useTransition, d as useKeyDown, e as useOnClickOutside } from './useTransition-B65KBqdK.js';
|
|
11
|
-
import { I as ImageErrorIcon } from './index-DGel4E-Z.js';
|
|
6
|
+
import { s as safeJsonParse, i as isEmpty } from './index-BV85P9UP.js';
|
|
7
|
+
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';
|
|
12
10
|
import ReactDOM from 'react-dom';
|
|
13
|
-
import { I as InfoIcon } from './index-
|
|
11
|
+
import { I as InfoIcon } from './index-Do3CYz7N.js';
|
|
14
12
|
|
|
15
13
|
const TextWrapper$2 = styled.div `
|
|
16
14
|
color: ${({ $color, theme }) => $color || theme.text.secondary};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Theme from './
|
|
3
|
-
import { E as EditIcon } from './index-
|
|
4
|
-
import { B as BUTTON_TEXTS, a as DISPLAY_TITLES } from './index-
|
|
5
|
-
import { B as Button, V as Text, J as NotificationNote } from './index-
|
|
2
|
+
import { T as Theme } from './index-CVH8Q8Sl.js';
|
|
3
|
+
import { E as EditIcon } from './index-BQQZyvRz.js';
|
|
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';
|
|
6
6
|
import { StatusType } from './types.js';
|
|
7
|
-
import './index-DMXaEyAB.js';
|
|
8
7
|
import 'styled-components';
|
|
9
|
-
import { I as InfoIcon } from './index-
|
|
8
|
+
import { I as InfoIcon } from './index-Do3CYz7N.js';
|
|
10
9
|
|
|
11
10
|
const EditButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
|
|
12
11
|
const theme = Theme.useTheme();
|