@devtron-labs/devtron-fe-common-lib 0.0.40-beta-3 → 0.0.40-beta-4

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 (64) hide show
  1. package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
  2. package/dist/Common/DebouncedSearch/Types.d.ts +1 -0
  3. package/dist/Common/Helper.d.ts +0 -7
  4. package/dist/Common/Types.d.ts +1 -1
  5. package/dist/Common/index.d.ts +0 -1
  6. package/dist/index.js +151 -394
  7. package/package.json +1 -4
  8. package/src/Common/DebouncedSearch/DebouncedSearch.tsx +2 -1
  9. package/src/Common/DebouncedSearch/Types.ts +1 -0
  10. package/src/Common/Helper.tsx +0 -17
  11. package/src/Common/Types.ts +1 -1
  12. package/src/Common/index.ts +0 -1
  13. package/dist/Common/RJSF/Form.d.ts +0 -4
  14. package/dist/Common/RJSF/common/FieldRow.d.ts +0 -3
  15. package/dist/Common/RJSF/common/types.d.ts +0 -8
  16. package/dist/Common/RJSF/config.d.ts +0 -4
  17. package/dist/Common/RJSF/constants.d.ts +0 -5
  18. package/dist/Common/RJSF/index.d.ts +0 -2
  19. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +0 -3
  20. package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +0 -3
  21. package/dist/Common/RJSF/templates/BaseInput.d.ts +0 -3
  22. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +0 -3
  23. package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +0 -3
  24. package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +0 -3
  25. package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +0 -3
  26. package/dist/Common/RJSF/templates/Description.d.ts +0 -3
  27. package/dist/Common/RJSF/templates/Field.d.ts +0 -3
  28. package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +0 -3
  29. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +0 -3
  30. package/dist/Common/RJSF/templates/TitleField.d.ts +0 -3
  31. package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +0 -3
  32. package/dist/Common/RJSF/templates/index.d.ts +0 -10
  33. package/dist/Common/RJSF/types.d.ts +0 -3
  34. package/dist/Common/RJSF/utils.d.ts +0 -14
  35. package/dist/Common/RJSF/widgets/Checkbox.d.ts +0 -3
  36. package/dist/Common/RJSF/widgets/Select.d.ts +0 -3
  37. package/dist/Common/RJSF/widgets/index.d.ts +0 -2
  38. package/src/Assets/Icon/ic-chevron-down.svg +0 -5
  39. package/src/Common/RJSF/Form.tsx +0 -29
  40. package/src/Common/RJSF/common/FieldRow.tsx +0 -31
  41. package/src/Common/RJSF/common/types.ts +0 -9
  42. package/src/Common/RJSF/config.ts +0 -37
  43. package/src/Common/RJSF/constants.ts +0 -5
  44. package/src/Common/RJSF/index.ts +0 -2
  45. package/src/Common/RJSF/rjsfForm.scss +0 -17
  46. package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -33
  47. package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -77
  48. package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
  49. package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
  50. package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
  51. package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
  52. package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
  53. package/src/Common/RJSF/templates/Description.tsx +0 -12
  54. package/src/Common/RJSF/templates/Field.tsx +0 -30
  55. package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
  56. package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -96
  57. package/src/Common/RJSF/templates/TitleField.tsx +0 -9
  58. package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
  59. package/src/Common/RJSF/templates/index.ts +0 -10
  60. package/src/Common/RJSF/types.ts +0 -4
  61. package/src/Common/RJSF/utils.ts +0 -59
  62. package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
  63. package/src/Common/RJSF/widgets/Select.tsx +0 -76
  64. package/src/Common/RJSF/widgets/index.ts +0 -2
@@ -12,4 +12,4 @@ import { DebouncedSearchProps } from './Types';
12
12
  * @param clearSearch - (Optional) To clear the search text
13
13
  * @param showClearIcon - (Optional) To show the clear icon default value is true
14
14
  */
15
- export default function DebouncedSearch({ onSearch, Icon, children, placeholder, containerClass, iconClass, inputClass, debounceTimeout, clearSearch, showClearIcon, }: DebouncedSearchProps): JSX.Element;
15
+ export default function DebouncedSearch({ onSearch, Icon, children, placeholder, containerClass, iconClass, inputClass, debounceTimeout, clearSearch, showClearIcon, autoFocus, }: DebouncedSearchProps): JSX.Element;
@@ -10,4 +10,5 @@ export interface DebouncedSearchProps {
10
10
  debounceTimeout?: number;
11
11
  clearSearch?: boolean;
12
12
  showClearIcon?: boolean;
13
+ autoFocus?: boolean;
13
14
  }
@@ -52,11 +52,4 @@ export declare const closeOnEscKeyPressed: (e: any, actionClose: () => void) =>
52
52
  export declare function copyToClipboard(str: any, callback?: typeof noop): void;
53
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[]];
54
54
  export declare const processDeployedTime: (lastDeployed: any, isArgoInstalled: any) => string;
55
- /**
56
- * Appends search parameters to the url as a query string
57
- *
58
- * @param url URL to which the search params needs to be added
59
- * @param params Object for the search parameters
60
- */
61
- export declare const getUrlWithSearchParams: (url: string, params: Record<string | number, any>) => string;
62
55
  export {};
@@ -272,7 +272,7 @@ export interface CommonNodeAttr {
272
272
  isGitSource: boolean;
273
273
  isRoot: boolean;
274
274
  downstreams: string[];
275
- type: 'CI' | 'GIT' | 'PRECD' | 'CD' | 'POSTCD' | 'WEBHOOK';
275
+ type: 'CI' | 'GIT' | 'PRECD' | 'CD' | 'POSTCD' | 'WEBHOOK' | 'LINKED_CD';
276
276
  parentCiPipeline?: number;
277
277
  parentAppId?: number;
278
278
  url?: string;
@@ -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';