@devtron-labs/devtron-fe-common-lib 1.15.3-pre-3 → 1.15.3
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/{@code-editor-BqrKjHnF.js → @code-editor-BSHPw8A0.js} +5687 -5700
- package/dist/{@common-rjsf-BouEdO2I.js → @common-rjsf-CwVuUFdU.js} +6 -6
- package/dist/{@framer-motion-BhKAac90.js → @framer-motion-Bw9QEkUf.js} +20 -20
- package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
- package/dist/{@react-dates-CfRo6n5e.js → @react-dates-D5kydtW-.js} +2140 -2065
- package/dist/{@react-select-DNDV8S9D.js → @react-select-Cmser7OI.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-mXcyQzGx.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
- package/dist/{@vendor-CA9d7Ztm.js → @vendor-STJ9h0oI.js} +20458 -20720
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/index.js +853 -854
- package/package.json +7 -6
- package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
- package/dist/Shared/Components/Badge/index.d.ts +0 -2
- package/dist/Shared/Components/Badge/types.d.ts +0 -18
- package/dist/Shared/Components/Badge/utils.d.ts +0 -7
- package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
3
|
-
"version": "1.15.3
|
3
|
+
"version": "1.15.3",
|
4
4
|
"description": "Supporting common component library",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/index.js",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
39
|
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
|
40
|
-
"@laynezh/vite-plugin-lib-assets": "
|
40
|
+
"@laynezh/vite-plugin-lib-assets": "^0.5.26",
|
41
41
|
"@sentry/browser": "^7.119.1",
|
42
42
|
"@testing-library/jest-dom": "^5.16.2",
|
43
43
|
"@testing-library/react": "^12.1.4",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"@types/react-router-dom": "^5.3.3",
|
51
51
|
"@typescript-eslint/eslint-plugin": "8.3.0",
|
52
52
|
"@typescript-eslint/parser": "8.3.0",
|
53
|
-
"@vitejs/plugin-react": "4.
|
53
|
+
"@vitejs/plugin-react": "4.3.1",
|
54
54
|
"eslint": "^8.57.1",
|
55
55
|
"eslint-config-airbnb": "^19.0.4",
|
56
56
|
"eslint-config-prettier": "^9.1.0",
|
@@ -72,8 +72,9 @@
|
|
72
72
|
"sharp": "^0.33.5",
|
73
73
|
"svgo": "^3.3.2",
|
74
74
|
"typescript": "5.5.4",
|
75
|
-
"vite": "
|
76
|
-
"vite-plugin-dts": "4.
|
75
|
+
"vite": "5.4.19",
|
76
|
+
"vite-plugin-dts": "4.0.3",
|
77
|
+
"vite-plugin-image-optimizer": "^1.1.8",
|
77
78
|
"vite-plugin-lib-inject-css": "2.1.1",
|
78
79
|
"vite-plugin-svgr": "^2.4.0",
|
79
80
|
"vite-tsconfig-paths": "5.0.1"
|
@@ -134,7 +135,7 @@
|
|
134
135
|
"react-dom": "^17.0.2"
|
135
136
|
},
|
136
137
|
"vite-plugin-svgr": {
|
137
|
-
"vite": "
|
138
|
+
"vite": "5.4.19"
|
138
139
|
},
|
139
140
|
"react-virtualized-sticky-tree": {
|
140
141
|
"react": "^17.0.2",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { ComponentSizeType } from '../../constants';
|
2
|
-
import { IconBaseColorType } from '../../types';
|
3
|
-
import { IconsProps } from '../Icon';
|
4
|
-
export type BadgeVariants = 'default' | 'negative' | 'negative-grey' | 'positive' | 'warning' | 'neutral' | 'custom';
|
5
|
-
export type BadgeProps = {
|
6
|
-
size?: Extract<ComponentSizeType, ComponentSizeType.xs | ComponentSizeType.xxs | ComponentSizeType.xxxs>;
|
7
|
-
startIconProps?: Omit<IconsProps, 'color' | 'size'>;
|
8
|
-
endIconProps?: Omit<IconsProps, 'color' | 'size'>;
|
9
|
-
label: string;
|
10
|
-
} & ({
|
11
|
-
variant?: Exclude<BadgeVariants, 'custom'>;
|
12
|
-
fontColor?: never;
|
13
|
-
bgColor?: never;
|
14
|
-
} | {
|
15
|
-
variant: 'custom';
|
16
|
-
fontColor: IconBaseColorType;
|
17
|
-
bgColor: IconBaseColorType;
|
18
|
-
});
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { IconBaseColorType } from '../../types';
|
2
|
-
import { BadgeProps } from './types';
|
3
|
-
export declare const getClassNameAccToVariant: (variant: BadgeProps["variant"]) => {
|
4
|
-
styles: string;
|
5
|
-
iconColor: IconBaseColorType;
|
6
|
-
};
|
7
|
-
export declare const getClassNameAccToSize: (size: BadgeProps["size"]) => "fs-11 lh-16 px-4 py-1" | "fs-12 lh-16 px-6 py-2" | "fs-13 lh-20 px-6 py-2";
|