@devtron-labs/devtron-fe-common-lib 0.0.92-beta-3 → 0.0.93-beta-1

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/Common/InfoColorBar/InfoColourbar.d.ts +1 -1
  2. package/dist/Common/Reload.d.ts +3 -0
  3. package/dist/Common/Types.d.ts +6 -0
  4. package/dist/Shared/Components/CommitChipCell/CommitChipCell.d.ts +4 -0
  5. package/dist/Shared/Components/CommitChipCell/index.d.ts +2 -0
  6. package/dist/Shared/Components/CommitChipCell/types.d.ts +6 -0
  7. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +4 -0
  8. package/dist/Shared/Components/ImageChipCell/index.d.ts +2 -0
  9. package/dist/Shared/Components/ImageChipCell/types.d.ts +8 -0
  10. package/dist/Shared/Components/index.d.ts +2 -0
  11. package/dist/assets/index.css +1 -1
  12. package/dist/{cssMode-c12fc82c.js → cssMode-1ce3dbd2.js} +1 -1
  13. package/dist/{freemarker2-13bcce02.js → freemarker2-60d90890.js} +1 -1
  14. package/dist/{handlebars-9d5b4ddd.js → handlebars-afd0a44e.js} +1 -1
  15. package/dist/{html-a33e70ef.js → html-18107bf7.js} +1 -1
  16. package/dist/{htmlMode-dccacf10.js → htmlMode-0f769544.js} +1 -1
  17. package/dist/{index-ddb64f30.js → index-d9e06804.js} +7065 -7033
  18. package/dist/index.js +357 -355
  19. package/dist/{javascript-aaaf29e8.js → javascript-94f3d1e9.js} +1 -1
  20. package/dist/{jsonMode-da2c663f.js → jsonMode-47e65050.js} +1 -1
  21. package/dist/{liquid-c0e3c2ae.js → liquid-adf95f3b.js} +1 -1
  22. package/dist/{mdx-85529d5b.js → mdx-09a48323.js} +1 -1
  23. package/dist/{python-c77c170d.js → python-34dbb55a.js} +1 -1
  24. package/dist/{razor-ca39ff37.js → razor-c2b2d76e.js} +1 -1
  25. package/dist/{tsMode-139e075c.js → tsMode-5b8059ef.js} +1 -1
  26. package/dist/{typescript-cab8c9fe.js → typescript-e97a24eb.js} +1 -1
  27. package/dist/{xml-8627e817.js → xml-c8f86fd4.js} +1 -1
  28. package/dist/{yaml-71329abe.js → yaml-ac3ad4f0.js} +1 -1
  29. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  import { InfoColourBarType } from '../Types';
2
2
 
3
- declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, }: InfoColourBarType) => JSX.Element;
3
+ declare const InfoColourBar: ({ message, classname, Icon, iconClass, iconSize, renderActionButton, linkText, redirectLink, linkOnClick, linkClass, internalLink, styles, hideIcon }: InfoColourBarType) => JSX.Element;
4
4
  export default InfoColourBar;
@@ -1,3 +1,6 @@
1
1
  import { ReloadType } from './Types';
2
2
 
3
+ /**
4
+ * @deprecated Use APIResponseHandler (Preferred) or error screen manager instead
5
+ */
3
6
  export default function Reload({ reload, className, heightToDeduct }: ReloadType): JSX.Element;
@@ -156,6 +156,12 @@ export interface InfoColourBarType {
156
156
  linkClass?: string;
157
157
  internalLink?: boolean;
158
158
  styles?: CSSProperties;
159
+ /**
160
+ * If true, the icon is not shown
161
+ *
162
+ * @default false
163
+ */
164
+ hideIcon?: boolean;
159
165
  }
160
166
  export interface ReloadType {
161
167
  reload?: (event?: any) => void;
@@ -0,0 +1,4 @@
1
+ import { CommitChipCellProps } from './types';
2
+
3
+ declare const CommitChipCell: ({ handleClick, commits }: CommitChipCellProps) => JSX.Element;
4
+ export default CommitChipCell;
@@ -0,0 +1,2 @@
1
+ export { default as CommitChipCell } from './CommitChipCell';
2
+ export type { CommitChipCellProps } from './types';
@@ -0,0 +1,6 @@
1
+ import { SyntheticEvent } from 'react';
2
+
3
+ export interface CommitChipCellProps {
4
+ handleClick: (e: SyntheticEvent) => void;
5
+ commits?: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ import { ImageChipCellProps } from './types';
2
+
3
+ declare const ImageChipCell: ({ handleClick, imagePath, isExpanded, registryType }: ImageChipCellProps) => JSX.Element;
4
+ export default ImageChipCell;
@@ -0,0 +1,2 @@
1
+ export { default as ImageChipCell } from './ImageChipCell.component';
2
+ export type { ImageChipCellProps } from './types';
@@ -0,0 +1,8 @@
1
+ import { RegistryType } from '../../types';
2
+
3
+ export interface ImageChipCellProps {
4
+ handleClick: () => void;
5
+ imagePath: string;
6
+ isExpanded: boolean;
7
+ registryType: RegistryType;
8
+ }
@@ -23,3 +23,5 @@ export * from './FeatureDescription';
23
23
  export * from './CICDHistory';
24
24
  export * from './GitCommitInfoGeneric';
25
25
  export * from './Error';
26
+ export * from './CommitChipCell';
27
+ export * from './ImageChipCell';