@devtron-labs/devtron-fe-common-lib 1.12.0-beta-10 → 1.12.0-gatekeeper-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 (72) hide show
  1. package/dist/{@common-rjsf-DEJF-ChY.js → @common-rjsf-BRJCn9w_.js} +8668 -8874
  2. package/dist/{@framer-motion-Hh5HoZEj.js → @framer-motion-CR14HVwJ.js} +1 -1
  3. package/dist/{@react-dates-RAg1eRYJ.js → @react-dates-z_WnuIha.js} +1 -1
  4. package/dist/{@react-select-Cyc43HrK.js → @react-select-C1KOG39W.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-Cby7tsJ8.js → @react-virtualized-sticky-tree-DE3LznCK.js} +1 -1
  6. package/dist/{@vendor-BZpoz8Ez.js → @vendor-0Z6AwxJy.js} +10561 -10561
  7. package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
  8. package/dist/Common/Checkbox/index.d.ts +1 -0
  9. package/dist/Common/Constants.d.ts +1 -2
  10. package/dist/Common/Helper.d.ts +1 -4
  11. package/dist/Common/Toggle/Toggle.d.ts +1 -4
  12. package/dist/Common/Types.d.ts +1 -1
  13. package/dist/Common/index.d.ts +3 -2
  14. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
  15. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
  16. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  17. package/dist/Shared/Components/CICDHistory/types.d.ts +6 -0
  18. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  19. package/dist/Shared/Components/Error/types.d.ts +0 -4
  20. package/dist/Shared/Components/Error/utils.d.ts +0 -1
  21. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  22. package/dist/Shared/Components/Icon/Icon.d.ts +18 -1
  23. package/dist/Shared/Components/Icon/types.d.ts +1 -1
  24. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  25. package/dist/Shared/Components/License/index.d.ts +1 -1
  26. package/dist/Shared/Components/License/utils.d.ts +2 -1
  27. package/dist/Shared/Components/index.d.ts +0 -1
  28. package/dist/Shared/constants.d.ts +1 -2
  29. package/dist/Shared/types.d.ts +0 -5
  30. package/dist/assets/@common-rjsf.css +1 -1
  31. package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
  32. package/dist/assets/ic-arrow-square-out.59bb549a.svg +3 -0
  33. package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
  34. package/dist/assets/ic-bulk-check.0f698efa.svg +21 -0
  35. package/dist/assets/ic-bulk-check.99e92f7a.svg +21 -0
  36. package/dist/assets/ic-caret-down-small.7c4f88bf.svg +3 -0
  37. package/dist/assets/ic-caret-right.0ff813c2.svg +3 -0
  38. package/dist/assets/ic-checkbox-hover.0151d832.svg +20 -0
  39. package/dist/assets/ic-checkbox-hover.93e8d66a.svg +20 -0
  40. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +22 -0
  41. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +22 -0
  42. package/dist/assets/ic-checkbox-selected.47444fab.svg +20 -0
  43. package/dist/assets/ic-checkbox-selected.c5539d6f.svg +20 -0
  44. package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +19 -0
  45. package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +19 -0
  46. package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
  47. package/dist/assets/ic-expand-right-sm.9b347d49.svg +3 -0
  48. package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
  49. package/dist/assets/ic-google-gke.07314724.svg +9 -0
  50. package/dist/assets/ic-install.28c3beec.svg +3 -0
  51. package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
  52. package/dist/assets/ic-kind.bd8ee992.svg +9 -0
  53. package/dist/assets/ic-laptop.485e21b4.svg +3 -0
  54. package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
  55. package/dist/assets/ic-mobile.7c649251.svg +4 -0
  56. package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
  57. package/dist/assets/ic-user-circle.7d7152fa.svg +3 -0
  58. package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
  59. package/dist/index.js +838 -841
  60. package/package.json +1 -1
  61. package/dist/Common/Checkbox.d.ts +0 -5
  62. package/dist/Common/Drawer/index.d.ts +0 -1
  63. package/dist/Common/EmptyState/index.d.ts +0 -2
  64. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
  65. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
  66. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
  67. package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
  68. package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -2
  69. package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -3
  70. package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -38
  71. package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -5
  72. package/dist/assets/ic-expand-sm.a9a724f8.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.12.0-beta-10",
3
+ "version": "1.12.0-gatekeeper-0",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,5 +0,0 @@
1
- import { Component } from 'react';
2
- import { CheckboxProps } from './Types';
3
- export declare class Checkbox extends Component<CheckboxProps> {
4
- render(): JSX.Element;
5
- }
@@ -1 +0,0 @@
1
- export * from './Drawer';
@@ -1,2 +0,0 @@
1
- export { default as GenericEmptyState } from './GenericEmptyState';
2
- export { default as GenericFilterEmptyState } from './GenericFilterEmptyState';
@@ -1,2 +0,0 @@
1
- import { AppStatusBodyProps } from './types';
2
- export declare const AppStatusBody: ({ appDetails, type, handleShowConfigDriftModal, debugWithAIButton: ExplainWithAIButton, }: AppStatusBodyProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { AppStatusContentProps } from './types';
2
- declare const AppStatusContent: ({ appDetails, handleShowConfigDriftModal, filterHealthyNodes, isCardLayout, }: AppStatusContentProps) => JSX.Element;
3
- export default AppStatusContent;
@@ -1,3 +0,0 @@
1
- import { AppStatusModalProps } from './types';
2
- declare const AppStatusModal: ({ titleSegments, handleClose, type, appDetails: appDetailsProp, isConfigDriftEnabled, configDriftModal: ConfigDriftModal, appId, envId, debugWithAIButton, }: AppStatusModalProps) => JSX.Element;
3
- export default AppStatusModal;
@@ -1,4 +0,0 @@
1
- export declare const APP_STATUS_CUSTOM_MESSAGES: {
2
- HIBERNATED: string;
3
- 'PARTIALLY HIBERNATED': string;
4
- };
@@ -1,2 +0,0 @@
1
- export { default as AppStatusContent } from './AppStatusContent';
2
- export { default as AppStatusModal } from './AppStatusModal.component';
@@ -1,3 +0,0 @@
1
- import { APIOptions } from '../../../Common/Types';
2
- import { AppDetails } from '../../types';
3
- export declare const getAppDetails: (appId: number, envId: number, abortControllerRef: APIOptions["abortControllerRef"]) => Promise<AppDetails>;
@@ -1,38 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { AppDetails, ConfigDriftModalProps, IntelligenceConfig } from '../../types';
3
- export type AppStatusModalProps = {
4
- titleSegments: string[];
5
- handleClose: () => void;
6
- /**
7
- * If given would not poll for app details and resource tree, Polling for gitops timeline would still be done
8
- */
9
- appDetails?: AppDetails;
10
- isConfigDriftEnabled: boolean;
11
- configDriftModal: FunctionComponent<ConfigDriftModalProps>;
12
- debugWithAIButton: FunctionComponent<{
13
- intelligenceConfig: IntelligenceConfig;
14
- }>;
15
- } & ({
16
- type: 'release';
17
- appId: number;
18
- envId: number;
19
- } | {
20
- type: 'devtron-app' | 'other-apps' | 'stack-manager';
21
- appId?: never;
22
- envId?: never;
23
- });
24
- export interface AppStatusBodyProps extends Required<Pick<AppStatusModalProps, 'appDetails' | 'type' | 'debugWithAIButton'>> {
25
- handleShowConfigDriftModal: () => void;
26
- }
27
- export interface AppStatusContentProps extends Required<Pick<AppStatusBodyProps, 'appDetails'>>, Partial<Pick<AppStatusBodyProps, 'handleShowConfigDriftModal'>> {
28
- /**
29
- * @default false
30
- */
31
- filterHealthyNodes?: boolean;
32
- /**
33
- * @default true
34
- */
35
- isCardLayout?: boolean;
36
- }
37
- export interface GetFilteredFlattenedNodesFromAppDetailsParamsType extends Pick<AppStatusContentProps, 'appDetails' | 'filterHealthyNodes'> {
38
- }
@@ -1,5 +0,0 @@
1
- import { AppDetails, Node } from '../../types';
2
- import { GetFilteredFlattenedNodesFromAppDetailsParamsType as GetFlattenedNodesFromAppDetailsParamsType } from './types';
3
- export declare const getAppStatusMessageFromAppDetails: (appDetails: AppDetails) => string;
4
- export declare const getFlattenedNodesFromAppDetails: ({ appDetails, filterHealthyNodes, }: GetFlattenedNodesFromAppDetailsParamsType) => Node[];
5
- export declare const getResourceKey: (nodeDetails: Node) => string;
@@ -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 fill="#3B444C" d="M13.379 6.295 8.293 11.38a1 1 0 0 0 0 1.414l5.086 5.086c.63.63 1.707.183 1.707-.707V7.002c0-.89-1.077-1.337-1.707-.707Z"/>
3
- </svg>