@devtron-labs/devtron-fe-common-lib 1.18.0-pre-1 → 1.18.1-pre-0

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.
Files changed (27) hide show
  1. package/dist/{@code-editor-ChbMC22a.js → @code-editor-DMWjznh4.js} +7114 -7172
  2. package/dist/{@common-rjsf-NG-2s0K9.js → @common-rjsf-BE1x3bxN.js} +2 -2
  3. package/dist/{@framer-motion-BcOlP2tv.js → @framer-motion-DZveCoIL.js} +1 -1
  4. package/dist/{@react-dates-BkJF0N9I.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-Dw-yFFvz.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-YTxUTwpg.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-Dkf3d5cm.js → @vendor-3ORIJA0h.js} +19413 -16811
  8. package/dist/Common/Constants.d.ts +2 -1
  9. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  10. package/dist/Common/SearchBar/types.d.ts +6 -0
  11. package/dist/Pages/ResourceBrowser/index.d.ts +0 -1
  12. package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
  13. package/dist/Shared/Components/Icon/Icon.d.ts +0 -2
  14. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  15. package/dist/Shared/Components/SelectPicker/constants.d.ts +1 -0
  16. package/dist/Shared/Components/SelectPicker/type.d.ts +13 -2
  17. package/dist/Shared/Components/Table/types.d.ts +1 -0
  18. package/dist/assets/@code-editor.css +1 -1
  19. package/dist/index.d.ts +11 -0
  20. package/dist/index.js +816 -817
  21. package/package.json +2 -1
  22. package/dist/Pages/ResourceBrowser/ClusterMap/ClusterMap.d.ts +0 -2
  23. package/dist/Pages/ResourceBrowser/ClusterMap/index.d.ts +0 -1
  24. package/dist/Pages/ResourceBrowser/ClusterMap/types.d.ts +0 -25
  25. package/dist/Pages/ResourceBrowser/ClusterMap/utils.d.ts +0 -14
  26. package/dist/assets/ic-bg-environment.0afaefb5.svg +0 -12
  27. package/dist/assets/ic-link.52effffd.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.18.0-pre-1",
3
+ "version": "1.18.1-pre-0",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,6 +41,7 @@
41
41
  "@laynezh/vite-plugin-lib-assets": "1.1.0",
42
42
  "@sentry/browser": "^7.119.1",
43
43
  "@tanstack/eslint-plugin-query": "<5",
44
+ "@tanstack/react-query-devtools": "<5",
44
45
  "@testing-library/jest-dom": "^5.16.2",
45
46
  "@testing-library/react": "^12.1.4",
46
47
  "@tippyjs/react": "^4.2.0",
@@ -1,2 +0,0 @@
1
- import { ClusterMapProps } from './types';
2
- export declare const ClusterMap: ({ filteredList, isLoading }: ClusterMapProps) => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './ClusterMap';
@@ -1,25 +0,0 @@
1
- import { ClusterStatusType } from '../types';
2
- export interface ClusterStatusAndType {
3
- isProd: boolean;
4
- status: ClusterStatusType;
5
- }
6
- export interface ClusterMapProps {
7
- isLoading?: boolean;
8
- filteredList: ClusterStatusAndType[];
9
- }
10
- export interface StatusCountEnum {
11
- healthyCount: number;
12
- unhealthyCount: number;
13
- connectionFailedCount: number;
14
- prodCount: number;
15
- }
16
- export interface StatusEntity {
17
- value: number;
18
- label: string;
19
- color: string;
20
- proportionalValue: string;
21
- }
22
- export interface ClusterEntitiesTypes {
23
- statusEntities: StatusEntity[];
24
- deploymentEntities: StatusEntity[];
25
- }
@@ -1,14 +0,0 @@
1
- import { ClusterEntitiesTypes, ClusterStatusAndType, StatusCountEnum } from './types';
2
- /**
3
- *
4
- * @param filteredList
5
- * @returns healthyCount, unhealthyCount, connectionFailedCount, prodCount
6
- */
7
- export declare const getStatusCount: (filteredList: ClusterStatusAndType[]) => StatusCountEnum;
8
- /**
9
- *
10
- * @param filteredList
11
- * @returns statusEntities, deploymentEntities
12
- *
13
- */
14
- export declare const getEntities: (filteredList: ClusterStatusAndType[]) => ClusterEntitiesTypes;
@@ -1,12 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <g clip-path="url(#a)">
3
- <rect width="24" height="24" fill="#F0F7FF" rx="6"/>
4
- <path fill="#ABCFF3" d="M11 5.077a2 2 0 0 1 2 0l4.495 2.596a2 2 0 0 1 1 1.732v5.19a2 2 0 0 1-1 1.732L13 18.923a2 2 0 0 1-2 0l-4.495-2.596a2 2 0 0 1-1-1.732v-5.19a2 2 0 0 1 1-1.732L11 5.077Z"/>
5
- <path fill="#3385D6" d="M11.477 8.539a1 1 0 0 1 1 0l2.248 1.297a1 1 0 0 1 .5.866v2.596a1 1 0 0 1-.5.866l-2.248 1.297a1 1 0 0 1-1 0L9.23 14.164a1 1 0 0 1-.5-.866v-2.596a1 1 0 0 1 .5-.866l2.247-1.297Z"/>
6
- </g>
7
- <defs>
8
- <clipPath id="a">
9
- <path fill="#fff" d="M0 0h24v24H0z"/>
10
- </clipPath>
11
- </defs>
12
- </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="M11.43 6.297 13.426 4.3a4.436 4.436 0 1 1 6.273 6.273l-2.851 2.852a4.435 4.435 0 0 1-6.274 0m1.996 4.277L10.574 19.7a4.434 4.434 0 0 1-7.236-1.438 4.436 4.436 0 0 1 .963-4.835l2.851-2.852a4.436 4.436 0 0 1 6.274 0" vector-effect="non-scaling-stroke"/>
3
- </svg>