@devtron-labs/devtron-fe-common-lib 1.4.0-beta-3 → 1.4.0-beta-5
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-CJtUMNgR.js → @code-editor-zlnAVvPx.js} +6933 -7004
- package/dist/{@common-rjsf-8WBKwCV7.js → @common-rjsf-DzGbu1Bm.js} +2 -2
- package/dist/{@framer-motion-C4FMADic.js → @framer-motion-CdgdF0KV.js} +1 -1
- package/dist/{@react-dates-Bw9xFSwg.js → @react-dates-CtQV2TLr.js} +20 -20
- package/dist/{@react-select-DbkfUliH.js → @react-select-Cn3OpC9h.js} +1 -1
- package/dist/@react-virtualized-sticky-tree-CVJYfMx0.js +452 -0
- package/dist/{@vendor-BfPc30M8.js → @vendor-CwAQS8iU.js} +5155 -4713
- package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +13 -1
- package/dist/Common/CodeEditor/types.d.ts +4 -2
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/SegmentedBarChart/types.d.ts +0 -1
- package/dist/Pages/ResourceBrowser/service.d.ts +2 -0
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +0 -5
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +0 -1
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +0 -1
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +3 -0
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +1 -0
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +10 -0
- package/dist/Shared/Components/Security/index.d.ts +1 -1
- package/dist/Shared/Components/Security/utils.d.ts +7 -5
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.component.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.constants.d.ts +2 -0
- package/dist/Shared/Components/VirtualizedList/VirtualizedList.types.d.ts +36 -0
- package/dist/Shared/Components/VirtualizedList/index.d.ts +2 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -0
- package/dist/Shared/Services/types.d.ts +4 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +368 -370
- package/package.json +6 -1
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityCard.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityDetailsCards/SecurityDetailsCards.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityDetailsCards/index.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityDetailsCards/types.d.ts +0 -11
- package/dist/Shared/Components/Security/constants.d.ts +0 -2
- package/dist/Shared/Components/Security/types.d.ts +0 -18
- package/dist/assets/ic-shield-check.7f018238.svg +0 -3
- package/dist/assets/ic-shield-warning-outline.70fea3e8.svg +0 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
3
|
-
"version": "1.4.0-beta-
|
3
|
+
"version": "1.4.0-beta-5",
|
4
4
|
"description": "Supporting common component library",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/index.js",
|
@@ -106,6 +106,7 @@
|
|
106
106
|
"react-dates": "^21.8.0",
|
107
107
|
"react-diff-viewer-continued": "^3.4.0",
|
108
108
|
"react-monaco-editor": "^0.54.0",
|
109
|
+
"react-virtualized-sticky-tree": "^3.0.0-beta18",
|
109
110
|
"sass": "^1.69.7",
|
110
111
|
"tslib": "2.7.0"
|
111
112
|
},
|
@@ -120,6 +121,10 @@
|
|
120
121
|
},
|
121
122
|
"vite-plugin-svgr": {
|
122
123
|
"vite": "5.4.11"
|
124
|
+
},
|
125
|
+
"react-virtualized-sticky-tree": {
|
126
|
+
"react": "^17.0.2",
|
127
|
+
"react-dom": "^17.0.2"
|
123
128
|
}
|
124
129
|
}
|
125
130
|
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { ScanResultDTO, SecurityModalPropsType, SeveritiesDTO } from '../SecurityModal/types';
|
2
|
-
import { ScanCategories, ScanSubCategories } from '../types';
|
3
|
-
export interface SecurityCardProps {
|
4
|
-
category: ScanCategories;
|
5
|
-
subCategory: ScanSubCategories;
|
6
|
-
severityCount: Partial<Record<SeveritiesDTO, number>>;
|
7
|
-
handleCardClick: () => void;
|
8
|
-
}
|
9
|
-
export interface SecurityDetailsCardsProps extends Pick<SecurityModalPropsType, 'Sidebar'> {
|
10
|
-
scanResult: ScanResultDTO;
|
11
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { CATEGORIES, SUB_CATEGORIES } from './SecurityModal/types';
|
2
|
-
export type ScanCategories = (typeof CATEGORIES)[keyof typeof CATEGORIES];
|
3
|
-
export type ScanSubCategories = (typeof SUB_CATEGORIES)[keyof typeof SUB_CATEGORIES];
|
4
|
-
export type CategoriesConfig = {
|
5
|
-
imageScan: boolean;
|
6
|
-
codeScan: boolean;
|
7
|
-
kubernetesManifest: boolean;
|
8
|
-
};
|
9
|
-
interface SecurityConfigCategoryType {
|
10
|
-
label: string;
|
11
|
-
subCategories: ScanSubCategories[];
|
12
|
-
}
|
13
|
-
export interface SecurityConfigType {
|
14
|
-
imageScan?: SecurityConfigCategoryType;
|
15
|
-
codeScan?: SecurityConfigCategoryType;
|
16
|
-
kubernetesManifest?: SecurityConfigCategoryType;
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m16.125 9-5.5 5.25-2.75-2.625M3.11 9.96V5.81c0-.472.297-.892.737-1.041L11.999 2l8.152 2.769c.44.15.737.569.737 1.041v4.15c0 8.647-7.203 11.512-8.641 11.998a.749.749 0 0 1-.496 0C10.313 21.472 3.11 18.607 3.11 9.96Z" vector-effect="non-scaling-stroke"/>
|
3
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 16v.5M12 8v5M3.11 9.96V5.81c0-.472.297-.892.737-1.041L11.999 2l8.152 2.769c.44.15.737.569.737 1.041v4.15c0 8.647-7.203 11.512-8.641 11.998a.749.749 0 0 1-.496 0C10.313 21.472 3.11 18.607 3.11 9.96Z" vector-effect="non-scaling-stroke"/>
|
3
|
-
</svg>
|