@devtron-labs/devtron-fe-common-lib 0.2.2-beta-9 → 0.2.2-beta-11

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 (53) hide show
  1. package/dist/Common/Api.d.ts +5 -5
  2. package/dist/Common/CIPipeline.Types.d.ts +1 -4
  3. package/dist/Common/Constants.d.ts +0 -2
  4. package/dist/Common/CustomInput/Types.d.ts +2 -2
  5. package/dist/Common/Modals/VisibleModal.d.ts +1 -1
  6. package/dist/Common/Modals/VisibleModal2.d.ts +1 -1
  7. package/dist/Common/MultiSelectCustomization.d.ts +1 -1
  8. package/dist/Common/Types.d.ts +2 -2
  9. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  10. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  11. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  12. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  13. package/dist/Shared/Components/CICDHistory/types.d.ts +18 -17
  14. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  15. package/dist/Shared/Components/CommitChipCell/types.d.ts +1 -1
  16. package/dist/Shared/Components/DetectBottom/DetectBottom.component.d.ts +1 -2
  17. package/dist/Shared/Components/Header/types.d.ts +12 -1
  18. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  19. package/dist/Shared/Components/ImageChipCell/types.d.ts +13 -5
  20. package/dist/Shared/Components/Plugin/service.d.ts +2 -4
  21. package/dist/Shared/Components/Plugin/types.d.ts +3 -11
  22. package/dist/Shared/Components/Plugin/utils.d.ts +0 -3
  23. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  24. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -10
  25. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -2
  26. package/dist/Shared/Components/ShowMoreText/index.d.ts +1 -0
  27. package/dist/Shared/Components/index.d.ts +1 -1
  28. package/dist/Shared/Helpers.d.ts +5 -0
  29. package/dist/Shared/constants.d.ts +6 -1
  30. package/dist/Shared/validations.d.ts +0 -11
  31. package/dist/assets/index.css +1 -1
  32. package/dist/{cssMode-b7a40cfa.js → cssMode-0028fa14.js} +1 -1
  33. package/dist/{freemarker2-ff0a7c06.js → freemarker2-2c7ec1fb.js} +1 -1
  34. package/dist/{handlebars-0b7a7efd.js → handlebars-d486aa29.js} +1 -1
  35. package/dist/{html-feeb68bd.js → html-eb782e29.js} +1 -1
  36. package/dist/{htmlMode-bcac9443.js → htmlMode-e1cadb6f.js} +1 -1
  37. package/dist/{index-79eaedd6.js → index-57f3da81.js} +22695 -22839
  38. package/dist/index.js +368 -371
  39. package/dist/{javascript-d16fe14e.js → javascript-dbde4507.js} +1 -1
  40. package/dist/{jsonMode-74be8d73.js → jsonMode-4bee3605.js} +1 -1
  41. package/dist/{liquid-78dc826f.js → liquid-a4890a90.js} +1 -1
  42. package/dist/{mdx-927038f2.js → mdx-dfe0010d.js} +1 -1
  43. package/dist/{python-1d5b3ab0.js → python-c71cb2c5.js} +1 -1
  44. package/dist/{razor-9f3bc729.js → razor-d235fdb9.js} +1 -1
  45. package/dist/{tsMode-3f0ed0a8.js → tsMode-2016574b.js} +1 -1
  46. package/dist/{typescript-b8689929.js → typescript-2b0c093b.js} +1 -1
  47. package/dist/{xml-26b71a9d.js → xml-fb0eedd2.js} +1 -1
  48. package/dist/{yaml-acff597f.js → yaml-22a81b1c.js} +1 -1
  49. package/package.json +1 -1
  50. package/dist/Shared/Components/EditImageFormField/EditImageFormField.d.ts +0 -19
  51. package/dist/Shared/Components/EditImageFormField/constants.d.ts +0 -7
  52. package/dist/Shared/Components/EditImageFormField/index.d.ts +0 -2
  53. package/dist/Shared/Components/EditImageFormField/types.d.ts +0 -41
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-b8689929.js";
1
+ import { conf as t, language as e } from "./typescript-2b0c093b.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 Ge = Object.defineProperty;
2
2
  var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ze } from "./index-79eaedd6.js";
4
+ import { m as Ze } from "./index-57f3da81.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 d } from "./index-79eaedd6.js";
1
+ import { m as d } from "./index-57f3da81.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-79eaedd6.js";
1
+ import { m as d } from "./index-57f3da81.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 a } from "./index-79eaedd6.js";
1
+ import { m as a } from "./index-57f3da81.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 s } from "./index-79eaedd6.js";
1
+ import { m as s } from "./index-57f3da81.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 M = Object.defineProperty;
2
2
  var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { t as K, m as E } from "./index-79eaedd6.js";
4
+ import { t as K, m as E } from "./index-57f3da81.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 a } from "./index-79eaedd6.js";
1
+ import { m as a } from "./index-57f3da81.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 } from "./index-79eaedd6.js";
1
+ import { m } from "./index-57f3da81.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-79eaedd6.js";
1
+ import { m as i } from "./index-57f3da81.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.2.2-beta-9",
3
+ "version": "0.2.2-beta-11",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,19 +0,0 @@
1
- import { EditImageFormFieldProps } from './types';
2
-
3
- /**
4
- * @example
5
- * ```tsx
6
- * <EditImageFormField
7
- * url={icon}
8
- * defaultIcon={<ICSampleIcon className="w-100 h-100 dc__opacity-1 p-5" />}
9
- * errorMessage={formError.icon}
10
- * handleError={handleError}
11
- * handleURLChange={handleURLChange}
12
- * ariaLabelPrefix="Edit icon url"
13
- * dataTestIdPrefix="edit-icon-url"
14
- * altText="Form icon"
15
- * />
16
- * ```
17
- */
18
- declare const EditImageFormField: ({ defaultIcon, errorMessage, handleError, url, handleURLChange, ariaLabelPrefix, dataTestIdPrefix, altText, }: EditImageFormFieldProps) => JSX.Element;
19
- export default EditImageFormField;
@@ -1,7 +0,0 @@
1
- export declare const DEFAULT_MAX_IMAGE_SIZE: number;
2
- export declare const DEFAULT_IMAGE_DIMENSIONS: {
3
- readonly width: 72;
4
- readonly height: 72;
5
- };
6
- export declare const EMPTY_PREVIEW_URL_ERROR_MESSAGE = "Please provide image URL to preview";
7
- export declare const BASE_IMAGE_CLASS = "edit-image-form-field__figure-container--base-image";
@@ -1,2 +0,0 @@
1
- export { default as EditImageFormField } from './EditImageFormField';
2
- export * from './types';
@@ -1,41 +0,0 @@
1
- import { ReactElement } from 'react';
2
-
3
- export interface EditImageFormFieldProps {
4
- /**
5
- * Fallback icon to be shown when image is not available
6
- */
7
- defaultIcon: ReactElement;
8
- /**
9
- * Would be shown below input, there are two types of error messages:
10
- * External - Error message handled from state above and would propagate to parent through handleError
11
- * Internal - Error message handled internally and would not propagate to parent, like empty preview URL
12
- */
13
- errorMessage: string;
14
- /**
15
- * Would be called when there is an error in the image URL during handleChange or handlePreviewImage
16
- */
17
- handleError: (error: string) => void;
18
- /**
19
- * The current value of input field
20
- */
21
- url: string;
22
- /**
23
- * Would be called when the URL is changed in the input field
24
- */
25
- handleURLChange: (url: string) => void;
26
- /**
27
- * The alt text for the image
28
- */
29
- altText: string;
30
- /**
31
- * Prefix for aria-label
32
- */
33
- ariaLabelPrefix: string;
34
- /**
35
- * Prefix for data-testid
36
- */
37
- dataTestIdPrefix: string;
38
- }
39
- export interface FallbackImageProps extends Pick<EditImageFormFieldProps, 'defaultIcon'> {
40
- showEditIcon: boolean;
41
- }