@devtron-labs/devtron-fe-common-lib 0.0.75-beta-36 → 0.0.75-beta-37

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.
@@ -39,7 +39,7 @@ export declare enum CIMaterialSidebarType {
39
39
  * ```
40
40
  *
41
41
  * @example Usage with `PatchOperationType.remove`
42
- * Note: We cannot add value to remove operation
42
+ * Note: Value is optional for remove operation
43
43
  *
44
44
  * ```ts
45
45
  * const query: PatchQueryType<string> = {
@@ -67,5 +67,5 @@ export type PatchQueryType<T extends string, K = unknown> = {
67
67
  * Operation type for patch
68
68
  */
69
69
  op: PatchOperationType.remove;
70
- value?: never;
70
+ value?: K;
71
71
  });
package/dist/index.js CHANGED
@@ -17818,7 +17818,7 @@ const lO = (e) => {
17818
17818
  const { rows: t, placeholder: n, initialText: r, setIsEditable: a, updateContent: s, validations: i } = e, [o, c] = V(r), [u, d] = V(!1), [f, p] = V({ isValid: !0, message: "" }), g = () => {
17819
17819
  c(r), a(!1);
17820
17820
  }, m = () => {
17821
- d(!0), s(o).then(() => {
17821
+ d(!0), s(o.trim()).then(() => {
17822
17822
  a(!1), d(!1);
17823
17823
  }).catch(() => {
17824
17824
  d(!1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.75-beta-36",
3
+ "version": "0.0.75-beta-37",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",