@devtron-labs/devtron-fe-common-lib 1.21.0-pre-4 → 1.21.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.
Files changed (243) hide show
  1. package/dist/{@code-editor-CI25gc0h.js → @code-editor-C8nhIfoI.js} +17575 -19125
  2. package/dist/{@common-rjsf-CJAIqF5e.js → @common-rjsf-rYligcdi.js} +30 -30
  3. package/dist/{@framer-motion-LZK2bgCK.js → @framer-motion-DZveCoIL.js} +139 -141
  4. package/dist/{@react-dates-CbpfVsC0.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-BuPEYnTv.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-DX7VkyTZ.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-BsABdDGm.js → @vendor-3ORIJA0h.js} +19361 -28480
  8. package/dist/Common/API/types.d.ts +1 -1
  9. package/dist/Common/BreadCrumb/Types.d.ts +0 -20
  10. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
  11. package/dist/Common/ClipboardButton/types.d.ts +2 -12
  12. package/dist/Common/Common.service.d.ts +1 -4
  13. package/dist/Common/Constants.d.ts +19 -67
  14. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  16. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  17. package/dist/Common/SearchBar/types.d.ts +0 -8
  18. package/dist/Common/SegmentedBarChart/types.d.ts +2 -10
  19. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  20. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  21. package/dist/Common/SegmentedControl/index.d.ts +1 -1
  22. package/dist/Common/SegmentedControl/types.d.ts +9 -13
  23. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  24. package/dist/Common/Types.d.ts +5 -64
  25. package/dist/Common/index.d.ts +1 -1
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  29. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  30. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  31. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  32. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  33. package/dist/Pages/ResourceBrowser/types.d.ts +1 -2
  34. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  35. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
  36. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  37. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  38. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  39. package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
  40. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
  41. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
  42. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
  43. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  44. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -1
  45. package/dist/Shared/Components/CICDHistory/constants.d.ts +4 -1
  46. package/dist/Shared/Components/CICDHistory/service.d.ts +3 -1
  47. package/dist/Shared/Components/CICDHistory/types.d.ts +65 -1
  48. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  49. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  50. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  51. package/dist/Shared/Components/DocLink/constants.d.ts +0 -3
  52. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  53. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  54. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  55. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  56. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  57. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  58. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  59. package/dist/Shared/Components/Header/types.d.ts +0 -2
  60. package/dist/Shared/Components/Icon/Icon.d.ts +0 -69
  61. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  62. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  63. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -6
  64. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  65. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
  66. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
  67. package/dist/Shared/Components/Security/constants.d.ts +0 -2
  68. package/dist/Shared/Components/Security/index.d.ts +0 -3
  69. package/dist/Shared/Components/Security/types.d.ts +0 -10
  70. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  71. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  72. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  73. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
  74. package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -1
  75. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  76. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  77. package/dist/Shared/Components/Table/types.d.ts +6 -12
  78. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  79. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  80. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  81. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  82. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  83. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  84. package/dist/Shared/Components/index.d.ts +0 -7
  85. package/dist/Shared/Helpers.d.ts +2 -11
  86. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  87. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  88. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  89. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -31
  90. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  91. package/dist/Shared/Services/common.service.d.ts +0 -3
  92. package/dist/Shared/Services/types.d.ts +1 -10
  93. package/dist/Shared/constants.d.ts +16 -3
  94. package/dist/Shared/types.d.ts +0 -20
  95. package/dist/Shared/validations.d.ts +0 -2
  96. package/dist/assets/@code-editor.css +1 -1
  97. package/dist/index.d.ts +11 -15
  98. package/dist/index.js +970 -1029
  99. package/package.json +1 -6
  100. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  101. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  102. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  103. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  104. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  105. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -6
  106. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  107. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  108. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  109. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  110. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  111. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  112. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  113. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  114. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  115. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  116. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  117. package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +0 -1
  118. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +0 -8
  119. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  120. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  121. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  122. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  123. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  124. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  125. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  126. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  127. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  128. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  129. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  130. package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +0 -1
  131. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +0 -32
  132. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +0 -1
  133. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +0 -1
  134. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +0 -6
  135. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +0 -1
  136. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  137. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  138. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  139. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  140. package/dist/Pages-Devtron-2.0/index.d.ts +0 -6
  141. package/dist/Shared/Components/Card/Card.component.d.ts +0 -3
  142. package/dist/Shared/Components/Card/constants.d.ts +0 -4
  143. package/dist/Shared/Components/Card/index.d.ts +0 -2
  144. package/dist/Shared/Components/Card/types.d.ts +0 -25
  145. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -121
  146. package/dist/Shared/Components/Charts/constants.d.ts +0 -10
  147. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  148. package/dist/Shared/Components/Charts/plugins.d.ts +0 -7
  149. package/dist/Shared/Components/Charts/types.d.ts +0 -135
  150. package/dist/Shared/Components/Charts/utils.d.ts +0 -30
  151. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  152. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  153. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  154. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  155. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  156. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  157. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  158. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  159. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  160. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  161. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  162. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  163. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  164. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  165. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  166. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  167. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  168. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  169. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  170. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  171. package/dist/assets/ic-ai.25e44e0c.svg +0 -3
  172. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  173. package/dist/assets/ic-application-group.4b448cca.svg +0 -3
  174. package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
  175. package/dist/assets/ic-application-template.212d14f1.svg +0 -3
  176. package/dist/assets/ic-application.4c80bfcf.svg +0 -3
  177. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  178. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  179. package/dist/assets/ic-aws.eb2d0124.svg +0 -12
  180. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
  181. package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
  182. package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
  183. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
  184. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
  185. package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
  186. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  187. package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
  188. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  189. package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
  190. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
  191. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  192. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  193. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
  194. package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
  195. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  196. package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
  197. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  198. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  199. package/dist/assets/ic-building.2405d07b.svg +0 -3
  200. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
  201. package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
  202. package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
  203. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  204. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  205. package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
  206. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
  207. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  208. package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
  209. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  210. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  211. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  212. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  213. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  214. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  215. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  216. package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
  217. package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
  218. package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
  219. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  220. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  221. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  222. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  223. package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
  224. package/dist/assets/ic-pause.4e5c6056.svg +0 -4
  225. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  226. package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
  227. package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
  228. package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
  229. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  230. package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
  231. package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
  232. package/dist/assets/ic-security-policy.874568da.svg +0 -3
  233. package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
  234. package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
  235. package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
  236. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  237. package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
  238. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  239. package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
  240. package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
  241. package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
  242. package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
  243. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.21.0-pre-4",
3
+ "version": "1.21.1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -49,7 +49,6 @@
49
49
  "@types/dompurify": "^3.0.5",
50
50
  "@types/json-schema": "^7.0.15",
51
51
  "@types/react": "17.0.39",
52
- "@types/react-csv": "^1.1.10",
53
52
  "@types/react-dates": "^21.8.6",
54
53
  "@types/react-dom": "17.0.13",
55
54
  "@types/react-router-dom": "^5.3.3",
@@ -108,7 +107,6 @@
108
107
  "@codemirror/lint": "6.8.4",
109
108
  "@codemirror/merge": "^6.10.0",
110
109
  "@codemirror/search": "6.5.8",
111
- "@datasert/cronjs-parser": "^1.4.0",
112
110
  "@lezer/highlight": "1.2.1",
113
111
  "@replit/codemirror-indentation-markers": "6.5.3",
114
112
  "@replit/codemirror-vscode-keymap": "6.0.2",
@@ -118,9 +116,7 @@
118
116
  "@uiw/react-codemirror": "4.23.7",
119
117
  "@xyflow/react": "12.4.2",
120
118
  "ansi_up": "^5.2.1",
121
- "chart.js": "^4.5.0",
122
119
  "codemirror-json-schema": "0.8.0",
123
- "cronstrue": "^3.9.0",
124
120
  "dayjs": "^1.11.13",
125
121
  "fast-json-patch": "^3.1.1",
126
122
  "focus-trap-react": "^10.3.1",
@@ -130,7 +126,6 @@
130
126
  "nanoid": "^3.3.8",
131
127
  "qrcode.react": "^4.2.0",
132
128
  "react-canvas-confetti": "^2.0.7",
133
- "react-csv": "^2.2.2",
134
129
  "react-dates": "^21.8.0",
135
130
  "react-draggable": "^4.4.5",
136
131
  "react-international-phone": "^4.5.0",
@@ -1,2 +0,0 @@
1
- import { NestedBreadCrumbProps } from './Types';
2
- export declare const NestedBreadCrumb: ({ redirectUrl, linkText, profileName, nestedBreadCrumbsText, }: NestedBreadCrumbProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
- export declare const getBarHeightForSize: (size: ComponentSizeType) => "h-20" | "h-12" | "h-6" | "h-8";
@@ -1,2 +0,0 @@
1
- declare const VirtualClusterSidebar: () => JSX.Element;
2
- export default VirtualClusterSidebar;
@@ -1 +0,0 @@
1
- export declare const ApplicationManagementIcon: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './ApplicationManagementIcon';
2
- export { getApplicationManagementBreadcrumb } from './utils';
@@ -1,6 +0,0 @@
1
- export declare const getApplicationManagementBreadcrumb: () => {
2
- 'application-management': {
3
- component: JSX.Element;
4
- linked: boolean;
5
- };
6
- };
@@ -1 +0,0 @@
1
- export * from './ApplicationManagementIcon';
@@ -1 +0,0 @@
1
- export * from './Shared';
@@ -1 +0,0 @@
1
- export declare const Overview: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1 +0,0 @@
1
- export declare const Overview: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1,4 +0,0 @@
1
- import { IconName } from '../../../Shared/Components';
2
- import { ClusterProviderType } from './types';
3
- export declare const CLUSTER_PROVIDER_TO_ICON_NAME: Record<ClusterProviderType, IconName | null>;
4
- export declare const CLUSTER_PROVIDER_TO_LABEL: Record<ClusterProviderType, string>;
@@ -1,2 +0,0 @@
1
- export * from './constants';
2
- export * from './types';
@@ -1,31 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { RJSFFormSchema } from '../../../Common/RJSF';
3
- import { ClusterDetailListType } from '../../../Common/Types';
4
- export declare enum CostBreakdownViewType {
5
- CLUSTERS = "clusters",
6
- ENVIRONMENTS = "environments",
7
- PROJECTS = "projects",
8
- APPLICATIONS = "applications"
9
- }
10
- export declare enum CostBreakdownItemViewParamsType {
11
- ITEM_NAME = "itemName",
12
- VIEW = "view",
13
- DETAIL = "detail"
14
- }
15
- type RenderClusterFormParamsType = {
16
- clusterDetails: ClusterDetailListType;
17
- handleClose: () => void;
18
- handleSuccess: () => void;
19
- };
20
- export interface CostVisibilityRenderContextType {
21
- renderClusterForm: (params: RenderClusterFormParamsType) => JSX.Element;
22
- }
23
- export interface CostVisibilityRenderProviderProps extends CostVisibilityRenderContextType {
24
- children: ReactNode;
25
- }
26
- export type ClusterProviderType = 'AWS' | 'GCP' | 'Azure' | 'Alibaba' | 'Scaleway' | 'Oracle' | 'OTC' | 'DigitalOcean' | 'Unknown';
27
- export interface ClusterProviderDetailsType {
28
- clusterProvider: ClusterProviderType;
29
- costModuleSchema: RJSFFormSchema;
30
- }
31
- export {};
@@ -1 +0,0 @@
1
- export * from './Shared';
@@ -1 +0,0 @@
1
- export * from './types';
@@ -1,8 +0,0 @@
1
- export declare enum BackupLocationsTypes {
2
- VOLUME_SNAPSHOT = "volume-snapshot",
3
- STORAGE = "storage"
4
- }
5
- export declare enum BackupAndScheduleListViewEnum {
6
- Backups = "backups",
7
- Schedules = "schedules"
8
- }
@@ -1 +0,0 @@
1
- export declare const Overview: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1 +0,0 @@
1
- export declare const GlobalOverview: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './GlobalOverview';
@@ -1 +0,0 @@
1
- export declare const InfrastructureManagementIcon: () => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './InfrastructureManagementIcon';
2
- export { getInfrastructureManagementBreadcrumb } from './utils';
@@ -1,6 +0,0 @@
1
- export declare const getInfrastructureManagementBreadcrumb: () => {
2
- 'infrastructure-management': {
3
- component: JSX.Element;
4
- linked: boolean;
5
- };
6
- };
@@ -1 +0,0 @@
1
- export * from './InfrastructureManagementIcon';
@@ -1 +0,0 @@
1
- export * from './Shared';
@@ -1,11 +0,0 @@
1
- export declare const getAutomationEnablementBreadcrumbConfig: () => {
2
- 'automation-and-enablement': {
3
- component: JSX.Element;
4
- linked: boolean;
5
- };
6
- job: any;
7
- list: {
8
- component: JSX.Element;
9
- };
10
- 'jobId(\\d+)': any;
11
- };
@@ -1 +0,0 @@
1
- export * from './types';
@@ -1,32 +0,0 @@
1
- import { customEnv, Never } from 'src';
2
- import { IconsProps } from '../../Shared/Components';
3
- export type NavigationItemID = 'application-management-overview' | 'application-management-devtron-applications' | 'application-management-application-groups' | 'application-management-bulk-edit' | 'application-management-application-templates' | 'application-management-projects' | 'application-management-configurations' | 'application-management-policies' | 'infrastructure-management-overview' | 'infrastructure-management-applications' | 'infrastructure-management-chart-store' | 'infrastructure-management-resource-browser' | 'infrastructure-management-resource-watcher' | 'infrastructure-management-catalog-framework' | 'software-release-management-overview' | 'software-release-management-release-hub' | 'software-release-management-tenants' | 'cost-visibility-overview' | 'cost-visibility-cost-breakdown' | 'cost-visibility-configurations' | 'security-center-overview' | 'security-center-security-vulnerabilities' | 'security-center-security-enablement' | 'security-center-security-policy' | 'automation-and-enablement-jobs' | 'automation-and-enablement-alerting' | 'automation-and-enablement-incident-response' | 'automation-and-enablement-api-portal' | 'automation-and-enablement-runbook-automation' | 'global-configuration-sso-login-services' | 'global-configuration-host-urls' | 'global-configuration-external-links' | 'global-configuration-chart-repository' | 'global-configuration-cluster-and-environments' | 'global-configuration-container-oci-registry' | 'global-configuration-authorization' | 'data-protection-overview' | 'data-protection-backup-and-schedule' | 'data-protection-restores' | 'data-protection-backup-repositories' | 'data-protection-backup-locations' | 'data-protection-history-and-logs';
4
- export type NavigationSubMenuItemID = 'application-management-configurations-gitops' | 'application-management-configurations-git-accounts' | 'application-management-configurations-deployment-charts' | 'application-management-configurations-notifications' | 'application-management-configurations-catalog-frameworks' | 'application-management-configurations-scoped-variables' | 'application-management-configurations-build-infra' | 'application-management-policies-deployment-window' | 'application-management-policies-approval-policy' | 'application-management-policies-plugin-policy' | 'application-management-policies-pull-image-digest' | 'application-management-policies-tag-policy' | 'application-management-policies-filter-conditions' | 'application-management-policies-image-promotion' | 'application-management-policies-lock-deployment-configuration' | 'cost-visibility-cost-breakdown-clusters' | 'cost-visibility-cost-breakdown-environments' | 'cost-visibility-cost-breakdown-projects' | 'cost-visibility-cost-breakdown-applications' | 'global-configuration-authorization-user-permissions' | 'global-configuration-authorization-permission-groups' | 'global-configuration-authorization-api-tokens';
5
- export type NavigationRootItemID = 'application-management' | 'infrastructure-management' | 'software-release-management' | 'cost-visibility' | 'security-center' | 'automation-and-enablement' | 'data-protection-management' | 'global-configuration';
6
- export type CommonNavigationItemType = {
7
- title: string;
8
- dataTestId: string;
9
- icon: IconsProps['name'];
10
- href: string;
11
- disabled?: boolean;
12
- keywords?: string[];
13
- forceHideEnvKey?: keyof customEnv;
14
- hideNav?: boolean;
15
- isAvailableInEA?: boolean;
16
- };
17
- export type NavigationItemType = Pick<CommonNavigationItemType, 'dataTestId' | 'title' | 'disabled' | 'keywords' | 'hideNav' | 'forceHideEnvKey' | 'isAvailableInEA'> & {
18
- id: NavigationItemID;
19
- } & ((Pick<CommonNavigationItemType, 'icon' | 'href'> & {
20
- hasSubMenu?: false;
21
- subItems?: never;
22
- }) | (Never<Pick<CommonNavigationItemType, 'icon' | 'href'>> & {
23
- hasSubMenu: true;
24
- subItems: (Omit<CommonNavigationItemType, 'icon'> & {
25
- id: NavigationSubMenuItemID;
26
- })[];
27
- }));
28
- export interface NavigationGroupType extends Pick<CommonNavigationItemType, 'title' | 'icon' | 'hideNav' | 'forceHideEnvKey' | 'isAvailableInEA'> {
29
- id: NavigationRootItemID;
30
- items: NavigationItemType[];
31
- disabled?: boolean;
32
- }
@@ -1 +0,0 @@
1
- export declare const SecurityCenterIcon: () => JSX.Element;
@@ -1 +0,0 @@
1
- export { getSecurityCenterBreadcrumb } from './utils';
@@ -1,6 +0,0 @@
1
- export declare const getSecurityCenterBreadcrumb: () => {
2
- 'security-center': {
3
- component: JSX.Element;
4
- linked: boolean;
5
- };
6
- };
@@ -1 +0,0 @@
1
- export * from './SecurityCenterIcon';
@@ -1 +0,0 @@
1
- export * from './Shared';
@@ -1 +0,0 @@
1
- export declare const Overview: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1 +0,0 @@
1
- export * from './Overview';
@@ -1,6 +0,0 @@
1
- export * from './ApplicationManagement';
2
- export * from './CostVisibility';
3
- export * from './DataProtectionManagement';
4
- export * from './InfrastructureManagement';
5
- export * from './Navigation';
6
- export * from './SecurityCenter';
@@ -1,3 +0,0 @@
1
- import { CardProps } from './types';
2
- declare const Card: ({ onClick, children, isLoading, shimmerVariant, variant, flexGap, flexDirection, padding, }: CardProps) => JSX.Element;
3
- export default Card;
@@ -1,4 +0,0 @@
1
- import { CardProps } from './types';
2
- export declare const DEFAULT_BORDER_RADIUS = 8;
3
- export declare const DEFAULT_FLEX_GAP = 0;
4
- export declare const VARIANT_TO_BORDER_CLASS_MAP: Record<CardProps['variant'], string>;
@@ -1,2 +0,0 @@
1
- export { default as Card } from './Card.component';
2
- export type { CardProps } from './types';
@@ -1,25 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { ComponentLayoutType } from '../../types';
3
- export type CardProps = {
4
- children: ReactNode;
5
- onClick?: () => void;
6
- /**
7
- * @default primary--outlined
8
- */
9
- variant?: 'primary--outlined' | 'secondary--outlined';
10
- /**
11
- * @default 'column'
12
- */
13
- flexDirection?: ComponentLayoutType;
14
- /**
15
- * @default 0px
16
- */
17
- flexGap?: 0 | 2 | 4 | 6 | 8 | 12 | 16 | 20 | 24 | 32;
18
- padding?: 0 | 2 | 4 | 6 | 8 | 12 | 16 | 20 | 24 | 32;
19
- } & ({
20
- isLoading: boolean;
21
- shimmerVariant: 'A' | 'B' | 'C';
22
- } | {
23
- isLoading?: never;
24
- shimmerVariant?: never;
25
- });
@@ -1,121 +0,0 @@
1
- import { ChartProps } from './types';
2
- /**
3
- * A versatile Chart component that renders different types of charts using Chart.js.
4
- * Supports area charts, pie charts, semi-pie charts, stacked bar charts (vertical/horizontal), and line charts.
5
- *
6
- * The component automatically adapts to theme changes and provides consistent styling
7
- * across all chart types. Colors are provided by the user through the CHART_COLORS constant
8
- * or custom color tokens.
9
- *
10
- * @example
11
- * ```tsx
12
- * [Area Chart Example]
13
- * <Chart
14
- * id="quarterly-growth"
15
- * type="area"
16
- * xAxisLabels={['Q1 2023', 'Q2 2023', 'Q3 2023', 'Q4 2023']}
17
- * datasets={[{
18
- * datasetName: 'Revenue Growth (%)',
19
- * yAxisValues: [15.2, 18.7, 22.3, 19.8],
20
- * backgroundColor: 'LavenderPurple300'
21
- * }]}
22
- * />
23
- *
24
- * [Pie Chart Example]
25
- * <Chart
26
- * id="technology-adoption"
27
- * type="pie"
28
- * xAxisLabels={['React', 'Vue.js', 'Angular']}
29
- * datasets={{
30
- * datasetName: 'Adoption Rate (%)',
31
- * yAxisValues: [45.2, 28.7, 35.4],
32
- * colors: ['SkyBlue300', 'AquaTeal400', 'LavenderPurple300']
33
- * }}
34
- * />
35
- *
36
- * [Semi-Pie Chart Example with Center Text]
37
- * <Chart
38
- * id="performance-metrics"
39
- * type="semiPie"
40
- * xAxisLabels={['Good', 'Average', 'Poor']}
41
- * datasets={{
42
- * datasetName: 'Performance Score (%)',
43
- * yAxisValues: [65, 25, 10],
44
- * colors: ['LimeGreen500', 'GoldenYellow400', 'CoralRed400']
45
- * }}
46
- * centerText={{
47
- * text: '85%',
48
- * fontSize: 24,
49
- * fontWeight: '600'
50
- * }}
51
- * />
52
- *
53
- * [Line Chart Example (non-stacked, non-filled)]
54
- * <Chart
55
- * id="traffic-trends"
56
- * type="line"
57
- * xAxisLabels={['Jan', 'Feb', 'Mar', 'Apr']}
58
- * datasets={[{
59
- * datasetName: 'Website Traffic',
60
- * yAxisValues: [120, 190, 300, 500],
61
- * borderColor: 'SkyBlue500'
62
- * }]}
63
- * />
64
- *
65
- * [Stacked Bar Chart Example]
66
- * <Chart
67
- * id="team-allocation"
68
- * type="stackedBar"
69
- * xAxisLabels={['Q1', 'Q2', 'Q3', 'Q4']}
70
- * datasets={[
71
- * {
72
- * datasetName: 'Frontend',
73
- * yAxisValues: [120, 150, 180, 200],
74
- * backgroundColor: 'SkyBlue600'
75
- * },
76
- * {
77
- * datasetName: 'Backend',
78
- * yAxisValues: [80, 100, 120, 140],
79
- * backgroundColor: 'AquaTeal600'
80
- * }
81
- * ]}
82
- * />
83
- * ```
84
- *
85
- * @param id - Unique identifier for the chart canvas element
86
- * @param type - Chart type: 'area', 'pie', 'semiPie', 'stackedBar', 'stackedBarHorizontal', or 'line'
87
- * @param xAxisLabels - Array of labels for the x-axis (or categories for pie/semi-pie charts)
88
- * @param datasets - Chart data: array of datasets for most charts, single dataset object for pie/semi-pie charts
89
- *
90
- * @performance
91
- * **Memoization Recommendations:**
92
- * - `xAxisLabels`: Should be memoized with useMemo() if derived from complex calculations
93
- * - `datasets`: Should be memoized with useMemo() as it contains arrays and objects that cause re-renders
94
- * - Avoid passing inline objects or arrays directly to these props
95
- *
96
- * @example
97
- * ```tsx
98
- * [Good: Memoized props prevent unnecessary re-renders]
99
- * const labels = useMemo(() => quarters.map(q => `Q${q}`), [quarters])
100
- * const chartDatasets = useMemo(() => [
101
- * {
102
- * datasetName: 'Revenue',
103
- * yAxisValues: revenueData,
104
- * backgroundColor: 'LavenderPurple300'
105
- * }
106
- * ], [revenueData])
107
- *
108
- * return <Chart id="revenue-chart" type="area" xAxisLabels={labels} datasets={chartDatasets} />
109
- * ```
110
- *
111
- * @notes
112
- * - Chart automatically re-renders when theme changes (light/dark mode)
113
- * - Line charts are rendered as non-stacked and non-filled by default
114
- * - Pie and semi-pie charts expect a single dataset object instead of an array
115
- * - Semi-pie charts render as half-circles, ideal for gauges or progress indicators
116
- * - Center text can be added to pie and semi-pie charts using the centerText prop
117
- * - Colors should reference CHART_COLORS tokens for consistency
118
- * - Component destroys and recreates Chart.js instance on prop changes for optimal performance
119
- */
120
- declare const Chart: (props: ChartProps) => JSX.Element;
121
- export default Chart;
@@ -1,10 +0,0 @@
1
- import { AppThemeType } from '../../Providers';
2
- import { ChartColorKey } from './types';
3
- export declare const CHART_COLORS: Record<AppThemeType, Record<ChartColorKey, string>>;
4
- export declare const CHART_GRID_LINES_COLORS: Record<AppThemeType, string>;
5
- export declare const CHART_AXIS_COLORS: Record<AppThemeType, string>;
6
- export declare const CHART_AXIS_LABELS_COLOR: Record<AppThemeType, string>;
7
- export declare const CHART_CANVAS_BACKGROUND_COLORS: Record<AppThemeType, string>;
8
- export declare const LINE_DASH: number[];
9
- export declare const MAX_BAR_THICKNESS = 96;
10
- export declare const DIS_JOINT_CHART_POINT_RADIUS = 4;
@@ -1,4 +0,0 @@
1
- export { default as Chart } from './Chart.component';
2
- export { CHART_COLORS } from './constants';
3
- export type { CenterTextConfig, ChartColorKey, ChartProps, ChartType, ReferenceLineConfigType, SimpleDataset, SimpleDatasetForPie, } from './types';
4
- export { chartColorGenerator } from './utils';
@@ -1,7 +0,0 @@
1
- import { RefObject } from 'react';
2
- import { Plugin } from 'chart.js';
3
- import { AppThemeType } from '../../Providers';
4
- import { CenterTextConfig, ChartType, ReferenceLineConfigType } from './types';
5
- export declare const drawReferenceLine: (config: ReferenceLineConfigType, id: string, appTheme: AppThemeType) => Plugin;
6
- export declare const htmlLegendPlugin: (id: string, ref: RefObject<HTMLDivElement>, type: ChartType) => Plugin;
7
- export declare const drawCenterText: (config: CenterTextConfig, appTheme: AppThemeType) => Plugin;
@@ -1,135 +0,0 @@
1
- import { Dispatch, ReactNode, SetStateAction } from 'react';
2
- import { TooltipOptions, TooltipPositionerFunction } from 'chart.js';
3
- import { TooltipProps } from '../../../Common/Tooltip';
4
- import { AppThemeType } from '../../Providers';
5
- import { Never } from '../../types';
6
- export type ChartType = 'area' | 'pie' | 'semiPie' | 'stackedBar' | 'stackedBarHorizontal' | 'line';
7
- export type ColorTokensType = 'DeepPlum' | 'Magenta' | 'Slate' | 'Lavender' | 'SkyBlue' | 'AquaTeal' | 'LimeGreen' | 'CoralRed' | 'GoldenYellow' | 'CharcoalGray' | 'Gray' | 'SunsetOrange';
8
- export type VariantsType = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
9
- export type ChartColorKey = `${ColorTokensType}${VariantsType}`;
10
- export type ChartTypeWithoutPie = Exclude<ChartType, 'pie' | 'semiPie'>;
11
- interface BaseSimpleDataset {
12
- datasetName: string;
13
- yAxisValues: number[];
14
- }
15
- export interface SimpleDataset extends BaseSimpleDataset {
16
- color: ChartColorKey;
17
- isClickable?: boolean;
18
- }
19
- export interface SimpleDatasetForLineAndArea extends Omit<SimpleDataset, 'isClickable'> {
20
- isDashed?: boolean;
21
- }
22
- export interface SimpleDatasetForPie extends BaseSimpleDataset {
23
- colors: Array<ChartColorKey>;
24
- isClickable?: boolean[];
25
- }
26
- export interface ReferenceLineConfigType {
27
- strokeWidth?: number;
28
- color?: ChartColorKey;
29
- value: number;
30
- }
31
- export interface CenterTextConfig {
32
- text: string;
33
- fontSize?: number;
34
- fontWeight?: string | number;
35
- color?: string;
36
- fontFamily?: string;
37
- }
38
- type XYAxisMax = {
39
- xAxisMax?: number;
40
- yAxisMax?: number;
41
- /**
42
- * Optional reference lines to draw across the chart
43
- */
44
- referenceLines?: ReferenceLineConfigType[];
45
- };
46
- type OnChartClickHandler = (datasetName: string, value: number) => void;
47
- type ScaleTickFormatCallbacks = Partial<{
48
- xScaleTickFormat: (label: string, index: number) => string | string[] | number | number[];
49
- yScaleTickFormat: (value: number, index: number) => string | string[] | number | number[];
50
- }>;
51
- export type TypeAndDatasetsType = ({
52
- type: 'pie' | 'semiPie';
53
- /**
54
- * Needs to be memoized
55
- */
56
- datasets: SimpleDatasetForPie;
57
- onChartClick?: OnChartClickHandler;
58
- /** Configuration for center text (only for doughnut/pie charts) */
59
- centerText?: CenterTextConfig;
60
- } & Never<XYAxisMax> & Never<ScaleTickFormatCallbacks>) | ({
61
- type: 'line';
62
- datasets: SimpleDatasetForLineAndArea[];
63
- onChartClick?: never;
64
- centerText?: never;
65
- } & XYAxisMax & ScaleTickFormatCallbacks) | ({
66
- type: 'area';
67
- datasets: SimpleDatasetForLineAndArea;
68
- onChartClick?: never;
69
- centerText?: never;
70
- } & XYAxisMax & ScaleTickFormatCallbacks) | ({
71
- type: Exclude<ChartType, 'pie' | 'semiPie' | 'line' | 'area'>;
72
- datasets: SimpleDataset[];
73
- onChartClick?: OnChartClickHandler;
74
- centerText?: never;
75
- } & XYAxisMax & ScaleTickFormatCallbacks);
76
- export type ChartProps = {
77
- id: string;
78
- /**
79
- * The x-axis labels. Needs to be memoized
80
- */
81
- xAxisLabels: string[];
82
- /**
83
- * Hide the x and y axis and grid lines
84
- * @default false
85
- */
86
- hideAxis?: boolean;
87
- hideXAxisLabels?: boolean;
88
- tooltipConfig?: {
89
- getTooltipContent?: (args: Parameters<TooltipOptions['external']>[0]) => ReactNode;
90
- /**
91
- * @default 'top'
92
- */
93
- placement?: TooltipProps['placement'];
94
- datasetValueFormatter?: (value: number) => string | number;
95
- };
96
- /** A title for x axis */
97
- xScaleTitle?: string;
98
- /** A title for y axis */
99
- yScaleTitle?: string;
100
- } & TypeAndDatasetsType;
101
- export type TransformDatasetProps = {
102
- appTheme: AppThemeType;
103
- } & ({
104
- type: 'pie' | 'semiPie';
105
- dataset: SimpleDatasetForPie;
106
- } | {
107
- type: 'line' | 'area';
108
- dataset: SimpleDatasetForLineAndArea;
109
- } | {
110
- type: Exclude<ChartType, 'pie' | 'semiPie' | 'line' | 'area'>;
111
- dataset: SimpleDataset;
112
- });
113
- export type GetBackgroundAndBorderColorProps = TransformDatasetProps;
114
- export type TransformDataForChartProps = {
115
- appTheme: AppThemeType;
116
- } & TypeAndDatasetsType;
117
- export interface GetDefaultOptionsParams {
118
- chartProps: ChartProps;
119
- appTheme: AppThemeType;
120
- externalTooltipHandler: TooltipOptions['external'];
121
- setTooltipVisible: Dispatch<SetStateAction<boolean>>;
122
- }
123
- declare module 'chart.js' {
124
- interface TooltipPositionerMap {
125
- barElementCenterPositioner: TooltipPositionerFunction<'bar'>;
126
- }
127
- }
128
- export interface HTMLLegendProps {
129
- backgroundColor: string;
130
- label: string;
131
- onClick: () => void;
132
- strikeThrough: boolean;
133
- variant: 'line' | 'square';
134
- }
135
- export {};