@devtron-labs/devtron-fe-common-lib 0.2.30-beta-6 → 0.2.30-beta-7
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/ToastBody.d.ts +1 -1
- package/dist/Shared/Components/Button/Button.component.d.ts +1 -6
- package/dist/Shared/Components/Button/constants.d.ts +2 -3
- package/dist/Shared/Components/Button/types.d.ts +12 -29
- package/dist/Shared/Components/Button/utils.d.ts +1 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/{types.d.ts → DeploymentConfigDiff.types.d.ts} +25 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +9 -8
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +7 -1
- package/dist/Shared/Services/index.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-DQPvX6WA.js → cssMode-BCEpnc02.js} +1 -1
- package/dist/{freemarker2-Cqx3jh8_.js → freemarker2-DVqcQFKp.js} +1 -1
- package/dist/{handlebars-qhVK7Esl.js → handlebars-DP_0uzK3.js} +1 -1
- package/dist/{html-LWZpU5u-.js → html-BjUwwz2c.js} +1 -1
- package/dist/{htmlMode-Br1syShc.js → htmlMode-BocUOaqt.js} +1 -1
- package/dist/{index-tPq9KYPX.js → index-BR5G-Mf-.js} +26824 -26414
- package/dist/index.js +253 -256
- package/dist/{javascript-B2hqgMOY.js → javascript-epazfgBc.js} +1 -1
- package/dist/{jsonMode-MEnWzgUn.js → jsonMode-CtYbz6nJ.js} +1 -1
- package/dist/{liquid-Cztb6P_b.js → liquid-Dza2ANMp.js} +1 -1
- package/dist/{mdx-D55XgpGS.js → mdx-Bl3Q1Iyd.js} +1 -1
- package/dist/{python-DtdYk-3U.js → python-r5yRTvRk.js} +1 -1
- package/dist/{razor-DBFvP--s.js → razor-BuOpQ7DZ.js} +1 -1
- package/dist/{tsMode-BJdhxSoK.js → tsMode-DxOenuaL.js} +1 -1
- package/dist/{typescript-uc8mQLon.js → typescript-D6ou0yS6.js} +1 -1
- package/dist/{xml-BHy7FhMh.js → xml-DBH0BN9e.js} +1 -1
- package/dist/{yaml-DLq0JKxC.js → yaml-DcwU4AZK.js} +1 -1
- package/package.json +2 -2
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +0 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +0 -4
- package/dist/Shared/Services/ToastManager/index.d.ts +0 -3
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +0 -10
- package/dist/Shared/Services/ToastManager/types.d.ts +0 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m } from "./index-
|
|
1
|
+
import { m } from "./index-BR5G-Mf-.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 N = Object.defineProperty;
|
|
2
2
|
var M = (e, t, r) => t in e ? N(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var _ = (e, t, r) => M(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { t as R, m as K } from "./index-
|
|
4
|
+
import { t as R, m as K } from "./index-BR5G-Mf-.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 s } from "./index-
|
|
1
|
+
import { m as s } from "./index-BR5G-Mf-.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 r } from "./index-
|
|
1
|
+
import { m as r } from "./index-BR5G-Mf-.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 l } from "./index-
|
|
1
|
+
import { m as l } from "./index-BR5G-Mf-.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
|
3
|
-
"version": "0.2.30-beta-
|
|
3
|
+
"version": "0.2.30-beta-7",
|
|
4
4
|
"description": "Supporting common component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"prettier": "^3.1.1",
|
|
65
65
|
"react-ga4": "^1.4.1",
|
|
66
66
|
"react-mde": "^11.5.0",
|
|
67
|
-
"react-toastify": "
|
|
67
|
+
"react-toastify": "^8.2.0",
|
|
68
68
|
"typescript": "5.5.4",
|
|
69
69
|
"vite": "5.4.2",
|
|
70
70
|
"vite-plugin-dts": "4.0.3",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ToastOptions, ToastContainerProps } from 'react-toastify';
|
|
2
|
-
import { ToastProps, ToastVariantType } from './types';
|
|
3
|
-
export declare const TOAST_BASE_CONFIG: ToastContainerProps;
|
|
4
|
-
export declare const TOAST_VARIANT_TO_CONFIG_MAP: Record<ToastVariantType, Required<Pick<ToastProps, 'icon' | 'title' | 'progressBarBg'>> & Pick<ToastOptions, 'type'>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ToastOptions } from 'react-toastify';
|
|
2
|
-
import { ToastProps } from './types';
|
|
3
|
-
declare class ToastManager {
|
|
4
|
-
#private;
|
|
5
|
-
static get instance(): ToastManager;
|
|
6
|
-
showToast: ({ variant, icon: customIcon, title, description, buttonProps, progressBarBg: customProgressBarBg, }: ToastProps, options?: Pick<ToastOptions, "autoClose">) => import('react-toastify').Id;
|
|
7
|
-
}
|
|
8
|
-
export declare const ToastManagerContainer: () => JSX.Element;
|
|
9
|
-
declare const _default: ToastManager;
|
|
10
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../Components';
|
|
2
|
-
import { ReactElement } from 'react';
|
|
3
|
-
export declare enum ToastVariantType {
|
|
4
|
-
info = "info",
|
|
5
|
-
success = "success",
|
|
6
|
-
error = "error",
|
|
7
|
-
warn = "warn",
|
|
8
|
-
notAuthorized = "notAuthorized"
|
|
9
|
-
}
|
|
10
|
-
export interface ToastProps {
|
|
11
|
-
title?: string;
|
|
12
|
-
description: string;
|
|
13
|
-
icon?: ReactElement;
|
|
14
|
-
variant?: ToastVariantType;
|
|
15
|
-
buttonProps?: ButtonProps;
|
|
16
|
-
progressBarBg?: `var(--${string})`;
|
|
17
|
-
}
|