@devtron-labs/devtron-fe-common-lib 1.5.7 → 1.5.8-beta-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 (39) hide show
  1. package/dist/@code-editor-Bc2JVhOX.js +41517 -0
  2. package/dist/{@common-rjsf-DVMNs3Bc.js → @common-rjsf-Bsv_ydI_.js} +2 -2
  3. package/dist/{@framer-motion-kr1mEWKX.js → @framer-motion-CpA7HTl-.js} +70 -70
  4. package/dist/{@react-dates-BxnR_8Dc.js → @react-dates-CaRoxjcN.js} +20 -20
  5. package/dist/{@react-select-BMw3IVZf.js → @react-select-D4CIuOAx.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-wjj-2hWq.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/Extensions/findAndReplace.d.ts +2 -0
  16. package/dist/Common/CodeEditor/Extensions/index.d.ts +3 -0
  17. package/dist/Common/CodeEditor/Extensions/readOnlyTooltip.d.ts +6 -0
  18. package/dist/Common/CodeEditor/Extensions/yamlParseLinter.d.ts +3 -0
  19. package/dist/Common/CodeEditor/index.d.ts +1 -1
  20. package/dist/Common/CodeEditor/types.d.ts +71 -76
  21. package/dist/Common/CodeEditor/utils.d.ts +13 -3
  22. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/DeploymentHistoryDiffView.d.ts +1 -1
  23. package/dist/Shared/Components/CICDHistory/types.d.ts +0 -1
  24. package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -1
  25. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
  26. package/dist/Shared/constants.d.ts +1 -0
  27. package/dist/Shared/types.d.ts +9 -7
  28. package/dist/assets/@code-editor.css +1 -1
  29. package/dist/assets/ic-match-case.702186fe.svg +3 -0
  30. package/dist/assets/ic-match-word.991dea5a.svg +3 -0
  31. package/dist/assets/ic-replace-all-text.7ebbab01.svg +3 -0
  32. package/dist/assets/ic-replace-text.5de817d2.svg +3 -0
  33. package/dist/index.js +637 -639
  34. package/package.json +14 -7
  35. package/dist/@code-editor-mlJ8A19W.js +0 -22823
  36. package/dist/@monaco-editor-CVagbUeH.js +0 -138960
  37. package/dist/@vendor-Dse7HvPU.js +0 -22695
  38. package/dist/assets/@monaco-editor.css +0 -1
  39. 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.7",
3
+ "version": "1.5.8-beta-1",
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
  },