From 35cd03ac24f5831b7aa7f5d7f2050d0e5b556ec1 Mon Sep 17 00:00:00 2001 From: Vordgi Date: Wed, 16 Oct 2024 23:01:06 +0400 Subject: [PATCH 1/2] rd-339 improve sidebar transitions --- .../robindoc/src/components/elements/sidebar/sidebar.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/robindoc/src/components/elements/sidebar/sidebar.scss b/packages/robindoc/src/components/elements/sidebar/sidebar.scss index 82fdb9e9..ad50c4ef 100644 --- a/packages/robindoc/src/components/elements/sidebar/sidebar.scss +++ b/packages/robindoc/src/components/elements/sidebar/sidebar.scss @@ -59,7 +59,7 @@ border-bottom-left-radius: 2px; background-color: var(--neutral200); z-index: 1; - transition: background-color 0.3s; + transition: background-color 0.2s; } .r-sidebar-nav { @@ -153,6 +153,7 @@ width: 2px; height: calc(100% + 4px); background-color: var(--neutral200); + transition: 0.2s; } } @@ -193,6 +194,7 @@ border-bottom: 2px solid transparent; border-radius: 2px; text-decoration: none; + transition: 0.2s; } .r-sidebar-link._target { @@ -227,6 +229,7 @@ background-color: var(--neutral200); list-style: none; cursor: pointer; + transition: 0.2s; &:hover { background-color: var(--neutral300); @@ -246,7 +249,7 @@ .r-sidebar-drop-icon { display: block; - transition: transform 0.3s; + transition: transform 0.2s; } .r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon { From 6924d6df1d8ed8ba5b03ab12d38f7c61e6b69350 Mon Sep 17 00:00:00 2001 From: Vordgi Date: Wed, 16 Oct 2024 23:01:44 +0400 Subject: [PATCH 2/2] rd-339 release 2.1.5 --- packages/robindoc/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/robindoc/package.json b/packages/robindoc/package.json index 14b98290..e656a60a 100644 --- a/packages/robindoc/package.json +++ b/packages/robindoc/package.json @@ -1,6 +1,6 @@ { "name": "robindoc", - "version": "2.1.4", + "version": "2.1.5", "description": "", "main": "./lib/index.js", "scripts": {