From 0ee4417bedbef64b62e0e47167759370ecb90f63 Mon Sep 17 00:00:00 2001 From: Saleh Yusefnejad Date: Sun, 22 Dec 2024 13:39:42 +0330 Subject: [PATCH] improve stuff --- .../Components/NavPanel/BitNavPanel.razor | 101 ++++++++++-------- .../Components/NavPanel/BitNavPanel.razor.cs | 77 ++++++------- .../Components/NavPanel/BitNavPanel.scss | 74 +++++++------ .../NavPanel/BitNavPanelClassStyles.cs | 9 ++ .../Extensions/LinqExtensions.cs | 49 +++++++++ .../Components/Navs/Nav/BitNav.razor.cs | 24 ++++- .../Extensions/StringExtensions.cs | 3 +- 7 files changed, 219 insertions(+), 118 deletions(-) create mode 100644 src/BlazorUI/Bit.BlazorUI.Extras/Components/NavPanel/BitNavPanelClassStyles.cs create mode 100644 src/BlazorUI/Bit.BlazorUI.Extras/Extensions/LinqExtensions.cs diff --git a/src/BlazorUI/Bit.BlazorUI.Extras/Components/NavPanel/BitNavPanel.razor b/src/BlazorUI/Bit.BlazorUI.Extras/Components/NavPanel/BitNavPanel.razor index f2a0049e18..33a1040784 100644 --- a/src/BlazorUI/Bit.BlazorUI.Extras/Components/NavPanel/BitNavPanel.razor +++ b/src/BlazorUI/Bit.BlazorUI.Extras/Components/NavPanel/BitNavPanel.razor @@ -3,68 +3,83 @@ @typeparam TItem @{ - var isToggled = !_isPanelOpen && _isMenuToggled; + var isToggled = !_isPanelOpen && _isPanelToggled; } -
+