@devtron-labs/devtron-fe-common-lib 1.10.17 → 1.10.19

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 (177) hide show
  1. package/dist/{@code-editor-BvjrvTRt.js → @code-editor-B1nhzehZ.js} +23836 -23716
  2. package/dist/{@common-rjsf-DM5WzH7I.js → @common-rjsf-v20lsyFO.js} +29 -29
  3. package/dist/{@framer-motion-DMD7dX-G.js → @framer-motion-3ACrfimm.js} +1 -1
  4. package/dist/{@react-dates-DxmDHBUI.js → @react-dates-C1YJpDXg.js} +990 -989
  5. package/dist/{@react-select-BR4eLpVa.js → @react-select-rJh4_EaU.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-Ca-pl6uN.js → @react-virtualized-sticky-tree-CMLds5Wa.js} +1 -1
  7. package/dist/{@vendor-DZHtXPTX.js → @vendor-HJw8T7OP.js} +29443 -29446
  8. package/dist/Common/API/CoreAPI.d.ts +1 -1
  9. package/dist/Common/API/index.d.ts +1 -1
  10. package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
  11. package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
  12. package/dist/Common/CodeMirror/index.d.ts +1 -1
  13. package/dist/Common/CodeMirror/types.d.ts +3 -3
  14. package/dist/Common/CodeMirror/utils.d.ts +2 -1
  15. package/dist/Common/CustomTagSelector/index.d.ts +2 -2
  16. package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
  17. package/dist/Common/DraggableWrapper/index.d.ts +1 -1
  18. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  19. package/dist/Common/Hooks/index.d.ts +3 -3
  20. package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
  21. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  22. package/dist/Common/RJSF/Form.d.ts +1 -1
  23. package/dist/Common/RJSF/index.d.ts +2 -2
  24. package/dist/Common/RJSF/templates/index.d.ts +1 -1
  25. package/dist/Common/SegmentedControl/types.d.ts +5 -1
  26. package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
  27. package/dist/Common/Toggle/Toggle.d.ts +2 -1
  28. package/dist/Common/Tooltip/index.d.ts +1 -1
  29. package/dist/Common/Tooltip/types.d.ts +1 -1
  30. package/dist/Common/Types.d.ts +1 -0
  31. package/dist/Common/index.d.ts +41 -41
  32. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
  33. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
  34. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
  35. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
  36. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
  37. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
  38. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
  39. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -1
  40. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
  41. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
  42. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
  43. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
  44. package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
  45. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  46. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
  47. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
  48. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
  49. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
  50. package/dist/Pages/GlobalConfigurations/index.d.ts +2 -2
  51. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
  52. package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
  53. package/dist/Pages/ResourceBrowser/types.d.ts +1 -1
  54. package/dist/Pages/index.d.ts +1 -1
  55. package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
  56. package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
  57. package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
  58. package/dist/Shared/Components/Button/index.d.ts +1 -1
  59. package/dist/Shared/Components/Button/types.d.ts +2 -2
  60. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  61. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  62. package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
  63. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  64. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
  65. package/dist/Shared/Components/CMCS/index.d.ts +2 -2
  66. package/dist/Shared/Components/CMCS/types.d.ts +1 -1
  67. package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
  68. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
  69. package/dist/Shared/Components/ConfirmationModal/index.d.ts +5 -4
  70. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
  71. package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
  72. package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
  73. package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
  74. package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
  75. package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
  76. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
  77. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
  78. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
  79. package/dist/Shared/Components/DevtronLicenseCard/DevtronLicenseCard.d.ts +1 -1
  80. package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +1 -1
  81. package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +2 -1
  82. package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +2 -1
  83. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  84. package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
  85. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
  86. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
  87. package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +2 -0
  88. package/dist/Shared/Components/FramerComponents/index.d.ts +3 -0
  89. package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
  90. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
  91. package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
  92. package/dist/Shared/Components/Header/index.d.ts +1 -1
  93. package/dist/Shared/Components/Icon/Icon.d.ts +14 -0
  94. package/dist/Shared/Components/Icon/types.d.ts +1 -1
  95. package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
  96. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  97. package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
  98. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
  99. package/dist/Shared/Components/Plugin/index.d.ts +4 -4
  100. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
  101. package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
  102. package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
  103. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
  104. package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
  105. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  106. package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
  107. package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
  108. package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
  109. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  110. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
  111. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
  112. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  113. package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
  114. package/dist/Shared/Components/Security/index.d.ts +2 -2
  115. package/dist/Shared/Components/Security/utils.d.ts +1 -1
  116. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  117. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  118. package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
  119. package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
  120. package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
  121. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +2 -2
  122. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +6 -4
  123. package/dist/Shared/Components/TabGroup/TabGroup.utils.d.ts +2 -0
  124. package/dist/Shared/Components/Table/index.d.ts +1 -1
  125. package/dist/Shared/Components/Table/types.d.ts +2 -2
  126. package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
  127. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
  128. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
  129. package/dist/Shared/Components/index.d.ts +63 -62
  130. package/dist/Shared/Helpers.d.ts +3 -3
  131. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
  132. package/dist/Shared/Hooks/index.d.ts +3 -2
  133. package/dist/Shared/Hooks/useForm/useForm.d.ts +9 -1
  134. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
  135. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
  136. package/dist/Shared/Hooks/useOneTimePrompt/constants.d.ts +1 -0
  137. package/dist/Shared/Hooks/useOneTimePrompt/index.d.ts +1 -0
  138. package/dist/Shared/Hooks/useOneTimePrompt/types.d.ts +3 -0
  139. package/dist/Shared/Hooks/useOneTimePrompt/useOneTimePrompt.d.ts +6 -0
  140. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
  141. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  142. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
  143. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
  144. package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
  145. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
  146. package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
  147. package/dist/Shared/Providers/index.d.ts +2 -2
  148. package/dist/Shared/Providers/types.d.ts +1 -1
  149. package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
  150. package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
  151. package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
  152. package/dist/Shared/Services/app.service.d.ts +1 -1
  153. package/dist/Shared/Services/app.types.d.ts +2 -2
  154. package/dist/Shared/Services/index.d.ts +3 -3
  155. package/dist/Shared/Store/IndexStore.d.ts +2 -2
  156. package/dist/Shared/index.d.ts +6 -6
  157. package/dist/Shared/types.d.ts +16 -7
  158. package/dist/assets/@code-editor.css +1 -1
  159. package/dist/assets/ic-arrows-left-right.2d4dda45.svg +3 -0
  160. package/dist/assets/ic-check.a0f5ee85.svg +3 -0
  161. package/dist/assets/ic-close-large.fb6095e0.svg +3 -0
  162. package/dist/assets/ic-delete-lightning.2a7545bd.svg +3 -0
  163. package/dist/assets/ic-folder-user.ff0670e8.svg +3 -0
  164. package/dist/assets/ic-hibernate.f75c1e70.svg +19 -0
  165. package/dist/assets/ic-lightning-fill.25ce980f.svg +3 -0
  166. package/dist/assets/ic-lightning.02da5bf8.svg +3 -0
  167. package/dist/assets/ic-medium-delete.f33a9cd7.svg +11 -0
  168. package/dist/assets/ic-pencil.3ea1c075.svg +3 -0
  169. package/dist/assets/ic-sort-ascending.45f474ff.svg +3 -0
  170. package/dist/assets/ic-sort-descending.0ee6b8dd.svg +3 -0
  171. package/dist/assets/ic-sortable.1d3308e1.svg +3 -0
  172. package/dist/assets/ic-stamp.23836e37.svg +3 -0
  173. package/dist/assets/ic-users.102d4732.svg +3 -0
  174. package/dist/index.d.ts +1 -1
  175. package/dist/index.js +539 -534
  176. package/package.json +5 -4
  177. package/dist/assets/ic-hibernate.988d2323.svg +0 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.10.17",
3
+ "version": "1.10.19",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -60,6 +60,7 @@
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",
63
64
  "glob": "^10.3.3",
64
65
  "husky": "^7.0.4",
65
66
  "json-schema": "^0.4.0",
@@ -73,7 +74,7 @@
73
74
  "sharp": "^0.33.5",
74
75
  "svgo": "^3.3.2",
75
76
  "typescript": "5.5.4",
76
- "vite": "5.4.14",
77
+ "vite": "5.4.17",
77
78
  "vite-plugin-dts": "4.0.3",
78
79
  "vite-plugin-image-optimizer": "^1.1.8",
79
80
  "vite-plugin-lib-inject-css": "2.1.1",
@@ -108,10 +109,10 @@
108
109
  "@replit/codemirror-indentation-markers": "6.5.3",
109
110
  "@replit/codemirror-vscode-keymap": "6.0.2",
110
111
  "@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",
115
116
  "ansi_up": "^5.2.1",
116
117
  "codemirror-json-schema": "0.8.0",
117
118
  "dayjs": "^1.11.13",
@@ -140,7 +141,7 @@
140
141
  "monaco-editor": "0.44.0"
141
142
  },
142
143
  "vite-plugin-svgr": {
143
- "vite": "5.4.14"
144
+ "vite": "5.4.17"
144
145
  },
145
146
  "react-virtualized-sticky-tree": {
146
147
  "react": "^17.0.2",
@@ -1,28 +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" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 20 20">
18
- <defs>
19
- <path id="a" d="M9 .667C4.405.667.667 4.405.667 9c0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.334-3.738 8.334-8.333 0-4.595-3.74-8.333-8.334-8.333zm.212 13.621A5.585 5.585 0 0 1 7.078 3.541a5.585 5.585 0 0 0 7.295 7.295 5.584 5.584 0 0 1-5.161 3.452z"/>
20
- </defs>
21
- <g fill="none" fill-rule="evenodd" transform="translate(1 1)">
22
- <mask id="b" fill="#fff">
23
- <use xlink:href="#a"/>
24
- </mask>
25
- <use fill="#000" fill-rule="nonzero" xlink:href="#a"/>
26
- <path fill="#3B444C" d="M-1-1h20v20H-1z" mask="url(#b)"/>
27
- </g>
28
- </svg>