From 9e88c79434221babf29f1c9fc1abf95d15b94dc7 Mon Sep 17 00:00:00 2001 From: vitPinchuk Date: Mon, 25 Nov 2024 11:36:53 +0300 Subject: [PATCH 1/2] update to 3.5.1 --- package.json | 2 +- .../NestedObjectCardsItem/NestedObjectCardsItem.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4329d2f..2e844f6 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "@react-aria/focus": "^3.18.4", "@tanstack/react-table": "^8.20.5", "@tanstack/react-virtual": "^3.10.8", - "@volkovlabs/components": "^3.5.0", + "@volkovlabs/components": "^3.5.1", "@volkovlabs/grafana-utils": "^1.4.4", "file-saver": "^2.0.5", "markdown-it": "^14.1.0", diff --git a/src/components/editors/NestedObjectsEditor/components/NestedObjectEditor/components/NestedObjectCardsControl/components/NestedObjectCardsItem/NestedObjectCardsItem.tsx b/src/components/editors/NestedObjectsEditor/components/NestedObjectEditor/components/NestedObjectCardsControl/components/NestedObjectCardsItem/NestedObjectCardsItem.tsx index 1c1e14c..135db9c 100644 --- a/src/components/editors/NestedObjectsEditor/components/NestedObjectEditor/components/NestedObjectCardsControl/components/NestedObjectCardsItem/NestedObjectCardsItem.tsx +++ b/src/components/editors/NestedObjectsEditor/components/NestedObjectEditor/components/NestedObjectCardsControl/components/NestedObjectCardsItem/NestedObjectCardsItem.tsx @@ -154,14 +154,14 @@ export const NestedObjectCardsItem: React.FC = ({ {isEditing ? ( { /** * itemPayload is cached here somehow so use value from callback */ setLocalValue((current) => ({ ...current, - body: body.replaceAll('\n', '\\n'), + body: body, })); }} language="markdown" From e6192de226a754a889dfff666e95f5990541d2ae Mon Sep 17 00:00:00 2001 From: asimonok Date: Tue, 26 Nov 2024 15:50:50 +0300 Subject: [PATCH 2/2] Update package-lock.json --- package-lock.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index af32785..c78c524 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "@react-aria/focus": "^3.18.4", "@tanstack/react-table": "^8.20.5", "@tanstack/react-virtual": "^3.10.8", - "@volkovlabs/components": "^3.5.0", + "@volkovlabs/components": "^3.5.1", "@volkovlabs/grafana-utils": "^1.4.4", "file-saver": "^2.0.5", "markdown-it": "^14.1.0", @@ -4017,9 +4017,9 @@ "peer": true }, "node_modules/@volkovlabs/components": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@volkovlabs/components/-/components-3.5.0.tgz", - "integrity": "sha512-WFHELd5hlBPmSb3vzOPWUAMYeax2GQnv9DjkXXtkBTgXex1RSfz0YMAR49ZuVd4klm9NPSoFUh0XbLqMgvzsDA==", + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@volkovlabs/components/-/components-3.5.1.tgz", + "integrity": "sha512-fx6oQPHXJKCF8fshjCAgmmQxU48JlZ06Wh/LG0iroiA5nEC6I16rW6nHDujyppH2qyZtzZQYQGbPreFghKrIkA==", "dependencies": { "@emotion/css": "^11.11.2", "@grafana/data": "^11.1.0",