@devtron-labs/devtron-fe-common-lib 1.12.0-beta-8 → 1.12.0-beta-9

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 (76) hide show
  1. package/dist/{@code-editor-Bvc6gB-1.js → @common-rjsf-N2ix2wkE.js} +9659 -9305
  2. package/dist/{@framer-motion-BaOj5B1h.js → @framer-motion-BL6-Hrrc.js} +1 -1
  3. package/dist/{@react-dates-CdRpENvm.js → @react-dates-CIHHgq4p.js} +1 -1
  4. package/dist/{@react-select-BLSAqXV1.js → @react-select-BVKpsqGO.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-BLmFnJWD.js → @react-virtualized-sticky-tree-CjKfeUxB.js} +1 -1
  6. package/dist/{@vendor-SjXFleuT.js → @vendor-CekuMgQx.js} +14646 -15466
  7. package/dist/Common/RJSF/Form.d.ts +1 -1
  8. package/dist/Common/Types.d.ts +0 -9
  9. package/dist/Common/index.d.ts +0 -1
  10. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +4 -0
  11. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +5 -0
  12. package/dist/Shared/Components/AboutDevtron/index.d.ts +2 -0
  13. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  14. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +6 -0
  15. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  16. package/dist/Shared/Components/CICDHistory/DeploymentDetailSteps.d.ts +1 -1
  17. package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
  18. package/dist/Shared/Components/CICDHistory/types.d.ts +8 -5
  19. package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/types.d.ts +3 -3
  20. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +1 -1
  21. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +1 -1
  22. package/dist/Shared/Components/DynamicDataTable/types.d.ts +3 -1
  23. package/dist/Shared/Components/Icon/Icon.d.ts +7 -2
  24. package/dist/Shared/Components/TabGroup/TabGroup.component.d.ts +1 -1
  25. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +2 -0
  26. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +3 -5
  27. package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +1 -1
  28. package/dist/Shared/Components/UserIdentifier/UserIdentifier.d.ts +2 -0
  29. package/dist/Shared/Components/UserIdentifier/index.d.ts +2 -0
  30. package/dist/Shared/Components/UserIdentifier/types.d.ts +11 -0
  31. package/dist/Shared/Components/index.d.ts +3 -1
  32. package/dist/Shared/Providers/types.d.ts +3 -1
  33. package/dist/Shared/constants.d.ts +2 -0
  34. package/dist/Shared/types.d.ts +8 -0
  35. package/dist/assets/@common-rjsf.css +1 -1
  36. package/dist/assets/ic-checks.d276fd05.svg +3 -0
  37. package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
  38. package/dist/assets/ic-key.8c76fb61.svg +3 -0
  39. package/dist/assets/{ic-timeout-two-dash.9a580698.svg → ic-selected.3a29e244.svg} +2 -3
  40. package/dist/assets/ic-thumb-down.92d2c4d7.svg +3 -0
  41. package/dist/assets/ic-thumb-up.7c6f6896.svg +3 -0
  42. package/dist/assets/ic-timeout-dash.d8e2d62e.svg +21 -0
  43. package/dist/index.d.ts +1 -5
  44. package/dist/index.js +722 -721
  45. package/package.json +1 -7
  46. package/dist/@common-rjsf-BfjjNQoV.js +0 -617
  47. package/dist/@monaco-editor-CVagbUeH.js +0 -138960
  48. package/dist/Common/CodeEditor/CodeEditor.d.ts +0 -4
  49. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -48
  50. package/dist/Common/CodeEditor/index.d.ts +0 -2
  51. package/dist/Common/CodeEditor/types.d.ts +0 -110
  52. package/dist/Common/CodeEditor/utils.d.ts +0 -3
  53. package/dist/Shared/Components/CodeEditorWrapper/CodeEditorWrapper.d.ts +0 -19
  54. package/dist/Shared/Components/CodeEditorWrapper/index.d.ts +0 -1
  55. package/dist/Shared/Components/CodeEditorWrapper/types.d.ts +0 -7
  56. package/dist/assets/@code-editor.css +0 -1
  57. package/dist/assets/@monaco-editor.css +0 -1
  58. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
  59. package/dist/assets/ic-14-day-trial-chip.0fbc1bf7.svg +0 -36
  60. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.components.d.ts +0 -0
  61. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.constants.d.ts +0 -0
  62. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.context.d.ts +0 -0
  63. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.d.ts +0 -0
  64. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditor.theme.d.ts +0 -0
  65. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/CodeEditorRenderer.d.ts +0 -0
  66. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/findAndReplace.d.ts +0 -0
  67. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/index.d.ts +0 -0
  68. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Commands/keyMaps.d.ts +0 -0
  69. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/DiffMinimap.d.ts +0 -0
  70. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/findAndReplace.d.ts +0 -0
  71. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/index.d.ts +0 -0
  72. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/readOnlyTooltip.d.ts +0 -0
  73. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlHighlight.d.ts +0 -0
  74. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/Extensions/yamlParseLinter.d.ts +0 -0
  75. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/index.d.ts +0 -0
  76. /package/dist/{Common/CodeMirror → Shared/Components/CodeEditor}/utils.d.ts +0 -0
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path stroke="url(#ic-gift-gradient)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.5 12.4v7.75a.75.75 0 0 1-.75.75H5.25a.75.75 0 0 1-.75-.75V12.4M12 7.9v13m0-13s3.182 0 4.243-1.06a2.25 2.25 0 0 0-3.182-3.182C12 4.718 12 7.901 12 7.901Zm0 0s-3.182 0-4.243-1.06a2.25 2.25 0 0 1 3.182-3.182C12 4.718 12 7.901 12 7.901Zm-8.25 0h16.5a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-.75.75H3.75a.75.75 0 0 1-.75-.75v-3a.75.75 0 0 1 .75-.75Z" vector-effect="non-scaling-stroke"/>
3
+ <defs>
4
+ <linearGradient id="ic-gift-gradient" x1="14.5" y1="9.27323" x2="1.82753" y2="7.60329" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#DFB74F" />
6
+ <stop offset="1" stop-color="#FFECA8" />
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
@@ -0,0 +1,3 @@
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="m15.59 7 1.414 1.414m-8.27 3.101a6.744 6.744 0 1 1 3.75 3.75L11.25 16.5H9v2.25H6.75V21H3v-3.75l5.735-5.735Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -15,7 +15,6 @@
15
15
  -->
16
16
 
17
17
  <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18
- <path d="M3 12C3 7.02944 7.02944 3 12 3" stroke="#3B444C" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-dasharray="2 3"/>
19
- <path d="M12 6.75V12L15 16" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
20
- <path d="M3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3" stroke="#3B444C" stroke-width="1.5" stroke-miterlimit="10"/>
18
+ <circle cx="12" cy="12" r="10" fill="var(--B500)"/>
19
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M16.7071 9.29291C17.0976 9.68344 17.0976 10.3166 16.7071 10.7071L11.3738 16.0402C10.9832 16.4307 10.3501 16.4307 9.95959 16.0402L7.29292 13.3738C6.90238 12.9833 6.90235 12.3501 7.29286 11.9596C7.68337 11.5691 8.31653 11.569 8.70708 11.9595L10.6667 13.9189L15.2929 9.29288C15.6834 8.90236 16.3166 8.90238 16.7071 9.29291Z" fill="var(--N0)"/>
21
20
  </svg>
@@ -0,0 +1,3 @@
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.783 4h4.472c.197 0 .387.082.527.23.14.146.218.345.218.553v8.608a.803.803 0 0 1-.218.554.728.728 0 0 1-.527.229h-4.472m0-10.174v10.174m0-10.174H5.429c-.364 0-.715.14-.987.392a1.59 1.59 0 0 0-.493.98l-1.937 7.572a1.64 1.64 0 0 0 .054.656c.063.212.167.408.307.574a1.484 1.484 0 0 0 1.118.53l6.832.252-.248 3.914c0 .41.077.818.227 1.197.15.38.37.725.646 1.016.277.29.606.521.967.679.362.157.75.238 1.141.238l3.727-7.826" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,3 @@
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.217 20H2.745a.728.728 0 0 1-.527-.23.803.803 0 0 1-.218-.553V10.61c0-.208.079-.407.218-.554a.732.732 0 0 1 .527-.229h4.472m0 10.174V9.826m0 10.174h11.354c.364 0 .715-.14.987-.392s.448-.6.492-.98l1.938-7.572c.027-.22.008-.444-.054-.656a1.59 1.59 0 0 0-.307-.574c-.14-.166-.312-.3-.505-.39a1.431 1.431 0 0 0-.613-.14l-6.832-.253.248-3.913c0-.41-.077-.818-.227-1.198a3.16 3.16 0 0 0-.646-1.015 2.976 2.976 0 0 0-.967-.679A2.858 2.858 0 0 0 10.944 2L7.217 9.826" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -0,0 +1,21 @@
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-dasharray="1 3" stroke-linecap="round" stroke-miterlimit="10" stroke-width="1.5" d="M3 12a9 9 0 0 1 9-9" vector-effect="non-scaling-stroke"/>
19
+ <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 6.75V12l3 4" vector-effect="non-scaling-stroke"/>
20
+ <path stroke="#3B444C" stroke-miterlimit="10" stroke-width="1.5" d="M3 12a9 9 0 1 0 9-9" vector-effect="non-scaling-stroke"/>
21
+ </svg>
package/dist/index.d.ts CHANGED
@@ -70,11 +70,6 @@ export interface customEnv {
70
70
  FEATURE_DEFAULT_MERGE_STRATEGY?: OverrideMergeStrategyType;
71
71
  FEATURE_DEFAULT_LANDING_RB_ENABLE?: boolean;
72
72
  FEATURE_ACTION_AUDIOS_ENABLE?: boolean;
73
- /**
74
- * If true, the code-editor will use codemirror engine
75
- * @default false
76
- */
77
- FEATURE_CODE_MIRROR_ENABLE?: boolean;
78
73
  /**
79
74
  * If true, only pipelines to which the user has access will be shown across the application
80
75
  * @default false
@@ -137,6 +132,7 @@ export interface customEnv {
137
132
  */
138
133
  FEATURE_APPLICATION_TEMPLATES_ENABLE?: boolean;
139
134
  GATEKEEPER_URL?: string;
135
+ FEATURE_AI_INTEGRATION_ENABLE?: boolean;
140
136
  }
141
137
  declare global {
142
138
  interface Window {