@devtron-labs/devtron-fe-common-lib 1.5.12-beta-2 → 1.5.13

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 (49) hide show
  1. package/dist/@code-editor-DpYDAAJZ.js +23000 -0
  2. package/dist/{@common-rjsf-D0_hJj1f.js → @common-rjsf-CCiAa1v9.js} +82 -78
  3. package/dist/{@framer-motion-CpA7HTl-.js → @framer-motion-CbfcgbXI.js} +70 -70
  4. package/dist/@monaco-editor-CVagbUeH.js +138960 -0
  5. package/dist/{@react-dates-CaRoxjcN.js → @react-dates-CHLhA4kl.js} +14 -14
  6. package/dist/{@react-select-D4CIuOAx.js → @react-select-CgLj7C5f.js} +1 -1
  7. package/dist/{@react-virtualized-sticky-tree-CZZtnJ_O.js → @react-virtualized-sticky-tree-Cj8etBAu.js} +1 -1
  8. package/dist/@vendor-ROKJESOw.js +22734 -0
  9. package/dist/Common/CodeEditor/CodeEditor.d.ts +3 -13
  10. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +47 -3
  11. package/dist/Common/CodeEditor/index.d.ts +1 -1
  12. package/dist/Common/CodeEditor/types.d.ts +76 -83
  13. package/dist/Common/CodeEditor/utils.d.ts +3 -13
  14. package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +0 -4
  15. package/dist/Common/Dialogs/DeleteDialog.d.ts +0 -4
  16. package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +0 -4
  17. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -1
  18. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  19. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  20. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -0
  21. package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -0
  22. package/dist/Shared/Components/ConfirmationModal/index.d.ts +0 -3
  23. package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -93
  24. package/dist/Shared/constants.d.ts +0 -1
  25. package/dist/Shared/types.d.ts +0 -8
  26. package/dist/assets/@code-editor.css +1 -1
  27. package/dist/assets/@monaco-editor.css +1 -0
  28. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
  29. package/dist/index.js +590 -591
  30. package/package.json +7 -14
  31. package/dist/@code-editor-DIH_NWaK.js +0 -41921
  32. package/dist/@vendor-CKSERKp7.js +0 -42519
  33. package/dist/Common/ClipboardButton/index.d.ts +0 -1
  34. package/dist/Common/CodeEditor/CodeEditor.components.d.ts +0 -11
  35. package/dist/Common/CodeEditor/CodeEditor.constants.d.ts +0 -7
  36. package/dist/Common/CodeEditor/CodeEditor.context.d.ts +0 -3
  37. package/dist/Common/CodeEditor/CodeEditor.theme.d.ts +0 -1
  38. package/dist/Common/CodeEditor/CodeEditorRenderer.d.ts +0 -2
  39. package/dist/Common/CodeEditor/Extensions/findAndReplace.d.ts +0 -2
  40. package/dist/Common/CodeEditor/Extensions/index.d.ts +0 -3
  41. package/dist/Common/CodeEditor/Extensions/readOnlyTooltip.d.ts +0 -6
  42. package/dist/Common/CodeEditor/Extensions/yamlParseLinter.d.ts +0 -3
  43. package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +0 -2
  44. package/dist/Shared/Components/ConfirmationModal/DeleteConfirmationModal.d.ts +0 -3
  45. package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +0 -2
  46. package/dist/assets/ic-match-case.702186fe.svg +0 -3
  47. package/dist/assets/ic-match-word.991dea5a.svg +0 -3
  48. package/dist/assets/ic-replace-all-text.7ebbab01.svg +0 -3
  49. package/dist/assets/ic-replace-text.5de817d2.svg +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.5.12-beta-2",
3
+ "version": "1.5.13",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -43,7 +43,6 @@
43
43
  "@tippyjs/react": "^4.2.0",
44
44
  "@typeform/embed-react": "2.20.0",
45
45
  "@types/dompurify": "^3.0.5",
46
- "@types/json-schema": "^7.0.15",
47
46
  "@types/react": "17.0.39",
48
47
  "@types/react-dom": "17.0.13",
49
48
  "@types/react-router-dom": "^5.3.3",
@@ -61,9 +60,10 @@
61
60
  "eslint-plugin-react-hooks": "^4.6.0",
62
61
  "glob": "^10.3.3",
63
62
  "husky": "^7.0.4",
64
- "json-schema": "^0.4.0",
65
63
  "lint-staged": "^12.5.0",
66
64
  "moment": "^2.29.4",
65
+ "monaco-editor": "0.44.0",
66
+ "monaco-yaml": "5.1.1",
67
67
  "prettier": "^3.1.1",
68
68
  "react-ga4": "^1.4.1",
69
69
  "react-toastify": "9.1.3",
@@ -94,27 +94,17 @@
94
94
  "yaml": "^2.4.1"
95
95
  },
96
96
  "dependencies": {
97
- "@codemirror/lang-json": "6.0.1",
98
- "@codemirror/lang-yaml": "6.1.2",
99
- "@codemirror/language": "6.10.8",
100
- "@codemirror/legacy-modes": "6.4.2",
101
- "@codemirror/lint": "6.8.4",
102
- "@codemirror/search": "6.5.8",
103
- "@replit/codemirror-vscode-keymap": "6.0.2",
104
97
  "@types/react-dates": "^21.8.6",
105
- "@uiw/codemirror-theme-github": "^4.23.7",
106
- "@uiw/react-codemirror": "4.23.7",
107
98
  "ansi_up": "^5.2.1",
108
- "codemirror-json-schema": "0.8.0",
109
99
  "dayjs": "^1.11.13",
110
100
  "fast-json-patch": "^3.1.1",
111
101
  "framer-motion": "^6.5.1",
112
102
  "jsonpath-plus": "^10.0.0",
113
103
  "marked": "^13.0.3",
114
104
  "nanoid": "^3.3.8",
115
- "react-codemirror-merge": "4.23.6",
116
105
  "react-dates": "^21.8.0",
117
106
  "react-diff-viewer-continued": "^3.4.0",
107
+ "react-monaco-editor": "^0.54.0",
118
108
  "react-virtualized-sticky-tree": "^3.0.0-beta18",
119
109
  "sass": "^1.69.7",
120
110
  "tslib": "2.7.0",
@@ -126,6 +116,9 @@
126
116
  "react": "^17.0.2",
127
117
  "react-dom": "^17.0.2"
128
118
  },
119
+ "react-monaco-editor": {
120
+ "monaco-editor": "0.44.0"
121
+ },
129
122
  "vite-plugin-svgr": {
130
123
  "vite": "5.4.11"
131
124
  },