@devtron-labs/devtron-fe-common-lib 0.0.84-beta-8 → 0.0.84-beta-9

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 (27) hide show
  1. package/dist/Common/Types.d.ts +2 -1
  2. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +3 -0
  3. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +4 -0
  4. package/dist/Shared/Components/FeatureDescription/constant.d.ts +8 -0
  5. package/dist/Shared/Components/FeatureDescription/index.d.ts +2 -0
  6. package/dist/Shared/Components/FeatureDescription/types.d.ts +19 -0
  7. package/dist/Shared/Components/FeatureDescription/utils.d.ts +6 -0
  8. package/dist/Shared/Components/index.d.ts +1 -0
  9. package/dist/assets/index.css +1 -1
  10. package/dist/{cssMode-6a1f7423.js → cssMode-0b9bfc9f.js} +1 -1
  11. package/dist/{freemarker2-9760ca6d.js → freemarker2-5de347ba.js} +1 -1
  12. package/dist/{handlebars-9eedc82a.js → handlebars-af8f33ee.js} +1 -1
  13. package/dist/{html-b1cc5f95.js → html-0939bbb6.js} +1 -1
  14. package/dist/{htmlMode-ccd66896.js → htmlMode-309b91b1.js} +1 -1
  15. package/dist/{index-ac6c66a9.js → index-5831099d.js} +11507 -11398
  16. package/dist/index.js +239 -237
  17. package/dist/{javascript-7725d02c.js → javascript-c3645fc5.js} +1 -1
  18. package/dist/{jsonMode-b05959fb.js → jsonMode-905ac179.js} +1 -1
  19. package/dist/{liquid-45c43981.js → liquid-f883d096.js} +1 -1
  20. package/dist/{mdx-cb86fc8b.js → mdx-811da448.js} +1 -1
  21. package/dist/{python-f607d204.js → python-8428342d.js} +1 -1
  22. package/dist/{razor-6d5ed9ce.js → razor-faeb52f1.js} +1 -1
  23. package/dist/{tsMode-b1270315.js → tsMode-42ec339f.js} +1 -1
  24. package/dist/{typescript-f3fdaa7d.js → typescript-31e77327.js} +1 -1
  25. package/dist/{xml-1ad0105a.js → xml-b2b2cc7a.js} +1 -1
  26. package/dist/{yaml-a6d99078.js → yaml-2b3fd70f.js} +1 -1
  27. package/package.json +1 -1
@@ -140,7 +140,8 @@ export interface ErrorScreenNotAuthorizedProps {
140
140
  }
141
141
  export declare enum ImageType {
142
142
  Large = "large",
143
- Medium = "medium"
143
+ Medium = "medium",
144
+ SMALL = "small"
144
145
  }
145
146
  export interface InfoColourBarType {
146
147
  message: React.ReactNode;
@@ -0,0 +1,3 @@
1
+ import { FeatureDescriptionModalProps } from './types';
2
+
3
+ export declare const FeatureDescriptionModal: ({ title, renderDescriptionContent, closeModalText, docLink, closeModal, imageVariant, SVGImage, imageStyles, }: FeatureDescriptionModalProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { DescriptorProps } from './types';
2
+
3
+ declare const FeatureTitleWithInfo: ({ additionalContainerClasses, breadCrumbs, children, iconClassName, title, renderDescriptionContent, closeModalText, docLink, SVGImage, }: DescriptorProps) => JSX.Element;
4
+ export default FeatureTitleWithInfo;
@@ -0,0 +1,8 @@
1
+ export declare enum BUTTON_TEXT {
2
+ GOT_IT = "Got it",
3
+ VIEW_DOCUMENTATION = "View Documentation"
4
+ }
5
+ export declare enum IMAGE_VARIANT {
6
+ SMALL = "small",
7
+ LARGE = "large"
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FeatureDescriptionModal';
2
+ export { default as FeatureTitleWithInfo } from './FeatureTitleWithInfo';
@@ -0,0 +1,19 @@
1
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
2
+ import { ImageType } from '../../../Common';
3
+
4
+ export interface FeatureDescriptionModalProps {
5
+ title: string;
6
+ renderDescriptionContent?: () => JSX.Element;
7
+ closeModalText?: string;
8
+ docLink?: string;
9
+ closeModal?: () => void;
10
+ imageVariant?: ImageType;
11
+ SVGImage?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
12
+ imageStyles?: React.CSSProperties;
13
+ }
14
+ export interface DescriptorProps extends FeatureDescriptionModalProps {
15
+ breadCrumbs: Breadcrumb[];
16
+ additionalContainerClasses?: string;
17
+ iconClassName?: string;
18
+ children?: React.ReactNode;
19
+ }
@@ -0,0 +1,6 @@
1
+ import { ImageType } from '../../../Common';
2
+
3
+ export declare const getImageSize: (imageType: ImageType) => {
4
+ width: string;
5
+ height: string;
6
+ };
@@ -19,3 +19,4 @@ export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
20
  export * from './ModalSidebarPanel';
21
21
  export * from './ImageWithFallback';
22
+ export * from './FeatureDescription';