@devtron-labs/devtron-fe-common-lib 0.1.7-beta-2 → 0.1.7-beta-3

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 (29) hide show
  1. package/dist/Shared/Components/index.d.ts +0 -1
  2. package/dist/Shared/Hooks/UseDownload/UseDownload.d.ts +14 -0
  3. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -0
  4. package/dist/Shared/Hooks/UseDownload/service.d.ts +1 -0
  5. package/dist/Shared/Hooks/index.d.ts +1 -0
  6. package/dist/Shared/constants.d.ts +0 -8
  7. package/dist/{cssMode-24971faa.js → cssMode-42832427.js} +1 -1
  8. package/dist/{freemarker2-2f506bf9.js → freemarker2-3a91cd3d.js} +1 -1
  9. package/dist/{handlebars-704be48e.js → handlebars-bde517a2.js} +1 -1
  10. package/dist/{html-e64f9cf8.js → html-e99016ba.js} +1 -1
  11. package/dist/{htmlMode-0bf0510a.js → htmlMode-3b2be547.js} +1 -1
  12. package/dist/{index-0117514b.js → index-cbd14e6e.js} +18463 -18702
  13. package/dist/index.js +389 -390
  14. package/dist/{javascript-d97fb954.js → javascript-87b778a4.js} +1 -1
  15. package/dist/{jsonMode-b051cf88.js → jsonMode-f35b6b83.js} +1 -1
  16. package/dist/{liquid-9326ab12.js → liquid-facbd311.js} +1 -1
  17. package/dist/{mdx-9bace22d.js → mdx-a661bc2f.js} +1 -1
  18. package/dist/{python-369d66c5.js → python-b54387b8.js} +1 -1
  19. package/dist/{razor-94c0e3af.js → razor-9df070ef.js} +1 -1
  20. package/dist/{tsMode-e4644dfa.js → tsMode-e7a2aabe.js} +1 -1
  21. package/dist/{typescript-626fc7fb.js → typescript-a0d7ba26.js} +1 -1
  22. package/dist/{xml-044e00e2.js → xml-254baa36.js} +1 -1
  23. package/dist/{yaml-546b76b4.js → yaml-65baa83a.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +0 -90
  26. package/dist/Shared/Components/SelectPicker/common.d.ts +0 -10
  27. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -2
  28. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -74
  29. package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -4
@@ -31,4 +31,3 @@ export * from './ArtifactInfoModal';
31
31
  export * from './MaterialHistory';
32
32
  export * from './IframeContainer';
33
33
  export * from './KeyValueTable';
34
- export * from './SelectPicker';
@@ -0,0 +1,14 @@
1
+ export interface HandleDownloadProps {
2
+ downloadUrl: string;
3
+ showFilePreparingToast?: boolean;
4
+ fileName?: string;
5
+ }
6
+ declare const useDownload: () => {
7
+ handleDownload: ({ downloadUrl, showFilePreparingToast, fileName }: {
8
+ downloadUrl: any;
9
+ showFilePreparingToast?: boolean;
10
+ fileName?: string;
11
+ }) => Promise<void>;
12
+ isDownloading: boolean;
13
+ };
14
+ export default useDownload;
@@ -0,0 +1 @@
1
+ export { default as useDownload } from './UseDownload';
@@ -0,0 +1 @@
1
+ export declare const getDownloadResponse: (downloadUrl: string) => Promise<Response>;
@@ -1 +1,2 @@
1
1
  export * from './UsePrompt';
2
+ export * from './UseDownload';
@@ -353,11 +353,3 @@ export declare enum K8sResourcePayloadAppType {
353
353
  HELM_APP = 1,
354
354
  EXTERNAL_ARGO_APP = 2
355
355
  }
356
- /**
357
- * Size variants for components
358
- */
359
- export declare enum ComponentSizeType {
360
- small = "small",
361
- medium = "medium",
362
- large = "large"
363
- }
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-0117514b.js";
4
+ import { m as Ne } from "./index-cbd14e6e.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as F } from "./index-0117514b.js";
1
+ import { m as F } from "./index-cbd14e6e.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-0117514b.js";
1
+ import { m as i } from "./index-cbd14e6e.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-0117514b.js";
1
+ import { m as d } from "./index-cbd14e6e.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-0117514b.js";
4
+ import { m as Qe } from "./index-cbd14e6e.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)