@devtron-labs/devtron-fe-common-lib 0.0.87-beta-1 → 0.0.87-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.
- package/dist/Common/Dialogs/Types.d.ts +2 -17
- package/dist/Common/EmptyState/GenericFilterEmptyState.d.ts +2 -5
- package/dist/Common/Hooks/useStateFilters/types.d.ts +1 -1
- package/dist/Common/Modals/Modal.d.ts +0 -3
- package/dist/Common/Modals/OpaqueModal.d.ts +0 -3
- package/dist/Common/Modals/VisibleModal.d.ts +1 -2
- package/dist/Common/Modals/VisibleModal2.d.ts +1 -2
- package/dist/Common/PopupMenu.d.ts +1 -1
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +2 -1
- package/dist/Common/Types.d.ts +1 -3
- package/dist/Shared/Components/index.d.ts +0 -3
- package/dist/Shared/Helpers.d.ts +0 -2
- package/dist/Shared/constants.d.ts +0 -4
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +1 -40
- package/dist/Shared/validations.d.ts +0 -4
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-520db43c.js → cssMode-e1275276.js} +1 -1
- package/dist/{freemarker2-8102ab8d.js → freemarker2-fa2f7113.js} +1 -1
- package/dist/{handlebars-48b54c55.js → handlebars-85ed6740.js} +1 -1
- package/dist/{html-57fe72de.js → html-61d0544d.js} +1 -1
- package/dist/{htmlMode-fad88102.js → htmlMode-f69289be.js} +1 -1
- package/dist/{index-ed2ecc9f.js → index-f6b30bb1.js} +17459 -17689
- package/dist/index.js +340 -351
- package/dist/{javascript-095bc45f.js → javascript-34ff696a.js} +1 -1
- package/dist/{jsonMode-53b436a9.js → jsonMode-d446e1a9.js} +1 -1
- package/dist/{liquid-e4152333.js → liquid-5280c43f.js} +1 -1
- package/dist/{mdx-9b3781e3.js → mdx-95d148b5.js} +1 -1
- package/dist/{python-ab53c9a3.js → python-e40dac06.js} +1 -1
- package/dist/{razor-4edb4a7d.js → razor-25ceb9a2.js} +1 -1
- package/dist/{tsMode-42e8d846.js → tsMode-cf703a51.js} +1 -1
- package/dist/{typescript-1e5018b9.js → typescript-e200c00a.js} +1 -1
- package/dist/{xml-c55b1b7f.js → xml-80f57f2b.js} +1 -1
- package/dist/{yaml-bb2d8678.js → yaml-44fe8e48.js} +1 -1
- package/package.json +1 -1
- package/dist/Common/EmptyState/types.d.ts +0 -13
- package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +0 -3
- package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +0 -4
- package/dist/Shared/Components/FeatureDescription/constant.d.ts +0 -8
- package/dist/Shared/Components/FeatureDescription/index.d.ts +0 -2
- package/dist/Shared/Components/FeatureDescription/types.d.ts +0 -19
- package/dist/Shared/Components/FeatureDescription/utils.d.ts +0 -6
- package/dist/Shared/Components/ImageWithFallback/ImageWithFallback.component.d.ts +0 -4
- package/dist/Shared/Components/ImageWithFallback/index.d.ts +0 -2
- package/dist/Shared/Components/ImageWithFallback/types.d.ts +0 -12
- package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +0 -4
- package/dist/Shared/Components/ModalSidebarPanel/index.d.ts +0 -2
- package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +0 -9
- package/dist/Shared/Services/common.service.d.ts +0 -3
- package/dist/Shared/Services/index.d.ts +0 -2
- package/dist/Shared/Services/types.d.ts +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-e200c00a.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-
|
|
4
|
+
import { m as Ze } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as d } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as d } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as a } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as s } from "./index-f6b30bb1.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-
|
|
4
|
+
import { t as K, m as E } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as a } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m } from "./index-f6b30bb1.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-
|
|
1
|
+
import { m as i } from "./index-f6b30bb1.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GenericEmptyStateType } from '../Types';
|
|
2
|
-
|
|
3
|
-
export type GenericFilterEmptyStateProps = Omit<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'isButtonAvailable' | 'renderButton'> & Partial<Pick<GenericEmptyStateType, 'title' | 'subTitle'>> & ({
|
|
4
|
-
/**
|
|
5
|
-
* If provided, it will have priority over the isButtonAvailable prop
|
|
6
|
-
* and render clear filter button
|
|
7
|
-
*/
|
|
8
|
-
handleClearFilters?: () => void;
|
|
9
|
-
isButtonAvailable?: never;
|
|
10
|
-
renderButton?: never;
|
|
11
|
-
} | (Pick<GenericEmptyStateType, 'isButtonAvailable' | 'renderButton'> & {
|
|
12
|
-
handleClearFilters?: never;
|
|
13
|
-
}));
|
|
@@ -1,4 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ImgHTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface ImageWithFallbackProps {
|
|
4
|
-
/**
|
|
5
|
-
* Props for the image
|
|
6
|
-
*/
|
|
7
|
-
imageProps: ImgHTMLAttributes<HTMLImageElement>;
|
|
8
|
-
/**
|
|
9
|
-
* Fallback image; can be a url or a jsx element
|
|
10
|
-
*/
|
|
11
|
-
fallbackImage: string | JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ResourceKindType, ResourceVersionType } from '../types';
|
|
2
|
-
import { getUrlWithSearchParams } from '../../Common';
|
|
3
|
-
|
|
4
|
-
export interface ClusterType {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
}
|
|
8
|
-
export interface GetResourceApiUrlProps<T> {
|
|
9
|
-
baseUrl: string;
|
|
10
|
-
kind: ResourceKindType;
|
|
11
|
-
version: ResourceVersionType;
|
|
12
|
-
queryParams?: T extends Parameters<typeof getUrlWithSearchParams>[1] ? T : never;
|
|
13
|
-
}
|