@devtron-labs/devtron-fe-common-lib 1.6.11-beta-1 → 1.6.11

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 (32) hide show
  1. package/dist/{@code-editor-Cuv9WrJn.js → @code-editor-DQOui2VT.js} +8809 -9064
  2. package/dist/{@common-rjsf-BayODhaU.js → @common-rjsf-MEDHbJFI.js} +1 -1
  3. package/dist/Common/AppStatus/utils.d.ts +0 -1
  4. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +3 -1
  5. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -38
  6. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -2
  7. package/dist/Shared/Components/CICDHistory/types.d.ts +25 -89
  8. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -9
  9. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  10. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +1 -3
  11. package/dist/Shared/Helpers.d.ts +1 -3
  12. package/dist/Shared/constants.d.ts +24 -0
  13. package/dist/Shared/types.d.ts +0 -11
  14. package/dist/assets/@code-editor.css +1 -1
  15. package/dist/assets/ic-calendar.984accc5.svg +19 -0
  16. package/dist/assets/ic-person.f78738ac.svg +22 -0
  17. package/dist/assets/{ic-pulsate-status.2ca548fd.svg → ic-pulsate-status.cc755b3f.svg} +1 -0
  18. package/dist/index.js +540 -551
  19. package/package.json +1 -1
  20. package/dist/Shared/Components/CICDHistory/BuildAndTaskSummaryTooltipCard.d.ts +0 -3
  21. package/dist/Shared/Components/CICDHistory/GitTriggerList.d.ts +0 -5
  22. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +0 -3
  23. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +0 -3
  24. package/dist/assets/ic-aws-codecommit.43f0dd23.svg +0 -26
  25. package/dist/assets/ic-bitbucket.ffe914a0.svg +0 -30
  26. package/dist/assets/ic-calendar.1d9c66d2.svg +0 -19
  27. package/dist/assets/ic-environment.e639b8f3.svg +0 -4
  28. package/dist/assets/ic-git.89f79adf.svg +0 -17
  29. package/dist/assets/ic-github.bb1f1753.svg +0 -3
  30. package/dist/assets/ic-gitlab.de184b7f.svg +0 -31
  31. package/dist/assets/ic-help-filled.4468cdf1.svg +0 -4
  32. package/dist/assets/ic-person.d066bc6d.svg +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.6.11-beta-1",
3
+ "version": "1.6.11",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,3 +0,0 @@
1
- import { BuildAndTaskSummaryTooltipCardProps } from './types';
2
- declare const BuildAndTaskSummaryTooltipCard: import('react').MemoExoticComponent<({ workflowExecutionStages, triggeredByEmail, namespace, podName, stage, gitTriggers, ciMaterials, }: BuildAndTaskSummaryTooltipCardProps) => JSX.Element>;
3
- export default BuildAndTaskSummaryTooltipCard;
@@ -1,5 +0,0 @@
1
- import { DeploymentSummaryTooltipCardType } from './types';
2
- declare const GitTriggerList: import('react').MemoExoticComponent<({ ciMaterials, gitTriggers, addMarginTop, }: Pick<DeploymentSummaryTooltipCardType, "ciMaterials" | "gitTriggers"> & {
3
- addMarginTop?: boolean;
4
- }) => JSX.Element>;
5
- export default GitTriggerList;
@@ -1,3 +0,0 @@
1
- import { TriggerDetailsType } from './types';
2
- declare const TriggerDetails: import('react').MemoExoticComponent<({ status, startedOn, finishedOn, triggeredBy, triggeredByEmail, ciMaterials, gitTriggers, message, podStatus, type, stage, artifact, environmentName, isJobView, workerPodName, triggerMetadata, renderDeploymentHistoryTriggerMetaText, renderTargetConfigInfo, workflowExecutionStages, namespace, }: TriggerDetailsType) => JSX.Element>;
3
- export default TriggerDetails;
@@ -1,3 +0,0 @@
1
- import { WorkerStatusType } from './types';
2
- declare const WorkerStatus: import('react').MemoExoticComponent<({ message, podStatus, stage, workerPodName, finishedOn, clusterId, namespace, workerMessageContainerClassName, titleClassName, viewWorkerPodClassName, hideShowMoreMessageButton, }: WorkerStatusType) => JSX.Element | null>;
3
- export default WorkerStatus;
@@ -1,26 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
18
- <rect width="24" height="24" rx="4" fill="url(#paint0_linear_5214_1365)"/>
19
- <path fill-rule="evenodd" clip-rule="evenodd" d="M15.3 11.9L13.833 13L15.3 14.1L14.7 14.9L12.7 13.4C12.574 13.306 12.5 13.157 12.5 13C12.5 12.843 12.574 12.694 12.7 12.6L14.7 11.1L15.3 11.9ZM7 5.5C7 5.224 7.224 5 7.5 5H10V6H8.722L10.356 7.648L9.645 8.352L8 6.693V8H7V5.5ZM18.464 11.186L16.464 16.186L15.536 15.815L17.536 10.815L18.464 11.186ZM20 7.5V18.5C20 18.776 19.777 19 19.5 19H11.496C11.363 19 11.237 18.947 11.143 18.854C11.049 18.759 10.996 18.632 10.996 18.499L11 15.999L12 16.001L11.997 18H19V8H13V7H19.5C19.777 7 20 7.224 20 7.5ZM11.5 9C11.776 9 12 9.224 12 9.5C12 9.776 11.776 10 11.5 10C11.225 10 11 9.776 11 9.5C11 9.224 11.225 9 11.5 9ZM5.5 18C5.225 18 5 17.776 5 17.5C5 17.224 5.225 17 5.5 17C5.776 17 6 17.224 6 17.5C6 17.776 5.776 18 5.5 18ZM5.5 11C5.776 11 6 11.224 6 11.5C6 11.776 5.776 12 5.5 12C5.225 12 5 11.776 5 11.5C5 11.224 5.225 11 5.5 11ZM5.5 4C5.776 4 6 4.224 6 4.5C6 4.776 5.776 5 5.5 5C5.225 5 5 4.776 5 4.5C5 4.224 5.225 4 5.5 4ZM12 12.798V10.908C12.581 10.701 13 10.151 13 9.5C13 8.673 12.327 8 11.5 8C10.673 8 10 8.673 10 9.5C10 10.151 10.419 10.701 11 10.908V12.798C11 12.988 10.87 13.163 10.735 13.222C10.675 13.236 9.249 13.587 8.023 14.297C7.431 14.622 6.591 15.521 6.128 16.142C6.086 16.123 6.043 16.108 6 16.092V12.908C6.581 12.701 7 12.151 7 11.5C7 10.849 6.581 10.299 6 10.092V5.908C6.581 5.701 7 5.151 7 4.5C7 3.673 6.327 3 5.5 3C4.673 3 4 3.673 4 4.5C4 5.151 4.419 5.701 5 5.908V10.092C4.419 10.299 4 10.849 4 11.5C4 12.151 4.419 12.701 5 12.908V16.092C4.419 16.299 4 16.849 4 17.5C4 18.327 4.673 19 5.5 19C6.327 19 7 18.327 7 17.5C7 17.266 6.942 17.046 6.845 16.849C7.153 16.419 7.993 15.454 8.514 15.168C9.622 14.526 10.957 14.197 11.037 14.172C11.622 13.94 12 13.401 12 12.798Z" fill="white"/>
20
- <defs>
21
- <linearGradient id="paint0_linear_5214_1365" x1="0" y1="2400" x2="2400" y2="0" gradientUnits="userSpaceOnUse">
22
- <stop stop-color="#2E27AD"/>
23
- <stop offset="1" stop-color="#527FFF"/>
24
- </linearGradient>
25
- </defs>
26
- </svg>
@@ -1,30 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
18
- <defs>
19
- <linearGradient id="a" x1="108.633%" x2="46.927%" y1="13.818%" y2="78.776%">
20
- <stop offset="18%" stop-color="#0052CC"/>
21
- <stop offset="100%" stop-color="#2684FF"/>
22
- </linearGradient>
23
- </defs>
24
- <g fill="none" fill-rule="evenodd">
25
- <path d="M0 0h24v24H0z"/>
26
- <path d="M9.912 14.997h4.176l1.007-5.884H8.802z"/>
27
- <path fill="#2684FF" fill-rule="nonzero" d="M2.65 3.078a.641.641 0 0 0-.642.744l2.72 16.513c.07.417.43.724.853.727h13.05a.64.64 0 0 0 .64-.538l2.72-16.7a.64.64 0 0 0-.64-.743L2.649 3.078zm11.453 11.935H9.938L8.81 9.121h6.303l-1.01 5.892z"/>
28
- <path fill="url(#a)" fill-rule="nonzero" d="M19.11 6.113h-6.009L12.093 12H7.93l-4.915 5.833c.156.135.355.21.56.212H16.62a.64.64 0 0 0 .64-.538L19.11 6.113z" transform="translate(2 3)"/>
29
- </g>
30
- </svg>
@@ -1,19 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
18
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.5 2.25v3m-9-3v3m-3.75 4h16.5M5 21h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" vector-effect="non-scaling-stroke"/>
19
- </svg>
@@ -1,4 +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="m12.01 2 8.66 5v10l-8.66 5-8.66-5V7l8.66-5Z" vector-effect="non-scaling-stroke"/>
3
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m11.98 7 4.33 2.5v5L11.98 17l-4.33-2.5v-5L11.98 7Z" vector-effect="non-scaling-stroke"/>
4
- </svg>
@@ -1,17 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="24" height="24"><path fill="#F4511E" d="M42.2,22.1L25.9,5.8C25.4,5.3,24.7,5,24,5c0,0,0,0,0,0c-0.7,0-1.4,0.3-1.9,0.8l-3.5,3.5l4.1,4.1c0.4-0.2,0.8-0.3,1.3-0.3c1.7,0,3,1.3,3,3c0,0.5-0.1,0.9-0.3,1.3l4,4c0.4-0.2,0.8-0.3,1.3-0.3c1.7,0,3,1.3,3,3s-1.3,3-3,3c-1.7,0-3-1.3-3-3c0-0.5,0.1-0.9,0.3-1.3l-4-4c-0.1,0-0.2,0.1-0.3,0.1v10.4c1.2,0.4,2,1.5,2,2.8c0,1.7-1.3,3-3,3s-3-1.3-3-3c0-1.3,0.8-2.4,2-2.8V18.8c-1.2-0.4-2-1.5-2-2.8c0-0.5,0.1-0.9,0.3-1.3l-4.1-4.1L5.8,22.1C5.3,22.6,5,23.3,5,24c0,0.7,0.3,1.4,0.8,1.9l16.3,16.3c0,0,0,0,0,0c0.5,0.5,1.2,0.8,1.9,0.8s1.4-0.3,1.9-0.8l16.3-16.3c0.5-0.5,0.8-1.2,0.8-1.9C43,23.3,42.7,22.6,42.2,22.1z"/></svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.99931 2.07795C5.39819 2.07795 1.66675 5.8089 1.66675 10.4116C1.66675 14.0929 4.05428 17.2165 7.36572 18.319C7.78265 18.3952 7.93459 18.1379 7.93459 17.9169C7.93459 17.7189 7.92743 17.1951 7.92334 16.4998C5.60538 17.0032 5.11631 15.3825 5.11631 15.3825C4.73724 14.4198 4.19087 14.1635 4.19087 14.1635C3.43425 13.6468 4.24817 13.657 4.24817 13.657C5.0846 13.7158 5.52455 14.5159 5.52455 14.5159C6.26787 15.7893 7.4752 15.4214 7.94994 15.2081C8.02565 14.6699 8.24102 14.3026 8.47891 14.0944C6.62853 13.8836 4.68301 13.169 4.68301 9.97569C4.68301 9.0656 5.00786 8.32228 5.54093 7.73959C5.45498 7.52882 5.16901 6.68163 5.62278 5.53416C5.62278 5.53416 6.3221 5.31009 7.91412 6.38798C8.57866 6.2033 9.2918 6.11122 10.0003 6.10764C10.7084 6.11122 11.421 6.2033 12.0865 6.38798C13.6776 5.31009 14.3759 5.53416 14.3759 5.53416C14.8306 6.68163 14.5447 7.52882 14.4592 7.73959C14.9933 8.32228 15.3156 9.0656 15.3156 9.97569C15.3156 13.1771 13.367 13.8816 11.511 14.0877C11.8098 14.3451 12.0763 14.8536 12.0763 15.6312C12.0763 16.7449 12.0661 17.6437 12.0661 17.9169C12.0661 18.14 12.2165 18.3993 12.6391 18.318C15.9479 17.2135 18.3334 14.0924 18.3334 10.4116C18.3334 5.8089 14.602 2.07795 9.99931 2.07795Z" fill="#1B1817"/>
3
- </svg>
@@ -1,31 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
18
- <g fill="none" fill-rule="evenodd">
19
- <path d="M0 0h24v24H0z"/>
20
- <g fill-rule="nonzero">
21
- <path fill="#FC6D26" d="M21.95 13.522l-1.118-3.439-2.214-6.82a.383.383 0 0 0-.726 0l-2.214 6.816H8.32L6.107 3.262a.382.382 0 0 0-.726 0l-2.21 6.817-1.12 3.443a.762.762 0 0 0 .276.852L12 21.402l9.671-7.028a.763.763 0 0 0 .28-.852"/>
22
- <path fill="#E24329" d="M12 21.397l3.678-11.318H8.324z"/>
23
- <path fill="#FC6D26" d="M12 21.397L8.32 10.079H3.174z"/>
24
- <path fill="#FCA326" d="M3.169 10.082l-1.12 3.44a.762.762 0 0 0 .276.85L12 21.403l-8.831-11.32z"/>
25
- <path fill="#E24329" d="M3.17 10.082h5.155L6.107 3.266a.383.383 0 0 0-.727 0l-2.21 6.816z"/>
26
- <path fill="#FC6D26" d="M12 21.397l3.678-11.318h5.156z"/>
27
- <path fill="#FCA326" d="M20.83 10.082l1.12 3.44a.76.76 0 0 1-.276.85L12 21.398l8.828-11.315h.003z"/>
28
- <path fill="#E24329" d="M20.833 10.082H15.68l2.214-6.816a.382.382 0 0 1 .726 0l2.214 6.816z"/>
29
- </g>
30
- </g>
31
- </svg>
@@ -1,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
- <circle cx="12" cy="12" r="10" fill="#3B444C"/>
3
- <path fill="#fff" d="M12.84 5.583A4.3 4.3 0 0 0 7.7 9.8a1 1 0 1 0 2 0 2.3 2.3 0 1 1 2.3 2.3 1 1 0 0 0-1 1v1.4a1 1 0 1 0 2 0v-.518a4.299 4.299 0 0 0-.16-8.4ZM12 18.5a.983.983 0 0 0 1-1 .968.968 0 0 0-.291-.705A.959.959 0 0 0 12 16.5a.959.959 0 0 0-.709.295.968.968 0 0 0-.291.705c0 .282.093.521.278.718A.996.996 0 0 0 12 18.5Z"/>
4
- </svg>
@@ -1,19 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
18
- <path fill="#3B444C" d="M5.313 18.351a.75.75 0 1 0 1.337.68l-1.337-.68Zm12.037.68a.75.75 0 1 0 1.337-.68l-1.337.68ZM20.25 12A8.25 8.25 0 0 1 12 20.25v1.5A9.75 9.75 0 0 0 21.75 12h-1.5ZM12 20.25A8.25 8.25 0 0 1 3.75 12h-1.5A9.75 9.75 0 0 0 12 21.75v-1.5ZM3.75 12A8.25 8.25 0 0 1 12 3.75v-1.5A9.75 9.75 0 0 0 2.25 12h1.5ZM12 3.75A8.25 8.25 0 0 1 20.25 12h1.5A9.75 9.75 0 0 0 12 2.25v1.5Zm3 7.5a3 3 0 0 1-3 3v1.5a4.5 4.5 0 0 0 4.5-4.5H15Zm-3 3a3 3 0 0 1-3-3H7.5a4.5 4.5 0 0 0 4.5 4.5v-1.5Zm-3-3a3 3 0 0 1 3-3v-1.5a4.5 4.5 0 0 0-4.5 4.5H9Zm3-3a3 3 0 0 1 3 3h1.5a4.5 4.5 0 0 0-4.5-4.5v1.5ZM6.65 19.031a6.003 6.003 0 0 1 2.212-2.395l-.784-1.279a7.503 7.503 0 0 0-2.765 2.994l1.337.68Zm2.212-2.395A6.002 6.002 0 0 1 12 15.75v-1.5a7.502 7.502 0 0 0-3.922 1.107l.784 1.279ZM12 15.75c1.108 0 2.194.306 3.138.886l.784-1.279A7.502 7.502 0 0 0 12 14.25v1.5Zm3.138.886a6.002 6.002 0 0 1 2.212 2.395l1.337-.68a7.502 7.502 0 0 0-2.765-2.994l-.784 1.279Z"/>
19
- </svg>