@devtron-labs/devtron-fe-common-lib 0.1.15-beta-17 → 0.1.15-beta-10
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/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +4 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
- package/dist/Common/Security/constants.d.ts +7 -0
- package/dist/Common/Security/types.d.ts +10 -0
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Shared/Components/FilterButton/FilterButton.d.ts +5 -0
- package/dist/Shared/Components/FilterButton/index.d.ts +1 -0
- package/dist/Shared/Components/FilterButton/types.d.ts +12 -0
- package/dist/Shared/Components/FilterButton/utils.d.ts +15 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/types.d.ts +12 -7
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-46b0b2e1.js → cssMode-b035bc93.js} +1 -1
- package/dist/{freemarker2-2e2887b7.js → freemarker2-f29d223b.js} +1 -1
- package/dist/{handlebars-6786369e.js → handlebars-0e493111.js} +1 -1
- package/dist/{html-580c3766.js → html-d4126536.js} +1 -1
- package/dist/{htmlMode-e0755c9b.js → htmlMode-0c96f8a3.js} +1 -1
- package/dist/{index-66f98f4a.js → index-dc43cd0b.js} +19528 -19435
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -124
- package/dist/{javascript-3187eb19.js → javascript-181af9a8.js} +1 -1
- package/dist/{jsonMode-754cf73a.js → jsonMode-6c68ac71.js} +1 -1
- package/dist/{liquid-5cd39bc7.js → liquid-26b266fe.js} +1 -1
- package/dist/{mdx-806f59e4.js → mdx-bb935de3.js} +1 -1
- package/dist/{python-36d79b53.js → python-d761627b.js} +1 -1
- package/dist/{razor-8eaa0e2e.js → razor-42da5fc9.js} +1 -1
- package/dist/{tsMode-6daca90f.js → tsMode-fe63660a.js} +1 -1
- package/dist/{typescript-a512d9e3.js → typescript-96934f05.js} +1 -1
- package/dist/{xml-fff5de24.js → xml-4f4241e8.js} +1 -1
- package/dist/{yaml-c6854a07.js → yaml-1e4f8aca.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +0 -4
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +0 -1
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +0 -7
|
@@ -34,5 +34,5 @@ import { SearchBarProps } from './types';
|
|
|
34
34
|
* <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, }: SearchBarProps) => JSX.Element;
|
|
37
|
+
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, height, }: SearchBarProps) => JSX.Element;
|
|
38
38
|
export default SearchBar;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ScanVulnerabilitiesTableProps } from '../Types';
|
|
2
2
|
|
|
3
|
-
export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick }: ScanVulnerabilitiesTableProps): JSX.Element;
|
|
3
|
+
export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick, }: ScanVulnerabilitiesTableProps): JSX.Element;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -492,7 +492,7 @@ export declare enum DeploymentAppTypes {
|
|
|
492
492
|
}
|
|
493
493
|
export interface VulnerabilityType {
|
|
494
494
|
name: string;
|
|
495
|
-
severity: '
|
|
495
|
+
severity: 'critical' | 'high' | 'medium' | 'low' | 'unknown';
|
|
496
496
|
package: string;
|
|
497
497
|
version: string;
|
|
498
498
|
fixedVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FilterButton } from './FilterButton';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OptionType } from '../../../Common/Types';
|
|
2
|
+
|
|
3
|
+
export interface FilterButtonPropsType {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
appliedFilters: string[];
|
|
6
|
+
options: OptionType[];
|
|
7
|
+
handleApplyChange: (selectedOptions: string[]) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
getFormattedFilterLabelValue?: (identifier: string) => string;
|
|
10
|
+
menuAlignFromRight?: boolean;
|
|
11
|
+
controlWidth?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const getFilterStyle: (controlWidth?: string, menuAlignFromRight?: boolean) => {
|
|
2
|
+
menu: (base: any) => any;
|
|
3
|
+
control: (base: any, state: any) => any;
|
|
4
|
+
container: (base: any) => any;
|
|
5
|
+
singleValue: (base: any) => any;
|
|
6
|
+
option: (base: any, state: any) => any;
|
|
7
|
+
valueContainer: (base: any) => any;
|
|
8
|
+
dropdownIndicator: (base: any, state: any) => any;
|
|
9
|
+
group: (base: any) => any;
|
|
10
|
+
groupHeading: (base: any) => any;
|
|
11
|
+
menuList: (base: any) => any;
|
|
12
|
+
multiValue: (base: any) => any;
|
|
13
|
+
multiValueLabel: (base: any) => any;
|
|
14
|
+
placeholder: (base: any) => any;
|
|
15
|
+
};
|
|
@@ -10,7 +10,6 @@ export * from './FilterChips';
|
|
|
10
10
|
export * from './ActivityIndicator';
|
|
11
11
|
export * from './GenericSectionErrorState';
|
|
12
12
|
export * from './KeyValueList';
|
|
13
|
-
export * from './ScannedObjectBar';
|
|
14
13
|
export * from './InfoIconTippy';
|
|
15
14
|
export * from './EditableTextArea';
|
|
16
15
|
export * from './Header';
|
|
@@ -34,3 +33,4 @@ export * from './Plugin';
|
|
|
34
33
|
export * from './KeyValueTable';
|
|
35
34
|
export * from './SelectPicker';
|
|
36
35
|
export * from './DetectBottom';
|
|
36
|
+
export * from './FilterButton';
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -202,8 +202,10 @@ export declare enum DefaultUserKey {
|
|
|
202
202
|
}
|
|
203
203
|
export declare enum Severity {
|
|
204
204
|
CRITICAL = "critical",
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
HIGH = "high",
|
|
206
|
+
MEDIUM = "medium",
|
|
207
|
+
LOW = "low",
|
|
208
|
+
UNKNOWN = "unknown"
|
|
207
209
|
}
|
|
208
210
|
export declare enum ImagePromotionTabs {
|
|
209
211
|
REQUEST = "request",
|
|
@@ -369,13 +371,16 @@ export declare enum ResourceVersionType {
|
|
|
369
371
|
v1 = "v1",
|
|
370
372
|
alpha1 = "alpha1"
|
|
371
373
|
}
|
|
374
|
+
export interface SeverityCount {
|
|
375
|
+
critical: number;
|
|
376
|
+
high: number;
|
|
377
|
+
medium: number;
|
|
378
|
+
low: number;
|
|
379
|
+
unknown: number;
|
|
380
|
+
}
|
|
372
381
|
export interface LastExecutionResultType {
|
|
373
382
|
lastExecution: string;
|
|
374
|
-
severityCount:
|
|
375
|
-
critical: number;
|
|
376
|
-
moderate: number;
|
|
377
|
-
low: number;
|
|
378
|
-
};
|
|
383
|
+
severityCount: SeverityCount;
|
|
379
384
|
vulnerabilities: VulnerabilityType[];
|
|
380
385
|
scanExecutionId?: number;
|
|
381
386
|
appId?: number;
|