From 5ba68930d80cc3be5592a37e9de4dbe47e895c17 Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Tue, 17 Dec 2024 15:15:29 +0100 Subject: [PATCH] feat(ui): use `WdsButton` for `BaseCollapseButton` - WF-132 The `BaseCollapseButton` used a custom button with a different `:focus` state. I moved it to the standard `WdsButton` and implemented a `:focus-visible` to it to improve tab navigation. The change should be almost transparent in term of UI. --- .../core/base/BaseCollapseButton.vue | 33 +++++++------------ src/ui/src/wds/WdsButton.vue | 2 +- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/src/ui/src/components/core/base/BaseCollapseButton.vue b/src/ui/src/components/core/base/BaseCollapseButton.vue index 0516aeffc..a3a8c94b1 100644 --- a/src/ui/src/components/core/base/BaseCollapseButton.vue +++ b/src/ui/src/components/core/base/BaseCollapseButton.vue @@ -1,12 +1,15 @@