@devtron-labs/devtron-fe-common-lib 0.0.42-beta-6 → 0.0.42-beta-7

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 (60) hide show
  1. package/dist/Common/Helper.d.ts +1 -13
  2. package/dist/Common/Types.d.ts +1 -0
  3. package/dist/Common/index.d.ts +0 -1
  4. package/dist/index.js +19595 -22330
  5. package/package.json +1 -4
  6. package/src/Common/Helper.tsx +6 -28
  7. package/src/Common/Types.ts +1 -0
  8. package/src/Common/index.ts +0 -1
  9. package/dist/Common/RJSF/Form.d.ts +0 -4
  10. package/dist/Common/RJSF/common/FieldRow.d.ts +0 -6
  11. package/dist/Common/RJSF/common/types.d.ts +0 -8
  12. package/dist/Common/RJSF/config.d.ts +0 -4
  13. package/dist/Common/RJSF/constants.d.ts +0 -7
  14. package/dist/Common/RJSF/index.d.ts +0 -3
  15. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +0 -3
  16. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +0 -3
  17. package/dist/Common/RJSF/templates/BaseInput.d.ts +0 -3
  18. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +0 -3
  19. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +0 -3
  20. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +0 -3
  21. package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +0 -3
  22. package/dist/Common/RJSF/templates/Description.d.ts +0 -3
  23. package/dist/Common/RJSF/templates/Field.d.ts +0 -3
  24. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +0 -3
  25. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +0 -3
  26. package/dist/Common/RJSF/templates/TitleField.d.ts +0 -3
  27. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +0 -3
  28. package/dist/Common/RJSF/templates/index.d.ts +0 -10
  29. package/dist/Common/RJSF/types.d.ts +0 -3
  30. package/dist/Common/RJSF/utils.d.ts +0 -26
  31. package/dist/Common/RJSF/widgets/Checkbox.d.ts +0 -3
  32. package/dist/Common/RJSF/widgets/Select.d.ts +0 -3
  33. package/dist/Common/RJSF/widgets/index.d.ts +0 -2
  34. package/src/Assets/Icon/ic-chevron-down.svg +0 -5
  35. package/src/Common/RJSF/Form.tsx +0 -29
  36. package/src/Common/RJSF/common/FieldRow.tsx +0 -35
  37. package/src/Common/RJSF/common/types.ts +0 -9
  38. package/src/Common/RJSF/config.ts +0 -37
  39. package/src/Common/RJSF/constants.ts +0 -10
  40. package/src/Common/RJSF/index.ts +0 -3
  41. package/src/Common/RJSF/rjsfForm.scss +0 -18
  42. package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -31
  43. package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -78
  44. package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
  45. package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
  46. package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
  47. package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
  48. package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
  49. package/src/Common/RJSF/templates/Description.tsx +0 -12
  50. package/src/Common/RJSF/templates/Field.tsx +0 -30
  51. package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
  52. package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -105
  53. package/src/Common/RJSF/templates/TitleField.tsx +0 -9
  54. package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
  55. package/src/Common/RJSF/templates/index.ts +0 -10
  56. package/src/Common/RJSF/types.ts +0 -4
  57. package/src/Common/RJSF/utils.ts +0 -123
  58. package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
  59. package/src/Common/RJSF/widgets/Select.tsx +0 -77
  60. package/src/Common/RJSF/widgets/index.ts +0 -2
@@ -1,4 +1,3 @@
1
- import * as Sentry from '@sentry/browser';
2
1
  import React from 'react';
3
2
  import { AsyncOptions, UseSearchString } from './Types';
4
3
  export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
@@ -12,7 +11,7 @@ export declare function sortCallback(key: string, a: any, b: any, isCaseSensitiv
12
11
  export declare const stopPropagation: (event: any) => void;
13
12
  export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
14
13
  export declare function getRandomColor(email: string): string;
15
- export declare const getAlphabetIcon: (str: string) => JSX.Element;
14
+ export declare const getAlphabetIcon: (str: string, intialAlphabetClassName?: string) => JSX.Element;
16
15
  export declare const getEmptyArrayOfLength: (length: number) => unknown[];
17
16
  export declare function noop(...args: any[]): any;
18
17
  export declare function not(e: any): boolean;
@@ -53,15 +52,4 @@ export declare const closeOnEscKeyPressed: (e: any, actionClose: () => void) =>
53
52
  export declare function copyToClipboard(str: any, callback?: typeof noop): void;
54
53
  export declare function useAsync<T>(func: (...rest: any[]) => Promise<T>, dependencyArray?: any[], shouldRun?: boolean, options?: AsyncOptions): [boolean, T, any | null, () => void, React.Dispatch<any>, any[]];
55
54
  export declare const processDeployedTime: (lastDeployed: any, isArgoInstalled: any) => string;
56
- /**
57
- * Appends search parameters to the url as a query string
58
- *
59
- * @param url URL to which the search params needs to be added
60
- * @param params Object for the search parameters
61
- */
62
- export declare const getUrlWithSearchParams: (url: string, params: Record<string | number, any>) => string;
63
- /**
64
- * Custom exception logger function for logging errors to sentry
65
- */
66
- export declare const logExceptionToSentry: typeof Sentry.captureException;
67
55
  export {};
@@ -72,6 +72,7 @@ export interface TippyCustomizedProps {
72
72
  documentationLink?: string;
73
73
  documentationLinkText?: string;
74
74
  children: React.ReactElement<any>;
75
+ followCursor?: boolean;
75
76
  }
76
77
  export interface GenericEmptyStateType {
77
78
  title: ReactNode;
@@ -40,4 +40,3 @@ export { default as Grid } from './Grid/Grid';
40
40
  export { default as ClipboardButton } from './ClipboardButton/ClipboardButton';
41
41
  export * from './Hooks';
42
42
  export { AppStatus } from './AppStatus';
43
- export * from './RJSF';