@devtron-labs/devtron-fe-common-lib 1.2.5-beta-2 → 1.2.5-beta-3
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/dist/{@code-editor-FfpW9Zgu.js → @code-editor-sx6eyxgc.js} +1806 -1753
- package/dist/{@common-rjsf-BPMGz1JV.js → @common-rjsf-DocPuZ0S.js} +2 -2
- package/dist/{@framer-motion-ttHHVvcU.js → @framer-motion-DHY98qq3.js} +1 -1
- package/dist/{@react-dates-BYL_9BKq.js → @react-dates-WNnwjI5S.js} +20 -20
- package/dist/{@react-select-C2X4wjQ5.js → @react-select-BbR996pa.js} +1 -1
- package/dist/{@vendor-qw62fvSw.js → @vendor-RU8AW1bK.js} +3948 -3909
- package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
- package/dist/Common/SegmentedControl/index.d.ts +2 -0
- package/dist/Common/SegmentedControl/types.d.ts +14 -0
- package/dist/Common/index.d.ts +1 -0
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +1 -1
- package/dist/Shared/types.d.ts +1 -0
- package/dist/index.js +554 -551
- package/package.json +1 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OptionType } from '../Types';
|
2
|
+
export declare enum SegmentedControlVariant {
|
3
|
+
GRAY_ON_WHITE = "gui-yaml-switch",
|
4
|
+
WHITE_ON_GRAY = "gui-yaml-switch-window-bg"
|
5
|
+
}
|
6
|
+
export interface SegmentedControlProps {
|
7
|
+
tabs: OptionType[];
|
8
|
+
initialTab: string;
|
9
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
10
|
+
tooltips?: string[];
|
11
|
+
disabled?: boolean;
|
12
|
+
rootClassName?: string;
|
13
|
+
variant?: SegmentedControlVariant;
|
14
|
+
}
|
package/dist/Common/index.d.ts
CHANGED
@@ -11,7 +11,7 @@ export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
11
11
|
isScanned: boolean;
|
12
12
|
isScanEnabled: boolean;
|
13
13
|
SecurityModalSidebar: React.FC<SidebarPropsType>;
|
14
|
-
getSecurityScan: (props: Pick<AppDetailsPayload, 'appId' | 'artifactId'>) => Promise<ResponseType<ApiResponseResultType>>;
|
14
|
+
getSecurityScan: (props: Pick<AppDetailsPayload, 'appId' | 'envId' | 'artifactId'>) => Promise<ResponseType<ApiResponseResultType>>;
|
15
15
|
}
|
16
16
|
export interface SecurityDetailsType {
|
17
17
|
vulnerabilities: VulnerabilityType[];
|
package/dist/Shared/types.d.ts
CHANGED
@@ -585,6 +585,7 @@ export declare enum ConfigurationType {
|
|
585
585
|
GUI = "GUI",
|
586
586
|
YAML = "YAML"
|
587
587
|
}
|
588
|
+
export declare const CONFIGURATION_TYPE_OPTIONS: OptionType<ConfigurationType, ConfigurationType>[];
|
588
589
|
export interface BaseURLParams {
|
589
590
|
appId: string;
|
590
591
|
envId: string;
|