@devtron-labs/devtron-fe-common-lib 0.0.86-beta-17 → 0.0.86-patch-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 (31) hide show
  1. package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
  2. package/dist/Common/RJSF/utils.d.ts +1 -2
  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/Shared/index.d.ts +0 -1
  9. package/dist/assets/index.css +1 -1
  10. package/dist/{cssMode-4c8b1851.js → cssMode-4c770dca.js} +1 -1
  11. package/dist/{freemarker2-3a884ad3.js → freemarker2-afbe626b.js} +1 -1
  12. package/dist/{handlebars-92b27a6c.js → handlebars-95c3703c.js} +1 -1
  13. package/dist/{html-d2c88c3f.js → html-9e5701fc.js} +1 -1
  14. package/dist/{htmlMode-256c12ba.js → htmlMode-d958f783.js} +1 -1
  15. package/dist/{index-5b90e990.js → index-1d3ad3db.js} +10363 -10314
  16. package/dist/index.js +205 -205
  17. package/dist/{javascript-27dd98f0.js → javascript-a3bbe51d.js} +1 -1
  18. package/dist/{jsonMode-3eec2c3e.js → jsonMode-0a06dd04.js} +1 -1
  19. package/dist/{liquid-35a9296f.js → liquid-55147fa0.js} +1 -1
  20. package/dist/{mdx-dbc7d4f1.js → mdx-91847f1b.js} +1 -1
  21. package/dist/{python-473f1b64.js → python-702f06d4.js} +1 -1
  22. package/dist/{razor-598482fc.js → razor-18c762d3.js} +1 -1
  23. package/dist/{tsMode-998ce5b5.js → tsMode-39d77941.js} +1 -1
  24. package/dist/{typescript-80e2d96e.js → typescript-ec47f980.js} +1 -1
  25. package/dist/{xml-9521c196.js → xml-ed3fb45c.js} +1 -1
  26. package/dist/{yaml-1ebacc0d.js → yaml-06727524.js} +1 -1
  27. package/package.json +1 -1
  28. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +0 -8
  29. package/dist/Shared/Hooks/UsePrompt/index.d.ts +0 -1
  30. package/dist/Shared/Hooks/UsePrompt/types.d.ts +0 -6
  31. package/dist/Shared/Hooks/index.d.ts +0 -1
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from '@rjsf/utils';
2
2
 
3
- export declare const AddButton: ({ label, icon, iconType, registry, uiSchema, ...props }: IconButtonProps & Partial<Record<'label', string>>) => JSX.Element;
3
+ export declare const AddButton: ({ icon, iconType, registry, uiSchema, ...props }: IconButtonProps) => JSX.Element;
@@ -12,7 +12,7 @@ export declare const getCommonSelectStyle: (styleOverrides?: {}) => {
12
12
  valueContainer: (base: any, state: any) => any;
13
13
  loadingMessage: (base: any) => any;
14
14
  noOptionsMessage: (base: any) => any;
15
- multiValue: (base: any) => any;
15
+ multiValue: (base: any, state: any) => any;
16
16
  };
17
17
  /**
18
18
  * Returns the redirection props for a url
@@ -24,4 +24,3 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
24
24
  * Infers the type for json schema from value type
25
25
  */
26
26
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
27
- export declare const getTippyWrapperWithContent: (content: any) => (children: any) => JSX.Element;
@@ -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 {};
@@ -17,3 +17,4 @@ export * from './Header';
17
17
  export * from './AnnouncementBanner';
18
18
  export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
+ export * from './IframeContainer';
@@ -5,4 +5,3 @@ export * from './constants';
5
5
  export * from './types';
6
6
  export * from './Providers';
7
7
  export * from './constants';
8
- export * from './Hooks';