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

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