@devtron-labs/devtron-fe-common-lib 1.11.0-pre-6 → 1.11.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.
- package/dist/{@code-editor-DIambKm6.js → @code-editor-DvXC6tWe.js} +24743 -24658
- package/dist/{@common-rjsf-DlZMNFKC.js → @common-rjsf-BzdfA2cI.js} +29 -29
- package/dist/{@framer-motion-iFP8gkbg.js → @framer-motion-CRC_R7iM.js} +3 -3
- package/dist/{@react-dates-C1YJpDXg.js → @react-dates-C-O0TUaC.js} +995 -996
- package/dist/{@react-select-rJh4_EaU.js → @react-select-CaCDGT85.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CMLds5Wa.js → @react-virtualized-sticky-tree-BINLYj4Y.js} +1 -1
- package/dist/{@vendor-HJw8T7OP.js → @vendor-DBDnc0ZN.js} +55137 -54300
- package/dist/Common/API/CoreAPI.d.ts +1 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
- package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +3 -3
- package/dist/Common/CodeMirror/utils.d.ts +1 -1
- package/dist/Common/Constants.d.ts +2 -1
- package/dist/Common/CustomTagSelector/index.d.ts +2 -2
- package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
- package/dist/Common/DraggableWrapper/index.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/Hooks/index.d.ts +3 -3
- package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
- package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/index.d.ts +2 -2
- package/dist/Common/RJSF/templates/index.d.ts +1 -1
- package/dist/Common/SegmentedControl/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
- package/dist/Common/Tooltip/index.d.ts +1 -1
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/index.d.ts +41 -41
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -3
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
- package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
- package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
- package/dist/Pages/GlobalConfigurations/index.d.ts +2 -2
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
- package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
- package/dist/Pages/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
- package/dist/Shared/Components/Button/index.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +2 -2
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
- package/dist/Shared/Components/CMCS/index.d.ts +2 -2
- package/dist/Shared/Components/CMCS/types.d.ts +1 -1
- package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
- package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
- package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
- package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
- package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
- package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
- package/dist/Shared/Components/Header/index.d.ts +1 -1
- package/dist/Shared/Components/Header/utils.d.ts +1 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +0 -5
- package/dist/Shared/Components/Icon/types.d.ts +2 -3
- package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
- package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
- package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
- package/dist/Shared/Components/{DevtronLicenseCard → License}/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/License/License.components.d.ts +5 -0
- package/dist/Shared/Components/License/index.d.ts +5 -0
- package/dist/Shared/Components/License/services.d.ts +1 -0
- package/dist/Shared/Components/{DevtronLicenseCard → License}/types.d.ts +13 -2
- package/dist/Shared/Components/License/utils.d.ts +7 -0
- package/dist/Shared/Components/Plugin/index.d.ts +4 -4
- package/dist/Shared/Components/QRCode.d.ts +10 -0
- package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
- package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
- package/dist/Shared/Components/Security/index.d.ts +2 -2
- package/dist/Shared/Components/Security/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/index.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +2 -2
- package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
- package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
- package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +64 -64
- package/dist/Shared/Helpers.d.ts +4 -4
- package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
- package/dist/Shared/Hooks/index.d.ts +3 -3
- package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
- package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -3
- package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
- package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
- package/dist/Shared/Providers/index.d.ts +2 -2
- package/dist/Shared/Providers/types.d.ts +1 -2
- package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +1 -1
- package/dist/Shared/Services/app.types.d.ts +2 -2
- package/dist/Shared/Services/index.d.ts +3 -3
- package/dist/Shared/Services/types.d.ts +1 -1
- package/dist/Shared/Store/IndexStore.d.ts +2 -2
- package/dist/Shared/index.d.ts +6 -6
- package/dist/Shared/types.d.ts +3 -17
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +594 -593
- package/package.json +5 -5
- package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +0 -3
- package/dist/Shared/Components/AnimatedTimer/constants.d.ts +0 -5
- package/dist/Shared/Components/AnimatedTimer/index.d.ts +0 -1
- package/dist/Shared/Components/AnimatedTimer/types.d.ts +0 -15
- package/dist/Shared/Components/DevtronLicenseCard/InstallationFingerprintInfo.d.ts +0 -3
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +0 -4
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +0 -7
- package/dist/assets/ic-arrow-clockwise.b327e411.svg +0 -3
- package/dist/assets/ic-bg-cluster.9a4258b9.svg +0 -6
- package/dist/assets/ic-file-key.a67da7ec.svg +0 -3
- package/dist/assets/ic-sliders-vertical.2db79ea4.svg +0 -7
- package/dist/assets/ic-terminal-fill.39b542cd.svg +0 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
3
|
-
"version": "1.11.
|
3
|
+
"version": "1.11.1",
|
4
4
|
"description": "Supporting common component library",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/index.js",
|
@@ -60,7 +60,6 @@
|
|
60
60
|
"eslint-plugin-prettier": "^5.1.2",
|
61
61
|
"eslint-plugin-react": "^7.33.2",
|
62
62
|
"eslint-plugin-react-hooks": "^4.6.0",
|
63
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
64
63
|
"glob": "^10.3.3",
|
65
64
|
"husky": "^7.0.4",
|
66
65
|
"json-schema": "^0.4.0",
|
@@ -74,7 +73,7 @@
|
|
74
73
|
"sharp": "^0.33.5",
|
75
74
|
"svgo": "^3.3.2",
|
76
75
|
"typescript": "5.5.4",
|
77
|
-
"vite": "5.4.
|
76
|
+
"vite": "5.4.14",
|
78
77
|
"vite-plugin-dts": "4.0.3",
|
79
78
|
"vite-plugin-image-optimizer": "^1.1.8",
|
80
79
|
"vite-plugin-lib-inject-css": "2.1.1",
|
@@ -109,10 +108,10 @@
|
|
109
108
|
"@replit/codemirror-indentation-markers": "6.5.3",
|
110
109
|
"@replit/codemirror-vscode-keymap": "6.0.2",
|
111
110
|
"@types/react-dates": "^21.8.6",
|
111
|
+
"@xyflow/react": "12.4.2",
|
112
112
|
"@uiw/codemirror-extensions-hyper-link": "4.23.10",
|
113
113
|
"@uiw/codemirror-theme-github": "4.23.7",
|
114
114
|
"@uiw/react-codemirror": "4.23.7",
|
115
|
-
"@xyflow/react": "12.4.2",
|
116
115
|
"ansi_up": "^5.2.1",
|
117
116
|
"codemirror-json-schema": "0.8.0",
|
118
117
|
"dayjs": "^1.11.13",
|
@@ -121,6 +120,7 @@
|
|
121
120
|
"jsonpath-plus": "^10.3.0",
|
122
121
|
"marked": "^13.0.3",
|
123
122
|
"nanoid": "^3.3.8",
|
123
|
+
"qrcode.react": "^4.2.0",
|
124
124
|
"react-canvas-confetti": "^2.0.7",
|
125
125
|
"react-dates": "^21.8.0",
|
126
126
|
"react-diff-viewer-continued": "^3.4.0",
|
@@ -141,7 +141,7 @@
|
|
141
141
|
"monaco-editor": "0.44.0"
|
142
142
|
},
|
143
143
|
"vite-plugin-svgr": {
|
144
|
-
"vite": "5.4.
|
144
|
+
"vite": "5.4.14"
|
145
145
|
},
|
146
146
|
"react-virtualized-sticky-tree": {
|
147
147
|
"react": "^17.0.2",
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as AnimatedTimer } from './AnimatedTimer.component';
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { animate } from 'framer-motion';
|
2
|
-
import { TooltipProps } from '../../../Common/Tooltip';
|
3
|
-
import { IconBaseSizeType } from '../../index';
|
4
|
-
export interface AnimatedTimerProps extends Pick<Parameters<typeof animate>[2], 'onComplete'> {
|
5
|
-
/**
|
6
|
-
* The time in seconds for the timer to animate.
|
7
|
-
*/
|
8
|
-
duration: number;
|
9
|
-
onComplete?: () => void;
|
10
|
-
/**
|
11
|
-
* @default 24
|
12
|
-
*/
|
13
|
-
size?: IconBaseSizeType;
|
14
|
-
tooltipContent?: TooltipProps['content'];
|
15
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { DevtronLicenseDTO } from '../../types';
|
2
|
-
import { DevtronLicenseCardProps, LicenseStatus } from './types';
|
3
|
-
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
4
|
-
bgColor: string;
|
5
|
-
textColor: string;
|
6
|
-
};
|
7
|
-
export declare const parseDevtronLicenseDTOIntoLicenseCardData: <isCentralDashboard extends boolean = false>(licenseDTO: DevtronLicenseDTO<isCentralDashboard>, currentUserEmail?: isCentralDashboard extends true ? string : never) => Omit<DevtronLicenseCardProps, "appTheme">;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.516 9.348h4.5m0 0v-4.5m0 4.5-3.182-3.182a8.25 8.25 0 1 0 0 11.668" vector-effect="non-scaling-stroke"/>
|
3
|
-
</svg>
|
@@ -1,6 +0,0 @@
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<rect width="24" height="24" rx="6" fill="var(--V100)"/>
|
3
|
-
<path d="M8.75238 10.875L12 12.75L12.0001 16.5L9.25248 18.0863C8.94308 18.265 8.56188 18.265 8.25248 18.0863L6.00488 16.7887C5.69548 16.61 5.50488 16.2799 5.50488 15.9226V13.3273C5.50488 12.9701 5.69548 12.64 6.00487 12.4613L8.75238 10.875Z" fill="var(--V300)"/>
|
4
|
-
<path d="M14.7475 6.83632L12.4999 5.53868C12.1905 5.36004 11.8093 5.36004 11.4999 5.53868L9.25232 6.83632C8.94292 7.01496 8.75232 7.34508 8.75232 7.70235V10.875L11.9999 12.75L15.2475 10.875V7.70235C15.2475 7.34508 15.0569 7.01496 14.7475 6.83632Z" fill="var(--V200)"/>
|
5
|
-
<path d="M12 12.75L15.2476 10.875L17.9951 12.4613C18.3045 12.64 18.4951 12.9701 18.4951 13.3273V15.9226C18.4951 16.2799 18.3045 16.61 17.9951 16.7887L15.7475 18.0863C15.4381 18.265 15.0569 18.2649 14.7475 18.0863L12.0001 16.5L12 12.75Z" fill="var(--V500)"/>
|
6
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.404 21h11.25a.75.75 0 0 0 .75-.75v-12M14.154 3h-9a.75.75 0 0 0-.75.75v4.125M14.154 3l5.25 5.25M14.154 3v5.25h5.25m-9.89 5.932a2.743 2.743 0 1 0 5.486 0 2.743 2.743 0 0 0-5.486 0Zm0 0H3v2.346m3.257-2.346v1.9" vector-effect="non-scaling-stroke"/>
|
3
|
-
</svg>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
- Copyright (c) 2024. Devtron Inc.
|
3
|
-
-->
|
4
|
-
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
6
|
-
<path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.124 10.875v9.375m0-9.375a2.25 2.25 0 1 0 0-4.5m0 4.5a2.25 2.25 0 0 1 0-4.5m0-2.625v2.625m-8.25 9.75v4.125m0-4.125a2.25 2.25 0 1 0 0-4.5m0 4.5a2.25 2.25 0 0 1 0-4.5m0-7.875v7.875" vector-effect="non-scaling-stroke"/>
|
7
|
-
</svg>
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
-
<path fill="#3B444C" fill-rule="evenodd" d="M19.333 3A2.667 2.667 0 0 1 22 5.667v12.666A2.667 2.667 0 0 1 19.333 21H4.667A2.667 2.667 0 0 1 2 18.333V5.667A2.667 2.667 0 0 1 4.667 3h14.666ZM6.358 8.74c-.409.408-.423 1.056-.033 1.446l2.122 2.121-2.219 2.219c-.408.408-.423 1.056-.032 1.446.39.39 1.038.376 1.446-.032l2.958-2.958c.409-.408.423-1.056.033-1.446L7.804 8.707c-.39-.39-1.038-.376-1.446.032ZM17 14h-4c-.552 0-1 .468-1 1.046 0 .577.448 1.046 1 1.046h4c.552 0 1-.469 1-1.046 0-.578-.448-1.046-1-1.046Z" clip-rule="evenodd"/>
|
3
|
-
</svg>
|