@devtron-labs/devtron-fe-common-lib 1.15.1-beta-3 → 1.15.1-beta-5

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 (70) hide show
  1. package/dist/{@code-editor-DlSJ1llB.js → @code-editor-D3u1HU6g.js} +7789 -7910
  2. package/dist/{@common-rjsf-CYuivsxy.js → @common-rjsf-BWZsX9t4.js} +230 -222
  3. package/dist/Common/Dialogs/ConfirmationDialog.d.ts +11 -0
  4. package/dist/Common/Dialogs/Types.d.ts +17 -0
  5. package/dist/Common/Dialogs/index.d.ts +1 -0
  6. package/dist/Common/InfoColorBar/InfoColourbar.d.ts +6 -0
  7. package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -1
  8. package/dist/Common/Toggle/Toggle.d.ts +18 -0
  9. package/dist/Common/Types.d.ts +43 -1
  10. package/dist/Common/index.d.ts +2 -0
  11. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +46 -2
  12. package/dist/Pages/ResourceBrowser/constants.d.ts +2 -0
  13. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  14. package/dist/Shared/Analytics/analytics.d.ts +0 -2
  15. package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
  16. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -2
  17. package/dist/Shared/Components/CICDHistory/service.d.ts +7 -1
  18. package/dist/Shared/Components/CICDHistory/types.d.ts +18 -2
  19. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -18
  20. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +0 -1
  21. package/dist/Shared/Components/DocLink/types.d.ts +0 -1
  22. package/dist/Shared/Components/DocLink/utils.d.ts +1 -1
  23. package/dist/Shared/Components/Icon/Icon.d.ts +4 -9
  24. package/dist/Shared/Components/Popover/types.d.ts +0 -5
  25. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +1 -1
  26. package/dist/Shared/Components/Switch/Switch.component.d.ts +1 -1
  27. package/dist/Shared/Components/Switch/types.d.ts +2 -11
  28. package/dist/Shared/Components/Switch/utils.d.ts +2 -2
  29. package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
  30. package/dist/Shared/Components/Textarea/types.d.ts +1 -17
  31. package/dist/Shared/Components/ToggleResolveScopedVariables/ToggleResolveScopedVariables.component.d.ts +1 -1
  32. package/dist/Shared/Components/ToggleResolveScopedVariables/types.d.ts +1 -1
  33. package/dist/Shared/Components/index.d.ts +0 -2
  34. package/dist/Shared/Helpers.d.ts +2 -1
  35. package/dist/Shared/Providers/index.d.ts +0 -1
  36. package/dist/Shared/Providers/types.d.ts +12 -39
  37. package/dist/Shared/Services/app.types.d.ts +2 -7
  38. package/dist/Shared/constants.d.ts +1 -2
  39. package/dist/Shared/types.d.ts +4 -8
  40. package/dist/assets/@code-editor.css +1 -1
  41. package/dist/assets/@common-rjsf.css +1 -1
  42. package/dist/assets/ic-add.18a93616.svg +19 -0
  43. package/dist/assets/ic-container.92a4c33a.svg +3 -0
  44. package/dist/assets/ic-gavel.a3b064b5.svg +3 -0
  45. package/dist/assets/{ic-minus.416da21b.svg → ic-minus.aac464f7.svg} +1 -1
  46. package/dist/assets/ic-sparkle-color.01c0be88.svg +1 -0
  47. package/dist/assets/ic-speedometer.3ecaae3b.svg +3 -0
  48. package/dist/assets/ic-two-cubes.056d1333.svg +3 -0
  49. package/dist/index.d.ts +0 -7
  50. package/dist/index.js +773 -767
  51. package/package.json +3 -3
  52. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffRadioSelect.d.ts +0 -7
  53. package/dist/Shared/Components/SwitchThemeDialog/SwitchThemeDialog.component.d.ts +0 -3
  54. package/dist/Shared/Components/SwitchThemeDialog/index.d.ts +0 -2
  55. package/dist/Shared/Components/SwitchThemeDialog/types.d.ts +0 -35
  56. package/dist/Shared/Components/Textarea/utils.d.ts +0 -5
  57. package/dist/Shared/Components/Typewriter/BlinkingCursor.d.ts +0 -1
  58. package/dist/Shared/Components/Typewriter/index.d.ts +0 -2
  59. package/dist/Shared/Components/Typewriter/useTypewriter.d.ts +0 -1
  60. package/dist/assets/ic-add.2d785695.svg +0 -3
  61. package/dist/assets/ic-asterisk.ab224e72.svg +0 -3
  62. package/dist/assets/ic-brain.838491eb.svg +0 -3
  63. package/dist/assets/ic-devtron-ai.535b45ec.svg +0 -287
  64. package/dist/assets/ic-folder-color.7cf84356.svg +0 -6
  65. package/dist/assets/ic-paper-plane.ad7e6d2f.svg +0 -3
  66. package/dist/assets/ic-sparkle-ai-color.d123b325.svg +0 -16
  67. package/dist/assets/ic-sparkle-color.a9722593.svg +0 -18
  68. package/dist/assets/ic-stop-fill.32ea653f.svg +0 -8
  69. package/dist/assets/ic-world-globe.877fa6a0.svg +0 -3
  70. /package/dist/assets/{ic-container.4e1e6455.svg → ic-container-registry.4e1e6455.svg} +0 -0
@@ -1 +1 @@
1
- .rjsf-form-template__container>div:first-child{padding:20px;margin-right:28px}.rjsf-form-template__field,.rjsf-form-template__field--error{grid-template-columns:250px 1fr}.rjsf-form-template__field input.form__input,.rjsf-form-template__field--error input.form__input{padding:6px 8px}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.rjsf-form-template__array-field-item legend{display:none}.rjsf-form-template__array-field-item:has(+div){margin-bottom:8px}.rjsf-form-template__additional-fields,.rjsf-form-template__array-field-item{z-index:0;background:transparent}.rjsf-form-template__additional-fields:has(>.remove-btn__container:hover):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container:hover):after{background:var(--R50)}.rjsf-form-template__additional-fields:has(>.remove-btn__container):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container):after{border-radius:4px;transform:translate(-50%,-50%);top:50%;left:50%;background:transparent;z-index:-1;position:absolute;height:calc(100% + 8px);width:calc(100% + 8px);content:"";transition:all .1s ease-out}.rjsf-form-template__additional-fields>.remove-btn__container:hover,.rjsf-form-template__array-field-item>.remove-btn__container:hover{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container:hover path,.rjsf-form-template__array-field-item>.remove-btn__container:hover path{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container,.rjsf-form-template__array-field-item>.remove-btn__container{transition:all .1s ease-out}
1
+ .rjsf-form-template__container>div:first-child{padding:20px;margin-right:28px}.rjsf-form-template__field,.rjsf-form-template__field--error{grid-template-columns:250px 1fr}.rjsf-form-template__field input.form__input,.rjsf-form-template__field--error input.form__input{padding:6px 8px}.rjsf-form-template__field input.form__input[readonly],.rjsf-form-template__field--error input.form__input[readonly]{opacity:.5}.rjsf-form-template__additional-fields{grid-template-columns:1fr 1fr}.rjsf-form-template__array-field-item{grid-template-columns:1fr auto}.rjsf-form-template__array-field-item>:first-child{margin:0}.rjsf-form-template__array-field-item legend{display:none}.rjsf-form-template__array-field-item:has(+div){margin-bottom:8px}.rjsf-form-template__additional-fields,.rjsf-form-template__array-field-item{z-index:0;background:transparent}.rjsf-form-template__additional-fields:has(>.remove-btn__container:hover):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container:hover):after{background:var(--R50)}.rjsf-form-template__additional-fields:has(>.remove-btn__container):after,.rjsf-form-template__array-field-item:has(>.remove-btn__container):after{border-radius:4px;transform:translate(-50%,-50%);top:50%;left:50%;background:transparent;z-index:-1;position:absolute;height:calc(100% + 8px);width:calc(100% + 8px);content:"";transition:all .1s ease-out}.rjsf-form-template__additional-fields>.remove-btn__container:hover,.rjsf-form-template__array-field-item>.remove-btn__container:hover{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container:hover path,.rjsf-form-template__array-field-item>.remove-btn__container:hover path{fill:var(--R500)}.rjsf-form-template__additional-fields>.remove-btn__container,.rjsf-form-template__array-field-item>.remove-btn__container{transition:all .1s ease-out}
@@ -0,0 +1,19 @@
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="M6 12h12m-6-6v12" vector-effect="non-scaling-stroke"/>
19
+ </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="M12 4.5v15m0-15 9.956 2.842a.75.75 0 0 1 .544.72v7.876a.75.75 0 0 1-.544.718L12 19.5m0-15L2.144 5.906a.75.75 0 0 0-.644.745v10.698a.75.75 0 0 0 .644.745L12 19.5M9 12H4.5m2.25-6.75v13.5" 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="m13.656 4.655 5.688 5.689M8.406 9.905l5.688 5.689m-1.719-1.72-6.656 6.657a1.594 1.594 0 0 1-2.25 0 1.594 1.594 0 0 1 0-2.25l6.656-6.656M5.471 7.718l6-6a.75.75 0 0 1 1.06 0l1.5 1.5a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 0 1-1.06 0l-1.5-1.5a.75.75 0 0 1 0-1.06Zm8.25 8.25 6-6a.75.75 0 0 1 1.06 0l1.5 1.5a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 0 1-1.06 0l-1.5-1.5a.75.75 0 0 1 0-1.06Z" vector-effect="non-scaling-stroke"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
2
  <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 12h16" vector-effect="non-scaling-stroke"/>
3
- </svg>
3
+ </svg>
@@ -0,0 +1 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m22.898 11.262-5.933-2.196-2.215-7.26a.666.666 0 0 0-1.275 0l-2.214 7.26-5.934 2.196a.667.667 0 0 0 0 1.25l5.93 2.196 2.216 7.482a.666.666 0 0 0 1.279 0l2.216-7.483 5.93-2.195a.665.665 0 0 0 0-1.25" fill="#FFAC33"/><path d="m9.565 18.597-1.543-.571-.6-2.2a.665.665 0 0 0-1.286 0l-.6 2.2-1.542.57a.667.667 0 0 0 0 1.25l1.534.57.605 2.414a.667.667 0 0 0 1.293 0l.605-2.415 1.534-.57a.665.665 0 0 0 0-1.248M6.673 4.153 5.097 3.57l-.584-1.577a.666.666 0 0 0-1.251 0L2.679 3.57l-1.577.583a.667.667 0 0 0 0 1.251l1.577.583.583 1.577a.667.667 0 0 0 1.25 0l.584-1.577 1.577-.583a.667.667 0 0 0 0-1.25" fill="#FFCC4D"/></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="m12 7.01.01-.011M16 9.01l.01-.011M8 9.01l.01-.011M18 13.01l.01-.011M6 13.01l.01-.011M17 17.01l.01-.011M7 17.01l.01-.011M13 11l-.669 6.018M8.5 20.001H4A9.956 9.956 0 0 1 2 14C2 8.477 6.477 4 12 4s10 4.477 10 10c0 2.252-.744 4.33-2 6.001L15.5 20m-3.169-2.982a3 3 0 1 1-.663 5.964 3 3 0 0 1 .663-5.964Z" 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="m9.06 10.276 5.872-3.335a.5.5 0 0 0-.187-.183l-5.5-3.094a.5.5 0 0 0-.49 0l-5.5 3.094A.5.5 0 0 0 3 7.193v6.165a.5.5 0 0 0 .255.436l5.5 3.094a.5.5 0 0 0 .245.064l.06-6.676Zm0 0L3.07 6.939m17.862 3.402a.5.5 0 0 1 .068.252v6.166a.5.5 0 0 1-.255.435l-5.5 3.094a.5.5 0 0 1-.245.064m5.932-10.011a.5.5 0 0 0-.187-.183l-5.5-3.094a.5.5 0 0 0-.49 0l-5.5 3.094a.5.5 0 0 0-.255.435v6.166a.5.5 0 0 0 .255.435l5.5 3.094a.5.5 0 0 0 .245.064m5.932-10.011-5.873 3.335M15 20.352l.06-6.676m0 0-5.99-3.337" vector-effect="non-scaling-stroke"/>
3
+ </svg>
package/dist/index.d.ts CHANGED
@@ -141,7 +141,6 @@ export interface customEnv {
141
141
  GATEKEEPER_URL?: string;
142
142
  FEATURE_AI_INTEGRATION_ENABLE?: boolean;
143
143
  LOGIN_PAGE_IMAGE?: string;
144
- FEATURE_ASK_DEVTRON_EXPERT?: boolean;
145
144
  /**
146
145
  * If true, the manage traffic feature is enabled in apps & app groups.
147
146
  *
@@ -149,12 +148,6 @@ export interface customEnv {
149
148
  */
150
149
  FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean;
151
150
  FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE?: boolean;
152
- /**
153
- * If true, online/offline connectivity banner is enabled
154
- *
155
- * @default true
156
- */
157
- FEATURE_INTERNET_CONNECTIVITY_ENABLE?: boolean;
158
151
  }
159
152
  declare global {
160
153
  interface Window {