@devtron-labs/devtron-fe-common-lib 0.0.91 → 0.0.92-beta-2

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 (26) hide show
  1. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +1 -1
  2. package/dist/Common/Types.d.ts +6 -0
  3. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +4 -0
  4. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +4 -0
  5. package/dist/Shared/Components/IframeContainer/index.d.ts +1 -0
  6. package/dist/Shared/Components/IframeContainer/types.d.ts +15 -0
  7. package/dist/Shared/Components/index.d.ts +1 -0
  8. package/dist/assets/index.css +1 -1
  9. package/dist/{cssMode-c8f8c088.js → cssMode-85666277.js} +1 -1
  10. package/dist/{freemarker2-e27b3168.js → freemarker2-d14f3757.js} +1 -1
  11. package/dist/{handlebars-5a235a76.js → handlebars-2b941877.js} +1 -1
  12. package/dist/{html-6ec39546.js → html-b78575b9.js} +1 -1
  13. package/dist/{htmlMode-c5add57a.js → htmlMode-c293acb4.js} +1 -1
  14. package/dist/{index-9e5cc476.js → index-a88e034a.js} +7155 -7080
  15. package/dist/index.js +282 -281
  16. package/dist/{javascript-f6830def.js → javascript-9732c945.js} +1 -1
  17. package/dist/{jsonMode-696a7805.js → jsonMode-cbd86d48.js} +1 -1
  18. package/dist/{liquid-19f79b7d.js → liquid-5277e511.js} +1 -1
  19. package/dist/{mdx-2caf6026.js → mdx-6273e5a6.js} +1 -1
  20. package/dist/{python-580482d9.js → python-aac0aa6c.js} +1 -1
  21. package/dist/{razor-142c853f.js → razor-803ac678.js} +1 -1
  22. package/dist/{tsMode-79ec4084.js → tsMode-b0cb8d42.js} +1 -1
  23. package/dist/{typescript-35ea705c.js → typescript-dd808c1c.js} +1 -1
  24. package/dist/{xml-6ddcbb18.js → xml-15f84b29.js} +1 -1
  25. package/dist/{yaml-055d6e1d.js → yaml-c7bbff0a.js} +1 -1
  26. 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;
@@ -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 { IframeContainerProps } from './types';
2
+
3
+ declare const IframeContainer: ({ iframeList, maxHeight, maxWidth }: IframeContainerProps) => JSX.Element;
4
+ export default IframeContainer;
@@ -0,0 +1,4 @@
1
+ import { IframeElementProps } from './types';
2
+
3
+ declare const IframeElement: ({ URL, width, height, title, maxHeight, maxWidth }: IframeElementProps) => JSX.Element;
4
+ export default IframeElement;
@@ -0,0 +1 @@
1
+ export { default as IframeContainer } from './IframeContainer.component';
@@ -0,0 +1,15 @@
1
+ interface IframeData {
2
+ URL: string;
3
+ width: number;
4
+ height: number;
5
+ title: string;
6
+ order?: number;
7
+ }
8
+ export interface IframeContainerProps {
9
+ iframeList: IframeData[];
10
+ maxHeight?: number;
11
+ maxWidth?: number;
12
+ }
13
+ export interface IframeElementProps extends Pick<IframeData, 'URL' | 'width' | 'height' | 'title'>, Pick<IframeContainerProps, 'maxHeight' | 'maxWidth'> {
14
+ }
15
+ export {};
@@ -23,3 +23,4 @@ export * from './FeatureDescription';
23
23
  export * from './CICDHistory';
24
24
  export * from './GitCommitInfoGeneric';
25
25
  export * from './Error';
26
+ export * from './IframeContainer';