@odigos/ui-kit 0.0.143 → 0.0.144
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 +8 -0
- package/lib/chunks/{ui-components-29317e94.js → ui-components-c5321fb4.js} +423 -421
- package/lib/components/_v2/button/index.d.ts +1 -1
- package/lib/components/_v2/button-tab/index.d.ts +4 -0
- package/lib/components/_v2/checkbox/index.d.ts +20 -1
- package/lib/components/_v2/hover-actions/index.d.ts +12 -0
- package/lib/components/_v2/icon-button/index.d.ts +1 -0
- package/lib/components/_v2/index.d.ts +1 -4
- package/lib/components/_v2/radio/index.d.ts +19 -1
- package/lib/components/_v2/table/index.d.ts +3 -2
- package/lib/components/_v2/table/table-rows/index.d.ts +3 -2
- package/lib/components/_v2/table/types.d.ts +0 -5
- package/lib/components/_v2/tag/index.d.ts +1 -0
- package/lib/components/_v2/toggle/index.d.ts +19 -2
- package/lib/components/data-card/index.d.ts +4 -2
- package/lib/components/v2.js +1 -1
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/v2.js +5 -5
- package/lib/containers.js +108 -108
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/describe/index.d.ts +1 -0
- package/lib/types.js +1 -1
- package/package.json +2 -1
- package/lib/components/_v2/button-tab-list/index.d.ts +0 -6
- package/lib/components/_v2/checkbox-list/index.d.ts +0 -21
- package/lib/components/_v2/radio-group/index.d.ts +0 -23
- package/lib/components/_v2/table/table-rows/actions/index.d.ts +0 -8
- package/lib/components/_v2/toggle-list/index.d.ts +0 -20
package/lib/functions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{bx as capitalizeFirstLetter,
|
|
1
|
+
export{bx as capitalizeFirstLetter,cz as cleanObjectEmptyStringsValues,bs as compareCondition,bz as deepClone,aC as filterActions,b5 as filterDestinations,b6 as filterDestinationsByStream,b3 as filterSources,b4 as filterSourcesByStream,cA as flattenObjectKeys,aW as formatBytes,cc as formatDuration,i as generateId,aj as getActionIcon,av as getConditionsBooleans,a_ as getContainersIcons,c7 as getContainersInstrumentedCount,aZ as getDestinationIcon,aJ as getEntityIcon,aU as getEntityId,aE as getEntityLabel,cB as getIdFromSseTarget,aY as getInstrumentationRuleIcon,cC as getMainContainerLanguage,bC as getMetricForEntity,cD as getMonitorIcon,cE as getPlatformIcon,cF as getPlatformLabel,bL as getProgrammingLanguageIcon,ce as getRecursiveValues,cG as getSseTargetFromId,x as getStatusColor,q as getStatusFromPodStatus,aA as getStatusIcon,bV as getStatusTypeFromOdigosHealth,cH as getValueForRange,bP as getWorkloadId,bw as getYamlFieldsForDestination,bW as hasUnhealthyInstances,X as isEmpty,cI as isLegalK8sLabel,c8 as isOverTime,b$ as isStringABoolean,cJ as isTimeElapsed,cK as isValidVersion,ax as mapConditions,br as mapDestinationFieldsForDisplay,aV as mapExportedSignals,cL as numbersOnly,c0 as parseBooleanFromString,cM as parseJsonStringToPrettyString,cN as removeEmptyValuesFromObject,bt as safeJsonParse,cO as safeJsonStringify,aO as sleep,bd as splitCamelString,cP as stringifyNonStringValues}from"./chunks/ui-components-c5321fb4.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{ah as useActionFormData,
|
|
1
|
+
export{ah as useActionFormData,cT as useBodyScroll,b7 as useClickNode,bQ as useClickNotification,b0 as useConnection,b2 as useContainerSize,p as useCopy,bj as useDataStreamFormData,bv as useDestinationFormData,u as useGenericForm,cU as useInfiniteScroll,bM as useInstrumentationRuleFormData,aa as useKeyDown,bc as useOnClickOutside,b8 as usePopup,bi as useSessionStorage,c1 as useSourceFormData,c5 as useSourceSelectionFormData,g as useTimeAgo,bO as useTransition}from"./chunks/ui-components-c5321fb4.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/snippets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{bo as AddButton,bX as CopyText,bT as EditButton,bS as Flow,
|
|
1
|
+
export{bo as AddButton,bX as CopyText,bT as EditButton,bS as Flow,cV as MapItemNode,cW as NoDataNode,bp as NoteBackToSummary,bZ as PodContainer,c2 as SourceContainer}from"./chunks/ui-components-c5321fb4.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cS as useActiveNodeStore,cb as useDarkMode,b1 as useDataStreamStore,a9 as useDrawerStore,ag as useEntityStore,aB as useFilterStore,aS as useInstrumentStore,an as useModalStore,a8 as useNotificationStore,a7 as usePendingStore,aR as useSelectedStore,bk as useSetupStore}from"./chunks/ui-components-c5321fb4.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{o as default}from"./chunks/ui-components-
|
|
1
|
+
export{o as default}from"./chunks/ui-components-c5321fb4.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/lib/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{cg as ActionCategory,R as ActionKeyTypes,H as ActionType,ct as AddNodeTypes,cj as BooleanOperation,bH as CodeAttributesKeyTypes,am as Crud,bF as CustomInstrumentationsKeyTypes,cu as DestinationTypes,cs as EdgeTypes,af as EntityTypes,a0 as FieldTypes,bG as GolangCustomProbe,bD as HeadersCollectionKeyTypes,V as InputTypes,cp as InstallationMethod,bJ as InstrumentationRuleType,cq as IntrumentationStatus,bE as JavaCustomProbe,ck as JsonOperation,K as K8sAttributesFrom,c3 as K8sResourceKind,cl as ListDirection,bR as NodeTypes,ci as NumberOperation,cy as OdigosHealthStatus,bq as OtherEntityTypes,az as OtherStatus,O as OtherStatusType,bI as PayloadCollectionKeyTypes,co as PlatformType,cx as PodContainerLifecycleStatus,cw as PodContainerStatus,cv as PodPhase,cr as Profile,c4 as ProgrammingLanguages,bu as SignalType,cm as SortDirection,n as StatusType,ch as StringOperation,cn as Tier,W as WorkloadRolloutStatus}from"./chunks/ui-components-c5321fb4.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"prism-react-renderer";import"react-error-boundary";import"lottie-react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.144",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"prebuild": "rm -rf lib",
|
|
13
13
|
"build": "NODE_ENV=production rollup -c --bundleConfigAsCjs",
|
|
14
14
|
"build:analyze": "NODE_ENV=production rollup -c --bundleConfigAsCjs && open bundle-analysis.html",
|
|
15
|
+
"build-storybook": "storybook build",
|
|
15
16
|
"watch": "rollup -c --bundleConfigAsCjs -w",
|
|
16
17
|
"size": "NODE_ENV=production rollup -c --bundleConfigAsCjs --silent",
|
|
17
18
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern ./lib --ignore-pattern ./node_modules"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type FC, SetStateAction, Dispatch } from 'react';
|
|
2
|
-
import { ListDirection } from '@/types';
|
|
3
|
-
import { CheckboxProps, CheckboxSize } from '../checkbox';
|
|
4
|
-
interface Option extends Pick<CheckboxProps, 'label'> {
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
interface Values {
|
|
8
|
-
[key: string]: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface CheckboxListProps {
|
|
11
|
-
direction?: ListDirection;
|
|
12
|
-
title?: string;
|
|
13
|
-
size?: CheckboxSize;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
withSelectAll?: boolean;
|
|
16
|
-
options: Option[];
|
|
17
|
-
values: Values;
|
|
18
|
-
setValues: Dispatch<SetStateAction<Values>>;
|
|
19
|
-
}
|
|
20
|
-
export declare const CheckboxList: FC<CheckboxListProps>;
|
|
21
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { type FC, type Dispatch, type SetStateAction } from 'react';
|
|
2
|
-
import { RadioProps, RadioSize } from '../radio';
|
|
3
|
-
export declare enum RadioGroupDirection {
|
|
4
|
-
HORIZONTAL = "horizontal",
|
|
5
|
-
VERTICAL = "vertical"
|
|
6
|
-
}
|
|
7
|
-
interface Values {
|
|
8
|
-
[key: string]: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface Option extends Pick<RadioProps, 'label'> {
|
|
11
|
-
id: string;
|
|
12
|
-
}
|
|
13
|
-
export interface RadioGroupProps {
|
|
14
|
-
label?: string;
|
|
15
|
-
size?: RadioSize;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
direction?: RadioGroupDirection;
|
|
18
|
-
options: Option[];
|
|
19
|
-
values: Values;
|
|
20
|
-
setValues: Dispatch<SetStateAction<Values>>;
|
|
21
|
-
}
|
|
22
|
-
export declare const RadioGroup: FC<RadioGroupProps>;
|
|
23
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type FC } from 'react';
|
|
2
|
-
import type { TableRowAction } from '../../types';
|
|
3
|
-
interface ActionsProps {
|
|
4
|
-
rowActions: TableRowAction[];
|
|
5
|
-
rowActionsPushRightPosition?: CSSProperties['width'];
|
|
6
|
-
}
|
|
7
|
-
export declare const Actions: FC<ActionsProps>;
|
|
8
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type Dispatch, type SetStateAction, type FC } from 'react';
|
|
2
|
-
import { ListDirection } from '@/types';
|
|
3
|
-
import { type ToggleProps, ToggleSize } from '../toggle';
|
|
4
|
-
interface Option extends Omit<ToggleProps, 'size' | 'disabled' | 'value' | 'onChange'> {
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
|
-
interface Values {
|
|
8
|
-
[key: string]: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ToggleListProps {
|
|
11
|
-
direction?: ListDirection;
|
|
12
|
-
title?: string;
|
|
13
|
-
size?: ToggleSize;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
options: Option[];
|
|
16
|
-
values: Values;
|
|
17
|
-
setValues: Dispatch<SetStateAction<Values>>;
|
|
18
|
-
}
|
|
19
|
-
export declare const ToggleList: FC<ToggleListProps>;
|
|
20
|
-
export {};
|