@odigos/ui-kit 0.0.119 → 0.0.121
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/chunks/ui-components-3c494332.js +1738 -0
- package/lib/components/_v2/button/index.d.ts +21 -0
- package/lib/components/_v2/button-tab/index.d.ts +9 -0
- package/lib/components/_v2/index.d.ts +5 -0
- package/lib/components/_v2/input/index.d.ts +10 -0
- package/lib/components/_v2/modal/index.d.ts +8 -0
- package/lib/components/_v2/note/index.d.ts +5 -0
- package/lib/components/_v2/typography/index.d.ts +36 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/loading-text/index.d.ts +9 -0
- package/lib/components/v2.js +1 -0
- package/lib/components.js +1 -1
- package/lib/constants.js +1 -1
- package/lib/containers/source-selection-form/index.d.ts +1 -2
- package/lib/containers.js +86 -88
- package/lib/functions.js +1 -1
- package/lib/hooks.js +1 -1
- package/lib/icons/auth/azure-icon/index.d.ts +2 -0
- package/lib/icons/auth/email-icon/index.d.ts +2 -0
- package/lib/icons/auth/index.d.ts +2 -0
- package/lib/icons/common/help-icon/index.d.ts +2 -0
- package/lib/icons/common/index.d.ts +1 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/icons.js +1 -1
- package/lib/snippets.js +1 -1
- package/lib/store/useSetupStore.d.ts +2 -0
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/sources/index.d.ts +2 -1
- package/lib/types.js +1 -1
- package/lib/visuals/index.d.ts +2 -0
- package/lib/visuals/visual-odigos-logo/index.d.ts +4 -0
- package/lib/visuals/visual-success/index.d.ts +2 -0
- package/lib/visuals.js +24 -0
- package/package.json +12 -2
- package/lib/chunks/ui-components-62ddbe0d.js +0 -1609
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type FC } from 'react';
|
|
2
|
+
import type { SVG } from '@/types';
|
|
3
|
+
export declare enum ButtonVariants {
|
|
4
|
+
Primary = "primary",
|
|
5
|
+
Secondary = "secondary",
|
|
6
|
+
Text = "text"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ButtonSize {
|
|
9
|
+
S = "small",
|
|
10
|
+
M = "medium",
|
|
11
|
+
L = "large"
|
|
12
|
+
}
|
|
13
|
+
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
14
|
+
label: string;
|
|
15
|
+
leftIcon?: SVG;
|
|
16
|
+
rightIcon?: SVG;
|
|
17
|
+
variant?: ButtonVariants;
|
|
18
|
+
size?: ButtonSize;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Button: FC<ButtonProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type FC } from 'react';
|
|
2
|
+
import { type SVG } from '@/types';
|
|
3
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
icon?: SVG;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Input: FC<InputProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
export declare enum TypographyVariants {
|
|
3
|
+
H1 = "h1",
|
|
4
|
+
H2 = "h2",
|
|
5
|
+
H3 = "h3",
|
|
6
|
+
H4 = "h4",
|
|
7
|
+
H5 = "h5",
|
|
8
|
+
H6 = "h6",
|
|
9
|
+
P = "p",
|
|
10
|
+
Span = "span"
|
|
11
|
+
}
|
|
12
|
+
export declare enum TypographySize {
|
|
13
|
+
XXS = 12,
|
|
14
|
+
XS = 14,
|
|
15
|
+
S = 16,
|
|
16
|
+
M = 20,
|
|
17
|
+
L = 24,
|
|
18
|
+
XL = 32,
|
|
19
|
+
XXL = 40,
|
|
20
|
+
XXXL = 48
|
|
21
|
+
}
|
|
22
|
+
export declare enum TypographyAlign {
|
|
23
|
+
Left = "left",
|
|
24
|
+
Right = "right",
|
|
25
|
+
Center = "center"
|
|
26
|
+
}
|
|
27
|
+
export interface TypographyProps {
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
variant?: TypographyVariants;
|
|
30
|
+
color?: string;
|
|
31
|
+
size?: TypographySize;
|
|
32
|
+
weight?: number;
|
|
33
|
+
align?: TypographyAlign;
|
|
34
|
+
lineHeight?: number;
|
|
35
|
+
}
|
|
36
|
+
export declare const Typography: FC<TypographyProps>;
|
|
@@ -31,6 +31,7 @@ export * from './input-list';
|
|
|
31
31
|
export * from './input-table';
|
|
32
32
|
export * from './interactive-table';
|
|
33
33
|
export * from './key-value-input-list';
|
|
34
|
+
export * from './loading-text';
|
|
34
35
|
export * from './modal';
|
|
35
36
|
export * from './monitors-checkboxes';
|
|
36
37
|
export * from './monitors-icons';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { type TextProps } from '../text';
|
|
3
|
+
interface LoadingTextProps extends TextProps {
|
|
4
|
+
children?: string;
|
|
5
|
+
textColor?: string;
|
|
6
|
+
stripColor?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const LoadingText: FC<LoadingTextProps>;
|
|
9
|
+
export { LoadingText, type LoadingTextProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{co as Button,cn as ButtonSize,cp as ButtonTab,cm as ButtonVariants,cq as Input,cr as Note,cv as Typography,cu as TypographyAlign,ct as TypographySize,cs as TypographyVariants}from"../chunks/ui-components-3c494332.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/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{V as AutocompleteInput,ag as Badge,aM as Button,t as CancelWarning,ad as CenterThis,C as Checkbox,
|
|
1
|
+
export{V as AutocompleteInput,ag as Badge,aM as Button,t as CancelWarning,ad as CenterThis,C as Checkbox,cG as Code,G as ConditionDetails,H as DataCard,a as DataCardFieldTypes,b7 as DataCardFields,cH as DataFinger,b3 as DataTab,s as DeleteWarning,bv as DescribeRow,W as Divider,m as DocsButton,r as Drawer,cJ as DrawerFooter,cI as DrawerHeader,aJ as Dropdown,cK as ErrorBoundary,aS as ExtendArrow,aZ as FadeLoader,b as FieldError,F as FieldLabel,L as FlexColumn,Z as FlexRow,cL as Header,aR as IconButton,bE as IconGroup,a9 as IconTitleBadge,a4 as IconWrapped,br as IconsNav,cM as ImageControlled,I as Input,h as InputList,e as InputTable,ac as InteractiveTable,g as KeyValueInputsList,bp as LoadingText,O as Modal,Q as ModalBody,M as MonitorsCheckboxes,a6 as MonitorsIcons,P as NavigationButtons,ae as NoDataFound,R as NotificationNote,cT as Overlay,aD as Popup,bJ as PopupForm,bS as ScrollX,l as SectionTitle,S as Segment,aE as SelectionButton,cN as SkeletonLoader,Y as Status,b6 as Stepper,cO as TabList,a7 as TableContainer,a8 as TableTitleWrap,ab as TableWrap,bg as Tag,k as Text,n as TextArea,f as Toggle,bQ as ToggleCodeComponent,$ as Tooltip,af as TraceLoader,aF as VerticalScroll,cS as WarningModal,cP as getLinksFromText,cQ as getStrongsFromText,cR as renderText}from"./chunks/ui-components-3c494332.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/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{y as ACTION_OPTIONS,B as BUTTON_TEXTS,aQ as DEFAULT_DATA_STREAM_NAME,b4 as DESTINATION_CATEGORIES,aK as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,U as FORM_ALERTS,bj as INSTRUMENTATION_RULE_OPTIONS,
|
|
1
|
+
export{y as ACTION_OPTIONS,B as BUTTON_TEXTS,aQ as DEFAULT_DATA_STREAM_NAME,b4 as DESTINATION_CATEGORIES,aK as DISPLAY_LANGUAGES,D as DISPLAY_TITLES,U as FORM_ALERTS,bj as INSTRUMENTATION_RULE_OPTIONS,ci as LANGUAGE_OPTIONS,aL as MONITORS_OPTIONS,aN as STORAGE_KEYS,cj as TOKEN_ABOUT_TO_EXPIRE}from"./chunks/ui-components-3c494332.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type FetchSingleNamespace } from '@/types';
|
|
3
|
-
import { type
|
|
3
|
+
import { type NamespaceSelectionFormData, type SourceSelectionFormData } from '@/store';
|
|
4
4
|
interface SourceSelectionFormProps {
|
|
5
5
|
isModal?: boolean;
|
|
6
6
|
fetchSingleNamespace: FetchSingleNamespace;
|
|
@@ -8,7 +8,6 @@ interface SourceSelectionFormProps {
|
|
|
8
8
|
}
|
|
9
9
|
interface SourceSelectionFormRef {
|
|
10
10
|
getFormValues: () => {
|
|
11
|
-
initial: AvailableSourcesByNamespace;
|
|
12
11
|
apps: SourceSelectionFormData;
|
|
13
12
|
futureApps: NamespaceSelectionFormData;
|
|
14
13
|
};
|