Skip to content

Commit dd65fc6

Browse files
authored
Merge pull request #493 from devtron-labs/release-candidate-v0.26.0
release: release candidate v0.26.0
2 parents f9ce8ed + 1df6b3a commit dd65fc6

File tree

106 files changed

+3697
-1843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3697
-1843
lines changed

package-lock.json

Lines changed: 361 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "1.3.0-patch-4",
3+
"version": "1.4.0",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",
@@ -10,7 +10,7 @@
1010
],
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/devtron-labs/devtron-fe-common-lib.git"
13+
"url": "git+https://github.com/devtron-labs/devtron-fe-common-lib.git"
1414
},
1515
"author": "Devtron",
1616
"license": "ISC",
@@ -31,7 +31,8 @@
3131
"build-watch": "NODE_OPTIONS=--max_old_space_size=3072 vite build --sourcemap --watch",
3232
"build-lib": "vite build",
3333
"preview": "vite preview",
34-
"lint-staged": "lint-staged"
34+
"lint-staged": "lint-staged",
35+
"postinstall": "patch-package"
3536
},
3637
"devDependencies": {
3738
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
@@ -61,13 +62,13 @@
6162
"husky": "^7.0.4",
6263
"lint-staged": "^12.5.0",
6364
"moment": "^2.29.4",
65+
"monaco-editor": "0.44.0",
66+
"monaco-yaml": "5.1.1",
6467
"prettier": "^3.1.1",
6568
"react-ga4": "^1.4.1",
6669
"react-toastify": "9.1.3",
6770
"sharp": "^0.33.5",
6871
"svgo": "^3.3.2",
69-
"monaco-editor": "0.44.0",
70-
"monaco-yaml": "5.1.1",
7172
"typescript": "5.5.4",
7273
"vite": "5.4.11",
7374
"vite-plugin-dts": "4.0.3",
@@ -82,6 +83,7 @@
8283
"@rjsf/validator-ajv8": "^5.13.3",
8384
"@typeform/embed-react": "2.20.0",
8485
"dompurify": "^3.0.2",
86+
"patch-package": "^8.0.0",
8587
"react": "^17.0.2",
8688
"react-dom": "^17.0.2",
8789
"react-draggable": "^4.4.5",
@@ -100,15 +102,15 @@
100102
"framer-motion": "^6.5.1",
101103
"jsonpath-plus": "^10.0.0",
102104
"marked": "^13.0.3",
105+
"nanoid": "^3.3.8",
103106
"react-dates": "^21.8.0",
104-
"react-monaco-editor": "^0.54.0",
105107
"react-diff-viewer-continued": "^3.4.0",
108+
"react-monaco-editor": "^0.54.0",
106109
"sass": "^1.69.7",
107110
"tslib": "2.7.0"
108111
},
109112
"overrides": {
110113
"cross-spawn": "^7.0.5",
111-
"nanoid": "^3.3.8",
112114
"react-dates": {
113115
"react": "^17.0.2",
114116
"react-dom": "^17.0.2"

patches/react-select+5.8.0.patch

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
diff --git a/node_modules/react-select/.DS_Store b/node_modules/react-select/.DS_Store
2+
new file mode 100644
3+
index 0000000..5008ddf
4+
Binary files /dev/null and b/node_modules/react-select/.DS_Store differ
5+
diff --git a/node_modules/react-select/dist/declarations/src/components/Input.d.ts b/node_modules/react-select/dist/declarations/src/components/Input.d.ts
6+
index e5f6741..c78fd13 100644
7+
--- a/node_modules/react-select/dist/declarations/src/components/Input.d.ts
8+
+++ b/node_modules/react-select/dist/declarations/src/components/Input.d.ts
9+
@@ -13,6 +13,8 @@ export interface InputSpecificProps<Option = unknown, IsMulti extends boolean =
10+
form?: string;
11+
/** Set className for the input element */
12+
inputClassName?: string;
13+
+ /** Whether the input is textarea */
14+
+ isTextArea?: boolean;
15+
}
16+
export declare type InputProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> = InputSpecificProps<Option, IsMulti, Group>;
17+
export declare const inputCSS: <Option, IsMulti extends boolean, Group extends GroupBase<Option>>({ isDisabled, value, theme: { spacing, colors }, }: InputProps<Option, IsMulti, Group>, unstyled: boolean) => CSSObjectWithLabel;
18+
diff --git a/node_modules/react-select/dist/index-665c4ed8.cjs.prod.js b/node_modules/react-select/dist/index-665c4ed8.cjs.prod.js
19+
index 96cd04f..0636ebe 100644
20+
--- a/node_modules/react-select/dist/index-665c4ed8.cjs.prod.js
21+
+++ b/node_modules/react-select/dist/index-665c4ed8.cjs.prod.js
22+
@@ -1090,7 +1090,7 @@ var GroupHeading = function GroupHeading(props) {
23+
};
24+
var Group$1 = Group;
25+
26+
-var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
27+
+var _excluded = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"];
28+
var inputCSS = function inputCSS(_ref, unstyled) {
29+
var isDisabled = _ref.isDisabled,
30+
value = _ref.value,
31+
@@ -1145,13 +1145,25 @@ var Input = function Input(props) {
32+
innerRef = _cleanCommonProps.innerRef,
33+
isDisabled = _cleanCommonProps.isDisabled,
34+
isHidden = _cleanCommonProps.isHidden,
35+
+ isTextArea = _cleanCommonProps.isTextArea,
36+
inputClassName = _cleanCommonProps.inputClassName,
37+
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
38+
return react.jsx("div", _extends({}, getStyleProps(props, 'input', {
39+
'input-container': true
40+
}), {
41+
"data-value": value || ''
42+
- }), react.jsx("input", _extends({
43+
+ }), isTextArea ? react.jsx("textarea", _extends({
44+
+ className: cx({
45+
+ input: true
46+
+ }, inputClassName),
47+
+ ref: innerRef,
48+
+ style: _objectSpread(_objectSpread({}, inputStyle(isHidden)), {}, {
49+
+ resize: 'none'
50+
+ }),
51+
+ disabled: isDisabled
52+
+ }, innerProps, {
53+
+ rows: 1
54+
+ })) : react.jsx("input", _extends({
55+
className: cx({
56+
input: true
57+
}, inputClassName),
58+
diff --git a/node_modules/react-select/dist/index-a301f526.esm.js b/node_modules/react-select/dist/index-a301f526.esm.js
59+
index 514ba81..40d005d 100644
60+
--- a/node_modules/react-select/dist/index-a301f526.esm.js
61+
+++ b/node_modules/react-select/dist/index-a301f526.esm.js
62+
@@ -1090,7 +1090,7 @@ var GroupHeading = function GroupHeading(props) {
63+
};
64+
var Group$1 = Group;
65+
66+
-var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
67+
+var _excluded = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"];
68+
var inputCSS = function inputCSS(_ref, unstyled) {
69+
var isDisabled = _ref.isDisabled,
70+
value = _ref.value,
71+
@@ -1145,13 +1145,25 @@ var Input = function Input(props) {
72+
innerRef = _cleanCommonProps.innerRef,
73+
isDisabled = _cleanCommonProps.isDisabled,
74+
isHidden = _cleanCommonProps.isHidden,
75+
+ isTextArea = _cleanCommonProps.isTextArea,
76+
inputClassName = _cleanCommonProps.inputClassName,
77+
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
78+
return jsx("div", _extends({}, getStyleProps(props, 'input', {
79+
'input-container': true
80+
}), {
81+
"data-value": value || ''
82+
- }), jsx("input", _extends({
83+
+ }), isTextArea ? jsx("textarea", _extends({
84+
+ className: cx({
85+
+ input: true
86+
+ }, inputClassName),
87+
+ ref: innerRef,
88+
+ style: _objectSpread(_objectSpread({}, inputStyle(isHidden)), {}, {
89+
+ resize: 'none'
90+
+ }),
91+
+ disabled: isDisabled
92+
+ }, innerProps, {
93+
+ rows: 1
94+
+ })) : jsx("input", _extends({
95+
className: cx({
96+
input: true
97+
}, inputClassName),
98+
diff --git a/node_modules/react-select/dist/index-d1cb43f3.cjs.dev.js b/node_modules/react-select/dist/index-d1cb43f3.cjs.dev.js
99+
index 7defcdc..c8d796b 100644
100+
--- a/node_modules/react-select/dist/index-d1cb43f3.cjs.dev.js
101+
+++ b/node_modules/react-select/dist/index-d1cb43f3.cjs.dev.js
102+
@@ -1096,7 +1096,7 @@ var GroupHeading = function GroupHeading(props) {
103+
};
104+
var Group$1 = Group;
105+
106+
-var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
107+
+var _excluded = ["innerRef", "isDisabled", "isHidden", "isTextArea", "inputClassName"];
108+
var inputCSS = function inputCSS(_ref, unstyled) {
109+
var isDisabled = _ref.isDisabled,
110+
value = _ref.value,
111+
@@ -1151,13 +1151,25 @@ var Input = function Input(props) {
112+
innerRef = _cleanCommonProps.innerRef,
113+
isDisabled = _cleanCommonProps.isDisabled,
114+
isHidden = _cleanCommonProps.isHidden,
115+
+ isTextArea = _cleanCommonProps.isTextArea,
116+
inputClassName = _cleanCommonProps.inputClassName,
117+
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
118+
return react.jsx("div", _extends({}, getStyleProps(props, 'input', {
119+
'input-container': true
120+
}), {
121+
"data-value": value || ''
122+
- }), react.jsx("input", _extends({
123+
+ }), isTextArea ? react.jsx("textarea", _extends({
124+
+ className: cx({
125+
+ input: true
126+
+ }, inputClassName),
127+
+ ref: innerRef,
128+
+ style: _objectSpread(_objectSpread({}, inputStyle(isHidden)), {}, {
129+
+ resize: 'none'
130+
+ }),
131+
+ disabled: isDisabled
132+
+ }, innerProps, {
133+
+ rows: 1
134+
+ })) : react.jsx("input", _extends({
135+
className: cx({
136+
input: true
137+
}, inputClassName),

src/Assets/Icon/ic-arrow-square-out.svg

Lines changed: 1 addition & 1 deletion
Loading
Lines changed: 4 additions & 0 deletions
Loading

src/Assets/Icon/ic-edit-file.svg

Lines changed: 3 additions & 3 deletions
Loading

src/Assets/Icon/ic-spray-can.svg

Lines changed: 3 additions & 0 deletions
Loading

src/Assets/Icon/ic-stamp.svg

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Loading

src/Assets/Sounds/DeployAudio.mp3

37.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)