@devtron-labs/devtron-fe-common-lib 1.5.2-beta-2 → 1.5.3-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 (48) hide show
  1. package/dist/{@common-rjsf-C8ECaBh9.js → @code-editor-D6GUKRXw.js} +7155 -7896
  2. package/dist/@common-rjsf-dtuESmgZ.js +516 -0
  3. package/dist/{@framer-motion-kiKkrflf.js → @framer-motion-CdgdF0KV.js} +70 -70
  4. package/dist/@monaco-editor-CVagbUeH.js +138960 -0
  5. package/dist/{@react-dates-CYDS4B1O.js → @react-dates-CtQV2TLr.js} +14 -14
  6. package/dist/{@react-select-DO6kTltA.js → @react-select-Cn3OpC9h.js} +1 -1
  7. package/dist/{@react-virtualized-sticky-tree-CUw0C6F9.js → @react-virtualized-sticky-tree-CVJYfMx0.js} +1 -1
  8. package/dist/@vendor-CwAQS8iU.js +21782 -0
  9. package/dist/Common/CodeEditor/CodeEditor.d.ts +3 -9
  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 -64
  13. package/dist/Common/CodeEditor/utils.d.ts +3 -9
  14. package/dist/Shared/Components/Button/constants.d.ts +2 -3
  15. package/dist/Shared/Components/Button/utils.d.ts +1 -1
  16. package/dist/Shared/Components/Collapse/Collapse.d.ts +1 -0
  17. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +2 -1
  18. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +2 -2
  19. package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +3 -2
  20. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +4 -3
  21. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +16 -15
  22. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  23. package/dist/Shared/Components/Security/types.d.ts +1 -0
  24. package/dist/Shared/constants.d.ts +0 -6
  25. package/dist/Shared/types.d.ts +0 -3
  26. package/dist/assets/@code-editor.css +1 -0
  27. package/dist/assets/@common-rjsf.css +1 -1
  28. package/dist/assets/@monaco-editor.css +1 -0
  29. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
  30. package/dist/assets/ic-scan-fallback.7ff5ed3b.svg +4 -0
  31. package/dist/index.js +592 -591
  32. package/package.json +7 -10
  33. package/dist/@code-editor-BUYzZERD.js +0 -18136
  34. package/dist/@vendor-Dh1o-c9o.js +0 -41567
  35. package/dist/Common/ClipboardButton/index.d.ts +0 -1
  36. package/dist/Common/CodeEditor/CodeEditor.components.d.ts +0 -6
  37. package/dist/Common/CodeEditor/CodeEditor.context.d.ts +0 -3
  38. package/dist/Common/CodeEditor/CodeEditor.theme.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 -2
  42. package/dist/Common/CodeEditor/Extensions/yamlParseErrorLint.d.ts +0 -1
  43. package/dist/assets/ic-clair.ba79956f.svg +0 -21
  44. package/dist/assets/ic-match-case.702186fe.svg +0 -3
  45. package/dist/assets/ic-match-word.991dea5a.svg +0 -3
  46. package/dist/assets/ic-replace-all-text.4c69aea8.svg +0 -6
  47. package/dist/assets/ic-replace-text.47c57097.svg +0 -7
  48. package/dist/assets/ic-trivy.d5338454.svg +0 -25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.5.2-beta-2",
3
+ "version": "1.5.3-beta-2",
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",
@@ -95,23 +95,17 @@
95
95
  "yaml": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
98
- "@codemirror/lang-json": "6.0.1",
99
- "@codemirror/lang-yaml": "6.1.2",
100
- "@codemirror/legacy-modes": "6.4.2",
101
98
  "@types/react-dates": "^21.8.6",
102
- "@uiw/codemirror-theme-github": "^4.23.7",
103
- "@uiw/react-codemirror": "4.23.7",
104
99
  "ansi_up": "^5.2.1",
105
- "codemirror-json-schema": "0.8.0",
106
100
  "dayjs": "^1.11.13",
107
101
  "fast-json-patch": "^3.1.1",
108
102
  "framer-motion": "^6.5.1",
109
103
  "jsonpath-plus": "^10.0.0",
110
104
  "marked": "^13.0.3",
111
105
  "nanoid": "^3.3.8",
112
- "react-codemirror-merge": "4.23.6",
113
106
  "react-dates": "^21.8.0",
114
107
  "react-diff-viewer-continued": "^3.4.0",
108
+ "react-monaco-editor": "^0.54.0",
115
109
  "react-virtualized-sticky-tree": "^3.0.0-beta18",
116
110
  "sass": "^1.69.7",
117
111
  "tslib": "2.7.0"
@@ -122,6 +116,9 @@
122
116
  "react": "^17.0.2",
123
117
  "react-dom": "^17.0.2"
124
118
  },
119
+ "react-monaco-editor": {
120
+ "monaco-editor": "0.44.0"
121
+ },
125
122
  "vite-plugin-svgr": {
126
123
  "vite": "5.4.11"
127
124
  },